@font-face { font-family: Anybody; src: url(../fonts/anybody.woff2) format('woff2'); font-weight: 600 800; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: 'Familjen Grotesk'; src: url(../fonts/familjen.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  /* High desert by day */
  --paper: #f4e4c6;
  --sky-1: #f7d7a6;
  --sky-2: #f4e4c6;
  --far: #e8c193;
  --mid: #d9a271;
  --near: #c4855a;
  --sun: #fbe8b8;
  --ink: #3a2214;
  --mute: #7a573d;
  --line: rgba(58, 34, 20, .18);
  --card: #faefd9;
  --band: #c23b25;
  --band-dark: #7f2112;
  --band-lite: #f08a6e;
  --band-text: #a52f1c;
  --pin: #e2a52b;
  --pin-dark: #8c5f0c;
  --peg: #5e3a21;
  --peg-lite: rgba(255, 236, 205, .45);
  --steel-1: #d3a46b;
  --steel-2: #a77140;
  --steel-ink: #3a2214;
  --shade: rgba(58, 34, 20, .28);
  --good: #3f6b2e;
  --star: transparent;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: Anybody, 'Arial Narrow', sans-serif;
  --text: 'Familjen Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    /* Campfire night */
    --paper: #17152b; --sky-1: #0f1027; --sky-2: #1f1a38; --far: #2a2442; --mid: #231d38; --near: #1a1530; --sun: #f3e4bd;
    --ink: #f4e7cf; --mute: #b8a68b; --line: rgba(244, 231, 207, .18); --card: #241f3d;
    --band: #e4583d; --band-dark: #8e2414; --band-lite: #ffb19b; --band-text: #ff9a83;
    --pin: #f4bb45; --pin-dark: #9c6a10; --peg: #c79b6d; --peg-lite: rgba(255, 240, 215, .5);
    --steel-1: #7a5a3c; --steel-2: #523a26; --steel-ink: #f6e9d1; --shade: rgba(0, 0, 0, .45); --good: #a6d38e; --star: rgba(255, 246, 220, .75);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #17152b; --sky-1: #0f1027; --sky-2: #1f1a38; --far: #2a2442; --mid: #231d38; --near: #1a1530; --sun: #f3e4bd;
  --ink: #f4e7cf; --mute: #b8a68b; --line: rgba(244, 231, 207, .18); --card: #241f3d;
  --band: #e4583d; --band-dark: #8e2414; --band-lite: #ffb19b; --band-text: #ff9a83;
  --pin: #f4bb45; --pin-dark: #9c6a10; --peg: #c79b6d; --peg-lite: rgba(255, 240, 215, .5);
  --steel-1: #7a5a3c; --steel-2: #523a26; --steel-ink: #f6e9d1; --shade: rgba(0, 0, 0, .45); --good: #a6d38e; --star: rgba(255, 246, 220, .75);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body {
  margin: 0; min-height: 100%; display: flex; flex-direction: column;
  background-color: var(--paper);
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, var(--star) 98%, transparent), radial-gradient(1px 1px at 28% 9%, var(--star) 98%, transparent),
    radial-gradient(1.4px 1.4px at 47% 22%, var(--star) 98%, transparent), radial-gradient(1px 1px at 63% 7%, var(--star) 98%, transparent),
    radial-gradient(1.2px 1.2px at 78% 16%, var(--star) 98%, transparent), radial-gradient(1px 1px at 90% 30%, var(--star) 98%, transparent),
    radial-gradient(1px 1px at 6% 38%, var(--star) 98%, transparent), radial-gradient(1.3px 1.3px at 37% 34%, var(--star) 98%, transparent),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 62%);
  background-attachment: fixed;
  color: var(--ink); font: 400 17px/1.45 var(--text);
  overflow-x: hidden; overscroll-behavior-y: none;
}
button, input { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--band); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }
.live { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.noscript { padding: 24px; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* top bar */
.bar { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 1120px; margin: 0 auto; padding: calc(8px + env(safe-area-inset-top)) 16px 4px 20px; height: calc(56px + env(safe-area-inset-top)); flex: none; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 15px/1 var(--display); font-stretch: 128%; white-space: nowrap; }
.mark-band { width: 28px; height: 14px; border-radius: 8px; border: 3.5px solid var(--band); flex: none; transition: width .4s var(--ease); }
.mark:hover .mark-band { width: 20px; }
.pips { list-style: none; display: flex; gap: 5px; margin: 0 0 0 auto; padding: 0; }
.pips[hidden] { display: none; }
.pips li { width: 12px; height: 12px; border-radius: 6px; border: 2px solid var(--line); transition: width .35s var(--ease), border-color .2s; }
.pips li.now { border-color: var(--ink); width: 22px; }
.pips li.tight, .pips li.wide { border-color: var(--tc, var(--band)); background: var(--tc, var(--band)); animation: pip .4s var(--ease) both; }
.pips li.miss { border: 0; width: 12px; background: linear-gradient(45deg, transparent 40%, var(--tc, var(--mute)) 40% 60%, transparent 60%), linear-gradient(-45deg, transparent 40%, var(--tc, var(--mute)) 40% 60%, transparent 60%); border-radius: 0; animation: pip .4s var(--ease) both; }
.pips li.t-dead { box-shadow: 0 0 0 2px color-mix(in srgb, var(--tc) 40%, transparent); }
@keyframes pip { from { transform: scale(.2); } 60% { transform: scale(1.3); } }
.tools { display: flex; margin-left: auto; }
.pips:not([hidden]) + .tools { margin-left: 6px; }
.icon { width: 44px; height: 44px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; border-radius: 8px; }
.icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon:hover { background: var(--line); }
.icon:active { transform: scale(.94); }

.drawer { position: absolute; right: max(12px, calc(50% - 548px)); top: calc(56px + env(safe-area-inset-top)); z-index: 10; width: min(300px, calc(100% - 24px)); background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px; padding: 8px; box-shadow: 0 10px 0 -4px var(--shade); }
.drawer[hidden] { display: none; }
.drawer a, .drawer button.row { display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 44px; padding: 10px 12px; border: 0; background: none; text-align: left; text-decoration: none; border-radius: 6px; cursor: pointer; }
.drawer a:hover, .drawer button.row:hover { background: var(--line); }
.drawer .sub { color: var(--mute); font-size: 15px; }
.drawer hr { border: 0; border-top: 1px solid var(--line); margin: 8px 12px; }

main { flex: 1; display: flex; flex-direction: column; width: 100%; }

/* play */
.play { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ask { width: 100%; max-width: 1120px; margin: 0 auto; padding: 8px 20px 0; min-height: 124px; }
.ask .meta { color: var(--mute); font-size: 15px; display: flex; gap: 14px; justify-content: space-between; }
.ask h1 { font: 640 29px/1.13 var(--display); font-stretch: 92%; margin-top: 6px; text-wrap: balance; letter-spacing: -.005em; max-width: 24em; }
.ask.long h1 { font-size: 25px; }
.ask .note { color: var(--mute); font-size: 15px; margin-top: 6px; }
.desk { position: relative; flex: 1 1 auto; min-height: 232px; max-height: 460px; touch-action: none; user-select: none; -webkit-user-select: none; }
.desk canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.thumb { position: absolute; width: 40px; height: 48px; margin-left: -20px; pointer-events: none; border-radius: 10px; }
.thumb:focus-visible { outline: 2.5px dashed var(--ink); outline-offset: 2px; border-radius: 10px; }
.hint { position: absolute; left: 0; right: 0; top: 4px; text-align: center; color: var(--ink); font-size: 17px; pointer-events: none; transition: opacity .3s; padding: 0 24px; }
.hint.gone { opacity: 0; }

.panel { flex: none; width: 100%; max-width: 1120px; margin: 0 auto; padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); min-height: 272px; display: grid; grid-template: 1fr / minmax(0, 1fr); }
.ends { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.end { display: flex; flex-direction: column; min-width: 0; }
.end.high { text-align: right; align-items: flex-end; }
.end label { color: var(--mute); font-size: 15px; }
.end .field { display: flex; align-items: center; max-width: 100%; }
.end .pre, .end .suf { color: var(--mute); font: 600 18px/1 var(--display); flex: none; }
.end .suf { font: 500 16px/1 var(--text); margin-left: 5px; }
.end input { width: 100%; min-width: 0; border: 0; border-bottom: 2px solid var(--line); border-radius: 0; background: none; padding: 4px 0 4px; font: 620 34px/1.05 var(--display); font-stretch: var(--w, 92%); transition: border-color .15s; }
.end.high input { text-align: right; }
.end input:focus { outline: none; border-color: var(--band); }
.end input.bad { border-color: var(--band); color: var(--band-text); }
.worth { color: var(--ink); font-size: 17px; text-align: center; margin: auto 0 8px; padding: 6px 0; min-height: 24px; }
.worth b { font: 680 24px/1 var(--display); font-stretch: 104%; margin-right: 2px; }
.worth .cost { display: block; color: var(--mute); font-size: 15px; }
.go { margin-top: auto; min-height: 56px; width: 100%; border: 0; border-radius: 10px; background: var(--ink); color: var(--paper); font: 660 19px/1 var(--display); font-stretch: 112%; cursor: pointer; transition: transform .12s var(--ease), background-color .15s; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; padding: 0 20px; }
.go:hover { background: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.go:active { transform: translateY(2px) scale(.99); }
.go[disabled] { background: none; color: var(--mute); box-shadow: inset 0 0 0 2px var(--line); cursor: default; }
.go.quiet { background: none; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.go.quiet:hover { background: var(--line); }

.before, .after { grid-area: 1 / 1; min-width: 0; transition: opacity .26s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
.before { display: flex; flex-direction: column; }
.after { display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: scale(.97); transform-origin: 50% 0; pointer-events: none; }
.panel.done .after { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: .1s, .1s, 0s; }
.panel.done .before { opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; }
.verdict { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pts { font: 720 52px/.95 var(--display); font-stretch: 84%; }
.pts .sign, .worth .sign { position: relative; top: -.06em; margin-right: .04em; }
.pts.miss { color: var(--band-text); }
.verdict .why { text-align: right; color: var(--mute); font-size: 15px; line-height: 1.3; }
.verdict .why b { display: block; color: var(--ink); font: 640 17px/1.2 var(--display); font-stretch: 108%; }

/* The ladder of named throws. Each has its own colour and its own landing move. */
.t-tumble { --tc: #b5a891; --ti: #3a2214; }
.t-dust { --tc: #dcbf8f; --ti: #3a2214; }
.t-snagged { --tc: #94ab72; --ti: #1d2810; }
.t-leaner { --tc: #7c9fc6; --ti: #0f1f30; }
.t-roped { --tc: #dc9a38; --ti: #2c1806; }
.t-hogtied { --tc: #ad4e2e; --ti: #fff4e6; }
.t-ringer { --tc: #33b5a5; --ti: #04231f; }
.t-dead { --tc: #e9b524; --ti: #2a1800; }
.verdict .why b.tier { width: fit-content; margin: 0 0 6px auto; padding: 3px 11px 4px; border-radius: 999px; background: var(--tc); color: var(--ti); position: relative; overflow: hidden; transform-origin: 50% 100%; animation: t-rope .7s var(--ease) both; }
.tier.t-tumble { animation-name: t-tumble; animation-duration: .95s; }
.tier.t-dust { animation-name: t-dust; animation-duration: .8s; }
.tier.t-snagged { animation-name: t-tug; animation-duration: .6s; }
.tier.t-leaner { animation-name: t-lean; animation-duration: .9s; transform-origin: 0 100%; }
.tier.t-hogtied { animation-name: t-cinch; animation-duration: .6s; }
.tier.t-ringer { animation-name: t-ring; animation-duration: .8s; }
.verdict .why b.tier.t-dead { background: linear-gradient(100deg, #e2a81c, #f8dc78 45%, #e9b524 62%, #c98f10); animation: t-dead .8s var(--ease) both, t-glow 1.4s ease-out .7s 2; }
.tier.t-dead::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .8) 50%, transparent 65%); transform: translateX(-130%); animation: t-shine 1.1s ease-in-out .55s 3; }
@keyframes t-tumble { from { opacity: 0; transform: translateX(-40px) rotate(-230deg); } 70% { opacity: 1; transform: translateX(4px) rotate(8deg); } to { transform: none; } }
@keyframes t-dust { from { opacity: 0; filter: blur(4px); transform: rotate(-9deg) scale(.9); } 40% { opacity: 1; filter: blur(0); transform: rotate(6deg); } 70% { transform: rotate(-3deg); } to { transform: none; } }
@keyframes t-tug { from { opacity: 0; transform: translateX(16px); } 30% { opacity: 1; transform: translateX(-9px); } 55% { transform: translateX(5px); } 78% { transform: translateX(-2px); } to { transform: none; } }
@keyframes t-lean { from { opacity: 0; transform: translateY(-10px); } 45% { opacity: 1; transform: rotate(-12deg); } 72% { transform: rotate(-3deg); } to { transform: rotate(-6deg); } }
@keyframes t-rope { from { opacity: 0; transform: scale(.6); box-shadow: 0 0 0 16px transparent; } 40% { opacity: 1; transform: scale(1.08); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tc) 50%, transparent); } to { transform: none; box-shadow: 0 0 0 0 transparent; } }
@keyframes t-cinch { from { opacity: 0; transform: scaleX(1.4) scaleY(.7); } 35% { opacity: 1; transform: scaleX(.84) scaleY(1.14); } 65% { transform: scaleX(1.05) scaleY(.96); } to { transform: none; } }
@keyframes t-ring { from { opacity: 0; transform: translateY(-28px) rotate(-14deg); } 45% { opacity: 1; transform: translateY(3px) rotate(4deg); box-shadow: 0 0 0 0 color-mix(in srgb, var(--tc) 70%, transparent); } 70% { transform: rotate(-2deg); } to { transform: none; box-shadow: 0 0 0 14px transparent; } }
@keyframes t-dead { from { opacity: 0; transform: translateY(-32px) scale(1.6); } 40% { opacity: 1; transform: translateY(2px) scale(.93); } 62% { transform: scale(1.07); } to { transform: none; } }
@keyframes t-shine { to { transform: translateX(130%); } }
@keyframes t-glow { from { box-shadow: 0 0 0 0 rgba(233, 181, 36, .6); } to { box-shadow: 0 0 0 18px rgba(233, 181, 36, 0); } }
.teach { margin-top: 10px; font-size: 17px; line-height: 1.4; text-wrap: pretty; }
.src { margin-top: 6px; font-size: 14px; color: var(--mute); }
.panel .after .go { margin-top: auto; }
.teach-wrap { margin-bottom: 14px; }
.rise { animation: rise .32s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 359px) {
  .bar { gap: 8px; padding-left: 16px; }
  .pips:not([hidden]) ~ .tools .icon { width: 40px; }
  body:has(.pips:not([hidden])) #mark-name { display: none; }
  .pips li { width: 10px; height: 10px; } .pips li.now { width: 18px; }
}
@media (max-height: 700px) {
  .panel { padding-bottom: 10px; }
  .pts { font-size: 44px; } .teach { font-size: 16px; margin-top: 6px; } .teach-wrap { margin-bottom: 10px; }
  .ask { min-height: 100px; } .ask h1 { font-size: 25px; } .ask.long h1 { font-size: 22px; }
  .panel { min-height: 236px; padding-top: 8px; } .desk { min-height: 200px; }
  .worth { padding: 4px 0; }
}
@media (max-height: 640px) {
  .ask { min-height: 88px; } .ask h1 { font-size: 22px; } .ask .note { margin-top: 2px; }
  .panel { min-height: 220px; padding-top: 6px; padding-bottom: 10px; } .desk { min-height: 180px; }
  .end input { font-size: 28px; } .go { min-height: 50px; }
  .worth { padding: 6px 0; } .worth b { font-size: 20px; }
}
@media (min-width: 760px) {
  body { font-size: 18px; }
  .bar { padding-inline: 32px 24px; height: 72px; }
  .mark { font-size: 17px; }
  .drawer { top: 68px; }
  .ask { padding: 16px 32px 0; min-height: 156px; }
  .ask h1 { font-size: clamp(34px, 4.1vw, 48px); line-height: 1.08; }
  .ask.long h1 { font-size: clamp(28px, 3.2vw, 38px); }
  .desk { max-height: 400px; }
  .panel { padding: 20px 32px 28px; min-height: 208px; }
  .ends { gap: 48px; }
  .end input { font-size: 46px; }
  .before .go, .after .go { width: auto; min-width: 320px; align-self: center; }
  .before .worth { margin: -62px auto 14px; padding: 0; pointer-events: none; max-width: 40%; }
  .after { display: grid; grid-template-columns: minmax(240px, auto) 1fr auto; gap: 8px 48px; align-items: start; }
  .verdict { flex-direction: column; gap: 6px; align-items: flex-start; }
  .verdict .why { text-align: left; } .verdict .why b.tier { margin-left: 0; }
  .pts { font-size: 72px; }
  .teach-wrap { margin: 4px 0 0; max-width: 52ch; }
  .teach { margin-top: 0; font-size: 19px; }
  .after .go { min-width: 200px; margin-top: 4px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.credits { list-style: none; padding: 0; margin: 16px 0 0; }
.credits li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 8px; z-index: 30; animation: rise .2s var(--ease) both; white-space: nowrap; }

/* moving between questions */
.play .ask, .play .panel, .play .desk canvas { transition: opacity .34s var(--ease), transform .4s var(--ease); }
.play .desk canvas { transition-delay: .03s; }
.play .panel { transition-delay: .06s; }
.play.leaving .ask, .play.leaving .panel, .play.leaving .desk canvas { opacity: 0; transform: translateX(-22px); transition-duration: .16s; transition-timing-function: cubic-bezier(.4, 0, 1, 1); transition-delay: 0s; }
.play.entering .ask, .play.entering .panel, .play.entering .desk canvas { opacity: 0; transform: translateX(26px); transition: none; }

/* screens */
.bar { view-transition-name: bar; }
::view-transition-old(root) { animation: vt-out .18s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
.drawer:not([hidden]) { animation: pop .2s var(--ease) both; transform-origin: top right; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } }

/* welcome */
body[data-screen='home'] .mark { visibility: hidden; }
.home { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 560px; margin: 0 auto; padding: 0 24px calc(28px + env(safe-area-inset-bottom)); }
.hero-box { width: 100%; max-width: 380px; margin-top: clamp(8px, 4vh, 48px); }
.hero { width: 100%; height: clamp(150px, 24vh, 200px); display: block; cursor: pointer; }
.wordmark { font: 780 clamp(64px, 19vw, 104px)/.9 var(--display); font-stretch: 138%; margin: 14px 0 0; letter-spacing: -.01em; }
.tag { margin-top: 16px; font-size: 19px; line-height: 1.4; max-width: 24em; text-wrap: balance; }
.home-actions { display: grid; gap: 10px; width: 100%; max-width: 340px; margin-top: 28px; }
.go.big { min-height: 60px; font-size: 21px; }
.home-state { margin-top: 18px; color: var(--mute); font-size: 16px; max-width: 30em; }
.home-state b { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: auto; padding-top: 32px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1.5px solid var(--line); background: color-mix(in srgb, var(--card) 88%, transparent); text-decoration: none; font-size: 16px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.home-date { margin-top: 14px; color: var(--ink); font-size: 15px; background: color-mix(in srgb, var(--card) 80%, transparent); padding: 4px 12px; border-radius: 12px; }
.home > * { animation: rise .6s var(--ease) both; }
.home > :nth-child(2) { animation-delay: .05s; } .home > :nth-child(3) { animation-delay: .12s; } .home > :nth-child(4) { animation-delay: .18s; }
.home > :nth-child(5) { animation-delay: .24s; } .home > :nth-child(6) { animation-delay: .3s; } .home > :nth-child(7) { animation-delay: .34s; }

@media (max-height: 700px) { .hero { height: 130px; } .wordmark { font-size: 64px; } .tag { font-size: 17px; margin-top: 10px; } .home-actions { margin-top: 18px; } .chips { padding-top: 18px; } }

/* the land behind everything */
.land { position: fixed; left: 0; right: 0; bottom: 0; height: 30vh; min-height: 160px; z-index: -1; pointer-events: none; }
@media (min-width: 760px) { .land { height: 22vh; } }
.land svg { width: 100%; height: 100%; display: block; }
.land .sun { fill: var(--sun); }
.land .far { fill: var(--far); } .land .mid { fill: var(--mid); } .land .near { fill: var(--near); }
body { position: relative; isolation: isolate; }
.wordmark { text-shadow: .05em .05em 0 var(--band); }
.helps { position: absolute; right: 16px; bottom: calc(100% - 2px); display: flex; gap: 6px; z-index: 2; }
.desk .helps { top: 4px; bottom: auto; }
.chip.help { min-height: 36px; padding: 0 12px; font-size: 14px; background: var(--card); border-color: var(--line); }
.chip.help[disabled] { opacity: .5; cursor: default; }
.chip.help[hidden] { display: none; }
.panel.done ~ * .helps, .play:has(.panel.done) .helps { opacity: 0; pointer-events: none; transition: opacity .2s; }
.hint { top: 46px; }

/* the fuse: a timer that burns down */
.fuse { --left: 1; position: relative; height: 4px; margin: 6px 20px 0; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 9px); max-width: 1080px; }
.fuse i { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 2px; background: var(--peg); transform: scaleX(var(--left)); transform-origin: left; transition: transform .1s linear; }
.fuse b { position: absolute; top: 50%; left: calc(var(--left) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--pin); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pin) 35%, transparent), 0 0 10px var(--pin); transition: left .1s linear; }
.fuse.short i { background: var(--band); }
.fuse.short b { animation: spark .5s ease-in-out infinite alternate; }
@keyframes spark { to { transform: scale(1.35); } }
@media (min-width: 760px) { .fuse { margin: 8px auto 0; width: calc(100% - 64px); } }
