/* Eyeball It Practice — No. 161
 * Slate and one teal, the same palette as the daily. Self-contained. */

:root {
  --bg: #0a0e12;
  --ink: #eaf1f4;
  --teal: #19b8b9;
  --teal-hi: #5fd9da;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.045);
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad-l: max(16px, env(safe-area-inset-left));
  --pad-r: max(16px, env(safe-area-inset-right));
  --pad-t: max(10px, env(safe-area-inset-top));
  --pad-b: max(12px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0; height: 100%; overflow: hidden;
  background: var(--bg); color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
body {
  background:
    radial-gradient(90% 70% at 50% 18%, rgba(25, 184, 185, 0.1) 0%, rgba(10, 14, 18, 0) 60%),
    var(--bg);
}
button, input { font-family: inherit; color: inherit; }

/* ------------------------------------------------------------------ layout
 * Portrait: banner, stage (a square), then the side column (progress + the dock).
 * Landscape: stage on the left, the side column on the right. */
.shell {
  position: fixed; inset: 0;
  padding: calc(var(--pad-t) + 44px) var(--pad-r) calc(var(--pad-b) + 34px) var(--pad-l);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.stage {
  position: relative; flex: 0 0 auto;
  width: min(100%, 560px, calc(100dvh - 366px - var(--pad-t) - var(--pad-b)));
  aspect-ratio: 1;
  border-radius: 20px; overflow: hidden;
  background: #0b1115;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.4s ease;
}
.stage.is-hit { animation: hit 0.9s ease-out; }
@keyframes hit { 0% { box-shadow: 0 0 0 1px var(--teal-hi), 0 0 70px rgba(95, 217, 218, 0.55), 0 24px 60px rgba(0,0,0,.55); } 100% { box-shadow: 0 0 0 1px var(--line), 0 0 0 rgba(95,217,218,0), 0 24px 60px rgba(0,0,0,.55); } }
#canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }

.side { width: min(100%, 440px); display: flex; flex-direction: column; gap: 10px; min-height: 0; }

@media (orientation: landscape) and (max-height: 640px) {
  .shell {
    flex-direction: row; gap: 22px;
    padding: calc(var(--pad-t) + 42px) var(--pad-r) calc(var(--pad-b) + 4px) var(--pad-l);
  }
  .stage { width: auto; height: min(100%, 560px); max-width: 48vw; }
  .side { width: min(46vw, 420px); justify-content: center; }
}
@media (orientation: landscape) and (min-height: 641px) {
  .shell { flex-direction: row; gap: 36px; padding-top: calc(var(--pad-t) + 54px); }
  .stage { width: auto; height: min(100%, 640px); max-width: 52vw; }
  .side { width: min(40vw, 440px); justify-content: center; }
}

/* ------------------------------------------------------------------ frame */
.frame { position: fixed; inset: 0; pointer-events: none; z-index: 6; }
.frame__corner {
  position: absolute; font-family: var(--mono); font-size: 10px; letter-spacing: 0.19em; text-transform: uppercase;
  color: rgba(234, 241, 244, 0.3);
}
.frame__corner--tl, .frame__corner--tr { display: none; }
.frame__corner--bl { bottom: var(--pad-b); left: var(--pad-l); pointer-events: auto; }
.frame__corner--bl a { color: inherit; text-decoration: none; display: inline-block; padding: 6px 0; transition: color 0.18s ease; }
.frame__corner--bl a:hover { color: var(--teal-hi); }
.frame__corner--bl a:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; }
/* A short portrait phone (iPhone SE): the practice note sits a little tighter. */
@media (orientation: portrait) and (max-height: 700px) {
  .panel__note { margin: 10px 0 12px; font-size: 11.5px; line-height: 1.45; }
  .panel__keys { display: none; }
}

/* The top corners stay off at every width: the sound and full-screen buttons live there. */

/* -------------------------------------------------------------- sound btn */
.sound-btn {
  position: fixed; top: var(--pad-t); left: max(12px, env(safe-area-inset-left)); z-index: 12;
  width: 36px; height: 36px; display: grid; place-items: center; padding: 0;
  background: rgba(10, 16, 22, 0.78); border: 1px solid rgba(95, 217, 218, 0.3); border-radius: 50%;
  color: rgba(234, 241, 244, 0.85); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.sound-btn:hover { color: var(--teal-hi); border-color: var(--teal-hi); }
.sound-btn:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; }
.sound-btn[aria-pressed="false"] { color: rgba(234, 241, 244, 0.35); }
.sound-btn[aria-pressed="false"] .sound-btn__w { display: none; }

/* shared badges: out of the way of the stage and the dock */
.opt-fs.opt-fs { top: var(--pad-t); right: max(12px, env(safe-area-inset-right)); transform: none; width: 36px; height: 36px; }
.opt-tipjar.opt-tipjar { top: auto; bottom: var(--pad-b); right: max(12px, env(safe-area-inset-right)); transform: none; }
.opt-tipjar.opt-tipjar.tj-nudge { animation: none; }

/* ------------------------------------------------------------------ banner */
.daily {
  position: fixed; top: var(--pad-t); left: 50%; transform: translateX(-50%); z-index: 8;
  display: flex; align-items: center; gap: 9px; max-width: calc(100vw - 112px); padding: 8px 13px;
  border: 1px solid rgba(95, 217, 218, 0.28); border-radius: 999px;
  background: rgba(10, 16, 22, 0.8); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  color: rgba(234, 241, 244, 0.9); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; transition: border-color 0.18s ease, background 0.18s ease;
}
.daily:hover { border-color: var(--teal-hi); background: rgba(14, 24, 32, 0.92); }
.daily:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; }
.daily__dot { width: 7px; height: 7px; border-radius: 50%; background: #4ef0c0; box-shadow: 0 0 10px rgba(78, 240, 192, 0.9); flex: 0 0 auto; animation: pulseDot 2.4s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.daily__time { color: var(--teal-hi); font-variant-numeric: tabular-nums; }
.daily__go { color: rgba(234, 241, 244, 0.5); text-transform: none; letter-spacing: 0.02em; }
.daily.is-hot { border-color: rgba(255, 209, 92, 0.55); }
.daily.is-hot .daily__dot { background: #ffd15c; box-shadow: 0 0 10px rgba(255, 209, 92, 0.9); }
@media (max-width: 560px) { .daily__dom { display: none; } }

/* --------------------------------------------------------- stage furniture */
.timer {
  position: absolute; top: 12px; right: 12px; z-index: 3; min-width: 40px; height: 40px; padding: 0 12px;
  display: grid; place-items: center; border-radius: 999px;
  background: rgba(8, 12, 16, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.timer[hidden], .tbar[hidden], .shutter[hidden], .hud[hidden], .dock[hidden], .pane[hidden], .chips[hidden] { display: none; }
.timer__n { font: 800 20px/1 var(--mono); font-variant-numeric: tabular-nums; }
.timer.is-hot { border-color: #ffd15c; box-shadow: 0 0 20px rgba(255, 209, 92, 0.4); animation: tick 1s ease-in-out infinite; }
.timer.is-hot .timer__n { color: #ffd15c; }
@keyframes tick { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } }
.tbar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(0, 0, 0, 0.4); z-index: 3; }
.tbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-hi)); transform-origin: left; transform: scaleX(1); }

.shutter {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center;
  background: linear-gradient(180deg, #0d141a, #080c10);
}
.shutter.is-in { animation: curtainIn 0.4s cubic-bezier(.3,.8,.3,1) both; }
.shutter.is-out { animation: curtainOut 0.42s cubic-bezier(.6,0,.8,.4) both; }
@keyframes curtainIn { from { transform: translateY(-101%); } to { transform: translateY(0); } }
@keyframes curtainOut { from { transform: translateY(0); } to { transform: translateY(-101%); } }
.shutter__card { display: grid; justify-items: center; gap: 6px; color: var(--teal-hi); text-align: center; }
.shutter__card b { font: 700 11px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin-top: 4px; }
.shutter__card span { font-size: 13px; color: rgba(234, 241, 244, 0.55); }

.count {
  position: absolute; left: 0; right: 0; top: 42%; text-align: center; z-index: 3; pointer-events: none;
  font: 800 clamp(30px, 8vw, 54px)/1 "Geist", system-ui, sans-serif; letter-spacing: -0.02em; color: #ffd15c;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7); opacity: 0;
}
.count:not(:empty) { animation: pop 1.6s ease-out both; }
@keyframes pop { 0% { opacity: 0; transform: scale(0.6); } 18% { opacity: 1; transform: scale(1.1); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* -------------------------------------------------------------------- HUD */
.hud { display: flex; align-items: center; gap: 12px; padding: 0 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(234, 241, 244, 0.6); }
.hud__pips { display: flex; gap: 6px; }
.hud__pips i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.2); transition: background 0.3s, border-color 0.3s; }
.hud__pips i.is-now { border-color: var(--teal-hi); box-shadow: 0 0 10px rgba(95, 217, 218, 0.5); }
.hud__pips i.is-done { background: var(--c); border-color: var(--c); }
.hud__what { flex: 1; }
.hud__best { color: rgba(234, 241, 244, 0.4); }

/* ------------------------------------------------------------------- dock */
.dock {
  padding: 14px; border-radius: 20px; background: var(--card); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pane { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.guess__k { font: 500 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(234, 241, 244, 0.55); text-align: center; }
.guess { display: flex; align-items: center; justify-content: center; gap: 12px; }
.step {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06);
  font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 2px;
  touch-action: manipulation; transition: background 0.15s, transform 0.12s, border-color 0.15s;
}
.step:hover { background: rgba(95, 217, 218, 0.14); border-color: var(--teal-hi); }
.step:active { transform: scale(0.92); }
.step:focus-visible, .lock:focus-visible, .linkbtn:focus-visible, .seg__b:focus-visible, .play-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.guess__in {
  width: 130px; height: 56px; text-align: center; font: 800 42px/1 var(--mono); font-variant-numeric: tabular-nums;
  background: transparent; border: 0; border-bottom: 2px solid rgba(255, 255, 255, 0.2); border-radius: 0; color: var(--ink); caret-color: var(--teal-hi);
}
.guess__in::placeholder { color: rgba(234, 241, 244, 0.22); }
.guess__in:focus { outline: none; border-bottom-color: var(--teal-hi); box-shadow: 0 10px 20px -14px var(--teal-hi); }

.slide { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin: 0; cursor: pointer; --p: 50%; touch-action: pan-y; }
.slide::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--teal) var(--p), rgba(255, 255, 255, 0.14) var(--p)); }
.slide::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); }
.slide::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--teal); }
.slide::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #bff3f3 60%, #5fd9da); border: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(95, 217, 218, 0.22); }
.slide::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #bff3f3; border: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); }
.slide:focus-visible { outline: none; }
.slide:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--ink), 0 4px 14px rgba(0, 0, 0, .5); }

.lock {
  height: 50px; border: 0; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 800; color: #04161a;
  background: linear-gradient(180deg, #a6f0f0 0%, #5fd9da 55%, #19a9aa 100%);
  box-shadow: 0 10px 26px rgba(25, 184, 185, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.14s, filter 0.18s, opacity 0.2s, box-shadow 0.2s;
}
.lock:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); }
.lock:active:not(:disabled) { transform: translateY(1px); }
.lock:disabled { opacity: 0.38; cursor: default; box-shadow: none; filter: saturate(0.4); }
.lock.is-ready { animation: ready 1.8s ease-in-out infinite; }
@keyframes ready { 0%, 100% { box-shadow: 0 10px 26px rgba(25, 184, 185, 0.34), inset 0 1px 0 rgba(255,255,255,.5); } 50% { box-shadow: 0 10px 34px rgba(95, 217, 218, 0.7), inset 0 1px 0 rgba(255,255,255,.5); } }
.linkbtn { background: none; border: 0; padding: 6px; font-size: 12.5px; color: rgba(234, 241, 244, 0.6); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--teal-hi); }

/* the reveal pane */
.res__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.res__cell { display: grid; gap: 4px; justify-items: center; padding: 8px 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.res__cell--hot { background: rgba(95, 217, 218, 0.1); box-shadow: inset 0 0 0 1px rgba(95, 217, 218, 0.3); }
.res__k { font: 500 10px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(234, 241, 244, 0.55); }
.res__v { font: 800 34px/1 var(--mono); font-variant-numeric: tabular-nums; }
.res__cell--hot .res__v { color: var(--teal-hi); }
.gap { position: relative; height: 22px; margin: 2px 8px 0; }
.gap::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: rgba(255, 255, 255, 0.14); }
.gap i { position: absolute; top: 4px; opacity: 0; transition: opacity 0.4s, left 0.7s cubic-bezier(.2,.9,.2,1), width 0.7s cubic-bezier(.2,.9,.2,1); }
.gap__span { height: 14px; top: 4px !important; border-radius: 7px; opacity: 0.0; }
.gap__you, .gap__act { width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; }
.gap__you { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); }
.gap__act { background: var(--teal-hi); box-shadow: 0 0 0 3px rgba(95, 217, 218, 0.28); }
.gap.is-on i { opacity: 1; }
.gap.is-on .gap__span { opacity: 0.4; height: 6px; top: 8px !important; }
.res__diff { margin: 0; text-align: center; font-size: 13.5px; color: rgba(234, 241, 244, 0.72); min-height: 1.3em; }
.res__score { display: flex; align-items: baseline; justify-content: center; gap: 6px; flex-wrap: wrap; }
.res__score b { font: 800 46px/1 var(--mono); font-variant-numeric: tabular-nums; }
.res__score span { font: 500 14px var(--mono); color: rgba(234, 241, 244, 0.5); }
.res__score em { font-style: normal; font-weight: 700; font-size: 15px; margin-left: 8px; opacity: 0; transition: opacity 0.4s 0.2s; }

/* ---------------------------------------------------------------- overlay */
.overlay {
  position: fixed; inset: 0; z-index: 10; display: grid; place-items: center;
  padding: max(16px, var(--pad-t)) var(--pad-r) max(16px, var(--pad-b)) var(--pad-l);
  background: radial-gradient(120% 100% at 50% 30%, rgba(10, 40, 46, 0.62) 0%, rgba(5, 8, 11, 0.93) 74%);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: ovIn 0.35s ease both;
}
.overlay[hidden] { display: none; }
@keyframes ovIn { from { opacity: 0; } to { opacity: 1; } }
.panel {
  width: min(440px, 100%); max-height: 100%; overflow-y: auto; padding: 26px 24px 22px; text-align: center;
  background: linear-gradient(170deg, rgba(16, 34, 40, 0.96) 0%, rgba(8, 12, 16, 0.97) 100%);
  border: 1px solid rgba(95, 217, 218, 0.26); border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.66), inset 0 1px 0 rgba(190, 240, 240, 0.12);
}
.panel__eyebrow { margin: 0 0 8px; font: 500 10px/1.3 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal-hi); }
.panel__title { margin: 0 0 12px; font-size: clamp(32px, 8vw, 46px); font-weight: 800; letter-spacing: -0.02em; line-height: 1; text-shadow: 0 0 40px rgba(95, 217, 218, 0.3); }
.panel__title .big { font-size: 1.6em; font-variant-numeric: tabular-nums; text-shadow: none; }
.panel__title small { font-size: 0.4em; font-weight: 600; letter-spacing: 0; color: rgba(234, 241, 244, 0.6); margin-left: 6px; }
.panel__text { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: rgba(234, 241, 244, 0.76); }
.panel__text b { color: var(--ink); font-weight: 700; }
.panel__note { margin: 14px 0 16px; font-size: 12.5px; line-height: 1.5; color: rgba(234, 241, 244, 0.56); }
.panel__note b { color: rgba(234, 241, 244, 0.86); font-weight: 600; }
.panel__note[hidden], .panel__keys[hidden], .seg[hidden] { display: none; }
.panel__keys { margin: 14px 0 0; font: 500 9.5px/1.9 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(234, 241, 244, 0.36); }
.play-btn {
  display: inline-block; padding: 14px 40px; font-size: 15px; font-weight: 800; font-family: inherit; color: #04161a; cursor: pointer; border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #a6f0f0 0%, #5fd9da 55%, #19a9aa 100%);
  box-shadow: 0 10px 28px rgba(25, 184, 185, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.14s ease, filter 0.18s ease;
}
.play-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.play-btn:active { transform: translateY(1px); }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.seg__b { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(234, 241, 244, 0.6); cursor: pointer; transition: background 0.2s, color 0.2s; }
.seg__b.is-on { background: rgba(95, 217, 218, 0.2); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(95, 217, 218, 0.45); }

.chips { display: flex; justify-content: center; gap: 8px; margin: 0 0 14px; flex-wrap: wrap; }
.chip { display: grid; gap: 2px; min-width: 74px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 -3px 0 var(--c); }
.chip b { font: 800 22px/1 var(--mono); color: var(--c); }
.chip i { font: 500 10px/1 var(--mono); font-style: normal; letter-spacing: 0.04em; color: rgba(234, 241, 244, 0.55); }

.cta { margin: 16px 0 0; padding: 14px 6px 2px; border-top: 1px solid rgba(95, 217, 218, 0.16); }
.cta[hidden] { display: none; }
.cta__line { margin: 0 0 12px; font-size: 13px; line-height: 1.55; color: rgba(234, 241, 244, 0.72); }
.cta__line b { color: var(--ink); font-weight: 700; }
.cta__btn {
  display: inline-block; padding: 10px 22px; font-size: 13px; font-weight: 800; color: #04161a; border-radius: 999px; text-decoration: none;
  background: linear-gradient(180deg, #a6f0f0 0%, #5fd9da 56%, #19a9aa 100%); box-shadow: 0 8px 22px rgba(25, 184, 185, 0.34);
  transition: transform 0.14s ease, filter 0.18s ease;
}
.cta__btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.cta__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cta__domain { margin: 8px 0 0; font: 400 10px var(--mono); letter-spacing: 0.08em; color: rgba(234, 241, 244, 0.46); }

/* A phone on its side: every card is short and wide. */
@media (orientation: landscape) and (max-height: 500px) {
  .panel { padding: 14px 18px 14px; width: min(680px, 100%); max-width: none; }
  .panel__title { font-size: clamp(22px, 7vh, 30px); margin-bottom: 6px; }
  .panel__text { font-size: 12.5px; margin-bottom: 10px; line-height: 1.5; }
  .panel__note { margin: 4px 0 8px; font-size: 11px; line-height: 1.4; }
  .panel__keys { display: none; }
  .panel:has(.cta:not([hidden])) { width: min(680px, 100%); columns: 2; column-gap: 28px; column-fill: auto; }
  .panel:has(.cta:not([hidden])) .cta { break-before: column; margin-top: 0; padding-top: 0; border-top: 0; }
  .panel:has(.cta:not([hidden])) .opt-share-wrap, .panel:has(.cta:not([hidden])) .mg-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .chips { margin-bottom: 8px; }
  .chip { padding: 5px 8px; min-width: 64px; }
  .chip b { font-size: 18px; }
  .dock { padding: 10px; }
  .pane { gap: 6px; }
  .guess__in { height: 46px; font-size: 34px; width: 110px; }
  .step { width: 44px; height: 44px; }
  .slide { height: 28px; }
  .lock { height: 44px; }
  .res__v { font-size: 28px; }
  .res__score b { font-size: 36px; }
  .res__cell { padding: 5px; }
  .hud { font-size: 9.5px; }
}

/* the ticket pill would sit on the dock on a small phone while a picture is up */
body.is-playing .opt-tickets { display: none !important; }
/* in a short landscape view the back link would sit on the stage too */
@media (orientation: landscape) and (max-height: 500px) {
  body.is-playing .frame__corner--bl { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .overlay, .shutter.is-in, .shutter.is-out, .stage.is-hit, .count:not(:empty) { animation: none; }
  .shutter.is-in { transform: none; }
  .shutter.is-out { display: none; }
  .daily__dot, .timer.is-hot, .lock.is-ready { animation: none; }
  .gap i, .step, .lock, .play-btn { transition: none; }
}

/* The practice-edition links (to the daily and the game's site): the page's main text
   color, bold, with a clear underline, so they read on the dark panel instead of the
   browser's default blue. */
.panel__note a {
  color: var(--ink, inherit);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.panel__note a:hover { text-decoration-thickness: 3px; }
