:root{--wg-bg:#ece3d0;--wg-surface:#f4eedf;--wg-border:#ddd0b4;--wg-ink:#241c12;--wg-muted:#8a7a5c;--wg-accent:#c5532f;--wg-accent-deep:#8f3a20;--wg-error:#9c3a1c;--wg-cream:#fbf6ea;--wg-scrim:#241c128c;--wg-piece-ember:#c5532f;--wg-piece-honey:#d99a2b;--wg-piece-teal:#2f7d72;--wg-piece-cobalt:#34507e;--wg-piece-plum:#7d3a5d;--wg-piece-moss:#74923a;--wg-font-display:"Bricolage Grotesque", system-ui, sans-serif;--wg-font-body:"JetBrains Mono", ui-monospace, monospace;--wg-radius-pill:999px;--wg-radius-panel:20px;--wg-radius-dialog:24px;--wg-radius-icon:14px;--wg-shot-speed:1400;--wg-snap-ms:90;--wg-pop-ms:180;--wg-pop-stagger-ms:35;--wg-drop-gravity:2400;--wg-flash-ms:140;--wg-lower-ms:320}@font-face{font-family:Bricolage Grotesque;src:url(/fonts/bricolage-grotesque-latin-wght-normal.woff2)format("woff2");font-weight:200 800;font-display:swap}@font-face{font-family:JetBrains Mono;src:url(/fonts/jetbrains-mono-latin-400-normal.woff2)format("woff2");font-weight:400;font-display:swap}@font-face{font-family:JetBrains Mono;src:url(/fonts/jetbrains-mono-latin-700-normal.woff2)format("woff2");font-weight:500 800;font-display:swap}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}html,body{overscroll-behavior:none;background:var(--wg-bg);height:100%;margin:0;overflow:hidden}body{width:100%;color:var(--wg-ink);font-family:var(--wg-font-body);-webkit-text-size-adjust:100%;-webkit-user-select:none;user-select:none;position:fixed;inset:0}button{font:inherit;color:inherit;cursor:pointer}input{font:inherit;-webkit-user-select:text;user-select:text}h1,h2,p{margin:0}:focus-visible{outline-offset:3px;outline:3px solid #2f7d72}.stage{background-color:var(--wg-bg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41.57' height='72' viewBox='0 0 41.57 72'%3E%3Cpath d='M20.78 0L41.57 12L41.57 36L20.78 48L0 36L0 12Z M0 36L20.78 48L20.78 72L0 84L-20.78 72L-20.78 48Z M41.57 36L62.35 48L62.35 72L41.57 84L20.78 72L20.78 48Z' fill='none' stroke='%23ddd0b4' stroke-width='1.2'/%3E%3C/svg%3E");justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.hc .stage,.hc .title{background-image:none}.col{width:100%;max-width:430px;height:100%;background:0 0;height:100dvh;position:relative;overflow:hidden}@media (min-width:640px) and (min-height:560px){.col{width:390px;height:min(844px,100dvh - 40px);box-shadow:0 0 0 1.5px var(--wg-border), 0 30px 60px #241c122e;background-color:var(--wg-bg);border-radius:32px}}.screen{flex-direction:column;display:flex;position:absolute;inset:0}.icon-btn{border-radius:var(--wg-radius-icon);background:var(--wg-surface);border:1.5px solid var(--wg-muted);flex:none;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:flex}.btn{border-radius:var(--wg-radius-pill);border:0;justify-content:center;align-items:center;gap:10px;width:100%;font-weight:700;text-decoration:none;transition:transform .12s,box-shadow .12s;display:flex}.btn-primary{background:var(--wg-accent);color:#fff;font-family:var(--wg-font-display);font-weight:800}.btn-lg{height:60px;box-shadow:0 6px 0 var(--wg-accent-deep), 0 14px 24px #8f3a2038;font-size:24px}.btn-md{height:56px;box-shadow:0 5px 0 var(--wg-accent-deep);font-size:21px}.btn-primary:active{box-shadow:0 1px 0 var(--wg-accent-deep);transform:translateY(4px)}.btn-outline{background:var(--wg-surface);border:2px solid var(--wg-ink);color:var(--wg-ink);height:52px;font-size:15px}.btn-sm{background:0 0;height:50px;font-size:14px}.btn:disabled{opacity:.55;cursor:default}.link-btn{text-underline-offset:4px;background:0 0;border:0;height:44px;font-size:14px;font-weight:700;text-decoration:underline}.lbl{letter-spacing:.04em;font-size:11px;font-weight:700}.title{background-color:var(--wg-bg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31.18' height='54' viewBox='0 0 31.18 54'%3E%3Cpath d='M15.59 0L31.18 9L31.18 27L15.59 36L0 27L0 9Z M0 27L15.59 36L15.59 54L0 63L-15.59 54L-15.59 36Z M31.18 27L46.77 36L46.77 54L31.18 63L15.59 54L15.59 36Z' fill='none' stroke='%23ddd0b4' stroke-width='1.2'/%3E%3C/svg%3E");background-position:top;align-items:center}.title-cluster{pointer-events:none;width:396px;height:190px;margin-left:-198px;position:absolute;top:0;left:50%}.title-cluster .tp{width:36px;height:36px;position:absolute}.title-cluster svg{display:block}.title-sound{position:absolute;top:132px;right:16px}.title{overflow:hidden auto}.title-main{flex-direction:column;align-items:center;gap:clamp(20px,6vh,64px);width:100%;margin:auto 0;padding:clamp(120px,20vh,190px) 0 clamp(80px,12vh,120px);display:flex}.title-hero{flex-direction:column;align-items:center;display:flex}.bee-wrap{width:220px;height:170px;position:relative}.bee-loop{position:absolute;top:0;left:0}.bee{width:150px;height:150px;position:absolute;top:0;left:62px}@media (prefers-reduced-motion:no-preference){.bee{animation:3.2s ease-in-out infinite bob}@keyframes bob{50%{transform:translateY(-8px)rotate(-3deg)}}}.title-word{font-family:var(--wg-font-display);letter-spacing:-.045em;font-size:84px;font-weight:800;line-height:.95}.tagline{text-align:center;margin-top:14px;padding:0 16px;font-size:14px;line-height:1.5}.title-actions{flex-direction:column;gap:20px;width:100%;padding:0 32px;display:flex}.best-chip{bottom:calc(48px + env(safe-area-inset-bottom));white-space:nowrap;background:var(--wg-surface);border:1.5px solid var(--wg-border);border-radius:999px;align-items:center;gap:10px;padding:10px 18px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.best-lbl{font-size:13px;font-weight:700}.best-num{font-family:var(--wg-font-display);font-size:20px;font-weight:800}@media (max-height:700px){.title-cluster{opacity:.5}.title-sound{top:70px}.best-chip{display:none}.bee-wrap{margin:-17px 0;transform:scale(.8)}.title-word{font-size:68px}}@media (max-height:540px) and (min-aspect-ratio:1){.title-cluster{display:none}.title-sound{top:12px}.title-main{flex-direction:row;justify-content:center;gap:24px;padding:16px}.title-hero{transform-origin:50%;flex:none;transform:scale(.8)}.title-actions{flex:none;width:260px;padding:0}}.game{background:var(--wg-bg)}.hud-wrap{flex:none}.hud{grid-template-columns:44px 1fr 92px;align-items:center;gap:8px;height:48px;margin:14px 16px 0;display:grid}.hud-score{flex-direction:column;align-items:center;display:flex}.hud-score-num{font-family:var(--wg-font-display);letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:32px;font-weight:800;line-height:1}.hud-best{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.hud-best-num{font-family:var(--wg-font-display);font-size:20px;font-weight:700;line-height:1}.lowers-row{justify-content:center;height:34px;margin-top:10px;display:flex}.lowers{background:var(--wg-surface);border:1.5px solid var(--wg-border);border-radius:999px;align-items:center;gap:10px;padding:6px 14px;display:flex}.lowers-lbl{white-space:nowrap;font-size:12px;font-weight:700}.pips{gap:4px;display:flex}.pips svg{display:block}.lowers-num{font-family:var(--wg-font-display);text-align:center;min-width:10px;font-size:16px;font-weight:800}.board-wrap{flex:1;justify-content:center;align-items:flex-start;min-height:0;padding:10px 11px 16px;display:flex}.board{border:1.5px solid var(--wg-border);background-color:var(--wg-surface);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20.78 36'%3E%3Cpath d='M10.39 0L20.78 6L20.78 18L10.39 24L0 18L0 6Z M0 18L10.39 24L10.39 36L0 42L-10.39 36L-10.39 24Z M20.78 18L31.17 24L31.17 36L20.78 42L10.39 36L10.39 24Z' fill='none' stroke='%23ddd0b4' stroke-width='1'/%3E%3C/svg%3E");background-size:calc(20.78px * var(--s,1)) calc(36px * var(--s,1));border-radius:22px;line-height:0;overflow:hidden}.hc .board{background-image:none}#game{cursor:crosshair;display:block}@media (max-height:540px) and (min-aspect-ratio:1){.col{max-width:none}.game{flex-direction:row;justify-content:center;align-items:stretch}.hud-wrap{flex-direction:column;justify-content:center;gap:14px;width:210px;padding:8px 8px 8px 16px;display:flex}.hud{flex-direction:column;align-items:flex-start;gap:10px;height:auto;margin:0;display:flex}.hud-score,.hud-best{align-items:flex-start}.lowers-row{justify-content:flex-start;height:auto;margin:0}.lowers{gap:6px;padding:6px 10px}.board-wrap{flex:none;align-items:center;padding:10px 16px 10px 0}}.overlay{z-index:10;background:var(--wg-scrim);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);justify-content:center;align-items:center;padding:20px;display:flex;position:absolute;inset:0}.overlay.dark{background:#241c1299}.dialog{background:var(--wg-surface);border-radius:var(--wg-radius-dialog);flex-direction:column;width:100%;max-height:100%;display:flex;overflow:auto;box-shadow:0 24px 48px #241c124d}.pause{gap:12px;max-width:326px;padding:28px 24px 20px}.pause-head{justify-content:space-between;align-items:baseline;margin-bottom:8px;display:flex}.pause-head h2{font-family:var(--wg-font-display);letter-spacing:-.02em;font-size:36px;font-weight:800;line-height:1}.pause-head span{font-family:var(--wg-font-display);font-size:20px;font-weight:700}.pause .btn-sm{gap:8px;margin-top:6px}.toggle-row{border:2px solid var(--wg-ink);background:0 0;border-radius:999px;justify-content:space-between;align-items:center;height:50px;padding:0 8px 0 20px;font-size:15px;font-weight:700;display:flex}.toggle-pill{color:#fff;background:#2f7d72;border-radius:999px;align-items:center;height:34px;padding:0 14px;font-size:13px;display:flex}.toggle-pill.off{background:var(--wg-border);color:var(--wg-ink)}.over{gap:14px;max-width:350px;padding:28px 24px 20px}.over-head{flex-direction:column;align-items:center;gap:6px;display:flex}.over-head h2{font-family:var(--wg-font-display);font-size:28px;font-weight:800;line-height:1}.over-score{font-family:var(--wg-font-display);letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin-top:10px;font-size:72px;font-weight:800;line-height:1}.over-chips{align-items:center;gap:10px;min-height:28px;margin-top:4px;display:flex}.chip-best{color:var(--wg-ink);background:#d99a2b;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:700}.over-prev{font-size:13px}.over-entry{border-top:1.5px solid var(--wg-border);flex-direction:column;gap:8px;padding-top:16px;display:flex}.over-msg{font-size:13px;line-height:1.5}.over-msg strong{font-weight:700}#name-form{flex-direction:column;gap:8px;display:flex}#name-form label{font-size:13px;font-weight:700}#wg-name{border:2px solid var(--wg-ink);background:var(--wg-cream);letter-spacing:.08em;text-transform:uppercase;height:52px;color:var(--wg-ink);border-radius:14px;width:100%;padding:0 16px;font-size:20px;font-weight:700}#wg-name[aria-invalid=true]{border-color:var(--wg-error)}#wg-name:focus{outline-offset:2px;outline:3px solid #2f7d72}.hint{min-height:17px;font-size:12px;line-height:1.4}.hint.error{color:var(--wg-error);font-weight:700}#btn-submit{margin-top:4px}.over-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:6px;display:grid}.over-actions .btn-sm{padding:0 8px}.board-screen{background:var(--wg-bg);gap:16px;padding:14px 16px 24px}.lb-head{align-items:center;gap:12px;display:flex}.lb-head h1{font-family:var(--wg-font-display);letter-spacing:-.02em;flex:1;font-size:34px;font-weight:800;line-height:1}.lb-body{-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:16px;min-height:0;display:flex;overflow-y:auto}.lb-card{background:var(--wg-surface);border:1.5px solid var(--wg-border);border-radius:20px;flex-direction:column;gap:2px;padding:8px;display:flex}.lb-row{border:2px solid #0000;border-radius:14px;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;height:clamp(40px,10dvh - 25px,54px);padding:0 12px 0 6px;display:grid}.lb-row.me{background:var(--wg-cream);border-color:var(--wg-accent)}.rank{justify-content:center;align-items:center;width:36px;height:38px;display:flex;position:relative}.rank svg{position:absolute;inset:0}.rank span{font-family:var(--wg-font-display);font-size:16px;font-weight:800;position:relative}.lb-name{flex-direction:column;gap:1px;min-width:0;display:flex}.lb-name b{letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.lb-name small{font-size:11px}.lb-score{font-family:var(--wg-font-display);font-variant-numeric:tabular-nums;font-size:20px;font-weight:800}.lb-foot{text-align:center;font-size:13px;line-height:1.5}.lb-skel{grid-template-columns:40px 1fr 72px;align-items:center;gap:10px;height:clamp(40px,10dvh - 25px,54px);padding:0 12px 0 6px;display:grid}.lb-skel i{background:var(--wg-border);display:block}.lb-skel i:first-child{border-radius:10px;width:34px;height:34px}.lb-skel i:nth-child(2){border-radius:999px;height:12px}.lb-skel i:nth-child(3){border-radius:999px;height:16px}@media (prefers-reduced-motion:no-preference){.lb-skel{animation:1.4s ease-in-out infinite shimmer}@keyframes shimmer{0%,to{opacity:.55}50%{opacity:1}}}.lb-offline{background:var(--wg-surface);border:1.5px solid var(--wg-border);text-align:center;border-radius:20px;flex-direction:column;align-items:center;gap:12px;padding:36px 24px;display:flex}.lb-offline h2{font-family:var(--wg-font-display);font-size:22px;font-weight:800}.lb-offline p{max-width:30ch;font-size:13px;line-height:1.5}.lb-offline .btn{width:auto;height:48px;margin-top:4px;padding:0 26px;font-size:14px}.board-screen .btn-md{flex:none;height:58px;font-size:22px}@media (max-height:540px){.board-screen{gap:8px;padding:8px 16px 12px}.board-screen .btn-md{height:48px;font-size:18px}.lb-head h1{font-size:26px}}.side{display:none}@media (min-width:1180px) and (min-height:560px){.stage[data-screen=game] .side{display:flex}.stage{gap:0}.side{flex-direction:column;position:absolute;top:72px}.side-left{gap:40px;width:380px;left:max(48px,50% - 624px)}.side-right{gap:16px;width:330px;right:max(48px,50% - 624px)}}.brand{align-items:center;gap:10px;display:flex}.brand-word{font-family:var(--wg-font-display);letter-spacing:-.04em;font-size:72px;font-weight:800;line-height:1}.how{flex-direction:column;gap:14px;display:flex}.how h2,.top5 h2{font-family:var(--wg-font-display);font-size:22px;font-weight:700}.how-row{align-items:center;gap:14px;font-size:14px;line-height:1.4;display:flex}.keycap{background:var(--wg-surface);border:1.5px solid var(--wg-muted);min-width:76px;height:36px;box-shadow:0 3px 0 var(--wg-border);border-radius:10px;flex:none;justify-content:center;align-items:center;padding:0 12px;font-size:12px;font-weight:700;display:flex}.note-card{background:var(--wg-surface);border:1.5px solid var(--wg-border);border-radius:20px;flex-direction:column;gap:8px;padding:18px 20px;font-size:13px;line-height:1.5;display:flex}.top5{background:var(--wg-surface);border:1.5px solid var(--wg-border);border-radius:20px;flex-direction:column;gap:6px;padding:20px;display:flex}.top5-head{justify-content:space-between;align-items:baseline;margin-bottom:6px;display:flex}.top5-head a{color:var(--wg-ink);text-underline-offset:4px;font-size:13px;font-weight:700}.t5-row{border-radius:12px;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;height:40px;padding:0 10px;display:grid}.t5-row.me{background:var(--wg-cream)}.t5-row b:first-child{font-family:var(--wg-font-display);font-size:16px;font-weight:800}.t5-row span{letter-spacing:.04em;font-size:14px;font-weight:700}.t5-row b:last-child{font-family:var(--wg-font-display);font-size:17px;font-weight:800}.t5-empty{padding:8px 10px;font-size:13px;line-height:1.5}.side-buttons{gap:10px;display:flex}.side-buttons .btn{flex:1;height:48px;padding:0 6px;font-size:13px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
