:root{color-scheme:light;font-family:system-ui,-apple-system,'Hiragino Kaku Gothic ProN',sans-serif;color:#2a2328;background:#fff}*{box-sizing:border-box}body{margin:0;height:100svh;height:100dvh;display:flex;flex-direction:column;-webkit-tap-highlight-color:transparent}.game-nav-header{flex-shrink:0}button{font:inherit;min-height:44px;border:1px solid #dfdce0;border-radius:8px;background:#f3f4f6;color:inherit;padding:8px;touch-action:manipulation}button:disabled{opacity:.5}[hidden]{display:none!important}.shell{width:100%;max-width:450px;flex:1;min-height:0;margin:auto;padding:4px 6px max(5px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:5px}.sea{container-type:size;position:relative;flex:1;min-height:280px;overflow:hidden;border:1px solid #dce7e9;border-radius:12px;background:linear-gradient(#f4fbfc,#e5f3f5)}.hud{position:absolute;inset:5px 6px auto;display:flex;align-items:center;justify-content:space-between;gap:4px;z-index:2;font-size:12px}.hud span{background:#fffe;border-radius:6px;padding:7px 5px}.hud button{font-size:12px}#bubbles{position:absolute;inset:0}.bubble{position:absolute;transform:translate(-50%,-50%);border-radius:50%;padding:0;width:clamp(44px,min(14cqw,9cqh),58px);aspect-ratio:1;min-height:44px;min-width:44px;border:2px solid #92becb;background:radial-gradient(circle at 30% 25%,#fff 0 8%,#ffffffb0 16%,#bce4ee80 70%);box-shadow:inset -3px -4px 6px #95cbd84d;font-size:25px;line-height:1;touch-action:manipulation;user-select:none}.bubble.star{border-color:#caa65b;background:radial-gradient(circle at 30% 25%,#fff,#fff4c9bb);color:#876116}.bubble.spike{background:#6e647a;border:3px dashed #4d4459;box-shadow:none;color:#fff;font-size:27px}.panel{position:absolute;inset:0;background:#fffffff5;z-index:4;display:flex;padding:16px;overflow:auto}.panel-content{margin:auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;width:100%}.panel h2{font-size:19px;margin:0}.panel p{font-size:13px;line-height:1.6;margin:0}.panel button{width:100%;font-weight:700}.panel img,.companion img{object-fit:contain}.companion{display:flex;gap:7px;align-items:center}.companion img{flex-shrink:0}.companion b{font-size:11px;color:#6e626a}.companion p{font-size:12px;line-height:1.5;margin:3px 0}#save-note{font-size:10px;color:#6e626a;margin:0}#record{color:#6e626a}#effect{position:absolute;left:50%;top:60px;transform:translateX(-50%);font-weight:700;font-size:16px;pointer-events:none;background:#ffffffe6;border-radius:8px;padding:6px 10px;opacity:0}#effect.visible{opacity:1}.sea.danger{border-color:#ba7085}@media(max-height:650px){.companion img{width:44px;height:44px}.panel img{width:80px;height:80px}.panel-content{gap:8px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.hud #time.urgent{color:#9b334f;background:#fff0f3;font-weight:700}
