:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c0805;--ink:#ffe7b0;--gold:#ffc247;--amber:#ff8a00;--muted:#ffc45cb3;--line:#ff990040;font-family:ui-monospace,SF Mono,Cascadia Code,Menlo,monospace}*{box-sizing:border-box}html,body,#root{background:var(--bg);height:100%;min-height:100%;color:var(--ink);touch-action:manipulation;-webkit-user-select:none;user-select:none;margin:0;overflow:hidden}button{font:inherit;cursor:pointer;border:0}.app-shell{background:radial-gradient(1200px 700px at 50% -10%,#ff8c001f,#0000 55%),#0c0805;flex-direction:column;height:100%;min-height:100%;display:flex}.screen{min-height:0;padding:20px 20px calc(20px + env(safe-area-inset-bottom));flex-direction:column;flex:1;display:flex}.gold-title{letter-spacing:.08em;text-align:center;background:linear-gradient(#ffe27a,#ff8a00);color:#0000;-webkit-background-clip:text;background-clip:text;margin:0;font-size:28px}.subtitle{text-align:center;color:var(--muted);letter-spacing:.16em;margin:6px 0 0;font-size:12px}.menu-stack{flex-direction:column;gap:16px;width:min(420px,100%);margin:0 auto auto;display:flex}.title-screen{padding:40px 40px calc(24px + env(safe-area-inset-bottom));background:#1c0f0a}.hero-bee{aspect-ratio:830/640;object-fit:cover;object-position:top center;filter:drop-shadow(0 0 24px #ffaa0047);width:min(320px,78vw);max-height:36vh;margin:0 auto 20px;display:block}.hero-bee.pulse{animation:2s ease-in-out infinite alternate bee-glow}@keyframes bee-glow{0%{filter:drop-shadow(0 0 16px #fa03)}to{filter:drop-shadow(0 0 28px #ff8c0073)}}.btn-primary,.btn-ghost,.btn-quiet{letter-spacing:.12em;border-radius:14px;width:100%;padding:16px 18px;font-weight:800}.btn-back{letter-spacing:.1em;color:#ffffff80;background:#ffffff14;border:1px solid #ffffff26;border-radius:10px;align-self:center;width:auto;margin-top:12px;padding:12px 20px;font-size:12px;font-weight:800}.btn-primary{color:#111;background:linear-gradient(90deg,#fc0,#ff8a00);min-height:56px;box-shadow:0 0 18px #ff8c0059}.btn-ghost{color:#111;background:linear-gradient(90deg,#ffbf1a,#d97a00);border:1px solid #ff990080;min-height:52px}.btn-quiet{color:var(--muted);border:1px solid var(--line);background:#ffb30014;min-height:48px}.btn-quiet.compact{padding:10px 12px;font-size:11px}.btn-quiet.off{color:#ffffff40;background:#ffffff08;border-color:#ffffff14}.btn-danger{letter-spacing:.12em;color:#fff;background:#b32600b3;border-radius:10px;width:100%;padding:14px 18px;font-weight:800}.play-glow.breathe{animation:2s ease-in-out infinite alternate play-breathe}@keyframes play-breathe{0%{box-shadow:0 0 12px #ff8c004d}to{box-shadow:0 0 22px #ff8c008c}}.btn-row{gap:12px;display:flex}.panel{background:#30200029;border:1px solid #ff99001f;border-radius:12px;padding:16px}.panel h2{color:var(--gold);letter-spacing:.08em;margin:0 0 10px;font-size:15px}.panel p,.panel li{color:#ffe6c8b3;font-size:13px;line-height:1.45}.scroll{flex:1;min-height:0;padding-bottom:24px;overflow:auto}.game-root{background:#080614;outline:none;flex-direction:column;height:100%;display:flex}.hud{align-items:center;gap:6px;padding:8px 10px 4px;display:flex}.stat{text-align:center;min-width:36px}.stat small{color:#ffb333b3;letter-spacing:.08em;font-size:8px;display:block}.stat b{color:#ffe7b3;font-size:13px;display:block}.coins{color:#ffc247;background:#50320073;border-radius:6px;padding:3px 7px;font-size:12px}.icon-btn{color:#ffffff8c;background:0 0;border-radius:8px;width:32px;height:32px}.board-wrap{flex:1;min-height:0;position:relative}.board-wrap canvas{touch-action:none;width:100%;height:100%;display:block}.bottom-bar{padding:4px 10px calc(6px + env(safe-area-inset-bottom));align-items:center;gap:6px;display:flex}.hold-btn,.drop-btn,.power-btn{border-radius:8px}.hold-btn{color:#ffffffc7;background:#00000080;flex:none;align-items:center;gap:6px;padding:5px 6px;display:flex}.hold-btn:disabled,.drop-btn:disabled{opacity:.4}.hold-label{letter-spacing:.06em;font-size:9px;font-weight:800}.hold-slot{background:#ffffff14;border-radius:4px;place-items:center;width:36px;height:36px;display:grid}.power-bar{flex:1;justify-content:center;align-items:stretch;gap:3px;min-width:0;display:flex}.power-btn{--pu:#888;color:#ffffff4d;background:linear-gradient(#ffffff0f,#ffffff08);border:1px solid #ffffff1a;border-radius:6px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:1px;width:30px;height:36px;padding:0;display:flex;overflow:hidden}.power-btn:disabled{opacity:1}.power-btn.ready{color:#fff;background:linear-gradient(to bottom, color-mix(in srgb, var(--pu) 50%, transparent), color-mix(in srgb, var(--pu) 30%, transparent));border-color:color-mix(in srgb, var(--pu) 60%, transparent)}.power-glyph{place-items:center;font-size:11px;line-height:0;display:grid}.power-cost{letter-spacing:0;background:0 0;justify-content:center;align-items:center;gap:1px;height:auto;font-size:8px;font-weight:700;display:flex}.power-btn.ready .power-cost{background:0 0}.power-cost svg{width:7.5px;height:5px}.drop-btn{color:#111;letter-spacing:.04em;background:linear-gradient(90deg,#ffbf00cc,#ff8000cc);flex:none;justify-content:center;align-items:center;gap:4px;padding:10px;font-size:10px;font-weight:800;display:flex}.drop-btn svg{width:24px;height:16px}.overlay{z-index:20;background:#000c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.board-wrap .overlay{z-index:5;position:absolute}.overlay.light{background:#0009}.overlay.dark{background:#000000db}.overlay-card{text-align:center;background:#140e08;border:1px solid #ff99004d;border-radius:16px;width:min(360px,100%);padding:24px 20px}.overlay-card h2{color:var(--gold);margin:0 0 8px}.overlay-card>button+button{margin-top:10px}.standby{letter-spacing:.08em;text-shadow:0 0 12px #ffa00059}.collapse{background:linear-gradient(#f60,#cc2600);color:#0000;-webkit-background-clip:text;background-clip:text}.new-record{color:#fc0;letter-spacing:.08em;font-weight:800}.kbd-hint{letter-spacing:.12em;opacity:.75;margin:10px auto 0;font-size:10px}.pause-stats{justify-content:center;gap:28px;margin:8px 0 16px;display:flex}.pause-card{flex-direction:column;align-items:stretch;display:flex}.settings-panel{text-align:left;background:#ffffff14;border-radius:12px;margin-top:14px;padding:14px 16px}.settings-panel p{color:#8a734d;letter-spacing:.12em;text-align:center;margin:0 0 10px;font-size:12px}.settings-panel label{color:#fff;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:14px;display:flex}.confirm-box{background:#00000073;border-radius:12px;margin-top:14px;padding:14px}.confirm-box p{color:var(--gold);margin:0;font-weight:800}.confirm-box small{color:var(--muted);margin:6px 0 12px;display:block}.score-card{background:#30200029;border:1px solid #f903;border-radius:12px;width:min(220px,100%);margin:12px auto 0;padding:14px}.score-card div{justify-content:space-between;gap:12px;margin:6px 0;display:flex}.score-card span{color:var(--muted)}.score-card b{color:#ffe6b3}.checkpoint-banner{pointer-events:none;background:0 0}.checkpoint-chip{color:#ffd84d;letter-spacing:.12em;background:#000000b3;border-radius:12px;padding:14px 22px;font-weight:900}.honey-jar{font-size:62px;animation:1.1s ease-in-out infinite alternate jar-bob}@keyframes jar-bob{0%{transform:scale(1)}to{transform:scale(1.12)}}.complete-kicker{letter-spacing:.28em;color:#ffffff8c;margin:0;font-size:13px;font-weight:800}.complete-title{background:linear-gradient(#ffd84d,#ff8a00);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:38px}.confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.confetti i{background:#ffd84d;border-radius:50%;width:6px;height:6px;animation:4.8s linear infinite confetti-fall;position:absolute;top:-8px}.confetti i:nth-child(3n){background:#ff8a1a}.confetti i:nth-child(4n){background:#fff6a8}.confetti i:nth-child(5n){background:#fff;width:4px;height:4px}.confetti i:first-child{animation-delay:0s;left:8%}.confetti i:nth-child(2){animation-delay:.4s;left:16%}.confetti i:nth-child(3){animation-delay:.8s;left:24%}.confetti i:nth-child(4){animation-delay:.2s;left:32%}.confetti i:nth-child(5){animation-delay:1.1s;left:40%}.confetti i:nth-child(6){animation-delay:.6s;left:48%}.confetti i:nth-child(7){animation-delay:1.5s;left:56%}.confetti i:nth-child(8){animation-delay:.3s;left:64%}.confetti i:nth-child(9){animation-delay:.9s;left:72%}.confetti i:nth-child(10){animation-delay:.1s;left:80%}.confetti i:nth-child(11){animation-delay:1.3s;left:88%}.confetti i:nth-child(12){animation-delay:1.8s;left:12%}.confetti i:nth-child(13){animation-delay:2.1s;left:20%}.confetti i:nth-child(14){animation-delay:1.6s;left:36%}.confetti i:nth-child(15){animation-delay:2.4s;left:44%}.confetti i:nth-child(16){animation-delay:1.9s;left:60%}.confetti i:nth-child(17){animation-delay:2.7s;left:68%}.confetti i:nth-child(18){animation-delay:.7s;left:76%}.confetti i:nth-child(19){animation-delay:2.2s;left:84%}.confetti i:nth-child(20){animation-delay:1.4s;left:92%}.confetti i:nth-child(21){animation-delay:2.9s;left:28%}.confetti i:nth-child(22){animation-delay:3.1s;left:52%}.confetti i:nth-child(23){animation-delay:2.5s;left:4%}.confetti i:nth-child(24){animation-delay:1.7s;left:96%}@keyframes confetti-fall{to{opacity:.2;transform:translateY(110vh)}}.hive-screen{padding:40px 24px calc(30px + env(safe-area-inset-bottom));background:#0f0d08}.level-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 12px;width:min(336px,100%);margin:0 auto;padding:8px 0 20px;display:grid}.level-cell{aspect-ratio:1;color:#ffd84d;background:#30200066;border:1px solid #ff99004d;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;width:100%;font-size:22px;font-weight:900;display:flex}.level-cell.selected{border-color:#ffc247;box-shadow:0 0 0 2px #ffc24773}.stars{color:#ffb000;font-size:10px;display:block}.preview-row{background:#00000080;border-radius:8px;align-items:center;gap:4px;padding:4px 6px;display:flex}.toast{color:#fff;letter-spacing:.08em;pointer-events:none;z-index:6;background:#000000b3;border-radius:12px;align-items:center;gap:10px;padding:12px 24px;font-size:20px;font-weight:900;display:flex;position:absolute;top:42%;left:50%;transform:translate(-50%,-50%)}.toast .power-glyph{font-size:24px}.terminal{white-space:pre-wrap;color:#7dff9a;font-size:13px;line-height:1.55}.record-row{background:#3020001a;border:1px solid #ff99000d;border-radius:8px;align-items:center;gap:12px;margin-bottom:8px;padding:10px 16px;display:flex}.record-row.top{border-color:#ff990026}.record-rank{color:#ffcc8080;width:36px;font-weight:800}.record-row.top .record-rank{color:#ffbf00}.record-score{color:#ffe6b3;flex:1;font-weight:800}.record-meta{color:#ffbf4d80;font-size:12px}.empty-records{text-align:center;color:#ffbf4d66;padding:64px 20px;line-height:1.6}.archive-row{text-align:left;width:100%;color:inherit;background:#30200033;border:1px solid #f903;border-radius:10px;justify-content:space-between;align-items:center;margin-bottom:12px;padding:16px 20px;display:flex}.archive-row strong{color:#ffd84d;letter-spacing:.06em;display:block}.archive-row small{color:#ffffff73;letter-spacing:.08em;margin-top:4px;font-size:10px;display:block}.archive-row em{color:#ffffff4d;font-style:normal}.archive-row.locked{background:#ffffff05;border-color:#ffffff0f}.archive-row.locked strong{color:#ffffff80}.lore-sheet h2{color:#ffe566}.lore-line{color:#ffd84d;font-size:14px;line-height:1.5}.cyan-label{color:#00e6ffe6;font-weight:700}.manual-divider{color:#ffbf00;letter-spacing:.12em;align-items:center;gap:12px;margin:18px 0 12px;font-size:12px;font-weight:800;display:flex}.manual-divider:before,.manual-divider:after{content:"";background:#f903;flex:1;height:1px}.briefing-screen{background:#0f0d08;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:40px 24px 24px}.briefing-top{justify-content:flex-end;display:flex}.skip-link{color:#ffffff4d;letter-spacing:.08em;background:0 0;font-size:11px;font-weight:700}.briefing-body{align-items:center;display:flex}.briefing-proceed{margin-top:12px}.briefing-overlay{background:#000000d9}.briefing-card{text-align:center;width:min(420px,100%)}.briefing-title{color:#ffe566;letter-spacing:.06em;margin:0 0 16px}.splash{z-index:30;background:#0f0d08}.splash-inner{text-align:center}.splash-hexes{justify-content:center;gap:6px;margin-bottom:20px;font-size:22px;display:flex}.splash-hexes span{transition:opacity .3s,transform .35s}.splash-logo{opacity:0;margin:0;transition:opacity .8s,transform .8s;transform:scale(.8)}.splash-logo.in{opacity:1;transform:scale(1)}.splash-logo span{letter-spacing:.08em;font-size:clamp(40px,12vw,52px);line-height:.95;display:block}.splash-logo span:first-child{background:linear-gradient(#ffd84d,#ff8a00);color:#0000;-webkit-background-clip:text;background-clip:text}.splash-logo span:last-child{background:linear-gradient(#ff8000,#c30);color:#0000;-webkit-background-clip:text;background-clip:text}.splash-dots{justify-content:center;gap:8px;margin-top:28px;display:flex}.splash-dots i{background:#ffb30099;border-radius:50%;width:8px;height:8px;animation:.9s ease-in-out infinite alternate splash-dot}.splash-dots i:nth-child(2){animation-delay:.2s}.splash-dots i:nth-child(3){animation-delay:.4s}@keyframes splash-dot{0%{opacity:.25}to{opacity:1}}@media (prefers-reduced-motion:reduce){.hero-bee.pulse,.play-glow.breathe,.honey-jar,.confetti i,.splash-dots i{animation:none}}@media (width>=1024px){.hold-label{font-size:12px}.hold-slot{width:48px;height:48px}.power-btn{border-radius:6px;gap:2px;width:48px;height:56px}.power-glyph{font-size:16px}.power-cost{height:auto;font-size:10px}.power-cost svg{width:10.5px;height:7px}.drop-btn{gap:6px;padding:12px 14px;font-size:13px}.drop-btn svg{width:33px;height:22px}.gold-title{font-size:38px}.title-screen{padding-top:60px}.hero-bee{width:min(400px,70vw)}}a.demo-link{text-align:center;box-sizing:border-box;text-decoration:none;display:block}.demo-note{text-align:center;margin:6px 0 4px;line-height:1.5}
