* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Verdana, Tahoma, Geneva, sans-serif;
  font-size: 11px;
  background-color: #8a9bb0;
  background-image: url('https://xeromonkey.neocities.org/Assets/WebsiteBackground3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ── Outer container ── */

.container {
  width: 663px;
  margin: 24px auto;
  border: 1px solid #2a3040;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.55),
              inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ── Header ── */

.site-header {
  height: 120px;
  background: linear-gradient(180deg, #555f6e 0%, #404853 55%, #353d48 100%);
  border-bottom: 2px solid #2a3040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.site-header img {
  max-height: 100%;
  max-width: 100%;
  object-fit: center;
}

/* ── Main area ── */

.main-content {
  background-color: #b8bec8;
  padding: 8px;
}

.content-wrapper {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

/* ── Left column ── */

.left-side {
  width: 195px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Shared bevel-style panel */
.panel {
  background: linear-gradient(180deg, #d8d4d4 0%, #c4c0c0 100%);
  border: 1px solid #888;
  border-top-color: #e0dcdc;
  border-left-color: #e0dcdc;
  border-bottom-color: #666;
  border-right-color: #666;
  border-radius: 4px;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,0.55),
              2px 2px 4px rgba(0,0,0,0.3);
  overflow: hidden;
}

/* ── Thin divider box ── */

.thin-divider-box {
  width: 195px;
  height: 10px;
  min-height: unset;
  padding: 0;
}

/* ── Avatar ── */

.avatar-box {
  width: 195px;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

/* ── Socials nav ── */

.main-nav-box {
  width: 195px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.nav-header {
  width: 100%;
  background: linear-gradient(180deg, #5e6c80 0%, #404853 100%);
  color: #e8ecf0;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  padding: 3px 0;
  border-radius: 3px;
  border: 1px solid #2a3040;
  border-top-color: #78899a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),
              1px 1px 2px rgba(0,0,0,0.4);
  letter-spacing: 0.5px;
}

.main-nav-button {
  width: 100%;
  background: linear-gradient(180deg, #9aaabf 0%, #7a8fa8 50%, #6a7f98 100%);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-family: Verdana, Tahoma, sans-serif;
  font-size: 11px;
  padding: 4px 0;
  border-radius: 3px;
  border: 1px solid #3d5270;
  border-top-color: #aabdd0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25),
              1px 1px 3px rgba(0,0,0,0.45);
  display: block;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
  transition: background 0.15s ease;
}

.main-nav-button:hover {
  background: linear-gradient(180deg, #aabdd0 0%, #8a9fb8 50%, #7a8fa8 100%);
}

.main-nav-button:active {
  background: linear-gradient(180deg, #6a7f98 0%, #7a8fa8 100%);
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.4);
}

/* ── Right column ── */

.right-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.right-side .about-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.right-side .about-panel .panel-body {
  flex: 1;
}

/* ── Kaomoji bar ── */

.kaomoji-bar {
  padding: 4px 0;
  overflow: hidden;
  color: #333;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.kaomoji-scroll {
  display: inline-block;
  white-space: nowrap;
  animation: kaomoji-rtl 12s linear infinite;
}

@keyframes kaomoji-rtl {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }

}

@keyframes kaomoji-rtl {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ── About / custom panel ── */

.about-panel {
  width: 100%;
}

.panel-header {
  width: 100%;
  background: linear-gradient(180deg, #5e6c80 0%, #404853 100%);
  color: #e8ecf0;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  padding: 3px 0;
  border-bottom: 1px solid #2a3040;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),
              0 1px 2px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
}

.panel-body {
  background: linear-gradient(180deg, #8fa3bc 0%, #7a94ad 100%);
  border: 1px solid #5a7090;
  border-radius: 3px;
  margin: 8px;
  padding: 10px 12px;
  min-height: 220px;
  color: #f0f4f8;
  font-size: 11px;
  line-height: 1.75;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.2),
              inset -1px -1px 0 rgba(255,255,255,0.08);
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
}

.panel-body p + p {
  margin-top: 8px;
}

/* ── Bottom 88x31 buttons bar ── */

.bottom-main-box {
  width: 100%;
  min-height: 51px;
  margin-top: 10px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px;
}

.bottom-main-box a img {
  display: block;
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
}

/* ── Footer ── */

.site-footer {
  height: 44px;
  background: linear-gradient(180deg, #555f6e 0%, #404853 55%, #353d48 100%);
  border-top: 2px solid #2a3040;
  color: #c8d0d8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
