:root {
  --ink: #2a2420; --paper: #f4ecdc; --pink: #f2a7bb; --pink-d: #d2577a; --cream: #fff8ea;
  --hand: 'Caveat', 'Comic Sans MS', cursive; --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
body.walking { height: 100%; overflow: hidden; overscroll-behavior: none; }
a { color: var(--ink); }
button { font: 700 15px var(--body); color: var(--ink); cursor: pointer; }
.ink-btn { background: var(--cream); border: 2px solid var(--ink); border-radius: 12px 14px 11px 15px; padding: 9px 18px; box-shadow: 2px 3px 0 rgba(42,36,32,.18); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.ink-btn:hover { background: #fff; }
.ink-btn:active { transform: translate(1px, 2px); box-shadow: 1px 1px 0 rgba(42,36,32,.18); }
.ink-btn[aria-pressed="true"] { background: #f7c6d3; }
.ink-btn[aria-disabled="true"] { opacity: .65; cursor: default; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the walk ---------- */
#stage { position: fixed; inset: 0; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
#world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#roadside { position: absolute; inset: 0; pointer-events: none; }
#paper { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-size: 256px 256px; z-index: 3000; }
#frog { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; cursor: pointer; background-repeat: no-repeat; background-size: 1800% 100%; touch-action: none; }
#shadow { position: absolute; left: 0; top: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,36,32,.28), rgba(42,36,32,0)); pointer-events: none; will-change: transform; }

/* roadside things: outer gets translate+scale from JS; inner is anchored at bottom-centre */
.rs { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; display: none; }
.rs > .in { position: absolute; left: 0; bottom: 0; transform: translateX(-50%); }
.polaroid { pointer-events: auto; cursor: pointer; background: none; border: 0; padding: 0; display: block; text-align: center; font: inherit; color: inherit; }
.polaroid .card { width: 120px; background: #fffdf6; padding: 7px 7px 4px; border: 1.5px solid var(--ink); border-radius: 3px; box-shadow: 2px 4px 0 rgba(42,36,32,.2); transform: rotate(var(--tilt, -3deg)); }
.polaroid canvas { width: 106px; height: 71px; display: block; filter: sepia(.35) saturate(.75) contrast(.92) brightness(1.04); border: 1px solid rgba(42,36,32,.35); }
.polaroid .cap { font: 700 15px/1.05 var(--hand); margin-top: 4px; min-height: 30px; display: flex; align-items: center; justify-content: center; }
.polaroid .stake { width: 6px; height: 46px; margin: -2px auto 0; background: #9b7653; border: 1.5px solid var(--ink); border-top: 0; }
.polaroid.mood .card { background: #f6f1ff; }
.polaroid:focus-visible .card { outline: 3px solid var(--pink-d); outline-offset: 3px; }
/* proper billboards: lamps, wooden frame, poster, ledge, braced legs */
.billboard .lamps { display: flex; justify-content: space-around; width: 170px; margin: 0 auto -2px; }
.billboard .lamps i { position: relative; display: block; width: 16px; height: 8px; background: #3d3a36; border: 1.5px solid var(--ink); border-radius: 8px 8px 2px 2px; }
.billboard .lamps i::after { content: ''; position: absolute; left: 6px; top: 6px; width: 2px; height: 7px; background: var(--ink); }
.billboard .frame { padding: 6px; background: #9b7653; border: 2px solid var(--ink); border-radius: 4px; box-shadow: inset 0 0 0 2px #b8936b, 3px 5px 0 rgba(42,36,32,.2); }
.billboard .board { width: 200px; background: #fff6df; border: 1.5px solid var(--ink); border-radius: 2px; padding: 6px 8px 7px; display: grid; grid-template-columns: 62px 1fr; gap: 6px; align-items: center; }
.billboard .ledge { width: 196px; height: 7px; margin: 0 auto; background: #7d5f43; border: 1.5px solid var(--ink); border-top: 0; background-image: repeating-linear-gradient(90deg, transparent 0 9px, rgba(42,36,32,.55) 9px 10.5px); }
.billboard.worn1 .board { background: #f6ecd6; filter: saturate(.75); }
.billboard.worn2 .board { background: #ece2cc; filter: saturate(.45); clip-path: polygon(0 0, 100% 0, 100% 72%, 93% 80%, 97% 88%, 90% 100%, 0 100%); }
.billboard.worn2 .lamps i { background: #6b6660; }
.billboard.worn2 .frame { transform: rotate(-1.5deg); }
.pumpboard .board { background: #e9f9ee; }
.pumpboard .tk { color: #1d7a45; }
.pill { position: relative; width: 52px; height: 22px; margin: 0 auto; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: #fff; transform: rotate(-38deg); }
.pill i { position: absolute; inset: 0 0 0 50%; background: #5fd38d; border-left: 2px solid var(--ink); }
.pill::after { content: ''; position: absolute; left: 6px; top: 3px; width: 14px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.8); z-index: 1; }
.pill.mini { width: 26px; height: 12px; margin: 0 2px 0 0; border-width: 1.5px; border-radius: 7px; }
.pill.mini i { border-left-width: 1.5px; }
.pill.mini::after { left: 3px; top: 1.5px; width: 7px; height: 2px; }
/* meme animals in the fields */
.critter canvas { display: block; width: 110px; height: auto; pointer-events: auto; cursor: pointer; transform-origin: 50% 100%; animation: critter 2.6s ease-in-out infinite; animation-delay: var(--bob, 0s); }
.critter.wet canvas { animation-duration: 4s; filter: saturate(.7); }
@keyframes critter { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.03, .96); } }
.billboard canvas { width: 62px; height: 62px; }
.billboard .tk { font: 700 30px/1 var(--hand); letter-spacing: .5px; word-break: break-all; }
.billboard .nt { font: 600 12px/1.15 var(--body); margin-top: 2px; }
.billboard .dt { font: 700 13px/1 var(--hand); opacity: .7; margin-top: 3px; }
.billboard .legs { position: relative; display: flex; justify-content: space-between; width: 150px; margin: 0 auto; }
.billboard .legs b { position: absolute; left: 8px; right: 8px; top: 14px; height: 4px; background: #8a6a4c; border: 1px solid var(--ink); transform: rotate(-11deg); }
.billboard .legs i { display: block; width: 7px; height: 40px; background: #9b7653; border: 1.5px solid var(--ink); border-top: 0; }
.sign .plank { width: 110px; background: #e9d6b0; border: 2px solid var(--ink); border-radius: 4px 6px 4px 5px; padding: 4px 6px; text-align: center; box-shadow: 1px 3px 0 rgba(42,36,32,.18); }
.sign .plank b { display: block; font: 700 20px/1 var(--hand); }
.sign .plank span { display: block; font: 700 14px/1.1 var(--body); }
.sign.year .plank { width: 130px; background: #f7c6d3; }
.sign.year .plank b { font-size: 40px; }
.sign .post { width: 7px; height: 50px; margin: 0 auto; background: #9b7653; border: 1.5px solid var(--ink); border-top: 0; }
.rs.dim { filter: saturate(.55) brightness(.92); }
/* community boards: smaller coins pinned up as paper notes */
.noticeboard .cork { width: 230px; padding: 9px 11px 12px; border: 2px solid var(--ink); border-radius: 5px 8px 4px 7px; background: #c99a64 radial-gradient(rgba(90,60,30,.35) 1px, transparent 1.6px) 0 0 / 7px 7px; box-shadow: inset 0 0 0 5px #9b7653, inset 0 0 0 6.5px rgba(42,36,32,.55), 2px 4px 0 rgba(42,36,32,.2); }
.noticeboard .hd { display: table; margin: 0 auto 7px; padding: 0 8px; background: #fff6df; border: 1.5px solid var(--ink); font: 700 17px/1.2 var(--hand); transform: rotate(-2deg); }
.noticeboard .notes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 7px; }
.noticeboard .note { position: relative; min-height: 62px; padding: 6px 5px 4px; border: 1.5px solid var(--ink); box-shadow: 1px 2px 0 rgba(42,36,32,.2); transform: rotate(var(--tilt)); }
.noticeboard .note::before, .noticeboard .scrap::before { content: ''; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #e2574c; border: 1.5px solid var(--ink); }
.noticeboard .tk { font: 700 19px/1 var(--hand); word-break: break-all; }
.noticeboard .nt { font: 600 10.5px/1.15 var(--body); margin-top: 2px; }
.noticeboard .dt { font: 700 11px/1 var(--hand); opacity: .7; margin-top: 2px; }
.noticeboard .legs { display: flex; justify-content: space-between; width: 170px; margin: 0 auto; }
.noticeboard .legs i { display: block; width: 8px; height: 44px; background: #9b7653; border: 1.5px solid var(--ink); border-top: 0; }
.noticeboard.empty .cork { background-color: #a98a68; }
.noticeboard.empty .notes { min-height: 150px; align-content: start; }
.noticeboard .scrap { position: relative; width: 60%; height: 20px; margin: 4px auto 22px; background: rgba(255,246,223,.6); clip-path: polygon(0 0, 100% 0, 92% 70%, 80% 45%, 66% 100%, 50% 60%, 34% 95%, 18% 55%, 6% 85%); transform: rotate(var(--tilt)); }
.noticeboard .scrap::before { top: -3px; }
/* later boards fade as the years go on */
.noticeboard.worn1 .cork { background-color: #bf9563; }
.noticeboard.worn1 .note { filter: saturate(.7); }
.noticeboard.worn2 .cork { background-color: #b08d69; }
.noticeboard.worn2 .note { filter: saturate(.45) brightness(.97); }
.noticeboard.worn2 .hd { opacity: .8; }
.noticeboard .notes .scrap { width: 80%; margin: 8px auto 0; align-self: start; }
.noticeboard .note.ripped { clip-path: polygon(0 0, 100% 0, 100% 78%, 88% 92%, 76% 80%, 62% 100%, 48% 84%, 34% 96%, 20% 82%, 8% 94%, 0 84%); padding-bottom: 12px; }
/* the fingerpost at the start: big memecoins that took other roads */
.fingerpost .arms { position: relative; width: 240px; display: flex; flex-direction: column; align-items: center; gap: 4px; filter: drop-shadow(1.5px 0 0 var(--ink)) drop-shadow(-1.5px 0 0 var(--ink)) drop-shadow(0 1.5px 0 var(--ink)) drop-shadow(0 -1.5px 0 var(--ink)) drop-shadow(1px 3px 0 rgba(42,36,32,.18)); }
.fingerpost .arms::before { content: ''; position: absolute; left: 50%; top: 4px; bottom: 0; width: 9px; margin-left: -4.5px; background: #9b7653; }
.fingerpost .hd { position: relative; background: #f7c6d3; padding: 1px 12px; font: 700 21px/1.15 var(--hand); }
.fingerpost .arm { position: relative; width: max-content; min-width: 150px; padding: 2px 10px; background: #e9d6b0; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.fingerpost .arm b { font: 700 21px/1.05 var(--hand); }
.fingerpost .arm span { font: 700 10.5px/1 var(--body); }
.fingerpost .arm.l { transform: translateX(-34px); padding-left: 20px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); }
.fingerpost .arm.r { transform: translateX(34px); padding-right: 20px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.fingerpost .post { width: 9px; height: 60px; margin: 0 auto; background: #9b7653; border: 1.5px solid var(--ink); border-top: 0; }

/* thought bubble + speech */
#thought, #speech { position: absolute; left: 0; top: 0; z-index: 2500; will-change: transform; opacity: 0; transition: opacity .35s; pointer-events: none; }
#thought.show, #speech.show { opacity: 1; }
#thought.show { pointer-events: auto; }
#thought button { background: #fffdf6; border: 2px solid var(--ink); border-radius: 22px 26px 20px 24px; padding: 6px 14px 7px; font: 700 18px/1.1 var(--hand); max-width: 230px; text-align: center; box-shadow: 2px 3px 0 rgba(42,36,32,.15); }
#thought button small { display: block; font: 600 11px var(--body); opacity: .7; }
#thought .dots { position: absolute; right: 6px; bottom: -22px; }
#thought .dots i { position: absolute; border: 2px solid var(--ink); background: #fffdf6; border-radius: 50%; }
#speech .bub { background: #fffdf6; border: 2px solid var(--ink); border-radius: 18px 20px 16px 22px; padding: 4px 16px 6px; font: 700 34px/1 var(--hand); position: relative; }
#speech .bub::after { content: ''; position: absolute; left: 18px; bottom: -12px; border: 7px solid transparent; border-top-color: var(--ink); }

/* HUD */
#hud { position: absolute; top: max(10px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(560px, calc(100% - 28px)); text-align: center; pointer-events: none; z-index: 2600; }
#hud h1 { margin: 0; font: 700 clamp(30px, 7vw, 44px)/1 var(--hand); }
#hud h1 small { font-size: .5em; opacity: .7; margin-left: 6px; }
#bar { position: relative; height: 8px; margin: 6px 0 0; border: 1.5px solid var(--ink); border-radius: 6px 8px 5px 7px; background: rgba(255,250,238,.75); }
#fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: var(--pink); }
.tick { position: absolute; top: 10px; transform: translateX(-50%); font: 700 15px/1 var(--hand); opacity: .8; }
.tick::before { content: ''; position: absolute; left: 50%; top: -12px; height: 8px; border-left: 1.5px solid var(--ink); }
#now { margin-top: 24px; font: 700 21px/1 var(--hand); }
#now span { opacity: .75; margin-left: 8px; }
#hint { position: absolute; left: 0; right: 0; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 88px); text-align: center; font-size: 14px; font-weight: 600; pointer-events: none; padding: 0 16px; transition: opacity .6s; z-index: 2600; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
#controls { position: absolute; left: 0; right: 0; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 34px); display: flex; justify-content: center; z-index: 2600; pointer-events: none; }
#controls { gap: 8px; flex-wrap: wrap; padding: 0 10px; }
#controls .ink-btn { pointer-events: auto; }
#speedBtn { min-width: 52px; justify-content: center; }
#skipBtn { opacity: .85; }
@media (max-width: 420px) { #controls .ink-btn { padding: 8px 12px; font-size: 14px; } }
/* coins on the road open their sources */
.tapme { pointer-events: auto; cursor: pointer; }
.tapme:hover { filter: brightness(1.04); }
.tapme:focus-visible { outline: 3px solid #e2574c; outline-offset: 2px; }
#memory canvas[hidden] { display: none; }
#soundBtn { position: absolute; top: max(10px, env(safe-area-inset-top)); right: 10px; z-index: 2700; width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 18px; }

/* ---------- memory dialog ---------- */
dialog#memory { border: 2px solid var(--ink); border-radius: 14px 16px 13px 17px; background: var(--paper); color: var(--ink); padding: 14px 16px 16px; width: min(440px, calc(100% - 24px)); max-height: calc(100% - 24px); box-shadow: 4px 6px 0 rgba(42,36,32,.25); }
dialog#memory::backdrop { background: rgba(42,36,32,.45); }
#memory canvas { width: 100%; aspect-ratio: 3 / 2; display: block; border: 1.5px solid var(--ink); border-radius: 4px; background: #fff; }
#memory .date { font: 700 18px/1 var(--hand); opacity: .7; margin-top: 10px; }
#memory h2 { font: 700 32px/1.05 var(--hand); margin: 2px 0 6px; }
#memory p { margin: 0 0 10px; }
#memory .src { font-size: 13px; margin: 0; padding-left: 18px; }
#memory .src li { margin: 2px 0; }
#memory .feel { font-size: 13px; font-style: italic; opacity: .75; }
#memory .close { position: absolute; top: 8px; right: 10px; background: var(--cream); border: 2px solid var(--ink); border-radius: 50%; width: 36px; height: 36px; font-size: 18px; line-height: 1; }
#memory .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }

/* ---------- ending ---------- */
#ending { position: fixed; inset: 0; z-index: 4000; overflow-y: auto; background: rgba(244,236,220,.0); visibility: hidden; transition: background .8s, visibility 0s .8s; -webkit-overflow-scrolling: touch; }
#ending.show { visibility: visible; background: rgba(244,236,220,.94); transition: background .8s; }
#ending { --blue: #2b5fd9; --navy: #1a2650; --ecream: #fdf8f1; color: var(--blue); }
#ending.show { background: rgba(253,248,241,.985); }
#ending .wrap { max-width: 560px; margin: 0 auto; padding: 40px 18px 30px; text-align: center; opacity: 0; transform: translateY(24px); transition: opacity .8s .3s, transform .8s .3s; }
#ending.show .wrap { opacity: 1; transform: none; }
#lettering { width: min(520px, 100%); height: auto; overflow: visible; }
#lettering text { font: 700 158px var(--hand); fill: transparent; stroke: var(--blue); stroke-width: 9; stroke-linejoin: round; paint-order: stroke; stroke-dasharray: 1600; stroke-dashoffset: 1600; }
#lettering .swoosh { fill: none; stroke: var(--blue); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; }
#lettering .spark, .farewell .spark { fill: var(--blue); }
#lettering .spark { transform-box: fill-box; transform-origin: center; transform: scale(0); }
#ending.show #lettering text { animation: draw 2.2s .4s ease forwards, inkfill .6s 2.3s forwards; }
#ending.show #lettering .swoosh { animation: draw .7s 2.5s ease-out forwards; }
#ending.show #lettering .spark { animation: pop .5s 2.8s cubic-bezier(.3,1.6,.5,1) forwards, twinkle 2.4s 3.4s ease-in-out infinite; }
#lettering .spark + .spark { animation-delay: 2.95s, 3.8s !important; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes inkfill { to { fill: var(--blue); } }
@keyframes pop { to { transform: scale(1); } }
@keyframes twinkle { 0%, 100% { transform: scale(1); } 50% { transform: scale(.75) rotate(12deg); } }
#ending .sub { font: 700 30px/1.2 var(--hand); margin: 0 0 22px; color: var(--blue); }
#ending .ink-btn { background: #fff; color: var(--navy); border: 2.5px solid var(--blue); border-radius: 22px; padding: 11px 24px; box-shadow: none; font: 600 17px var(--body); }
#ending .ink-btn:hover { background: #eef3ff; }
#ending .ink-btn:active { transform: translateY(1px); box-shadow: none; }
#ending .ink-btn[aria-disabled="true"] { color: var(--blue); opacity: 1; }
#ending .btns { gap: 14px 18px; }
#ending a { color: var(--blue); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 10px 0 26px; }
.say { background: transparent; border: 2.5px solid var(--blue); border-radius: 22px; padding: 18px 18px 20px; text-align: left; color: var(--blue); }
.say h2 { font: 700 38px/1 var(--hand); margin: 0 0 8px; color: var(--blue); }
.say p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.5; }
.say .line { display: flex; gap: 8px; flex-wrap: wrap; }
.say input { flex: 1 1 200px; min-width: 0; font: 600 17px var(--body); padding: 12px 18px; border: 2.5px solid var(--blue); border-radius: 22px; background: #fff; color: var(--navy); }
.say input::placeholder { color: var(--blue); opacity: .85; }
.say input:focus { outline: 3px solid rgba(43,95,217,.25); outline-offset: 1px; }
.say .out img { border-color: var(--blue); }
/* the frog on his little hill, under the clouds */
.farewell { position: relative; width: min(560px, 100%); margin: 64px auto 0; aspect-ratio: 600 / 230; }
.farewell .sky { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.farewell .cloud { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linejoin: round; }
.farewell .hill { fill: #f9b3cf; } .farewell .hill2 { fill: #f7a1c4; }
.farewell .ground { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; }
.farewell .endfrog { position: absolute; left: 50%; bottom: 5%; width: 40%; aspect-ratio: 300 / 340; transform: translateX(-47%); background: url(../assets/frog/frog-atlas.webp) 0 0 / 1800% 100% no-repeat; transform-origin: 47% 97%; }
#ending.show .farewell .endfrog { animation: sway 3.2s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: translateX(-47%) rotate(-1.2deg); } 50% { transform: translateX(-47%) rotate(1.2deg) translateY(-2px); } }
.say .out { margin-top: 14px; display: none; text-align: center; }
.say .out.show { display: block; }
.say .out img { width: min(300px, 100%); border: 1.5px solid var(--ink); border-radius: 6px; display: block; margin: 0 auto 10px; }
#toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 8px 16px; border-radius: 10px; font-weight: 700; opacity: 0; transition: .3s; z-index: 5000; pointer-events: none; }
#toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- list view (reduced motion, or ?list) ---------- */
#list { display: none; max-width: 640px; margin: 0 auto; padding: 24px 16px 40px; }
body.list-mode #stage, body.list-mode #hud { display: none; }
body.list-mode #list { display: block; }
body.list-mode #ending { position: static; visibility: visible; background: none; overflow: visible; }
body.list-mode #ending .wrap { opacity: 1; transform: none; padding-top: 10px; }
body.list-mode #lettering text { fill: var(--blue); stroke-dashoffset: 0; animation: none !important; }
body.list-mode #lettering .swoosh { stroke-dashoffset: 0; animation: none !important; }
body.list-mode #lettering .spark { transform: none; animation: none !important; }
body.list-mode .farewell .endfrog { animation: none !important; }
#list h1 { font: 700 54px/1 var(--hand); text-align: center; margin: 0; }
#list .lede { text-align: center; margin: 4px 0 20px; }
#list .era { font: 700 28px/1 var(--hand); margin: 26px 0 10px; padding: 4px 10px; border-left: 6px solid var(--era, #ffcf5c); }
#list .item { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; width: 100%; text-align: left; background: #fffdf6; border: 1.5px solid var(--ink); border-radius: 10px 12px 9px 11px; padding: 10px; margin: 0 0 10px; font: inherit; color: inherit; }
#list .item canvas { width: 120px; height: 80px; border: 1px solid rgba(42,36,32,.35); filter: sepia(.25) saturate(.85); }
#list .item b { font: 700 22px/1.05 var(--hand); display: block; }
#list .item .d { font: 700 16px/1 var(--hand); opacity: .7; }
#list .item p { margin: 4px 0 0; font-size: 14px; }
#list .coinrow { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
#list .roads-lede { margin: 4px 0 6px; font: 700 20px/1.1 var(--hand); }
#list .coinrow a { color: inherit; text-decoration: none; }
#list .coinrow span, #list .coinrow a { background: #fff6df; border: 1.5px solid var(--ink); border-radius: 8px; padding: 2px 8px; font: 700 14px var(--body); }
#list .coinrow a:hover { background: #fff; }

@media (max-width: 480px) {
  #thought button { font-size: 16px; max-width: 190px; }
  #speech .bub { font-size: 28px; }
}

html.pre-list #stage, html.pre-list #hud { display: none; }
