/* Symmetry Genius, No. 162
 * The game's own look (cream paper, sage, rose, sand, DM Sans, pill buttons), made tactile:
 * a plate with debossed wells and soft clay tiles. A warm dark twin follows the visitor's theme.
 * Self-contained. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #faf8f5;
  --bg-2: #efe9e0;
  --ink: #4a4a4a;
  --ink-strong: #2d2a27;
  --muted: #6b655e;
  --line: #e4ded6;
  --plate-a: #ffffff;
  --plate-b: #f3eee6;
  --well: #eee8de;
  --well-edge: #ddd5c8;
  --tok-ink: #a39c92;
  --shadow: rgba(88, 66, 40, 0.2);
  --panel: #ffffff;
  --scrim: rgba(250, 248, 245, 0.72);
  --sage: #7c9885;
  --btn-bg: #587a63;
  --btn-ink: #ffffff;
  --accent-ink: #4f6f58;
  --rose: #c9a9a6;
  --rose-ink: #8f5a55;
  --sand: #d4a574;
  --hot: #c98a3d;
  --chip-bg: rgba(255, 255, 255, 0.7);
  --glass: rgba(255, 255, 255, 0.78);
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #171513;
  --bg-2: #24201c;
  --ink: #e6dfd5;
  --ink-strong: #ffffff;
  --muted: #a69e94;
  --line: #36322d;
  --plate-a: #2b2824;
  --plate-b: #211e1b;
  --well: #1a1816;
  --well-edge: #100f0d;
  --tok-ink: #8d867d;
  --shadow: rgba(0, 0, 0, 0.55);
  --panel: #25221e;
  --scrim: rgba(18, 16, 14, 0.76);
  --sage: #8fb09a;
  --btn-bg: #9dbea8;
  --btn-ink: #14201a;
  --accent-ink: #a9c9b3;
  --rose: #d3aeaa;
  --rose-ink: #e6b4ae;
  --sand: #dcae7c;
  --hot: #e2b06b;
  --chip-bg: rgba(255, 255, 255, 0.06);
  --glass: rgba(40, 36, 32, 0.78);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
body {
  background:
    radial-gradient(120% 80% at 50% 38%, var(--bg) 0%, var(--bg) 40%, var(--bg-2) 100%);
}
button { font-family: inherit; }

/* ------------------------------------------------------------------- layout */

.app {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  padding:
    max(10px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    max(10px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
}
.top { grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
/* HUD and board travel together, centred in whatever height the phone has left over */
.mid { grid-row: 2; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.stage { position: relative; flex: none; width: 100%; display: grid; place-items: center; }
.dock { grid-row: 3; }

/* a phone on its side: the board on the left, everything else in a column on the right */
@media (orientation: landscape) {
  .app {
    max-width: 1100px;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 370px);
    grid-template-rows: auto auto minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 6px;
  }
  .mid { display: contents; }
  .stage { grid-column: 1; grid-row: 1 / -1; min-height: 0; width: auto; }
  .top { grid-column: 2; grid-row: 1; }
  .hud { grid-column: 2; grid-row: 2; }
  .dock { grid-column: 2; grid-row: 3; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
}

/* ---------------------------------------------------------------- the banner */

.daily {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(92vw, 460px);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 10px var(--shadow);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.daily:hover { border-color: var(--sage); }
.daily:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.daily__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4cbf93;
  box-shadow: 0 0 9px rgba(76, 191, 147, 0.85);
  flex: 0 0 auto;
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.daily__text { overflow: hidden; text-overflow: ellipsis; }
.daily__time { color: var(--accent-ink); font-variant-numeric: tabular-nums; font-weight: 600; }
.daily__go { color: var(--muted); text-transform: none; letter-spacing: 0.02em; }
.daily.is-hot { border-color: var(--hot); }
.daily.is-hot .daily__dot { background: #e8b04a; box-shadow: 0 0 9px rgba(232, 176, 74, 0.9); }
@media (max-width: 560px), (orientation: landscape) { .daily__dom { display: none; } }

/* ---------------------------------------------------------------------- HUD */

.hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
}
.hud[hidden] { display: none; }
.tier {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.tier__k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.tier__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
  line-height: 1;
}
.dots { display: flex; gap: 4px; }
.dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line);
  transition: background 0.3s ease, transform 0.3s ease;
}
.dots i.on { background: var(--sand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--sand) 25%, transparent); }
.stats { display: flex; align-items: center; gap: 14px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 40px; }
.stat b {
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat + .stat { padding-left: 14px; border-left: 1px solid var(--line); }
.stat b.is-bump { animation: bump 0.32s ease; }
.stat b.is-bad { color: var(--rose-ink); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* ---------------------------------------------------------------- the board */

.board {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--plate-a) 0%, var(--plate-b) 100%);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 18px 40px -14px var(--shadow),
    0 3px 10px -3px var(--shadow);
  touch-action: none;
  transition: box-shadow 0.5s ease, opacity 0.25s ease;
}
:root[data-theme="dark"] .board { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 18px 40px -14px var(--shadow), 0 3px 10px -3px var(--shadow); }
.board.is-hidden { opacity: 0; }
:root[data-theme="dark"] .board.is-solved {
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--glow, var(--sage)) 55%, transparent),
    0 0 60px -4px color-mix(in srgb, var(--glow, var(--sage)) 60%, transparent),
    0 18px 40px -14px var(--shadow);
}
.board.is-solved {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 0 0 3px color-mix(in srgb, var(--glow, var(--sage)) 55%, transparent),
    0 0 60px -4px color-mix(in srgb, var(--glow, var(--sage)) 70%, transparent),
    0 18px 40px -14px var(--shadow);
}
#board {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  border-radius: inherit;
  outline: none;
}
.board:has(#board:focus-visible) { outline: 2px solid var(--accent-ink); outline-offset: 4px; }

/* ----------------------------------------------------------------- the dock */

.dock { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dock[hidden] { display: none; }
.say {
  margin: 0;
  min-height: 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.say.is-hint { color: var(--accent-ink); }
.say.is-oops { color: var(--rose-ink); }
.tray { display: flex; flex-wrap: nowrap; justify-content: center; gap: 9px; }
.tok {
  position: relative;
  width: var(--tok, 60px);
  height: var(--tok, 60px);
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--plate-a), var(--plate-b));
  box-shadow: 0 6px 14px -6px var(--shadow), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  color: var(--tok-ink);
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
:root[data-theme="dark"] .tok { box-shadow: 0 6px 14px -6px var(--shadow), 0 1px 0 rgba(255, 255, 255, 0.07) inset; }
.tok svg { width: 62%; height: 62%; display: block; pointer-events: none; overflow: visible; }
.tok:hover { transform: translateY(-2px); border-color: var(--sage); }
.tok:active { cursor: grabbing; }
.tok:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.tok.is-sel {
  color: var(--board-color, var(--sage));
  border-color: var(--board-color, var(--sage));
  transform: translateY(-4px);
  box-shadow: 0 10px 18px -8px var(--shadow), 0 0 0 3px color-mix(in srgb, var(--board-color, var(--sage)) 30%, transparent);
}
.tok.is-held { opacity: 0.35; transform: scale(0.94); }
.tok.is-oops { animation: shake 0.34s ease; }
@keyframes shake { 0%, 100% { translate: 0 0; } 25% { translate: -5px 0; } 75% { translate: 5px 0; } }
.tok[disabled] { opacity: 0.4; cursor: default; }

.foot {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  justify-content: center;
  padding: 0 100px;   /* room for the tickets chip (bottom left) and the full-screen and tip-jar badges (bottom right) */
}
.hint-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sand) 55%, transparent);
  background: color-mix(in srgb, var(--sand) 16%, transparent);
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.18s ease, opacity 0.2s ease;
}
.hint-btn svg { width: 15px; height: 15px; }
.hint-btn:hover { background: color-mix(in srgb, var(--sand) 28%, transparent); }
.hint-btn:active { transform: scale(0.96); }
.hint-btn:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.hint-btn[disabled] { opacity: 0.45; cursor: default; }

/* sound button */
.sound-btn, .back {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px var(--shadow);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.sound-btn:hover, .back:hover { border-color: var(--sage); }
.sound-btn:focus-visible, .back:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.sound-btn[aria-pressed="false"] { color: var(--muted); }
.sound-btn[aria-pressed="false"] .sound-btn__w { display: none; }

/* the tickets chip would sit on the board's corner when the phone is on its side */
@media (orientation: landscape) and (max-height: 500px) { body.is-playing .opt-tickets { display: none !important; } }
.top .daily { min-width: 0; flex: 0 1 auto; }
.back { text-decoration: none; }

/* shared badges: docked bottom right, side by side, clear of the tray */
.opt-tipjar.opt-tipjar { top: auto; bottom: max(10px, env(safe-area-inset-bottom)); transform: none; }
.opt-fs.opt-fs { top: auto; bottom: max(10px, env(safe-area-inset-bottom)); transform: none; right: calc(max(8px, env(safe-area-inset-right)) + 50px); }
.opt-tipjar.opt-tipjar.tj-nudge { animation: none; }
@media (min-width: 561px) {
  .opt-fs.opt-fs { right: calc(max(16px, env(safe-area-inset-right)) + 58px); }
}

/* ------------------------------------------------------ ghost, fx, frame */

.ghost {
  position: fixed;
  left: 0; top: 0;
  z-index: 40;
  pointer-events: none;
  display: grid;
  place-items: center;
  will-change: transform;
}
.ghost[hidden] { display: none; }
.ghost canvas { width: 100%; height: 100%; display: block; filter: drop-shadow(0 14px 10px rgba(40, 30, 20, 0.22)); }
.ghost.is-back { transition: transform 0.26s cubic-bezier(0.3, 0.9, 0.3, 1), opacity 0.26s ease; opacity: 0; }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }

.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: color-mix(in srgb, var(--ink) 38%, transparent);
}
.frame__corner--tl { top: max(18px, env(safe-area-inset-top)); left: max(14px, env(safe-area-inset-left)); }
@media (max-width: 440px), (orientation: landscape) and (max-height: 500px) { .frame { display: none; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----------------------------------------------------------------- overlay */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--scrim);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: ovIn 0.35s ease both;
}
.overlay[hidden] { display: none; }
@keyframes ovIn { from { opacity: 0; } to { opacity: 1; } }

.panel {
  width: min(470px, 100%);
  max-height: 100%;
  overflow-y: auto;
  padding: 28px 26px 22px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 30px 70px -20px var(--shadow), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  color: var(--ink);
  animation: panelIn 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
.panel__eyebrow {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.panel__title {
  margin: 0 0 12px;
  font-size: clamp(32px, 8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink-strong);
}
.panel__text { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.panel__text b { color: var(--ink-strong); font-weight: 700; }
.panel__note {
  margin: 0 0 18px;
  padding: 11px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  background: color-mix(in srgb, var(--sage) 12%, transparent);
  border-radius: 14px;
  text-align: left;
}
.panel__note b { color: var(--ink-strong); font-weight: 700; }
.panel__note a { color: var(--accent-ink); font-weight: 700; text-underline-offset: 2px; }
.panel__note[hidden] { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 0 0 18px; }
.chips[hidden] { display: none; }
.chip {
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--chip-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}
.chip:hover { border-color: var(--sage); }
.chip:active { transform: scale(0.96); }
.chip:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.chip[aria-checked="true"] { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }

.play-btn {
  display: inline-block;
  padding: 14px 38px;
  font-size: 15px;
  font-weight: 700;
  color: var(--btn-ink);
  background: var(--btn-bg);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--btn-bg) 80%, transparent), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
  transition: transform 0.14s ease, filter 0.18s ease;
}
.play-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.play-btn:active { transform: translateY(1px) scale(0.99); }
.play-btn:focus-visible { outline: 2px solid var(--ink-strong); outline-offset: 3px; }
.link-btn {
  display: block;
  margin: 10px auto 0;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:hover { color: var(--accent-ink); }
.link-btn:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 6px; }
.link-btn[hidden] { display: none; }

.results { display: flex; gap: 8px; margin: 0 0 14px; }
.results[hidden] { display: none; }
.results div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 6px;
  background: color-mix(in srgb, var(--sage) 10%, transparent);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.results b { font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--ink-strong); font-variant-numeric: tabular-nums; line-height: 1; }
.results span { font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------ feeder CTA */

.cta { margin: 18px 0 0; padding: 15px 4px 4px; border-top: 1px solid var(--line); }
.cta[hidden] { display: none; }
.cta__line { margin: 0 0 12px; font-size: 13px; line-height: 1.55; color: var(--ink); }
.cta__line b { color: var(--ink-strong); font-weight: 700; }
.cta__btn {
  display: inline-block;
  padding: 11px 24px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--btn-ink);
  background: var(--btn-bg);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--btn-bg) 80%, transparent);
  transition: transform 0.14s ease, filter 0.18s ease;
}
.cta__btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.cta__btn:focus-visible { outline: 2px solid var(--ink-strong); outline-offset: 3px; }
.cta__domain { margin: 8px 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); }

/* the shared share button and More Toys sit on the cream card too */
.panel .opt-share, .panel .mg { margin-top: 12px; }

/* short phone, wide: the card splits into two columns so it never scrolls */
@media (orientation: landscape) and (max-height: 500px) {
  .overlay { padding: max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); }
  .panel { width: min(700px, 100%); padding: 16px 20px 14px; columns: 2; column-gap: 26px; column-fill: auto; border-radius: 22px; }
  .panel__head { break-after: column; }
  .panel.is-solved .panel__head { break-after: auto; }
  .panel.is-solved .cta { break-before: column; margin-top: 0; padding-top: 0; border-top: 0; }
  .panel__act { break-inside: avoid; }
  .panel.is-solved .panel__act { padding-top: 12px; }
  .panel__title { font-size: clamp(24px, 7vh, 32px); margin-bottom: 8px; }
  .panel__text { font-size: 12.5px; line-height: 1.5; margin-bottom: 10px; }
  .panel__note { font-size: 11.5px; padding: 8px 11px; margin-bottom: 0; }
  .chips { margin-bottom: 12px; gap: 5px; }
  .chip { padding: 6px 11px; font-size: 12px; }
  .results { margin-bottom: 0; }
  .results b { font-size: 19px; }
  .cta { margin-top: 12px; padding-top: 10px; }
  .cta__line { font-size: 12px; margin-bottom: 9px; }
  .play-btn { padding: 12px 30px; font-size: 14px; }
  .panel .opt-share, .panel .mg { margin-top: 9px; }
  /* WebKit paints a backdrop-filtered element inside a multi-column box blank */
  .panel .mg-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (max-width: 400px) {
  .panel { padding: 24px 18px 18px; border-radius: 24px; }
}
/* a short phone held upright (SE class): same card, tighter */
@media (orientation: portrait) and (max-height: 720px) {
  .overlay { padding: 10px; }
  .panel { padding: 16px 16px 12px; }
  .panel__title { font-size: 30px; margin-bottom: 8px; }
  .panel__text { font-size: 13px; line-height: 1.5; margin-bottom: 10px; }
  .panel__note { font-size: 11.5px; padding: 8px 12px; margin-bottom: 12px; }
  .chips { margin-bottom: 12px; gap: 5px; }
  .chip { padding: 5px 11px; font-size: 12px; }
  .play-btn { padding: 11px 32px; font-size: 14px; }
  .results { margin-bottom: 10px; }
  .results b { font-size: 19px; }
  .results div { padding: 8px 4px; }
  .cta { margin-top: 10px; padding-top: 10px; }
  .cta__line { font-size: 12px; margin-bottom: 8px; }
  .cta__btn { padding: 9px 20px; font-size: 13px; }
  .cta__domain { margin-top: 5px; }
  .panel .opt-share, .panel .mg { margin-top: 7px; }
  .link-btn { margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .overlay, .panel, .daily__dot { animation: none; }
  .tok, .play-btn, .cta__btn, .board, .hint-btn, .dots i { transition: none; }
  .stat b.is-bump, .tok.is-oops { animation: none; }
}
