:root {
  color-scheme: light;
  --ink: #193a32;
  --ink-soft: #45645b;
  --moss: #55745f;
  --fern: #235e4c;
  --deep: #173c32;
  --gold: #e5b85b;
  --cream: #f5f0e3;
  --paper: #fffdf6;
  --line: #d9dfd1;
  --muted: #768579;
  --shadow: 0 24px 70px rgb(25 58 50 / 12%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 8% 14%, rgb(216 227 203 / 44%), transparent 31rem),
    radial-gradient(ellipse at 93% 38%, rgb(239 219 163 / 24%), transparent 34rem),
    var(--cream);
  color: var(--ink);
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible {
  outline: 3px solid #b77c25;
  outline-offset: 4px;
}
[hidden] { display: none !important; }

.skip-link {
  position: fixed; z-index: 20; left: 1rem; top: 1rem; transform: translateY(-150%);
  border-radius: 999px; padding: .8rem 1.1rem; background: var(--paper); color: var(--ink); font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  height: 84px; display: flex; align-items: center; justify-content: space-between;
  width: min(1240px, calc(100% - 64px)); margin: 0 auto; position: relative; z-index: 3;
  border-bottom: 1px solid rgb(25 58 50 / 10%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--deep); text-decoration: none; font-size: .98rem; font-weight: 900; letter-spacing: .12em; }
.brand img { width: 42px; height: 42px; }
.brand small { display: block; padding-top: 3px; color: var(--moss); font-size: .52rem; letter-spacing: .2em; font-weight: 800; }
.site-header nav { display: flex; align-items: center; gap: 34px; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; font-size: .88rem; font-weight: 650; }
.site-header nav a:hover, .footer-brand:hover, .site-footer a:hover { color: var(--fern); }
.site-header .kettlehop-link { color: var(--fern); }

.landing { overflow: hidden; }
.hero-wrap {
  width: min(1240px, calc(100% - 64px)); min-height: 620px; margin: 0 auto; padding: 78px 0 80px;
  display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 45px;
}
.hero-copy { position: relative; z-index: 1; padding: 12px 0 25px; }
.eyebrow { margin: 0; color: var(--moss); font-size: .7rem; line-height: 1.4; letter-spacing: .2em; font-weight: 850; text-transform: uppercase; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-copy .eyebrow span { color: #c1933e; font-size: 1rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.055em; }
.hero-copy h1 { max-width: 620px; margin: 22px 0 19px; font-size: clamp(3.8rem, 6.7vw, 6.3rem); line-height: .96; }
.hero-copy h1 em, h2 em, .closing-card em { color: var(--fern); font-weight: 400; }
.hero-lede { max-width: 465px; margin-bottom: 26px; color: var(--ink-soft); font-size: clamp(1.03rem, 1.5vw, 1.21rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 15px;
  border: 1px solid transparent; border-radius: 999px; padding: 0 23px; cursor: pointer;
  font-size: .9rem; line-height: 1.2; font-weight: 780; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 22px rgb(27 66 54 / 15%); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { cursor: not-allowed; opacity: .58; }
.button-primary { background: var(--deep); color: #fffdf3; }
.button-primary:hover:not(:disabled) { background: #265744; }
.button-secondary { background: rgb(255 253 246 / 72%); border-color: #c6d1c3; color: var(--deep); }
.button-secondary:hover:not(:disabled) { background: #fffdf6; }
.button-light { background: #fff8e7; color: var(--deep); }
.quiet-note { display: flex; align-items: center; gap: 8px; margin: 19px 0 0; color: #66786c; font-size: .78rem; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ea178; box-shadow: 0 0 0 4px rgb(126 161 120 / 15%); }
.hero-art-wrap { position: relative; min-width: 0; padding: 22px 14px 34px 20px; }
.hero-art-frame { position: relative; z-index: 0; overflow: hidden; border: 8px solid #fff8e7; border-radius: 18px 18px 90px 18px; background: #24463d; box-shadow: 0 34px 68px rgb(39 54 43 / 22%); transform: rotate(1.25deg); }
.hero-art-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(130deg, rgb(12 42 35 / 2%) 28%, rgb(16 39 31 / 14%)); }
.hero-art-frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.art-note { position: absolute; z-index: 2; border-radius: 999px; padding: 9px 13px; background: #f9efcf; color: var(--deep); box-shadow: 0 6px 19px rgb(22 46 37 / 15%); font-size: .61rem; font-weight: 900; letter-spacing: .16em; }
.art-note-one { top: 2px; left: 4%; transform: rotate(-5deg); }
.art-note-two { bottom: 15px; right: 5%; transform: rotate(4deg); }
.orbit-stamp { position: absolute; z-index: 2; right: -20px; top: 37%; width: 92px; height: 92px; display: grid; align-content: center; justify-items: center; border: 1px solid rgb(255 249 223 / 75%); border-radius: 50%; background: #e2ba64; color: #28493e; text-align: center; font-size: .61rem; line-height: 1.2; letter-spacing: .13em; font-weight: 900; transform: rotate(9deg); box-shadow: 0 8px 28px rgb(34 56 42 / 20%); }
.orbit-stamp b { margin-top: 4px; font-size: .95rem; }

.landing-status { width: min(1240px, calc(100% - 64px)); margin: -24px auto 0; color: var(--fern); font-size: .9rem; font-weight: 700; }
.how-section, .worlds-section { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 95px 0 100px; }
.how-section { border-top: 1px solid rgb(25 58 50 / 12%); }
.section-heading { text-align: center; }
.section-heading .eyebrow, .worlds-heading .eyebrow { color: #a67a32; }
.section-heading h2, .worlds-heading h2 { margin: 15px 0 0; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.02; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; margin-top: 51px; }
.step-card { position: relative; min-height: 226px; padding: 27px 28px 28px; border: 1px solid #e0e0d3; border-radius: 16px; background: rgb(255 253 246 / 74%); box-shadow: 0 10px 28px rgb(31 65 51 / 4%); }
.step-number { position: absolute; top: 25px; right: 25px; color: #93a08d; font-family: Georgia, serif; font-size: .85rem; }
.step-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 21px; border-radius: 50%; background: #e7eddb; color: var(--fern); font-size: 1.2rem; }
.step-icon-spark { background: #f5e8c9; color: #a67a32; }
.step-icon-leaf { background: #e0eade; font-size: 1.55rem; }
.step-card h3 { margin: 0 0 9px; font-family: Georgia, serif; font-size: 1.32rem; font-weight: 500; }
.step-card p { max-width: 270px; margin: 0; color: #65776c; font-size: .89rem; line-height: 1.65; }
.worlds-section { padding-top: 37px; }
.worlds-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 31px; }
.worlds-heading h2 { font-size: clamp(2.4rem, 4vw, 3.7rem); }
.worlds-heading > p { max-width: 320px; margin: 0 0 5px; color: #65776c; font-size: .91rem; line-height: 1.65; }
.worlds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.worlds-grid figure { margin: 0; overflow: hidden; border-radius: 14px; background: #fffdf6; box-shadow: 0 10px 28px rgb(31 65 51 / 8%); }
.worlds-grid img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .4s ease; }
.worlds-grid figure:hover img { transform: scale(1.035); }
.worlds-grid figcaption { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: var(--deep); font-family: Georgia, serif; font-size: 1rem; }
.worlds-grid figcaption span { color: #8a6728; font: 800 .65rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .1em; }
.closing-card { width: min(1120px, calc(100% - 64px)); min-height: 244px; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 5px auto 104px; padding: 47px 56px; border-radius: 20px; background: #214a3d; color: #fff9e9; box-shadow: var(--shadow); }
.closing-card .eyebrow { color: #e0bf78; }
.closing-card h2 { margin: 12px 0 0; font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.03; }
.closing-card em { color: #e7c46e; }
.closing-card .button { flex: 0 0 auto; }

.game-panel { width: min(1180px, calc(100% - 48px)); min-height: calc(100vh - 156px); margin: 0 auto; padding: 33px 0 65px; }
.game-heading { position: relative; text-align: center; margin: 14px 0 24px; }
.back-link { position: absolute; top: 1px; left: 0; color: #66786c; font-size: .84rem; text-decoration: none; font-weight: 700; }
.game-heading .eyebrow { margin-bottom: 9px; color: #ad843e; }
.game-heading h1 { margin: 0 0 8px; font-size: clamp(2.2rem, 4.7vw, 3.8rem); line-height: 1.05; }
.game-heading > p:last-child { margin: 0; color: #61746a; font-size: .95rem; }
.connection-bar { min-height: 51px; display: flex; align-items: center; justify-content: center; gap: 24px; margin: 0 auto 17px; padding: 7px 16px; border: 1px solid #dce1d6; border-radius: 999px; background: rgb(255 253 246 / 75%); }
.presence-pill { display: inline-flex; align-items: center; gap: 8px; color: #596c61; font-size: .78rem; font-weight: 700; }
.presence-pill i { width: 8px; height: 8px; border-radius: 50%; background: #abb6a8; }
.presence-pill i.is-online { background: #78a779; box-shadow: 0 0 0 4px rgb(120 167 121 / 15%); }
.connection-status { color: #687b6f; font-size: .78rem; }
.lobby-card, .play-card { border: 1px solid #dde1d5; border-radius: 20px; background: #fffdf6; box-shadow: var(--shadow); }
.lobby-card { max-width: 680px; min-height: 360px; position: relative; overflow: hidden; margin: 0 auto; padding: 40px 40px 32px; text-align: center; }
.lobby-illustration { position: absolute; right: 28px; top: 27px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #f2e7c7; color: #bb8c3c; font-size: 1.8rem; }
.lobby-illustration i, .lobby-illustration b { position: absolute; font-size: .75rem; font-style: normal; }
.lobby-illustration i { top: 6px; left: 7px; color: #617c61; }
.lobby-illustration b { bottom: 4px; right: 6px; color: #d18958; }
.lobby-card .eyebrow { color: #a57c38; }
.lobby-card h2 { margin: 12px 0 8px; font-size: clamp(2.05rem, 4vw, 2.8rem); }
.lobby-card > p:not(.eyebrow):not(.invite-status):not(.small-print) { margin: 0 auto 23px; color: #5f7065; line-height: 1.55; }
.invite-box { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px auto 8px; }
.room-code { color: #476350; font: 700 .84rem ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .13em; }
.invite-status { min-height: 1.3em; margin: 7px 0 7px; color: var(--fern); font-size: .8rem; }
.lobby-start { min-width: 220px; }
.small-print { margin: 14px 0 0; color: #829085; font-size: .73rem; line-height: 1.5; }
.play-card { padding: 23px; }
.round-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 2px 4px 17px; border-bottom: 1px solid #e4e5d9; }
.round-kicker, .timer-label { display: block; color: #626f5d; font-size: .64rem; font-weight: 850; letter-spacing: .15em; }
.round-kicker b { color: #a78035; }
.round-bar h2 { margin: 5px 0 0; font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -.035em; }
.timer-wrap { flex: 0 0 auto; min-width: 105px; text-align: right; }
.timer-label { font-size: .58rem; }
.round-timer { margin-top: 2px; color: var(--deep); font: 700 1.65rem/1.1 ui-monospace, SFMono-Regular, Consolas, monospace; font-variant-numeric: tabular-nums; }
.round-timer.is-urgent { color: #b4523d; }
.play-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, .75fr); gap: 21px; padding-top: 19px; }
.scene-column { min-width: 0; }
.board-instruction { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #5f7065; font-size: .84rem; }
.board-instruction::before { content: "⌕"; color: #b2843d; font-size: 1.2rem; }
.scene-board { position: relative; overflow: hidden; width: 100%; aspect-ratio: 3 / 2; border: 5px solid #edf0e5; border-radius: 13px; background: #d7dfd3; cursor: crosshair; user-select: none; }
.scene-board img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.scene-board::after { content: ""; position: absolute; inset: 0; border: 1px solid rgb(32 63 51 / 13%); border-radius: 8px; pointer-events: none; }
.scene-board.is-found { animation: found-flash .48s ease-out; }
.scene-board.is-miss { animation: miss-wiggle .25s ease-in-out; }
.board-shimmer { position: absolute; right: 13px; bottom: 12px; width: 13px; height: 13px; border-radius: 50%; background: #f7d878; box-shadow: 0 0 0 5px rgb(247 216 120 / 24%), 0 0 20px rgb(255 238 157 / 75%); opacity: .82; pointer-events: none; }
.object-picker { margin: 12px 1px 0; border-top: 1px solid #e5e7db; padding-top: 9px; }
.object-picker summary { width: fit-content; cursor: pointer; color: #496756; font-size: .8rem; font-weight: 750; }
.object-picker summary span { color: #626f5d; font-size: .69rem; font-weight: 550; }
.object-picker > p { margin: 10px 0; color: #697c70; font-size: .78rem; }
.object-choices { display: flex; flex-wrap: wrap; gap: 7px; }
.object-choice { min-height: 44px; border: 1px solid #d4dfd1; border-radius: 999px; padding: 9px 12px; background: #f5f7ed; color: #315743; cursor: pointer; font-size: .79rem; font-weight: 700; }
.object-choice:hover:not(:disabled) { background: #e8efdd; }
.object-choice:disabled { color: #626f5d; cursor: default; text-decoration: line-through; }
.clue-column { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.role-card { min-height: 260px; border: 1px solid #dce3d5; border-radius: 14px; padding: 19px; background: #f6f7ee; }
.giver-card { background: #f7f0dc; border-color: #e9dcb9; }
.role-label { margin: 0 0 15px; color: #626f5d; font-size: .62rem; font-weight: 850; letter-spacing: .16em; }
.role-label span { color: #bd8b3d; font-size: .98rem; vertical-align: -1px; }
.role-card h3 { margin: 3px 0 9px; font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.1; font-weight: 500; }
.target-intro { margin: 0; color: #65766b; font-size: .83rem; }
.target-direction { margin: 0 0 13px; color: #5f7065; font-size: .82rem; line-height: 1.5; }
.giver-card .target-direction { margin: 0 0 15px; }
.clue-preview { margin: 0 0 12px; padding: 11px 12px; border-left: 3px solid #d5ac54; border-radius: 0 8px 8px 0; background: #fffaf0; }
.clue-preview span { color: #99804c; font-size: .56rem; font-weight: 850; letter-spacing: .13em; }
.clue-preview p { margin: 5px 0 0; color: var(--deep); font-size: .83rem; line-height: 1.45; }
.full-button { width: 100%; min-height: 45px; padding-inline: 15px; font-size: .82rem; }
.giver-card .small-print { margin-top: 9px; font-size: .67rem; }
.clue-list { display: flex; flex-direction: column; gap: 8px; min-height: 98px; margin: 12px 0 8px; padding: 0; list-style: none; }
.clue-list li { display: flex; gap: 9px; align-items: flex-start; color: #3e5b4b; font-family: Georgia, serif; font-size: .92rem; line-height: 1.35; }
.clue-list li::before { content: "✳"; flex: 0 0 auto; color: #bc8e43; font-family: ui-sans-serif, system-ui, sans-serif; font-size: .74rem; }
.clue-empty { color: #626f5d !important; font-family: inherit !important; font-size: .78rem !important; }
.tries-line { margin: 8px 0 0; color: #626f5d; font-size: .72rem; }
.tries-line span { color: #2f624a; font-weight: 850; }
.team-score { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 69px; border-top: 1px solid #e6e8dc; padding: 11px 4px 0; }
.team-score > span { color: #626f5d; font-size: .59rem; font-weight: 850; letter-spacing: .13em; }
.team-score strong { color: var(--deep); font: 700 1.35rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.team-score small { padding-left: 5px; color: #626f5d; font: 600 .7rem ui-sans-serif, system-ui, sans-serif; }
.score-pips { display: flex; gap: 6px; }
.score-pips i { width: 9px; height: 9px; border: 1px solid #becbbb; border-radius: 50%; }
.score-pips i.is-filled { border-color: #668b65; background: #78a779; }
.game-feedback { min-height: 1.2em; margin: -8px 0 0; color: #55745f; font-size: .75rem; line-height: 1.4; }
.round-result { display: flex; align-items: center; gap: 17px; margin-top: 19px; padding: 17px 20px; border: 1px solid #d9e0d2; border-radius: 13px; background: #f5f8ee; }
.result-stamp { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #e6eddd; color: #4e7b57; font-size: 1.25rem; }
.result-copy { flex: 1 1 auto; min-width: 0; }
.result-copy .eyebrow { margin-bottom: 4px; font-size: .59rem; }
.result-copy h3 { margin: 0 0 3px; font-family: Georgia, serif; font-size: 1.34rem; font-weight: 500; }
.result-copy > p:last-child { margin: 0; color: #64776a; font-size: .79rem; line-height: 1.4; }
.result-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.result-actions .button { min-height: 42px; padding-inline: 15px; font-size: .76rem; }
.game-footer-actions { display: flex; justify-content: space-between; gap: 18px; padding: 19px 5px 0; }
.quiet-button { border: 0; padding: 6px 0; background: none; color: #748277; cursor: pointer; font-size: .78rem; text-decoration: none; }
.quiet-button:hover { color: var(--fern); text-decoration: underline; }

.site-footer { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1240px, calc(100% - 64px)); margin: 0 auto; border-top: 1px solid rgb(25 58 50 / 12%); color: #79877b; font-size: .75rem; }
.site-footer a { color: #55745f; text-decoration: none; }
.footer-brand { color: var(--deep) !important; font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.footer-brand span { margin-left: 8px; color: #879286; font-size: .67rem; font-weight: 550; letter-spacing: 0; }
.site-footer > span a { margin-left: 8px; }

@keyframes found-flash { 0% { box-shadow: inset 0 0 0 0 rgb(255 255 255 / 0%); } 40% { box-shadow: inset 0 0 0 8px rgb(234 204 112 / 80%), 0 0 22px rgb(234 204 112 / 40%); } 100% { box-shadow: inset 0 0 0 0 rgb(255 255 255 / 0%); } }
@keyframes miss-wiggle { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-5px); } 70% { transform: translateX(5px); } }

@media (max-width: 900px) {
  .hero-wrap { min-height: 0; padding: 58px 0 65px; grid-template-columns: .95fr 1.05fr; gap: 22px; }
  .hero-copy h1 { font-size: clamp(3.3rem, 7vw, 5rem); }
  .hero-art-wrap { padding-right: 3px; }
  .orbit-stamp { right: -8px; width: 77px; height: 77px; font-size: .52rem; }
  .play-layout { grid-template-columns: minmax(0, 1.25fr) minmax(230px, .8fr); gap: 14px; }
  .play-card { padding: 17px; }
  .role-card { padding: 15px; }
}
@media (max-width: 700px) {
  .site-header { height: 70px; width: calc(100% - 34px); }
  .brand { gap: 7px; font-size: .85rem; }
  .brand img { width: 36px; height: 36px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: .76rem; }
  .site-header nav a:first-child { display: none; }
  .hero-wrap { width: calc(100% - 36px); display: flex; flex-direction: column; align-items: stretch; gap: 26px; padding: 47px 0 45px; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { margin: 16px 0 14px; font-size: clamp(3.35rem, 13vw, 5.2rem); }
  .hero-lede { margin-bottom: 20px; font-size: 1rem; }
  .hero-actions { gap: 9px; }
  .button { min-height: 48px; padding: 0 17px; font-size: .83rem; }
  .quiet-note { margin-top: 15px; font-size: .72rem; }
  .hero-art-wrap { width: 100%; padding: 10px 8px 24px; }
  .hero-art-frame { border-width: 6px; border-radius: 13px 13px 52px 13px; transform: rotate(.6deg); }
  .art-note { padding: 7px 10px; font-size: .52rem; }
  .art-note-one { left: 2%; }
  .art-note-two { bottom: 7px; }
  .orbit-stamp { right: -1px; top: 35%; width: 67px; height: 67px; font-size: .45rem; }
  .landing-status { width: calc(100% - 36px); margin-top: -4px; }
  .how-section, .worlds-section { width: calc(100% - 36px); padding: 65px 0; }
  .section-heading h2 { font-size: 2.65rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
  .step-card { min-height: 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 13px; padding: 18px; }
  .step-number { top: 18px; right: 18px; }
  .step-icon { grid-row: span 2; width: 42px; height: 42px; margin: 0; }
  .step-card h3 { align-self: end; margin: 0 25px 5px 0; font-size: 1.15rem; }
  .step-card p { font-size: .81rem; }
  .worlds-section { padding-top: 15px; }
  .worlds-heading { display: block; margin-bottom: 19px; }
  .worlds-heading h2 { margin-top: 9px; font-size: 2.5rem; }
  .worlds-heading > p { max-width: 430px; margin-top: 12px; font-size: .82rem; }
  .worlds-grid { grid-template-columns: 1fr; gap: 12px; }
  .worlds-grid figure { display: grid; grid-template-columns: 41% 1fr; align-items: center; }
  .worlds-grid img { aspect-ratio: 1.35 / 1; height: 100%; min-height: 88px; }
  .worlds-grid figcaption { padding: 12px; font-size: .88rem; }
  .closing-card { width: calc(100% - 36px); min-height: 0; display: block; margin: 0 auto 65px; padding: 29px 23px; }
  .closing-card h2 { margin-bottom: 21px; font-size: 2.45rem; }
  .site-footer { width: calc(100% - 36px); min-height: 78px; font-size: .68rem; }
  .footer-brand { font-size: .68rem; }
  .footer-brand span { display: block; margin: 3px 0 0; font-size: .6rem; }
  .site-footer > span { max-width: 155px; text-align: right; line-height: 1.5; }
  .site-footer > span a { display: block; margin: 2px 0 0; }
  .game-panel { width: calc(100% - 28px); padding: 23px 0 45px; }
  .game-heading { margin: 18px 0 17px; padding-top: 23px; }
  .back-link { top: -2px; font-size: .76rem; }
  .game-heading .eyebrow { font-size: .61rem; }
  .game-heading h1 { font-size: 2.35rem; }
  .game-heading > p:last-child { font-size: .83rem; }
  .connection-bar { justify-content: space-around; gap: 9px; padding: 7px 9px; }
  .presence-pill { gap: 5px; font-size: .68rem; }
  .connection-status { max-width: 120px; text-align: right; font-size: .68rem; }
  .lobby-card { min-height: 0; padding: 30px 20px 23px; }
  .lobby-illustration { top: 17px; right: 15px; width: 43px; height: 43px; font-size: 1.35rem; }
  .lobby-card h2 { max-width: 280px; margin-inline: auto; font-size: 2.1rem; }
  .lobby-card > p:not(.eyebrow):not(.invite-status):not(.small-print) { max-width: 330px; font-size: .86rem; }
  .invite-box { flex-direction: column; gap: 9px; }
  .room-code { font-size: .75rem; }
  .play-card { padding: 11px; border-radius: 15px; }
  .round-bar { padding: 2px 4px 13px; }
  .round-kicker { font-size: .56rem; }
  .round-bar h2 { font-size: 1.24rem; }
  .timer-wrap { min-width: 84px; }
  .timer-label { font-size: .5rem; }
  .round-timer { font-size: 1.38rem; }
  .play-layout { display: flex; flex-direction: column; gap: 13px; padding-top: 13px; }
  .board-instruction { margin-bottom: 7px; font-size: .77rem; }
  .scene-board { border-width: 3px; border-radius: 10px; }
  .board-shimmer { width: 9px; height: 9px; right: 9px; bottom: 8px; }
  .object-picker { margin-top: 9px; padding-top: 8px; }
  .object-picker summary { font-size: .75rem; }
  .object-picker summary span { display: block; margin: 3px 0 0; }
  .role-card { min-height: 0; padding: 15px; }
  .role-label { margin-bottom: 10px; }
  .role-card h3 { font-size: 1.42rem; }
  .target-direction { margin-bottom: 9px; }
  .clue-preview { margin-bottom: 9px; }
  .clue-list { min-height: 0; margin: 9px 0; }
  .team-score { min-height: 53px; padding-top: 8px; }
  .round-result { display: grid; grid-template-columns: 42px 1fr; gap: 11px; margin-top: 13px; padding: 13px; }
  .result-stamp { width: 39px; height: 39px; }
  .result-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .result-actions .button { min-width: 0; min-height: 42px; padding-inline: 8px; font-size: .7rem; }
  .game-footer-actions { padding: 13px 3px 0; }
  .quiet-button { font-size: .7rem; }
}
@media (max-width: 390px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .room-code { letter-spacing: .04em; }
  .connection-bar { flex-wrap: wrap; }
  .connection-status { flex: 0 0 100%; max-width: none; margin-top: 1px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
