/* Fit the longer title without shrinking the board on phones. */
header h1{font-size:clamp(32px,5.6vw,64px);letter-spacing:-2px;transform:none}
header h1>span{color:#fff6db}
.boot-panel{position:fixed;inset:0;z-index:20;display:grid;place-content:center;text-align:center;background:#d9eccb;padding:24px}
.boot-panel h2{font-size:clamp(24px,6vw,42px);margin:0}
.boot-panel p{font-size:16px}
.paused *,.paused *::before,.paused *::after{animation-play-state:paused!important;transition:none!important}
dialog{max-height:calc(100dvh - 24px);overflow:auto}
@media(max-width:380px){header h1{font-size:32px;letter-spacing:-1.4px}.eyebrow{letter-spacing:1.5px}.pill{letter-spacing:.3px}}
@media(max-height:540px) and (min-width:600px){header h1{font-size:32px}.boardwrap{width:min(310px,calc(100svh - 130px))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media(min-width:701px) and (min-height:541px){
 main{padding-top:14px;padding-bottom:12px}
 header h1{font-size:clamp(36px,5vw,54px)}
 header p{margin:10px 0 12px}
 .topline{margin-bottom:12px}
 .boardwrap{width:min(470px,calc(100svh - 400px));margin:auto}
 .arena{grid-template-columns:1fr minmax(0,470px) 1fr}
 .bottom{margin-top:12px}.status{margin-top:16px}
}
@media(max-height:740px) and (max-width:700px){.boardwrap{max-width:min(100%,calc(100svh - 365px))}.game:has(#next:not([hidden])) .boardwrap{max-width:min(100%,calc(100svh - 405px))}}
@media(min-width:701px) and (min-height:541px) and (max-height:850px){.player .mascot{width:100px}.player .speech{display:none}.bottom{margin-top:8px}.footnote{margin-top:5px}.game:has(#next:not([hidden])) .boardwrap{width:min(470px,calc(100svh - 440px))}}
