.arcade-page { --arcade-blue: #e3f0eb; }
.arcade-page button, .arcade-page input { font: inherit; }
.arcade-page button { cursor: pointer; }
.arcade-page button:disabled { cursor: default; opacity: .45; }
.arcade-page button:focus-visible, .arcade-page canvas:focus-visible, .arcade-page input:focus-visible { outline: 3px solid #d23b20; outline-offset: 4px; }
.arcade-page [hidden] { display: none !important; }
.arcade-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 410px); gap: 28px 80px; padding-block: 36px 60px; align-items: start; }
.arcade-story { padding-top: 16px; }
.arcade-retention { grid-column: 1; }
.arcade-play-area { grid-column: 2; grid-row: 1 / 3; }
.arcade-quick-start { display: none; }
.arcade-live { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 750; margin-bottom: 27px; }
.arcade-live > span { width: 8px; height: 8px; background: #5a7426; border-radius: 50%; }
.arcade-story h1 { font-size: clamp(46px, 5.5vw, 75px); letter-spacing: -.075em; line-height: 1.02; }
.arcade-intro { font-size: 19px; line-height: 1.5; margin-block: 22px 30px; color: var(--muted); }
.arcade-games, .arcade-paces { border: 0; padding: 0; margin: 0; min-width: 0; }
.arcade-games legend, .arcade-paces legend { font-size: 12px; font-weight: 750; margin-bottom: 12px; padding: 0; }
.arcade-game-choice { width: 100%; display: flex; align-items: center; gap: 17px; border: 1px solid var(--line); background: transparent; border-radius: 18px; padding: 12px; color: var(--ink); text-align: left; margin-bottom: 10px; }
.arcade-game-choice[aria-pressed="true"] { background: #fffdf6; border: 2px solid var(--ink); padding: 11px; }
.arcade-game-choice > span:nth-child(2) { min-width: 0; }
.arcade-game-choice strong { display: block; font-size: 19px; font-weight: 850; letter-spacing: -.025em; }
.arcade-game-choice small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; line-height: 1.4; }
.arcade-choice-check { display: none; margin-left: auto; background: var(--ink); color: white; font-size: 12px; border-radius: 50%; width: 21px; height: 21px; flex: 0 0 21px; align-items: center; justify-content: center; }
[aria-pressed="true"] .arcade-choice-check { display: flex; }
.arcade-game-art { width: 62px; height: 62px; border-radius: 12px; flex: 0 0 62px; overflow: hidden; position: relative; }
.arcade-flight-art { background: var(--arcade-blue); }
.arcade-flight-art img { position: absolute; width: 41px; top: 17px; left: 3px; transform: rotate(-10deg); }
.arcade-flight-art > span { position: absolute; height: 27px; width: 15px; right: 5px; bottom: 0; background: var(--lime); border: 1px solid #739b35; border-radius: 3px 3px 0 0; }
.arcade-stack-art { background: #fbe1d6; }
.arcade-stack-art i { position: absolute; left: 12px; width: 38px; height: 10px; border-radius: 3px; background: var(--coral); bottom: 9px; box-shadow: inset 0 -3px #1f2b2920; }
.arcade-stack-art i:nth-child(2) { bottom: 21px; left: 15px; width: 33px; background: #e2ab3b; }
.arcade-stack-art i:nth-child(3) { bottom: 37px; left: 23px; width: 28px; background: var(--lime); transform: rotate(5deg); }
.arcade-paces { margin-block: 20px 25px; }
.arcade-paces > div { display: flex; gap: 8px; }
.arcade-paces button { border-radius: 100px; min-height: 44px; border: 1px solid var(--line); background: transparent; padding: 9px 21px; font-size: 13px; font-weight: 750; color: var(--ink); }
.arcade-paces button[aria-pressed="true"] { background: var(--lime); border-color: #9bb747; }
.arcade-daily { display: flex; align-items: flex-start; gap: 14px; margin-top: 24px; }
.arcade-daily-mark { background: var(--lime); border-radius: 50%; width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 31px; font-size: 20px; font-weight: 700; }
.arcade-daily strong { display: block; font-size: 14px; margin-block: 3px 4px; }
.arcade-daily p { font-size: 12px; color: var(--muted); line-height: 1.6; max-width: 32em; }
.arcade-progress { display: flex; gap: 38px; margin-block: 24px 20px; padding-top: 19px; border-top: 1px solid var(--line); }
.arcade-progress p { display: flex; flex-direction: column; }
.arcade-progress strong { font-family: var(--round); font-size: 29px; font-weight: 850; line-height: 1.2; letter-spacing: -.045em; }
.arcade-progress span { font-size: 11px; color: var(--muted); margin-top: 4px; }
.arcade-details { font-size: 12px; max-width: 35em; }
.arcade-details summary { padding-block: 8px; cursor: pointer; color: var(--muted); }
.arcade-details p { margin-top: 12px; }
.arcade-back { display: inline-block; border: 0; padding: 12px 0; background: transparent; color: var(--ink); font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.arcade-play-area { min-width: 0; }
.arcade-cabinet { border-radius: 30px; background: var(--ink); padding: 8px; box-shadow: 0 20px 0 -12px #1f2b2910, 0 26px 50px -36px #1f2b2990; overflow: hidden; }
.arcade-game-top { color: white; padding: 10px 16px 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.arcade-game-top strong { display: block; font-family: var(--round); font-size: 18px; font-weight: 850; letter-spacing: -.03em; }
.arcade-game-top span { display: block; font-size: 10px; color: #d2ded5; line-height: 1.4; margin-top: 2px; }
.arcade-icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ffffff40; border-radius: 50%; background: #ffffff0a; color: white; font-weight: 800 !important; font-size: 16px !important; }
.arcade-stage { position: relative; border-radius: 17px; overflow: hidden; background: #e3f0eb; }
#game-canvas { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; touch-action: none; }
.arcade-hud { position: absolute; top: 22px; left: 22px; right: 22px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
#live-score { font-family: var(--round); font-size: 42px; letter-spacing: -.06em; font-weight: 900; line-height: 1; }
#live-time { border: 1px solid #1f2b2926; background: #fffdf3c9; padding: 6px 10px; border-radius: 100px; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
.arcade-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: #f7f5eb14; }
.arcade-overlay-card { width: 100%; text-align: center; background: #fffdf7f5; border: 1px solid #1f2b2914; box-shadow: 0 10px 38px -20px #1f2b2940; border-radius: 24px; padding: 29px 23px; }
.arcade-overlay-tag { font-size: 10px; font-weight: 750; margin-bottom: 13px; }
.arcade-overlay-card h2 { font-size: 43px; line-height: .99; letter-spacing: -.06em; white-space: pre-line; }
.arcade-overlay-card > p:not(.arcade-overlay-tag) { font-size: 13px; color: var(--muted); line-height: 1.6; margin-block: 18px 22px; }
.arcade-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 21px; min-height: 48px; border-radius: 100px; font-size: 13px !important; font-weight: 750 !important; text-decoration: none; line-height: 1.4; text-align: center; }
.arcade-button-dark { background: var(--ink); color: white; border: 1px solid var(--ink); }
.arcade-button-dark:hover { background: #35443f; }
.arcade-button-light { background: #fffdf6; color: var(--ink); border: 1px solid #a8b4a3; }
.arcade-control-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 9px 7px; color: white; }
.arcade-control-bar > button { min-height: 44px; min-width: 60px; border-radius: 13px; border: 1px solid #ffffff40; color: white; background: #ffffff0a; padding: 9px 12px; font-size: 17px; touch-action: none; }
.arcade-control-bar > button span { font-size: 11px; padding-left: 3px; }
.arcade-control-bar > p { text-align: center; font-size: 11px; font-weight: 750; line-height: 1.35; }
.arcade-control-bar > p span { color: #c2cfc6; font-weight: 400; font-size: 10px; }
.arcade-stack-controls > button { width: 100%; font-size: 13px; font-weight: 750; background: var(--lime); color: var(--ink); border: 0; }
.arcade-stack-controls > button span { margin-left: 9px; font-size: 10px; font-weight: 400; }
.arcade-mode-note { text-align: center; font-size: 10px; color: var(--muted); margin-block: 14px 0; }
.arcade-announcement { font-size: 12px; line-height: 1.5; margin-top: 12px; min-height: 18px; }
.arcade-invitation { border-left: 4px solid var(--coral); padding: 5px 0 5px 19px; margin-block: 25px; }
.arcade-invitation-label { font-size: 11px; font-weight: 750; margin-bottom: 7px; }
.arcade-invitation h2 { font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.arcade-invitation > p:not(.arcade-invitation-label) { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.arcade-invitation .arcade-button { margin-block: 4px 9px; }
.arcade-invitation .arcade-back { display: block; width: fit-content; }
.camera-handoff { display: grid; gap: 16px; margin-top: 18px; min-width: 0; }
.camera-handoff .handoff-label { font-size: 13px; font-weight: 750; color: var(--ink); margin-bottom: 7px; }
.camera-handoff .install-panel { border-block: 1px solid var(--line); padding-block: 16px; }
.camera-handoff .install-panel > p:not(.handoff-label), .invitation-keep > p { font-size: 12px; line-height: 1.6; color: var(--muted); margin-bottom: 10px; }
.camera-handoff .arcade-button { max-width: 100%; }
.invitation-keep { font-size: 12px; min-width: 0; }
.invitation-keep summary { cursor: pointer; padding-block: 10px; font-weight: 750; line-height: 1.5; }
.invitation-keep label { display: block; margin-block: 14px 7px; font-weight: 750; }
.invitation-keep input { display: block; width: 100%; min-width: 0; min-height: 44px; border: 1px solid #a8b4a3; border-radius: 10px; background: #fffdf6; padding: 10px; color: var(--ink); font-size: 16px; }
.invitation-keep .arcade-back { min-height: 44px; }
.invitation-keep summary:focus-visible { outline: 3px solid #d23b20; outline-offset: 3px; }
.arcade-result { margin-top: 25px; background: var(--lime); border-radius: 22px; padding: 24px; }
.arcade-result-eyebrow { font-size: 11px; font-weight: 750; margin-bottom: 10px; }
.arcade-result h2 { font-size: 28px; line-height: 1.08; margin-bottom: 12px; }
.arcade-result > p:not(.arcade-fine):not(.arcade-result-eyebrow) { font-size: 13px; margin-bottom: 17px; }
.arcade-result-actions { display: flex; flex-direction: column; gap: 9px; }
.arcade-fine { font-size: 10px !important; line-height: 1.6; margin-top: 14px; }
.arcade-copy-fallback { margin-top: 15px; }
.arcade-copy-fallback label { display: block; font-size: 11px; font-weight: 750; margin-bottom: 7px; }
.arcade-copy-fallback input { display: block; width: 100%; padding: 12px; border-radius: 9px; border: 1px solid #739237; color: var(--ink); background: #ffffff90; font-size: 12px; }
.arcade-next { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 24px; padding-block: 35px 0; display: flex; align-items: center; gap: 26px; }
.arcade-next > img { width: 86px; flex: 0 0 86px; transform: rotate(-10deg); }
.arcade-next h2 { font-size: 25px; letter-spacing: -.035em; margin-bottom: 10px; }
.arcade-next p { max-width: 44em; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.arcade-next a { font-size: 12px; font-weight: 750; }
.arcade-next span { display: block; font-size: 10px; color: var(--muted); margin-top: 10px; }
.arcade-noscript { position: fixed; inset: auto 15px 15px; background: var(--ink); color: white; padding: 25px; border-radius: 15px; z-index: 10; }
@media (min-width: 1000px) { .arcade-cabinet { max-width: 365px; margin-inline: auto; } }
@media (max-width: 900px) { .arcade-shell { gap: 28px 35px; } .arcade-story h1 { font-size: 47px; } .arcade-intro { font-size: 16px; } }
@media (max-width: 720px) {
  .arcade-page .shell { width: calc(100% - 40px); }
  .arcade-page .site-header { padding-block: 20px; gap: 12px; }
  .arcade-page .brand { font-size: 25px; }
  .arcade-page .brand .pip-art { width: 34px; height: 30px; }
  .arcade-page .site-nav { gap: 16px; }
  .arcade-page .site-nav a { font-size: 11px; }
  .arcade-page .site-nav a:last-child { display: none; }
  .arcade-shell { display: flex; flex-direction: column; gap: 24px; padding-top: 12px; }
  .arcade-story, .arcade-play-area { width: 100%; }
  .arcade-story { order: 0; }
  .arcade-play-area { order: 1; }
  .arcade-retention { order: 2; width: 100%; }
  .arcade-next { order: 3; }
  .arcade-story { padding-top: 0; }
  .arcade-live { font-size: 10px; margin-bottom: 19px; }
  .arcade-story h1 { font-size: clamp(42px, 10vw, 65px); }
  .arcade-story h1 br { display: none; }
  .arcade-intro { display: none; }
  .arcade-games { margin-top: 22px; }
  .arcade-quick-start { display: flex; width: 100%; margin-top: 16px; }
  .arcade-intro br { display: none; }
  .arcade-games { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .arcade-game-choice { flex-direction: column; align-items: flex-start; gap: 11px; padding: 12px; margin-bottom: 0; position: relative; }
  .arcade-game-choice[aria-pressed="true"] { padding: 11px; }
  .arcade-game-choice strong { font-size: 16px; }
  .arcade-game-choice small { font-size: 10px; }
  .arcade-game-art { width: 52px; height: 48px; flex-basis: 48px; }
  .arcade-choice-check { position: absolute; right: 10px; top: 12px; }
  .arcade-flight-art img { width: 37px; top: 8px; }
  .arcade-paces { margin-block: 19px 20px; }
  .arcade-paces legend { margin-bottom: 8px; }
  .arcade-paces > div { gap: 7px; }
  .arcade-paces button { flex: 1; }
  .arcade-daily { margin-top: 20px; }
  .arcade-progress { margin-block: 17px 7px; padding-top: 14px; gap: 32px; }
  .arcade-progress strong { font-size: 24px; }
  .arcade-cabinet { width: min(100%, 365px); margin-inline: auto; border-radius: 26px; }
  .arcade-overlay-card { padding: 24px 17px; }
  .arcade-overlay-card h2 { font-size: 38px; }
  .arcade-overlay-card > p:not(.arcade-overlay-tag) { font-size: 12px; }
  .arcade-next { margin-top: 6px; padding-top: 28px; align-items: flex-start; gap: 16px; }
  .arcade-next > img { width: 49px; flex-basis: 49px; }
  .arcade-next h2 { font-size: 23px; }
}
@media (max-width: 360px) { .arcade-page .shell { width: calc(100% - 28px); } .arcade-page .site-nav { gap: 10px; } .arcade-overlay { padding: 14px; } .arcade-overlay-card h2 { font-size: 33px; } .arcade-overlay-card { padding: 22px 16px; } .arcade-control-bar { padding-inline: 2px; } .arcade-control-bar > button { min-width: 55px; } }
@media (prefers-reduced-motion: reduce) { .arcade-page *, .arcade-page *::before, .arcade-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
