:root {
  --ink: #f4f6ff;
  --muted: #99a4c7;
  --panel: rgba(10, 17, 48, 0.86);
  --line: rgba(166, 187, 255, 0.18);
  --cyan: #56f6ff;
  --yellow: #ffd95e;
  --pink: #ff6bcd;
  --navy: #070d24;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { width: 100%; min-width: 0; min-height: 100%; height: 100%; }

body {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: transparent;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  touch-action: none;
  user-select: none;
}

button { font: inherit; }

.game-shell {
  position: relative;
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  padding: 0;
  background: #070d24;
}

.game-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.topbar, .game-footer { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; }
.topbar { min-height: 72px; padding: 0 26px; border-bottom: 1px solid rgba(168, 193, 255, .12); }
.brand-lockup { display: flex; align-items: center; gap: 10px; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.brand-mark { display: grid; width: 25px; height: 25px; place-items: center; color: var(--yellow); font-size: 20px; filter: drop-shadow(0 0 10px rgba(255, 217, 94, .65)); }
.brand-name { color: #e6ebff; }
.evolution-chip { display: flex; flex-direction: column; gap: 1px; margin-left: 8px; padding-left: 9px; border-left: 1px solid rgba(166, 187, 255, .2); line-height: 1; }
.evolution-chip small { color: #8e9bc1; font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.evolution-chip strong { color: var(--yellow); font-size: 11px; font-weight: 900; letter-spacing: -.02em; }
.evolution-chip strong.evolution-pop { animation: evolution-pop .42s ease-out; }
@keyframes evolution-pop { 0% { transform: scale(1.5); color: #fff; text-shadow: 0 0 12px var(--yellow); } 100% { transform: scale(1); color: var(--yellow); } }
.live-score { position: absolute; left: 50%; top: 16px; z-index: 5; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); pointer-events: none; }
.live-score strong { color: #ffffff; font-size: clamp(28px, 4vw, 40px); line-height: .95; letter-spacing: -.08em; text-shadow: 0 0 22px rgba(86, 246, 255, .5); }
.hud { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.distance-block, .combo-block { display: flex; flex-direction: column; gap: 3px; min-width: 63px; }
.distance-block strong { color: #dce4ff; font-size: 19px; line-height: 1; letter-spacing: -.04em; }
.distance-block small { margin-left: 2px; color: #7e8db8; font-size: 10px; letter-spacing: .05em; }
.combo-block { color: var(--yellow); }
.hud-label, .result-label { color: #7482ae; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.combo-block strong { font-size: 22px; line-height: 1; letter-spacing: -.05em; }
.score-pop { animation: score-pop .25s ease-out; }
@keyframes score-pop { 0% { transform: scale(1.3); color: var(--yellow); } 100% { transform: scale(1); color: #ffffff; } }
.icon-button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: rgba(255,255,255,.06); cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.icon-button:hover, .icon-button:focus-visible { transform: translateY(-2px); border-color: rgba(86, 246, 255, .6); background: rgba(86, 246, 255, .13); outline: none; }

.canvas-wrap { position: relative; flex: 1; min-height: 0; isolation: isolate; }
#gameCanvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: pointer; }
.menu-duck { display: none; position: absolute; z-index: 6; top: clamp(72px, 12vh, 128px); right: clamp(18px, 8vw, 72px); width: clamp(78px, 21vw, 118px); pointer-events: none; filter: drop-shadow(0 8px 16px rgba(255, 191, 69, .18)); animation: duck-float 2.8s ease-in-out infinite; }
.menu-duck svg { display: block; width: 100%; height: auto; overflow: visible; }
@keyframes duck-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }

.screen-panel { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 8vw, 96px); pointer-events: none; }
.screen-panel[hidden], .pause-badge[hidden] { display: none; }
.menu-panel { justify-content: center; }
.gameover-panel, .pause-panel { align-items: center; text-align: center; background: radial-gradient(ellipse at center, rgba(6, 13, 39, .58), rgba(6, 13, 39, .08) 66%); }
.eyebrow { margin-bottom: 14px; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .22em; }
h1, h2 { margin: 0; max-width: 520px; color: #f5f7ff; font-weight: 800; letter-spacing: -.075em; line-height: .9; }
h1 { font-size: clamp(64px, 10vw, 132px); }
h1 span, h2 span { color: transparent; background: linear-gradient(120deg, var(--cyan), #ad8dff 65%, var(--pink)); -webkit-background-clip: text; background-clip: text; }
h2 { font-size: clamp(45px, 7vw, 84px); }
.tagline { max-width: 540px; margin: 18px 0 20px; color: #aab6dc; font-size: clamp(14px, 1.6vw, 18px); line-height: 1.5; }
.lesson-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; width: min(100%, 410px); margin-bottom: 12px; }
.lesson-card { position: relative; display: flex; min-height: 66px; flex-direction: column; justify-content: center; gap: 3px; padding: 10px 9px 9px 35px; border: 1px solid rgba(166, 187, 255, .16); border-radius: 11px; background: rgba(12, 24, 59, .6); }
.lesson-number { position: absolute; top: 10px; left: 10px; color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.lesson-card strong { color: #e7edff; font-size: 9px; letter-spacing: .12em; }
.lesson-card small { color: #8492bb; font-size: 9px; line-height: 1.2; }
.challenge-line { margin: 0 0 16px; color: #ffd95e; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-width: 192px; padding: 15px 17px 15px 21px; border: 0; border-radius: 12px; color: #071128; background: linear-gradient(110deg, #65f8f0, #d0fc91); box-shadow: 0 10px 32px rgba(63, 240, 230, .18), inset 0 1px rgba(255,255,255,.74); cursor: pointer; font-size: 11px; font-weight: 900; letter-spacing: .11em; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; pointer-events: auto; }
.primary-button:hover, .primary-button:focus-visible { transform: translateY(-3px) scale(1.015); box-shadow: 0 15px 42px rgba(63, 240, 230, .29), inset 0 1px rgba(255,255,255,.74); filter: saturate(1.08); outline: none; }
.button-arrow { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: #0b2140; background: rgba(255,255,255,.48); font-size: 17px; }
.control-hint { display: flex; align-items: center; gap: 9px; margin-top: 21px; color: #7180aa; font-size: 11px; }
.keycap { padding: 5px 7px; border: 1px solid rgba(163, 183, 245, .24); border-radius: 6px; color: #aab8df; background: rgba(255,255,255,.06); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.best-line { margin-top: 38px; color: #62709a; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.best-line strong { margin-left: 7px; color: var(--yellow); }
.best-distance { margin-left: 20px; color: #62709a; }
.best-distance strong { color: var(--cyan); }
.game-hint { position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); pointer-events: none; text-align: center; }
.game-hint { bottom: 28px; padding: 9px 13px; border: 1px solid rgba(168, 193, 255, .2); border-radius: 999px; color: #b9c5ec; background: rgba(5, 12, 39, .64); font-size: 10px; font-weight: 900; letter-spacing: .13em; opacity: 0; transition: opacity .35s ease, transform .35s ease; }
.game-hint span { margin: 0 5px; color: var(--yellow); }
.game-hint.visible { opacity: 1; animation: hint-breathe 1.7s ease-in-out infinite; }
@keyframes hint-breathe { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-4px); } }

.result-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 27px; max-width: 420px; margin: 31px 0 34px; }
.result-grid > div { display: flex; min-width: 74px; flex-direction: column; gap: 5px; }
.result-grid strong { color: #e9edff; font-size: 24px; letter-spacing: -.06em; }
.result-grid > div:nth-child(2) strong { color: var(--yellow); }
.pause-badge { position: absolute; z-index: 5; top: 22px; left: 50%; transform: translateX(-50%); padding: 8px 12px; border: 1px solid rgba(86, 246, 255, .25); border-radius: 99px; color: var(--cyan); background: rgba(5, 13, 39, .78); font-size: 9px; font-weight: 800; letter-spacing: .16em; }

.game-footer { display: none; }
.footer-dot { color: #27375e; font-size: 8px; }

@media (max-width: 640px) {
  .game-shell { padding: 0; }
  .game-frame { width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; }
  .topbar { min-height: 62px; padding: 0 12px; }
  .hud { gap: 16px; }
  .evolution-chip { margin-left: 4px; padding-left: 6px; }
  .distance-block strong, .combo-block strong { font-size: 17px; }
  .live-score { top: 13px; }
  .live-score strong { font-size: 30px; }
  .hud { gap: 11px; }
  .screen-panel { padding: 28px; }
  h1 { font-size: clamp(66px, 20vw, 106px); }
  .menu-panel { padding: 18px 22px; }
  .tagline { margin: 14px 0 16px; font-size: 13px; }
  .lesson-row { gap: 6px; margin-bottom: 9px; }
  .lesson-card { min-height: 59px; padding: 8px 5px 8px 27px; }
  .lesson-number { left: 7px; top: 9px; font-size: 8px; }
  .lesson-card strong, .lesson-card small { font-size: 8px; }
  .challenge-line { margin-bottom: 12px; font-size: 9px; }
  .best-line { margin-top: 22px; }
  .best-distance { display: block; margin: 12px 0 0; }
  .game-hint { bottom: 20px; font-size: 8px; white-space: nowrap; }
}

@media (max-width: 640px) and (orientation: portrait) {
  .menu-duck { display: block; }
}

@media (max-width: 360px) {
  .topbar { padding-right: 9px; padding-left: 9px; }
  .evolution-chip { display: none; }
  .brand-lockup { gap: 5px; font-size: 10px; }
  .brand-mark { width: 20px; font-size: 17px; }
  .live-score strong { font-size: 27px; }
  .distance-block, .combo-block { min-width: 52px; }
  .hud { gap: 8px; }
  .icon-button { width: 32px; height: 32px; }
}

@media (max-height: 620px) and (orientation: landscape) {
  .game-frame { height: 100%; min-height: 0; border-radius: 0; }
  .topbar { min-height: 54px; }
  .menu-panel { align-items: flex-start; justify-content: flex-start; padding: 10px 7vw; }
  .eyebrow { margin-bottom: 8px; }
  h1 { font-size: clamp(44px, 12vh, 68px); }
  .tagline { margin: 7px 0 8px; font-size: 11px; line-height: 1.35; }
  .lesson-row { margin-bottom: 5px; }
  .lesson-card { min-height: 44px; padding-top: 5px; padding-bottom: 5px; }
  .challenge-line { margin-bottom: 6px; font-size: 8px; }
  .primary-button { padding-top: 9px; padding-bottom: 9px; }
  .menu-panel .control-hint { margin-top: 7px; }
  .best-line { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Identidade das telas de abertura e relatório de voo */
.menu-panel {
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: clamp(18px, 4vw, 60px);
}
.menu-hero { width: min(100%, 590px); margin-bottom: 18px; animation: menu-arrive .65s cubic-bezier(.2,.8,.2,1) both; }
.menu-hero .eyebrow { margin-bottom: 15px; color: #9ba8d4; }
.menu-hero .eyebrow span { margin: 0 7px; color: var(--yellow); }
.menu-hero h1 { font-size: clamp(58px, 8vw, 106px); line-height: .82; letter-spacing: -.085em; }
.menu-hero h1 span { background-image: linear-gradient(105deg, #ffe27c, #ff9b63 48%, #ff70c8 100%); }
.menu-hero .tagline { max-width: 470px; margin: 17px 0 0; color: #b3bfdf; font-size: clamp(14px, 1.45vw, 17px); }
.launch-card {
  position: relative;
  width: min(100%, 510px);
  padding: 18px 20px 15px;
  overflow: hidden;
  border: 1px solid rgba(162, 191, 255, .2);
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(14, 28, 67, .92), rgba(9, 17, 47, .83));
  box-shadow: 0 18px 55px rgba(0, 0, 0, .22), inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  animation: menu-arrive .75s .08s cubic-bezier(.2,.8,.2,1) both;
}
.launch-card::before { position: absolute; top: 0; left: 22px; width: 76px; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); content: ""; }
.launch-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; color: #dce6ff; font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.launch-status { display: inline-flex; align-items: center; gap: 6px; color: #a4ffc7; font-size: 8px; }
.launch-status i { width: 6px; height: 6px; border-radius: 50%; background: #78ffb2; box-shadow: 0 0 12px #78ffb2; }
.menu-panel .lesson-row { width: 100%; gap: 8px; margin-bottom: 13px; }
.menu-panel .lesson-card { min-height: 64px; gap: 4px; padding: 10px 8px 10px 31px; border-color: rgba(166, 187, 255, .14); border-radius: 12px; background: rgba(255,255,255,.035); }
.lesson-icon { position: absolute; top: 10px; left: 10px; color: var(--yellow); font-size: 15px; font-weight: 900; }
.menu-panel .lesson-card strong { font-size: 9px; }
.menu-panel .lesson-card small { color: #96a3c9; font-size: 8px; white-space: nowrap; }
.menu-panel .challenge-line { min-height: 14px; margin: 0 0 13px; color: #c7d2f1; font-size: 9px; letter-spacing: .06em; }
.launch-actions { display: flex; align-items: center; gap: 16px; }
.launch-actions .primary-button { min-width: 200px; }
.launch-actions .control-hint { margin: 0; }
.menu-panel .best-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(168, 193, 255, .11); color: #7d8cb6; font-size: 8px; letter-spacing: .12em; }
.menu-panel .best-line > span:first-child { margin-right: auto; color: #a3b0d4; }
.menu-panel .best-line strong { margin-left: 4px; }

.gameover-panel {
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3.5vw, 44px);
  background: radial-gradient(ellipse at 50% 42%, rgba(12, 26, 64, .88), rgba(5, 10, 31, .72) 72%);
  backdrop-filter: blur(5px);
}
.report-heading { position: relative; display: flex; align-items: center; gap: 17px; width: min(100%, 690px); margin-bottom: 15px; text-align: left; }
.report-emblem { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border: 1px solid rgba(255, 217, 94, .45); border-radius: 18px; color: var(--yellow); background: linear-gradient(145deg, rgba(255, 217, 94, .19), rgba(255, 107, 205, .11)); box-shadow: 0 0 32px rgba(255, 217, 94, .12), inset 0 1px rgba(255,255,255,.15); font-size: 26px; }
.report-copy { min-width: 0; }
.report-copy .eyebrow { margin-bottom: 7px; color: #a8b6dc; font-size: 9px; }
.report-copy .eyebrow span { margin: 0 6px; color: var(--yellow); }
.report-copy h2 { max-width: none; font-size: clamp(34px, 5vw, 62px); line-height: .93; letter-spacing: -.065em; }
.report-copy h2 span { background-image: linear-gradient(105deg, #ffe27c, #ff9b63 48%, #ff70c8 100%); }
.report-copy p { margin: 8px 0 0; color: #abb8db; font-size: 12px; line-height: 1.4; }
.record-stamp { align-self: flex-start; margin-left: auto; padding: 9px 11px; border: 1px solid rgba(255, 217, 94, .4); border-radius: 999px; color: #ffe98e; background: rgba(255, 217, 94, .1); font-size: 8px; font-weight: 900; letter-spacing: .1em; white-space: nowrap; }
.record-stamp[hidden] { display: none; }
.distance-result { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; width: min(100%, 690px); padding: 12px 17px; border: 1px solid rgba(86, 246, 255, .2); border-radius: 16px; background: linear-gradient(110deg, rgba(86,246,255,.1), rgba(255,217,94,.055)); }
.distance-caption { color: #a8b6dc; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.distance-result > strong { color: #fff; font-size: clamp(38px, 6vw, 60px); font-weight: 900; line-height: .85; letter-spacing: -.07em; text-shadow: 0 0 22px rgba(86,246,255,.3); }
.distance-result > strong small { margin-left: 4px; color: var(--cyan); font-size: 14px; letter-spacing: 0; }
.distance-result p { justify-self: end; max-width: 230px; margin: 0; color: #c6d3f1; font-size: 10px; line-height: 1.4; text-align: right; }
.gameover-panel .result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100%, 690px); max-width: none; gap: 10px; margin: 12px 0 16px; }
.gameover-panel .result-grid > div { min-width: 0; gap: 7px; padding: 12px 14px; border: 1px solid rgba(166, 187, 255, .13); border-radius: 13px; background: rgba(255,255,255,.045); }
.gameover-panel .result-label { font-size: 8px; letter-spacing: .12em; }
.gameover-panel .result-grid strong { color: #f3f6ff; font-size: 22px; }
.gameover-panel .result-grid > div:nth-child(2) strong { color: var(--yellow); }
.replay-button { min-width: 230px; justify-content: space-between; }
.replay-hint { margin-top: 10px; }

@keyframes menu-arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
  .menu-panel { justify-content: center; padding: 18px 20px; }
  .menu-hero { margin-bottom: 15px; }
  .menu-hero .eyebrow { margin-bottom: 11px; font-size: 8px; }
  .menu-hero h1 { font-size: clamp(53px, 16vw, 76px); }
  .menu-hero .tagline { margin-top: 12px; font-size: 12px; }
  .launch-card { padding: 14px 13px 12px; border-radius: 17px; }
  .launch-card-head { margin-bottom: 10px; }
  .menu-panel .lesson-row { gap: 5px; margin-bottom: 9px; }
  .menu-panel .lesson-card { min-height: 58px; padding: 8px 4px 8px 25px; }
  .lesson-icon { top: 8px; left: 7px; font-size: 13px; }
  .menu-panel .lesson-card strong { font-size: 8px; }
  .menu-panel .lesson-card small { font-size: 7px; letter-spacing: -.02em; }
  .menu-panel .challenge-line { margin-bottom: 9px; font-size: 8px; }
  .launch-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .launch-actions .primary-button { width: 100%; }
  .launch-actions .control-hint { margin: 0; font-size: 9px; }
  .menu-panel .best-line { flex-wrap: wrap; justify-content: flex-start; gap: 8px 14px; margin-top: 12px; padding-top: 10px; font-size: 7px; }
  .menu-panel .best-line > span:first-child { width: 100%; }
  .gameover-panel { padding: 14px 18px; }
  .report-heading { gap: 11px; margin-bottom: 11px; }
  .report-emblem { width: 43px; height: 43px; flex-basis: 43px; border-radius: 14px; font-size: 20px; }
  .report-copy .eyebrow { font-size: 7px; }
  .report-copy h2 { font-size: clamp(29px, 8vw, 42px); }
  .report-copy p { margin-top: 5px; font-size: 10px; }
  .record-stamp { position: absolute; top: -4px; right: 0; transform: translateY(-100%); padding: 6px 8px; font-size: 7px; }
  .distance-result { grid-template-columns: auto auto; gap: 8px 12px; padding: 10px 13px; }
  .distance-caption { font-size: 7px; }
  .distance-result > strong { font-size: 42px; }
  .distance-result p { grid-column: 1 / -1; justify-self: start; max-width: none; font-size: 9px; text-align: left; }
  .gameover-panel .result-grid { gap: 6px; margin: 9px 0 11px; }
  .gameover-panel .result-grid > div { gap: 5px; padding: 9px 8px; }
  .gameover-panel .result-label { font-size: 7px; letter-spacing: .06em; }
  .gameover-panel .result-grid strong { font-size: 19px; }
  .replay-button { min-width: 210px; }
  .replay-hint { margin-top: 7px; font-size: 9px; }
}

/* Retrato curto: mantém a missão inteira visível em celulares menores. */
@media (max-width: 640px) and (max-height: 760px) and (orientation: portrait) {
  .menu-panel { justify-content: flex-start; padding: 14px 18px 12px; overflow: hidden; }
  .menu-hero { margin-bottom: 10px; }
  .menu-hero .eyebrow { margin-bottom: 8px; }
  .menu-hero h1 { font-size: clamp(48px, 14vw, 64px); }
  .menu-hero .tagline { margin-top: 9px; font-size: 11px; line-height: 1.3; }
  .launch-card { padding: 11px 11px 9px; border-radius: 15px; }
  .launch-card-head { margin-bottom: 8px; }
  .menu-panel .lesson-row { margin-bottom: 7px; }
  .menu-panel .lesson-card { min-height: 50px; padding: 7px 3px 7px 22px; }
  .lesson-icon { top: 7px; left: 6px; font-size: 12px; }
  .menu-panel .lesson-card strong { font-size: 7px; }
  .menu-panel .lesson-card small { font-size: 6.5px; }
  .menu-panel .challenge-line { margin-bottom: 7px; font-size: 7px; }
  .launch-actions { gap: 6px; }
  .launch-actions .primary-button { min-height: 42px; padding-top: 10px; padding-bottom: 10px; }
  .menu-panel .control-hint { font-size: 8px; }
  .menu-panel .best-line { gap: 6px 10px; margin-top: 9px; padding-top: 8px; }
}

@media (max-height: 620px) and (orientation: landscape) {
  .menu-panel { justify-content: flex-start; padding: 10px 6vw; }
  .menu-hero { margin-bottom: 9px; }
  .menu-hero .eyebrow { margin-bottom: 6px; }
  .menu-hero h1 { font-size: clamp(42px, 10vh, 58px); }
  .menu-hero .tagline { margin-top: 6px; font-size: 10px; }
  .launch-card { padding: 9px 12px 8px; }
  .launch-card-head { margin-bottom: 6px; }
  .menu-panel .lesson-row { margin-bottom: 6px; }
  .menu-panel .lesson-card { min-height: 42px; }
  .menu-panel .challenge-line { min-height: 0; margin-bottom: 6px; }
  .launch-actions { align-items: center; flex-direction: row; }
  .launch-actions .primary-button { width: auto; padding-top: 9px; padding-bottom: 9px; }
  .menu-panel .best-line { margin-top: 7px; padding-top: 7px; }
  .gameover-panel { padding: 7px 5vw; }
  .report-heading { gap: 9px; margin-bottom: 6px; }
  .report-emblem { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; font-size: 17px; }
  .report-copy .eyebrow { margin-bottom: 4px; }
  .report-copy h2 { font-size: clamp(26px, 7vh, 40px); }
  .report-copy p { margin-top: 4px; font-size: 9px; }
  .distance-result { padding: 7px 12px; }
  .distance-result > strong { font-size: 34px; }
  .gameover-panel .result-grid { margin: 6px 0 8px; }
  .gameover-panel .result-grid > div { padding: 7px 10px; }
  .replay-hint { display: none; }
}
