#gameExtras{position:absolute;inset:0;pointer-events:none;z-index:3}.sketch-editor{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;gap:10px;width:min(420px,calc(100% - 28px));max-height:calc(100% - 24px);overflow:auto;padding:14px;border:1px solid #b4d8e945;border-radius:16px;background:#142137f5;box-shadow:0 12px 32px #0004;pointer-events:auto}.sketch-editor[hidden]{display:none}.sketch-editor strong{font-size:12px}.play-page .sketch-editor canvas{width:100%;height:auto;aspect-ratio:1;background:#fff0d5;border-radius:10px;touch-action:none}.sketch-swatches{display:flex;gap:8px}.sketch-swatches button{flex:1;min-width:44px;height:46px;border:2px solid transparent;border-radius:9px;cursor:pointer}.sketch-swatches button[aria-pressed=true]{outline:2px solid #fff;outline-offset:2px}.sketch-tools{display:flex;gap:5px;flex-wrap:wrap}.sketch-tools button{flex:1;min-width:48px;min-height:44px;font:inherit;font-size:20px;background:#263b55;border:1px solid #ffffff25;color:#f5f3e9;border-radius:8px;cursor:pointer;padding:5px}.sketch-enter{display:none}.game-controls button.holding{background:#385572;box-shadow:inset 0 0 0 2px #ffffff65}.duel-vitals{position:absolute;left:16px;right:16px;bottom:72px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:10px 12px;border-radius:12px;background:#142137ed;pointer-events:none;color:#f5f2e7}.duel-vitals>div>span{display:flex;justify-content:space-between;gap:5px;align-items:center;margin-bottom:5px;font-size:11px}.duel-vitals progress{display:block;width:100%;height:9px;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#ffffff20;--meter-color:#8bdbc3}.duel-vitals progress::-webkit-progress-bar{background:#ffffff20;border-radius:8px}.duel-vitals progress::-webkit-progress-value{background:var(--meter-color);border-radius:8px}.duel-vitals progress::-moz-progress-bar{background:var(--meter-color);border-radius:8px}.duel-rival progress{--meter-color:#b7a4d7}.duel-stamina progress{--meter-color:#f3c773}.duel-stamina progress.low{--meter-color:#ee807b}.play-page[data-game=doodle-duel] #stage:has(.sketch-editor:not([hidden])) .hud,.play-page[data-game=doodle-duel] #stage:has(.sketch-editor:not([hidden])) .game-status,.play-page[data-game=doodle-duel] #stage:has(.sketch-editor:not([hidden])) .stage-hint{display:none}.play-page[data-game=doodle-duel]:has(.sketch-editor:not([hidden])) .game-controls{display:none}.play-page[data-game=doodle-duel] .control-dock{position:static;bottom:auto;z-index:auto;backdrop-filter:none}.ice-control{position:absolute;inset:auto 0 0;height:190px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:#e9eddd;border-top:1px solid #d6ddc8;color:#405d55;pointer-events:auto;padding:10px 16px}.ice-control strong{font-size:12px;line-height:1.6;text-align:center;font-weight:600;min-height:20px}.ice-pad{position:relative;flex:none;width:180px;height:140px;touch-action:none;cursor:grab;outline-offset:2px;border-radius:50%;-webkit-user-select:none;user-select:none}.ice-pad:focus-visible{outline:3px solid #658f7c}.ice-control.pouring .ice-pad{cursor:grabbing}.ice-pad-track{position:absolute;width:108px;height:108px;left:36px;top:16px;border:2px dashed #91aa94;border-radius:50%;pointer-events:none}.ice-pad-track:after{content:"\21bb";position:absolute;right:-7px;top:-13px;font-size:26px;background:#e9eddd;line-height:1}.ice-pad-thumb{position:absolute;left:80px;top:60px;width:20px;height:20px;background:#739b87;box-shadow:0 0 0 7px #739b8720;border-radius:50%;pointer-events:none}.ice-control.pouring .ice-pad-thumb{background:#d8869b;box-shadow:0 0 0 8px #d8869b25}.ice-control[data-balance=warning]{background:#f5e7cd;color:#795933;border-top-color:#cf9f56}.ice-control[data-balance=warning] .ice-pad-thumb{background:#b4853d;box-shadow:0 0 0 8px #b4853d30}.ice-control[data-balance=danger]{background:#f7d9dc;color:#8e3e4e;border-top-color:#d97685}.ice-control[data-balance=danger] .ice-pad-thumb{background:#c9566b;box-shadow:0 0 0 10px #c9566b35}.play-page[data-game=swirl-ice] #canvas{position:absolute;top:76px;left:0;height:calc(100% - 266px)}.play-page[data-game=swirl-ice] .stage-hint{display:none}.play-page[data-game=swirl-ice] .hud{inset:0 0 auto;min-height:76px;padding:10px 16px;background:#fbf6e9;border-bottom:1px solid #e8e0cf}.play-page[data-game=swirl-ice] .hud strong{font-size:30px}.play-page[data-game=swirl-ice] .hud b{font-size:16px;margin-top:3px}.play-page[data-game=swirl-ice] .hud small{margin-top:3px}.play-page[data-game=swirl-ice] .game-status{inset:auto 16px 200px auto;max-width:calc(100% - 32px);padding:0;background:transparent;color:#405d55;font-size:11px}.play-page[data-game=swirl-ice] .control-dock{position:static;bottom:auto;z-index:auto;backdrop-filter:none}.play-page[data-game=swirl-ice] .hud,.play-page[data-game=swirl-ice] .hud span,.play-page[data-game=swirl-ice] .hud strong,.play-page[data-game=swirl-ice] .hud b,.play-page[data-game=swirl-ice] .hud small{color:#405d55;text-shadow:none}.play-page[data-game=swirl-ice] #stage{height:680px}.play-page[data-game=swirl-ice] .dialog-cover.result-preview{height:220px;object-fit:contain;object-position:center;background:#f5eddd}@media(max-width:700px){.play-page[data-game=swirl-ice] #stage{height:clamp(510px,calc(100svh - 176px),680px);max-height:none}.play-page[data-game=swirl-ice] .game-status{top:auto;font-size:10px}.play-page[data-game=swirl-ice] .hud span{font-size:10px}}@media(max-width:700px){.sketch-editor{gap:10px;width:calc(100% - 24px);padding:12px}.sketch-editor strong{font-size:12px}.play-page .sketch-editor canvas{width:min(100%,260px);justify-self:center}.sketch-swatches,.sketch-tools{gap:8px}.sketch-tools button{font-size:20px;min-width:44px;padding:2px}.play-page[data-game=doodle-duel] .sketch-enter{display:block;min-height:44px;margin-top:0}.play-page[data-game=doodle-duel] .game-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.play-page[data-game=doodle-duel] #stage{height:440px;max-height:none}.play-page[data-game=doodle-duel] #stage:has(.sketch-editor:not([hidden])){height:560px}.play-page[data-game=sketch-coaster] #stage{height:440px;max-height:none}.duel-vitals{gap:8px;padding:9px}.duel-vitals>div>span{font-size:10px}}
