/*
   Ju Fufu Mains — main stylesheet
*/

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&family=VT323&display=swap');

:root {
  --gold:        #F4C871;
  --gold-deep:   #E3B164;
  --gold-dark:   #986E33;
  --brown-dark:  #614024;
  --tan:         #C09D7A;
  --warm-grey:   #98836B;
  --slate:       #4C545C;
  --slate-deep:  #383742;
  --bone:        #CFCCCA;
  --stone:       #837C78;
  --paper:       #f7e9c8;

  --shadow-hard: 4px 4px 0 var(--brown-dark);
  --shadow-soft: 2px 2px 0 rgba(56,55,66,.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--gold);
  font-family: 'Comfortaa', system-ui, sans-serif;
  color: var(--bone);
  /* subtle paw print texture on the yellow border */
  background-image:
    radial-gradient(circle at 12px 12px, rgba(97,64,36,.08) 2px, transparent 2.5px),
    radial-gradient(circle at 36px 36px, rgba(97,64,36,.08) 2px, transparent 2.5px);
  background-size: 48px 48px;
}

body {
  min-height: 100vh;
  padding: 28px 16px 60px;
  cursor: url("assets/cursor.png"), auto;
}

a:hover {
cursor:url('assets/cursor_click.png'), url('/cursors/DC/cursor.png'), auto;
}

/* ---------- Page shell ---------- */
.shell {
  max-width: 1080px;
  margin: 0 auto;
}

/* ---------- Banner ---------- */
.banner {
  position: relative;
  height: 220px;
  background: var(--bone);
  border: 3px solid var(--slate-deep);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}

/* mirrored so her face sits on the open right side, tail under the title.
   ─── TWO KNOBS YOU CAN TWEAK ───
   --art-shift : slide the photo. HIGHER % = further RIGHT (try 50%–90%)
   --art-zoom  : zoom level. HIGHER % = more zoomed IN (try 110%–180%)        */
.banner-art {
  --art-shift: 60%;
  --art-zoom: 130%;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: var(--art-zoom);
  object-fit: cover;
  object-position: var(--art-shift) center;
  transform: translateY(-50%) scaleX(-1);
  z-index: 1;
}

/* feathers the left edge of the art into the bone background */
.banner-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
    var(--bone) 0%,
    var(--bone) 22%,
    rgba(207,204,202,0.45) 40%,
    rgba(207,204,202,0) 58%);
}

.banner-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  color: var(--slate-deep);
}

.banner-text h1 {
  margin: 0;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
}

.banner-text .url {
  font-family: 'Comfortaa', sans-serif;
  font-size: 16px;
  color: var(--gold-dark);
  letter-spacing: 0.5px;
  padding-left: 4px;
}

.banner-text .blurb {
  font-size: 13px;
  color: var(--stone);
  margin-top: 8px;
  max-width: 280px;
  line-height: 1.5;
}

/* ---------- Nav tabs ---------- */
.nav {
  display: flex;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0 10px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px 12px;
  background: var(--bone);
  color: var(--slate-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 3px solid var(--slate-deep);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  position: relative;
  top: 3px;
  transition: background 120ms, transform 120ms;
}

.nav a:hover { background: var(--gold-deep); }

.nav a.active {
  background: var(--slate);
  color: var(--gold);
  top: 0;
  padding-bottom: 15px;
}

.nav a .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-dark);
  display: inline-block;
}
.nav a.active .dot { background: var(--gold); }

/* ---------- Content: transparent layout wrapper ---------- */
.content {
  color: var(--bone);
}

/* layout: sidebar + main, each its OWN slab with the yellow showing between */
.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 760px) {
  .layout { grid-template-columns: 1fr; }
}

/* ---------- Sidebar (its own slab) ---------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--slate);
  border: 3px solid var(--slate-deep);
  border-radius: 4px;
  box-shadow: var(--shadow-hard);
  padding: 18px;
}

/* ---------- Main column (its own slab) ---------- */
.main {
  background: var(--slate);
  border: 3px solid var(--slate-deep);
  border-radius: 4px;
  box-shadow: var(--shadow-hard);
  padding: 28px 30px 36px;
  min-height: 600px;
}

.box {
  background: var(--slate-deep);
  border: 2px solid var(--gold-dark);
  border-radius: 6px;
  padding: 12px 14px 14px;
}

.box-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  border-bottom: 1px dashed var(--gold-dark);
  padding-bottom: 6px;
  margin-bottom: 10px;
  font-weight: 700;
}

.box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
}

.box ul li::before {
  content: '✦ ';
  color: var(--gold);
}

.box a {
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px dotted var(--stone);
}

.box a:hover { color: var(--gold); border-color: var(--gold); }

.box a.here {
  color: var(--gold);
  font-weight: 700;
  border-bottom-style: solid;
  border-color: var(--gold);
}

/* visitor counter, "last updated", buttons */
.counter {
  font-family: 'VT323', monospace;
  font-size: 22px;
  background: #111;
  color: #6cff6c;
  padding: 4px 10px;
  letter-spacing: 4px;
  display: inline-block;
  border: 1px solid var(--gold-dark);
}

.meta {
  font-size: 11px;
  color: var(--stone);
  line-height: 1.6;
}

/* 88x31 retro buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.btn88 {
  width: 88px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  border: 1px solid #000;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.25), inset -1px -1px 0 rgba(0,0,0,.4);
  text-align: center;
  line-height: 1;
  padding: 0 4px;
  text-decoration: none;
}

/* ---------- Main column ---------- */
.main h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.main h2::before {
  content: '';
  width: 14px; height: 14px;
  background: var(--gold);
  transform: rotate(45deg);
  display: inline-block;
}

.main h2 + .subtitle {
  font-size: 12px;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 18px 24px;
}

.main p { line-height: 1.7; font-size: 14px; }

hr.divider {
  border: none;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-dark) 0 6px, transparent 6px 12px);
  margin: 24px 0;
}

/* ---------- Discord card (original design) ---------- */
.discord {
  background: var(--slate-deep);
  border: 2px solid var(--gold-dark);
  border-radius: 8px;
  padding: 18px 18px 16px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
}

.discord-icon {
  width: 64px; height: 64px;
  background: var(--gold);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-deep);
  font-size: 32px;
  font-weight: 700;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
}

.discord-info .label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.discord-info .name {
  font-size: 18px;
  font-weight: 700;
  color: var(--bone);
  margin-bottom: 6px;
}

.discord-info .meta-row {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--stone);
}

.discord-info .meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.discord-info .dot-on  { width: 8px; height: 8px; border-radius: 50%; background: #6cff6c; display: inline-block; }
.discord-info .dot-off { width: 8px; height: 8px; border-radius: 50%; background: var(--stone); display: inline-block; }

.discord-cta {
  background: var(--gold);
  color: var(--slate-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 22px;
  border: 2px solid var(--brown-dark);
  border-radius: 6px;
  box-shadow: 0 3px 0 var(--brown-dark);
  letter-spacing: 0.5px;
  transition: transform 100ms;
}

.discord-cta:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--brown-dark); }
.discord-cta:active { transform: translateY(3px); box-shadow: none; }

/* ---------- Official Discord widget (iframe) ----------
   Resize with these two knobs (plain numbers = pixels):
     --widget-w  → how WIDE the widget is
     --widget-h  → how TALL the widget is (more height = more members shown)
   Keep it modest so the side stickers have room to sit left & right. */
.discord-widget {
  --widget-w: 350;
  --widget-h: 500;
  margin: 18px auto 0;
  background: var(--slate-deep);
  border: 2px solid var(--gold-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: calc(var(--widget-w) * 1px);
}

.discord-widget-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px dashed var(--gold-dark);
  background: rgba(0,0,0,.18);
}

.discord-widget-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6cff6c;
  box-shadow: 0 0 6px #6cff6c;
}

.discord-widget-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* frame keeps the widget's width:height ratio and shrinks gracefully on mobile.
   aspect-ratio needs UNITLESS numbers — hence --widget-w/-h are plain numbers. */
.discord-widget-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--widget-w) / var(--widget-h);
}

.discord-widget-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Discord zone: stickers flanking the widget ---------- */
/* the main column is the query container so the sticker row reacts to the
   actual space it has */
.main {
  container-type: inline-size;
  container-name: maincol;
}

.discord-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.discord-zone .discord-widget {
  margin: 0;
  flex: 0 0 auto;
}

.sticker-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  align-self: stretch;
  flex: 0 1 150px;
  min-width: 0;   /* allow shrinking so stickers stay side-by-side in tighter columns */
}

/* die-cut sticker look: drop shadow follows the transparent PNG's shape +
   a per-sticker tilt that straightens on hover.
   Set the angle right on each <img> with style="--rot: -6deg". */
.sticker {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  filter: drop-shadow(2px 3px 0 rgba(56,55,66,.45));
  transform: rotate(var(--rot, 0deg));
  transition: transform 160ms ease;
}

.sticker:hover { transform: rotate(0deg) scale(1.04); z-index: 2; }

/* Only stack the stickers above/below the widget on genuinely small (phone)
   screens. On normal screens they stay flanking the widget left & right. */
@container maincol (max-width: 480px) {
  .discord-zone {
    flex-direction: column;
    gap: 16px;
  }
  .sticker-col {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    max-width: 360px;
    align-self: center;
    min-width: 0;
  }
  /* fixed squares that share the row and stay centered */
  .sticker {
    flex: 0 0 auto;
    width: clamp(74px, 22cqw, 104px);
    height: clamp(74px, 22cqw, 104px);
    min-width: 0;
    min-height: 0;
  }
}

/* ---------- News / log entries ---------- */
.log-entry {
  background: rgba(0,0,0,.12);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 0 4px 4px 0;
  font-size: 13px;
}

.log-entry .date {
  display: block;
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--gold-deep);
  letter-spacing: 1px;
  margin-bottom: 2px;
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  margin-top: 20px;
  font-size: 11px;
  color: var(--brown-dark);
  letter-spacing: 1px;
}

.footer .stamps {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* ---------- Lore page ---------- */

/* intro: portrait on the left, stat cards + bio on the right */
.lore-profile {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 16px;
  margin-top: 16px;
  align-items: stretch;
}

@container maincol (max-width: 540px) {
  .lore-profile { grid-template-columns: 1fr; }
  /* full-body transparent art: show the whole character, just smaller & centered
     (don't crop with cover, and don't let it fill the whole column) */
  .lore-portrait {
    height: auto;
    min-height: 0;
    max-width: 230px;
    margin: 0 auto;
    object-fit: contain;
  }
}

.lore-portrait {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

/* right column: cards on top, bio fills the space beneath them */
.lore-profile-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lore-profile-info .lore-grid {
  margin-top: 0;
  align-content: start;
}

.lore-bio {
  margin: 0;
}

/* guestbook: art background shows through the transparent cbox iframe */
.cbox-wrap {
  margin-top: 18px;
  padding: 14px;
  border: 3px solid var(--slate-deep);
  border-radius: 6px;
  background-image: url("assets/guestbook-bg.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.cbox-wrap .cbox {
  display: block;
  width: 100%;
  border: 0;
}

/* relationships: alternating portrait + text rows */
.rel-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 18px;
}

.rel-row {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.rel-row.reverse {
  flex-direction: row-reverse;
}

.rel-portrait {
  flex: 0 0 230px;
  width: 230px;
  align-self: stretch;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.rel-text {
  flex: 1;
  min-width: 0;
}

.rel-text h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 12px;
}

.rel-row.reverse .rel-text h3 {
  text-align: right;
}

.rel-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bone);
}

@container maincol (max-width: 540px) {
  .rel-row,
  .rel-row.reverse { flex-direction: column; align-items: center; }
  .rel-portrait {
    width: auto;
    flex-basis: auto;
    max-width: 180px;
    height: auto;
    min-height: 0;
    object-fit: contain;
    margin: 0 auto;
  }
  .rel-text { text-align: center; }
  .rel-row.reverse .rel-text h3 { text-align: center; }
}

.lore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 640px) { .lore-grid { grid-template-columns: 1fr; } }

.stat-card {
  background: var(--slate-deep);
  border: 1px solid var(--gold-dark);
  border-radius: 6px;
  padding: 12px 14px;
}

.stat-card .k {
  font-size: 10px;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.stat-card .v {
  font-size: 16px;
  color: var(--gold);
  margin-top: 4px;
  font-weight: 600;
}

blockquote.quote {
  font-style: italic;
  border-left: 3px solid var(--gold-deep);
  margin: 16px 0;
  padding: 8px 16px;
  color: var(--bone);
  background: rgba(244,200,113,.06);
  font-size: 14px;
}

blockquote.quote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold-deep);
  text-transform: uppercase;
}

/* ---------- Builds page ---------- */
.build-card {
  background: var(--slate-deep);
  border: 2px solid var(--gold-dark);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.build-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed var(--gold-dark);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.build-card-head .title {
  font-size: 18px;
  color: var(--gold);
  font-weight: 600;
}

.build-card-head .tag {
  font-size: 10px;
  background: var(--gold-dark);
  color: var(--slate-deep);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}

.build-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 640px) { .build-grid { grid-template-columns: 1fr; } }

.build-grid h4 {
  font-size: 11px;
  color: var(--gold-deep);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.build-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.build-grid ul li {
  padding-left: 16px;
  position: relative;
}

.build-grid ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 9px;
  top: 4px;
}

/* ---------- build images (builds page) ---------- */
/* Plain hardcoded <img>. Empty <img class="slot"> (no src) renders as a
   framed placeholder showing its alt text; add src="..." to fill it. */
.main img.slot {
  border: 2px solid var(--gold-dark);
  border-radius: 6px;
  background: var(--slate);
  color: var(--gold-deep);
  object-fit: cover;
  font-size: 11px;
  text-align: center;
  overflow: hidden;
}

/* how-to hero image */
.howto-art {
  width: 100%;
  height: 220px;
  display: block;
  margin-bottom: 16px;
}

/* team comp cards with member portraits */
.team-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.team-card {
  background: var(--slate-deep);
  border: 1px solid var(--gold-dark);
  border-radius: 6px;
  padding: 12px 14px 14px;
}
.team-card .k {
  font-size: 10px;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.team-members {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.team-members figure { margin: 0; text-align: center; }
.team-members img.slot { width: 100%; aspect-ratio: 3 / 4; }
.team-members figcaption {
  font-size: 11px;
  color: var(--gold);
  margin-top: 6px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* skill priority cards with an icon slot */
.skill-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.skill-card img.slot { flex: 0 0 auto; width: 52px; height: 52px; }

/* mindscape tabbed selector */
.mind-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--gold-dark);
  margin-top: 6px;
}
.mind-tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--stone);
  font-family: 'Comfortaa', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 12px 11px;
  margin-bottom: -1px;
  cursor: inherit;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 120ms;
}
.mind-tab .num {
  font-family: 'VT323', monospace;
  font-size: 15px;
  background: var(--stone);
  color: var(--slate-deep);
  padding: 1px 6px;
  border-radius: 2px;
  letter-spacing: 1px;
}
.mind-tab:hover { color: var(--bone); }
.mind-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.mind-tab.active .num { background: var(--gold); }

.mind-stage { margin-top: 16px; }
.mind-panel { display: none; }
.mind-panel.active { display: block; }
.mind-panel img.slot {
  width: 100%;
  height: 300px;
  display: block;
}
.mind-effect { margin-top: 14px; }
.mind-effect-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.mind-effect .rec-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}
.mind-effect p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--bone);
}

/* w-engine thumbnail inside the ranked rows */
.rec-row img.slot.rec-thumb {
  flex: 0 0 auto;
  align-self: center;
  width: 56px;
  height: 56px;
}

/* drive disc set illustrations */
.disc-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.disc-imgs figure { margin: 0; text-align: center; }
.disc-imgs img.slot { width: 100%; height: 130px; display: block; }
.disc-imgs figcaption {
  font-size: 11px;
  color: var(--gold);
  margin-top: 6px;
  font-weight: 600;
}

/* ranked recommendation rows (w-engines, drive discs) */
.rec-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: var(--slate-deep);
  border: 1px solid var(--gold-dark);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 11px 14px;
  margin-bottom: 8px;
}

.rec-row .rec-rank {
  flex: 0 0 auto;
  font-family: 'VT323', monospace;
  font-size: 18px;
  color: var(--gold-deep);
  letter-spacing: 1px;
  min-width: 28px;
}

.rec-row .rec-body { flex: 1; min-width: 0; }

.rec-row .rec-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}

.rec-row .rec-note {
  font-size: 12px;
  color: var(--bone);
  line-height: 1.5;
  margin-top: 2px;
}

.rec-row .tag {
  flex: 0 0 auto;
  align-self: center;
  font-size: 10px;
  background: var(--gold-dark);
  color: var(--slate-deep);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}

/* FAQ — question/answer stack */
.faq-item {
  border-bottom: 1px dashed var(--gold-dark);
  padding: 14px 0;
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  display: flex;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}
.faq-q::before {
  content: 'Q';
  font-family: 'VT323', monospace;
  color: var(--gold-deep);
  font-size: 18px;
  line-height: 1.2;
}

.faq-a {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--bone);
  margin-top: 8px;
}
.faq-a::before {
  content: 'A';
  font-family: 'VT323', monospace;
  color: var(--stone);
  font-size: 18px;
  line-height: 1.2;
  flex: 0 0 auto;
}

/* closing statement — centered sign-off */
.closing {
  text-align: center;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--bone);
}
.closing .sig {
  display: block;
  margin-top: 14px;
  font-family: 'VT323', monospace;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--gold-deep);
}

/* placeholder image swatch */
.img-placeholder {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-family: 'VT323', monospace;
  font-size: 16px;
  letter-spacing: 1px;
}

/* real story screenshot */
.story-img {
  display: block;
  width: 100%;
  margin: 18px 0;
  border: 3px solid var(--slate-deep);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

/* marquee — standalone bar between banner and content */
.marquee {
  background: var(--slate-deep);
  color: var(--gold);
  font-family: 'VT323', monospace;
  font-size: 18px;
  letter-spacing: 2px;
  padding: 8px 0;
  border: 2px solid var(--gold-dark);
  border-radius: 4px;
  margin: 18px 0;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  white-space: nowrap;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ============================================
   FANART PAGE — masonry gallery + lightbox
   ============================================ */

/* masonry via CSS columns: images of ANY aspect ratio pack naturally.
   Add/remove .fanart-item nodes freely — they reflow automatically. */
.fanart-grid {
  column-count: 2;
  column-gap: 18px;
  margin-top: 6px;
}

@container maincol (max-width: 540px) {
  .fanart-grid { column-count: 1; }
}

.fanart-item {
  break-inside: avoid;
  margin: 0 0 18px;
  padding: 0;
  border: none;
  background: none;
  width: 100%;
  display: block;
  cursor: zoom-in;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.fanart-item:hover {
  transform: translateY(-3px);
  box-shadow: 4px 6px 0 rgba(56,55,66,.5);
}

.fanart-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 3px solid var(--slate-deep);
  border-radius: 6px;
}

/* ---------- Lightbox (full-view overlay, same page) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(20,19,26,.92);
  backdrop-filter: blur(3px);
  cursor: zoom-out;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 3px solid var(--gold-dark);
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
  cursor: default;
}

/* source link, bottom-left of the expanded view */
.lightbox-source {
  position: fixed;
  left: 22px;
  bottom: 20px;
  z-index: 101;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 60vw;
  padding: 9px 16px;
  background: var(--slate-deep);
  border: 2px solid var(--gold-dark);
  border-radius: 6px;
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-source::before {
  content: '★';
  color: var(--gold-deep);
}

.lightbox-source:hover { background: #43424f; color: var(--gold); }

.lightbox-source .lbl {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--stone);
}

/* close button, top-right */
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 101;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-deep);
  border: 2px solid var(--gold-dark);
  border-radius: 6px;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.lightbox-close:hover { background: var(--gold); color: var(--slate-deep); }

/* ============================================
   ABOUT PAGE — credits + admins + socials
   ============================================ */

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

@container maincol (max-width: 540px) { .admin-grid { grid-template-columns: 1fr; } }

.admin-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--slate-deep);
  border: 2px solid var(--gold-dark);
  border-radius: 8px;
  padding: 14px 16px;
}

.admin-avatar {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background:
    repeating-linear-gradient(45deg, rgba(244,200,113,.10) 0 8px, rgba(244,200,113,.18) 8px 16px);
}

.admin-card .who { min-width: 0; }

.admin-card .name {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}

.admin-card .role {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-deep);
  margin: 2px 0 6px;
}

.admin-card .bio {
  font-size: 12px;
  color: var(--bone);
  line-height: 1.5;
}

/* social link buttons row (bottom of about page) */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  background: var(--gold);
  color: var(--slate-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: 2px solid var(--brown-dark);
  border-radius: 6px;
  box-shadow: 0 3px 0 var(--brown-dark);
  transition: transform 100ms, box-shadow 100ms;
}

.social-btn:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--brown-dark); }
.social-btn:active { transform: translateY(3px); box-shadow: none; }

.social-btn .ico {
  font-size: 16px;
  line-height: 1;
}

/* ============================================
   NOW PLAYING — custom MP3 player (sidebar box)
   ============================================ */
.np {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 2px;
}

/* track title + artist */
.np-track { min-width: 0; }

.np-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-title .note { color: var(--gold-deep); margin-right: 3px; }

.np-artist {
  font-size: 10px;
  color: var(--stone);
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* custom range slider (shared by seek + volume) */
.np-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 14px;
  background: transparent;
  cursor: inherit;
  margin: 0;
  display: block;
}
.np-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  border: 1px solid var(--gold-dark);
  background: linear-gradient(to right,
    var(--gold) 0 var(--p, 0%), #15141a var(--p, 0%) 100%);
}
.np-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -4px;
  border-radius: 2px;
  background: var(--gold);
  border: 1px solid var(--brown-dark);
  box-shadow: 1px 1px 0 rgba(0,0,0,.45);
}
.np-range::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  border: 1px solid var(--gold-dark);
  background: #15141a;
}
.np-range::-moz-range-progress {
  height: 6px;
  border-radius: 3px 0 0 3px;
  background: var(--gold);
}
.np-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gold);
  border: 1px solid var(--brown-dark);
}

/* control row: play button + EQ + LCD time */
.np-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.np-play {
  flex: 0 0 auto;
  width: 38px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--slate-deep);
  border: 2px solid var(--brown-dark);
  border-radius: 5px;
  box-shadow: 0 3px 0 var(--brown-dark);
  font-size: 12px;
  line-height: 1;
  cursor: inherit;
  transition: transform 100ms, box-shadow 100ms;
}
.np-play:hover { background: var(--gold-deep); }
.np-play:active { transform: translateY(3px); box-shadow: none; }

/* stop button — resets song to the beginning */
.np-stop {
  flex: 0 0 auto;
  width: 38px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--slate-deep);
  border: 2px solid var(--brown-dark);
  border-radius: 5px;
  box-shadow: 0 3px 0 var(--brown-dark);
  font-size: 11px;
  line-height: 1;
  cursor: inherit;
  transition: transform 100ms, box-shadow 100ms;
}
.np-stop:hover { background: var(--gold-deep); }
.np-stop:active { transform: translateY(3px); box-shadow: none; }

/* ── sticker easter egg ── */
.egg-wiggle {
  animation: egg-wiggle 0.16s ease-in-out 0s 6;
}
@keyframes egg-wiggle {
  0%, 100% { transform: rotate(var(--rot)); }
  25%      { transform: rotate(calc(var(--rot) - 7deg)) scale(1.06); }
  75%      { transform: rotate(calc(var(--rot) + 7deg)) scale(1.06); }
}

.egg-reveal {
  text-align: center;
  padding: 10px 0 26px;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.egg-reveal.is-shown { opacity: 1; }
.egg-reveal a {
  font-family: 'VT323', monospace;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--gold-dark);
  text-decoration: underline;
}
.egg-reveal a:hover { color: var(--gold-deep); }
@keyframes egg-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* green LCD time readout, like the visitor counter */
.np-time {
  margin-left: auto;
  font-family: 'VT323', monospace;
  font-size: 15px;
  color: #6cff6c;
  background: #111;
  border: 1px solid var(--gold-dark);
  border-radius: 3px;
  padding: 0 6px;
  letter-spacing: 1px;
  line-height: 1.35;
  white-space: nowrap;
}

/* volume row */
.np-vol-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.np-vol-ico {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--gold-deep);
}

/* selection */
::selection { background: var(--gold); color: var(--slate-deep); }
