html,body,#root{color:#e9f0ea;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;background:#06161c;height:100%;margin:0;font-family:-apple-system,Pretendard,Apple SD Gothic Neo,system-ui,sans-serif;overflow:hidden}canvas{touch-action:none;display:block}.start{z-index:10;padding:0 24px calc(48px + env(safe-area-inset-bottom));background:linear-gradient(#040d0f00 42%,#040d0f9e 70%,#040d0fe6 100%);flex-direction:column;justify-content:flex-end;align-items:center;gap:28px;transition:opacity 1.4s cubic-bezier(.23,1,.32,1);display:flex;position:fixed;inset:0}.start.gone{opacity:0;pointer-events:none}.start-copy{text-align:center}.start h1{letter-spacing:-.02em;margin:0;font-size:26px;font-weight:650}.start p{color:#e9f0eab8;margin:8px 0 0;font-size:15px}.start button[type=submit]{color:#1d1409;background:#eaa451;border:0;border-radius:16px;min-width:200px;padding:16px 32px;font-family:inherit;font-size:16px;font-weight:650;transition:transform .14s cubic-bezier(.23,1,.32,1);box-shadow:0 8px 28px #eaa4512e}.start button[type=submit]:active{transform:scale(.97)}.hint{left:0;right:0;top:calc(64px + env(safe-area-inset-top));text-align:center;color:#e9f0eabd;text-shadow:0 1px 8px #00000080;pointer-events:none;font-size:13px;line-height:1.6;transition:opacity 1.2s;position:fixed}.hint.off{opacity:0}.view-btn{z-index:6;top:calc(14px + env(safe-area-inset-top));right:calc(14px + env(safe-area-inset-right));color:#e9f0eae6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#08141680;border:0;border-radius:20px;align-items:center;gap:6px;height:40px;padding:0 14px 0 11px;font-family:inherit;font-size:13px;font-weight:600;transition:transform .14s cubic-bezier(.23,1,.32,1);animation:1.2s 1.2s both fadeIn;display:flex;position:fixed;box-shadow:inset 0 0 0 1px #ffffff14}.view-btn svg{width:18px;height:18px}.view-btn:active{transform:scale(.95)}.gauge{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#f6b45c;white-space:nowrap;background:#0a101080;border-radius:999px;align-items:center;gap:6px;padding:5px 9px 5px 7px;animation:1s 1.6s both fadeIn;display:flex;box-shadow:inset 0 0 0 1px #ffffff12,0 4px 14px #0000004d}.gauge svg{width:11px;height:13px;transition:opacity .6s,color .6s;display:block}.gauge-track{background:#ffffff21;border-radius:3px;width:58px;height:6px;position:relative;overflow:hidden}.gauge-fill{background:linear-gradient(90deg,#d8532a,#f39a46 65%,#ffd07a);border-radius:3px;height:100%;transition:width .7s cubic-bezier(.23,1,.32,1)}.gauge-flash{background:#ffecbed9;border-radius:3px;animation:.6s ease-out both flash;position:absolute;inset:0}.gauge.low{color:#ea6a3c;animation:1.8s ease-in-out infinite lowPulse}.gauge.low .gauge-fill{background:linear-gradient(90deg,#b9402a,#e0643a)}.gauge.out{color:#e9f0ea59}.lang-switch{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0814168c;border-radius:16px;grid-template-columns:1fr 1fr;padding:4px;display:grid;box-shadow:inset 0 0 0 1px #ffffff14}.lang-switch button{color:#e9f0ea9e;background:0 0;border:0;border-radius:12px;height:40px;padding:0 13px;font-family:inherit;font-size:15px;font-weight:600;transition:background .16s,color .16s}.lang-switch button.on{color:#10201f;background:#e9f0eaeb}.start-form{flex-direction:column;align-items:stretch;gap:12px;width:min(320px,100%);display:flex}.nick-field{background:#e9f0ea1a;border-radius:16px;align-items:center;gap:12px;height:52px;padding:0 16px;display:flex;box-shadow:inset 0 0 0 1px #e9f0ea24}.nick-field span{color:#e9f0ea99;flex:none;font-size:13px}.nick-field input{color:#f1f5f0;background:0 0;border:0;outline:none;flex:1;min-width:0;height:100%;font-family:inherit;font-size:16px;font-weight:600}.start-form button[type=submit]{width:100%;min-width:0}.above{pointer-events:none;flex-direction:column;align-items:center;gap:6px;width:max-content;display:flex;transform:translate(-50%,-100%)}.nametag{color:#f0f4eedb;white-space:nowrap;letter-spacing:-.01em;background:#060e106b;border-radius:9px;align-items:center;gap:4px;padding:2px 7px 2px 3px;font-size:11px;font-weight:600;display:flex}.nametag.me{color:#ffd7a0}.nametag .tag{letter-spacing:.04em;color:#f0f4eeb3;background:#f0f4ee24;border-radius:5px;padding:0 4px;font-size:9px;font-weight:700}.bubble{color:#1d2420;text-align:center;word-break:keep-all;overflow-wrap:anywhere;background:#faf7f0f0;border-radius:14px;width:max-content;max-width:190px;padding:7px 11px;font-size:13px;font-weight:500;line-height:1.38;animation:.26s cubic-bezier(.23,1,.32,1) both bubbleIn;position:relative;box-shadow:0 6px 18px #00000047}.bubble .tr{color:#2f5f59;border-top:1px solid #1d24201f;margin-top:4px;padding-top:4px;font-size:12.5px}.bubble:after{content:"";background:inherit;border-radius:2px;width:10px;height:10px;margin-left:-5px;position:absolute;bottom:-5px;left:50%;transform:rotate(45deg)}.chat{z-index:7;left:calc(10px + env(safe-area-inset-left));right:calc(10px + env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));pointer-events:none;flex-direction:column;gap:8px;transition:transform .16s ease-out;display:flex;position:fixed}.chat>*{pointer-events:auto}.chat-log{overscroll-behavior:contain;scrollbar-width:none;flex-direction:column;gap:3px;max-height:22vh;padding:4px 4px 2px;display:flex;overflow-y:auto;-webkit-mask-image:linear-gradient(#0000 0,#000 22px);mask-image:linear-gradient(#0000 0,#000 22px)}.chat-log::-webkit-scrollbar{display:none}.chat-log.open{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#060e108c;border-radius:16px;max-height:42vh;padding:10px 12px 8px;-webkit-mask-image:none;mask-image:none}.line{color:#f0f4eeeb;text-shadow:0 1px 6px #0009;overflow-wrap:anywhere;font-size:13.5px;line-height:1.45}.line b{margin-right:6px;font-weight:650}.line .tr{color:#a9d8cf;margin:1px 0 0;font-size:13px;display:block}.line.sys{color:#f0f4ee80;font-size:12px}.chat-log.open .line{text-shadow:none}.chat-bar{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#08141699;border-radius:24px;align-items:center;gap:6px;height:48px;padding:0 5px;display:flex;box-shadow:inset 0 0 0 1px #ffffff17}.chat-bar input{color:#f1f5f0;background:0 0;border:0;outline:none;flex:1;min-width:0;height:100%;padding:0 8px;font-family:inherit;font-size:16px}.chat-bar input::placeholder{color:#e9f0ea73}.chat-send,.chat-fold{border:0;border-radius:19px;flex:none;place-items:center;width:38px;height:38px;font-family:inherit;transition:transform .14s cubic-bezier(.23,1,.32,1),opacity .16s;display:grid}.chat-send{color:#1d1409;background:#eaa451}.chat-send:disabled{opacity:.35}.chat-fold{color:#e9f0eab3;background:0 0}.chat-send svg,.chat-fold svg{width:18px;height:18px}.chat-send:active,.chat-fold:active{transform:scale(.94)}.chat-toast{color:#f0f4eee6;background:#060e10b3;border-radius:14px;align-self:center;padding:7px 13px;font-size:12.5px;animation:.2s both fadeIn}@media (width>=900px) and (pointer:fine){.chat{width:380px;bottom:18px;left:18px;right:auto}.chat-log,.chat-log.open{max-height:34vh}}@keyframes bubbleIn{0%{opacity:0;transform:translateY(4px)scale(.96)}to{opacity:1;transform:none}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes flash{0%{opacity:1}to{opacity:0}}@keyframes lowPulse{50%{box-shadow:inset 0 0 0 1px #ea6a3c99,0 0 16px #ea6a3c59}}@media (prefers-reduced-motion:reduce){.start,.hint,.view-btn,.gauge-fill,.chat{transition:none}.bubble,.gauge.low,.gauge-flash{animation:none}}
