/* ==========================================================================
   Sneak Bites — base, layout, game shell, and page styles
   Self-hosted fonts, no third-party requests.
   ========================================================================== */

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7efdc;
  --paper-deep: #eee0c1;
  --paper-warm: #f3e7cd;
  --cream: #fff9ea;
  --ink: #20221c;
  --ink-soft: #3d4038;
  --muted: #666457;
  --orange: #ef5b36;
  --orange-deep: #c94022;
  --yellow: #f3bd45;
  --yellow-soft: #f8d88b;
  --teal: #2f7067;
  --teal-deep: #214f49;
  --mint: #9ed8cf;
  --red: #d94737;
  --green: #3f835d;
  --pink: #f4a08c;
  --line: 2px solid var(--ink);
  --line-thin: 1.5px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --container: 1120px;
  --header-h: 72px;
}

html {
  scrollbar-gutter: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(243, 189, 69, 0.16), transparent 28rem),
    radial-gradient(circle at 92% 22%, rgba(158, 216, 207, 0.15), transparent 24rem),
    radial-gradient(rgba(32, 34, 28, 0.075) 1px, transparent 1px);
  background-size: auto, auto, 19px 19px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
input,
summary {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.container--game {
  width: min(100% - 48px, 960px);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--yellow);
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(239, 91, 54, 0.14);
}

/* Buttons ------------------------------------------------------------------ */

.btn {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 20px;
  border: var(--line);
  border-radius: 13px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 130ms ease, box-shadow 130ms ease, background-color 130ms ease;
  -webkit-tap-highlight-color: transparent;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn--primary {
  --btn-bg: var(--orange);
  --btn-fg: var(--ink);
}

.btn--primary:hover {
  --btn-bg: #f36a47;
}

.btn--ghost {
  --btn-bg: transparent;
}

.btn--big {
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn--small {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 11px;
  font-size: 0.82rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
  transition: gap 150ms ease, color 150ms ease;
}

.text-link:hover {
  gap: 13px;
  color: var(--orange-deep);
}

.text-link span {
  font-size: 1.1em;
}

/* Header ------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  border-bottom: var(--line);
  background: rgba(247, 239, 220, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: var(--line);
  border-radius: 12px;
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-2deg);
}

.brand-mark svg {
  width: 32px;
  height: 32px;
  color: var(--ink);
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-type strong {
  font-family: var(--font-display);
  font-size: 1.19rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.brand-type small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  transition: color 140ms ease, background-color 140ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(32, 34, 28, 0.06);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  transform: rotate(-1.5deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-play {
  min-width: 104px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: var(--line);
  border-radius: 10px;
  background: var(--cream);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero --------------------------------------------------------------------- */

.hero {
  padding: 42px 0 24px;
}

.hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
}

.hero-copy {
  max-width: 680px;
}

.hero .eyebrow {
  margin-bottom: 11px;
}

.hero h1 {
  margin: 0 0 15px;
  font-size: clamp(3.1rem, 6.7vw, 5.55rem);
  line-height: 0.93;
  letter-spacing: -0.058em;
}

.scribble {
  position: relative;
  display: inline-block;
  color: var(--orange);
  z-index: 0;
}

.scribble::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: -0.03em;
  bottom: -0.07em;
  height: 0.14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 20' preserveAspectRatio='none'%3E%3Cpath d='M4 12C80 5 159 4 223 8c66 4 128 7 193 0' fill='none' stroke='%2320221C' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.62;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 360px;
  flex: none;
  margin: 0 0 4px;
  padding: 0;
  border: var(--line);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  list-style: none;
  overflow: hidden;
}

.hero-facts li {
  padding: 11px 12px 12px;
  border-right: 1.5px dashed rgba(32, 34, 28, 0.26);
}

.hero-facts li:last-child {
  border-right: 0;
}

.hero-facts span {
  display: block;
  margin-bottom: 3px;
  color: var(--orange-deep);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero-facts b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-facts small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Game shell --------------------------------------------------------------- */

.play-section {
  padding: 0 0 18px;
}

.game-shell {
  position: relative;
  border: 2.5px solid var(--ink);
  border-radius: 24px;
  background: var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.game-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 8px 12px 8px 14px;
  color: var(--cream);
  background: var(--ink);
}

.game-bar-stats {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.period-chip {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 9px;
  border: 1.5px solid rgba(255, 249, 234, 0.75);
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.score-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
}

.score-chip span {
  color: rgba(255, 249, 234, 0.64);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.score-chip b {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1;
}

.hearts {
  display: flex;
  align-items: center;
  gap: 3px;
}

.heart {
  display: inline-block;
  color: var(--orange);
  font-size: 1.02rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  transition: transform 180ms ease, color 180ms ease, opacity 180ms ease;
}

.heart.is-lost {
  color: rgba(255, 249, 234, 0.23);
  transform: scale(0.84);
}

.heart.is-hit {
  animation: heart-pop 480ms ease;
}

@keyframes heart-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.55) rotate(-12deg); }
  100% { transform: scale(0.84); }
}

.game-bar-tools {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1.5px solid rgba(255, 249, 234, 0.45);
  border-radius: 9px;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: background-color 130ms ease, border-color 130ms ease, transform 130ms ease;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn:hover {
  border-color: var(--cream);
  background: rgba(255, 249, 234, 0.1);
}

.icon-btn:active {
  transform: translateY(1px);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.sound-btn .sound-off {
  display: none;
}

.sound-btn[aria-pressed="true"] .sound-on {
  display: none;
}

.sound-btn[aria-pressed="true"] .sound-off {
  display: block;
}

.pause-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.stage-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f1e3c6;
  overflow: hidden;
  touch-action: manipulation;
}

.game-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.game-canvas.is-holding {
  cursor: grabbing;
}

.game-canvas.is-danger {
  cursor: not-allowed;
}

.scene-hud {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.status-pill,
.snack-meter {
  border: 1.7px solid var(--ink);
  background: rgba(255, 249, 234, 0.94);
  box-shadow: 2px 2px 0 rgba(32, 34, 28, 0.9);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 58%;
  min-height: 29px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.005em;
  transition: background-color 160ms ease, color 160ms ease;
}

.status-pill i {
  position: relative;
  width: 9px;
  height: 9px;
  flex: none;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
}

.status-pill i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: 0;
}

.status-pill[data-mood="safe"] i {
  background: var(--green);
}

.status-pill[data-mood="safe"] i::after {
  color: var(--green);
  animation: signal-ping 2.6s ease-out infinite;
}

@keyframes signal-ping {
  0%, 62% { transform: scale(0.7); opacity: 0; }
  70% { opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

.status-pill[data-mood="warn"] {
  background: var(--yellow);
}

.status-pill[data-mood="warn"] i {
  background: var(--orange);
}

.status-pill[data-mood="danger"] {
  background: var(--orange);
  animation: status-pulse 700ms ease-in-out infinite alternate;
}

.status-pill[data-mood="danger"] i {
  background: var(--red);
}

.status-pill[data-mood="caught"] {
  background: #b83b2d;
  color: var(--cream);
}

.status-pill[data-mood="caught"] i {
  background: var(--yellow);
}

.status-pill[data-mood="boost"] {
  background: var(--mint);
}

.status-pill[data-mood="boost"] i {
  background: var(--teal);
}

.status-pill[data-mood="fake"] {
  background: var(--mint);
}

@keyframes status-pulse {
  from { box-shadow: 2px 2px 0 rgba(32, 34, 28, 0.9), 0 0 0 0 rgba(217, 71, 55, 0.42); }
  to { box-shadow: 2px 2px 0 rgba(32, 34, 28, 0.9), 0 0 0 5px rgba(217, 71, 55, 0.14); }
}

.snack-meter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  padding: 4px 8px 5px;
  border-radius: 10px;
}

.meter-label {
  color: var(--ink-soft);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
}

.meter-label b {
  margin-left: 2px;
  color: var(--orange-deep);
  font-size: 0.54rem;
  font-variant-numeric: tabular-nums;
}

.pips {
  display: flex;
  gap: 3px;
}

.pip {
  display: block;
  width: 12px;
  height: 12px;
  border: 1.4px solid var(--ink);
  border-radius: 50%;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 33% 35%, rgba(32, 34, 28, 0.28) 0 1px, transparent 1.4px),
    radial-gradient(circle at 66% 63%, rgba(32, 34, 28, 0.24) 0 1px, transparent 1.4px);
  transition: background-color 160ms ease, transform 160ms ease;
}

.pip.is-filled {
  background-color: var(--orange);
  background-image:
    radial-gradient(circle at 33% 35%, rgba(255, 249, 234, 0.65) 0 1.2px, transparent 1.5px),
    radial-gradient(circle at 66% 63%, rgba(255, 249, 234, 0.55) 0 1.2px, transparent 1.5px);
}

.pip.is-new {
  animation: pip-pop 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pip-pop {
  0% { transform: scale(0.7); }
  55% { transform: scale(1.5) rotate(10deg); }
  100% { transform: scale(1); }
}

.combo-badge {
  position: absolute;
  z-index: 3;
  left: 13px;
  bottom: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border: 1.8px solid var(--ink);
  border-radius: 7px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  transform: rotate(-3deg);
  animation: combo-in 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.combo-badge b {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
}

@keyframes combo-in {
  from { transform: rotate(-3deg) scale(0.6); opacity: 0; }
  to { transform: rotate(-3deg) scale(1); opacity: 1; }
}

/* Game overlays ------------------------------------------------------------ */

.stage-overlay {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(32, 34, 28, 0.5);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.stage-overlay--start {
  background:
    radial-gradient(circle at 50% 45%, rgba(32, 34, 28, 0.22), rgba(32, 34, 28, 0.52));
}

.overlay-card {
  position: relative;
  width: min(430px, 100%);
  max-height: 100%;
  padding: 25px 28px 22px;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 7px 7px 0 var(--ink);
  text-align: center;
  animation: card-in 240ms cubic-bezier(0.2, 0.9, 0.3, 1.15);
}

@keyframes card-in {
  from { transform: translateY(9px) rotate(-0.6deg); opacity: 0; }
  to { transform: translateY(0) rotate(0); opacity: 1; }
}

.overlay-card::before {
  content: "";
  position: absolute;
  top: -2.5px;
  left: 50%;
  width: 88px;
  height: 7px;
  border: 1.5px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 5px 5px;
  background: var(--yellow);
  transform: translateX(-50%);
}

.overline {
  margin: 0 0 7px;
  color: var(--orange-deep);
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.overlay-card h2 {
  margin: 0 0 7px;
  font-size: clamp(1.85rem, 4.2vw, 2.45rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.overlay-lede {
  max-width: 350px;
  margin: 0 auto 14px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.48;
}

.rule-chips {
  display: grid;
  gap: 5px;
  margin: 0 0 14px;
  text-align: left;
}

.rule-chips span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1.3px solid rgba(32, 34, 28, 0.4);
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
}

.rule-chips b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border: 1.3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.63rem;
  font-weight: 600;
}

.overlay-card .btn--big {
  width: 100%;
}

.best-line {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.best-line b {
  margin-left: 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0;
}

.overlay-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
}

.overlay-card--help {
  width: min(480px, 100%);
  max-height: 100%;
  overflow-y: auto;
  text-align: left;
}

.overlay-card--help h2 {
  text-align: center;
}

.overlay-card--help .overline {
  text-align: center;
}

.overlay-card--help .btn {
  display: flex;
  margin: 15px auto 0;
}

.mini-steps {
  margin: 12px 0 0;
  padding: 0 0 0 20px;
  font-size: 0.75rem;
  line-height: 1.4;
}

.mini-steps li {
  padding-left: 3px;
  margin-bottom: 7px;
}

.mini-steps b {
  display: block;
  font-size: 0.78rem;
}

.help-note {
  margin: 11px 0 0;
  padding: 8px 10px;
  border-left: 3px solid var(--yellow);
  background: var(--paper);
  font-size: 0.69rem;
  line-height: 1.4;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 15px;
}

.result-grid div {
  padding: 7px 6px;
  border: 1.4px solid rgba(32, 34, 28, 0.4);
  border-radius: 9px;
  background: var(--paper);
}

.result-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.51rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.result-grid b {
  display: block;
  margin-top: 1px;
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

/* Game controls ------------------------------------------------------------ */

.game-controls {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 50px;
  gap: 10px;
  align-items: stretch;
  padding: 10px 12px;
  border-top: 2.5px solid var(--ink);
  background:
    radial-gradient(rgba(32, 34, 28, 0.07) 1px, transparent 1px) 0 0 / 14px 14px,
    var(--paper);
}

.cough-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 64px;
  padding: 6px 7px;
  border: var(--line);
  border-radius: 13px;
  background: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  text-align: left;
  transition: transform 130ms ease, box-shadow 130ms ease, opacity 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.cough-btn:hover:not(:disabled) {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.cough-btn:active:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.cough-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
  transform: translate(2px, 2px);
}

.cough-icon {
  display: block;
  width: 28px;
  height: 28px;
  flex: none;
}

.cough-icon svg {
  width: 100%;
  height: 100%;
}

.cough-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.03;
}

.cough-copy b {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cough-copy small {
  color: var(--muted);
  font-size: 0.57rem;
  font-weight: 800;
}

.cough-count {
  position: absolute;
  top: 5px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1.4px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
}

.eat-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 7px 16px;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  background: var(--orange);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 100ms ease, box-shadow 100ms ease, background-color 130ms ease;
  -webkit-tap-highlight-color: transparent;
}

.eat-btn:hover {
  background: #f36a47;
}

.eat-btn:active,
.eat-btn.is-holding {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
  background: #e84c27;
}

.eat-btn:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.eat-btn-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}

.hand-icon {
  width: 30px;
  height: 30px;
  flex: none;
}

.eat-btn-inner > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.eat-btn b {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.eat-btn small {
  margin-top: 3px;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  opacity: 0.68;
}

.hold-progress {
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  border-radius: 0 0 12px 12px;
  background: var(--cream);
  opacity: 0.9;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 80ms linear;
}

.help-btn {
  width: auto;
  height: auto;
  min-height: 64px;
  border: var(--line);
  border-radius: 13px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.help-btn:hover {
  border-color: var(--ink);
  background: var(--yellow);
}

.game-footnote {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-align: center;
}

.game-shell.is-shaking {
  animation: shell-shake 320ms linear;
}

@keyframes shell-shake {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  20% { transform: translate(-4px, 1px) rotate(-0.25deg); }
  40% { transform: translate(4px, -2px) rotate(0.25deg); }
  60% { transform: translate(-2px, 2px) rotate(-0.15deg); }
  80% { transform: translate(2px, -1px) rotate(0.15deg); }
}

/* Trust strip -------------------------------------------------------------- */

.trust-strip {
  margin-top: 10px;
  border-top: var(--line);
  border-bottom: var(--line);
  background: var(--ink);
  color: var(--cream);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 32px;
  min-height: 50px;
  padding-block: 9px;
}

.trust-inner span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.trust-inner i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.57rem;
  font-style: normal;
  font-weight: 900;
}

/* Generic sections and headings -------------------------------------------- */

.section {
  padding: 76px 0;
  border-top: 1.5px dashed rgba(32, 34, 28, 0.17);
}

.section:first-of-type {
  border-top: 0;
}

.section-head {
  max-width: 690px;
  margin-bottom: 34px;
}

.section-head h2,
.prose h2,
.faq-intro h2,
.story-copy h2,
.more-section h2 {
  margin: 0 0 13px;
  font-size: clamp(2.15rem, 4vw, 3.1rem);
  letter-spacing: -0.048em;
}

.section-head > p:last-child {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 30px;
}

.section-head--row > div {
  max-width: 650px;
}

.section-aside {
  max-width: 300px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: right;
}

/* How to play -------------------------------------------------------------- */

.how-section {
  background: rgba(255, 249, 234, 0.25);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  padding: 13px 15px 19px;
  border: var(--line);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.step-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.step-art {
  position: relative;
  height: 136px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1.4px solid rgba(32, 34, 28, 0.35);
  border-radius: 12px;
  overflow: hidden;
}

.step-art svg {
  width: 100%;
  height: 100%;
}

.step-art--safe {
  background: #d9ede5;
}

.step-art--eat {
  background: #f9dfa0;
}

.step-art--danger {
  background: #f6c0ae;
}

.step-number {
  position: absolute;
  top: 8px;
  left: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 25px;
  height: 22px;
  border: 1.4px solid var(--ink);
  border-radius: 5px;
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.step-card h3 {
  margin: 0 0 7px;
  font-size: 1.27rem;
  letter-spacing: -0.03em;
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* Screenshots --------------------------------------------------------------- */

.screenshots-section {
  background: rgba(255, 249, 234, 0.25);
}

.game-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.game-shot {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
}

.game-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 956 / 538;
  object-fit: cover;
  background: var(--paper-warm);
}

.game-shot figcaption {
  padding: 11px 15px 13px;
  border-top: 1.5px dashed rgba(32, 34, 28, 0.28);
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.5;
}

.game-shot figcaption b {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 760px) {
  .game-shots {
    grid-template-columns: 1fr;
  }
}

/* About -------------------------------------------------------------------- */

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  gap: 64px;
  align-items: start;
}

.prose {
  max-width: 690px;
}

.prose h2 {
  margin-bottom: 16px;
}

.prose h3 {
  margin: 29px 0 7px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.prose p {
  margin-bottom: 13px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.68;
}

.prose strong {
  color: var(--ink);
  font-weight: 900;
}

.prose .small-note {
  margin-top: 21px;
  padding-top: 13px;
  border-top: 1.5px dashed rgba(32, 34, 28, 0.24);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.rule-card {
  position: relative;
  margin-top: 10px;
  padding: 21px 21px 17px;
  border: var(--line);
  border-radius: 19px;
  background: var(--teal-deep);
  color: var(--cream);
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(0.8deg);
}

.rule-card::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 86px;
  height: 22px;
  border: 1.5px solid rgba(32, 34, 28, 0.45);
  background: rgba(243, 189, 69, 0.8);
  transform: translateX(-50%) rotate(-2deg);
}

.rule-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.rule-sticker {
  padding: 4px 8px;
  border: 1.3px solid rgba(255, 249, 234, 0.6);
  border-radius: 5px;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.rule-dots {
  display: flex;
  gap: 4px;
}

.rule-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

.rule-card h3 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  color: var(--cream);
}

.rule-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px dashed rgba(255, 249, 234, 0.25);
}

.rule-list b {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.2;
}

.rule-list span {
  color: rgba(255, 249, 234, 0.81);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.rule-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  padding-top: 12px;
  border-top: 1.5px solid rgba(255, 249, 234, 0.32);
  color: var(--mint);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.35;
}

.rule-card-foot svg {
  width: 38px;
  flex: none;
  color: var(--yellow);
}

/* Tips --------------------------------------------------------------------- */

.tips-section {
  background: var(--paper-warm);
}

.tip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}

.tip-card {
  grid-column: span 2;
  padding: 18px 18px 17px;
  border: 1.7px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  transition: transform 150ms ease, background-color 150ms ease;
}

.tip-card:nth-child(4),
.tip-card:nth-child(5) {
  grid-column: span 3;
}

.tip-card:hover {
  transform: translateY(-3px);
  background: #fffdf5;
}

.tip-num {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--orange-deep);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.tip-card h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.tip-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.81rem;
  line-height: 1.55;
}

.playful-disclaimer {
  margin: 22px 0 0;
  padding-left: 17px;
  border-left: 3px solid var(--orange);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Story -------------------------------------------------------------------- */

.story-section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.story-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: center;
  padding: 45px 46px;
  border: 2.5px solid var(--ink);
  border-radius: 25px;
  background:
    radial-gradient(rgba(255, 249, 234, 0.08) 1px, transparent 1px) 0 0 / 17px 17px,
    var(--teal-deep);
  color: var(--cream);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}

.story-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -65px;
  bottom: -70px;
  border: 2px dashed rgba(243, 189, 69, 0.4);
  border-radius: 50%;
}

.story-copy {
  position: relative;
  z-index: 1;
}

.story-copy .eyebrow {
  color: var(--yellow);
}

.story-copy h2 {
  max-width: 590px;
  margin-bottom: 17px;
  color: var(--cream);
  font-size: clamp(2.25rem, 4.2vw, 3.45rem);
}

.story-copy p {
  max-width: 580px;
  margin-bottom: 13px;
  color: rgba(255, 249, 234, 0.79);
  font-size: 0.9rem;
  line-height: 1.62;
}

.story-copy .text-link {
  margin-top: 9px;
  border-color: var(--yellow);
  color: var(--cream);
}

.story-copy .text-link:hover {
  color: var(--yellow);
}

.story-art {
  position: relative;
  min-height: 258px;
}

.paper-note {
  position: absolute;
  border: 1.8px solid var(--ink);
  color: var(--ink);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.32);
}

.paper-note--back {
  top: 12px;
  right: 14px;
  width: 62%;
  height: 80%;
  padding: 17px;
  background: #e8b7a8;
  transform: rotate(7deg);
  border-radius: 3px;
  font-family: var(--font-display);
}

.paper-note--back span {
  display: inline-block;
  padding: 2px 5px;
  border: 1.5px solid var(--ink);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transform: rotate(-2deg);
}

.paper-note--back strong {
  display: block;
  margin-top: 32px;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
}

.paper-note--front {
  top: 31px;
  left: 2px;
  width: 78%;
  padding: 27px 20px 18px;
  border-radius: 3px;
  background: var(--cream);
  transform: rotate(-4deg);
}

.paper-tape {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 72px;
  height: 19px;
  border: 1px solid rgba(32, 34, 28, 0.24);
  background: rgba(243, 189, 69, 0.68);
  transform: translateX(-50%) rotate(2deg);
}

.paper-note--front p {
  margin: 0 0 13px;
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.paper-note--front small {
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 800;
  line-height: 1.35;
}

.doodle-star {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: var(--orange);
  font-size: 1.3rem;
  transform: rotate(12deg);
}

/* FAQ ---------------------------------------------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.63fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.faq-intro h2 {
  margin-bottom: 14px;
}

.faq-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-intro .updated {
  margin-top: 19px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.faq-list {
  border-top: 1.8px solid var(--ink);
}

.faq-list details {
  border-bottom: 1.6px solid var(--ink);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border: 1.4px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  transition: transform 180ms ease, background-color 180ms ease;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-list summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms ease;
}

.faq-list details[open] summary i {
  background: var(--orange);
  transform: rotate(180deg);
}

.faq-list details[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  padding: 0 38px 19px 2px;
}

.faq-answer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.62;
}

/* More cards --------------------------------------------------------------- */

.more-section {
  background: rgba(255, 249, 234, 0.3);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.more-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 208px;
  padding: 18px 17px 16px;
  border: 1.8px solid var(--ink);
  border-radius: 16px;
  background: var(--cream);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.more-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  background: #fffdf5;
}

.more-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  border: 1.4px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
}

.more-card:nth-child(2) .more-icon {
  background: var(--mint);
}

.more-card:nth-child(3) .more-icon {
  background: var(--pink);
}

.more-card:nth-child(4) .more-icon {
  background: var(--paper-deep);
}

.more-card h3 {
  margin: 0 0 6px;
  font-size: 1.27rem;
}

.more-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.48;
}

.more-link {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.more-link span {
  transition: transform 150ms ease;
}

.more-card:hover .more-link span {
  transform: translateX(4px);
}

/* End CTA ------------------------------------------------------------------ */

.end-cta {
  position: relative;
  padding: 40px 0;
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  background:
    radial-gradient(rgba(255, 249, 234, 0.09) 1px, transparent 1px) 0 0 / 15px 15px,
    var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.end-cta::before {
  content: "";
  position: absolute;
  top: -44px;
  right: 11%;
  width: 150px;
  height: 150px;
  border: 2px dashed rgba(243, 189, 69, 0.31);
  border-radius: 50%;
}

.end-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.end-cta .eyebrow {
  margin-bottom: 7px;
}

.end-cta h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  color: var(--cream);
}

/* Footer ------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: 54px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(120px, 0.8fr));
  gap: 36px;
  padding-bottom: 38px;
}

.brand--footer {
  color: var(--cream);
  margin-bottom: 15px;
}

.brand--footer .brand-mark {
  color: var(--ink);
}

.brand--footer .brand-type small {
  color: rgba(255, 249, 234, 0.54);
}

.footer-brand p {
  max-width: 280px;
  color: rgba(255, 249, 234, 0.6);
  font-size: 0.76rem;
  line-height: 1.55;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-col h2 {
  margin: 2px 0 7px;
  color: var(--yellow);
  font-family: var(--font-body);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-col a {
  color: rgba(255, 249, 234, 0.7);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: color 140ms ease;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-smallprint p {
  margin: 0 0 9px;
  color: rgba(255, 249, 234, 0.48);
  font-size: 0.67rem;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0 18px;
  border-top: 1px solid rgba(255, 249, 234, 0.17);
  color: rgba(255, 249, 234, 0.42);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.footer-stamp {
  padding: 3px 7px;
  border: 1px solid rgba(255, 249, 234, 0.25);
  border-radius: 4px;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

/* Subpage hero and shared long-form styles -------------------------------- */

.page-hero {
  position: relative;
  padding: 58px 0 30px;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 24px;
  right: 5%;
  width: 230px;
  height: 150px;
  border: 2px dashed rgba(32, 34, 28, 0.16);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 17px;
  padding: 0;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(32, 34, 28, 0.35);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--orange-deep);
  text-decoration: underline;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 17px;
  font-size: clamp(2.8rem, 5.3vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.page-hero h1 em {
  position: relative;
  color: var(--orange);
  font-style: normal;
}

.page-hero .hero-lede {
  max-width: 720px;
  font-size: 1.03rem;
}

.page-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-body {
  padding: 30px 0 78px;
}

.page-body .game-shell {
  margin-top: 4px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 56px;
  align-items: start;
}

.article-body {
  max-width: 710px;
}

.article-body h2 {
  margin: 40px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
}

.article-body h3 {
  margin: 28px 0 8px;
  font-size: 1.35rem;
}

.article-body p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--ink-soft);
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.article-body a {
  font-weight: 800;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}

.article-body details {
  margin: 10px 0;
  border-top: 1.5px solid rgba(32, 34, 28, 0.55);
}

.article-body details:last-of-type {
  border-bottom: 1.5px solid rgba(32, 34, 28, 0.55);
}

.article-body details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.article-body details summary::-webkit-details-marker {
  display: none;
}

.article-body details summary i {
  position: relative;
  width: 21px;
  height: 21px;
  flex: none;
  border: 1.4px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.article-body details summary i::before,
.article-body details summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.article-body details summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.article-body details[open] summary i {
  background: var(--orange);
  transform: rotate(180deg);
}

.article-body details[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.article-body details .faq-answer {
  padding: 0 30px 16px 0;
}

.article-body details .faq-answer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.not-found .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.article-figure {
  margin: 24px 0 29px;
}

.article-figure img {
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.45;
}

.article-body a:hover {
  color: var(--orange-deep);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.article-hero .article-meta {
  margin-top: 0;
  margin-bottom: 18px;
}

.article-toc {
  position: sticky;
  top: calc(var(--header-h) + 30px);
  padding: 18px 19px;
  border: 1.7px solid var(--ink);
  border-radius: 14px;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.article-toc h2 {
  margin: 0 0 11px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.article-toc ol {
  margin: 0;
  padding-left: 17px;
}

.article-toc li {
  margin-bottom: 7px;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.4;
}

.article-toc a {
  color: var(--ink-soft);
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--orange-deep);
  text-decoration: underline;
}

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1.7px solid var(--ink);
  border-left: 6px solid var(--orange);
  border-radius: 10px;
  background: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
}

.callout p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.pull-quote {
  margin: 30px 0;
  padding: 23px 24px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.pull-quote footer {
  margin-top: 11px;
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-cta {
  margin: 36px 0 0;
  padding: 24px 25px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--yellow-soft);
  box-shadow: 5px 5px 0 var(--ink);
}

.article-cta p {
  margin-bottom: 13px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.info-card {
  padding: 17px;
  border: 1.6px solid var(--ink);
  border-radius: 12px;
  background: var(--cream);
}

.info-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-deep);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.info-card h3 {
  margin: 0 0 5px;
  font-size: 1.05rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.48;
}

.safety-note {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1.8px solid var(--ink);
  border-radius: 14px;
  background: #d9ede5;
}

.safety-note h2 {
  margin: 0 0 7px;
  font-size: 1.45rem;
}

.safety-note p {
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Simple 404 --------------------------------------------------------------- */

.not-found {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 60px 0;
  text-align: center;
}

.not-found h1 {
  margin: 0 0 10px;
  font-size: clamp(3rem, 8vw, 6rem);
}

.not-found p {
  max-width: 500px;
  margin: 0 auto 24px;
  color: var(--muted);
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1040px) {
  .hero-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .hero-facts {
    width: min(100%, 470px);
  }

  .split-layout {
    gap: 38px;
  }

  .story-card {
    gap: 28px;
    padding: 38px;
  }

  .faq-layout {
    gap: 42px;
  }

  .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 20px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 12px 0 rgba(32, 34, 28, 0.08);
  }

  .nav-open .site-nav {
    display: flex;
    box-shadow: 0 0 0 100vmax rgba(32, 34, 28, 0.2);
  }

  .site-nav a {
    min-height: 46px;
    padding: 10px 12px;
    border: 1.4px solid transparent;
    font-size: 0.95rem;
  }

  .site-nav a[aria-current="page"] {
    border-color: var(--ink);
    background: var(--yellow);
    box-shadow: 2px 2px 0 var(--ink);
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-play {
    display: none;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .rule-card {
    max-width: 440px;
    margin-top: 6px;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-art {
    min-height: 240px;
    max-width: 390px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .faq-intro {
    position: static;
    max-width: 650px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .article-toc {
    position: static;
    order: -1;
  }

  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-smallprint {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 25px;
  }

  .footer-smallprint h2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container,
  .container--game {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    gap: 10px;
  }

  .brand-type small {
    display: none;
  }

  .hero {
    padding: 26px 0 20px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 13vw, 4.1rem);
  }

  .hero-facts li {
    padding: 10px 9px;
  }

  .hero-facts b {
    font-size: 0.94rem;
  }

  .hero-facts small {
    font-size: 0.59rem;
  }

  .game-shell {
    border-radius: 19px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .stage-wrap {
    aspect-ratio: 1 / 1;
  }

  .game-bar {
    min-height: 48px;
    padding: 6px 9px 6px 10px;
  }

  .game-bar-stats {
    gap: 8px;
  }

  .period-chip {
    min-height: 24px;
    padding: 3px 6px;
    font-size: 0.55rem;
  }

  .score-chip {
    gap: 5px;
  }

  .score-chip span {
    font-size: 0.48rem;
  }

  .score-chip b {
    font-size: 1.02rem;
  }

  .heart {
    font-size: 0.88rem;
  }

  .game-bar-tools {
    gap: 3px;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    padding: 7px;
  }

  .scene-hud {
    top: 7px;
    left: 7px;
    right: 7px;
  }

  .status-pill {
    min-height: 25px;
    padding: 4px 8px 4px 7px;
    font-size: 0.68rem;
  }

  .status-pill i {
    width: 7px;
    height: 7px;
  }

  .snack-meter {
    padding: 3px 6px 4px;
    gap: 2px;
  }

  .meter-label {
    font-size: 0.43rem;
  }

  .meter-label b {
    font-size: 0.48rem;
  }

  .pip {
    width: 10px;
    height: 10px;
  }

  .pips {
    gap: 2px;
  }

  .game-controls {
    grid-template-columns: 64px minmax(0, 1fr) 44px;
    gap: 7px;
    padding: 8px;
  }

  .cough-btn,
  .eat-btn,
  .help-btn {
    min-height: 58px;
  }

  .cough-btn {
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    padding: 5px 4px;
  }

  .cough-icon {
    width: 24px;
    height: 24px;
  }

  .cough-copy {
    align-items: center;
  }

  .cough-copy b {
    font-size: 0.63rem;
  }

  .cough-copy small {
    display: none;
  }

  .cough-count {
    top: 4px;
    right: 4px;
    width: 15px;
    height: 15px;
    font-size: 0.6rem;
  }

  .eat-btn {
    padding: 6px 10px;
  }

  .hand-icon {
    width: 25px;
    height: 25px;
  }

  .eat-btn b {
    font-size: 1rem;
  }

  .eat-btn small {
    font-size: 0.51rem;
  }

  .help-btn {
    width: auto;
    padding: 4px;
    font-size: 1.2rem;
  }

  .game-footnote {
    margin-top: 12px;
    font-size: 0.59rem;
  }

  .overlay-card {
    padding: 19px 18px 17px;
  }

  .overlay-lede {
    margin-bottom: 11px;
    font-size: 0.79rem;
  }

  .rule-chips {
    margin-bottom: 11px;
  }

  .rule-chips span {
    padding: 5px 8px;
    font-size: 0.63rem;
  }

  .overlay-card .btn--big {
    min-height: 47px;
    padding: 11px 18px;
    font-size: 0.95rem;
  }

  .best-line {
    margin-top: 9px;
  }

  .result-grid {
    margin-bottom: 12px;
  }

  .result-grid b {
    font-size: 1.13rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .section-head h2,
  .prose h2,
  .faq-intro h2,
  .story-copy h2,
  .more-section h2 {
    font-size: clamp(1.95rem, 7.7vw, 2.55rem);
  }

  .section-head--row {
    display: block;
  }

  .section-aside {
    max-width: 540px;
    margin-top: 10px;
    text-align: left;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 13px;
    padding: 11px;
  }

  .step-art {
    height: auto;
    min-height: 118px;
    margin: 0;
  }

  .step-card h3,
  .step-card p {
    grid-column: 2;
  }

  .step-card h3 {
    margin: 4px 0 2px;
    font-size: 1.2rem;
  }

  .step-card p {
    grid-row: 3;
    font-size: 0.8rem;
    line-height: 1.48;
  }

  .split-layout {
    gap: 30px;
  }

  .prose p {
    font-size: 0.93rem;
  }

  .rule-card {
    padding: 20px 18px 16px;
  }

  .tip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tip-card,
  .tip-card:nth-child(4),
  .tip-card:nth-child(5) {
    grid-column: span 1;
  }

  .tip-card:last-child {
    grid-column: 1 / -1;
  }

  .story-card {
    padding: 28px 22px;
    border-radius: 19px;
  }

  .story-copy p {
    font-size: 0.86rem;
  }

  .story-art {
    min-height: 220px;
  }

  .faq-list summary {
    padding: 15px 0;
    font-size: 1rem;
  }

  .faq-answer {
    padding-right: 5px;
  }

  .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .more-card {
    min-height: 195px;
  }

  .end-cta {
    padding: 30px 0;
  }

  .end-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-bottom: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 400px;
  }

  .footer-smallprint {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .page-hero {
    padding: 35px 0 22px;
  }

  .page-hero h1 {
    font-size: clamp(2.45rem, 10vw, 3.35rem);
  }

  .page-body {
    padding: 20px 0 58px;
  }

  .article-body h2 {
    margin-top: 31px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .container,
  .container--game {
    width: min(100% - 24px, var(--container));
  }

  .brand-mark {
    width: 37px;
    height: 37px;
    border-radius: 10px;
  }

  .brand-mark svg {
    width: 28px;
    height: 28px;
  }

  .brand-type strong {
    font-size: 1.08rem;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-facts {
    width: 100%;
  }

  .hero-facts span {
    font-size: 0.58rem;
  }

  .hero-facts b {
    font-size: 0.84rem;
  }

  .hero-facts small {
    display: none;
  }

  .hero-lede {
    font-size: 0.92rem;
  }

  .game-bar-stats {
    gap: 7px;
  }

  .hearts {
    gap: 1px;
  }

  .heart {
    font-size: 0.8rem;
  }

  .scene-hud {
    gap: 5px;
  }

  .status-pill {
    max-width: 60%;
    font-size: 0.64rem;
  }

  .snack-meter {
    padding: 3px 5px;
  }

  .meter-label {
    font-size: 0.39rem;
  }

  .pip {
    width: 9px;
    height: 9px;
  }

  .pips {
    gap: 1.5px;
  }

  .game-controls {
    grid-template-columns: 58px minmax(0, 1fr) 40px;
    gap: 6px;
    padding: 7px;
  }

  .cough-btn,
  .eat-btn,
  .help-btn {
    min-height: 54px;
  }

  .eat-btn-inner {
    gap: 7px;
  }

  .hand-icon {
    width: 22px;
    height: 22px;
  }

  .eat-btn b {
    font-size: 0.9rem;
  }

  .eat-btn small {
    font-size: 0.46rem;
  }

  .help-btn {
    font-size: 1.05rem;
  }

  .overlay-card {
    padding: 16px 15px 14px;
  }

  .overlay-card h2 {
    font-size: 1.65rem;
  }

  .overline {
    margin-bottom: 4px;
    font-size: 0.52rem;
  }

  .overlay-lede {
    margin-bottom: 8px;
    font-size: 0.72rem;
  }

  .stage-overlay--start .overlay-lede {
    display: none;
  }

  .rule-chips {
    gap: 3px;
    margin-bottom: 9px;
  }

  .rule-chips span {
    padding: 4px 7px;
    font-size: 0.58rem;
  }

  .overlay-card .btn--big {
    min-height: 42px;
    font-size: 0.88rem;
  }

  .best-line {
    margin-top: 7px;
    font-size: 0.52rem;
  }

  .mini-steps {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .mini-steps b {
    font-size: 0.72rem;
  }

  .overlay-card--help {
    padding: 13px 14px 12px;
  }

  .overlay-card--help h2 {
    margin-bottom: 5px;
    font-size: 1.55rem;
  }

  .overlay-card--help .overline {
    margin-bottom: 4px;
  }

  .overlay-card--help .mini-steps {
    margin-top: 8px;
    font-size: 0.64rem;
    line-height: 1.3;
  }

  .overlay-card--help .mini-steps li {
    margin-bottom: 5px;
  }

  .overlay-card--help .mini-steps b {
    font-size: 0.7rem;
  }

  .overlay-card--help .help-note {
    margin-top: 8px;
    padding: 6px 8px;
    font-size: 0.58rem;
    line-height: 1.35;
  }

  .overlay-card--help .btn {
    min-height: 38px;
    margin-top: 9px;
    padding: 9px 16px;
    font-size: 0.8rem;
  }

  .step-card {
    display: block;
  }

  .step-art {
    height: 118px;
    margin-bottom: 11px;
  }

  .step-card h3,
  .step-card p {
    grid-column: auto;
  }

  .step-card h3 {
    margin-top: 0;
  }

  .step-card p {
    font-size: 0.83rem;
  }

  .tip-grid {
    grid-template-columns: 1fr;
  }

  .tip-card:last-child {
    grid-column: auto;
  }

  .more-grid {
    grid-template-columns: 1fr;
  }

  .more-card {
    min-height: 0;
  }

  .more-icon {
    margin-bottom: 13px;
  }

  .faq-list summary {
    font-size: 0.94rem;
  }

  .faq-answer p {
    font-size: 0.84rem;
  }

  .rule-list li {
    grid-template-columns: 82px 1fr;
  }

  .rule-list b {
    font-size: 0.8rem;
  }

  .story-art {
    min-height: 200px;
  }

  .paper-note--front {
    width: 84%;
    padding: 24px 15px 15px;
  }

  .paper-note--front p {
    font-size: 0.9rem;
  }

  .paper-note--back {
    width: 57%;
    padding: 13px;
  }

  .paper-note--back strong {
    margin-top: 24px;
    font-size: 1.05rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-col {
    gap: 5px;
  }

  .footer-smallprint {
    display: block;
  }

  .footer-smallprint h2 {
    margin-bottom: 6px;
  }

  .footer-smallprint p {
    margin-bottom: 7px;
  }

  .article-cta {
    padding: 20px;
  }

  .article-body p {
    font-size: 0.95rem;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 22px 0 16px;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .hero {
    padding: 22px 0 15px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 5.2vw, 4.15rem);
  }

  .hero-lede {
    font-size: 0.94rem;
  }

  .hero-facts li {
    padding-block: 9px;
  }

  .play-section {
    padding-bottom: 12px;
  }
}

@media (max-height: 740px) and (max-width: 760px) {
  .hero {
    padding: 15px 0 11px;
  }

  .hero .eyebrow {
    margin-bottom: 7px;
    font-size: 0.62rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.5vw, 3rem);
    margin-bottom: 9px;
  }

  .hero-lede {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hero-facts {
    display: none;
  }

  .play-section {
    padding-bottom: 10px;
  }

  .game-shell {
    scroll-margin-top: calc(var(--header-h) + 6px);
  }
}

@media (max-width: 380px) {
  .overlay-card--help .overline {
    display: none;
  }

  .game-bar-stats {
    gap: 5px;
  }

  .score-chip span {
    display: none;
  }

  .period-chip {
    font-size: 0.49rem;
  }

  .status-pill {
    max-width: 58%;
    font-size: 0.6rem;
  }

  .pip {
    width: 8px;
    height: 8px;
  }

  .hand-icon {
    display: none;
  }

  .eat-btn {
    padding-inline: 6px;
  }

  .eat-btn b {
    font-size: 0.83rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .step-card:hover,
  .more-card:hover,
  .tip-card:hover {
    transform: none;
  }
}
