body{background:#05070d}#application-canvas{touch-action:none;margin:0 auto}.hud{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;padding:0;inset:0 auto 0 50%;transform:translate(-50%)}body .inspector-hint{inset:8px 8px auto auto}body .juice-hint{top:52px;bottom:auto;right:8px}.lb-hud{color:#f8fafc;text-shadow:0 2px #0009;font-weight:800;position:absolute;inset:0}.lb-fade{opacity:0;background:#05070d;position:absolute;inset:0}.lb-top{top:max(14px, env(safe-area-inset-top));grid-template-columns:1fr auto;align-items:center;gap:4px 12px;display:grid;position:absolute;left:16px;right:64px}.lb-level{letter-spacing:.06em;font-size:clamp(18px,5.5vmin,26px)}.lb-pips{grid-area:1/2/span 2;align-self:stretch;gap:6px;display:flex}.lb-pip{box-sizing:border-box;aspect-ratio:1;border:2px solid #fff6;border-radius:9px;place-items:center;height:100%;display:grid;position:relative}.lb-pip.won{border-color:#fff;animation:.55s cubic-bezier(.2,.9,.3,1) lb-pip-won;box-shadow:0 0 12px}.lb-pip canvas{width:72%;height:72%}.lb-pip.lost{box-shadow:none;border-color:#0000;animation:.5s ease-out forwards lb-pip-lost}.lb-pip-piece{background:currentColor;border-radius:2px;width:7px;height:7px;margin:-3.5px;animation:.5s ease-out forwards lb-pip-piece;position:absolute;top:50%;left:50%}@keyframes lb-pip-won{0%{transform:scale(0)rotate(-25deg)}55%{transform:scale(1.35)rotate(6deg)}75%{transform:scale(.88)}to{transform:scale(1)}}@keyframes lb-pip-lost{0%{background-color:#fff;transform:scale(1)}to{background-color:#0000;transform:scale(1.7)}}@keyframes lb-pip-piece{0%{opacity:1;transform:translate(0)scale(1)rotate(0)}to{transform:translate(var(--dx), var(--dy)) scale(.3) rotate(220deg);opacity:0}}.lb-lobby{color:#aeb8c8;grid-column:1;font-size:12px;font-weight:600}.lb-call{top:max(72px, calc(env(safe-area-inset-top) + 58px));flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.lb-call[hidden]{display:none}.lb-call-label{letter-spacing:.12em;font-size:13px}.lb-call-chip{border:3px solid #fff;border-radius:18px;place-items:center;width:clamp(72px,22vmin,104px);height:clamp(72px,22vmin,104px);display:grid;box-shadow:0 0 24px #000a}.lb-call-chip canvas{width:72%;height:72%}.lb-bottom{right:16px;bottom:max(20px, env(safe-area-inset-bottom));flex-direction:column;gap:8px;display:flex;position:absolute;left:16px}.lb-phase{text-align:center;letter-spacing:.08em;font-size:clamp(22px,7vmin,34px);font-weight:900}.lb-bar{background:#0b1019b3;border:2px solid #fffc;border-radius:9px;height:18px;overflow:hidden}.lb-bar-fill{background:#aeb8c8;border-radius:7px;height:100%}.lb-hud[data-phase=flash] .lb-bar-fill{background:#ffd23f}.lb-hud[data-phase=dark] .lb-bar-fill{background:#ff4d8d}.lb-hud[data-phase=dark] .lb-phase{color:#ff4d8d}.lb-hud[data-phase=drop] .lb-bar-fill,.lb-hud[data-phase=cleared] .lb-bar-fill{background:#2f7bff}.lb-card{text-shadow:none;background:#0b1019e6;border:1px solid #ffffff24;border-radius:14px;flex-direction:column;gap:12px;padding:18px;display:flex;position:absolute;top:30%;left:24px;right:24px}.lb-card[hidden],.lb-buttons[hidden]{display:none}.lb-card-title{text-align:center;font-size:clamp(20px,6vmin,28px);font-weight:900}.lb-board{flex-direction:column;gap:4px;font-size:13px;font-weight:600;display:flex}.lb-board-row{color:#cbd5e1;grid-template-columns:1fr auto 64px;gap:10px;display:grid}.lb-board-falls{text-align:right}.lb-buttons{justify-content:center;gap:10px;display:flex}.lb-buttons button{color:#f8fafc;font:inherit;cursor:pointer;background:#1b2333;border:1px solid #ffffff3d;border-radius:10px;align-items:center;gap:6px;padding:10px 16px;font-size:15px;display:inline-flex}.lb-buttons button.lb-primary{background:#2f7bff;border-color:#2f7bff}.lb-debug{z-index:890;color:#f8fafc;background:#0b1019e6;border:1px solid #ffffff24;border-radius:8px;width:min(280px,100vw - 16px);font-family:ui-monospace,Consolas,monospace;font-size:11px;line-height:1.35;position:fixed;top:40px;left:8px}.lb-debug-head{align-items:center;gap:6px;padding:4px 6px;display:flex}.lb-debug-title{flex:1}.lb-debug button{padding:2px 6px;font-size:11px}.lb-debug-body{flex-direction:column;gap:4px;max-height:calc(100vh - 90px);padding:0 6px 6px;display:flex;overflow-y:auto}.lb-debug-body[hidden]{display:none}.lb-debug-frames{flex-direction:column;gap:4px;padding-left:8px;display:flex}.lb-debug-row{align-items:center;gap:6px;display:flex}.lb-debug-label{flex:none;width:96px}.lb-debug-row input[type=range]{flex:1;min-width:0}.lb-debug-value{text-align:right;flex:none;width:62px}
