:root{--hero: #ffb454;--star: #ffe27a;--boost: #4ddbff;--bird: #c9b6ff;--wind: #9fd8e8;--hay: #d9b64a;--water: #4a90ff;--mud: #9a7350;--wood: #b98a5a;--soil: #3d3325;--turf: #6f9a52;--dust: #a0947e;--hill: #1b2230;--castle: #232b3c;--castle-lit: #57491f}:root[data-theme=light]{--hero: #9a5400;--star: #a06a00;--boost: #00708f;--bird: #5b3fb0;--wind: #35788c;--hay: #a67c00;--water: #1d5fd0;--mud: #7a5230;--wood: #6f4a22;--soil: #b9a988;--turf: #4c7a30;--dust: #7d705a;--hill: #e2dac9;--castle: #d5cbb6;--castle-lit: #f2d98c}html,body{height:100%;overscroll-behavior:none}.app{height:calc(100vh - var(--header-h));height:calc(100dvh - var(--header-h) - env(safe-area-inset-bottom));max-width:1100px;margin:0 auto;padding:12px 16px 6px;display:flex;flex-direction:column;align-items:center;gap:8px;user-select:none;-webkit-user-select:none}.hud-row2{margin-top:-4px}.hud .hud-list{color:var(--hero);white-space:pre}.hud .hud-flaps,.demo-hud .hud-flaps{color:var(--star);letter-spacing:1px;display:inline-block;min-width:4.6ch}.board-wrap{flex:1 1 auto;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}.board{position:relative;touch-action:none;line-height:0}canvas{display:block}html.racing #board{cursor:pointer}.overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;text-align:center;background:var(--overlay-bg);line-height:1.4;border-radius:6px}.overlay[hidden]{display:none}.overlay-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.overlay-actions .btn[hidden]{display:none}.overlay-big{font-size:clamp(22px,6vw,34px);font-weight:700;color:var(--accent-text)}.overlay-small{font-size:14px;color:var(--text);max-width:34ch}.overlay-small .hl-hero{color:var(--hero);font-weight:700}.overlay-small .hl-star{color:var(--star);font-weight:700}.overlay-small .row{display:block}.overlay-small .muted{color:var(--muted)}.hint{margin:0;font-size:12px;color:var(--muted);text-align:center}.hint-touch{display:none}p.hint-touch{margin:0;font-size:12px;color:var(--muted);text-align:center}@media(pointer:coarse){.hint{display:none}.hint-touch{display:inline}p.hint-touch{display:block}}#over-title{color:var(--g-launch)}.modal-cause,.modal-list{font-size:13px;color:var(--muted)}.modal-list b{color:var(--hero)}.help-slides{grid-template-columns:minmax(0,1fr)}.demo-canvas{max-width:100%}.demo-msg.ok{color:var(--ok)}.power-table .g-hero,.power-table .g-star,.power-table .g-boost,.power-table .g-bird,.power-table .g-wind,.power-table .g-keg,.power-table .g-wall,.power-table .g-hay,.power-table .g-water,.power-table .g-mud{display:inline-block;min-width:2ch}.g-hero{color:var(--hero);font-weight:700}.g-star{color:var(--star);font-weight:700}.g-boost{color:var(--boost);font-weight:700}.g-bird{color:var(--bird);font-weight:700}.g-wind{color:var(--wind);font-weight:700}.g-keg{color:var(--danger);font-weight:700}.g-wall{color:var(--wall);font-weight:700}.g-hay{color:var(--hay);font-weight:700}.g-water{color:var(--water);font-weight:700}.g-mud{color:var(--mud);font-weight:700}html.racing,html.racing body{overflow:hidden;touch-action:none}
