/* GOLMOK — 16-bit, not 8-bit. Panels are bevelled rather than flat-outlined,
   materials carry three tones, and type is a pixel face with enough detail to
   read at paragraph length. Photographs are never pixelated. */

@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');

:root {
  /* sky and land */
  --sky:        #D0625F;
  --sky-low:    #FF9E3D;
  --grass:      #5DA551;
  --grass-dark: #3F7F3E;

  /* parchment UI, three tones for the bevel */
  --panel:      #F6E7C8;
  --panel-hi:   #FFFAEC;
  --panel-lo:   #D7BF96;
  --panel2:     #E9D5AC;
  --panel2-lo:  #C4A97D;

  --wood:       #9A6B3C;
  --wood-lo:    #5E3F21;
  --ink:        #2B2119;
  --ink-2:      #453529;

  --text:       #2B2119;
  --muted:      #6A543E;
  --subtle:     #8B7358;

  --accent:     #D9542B;
  --accent-hi:  #F07A4E;
  --accent-lo:  #9B3618;
  --coin:       #F3B72C;
  --coin-hi:    #FFD766;
  --coin-lo:    #B87F12;
  --jade:       #2A8C7A;
  --white:      #FFF8E8;

  --drop:   0 4px 0 rgba(43, 33, 25, .32);
  --drop-s: 0 3px 0 rgba(43, 33, 25, .28);

  --f: 'Pixelify Sans', 'Trebuchet MS', system-ui, sans-serif;
  --maxw: 900px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sky:        #1C2A4A;
    --sky-low:    #33456B;
    --grass:      #245043;
    --grass-dark: #173A31;

    --panel:      #2E2A22;
    --panel-hi:   #4A4336;
    --panel-lo:   #171410;
    --panel2:     #3A342A;
    --panel2-lo:  #1D1A14;

    --wood:       #6B4A26;
    --wood-lo:    #2A1D10;
    --ink:        #080A10;
    --ink-2:      #1A1710;

    --text:       #F3E7CE;
    --muted:      #BCA684;
    --subtle:     #8E7C60;

    --accent:     #F07A4E;
    --accent-hi:  #FFA179;
    --accent-lo:  #8E3D1C;
    --coin:       #FFD766;
    --coin-hi:    #FFE9A6;
    --coin-lo:    #A87C15;
    --jade:       #47C4AC;
    --white:      #F3E7CE;

    --drop:   0 4px 0 rgba(0, 0, 0, .55);
    --drop-s: 0 3px 0 rgba(0, 0, 0, .5);
  }
}

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

html, body {
  background: var(--grass-dark);
  color: var(--text);
  font-family: var(--f);
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
}
body { padding-top: 18px; }   /* no fixed bar any more; just breathing room */
img { display: block; max-width: 100%; }
svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--f); font-size: 17px; color: var(--text); }

/* the bevel: a light inner edge top-left, a dark one bottom-right */
.bevel {
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), var(--drop);
}

/* ────────────────────────────────────────────────────────── small controls */

.linkish {
  font-size: 13px; font-weight: 700; letter-spacing: .05em;
  color: var(--ink); background: var(--panel2);
  border: 3px solid var(--ink); padding: 6px 10px;
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel2-lo), var(--drop-s);
  transition: transform .07s steps(2), box-shadow .07s steps(2), background .12s;
}
.linkish:hover { background: var(--coin); }
.linkish:active {
  transform: translateY(3px);
  box-shadow: inset 2px 2px 0 var(--panel2-lo), inset -2px -2px 0 var(--panel-hi);
}

/* ───────────────────────────────────────────────────── layout + type */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px 84px; }
.screen { display: none; }
.screen.on { display: block; animation: rise .22s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

h1, h2, h3 { font-weight: 700; letter-spacing: .05em; line-height: 1.35; }
h1 { font-size: clamp(26px, 5vw, 44px); }
h2 { font-size: clamp(18px, 2.8vw, 25px); }
h3 { font-size: 19px; letter-spacing: .03em; }
.lede { font-size: 18px; }
.muted { font-size: 16.5px; color: var(--muted); }
.subtle { font-size: 14px; color: var(--subtle); }

.section-head { margin: 38px 0 15px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.section-head h2 {
  background: var(--ink); color: var(--coin);
  padding: 9px 14px;
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--ink-2), var(--drop-s);
}
.section-head .subtle {
  margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--ink); background: var(--panel2);
  border: 3px solid var(--ink); padding: 5px 9px;
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel2-lo);
}

.panel, .msg {
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), var(--drop);
  padding: 20px 22px;
}
.msg + .msg { margin-top: 12px; }

.badge {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  background: var(--coin); color: var(--ink);
  border: 3px solid var(--ink); padding: 5px 10px;
  box-shadow: inset 2px 2px 0 var(--coin-hi), inset -2px -2px 0 var(--coin-lo);
}
.badge.hot {
  background: var(--accent); color: var(--white);
  box-shadow: inset 2px 2px 0 var(--accent-hi), inset -2px -2px 0 var(--accent-lo);
}

/* ──────────────────────────────────────────────────────────── buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 17px; font-weight: 700; letter-spacing: .06em;
  background: var(--accent); color: var(--white);
  border: 3px solid var(--ink);
  padding: 13px 22px;
  box-shadow: inset 2px 2px 0 var(--accent-hi), inset -2px -2px 0 var(--accent-lo), var(--drop);
  transition: transform .07s steps(2), box-shadow .07s steps(2), background .12s;
}
.btn:hover { background: var(--accent-hi); }
.btn:active {
  transform: translateY(4px);
  box-shadow: inset 2px 2px 0 var(--accent-lo), inset -2px -2px 0 var(--accent-hi);
}
.btn.ghost {
  background: var(--panel2); color: var(--ink);
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel2-lo), var(--drop);
}
.btn.ghost:hover { background: var(--panel); }
.btn.ghost:active {
  box-shadow: inset 2px 2px 0 var(--panel2-lo), inset -2px -2px 0 var(--panel-hi);
}
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-xl { font-size: 23px; padding: 18px 40px; letter-spacing: .1em; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 26px; }

.blink { animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ─────────────────────────────────────────────────────── the scene */

.scene {
  position: relative;
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.15), var(--drop);
  overflow: hidden;
  background: var(--sky);
  margin-top: 18px;
}
.scene svg { width: 100%; height: auto; }
.birds { animation: fly 34s linear infinite; }
@keyframes fly {
  from { transform: translate(60px, 10px); }
  to   { transform: translate(-150px, -16px); }
}
.hop { animation: hop 1.1s steps(2) infinite; }
@keyframes hop { 50% { transform: translateY(-2px); } }

.scene-title {
  position: absolute; left: 0; right: 0; top: 18px;
  text-align: center; padding: 0 14px;
  pointer-events: none;
}
.scene-title span {
  display: inline-block;
  color: var(--white);
  font-weight: 700; letter-spacing: .09em;
  font-size: clamp(16px, 3.1vw, 30px); line-height: 1.4;
  text-shadow: 3px 3px 0 var(--ink), -1px -1px 0 var(--ink),
               1px -1px 0 var(--ink), -1px 1px 0 var(--ink);
}
/* a caption bar, so the line stays readable over pale dirt */
.scene-sub {
  position: absolute; left: 0; right: 0; bottom: 0;
  text-align: center; pointer-events: none;
  background: var(--ink); color: var(--coin);
  font-size: 14px; font-weight: 700; letter-spacing: .07em;
  padding: 7px 12px;
}

.start-wrap { text-align: center; margin-top: 20px; }
.press { font-size: 14px; letter-spacing: .08em; color: var(--muted); margin-top: 12px; }
@media (prefers-color-scheme: light) { .press { color: var(--panel); } }

/* ───────────────────────────────────────────────────────────── sprite */

.sprite { width: 44px; height: 66px; flex: none; image-rendering: pixelated; }
.sprite.sm { width: 32px; height: 48px; }
.sprite.lg { width: 60px; height: 90px; }

/* ─────────────────────────────────────────────────────── trail strip */

.trail {
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.12), var(--drop-s);
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--sky);
}
.trail svg { width: 100%; height: auto; }
#walker { transition: transform .4s steps(7); }

.qhead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.qhead .linkish { margin-left: auto; }

/* ──────────────────────────────────────────────────────────────── test */

.qcard {
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), var(--drop);
}
.qphoto { position: relative; border-bottom: 3px solid var(--ink); }
.qphoto img { width: 100%; height: clamp(180px, 31vw, 260px); object-fit: cover; }
.qphoto .kicker {
  position: absolute; left: 0; bottom: 0; right: 0;
  font-size: 14px; font-weight: 700; letter-spacing: .05em;
  background: var(--ink); color: var(--coin);
  padding: 7px 12px;
}
.qbody { padding: 20px 20px 22px; }
.qtext { font-size: 21px; line-height: 1.45; margin-bottom: 16px; }
.opts { display: grid; gap: 10px; }
.opt {
  text-align: left; width: 100%;
  background: var(--panel2); color: var(--text);
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel2-lo), var(--drop-s);
  padding: 13px 15px;
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 17.5px; line-height: 1.5;
  transition: transform .07s steps(2), box-shadow .07s steps(2), background .12s;
}
.opt:hover { background: var(--coin); }
.opt:active {
  transform: translateY(3px);
  box-shadow: inset 2px 2px 0 var(--panel2-lo), inset -2px -2px 0 var(--panel-hi);
}
.opt-key {
  width: 28px; height: 28px; flex: none;
  background: var(--ink); color: var(--coin);
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
}

/* ────────────────────────────────────────────────────────────── result */

.signpost { text-align: center; }
.sign-board {
  display: inline-block;
  background: var(--wood); color: var(--white);
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.22), inset -2px -2px 0 var(--wood-lo), var(--drop);
  padding: 16px 26px;
}
.sign-code { font-size: 15px; font-weight: 700; letter-spacing: .3em; color: var(--coin); margin-bottom: 8px; }
.sign-board h2 { color: var(--white); }
.sign-post-leg {
  width: 18px; height: 30px; margin: 0 auto;
  background: var(--wood); border: 3px solid var(--ink); border-top: none;
  box-shadow: inset 2px 0 0 rgba(255,255,255,.18), inset -2px 0 0 var(--wood-lo);
}
.result-line { font-size: 19px; max-width: 46ch; margin: 0 auto; }

.traits { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.trait {
  background: var(--panel2); border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel2-lo);
  padding: 6px 12px; font-size: 15px;
}
.warn {
  margin-top: 20px; padding: 12px 16px;
  background: var(--ink); color: var(--coin);
  font-size: 16px; line-height: 1.5;
  box-shadow: inset 2px 2px 0 var(--ink-2);
}

.axes {
  display: grid; gap: 13px;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), var(--drop);
  padding: 20px 18px;
}
.axis-row { display: grid; grid-template-columns: 78px 1fr 78px; gap: 12px; align-items: center; }
.axis-row .end { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--subtle); }
.axis-row .end.r { text-align: right; }
.axis-row .end.hot { color: var(--accent); }
.axis-bar {
  display: flex; gap: 3px; padding: 3px;
  background: var(--ink);
  box-shadow: inset 2px 2px 0 rgba(0,0,0,.35);
}
.axis-bar i { flex: 1; height: 16px; background: var(--panel2-lo); }
.axis-bar i.on { background: var(--coin); box-shadow: inset 0 2px 0 var(--coin-hi); }
.axis-bar i.pip { background: var(--accent); box-shadow: inset 0 2px 0 var(--accent-hi); }

/* ────────────────────────────────────────────────────────── influencer */

.infl { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.infl-meta { flex: 1; min-width: 230px; }
.infl-handle { font-size: 15px; font-weight: 700; letter-spacing: .05em; color: var(--accent); }
.infl-name { font-size: 24px; font-weight: 700; letter-spacing: .04em; margin: 4px 0 6px; }
.infl-facts { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; font-size: 15px; color: var(--muted); }
.infl-move {
  margin-top: 12px; padding: 12px 14px;
  background: var(--coin); color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--coin-hi), inset -2px -2px 0 var(--coin-lo);
  font-size: 16px; line-height: 1.5;
}

/* ───────────────────────────────────────────────────────────── choices */

.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 14px; }
.pick {
  text-align: left; width: 100%; position: relative;
  display: flex; flex-direction: column; align-items: stretch;
  background: var(--panel); border: 3px solid var(--ink); padding: 0;
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), var(--drop);
  transition: transform .07s steps(2), box-shadow .07s steps(2), background .12s;
}
.pick:hover { background: var(--coin); }
.pick:active, .pick.sel {
  transform: translateY(4px);
  box-shadow: inset 2px 2px 0 var(--panel-lo), inset -2px -2px 0 var(--panel-hi);
}
.pick.sel { background: var(--coin); }
.pick .badge { position: absolute; top: 8px; left: 8px; z-index: 2; }
.pick img { width: 100%; height: 118px; object-fit: cover; border-bottom: 3px solid var(--ink); }
.pick-b { padding: 13px 15px 16px; }
.pick-b h3 { margin-bottom: 6px; }
.pick-b .ko { font-size: 15px; color: var(--muted); }

.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.strip figure {
  border: 3px solid var(--ink); background: var(--ink);
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.14), var(--drop-s);
}
.strip img { width: 100%; height: 124px; object-fit: cover; }
.strip figcaption {
  font-size: 14px; font-weight: 700; letter-spacing: .04em; line-height: 1.5;
  background: var(--ink); color: var(--coin); padding: 8px 11px;
}

.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.how-step {
  background: var(--panel); border: 3px solid var(--ink); padding: 16px 15px;
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), var(--drop-s);
}
.how-n {
  width: 30px; height: 30px; background: var(--accent); color: var(--white);
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--accent-hi), inset -2px -2px 0 var(--accent-lo);
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  margin-bottom: 11px;
}
.how-step h3 { margin-bottom: 5px; }

.hero-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.stat {
  background: var(--panel); border: 3px solid var(--ink); padding: 11px 14px; min-width: 100px;
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), var(--drop-s);
}
.stat-n { font-size: 26px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.stat-l { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ─────────────────────────────────────────────────────────── itinerary */

.dest-hero {
  position: relative; border: 3px solid var(--ink); background: var(--ink);
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.14), var(--drop);
}
.dest-hero img { width: 100%; height: clamp(175px, 28vw, 250px); object-fit: cover; }
.dest-hero .cap { background: var(--ink); color: var(--white); padding: 13px 16px; }
.dest-hero .cap h2 { color: var(--coin); }
.dest-hero .cap .leg { font-size: 15px; color: var(--panel2); margin-top: 6px; }

.day { margin-top: 22px; }
.day-head { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; flex-wrap: wrap; }
.day-n {
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  background: var(--accent); color: var(--white);
  border: 3px solid var(--ink); padding: 5px 11px;
  box-shadow: inset 2px 2px 0 var(--accent-hi), inset -2px -2px 0 var(--accent-lo);
}
.day-title {
  font-size: 15px; color: var(--ink);
  background: var(--panel2); border: 3px solid var(--ink); padding: 4px 10px;
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel2-lo);
}

/* the road continues: a dotted line down the left with a marker per stop */
.slots { position: relative; padding-left: 28px; }
.slots::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 5px;
  background: repeating-linear-gradient(var(--wood) 0 7px, transparent 7px 14px);
}
.slot {
  position: relative;
  background: var(--panel); border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), var(--drop-s);
  padding: 12px 15px; margin-bottom: 10px;
  display: flex; gap: 14px; align-items: flex-start;
}
.slot::before {
  content: ""; position: absolute; left: -24px; top: 17px;
  width: 13px; height: 13px; background: var(--coin);
  border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--coin-hi);
}
.slot.meal::before { background: var(--accent); box-shadow: inset 2px 2px 0 var(--accent-hi); }
.slot-when {
  font-size: 13px; font-weight: 700; letter-spacing: .07em; color: var(--accent);
  width: 74px; flex: none; padding-top: 4px;
}
.slot h3 { margin-bottom: 4px; }
.slot p { font-size: 16px; line-height: 1.5; color: var(--muted); }
.slot .ko { font-size: 15px; color: var(--subtle); }

.eat { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.eat-card {
  background: var(--panel); border: 3px solid var(--ink); padding: 15px 17px;
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), var(--drop-s);
}
.eat-dish {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  background: var(--ink); color: var(--coin); padding: 5px 9px; margin-bottom: 10px;
}
.eat-card h3 { margin-bottom: 4px; }
.eat-card p { font-size: 16px; color: var(--muted); }

.vol { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.vol-card {
  background: var(--panel); border: 3px solid var(--ink); padding: 15px 17px;
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), var(--drop-s);
}
.vol-top { display: flex; gap: 13px; align-items: center; margin-bottom: 11px; }
.vol-say { font-size: 16px; line-height: 1.5; color: var(--muted); }
.langs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.lang {
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  background: var(--panel2); border: 3px solid var(--ink); padding: 4px 8px;
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel2-lo);
}

/* ──────────────────────────────────────────────────────────────── form */

.track-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.track {
  text-align: left; background: var(--panel); border: 3px solid var(--ink); padding: 16px 17px;
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo), var(--drop-s);
  transition: transform .07s steps(2), box-shadow .07s steps(2), background .12s;
}
.track:hover { background: var(--coin); }
.track.sel {
  background: var(--coin); transform: translateY(3px);
  box-shadow: inset 2px 2px 0 var(--coin-lo), inset -2px -2px 0 var(--coin-hi);
}
.track h3 { margin-bottom: 5px; }
.track p { font-size: 16px; color: var(--muted); }

.field { margin-bottom: 17px; }
.field label { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px;
  background: var(--white); border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 rgba(0,0,0,.14);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: var(--coin-hi);
}
.field textarea { resize: vertical; min-height: 92px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err {
  display: none; font-size: 14px; font-weight: 700; letter-spacing: .05em;
  color: var(--white); background: var(--accent); padding: 6px 10px; margin-top: 7px;
  box-shadow: inset 2px 2px 0 var(--accent-hi), inset -2px -2px 0 var(--accent-lo);
}
.err.on { display: block; }

.done-card { text-align: center; padding: 36px 24px; }
.done-tick {
  width: 66px; height: 66px; margin: 0 auto 18px;
  background: var(--coin); border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--coin-hi), inset -2px -2px 0 var(--coin-lo);
  display: grid; place-items: center;
  font-size: 32px; font-weight: 700; color: var(--ink);
}
.notice {
  margin-top: 26px; padding: 13px 15px; text-align: left;
  background: var(--panel2); border: 3px dashed var(--ink);
  font-size: 15px; color: var(--muted);
}

/* ───────────────────────────────────────────────────────────── credits */

.cred-list { display: grid; gap: 8px; }
.cred {
  background: var(--panel); border: 3px solid var(--ink);
  box-shadow: inset 2px 2px 0 var(--panel-hi), inset -2px -2px 0 var(--panel-lo);
  padding: 10px 13px; font-size: 15px; color: var(--muted);
  display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline;
}
.cred b { color: var(--text); font-weight: 700; }
.cred .lic { margin-left: auto; font-size: 12px; color: var(--subtle); }

footer {
  margin-top: 56px; padding: 18px 16px;
  background: var(--ink); color: var(--muted);
  font-size: 15px;
  box-shadow: inset 0 3px 0 var(--ink-2);
}
footer p { margin: 0; }
.foot-links { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ──────────────────────────────────────────────────────────── responsive */

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 12px 72px; }
  .strip { grid-template-columns: 1fr; }
  .two, .track-row { grid-template-columns: 1fr; }
  .axis-row { grid-template-columns: 58px 1fr 58px; gap: 8px; }
  .axis-row .end { font-size: 11px; }
  .slot { flex-direction: column; gap: 6px; }
  .slot-when { width: auto; padding-top: 0; }
  .btn-xl { font-size: 18px; padding: 15px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* how everyone answered — shown for a beat after a pick, on the two buttons
   themselves. The fill is the share that chose that answer; the border marks
   the one you took. */

.opt.res { position: relative; overflow: hidden; pointer-events: none; }
.opt.res > * { position: relative; }
.opt.res .fill {
  position: absolute; left: 0; top: 0; bottom: 0; right: auto;
  background: var(--coin); opacity: .5;
  transition: width .45s ease-out;
}
.opt.res.mine { border-color: var(--accent); }
.opt-pct { margin-left: auto; padding-left: 10px; font-weight: 700; }
.split-note {
  margin-top: 12px; font-size: 15px; color: var(--muted);
  animation: split-in .3s ease-out;
}
.rarity { margin-top: 10px; font-size: 15px; color: var(--muted); }

@keyframes split-in { from { opacity: 0; } to { opacity: 1; } }
