/* ==========================================================================
   Fashion Valkyries: Saga of Style
   Direction: Norse frost-court luxury — polar night, aurora light, gold foil.
   Display face: engraved caps (Copperplate / Trajan / serif fallback).
   Body face: humanist sans (Optima / Avenir / Segoe).
   ========================================================================== */

:root {
  --night-0: #05080f;
  --night-1: #0a1120;
  --night-2: #0e1729;
  --night-3: #131f36;
  --glass: rgba(18, 30, 50, .72);
  --glass-2: rgba(24, 38, 62, .55);
  --line: rgba(150, 190, 235, .16);
  --line-hot: rgba(232, 197, 106, .42);
  --ink: #eaf2fb;
  --ink-2: #b9cade;
  --ink-3: #7f93ab;
  --gold: #e8c56a;
  --gold-hi: #f7e6ae;
  --gold-lo: #a8842c;
  --mint: #4fe3c1;
  --blue: #6fb7ff;
  --violet: #a06bff;
  --rose: #ff7a9c;
  --rime: #9fd8ff;
  --shadow-1: 0 2px 8px rgba(0, 0, 0, .35);
  --shadow-2: 0 8px 28px rgba(0, 0, 0, .48);
  --shadow-3: 0 24px 60px rgba(0, 0, 0, .6);
  --r-1: 6px;
  --r-2: 12px;
  --r-3: 20px;
  --disp: "Copperplate", "Copperplate Gothic Bold", "Trajan Pro", "Cinzel", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --body: "Optima", "Avenir Next", "Avenir", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", "Menlo", Consolas, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--night-0);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
h1, h2, h3 { font-family: var(--disp); font-weight: 400; letter-spacing: .02em; margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.kicker {
  font-family: var(--disp);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .9;
}

/* ------------------------------------------------------------------ shell */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 17, 32, .96), rgba(8, 13, 24, .82));
  backdrop-filter: blur(8px);
  position: relative; z-index: 5;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand b { font-family: var(--disp); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; }
.brand span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.spacer { flex: 1; }
.chip {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 10px; white-space: nowrap;
}
.chip.gold { color: var(--gold); border-color: var(--line-hot); }

.stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 428px;
  gap: 0;
  min-height: 0;
  position: relative;
  background:
    radial-gradient(900px 620px at 22% 18%, rgba(79, 227, 193, .07), transparent 62%),
    radial-gradient(760px 520px at 78% 76%, rgba(160, 107, 255, .08), transparent 64%),
    linear-gradient(180deg, #070c16, #05080f);
}
/* desktop: the stage is exactly one viewport tall (topbar is pinned at 48px),
 * the rail scrolls inside it, and the SEO copy flows below the fold.
 * Two traps this rule exists to avoid:
 *   a) `flex: 1` sets flex-basis:0%, which beats `height` for the main size —
 *      so the stage must opt out of flexing entirely (flex: 0 0 auto),
 *      otherwise it stretches to the full shell (game area + SEO section).
 *   b) an `auto` grid row grows to its tallest item (the wardrobe rail is
 *      ~1300px), so the row is pinned to minmax(0, 1fr) and the rail
 *      scrolls instead of inflating the board. */
@media (min-width: 881px) {
  .stage {
    flex: 0 0 auto;
    height: calc(100vh - 48px);
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }
  .board { height: 100%; }
  .rail { height: 100%; }
}

/* ------------------------------------------------------------------ board */
.board { position: relative; min-height: 480px; overflow: hidden; }
#view { display: block; width: 100%; height: 100%; }
.hud {
  position: absolute; inset: 12px 14px auto 14px;
  display: flex; align-items: flex-start; gap: 12px; pointer-events: none;
}
.hud-l { display: flex; flex-direction: column; gap: 2px; }
.hud-l .act { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.hud-l .ch { font-family: var(--disp); font-size: 17px; letter-spacing: .04em; }
.hud-r { margin-left: auto; display: flex; align-items: center; gap: 14px; pointer-events: auto; }
.petals { font-size: 12px; color: var(--ink-2); letter-spacing: .06em; }
.petals b { color: var(--gold-hi); font-size: 15px; }
.petals.over b { color: var(--rose); }
.stars-hud { display: flex; gap: 4px; }
.stars-hud .star { width: 13px; height: 13px; background: rgba(255, 255, 255, .13); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transition: background .3s var(--ease-out); }
.stars-hud .star.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.iconbtn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(10, 18, 32, .7);
  display: grid; place-items: center; font-size: 14px;
}
.iconbtn:hover { border-color: var(--line-hot); background: rgba(20, 32, 52, .9); }
.client-tag {
  position: absolute; left: 16px; bottom: 16px; max-width: 46%;
  font-size: 12px; color: var(--ink-3); letter-spacing: .08em;
}
.client-tag b { display: block; font-family: var(--disp); font-size: 15px; color: var(--gold); letter-spacing: .06em; }

/* ----------------------------------------------------------------- toast */
.toasts { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(560px, 88%); z-index: 8; }
.toast {
  background: rgba(12, 21, 37, .94); border: 1px solid var(--line-hot);
  border-radius: 999px; padding: 9px 18px; font-size: 13px; color: var(--ink);
  box-shadow: var(--shadow-2); animation: pop .38s var(--ease-out);
  text-align: center;
}
.toast.bad { border-color: rgba(255, 122, 156, .55); }
.toast.hint { border-color: rgba(79, 227, 193, .5); }
.toast.warn { border-color: rgba(232, 197, 106, .5); }
.toast.out { opacity: 0; transform: translateY(6px); transition: all .5s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------- rail */
.rail {
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 19, 34, .92), rgba(7, 12, 22, .96));
  display: flex; flex-direction: column; min-height: 0; overflow-y: auto;
}
.brief { padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.brief-head h3 { font-size: 20px; margin: 3px 0 4px; }
.brief-head .client { margin: 0; font-size: 13px; color: var(--gold); font-family: var(--disp); letter-spacing: .05em; }
.brief-head .line { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); font-style: italic; }
ul.reqs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
ul.reqs.bonus { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
li.req { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
li.req .tick {
  flex: 0 0 15px; width: 15px; height: 15px; margin-top: 2px; border-radius: 50%;
  border: 1px solid var(--line); position: relative; transition: all .25s var(--ease-out);
}
li.req.done { color: var(--ink); }
li.req.done .tick { background: linear-gradient(180deg, var(--mint), #1f8f74); border-color: transparent; }
li.req.done .tick::after {
  content: ""; position: absolute; left: 4px; top: 4px; width: 5px; height: 8px;
  border: 2px solid #04120e; border-top: 0; border-left: 0; transform: rotate(42deg);
}
li.req.bonus-head { color: var(--gold); }
li.req .tick.star { border-color: var(--line-hot); }
li.req.done .tick.star { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
li.req.done .tick.star::after { border-color: #241a03; }
.brief-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.brief-foot .target b { color: var(--gold-hi); font-size: 14px; }
.petalbox b { color: var(--gold-hi); font-size: 14px; }
.petalbox.over b { color: var(--rose); }
.brief.shake { animation: shake .5s ease; }
@keyframes shake { 10%, 90% { transform: translateX(-3px); } 30%, 70% { transform: translateX(4px); } 50% { transform: translateX(-5px); } }

.score { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.score .total { display: flex; align-items: baseline; justify-content: space-between; }
.score .total b { font-family: var(--disp); font-size: 34px; color: var(--gold-hi); line-height: 1; }
.bars { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.bar { display: grid; grid-template-columns: 62px 1fr 38px; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-3); }
.bar .bl { letter-spacing: .1em; text-transform: uppercase; }
.bar .track { height: 5px; background: rgba(255, 255, 255, .07); border-radius: 99px; overflow: hidden; }
.bar .track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--mint)); transition: width .35s var(--ease-out); }
.bar:nth-child(2) .track i { background: linear-gradient(90deg, var(--violet), var(--blue)); }
.bar:nth-child(3) .track i { background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.bar .bv { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.score .meta { margin-top: 9px; font-size: 11.5px; color: var(--ink-3); }
.score .rime { color: var(--rime); }

.tabs { display: flex; gap: 6px; padding: 12px 16px 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; min-width: 98px; text-align: left; padding: 7px 10px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  border-radius: var(--r-1); position: relative; transition: all .2s var(--ease-out);
}
.tab:hover { background: rgba(255, 255, 255, .07); }
.tab.active { border-color: var(--line-hot); background: rgba(232, 197, 106, .09); }
.tab.filled .tv { color: var(--gold-hi); }
.tab .tn { display: block; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.tab .tv { display: block; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 96px; }
.tab .tk { position: absolute; right: 4px; top: 3px; font-size: 8.5px; color: var(--ink-3); opacity: .6; }

.grid { padding: 4px 16px 16px; }
.ghd { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.ghd span { font-family: var(--disp); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.ghd i { font-size: 11px; color: var(--ink-3); }
.gwrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 9px; }
.item {
  text-align: left; padding: 0; border: 1px solid var(--line); border-radius: var(--r-2);
  background: linear-gradient(180deg, rgba(23, 36, 58, .8), rgba(12, 20, 34, .9));
  overflow: hidden; transition: transform .18s var(--ease-out), border-color .18s, box-shadow .18s;
  animation: cardin .34s var(--ease-out) both;
}
@keyframes cardin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.item:hover { transform: translateY(-2px); border-color: var(--line-hot); box-shadow: var(--shadow-2); }
.item.worn { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-2); }
.item.high::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
}
.item.cursed { border-color: rgba(159, 216, 255, .4); }
.item.suggested { animation: suggest 1.1s ease infinite; }
@keyframes suggest { 0%, 100% { box-shadow: 0 0 0 0 rgba(79, 227, 193, .5); } 50% { box-shadow: 0 0 0 6px rgba(79, 227, 193, 0); } }
.item canvas.thumb { display: block; width: 100%; height: 96px; object-fit: cover; background: radial-gradient(60% 60% at 50% 40%, rgba(120, 170, 230, .16), transparent 70%); }
.item .imeta { display: block; padding: 7px 8px 9px; }
.item .imeta > b { display: block; font-size: 11.5px; font-weight: 400; line-height: 1.25; color: var(--ink); }
.item .row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.item .row.syms { margin-top: 4px; }
.item i { font-style: normal; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; padding: 1.5px 5px; border-radius: 4px; border: 1px solid var(--line); color: var(--ink-3); }
.item .tier.t1 { color: #9fb4c9; } .item .tier.t2 { color: #8fd3c0; }
.item .tier.t3 { color: #7fc4f5; } .item .tier.t4 { color: #d0a6ff; }
.item .tier.t5 { color: var(--gold-hi); border-color: var(--line-hot); }
.item .pal.p-frost { color: #b6e3ff; } .item .pal.p-ember { color: #ffb083; }
.item .pal.p-gold { color: var(--gold-hi); } .item .pal.p-moss { color: #a5de9a; }
.item .pal.p-night { color: #c3b4ff; } .item .pal.p-sea { color: #86f0e0; }
.item .cost { color: var(--gold-hi); border-color: var(--line-hot); }
.item .sym.rime { color: var(--rime); border-color: rgba(159, 216, 255, .45); }

.rail-actions {
  position: sticky; bottom: 0; margin-top: auto;
  display: grid; grid-template-columns: 1fr auto auto; gap: 8px;
  padding: 12px 16px 14px; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 14, 25, .6), rgba(6, 10, 18, .97));
  backdrop-filter: blur(6px);
}
.btn {
  font-family: var(--body); font-size: 13px; letter-spacing: .06em;
  padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04); color: var(--ink); transition: all .2s var(--ease-out);
}
.btn:hover { border-color: var(--line-hot); background: rgba(255, 255, 255, .08); }
.btn.primary {
  background: linear-gradient(180deg, rgba(232, 197, 106, .22), rgba(168, 132, 44, .22));
  border-color: var(--line-hot); color: var(--gold-hi); text-align: center;
}
.btn.primary.ready {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #241a03; border-color: transparent;
  box-shadow: 0 6px 24px rgba(232, 197, 106, .3);
}
.btn.ghost { background: transparent; color: var(--ink-3); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------------------------------------------------------------- overlay */
.overlay {
  position: absolute; inset: 0; z-index: 20;
  display: none; align-items: center; justify-content: center; padding: 22px;
  background: radial-gradient(700px 520px at 50% 40%, rgba(10, 18, 32, .7), rgba(3, 6, 12, .93));
  backdrop-filter: blur(7px);
}
.overlay.show { display: flex; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.card-wrap {
  width: min(560px, 100%); max-height: 100%; overflow-y: auto;
  background: linear-gradient(180deg, rgba(19, 31, 54, .97), rgba(9, 15, 27, .98));
  border: 1px solid var(--line-hot); border-radius: var(--r-3);
  padding: 26px 28px 24px; box-shadow: var(--shadow-3);
  animation: rise .45s var(--ease-out);
}
.card-wrap.wide { width: min(860px, 100%); }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.card-wrap h2 { font-size: 30px; line-height: 1.1; margin: 6px 0 6px; }
.card-wrap .sub { font-family: var(--disp); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.card-wrap p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 10px; }
.card-wrap strong { color: var(--ink); }
.card-wrap em { color: var(--gold-hi); font-style: normal; }
.card-wrap .muted { color: var(--ink-3); font-size: 12px; }
.card-wrap .row { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 18px; }
.card-wrap .row.single { justify-content: center; }
.story-body p { font-size: 14px; line-height: 1.68; color: var(--ink-2); margin: 0 0 12px; }
.story-body .blurb { color: var(--gold); font-style: italic; border-left: 2px solid var(--line-hot); padding-left: 12px; }
.client-card .who { font-family: var(--disp); font-size: 26px; color: var(--gold-hi); margin: 4px 0 2px; }
.client-card .line { font-style: italic; color: var(--ink-2); }
.client-card ul { margin: 14px 0 0; padding-left: 20px; }
.client-card li { font-size: 13px; color: var(--ink-2); margin: 4px 0; }

/* chapter map */
.acts { display: flex; flex-direction: column; gap: 16px; }
.actblock { border-top: 1px solid var(--line); padding-top: 12px; }
.acthd h3 { font-size: 19px; margin: 2px 0 2px; }
.acthd i { font-size: 11.5px; color: var(--ink-3); font-style: normal; }
.chrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 8px; margin-top: 10px; }
.chbtn {
  text-align: left; padding: 9px 11px; border-radius: var(--r-2);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  display: flex; align-items: center; gap: 8px; transition: all .18s var(--ease-out);
}
.chbtn:hover { border-color: var(--line-hot); transform: translateY(-1px); }
.chbtn b { font-family: var(--disp); font-size: 18px; color: var(--gold); }
.chbtn span { font-size: 11.5px; color: var(--ink-2); flex: 1; }
.chbtn .mini { display: flex; gap: 2px; }
.chbtn .mini s { width: 7px; height: 7px; text-decoration: none; background: rgba(255, 255, 255, .12); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.chbtn .mini s.on { background: var(--gold); }
.chbtn.locked { opacity: .42; }
.select-info { margin-top: 16px; font-size: 12px; color: var(--ink-3); }

/* verdict */
.card-wrap.win { width: min(700px, 100%); text-align: center; }
.judgeRow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 14px; }
.judge {
  border: 1px solid var(--line); border-radius: var(--r-2); padding: 14px 10px;
  background: rgba(255, 255, 255, .03); opacity: .35; transform: translateY(8px);
  transition: all .5s var(--ease-out);
}
.judge.in { opacity: 1; transform: none; border-color: var(--line-hot); background: rgba(232, 197, 106, .07); }
.judge .jname { display: block; font-family: var(--disp); font-size: 15px; letter-spacing: .08em; }
.judge .jtitle { display: block; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-style: normal; margin: 2px 0 6px; }
.judge .jval { display: block; font-family: var(--disp); font-size: 30px; color: var(--gold-hi); line-height: 1; font-variant-numeric: tabular-nums; }
.judge .jnote { display: block; font-size: 10.5px; color: var(--ink-3); font-style: normal; margin-top: 6px; line-height: 1.4; }
.vline-top { display: flex; align-items: baseline; justify-content: center; gap: 14px; }
.vline-top .lab { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.vline-top b { font-family: var(--disp); font-size: 44px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.bigstars { display: flex; justify-content: center; gap: 10px; margin: 12px 0 6px; }
.bigstars .star { width: 40px; height: 40px; background: rgba(255, 255, 255, .1); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transition: all .4s var(--ease-out); }
.bigstars .star.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); filter: drop-shadow(0 0 12px rgba(232, 197, 106, .55)); transform: scale(1.08); }
#vRune { font-size: 13px; color: var(--gold); font-family: var(--disp); letter-spacing: .06em; }
#vLine { font-size: 13.5px; color: var(--ink-2); }

/* how to play */
.howgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 14px; }
.hcard { border: 1px solid var(--line); border-radius: var(--r-2); padding: 14px; background: rgba(255, 255, 255, .03); }
.hcard h3 { font-size: 14px; letter-spacing: .04em; color: var(--gold); margin-bottom: 6px; }
.hcard p { font-size: 12.5px; margin: 0; }
.endstats { display: flex; gap: 18px; justify-content: center; margin: 14px 0 4px; }
.endstats span { text-align: center; }
.endstats b { display: block; font-family: var(--disp); font-size: 26px; color: var(--gold-hi); }
.endstats i { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-style: normal; }

/* ----------------------------------------------------------- SEO section */
.about { padding: 56px 22px 70px; max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); min-width: 0; }
.about h1 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.14; margin-bottom: 14px; }
.about h2 { font-size: 21px; margin: 32px 0 10px; color: var(--gold); }
.about p { color: var(--ink-2); font-size: 14.5px; line-height: 1.72; }
.about ol, .about ul { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; padding-left: 22px; }
.about li { margin: 5px 0; }
.about table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 13.5px; table-layout: fixed; }
.about th, .about td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); overflow-wrap: break-word; }
.about th { font-family: var(--disp); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.about .faq h3 { font-size: 15px; margin: 18px 0 4px; color: var(--ink); font-family: var(--body); }
.about .faq p { margin: 0; font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.tags span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1020px) {
  .stage { grid-template-columns: minmax(0, 1fr) 380px; }
}
@media (max-width: 880px) {
  .stage { grid-template-columns: 1fr; grid-template-rows: minmax(320px, 44vh) auto; }
  .rail { border-left: 0; border-top: 1px solid var(--line); }
  .board { min-height: 320px; }
  .rail-actions { grid-template-columns: 1fr auto auto; }
  .gwrap { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .item canvas.thumb { height: 84px; }
  .hud { inset: 10px 10px auto 10px; }
  .client-tag { max-width: 70%; font-size: 11px; bottom: 10px; left: 12px; }
  .toasts { bottom: 10px; }
  .card-wrap { padding: 20px 18px; }
  .card-wrap h2 { font-size: 24px; }
  .judgeRow { grid-template-columns: 1fr; }
  .judge { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; }
  .judge .jnote { margin: 0; grid-column: 1 / -1; }
  .judge .jval { font-size: 22px; }
}
@media (max-width: 560px) {
  .chips-extra { display: none; }
  .brand span { display: none; }
  .rail-actions { grid-template-columns: 1fr 1fr; }
  .rail-actions .btn.primary { grid-column: 1 / -1; }
  .about { padding: 40px 16px 56px; }
  .card-wrap { padding: 18px 14px; }
}
@media (max-width: 360px) {
  .gwrap { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
  .tab { min-width: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
