:root{--ink:#e8f0f2;--muted:#93a9b1;--panel:#08161ee0;--edge:#d8b25a73;--gold:#e6c068;--blue:#4da3ff;--red:#ff5a4a;--good:#5bd46c;--bad:#e2563f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{height:100%;margin:0}body{color:var(--ink);touch-action:none;-webkit-user-select:none;user-select:none;background:#0a1c26;font:13px/1.45 ui-sans-serif,system-ui,-apple-system,PingFang SC,Microsoft YaHei,sans-serif;overflow:hidden}canvas{width:100%;height:100%;display:block;position:fixed;inset:0}.panel{background:var(--panel);border:1px solid var(--edge);border-radius:6px;padding:8px 10px;position:fixed}button{font:inherit;color:var(--ink);cursor:pointer;background:#173540;border:1px solid #3f5f68;border-radius:4px;padding:5px 8px}:is(#top,#bottom,#shop,#over,.panel) button:hover:not(:disabled){border-color:var(--gold)}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:2px}#top{white-space:nowrap;font-variant-numeric:tabular-nums;align-items:center;gap:14px;display:flex;top:8px;left:50%;transform:translate(-50%)}#top .b{color:var(--blue)}#top .r{color:var(--red)}#top .m{color:#c9a2ff}#feed{text-align:center;pointer-events:none;gap:3px;display:grid;position:fixed;top:52px;left:50%;transform:translate(-50%)}#feed div{background:#00000073;border-radius:3px;padding:2px 10px;transition:opacity .6s}#bottom{gap:6px;width:min(430px,100vw - 16px);display:grid;bottom:8px;left:8px}#bottom .row{align-items:center;gap:8px;display:flex}#shipname{color:var(--gold);font-weight:600}#gold{color:var(--gold);font-variant-numeric:tabular-nums;margin-left:auto;font-weight:600}.hp{background:#0009;border-radius:4px;flex:1;height:8px;overflow:hidden}.hp i{background:var(--good);height:100%;display:block}#slots{grid-template-columns:repeat(6,1fr) 6px repeat(2,1fr) 6px 1fr;gap:4px;display:grid}#slots button.gear:nth-child(7){grid-column:8}#slots button.gear{border-style:dashed}#slots button.relic{color:#e2ccff;border-color:#b57bff;grid-column:11}#slots button.relic:disabled{opacity:1}#slots button.relic.empty{opacity:.45}#slots button{min-height:34px;padding:4px 2px;font-size:11px;line-height:1.2}#slots button.empty{opacity:.35}#slots button.new{border-color:var(--gold);background:#4a4224}#stats{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}#skill{min-width:112px}#skill.ready{border-color:var(--gold);color:#ffe7a6}#hint{color:var(--muted);font-size:11px}#debug:not(.show){display:none}#debug{z-index:9;color:#b8c9a8;white-space:pre;pointer-events:none;font:11px ui-monospace,Menlo,monospace;bottom:8px;left:8px}#score{z-index:6;font-variant-numeric:tabular-nums;border:0;flex-direction:column;width:min(960px,100vw - 40px);max-height:calc(100dvh - 48px);padding:0;display:none;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%)}#score.show{display:flex}#score .score-header{justify-content:space-between;align-items:center;gap:16px;padding:26px 30px 10px;display:flex}#score .score-header small{color:#a7c7d1;letter-spacing:.12em;font-size:12px}#score h2{color:#f0e8cd;margin:4px 0 0;font-size:26px;line-height:1.3}#score .score-close{border:0;place-items:center;width:36px;height:36px;padding:0;font:26px/1 system-ui,sans-serif;display:grid}#score .score-teams{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#80afbd66 transparent;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;min-height:0;padding:18px 30px 20px;display:grid;overflow-y:auto}#score .score-team{min-width:0;overflow:hidden}#score .score-team-heading{justify-content:space-between;align-items:center;gap:10px;padding:14px;display:flex}#score h3{color:#a9d6f6;align-items:center;gap:8px;margin:0;font-size:17px;display:flex}#score .score-team-1 h3{color:#f0b7ae}#score h3 i{background:currentColor;border-radius:50%;width:7px;height:7px;box-shadow:0 0 10px}#score .score-team-heading>span{color:#b9cfd7;font-size:12px}#score table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:14px}#score th,#score td{text-align:center;border:0;padding:12px 10px}#score thead th{color:#d5e3e8;padding-top:12px;padding-bottom:12px;font-size:13px;font-weight:700}#score thead th:first-child{text-align:left;width:38%;padding-left:14px}#score thead th:nth-child(2){width:32%}#score thead th:nth-child(n+3){width:15%}#score tbody tr{height:66px}#score tbody th{text-align:left;padding-left:14px;font-weight:600}#score .score-name{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}#score .score-you{color:#edcf88;font-size:10px;font-weight:500}#score tbody tr:nth-child(odd){background:#b7d7e20d}#score tbody tr:nth-child(2n){background:#06172522}#score thead th:nth-child(3){color:#f3e4b8}#score .score-ship img{vertical-align:middle;object-fit:contain;width:30px;height:30px;margin:0 7px 0 0;display:inline-block}#score .score-ship span{color:#d1e0e6;white-space:nowrap;font-size:13px}#score .score-kills{color:#f3e4b8;font-size:20px;font-weight:700}#score .score-deaths{color:#bbced8;font-size:20px}#score .score-footer{color:#c9dce1;flex-shrink:0;justify-content:center;align-items:center;gap:10px;padding:15px 20px;font-size:13px;display:flex}#score kbd{border:0;border-radius:6px;padding:3px 10px;font:600 13px ui-monospace,monospace}#score .score-close:hover{color:#fff;background:#a3cedc18}#join,#over{z-index:5;background:#040c12b8;place-items:center;display:grid;position:fixed;inset:0}#join form,#over div{background:var(--panel);border:1px solid var(--edge);border-radius:8px;gap:10px;width:min(360px,100vw - 32px);padding:18px 20px;display:grid}#join h1{color:var(--gold);margin:0;font-size:20px}#join p{color:var(--muted);margin:0;font-size:12px}#join label{color:var(--muted);gap:4px;font-size:12px;display:grid}#join input{font:inherit;color:var(--ink);background:#0f2630;border:1px solid #3f5f68;border-radius:4px;padding:7px 8px}#join button{border-color:var(--gold);color:#ffe7a6;background:#3b4a2f;padding:8px;font-weight:600}#over{display:none}#over.show{display:grid}#over>div{pointer-events:auto}#over h2{margin:0;font-size:22px}#overleave{border:1px solid var(--edge);background:var(--panel);color:inherit;font:inherit;cursor:pointer;border-radius:8px;justify-self:center;margin-top:4px;padding:8px 18px;font-weight:700}#overleave:hover,#overleave:focus-visible{filter:brightness(1.25)}#minimap{cursor:crosshair;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(145deg,#244e61cf,#102e42e0);border:1px solid #b4e6e84d;border-radius:12px;padding:0;inset:8px auto auto 8px;box-shadow:inset 0 1px #c2f0eb26,0 3px 16px #061e3233}body.match-finale :is(#top,#bottom,#shop,#debug,#feed,#settings,#minimap,#minimap-danger,#score,#ship-inspect,.ship-labels){visibility:hidden;pointer-events:none}body.match-finale:before,body.match-finale:after{content:"";z-index:4;pointer-events:none;background:#050b10;height:6vh;animation:.8s both finale-bars;position:fixed;left:0;right:0}body.match-finale:before{top:0}body.match-finale:after{bottom:0}#finale-flash{opacity:0;z-index:4;pointer-events:none;background:#fff2d2;position:fixed;inset:0}body.match-finale #over{pointer-events:none;background:radial-gradient(#0000 20%,#03090fb8)}body.match-finale #over>div{text-align:center;border:1px solid #d9b46b;border-left:0;border-right:0;width:min(680px,90vw);padding:28px;animation:1s cubic-bezier(.2,.8,.2,1) both finale-title}body.match-finale #over h2{font-size:clamp(44px,7vw,86px)}@keyframes finale-bars{0%{opacity:0;transform:scaleY(0)}to{opacity:1;transform:scaleY(1)}}@keyframes finale-title{0%{opacity:0;filter:blur(8px);transform:scale(1.25)}to{opacity:1;filter:blur();transform:scale(1)}}#goldfx{pointer-events:none;position:fixed;inset:0;overflow:hidden}#goldfx div{color:#ffd75e;white-space:nowrap;text-shadow:0 0 6px #ffaa008c,0 2px 2px #000000d9;will-change:transform, opacity;font:800 18px/1 system-ui,sans-serif;position:absolute;top:0;left:0}#goldfx .mid{font-size:23px}#goldfx .big{color:#ffe58a;font-size:30px}#goldfx .spend{color:#ffaaa0;text-shadow:0 0 6px #be554455,0 2px 2px #000b}#score{background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-relief);-webkit-backdrop-filter:none;backdrop-filter:none;font-family:var(--ui-font);border-color:#9ac7ca24;border-radius:12px}body #minimap{box-shadow:var(--ui-relief);-webkit-backdrop-filter:none;backdrop-filter:none;background:#173747;border-color:#87bbb944;border-radius:12px}#score h2,#score .score-kills{color:var(--ui-cream)}#score .score-close{color:var(--ui-cream);background:#31556477;border-radius:8px}#score .score-team-heading{background:linear-gradient(90deg,#59bfc82b,#0000)}#score .score-team-1 .score-team-heading{background:linear-gradient(90deg,#ef94652b,#0000)}#score tbody tr.score-self{background:#d0b57d2b}#score thead th{background:#102c3a77}#score kbd{color:var(--ui-cream);background:#315564;box-shadow:inset 0 -2px #09263377}#score button:focus-visible{outline-color:var(--ui-teal)}body #feed div{color:var(--ui-text);font-family:var(--ui-font);background:#173747e6;border-radius:6px}body #over{color:var(--ui-cream);font-family:var(--ui-font)}body #over>div{background:var(--ui-surface);box-shadow:var(--ui-relief);border-color:#88b7ba33;border-radius:12px}body.match-finale #over>div{box-shadow:none;background:linear-gradient(110deg,#102b3822,#173747ed,#102b3822);border-color:#59bfb288;border-radius:12px}body.match-finale #over h2{letter-spacing:.08em;text-shadow:0 3px #102b38,0 0 22px #59bfb244;font-weight:900}body.match-finale[data-result=defeat] #over>div{border-color:#ef946588}body.match-finale[data-result=defeat] #over h2{text-shadow:0 3px #102b38,0 0 22px #ef946544}@media (width<=680px){#score{width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}#score .score-teams{grid-template-columns:1fr;gap:14px;padding:14px}#score .score-header{padding:16px}#score h2{font-size:22px}#score .score-ship img{vertical-align:middle;margin:0 5px 0 0;display:inline-block}#score th,#score td{padding-top:10px;padding-bottom:10px}}@media (width<=760px){#debug{display:none}#top{gap:8px;font-size:11px}#minimap{transform-origin:0 0;top:52px;transform:scale(.65)}}@media (prefers-reduced-motion:reduce){body.match-finale:before,body.match-finale:after,body.match-finale #over>div{animation:none}}@media (width<=1099px),(height<=639px){#score{z-index:12;background:#173747;max-height:calc(100dvh - 16px)}#score .score-header{padding:10px 18px 2px}#score .score-header small{display:none}#score h2{margin:0;font-size:18px}#score .score-close{width:30px;height:30px;font-size:22px}#score .score-teams{gap:16px;padding:8px 18px 6px}#score .score-team-heading{padding:7px 12px}#score h3{font-size:15px}#score th,#score td,#score thead th{padding-top:5px;padding-bottom:5px}#score tbody tr{height:40px}#score .score-ship img{width:24px;height:24px}#score .score-kills,#score .score-deaths{font-size:16px}#score .score-footer{padding:6px 16px 10px}body #minimap{transform-origin:0 0;transform:scale(.7)}}#menu-ui .audio-volume input[type=range]{background:0 0;border:0;flex:0 0 45%;width:45%;margin:0;padding:0}#menu-ui .audio-volume output{text-align:right;min-width:3.5em}#menu-ui .audio-volume>span{flex:1}body:not(.in-game) :is(#top,#bottom,#shop,#debug,#feed,#settings,#minimap,#minimap-danger,#score,#ship-inspect,#goldfx,.ship-labels){visibility:hidden;pointer-events:none}body:not(.in-game) #menu-button,body.match-finale #menu-button,body.menu-open #menu-button{display:none}#menu-ui{--spring:cubic-bezier(.34, 1.56, .64, 1);--out:cubic-bezier(.22, 1, .36, 1);--u:min(1vw, 1.7778vh);z-index:20;color:var(--ink);font-family:var(--font);font-size:max(14px, calc(var(--u) * 1.15));touch-action:manipulation;line-height:1.25;position:fixed;inset:0}#menu-ui[hidden]{display:none}#menu-ui *,#menu-ui :before,#menu-ui :after{box-sizing:border-box}#menu-ui :where(button,input){font:inherit;color:inherit}#menu-ui :where(button){cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;padding:0}#menu-ui button:disabled{opacity:.45;cursor:default}#menu-ui :focus-visible{outline:none}#menu-ui.busy{pointer-events:none}#menu-ui .scrim{pointer-events:none;background:linear-gradient(90deg,#040e18d1 0,#040e188c 34%,#040e1800 62%);position:absolute;inset:0}#menu-ui.leaving-title[data-screen=title] :is(.stage,.scrim){opacity:0;transition:opacity .6s ease-out,transform .6s ease-out;transform:translateY(-1.5vh)}#menu-ui.leaving-title[data-screen=title] .scrim{transform:none}#menu-ui[data-screen=title] .scrim{background:radial-gradient(55% 40% at 50% 45%,#040e1866,#040e1800 70%),radial-gradient(#040e1800,#040e1880)}#menu-ui :is([data-screen=lobby],[data-screen=pause]) .scrim{background:#040e1873}#menu-ui .corner{width:46vh;color:var(--brass);opacity:.16;pointer-events:none;animation:240s linear infinite menu-spin;position:absolute;bottom:-6vh;right:-6vh}#menu-ui .stage{padding:calc(var(--u) * 4) calc(var(--u) * 4) calc(var(--u) * 4) calc(var(--u) * 7);justify-content:flex-start;align-items:center;display:flex;position:absolute;inset:0;overflow:hidden auto}#menu-ui .stage.center{padding-left:calc(var(--u) * 4);justify-content:center}#menu-ui[data-screen=title] .stage{justify-content:center;gap:calc(var(--u) * 6);flex-direction:column}#menu-ui .menu,#menu-ui .card{gap:calc(var(--u) * 1.3);width:min(calc(var(--u) * 36), 92vw);flex-direction:column;margin:auto 0;display:flex}#menu-ui .card--wide{width:min(calc(var(--u) * 46), 94vw)}#menu-ui .card--lobby{width:min(calc(var(--u) * 70), 94vw)}#menu-ui .card--narrow{width:min(calc(var(--u) * 30), 92vw)}#menu-ui .logo{text-align:center;flex-direction:column;align-items:center;gap:.3em;display:flex}#menu-ui .logo .rose{width:calc(var(--u) * 8);color:var(--brass);filter:drop-shadow(0 4px 10px #00000080);animation:60s linear infinite menu-spin}#menu-ui .logo h1{font-size:calc(var(--u) * 9);letter-spacing:.25em;color:var(--parch);text-shadow:0 2px 0 var(--brass2), 0 8px 24px #0009;margin:0;padding-left:.25em;font-weight:800}html:lang(en) #menu-ui .logo h1{font-size:min(calc(var(--u) * 5), 8vw);letter-spacing:.12em;padding-left:.12em}html:lang(en) #menu-ui .brand b{font-size:calc(var(--u) * 2.6);letter-spacing:.08em}#menu-ui .logo p{letter-spacing:.5em;color:var(--brass);font-size:calc(var(--u) * 1.6);margin:0}#menu-ui .logo hr{width:calc(var(--u) * 26);background:linear-gradient(90deg, transparent, var(--brass), transparent);border:0;height:2px;margin:.8em 0 0}#menu-ui .press{text-align:center;font-size:calc(var(--u) * 1.8);animation:menu-in .55s var(--spring) backwards .5s, menu-blink 1.8s ease-in-out 1.2s infinite;margin:0}#menu-ui .press small{opacity:.6;margin-top:.3em;font-size:.55em;display:block}#menu-ui .brand{border-bottom:1px solid var(--brass2);gap:.8em;margin-bottom:.4em;padding:0 .3em .3em;display:flex}#menu-ui .brand b{font-size:calc(var(--u) * 3.6);color:var(--parch);letter-spacing:.2em;text-shadow:0 2px 0 var(--brass2)}#menu-ui .brand small{color:var(--brass);letter-spacing:.35em;font-size:calc(var(--u) * 1.1)}#menu-ui .ver{left:auto;right:max(20px, calc(var(--u) * 3));bottom:max(12px, calc(var(--u) * 2));opacity:.6;font-size:max(11px, calc(var(--u) * .9));text-align:right;pointer-events:none;letter-spacing:.04em;margin:0;position:absolute}#menu-ui .btn,#menu-ui .card{background:var(--navy);color:var(--ink);box-shadow:inset 0 0 0 3px var(--navy), inset 0 0 0 4px #d0a94c47, 0 10px 30px #00000059;border:1px solid #d0a94c99;border-radius:3px}#menu-ui .card{padding:calc(var(--u) * 2.2)}#menu-ui .btn{text-align:left;min-height:calc(var(--u) * 5);flex-direction:column;justify-content:center;align-items:flex-start;gap:.15em;padding:.5em 1.1em;display:flex;position:relative}#menu-ui .btn small{opacity:.75;font-size:.85em}#menu-ui .btn--primary{border-color:#f3dc98}#menu-ui .btn--go{align-items:center}#menu-ui .btn--go b{font-size:calc(var(--u) * 2.4)}#menu-ui .btn.is-focus{translate:calc(var(--u) * .8) 0}#menu-ui .card .btn.is-focus{translate:0}#menu-ui :is(.btn,.back,.pill,.slot):active:not(:disabled){transition-duration:60ms;transform:scale(.96)}#menu-ui .head{align-items:center;gap:calc(var(--u) * 1.4);border-bottom:1px solid #d0a94c66;padding-bottom:.6em;display:flex}#menu-ui .head h2{min-width:0;font-size:calc(var(--u) * 2.4);text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0;overflow:hidden}#menu-ui .head--c{justify-content:center}#menu-ui .head--c h2{flex:none}#menu-ui :is(.back,.pill){white-space:nowrap;transition:transform .25s var(--spring);border:1px solid #d0a94c80;font-weight:700}#menu-ui .back{padding:.3em .8em}#menu-ui .pill{padding:.35em .9em;font-size:.9em}#menu-ui .row{min-height:calc(var(--u) * 4);border-bottom:1px dotted #d0a94c40;justify-content:space-between;align-items:center;gap:1em;display:flex}#menu-ui .row>span{font-weight:700}#menu-ui .seg{border:1px solid #d0a94c80;gap:.3em;padding:2px;display:flex}#menu-ui .seg button{opacity:.75;padding:.4em 1em;font-weight:700}#menu-ui .seg button.on{opacity:1}#menu-ui .tog{border:1px solid #d0a94c99;border-radius:99px;flex:none;width:3.4em;height:1.8em;position:relative}#menu-ui .tog i{width:1.4em;height:1.4em;transition:transform .3s var(--spring);border-radius:50%;position:absolute;top:.2em;left:.2em}#menu-ui .tog[aria-checked=true] i{transform:translate(1.6em)}#menu-ui .join{gap:.6em;display:flex}#menu-ui .join .btn{flex:none;min-height:0}#menu-ui .join .btn b{font-size:calc(var(--u) * 1.6)}#menu-ui input{min-width:0;color:var(--parch);background:#00000059;border:1px solid #d0a94c99;border-radius:3px;outline:0;flex:1;padding:.5em .8em;font-weight:800}#menu-ui select.lang{color:var(--parch);font:inherit;background:#00000059;border:1px solid #d0a94c99;border-radius:3px;outline:0;padding:.4em .8em;font-weight:800}#menu-ui select.lang:focus{border-color:var(--parch)}#menu-ui select.lang option{color:initial}#menu-ui input:focus{border-color:var(--parch)}#menu-ui input::placeholder{font-weight:700}#menu-ui .join--code input{text-transform:uppercase;letter-spacing:.3em;text-align:center}#menu-ui .field{white-space:nowrap;align-items:center;gap:.8em;font-weight:700;display:flex}#menu-ui .menu>.field{margin-bottom:calc(var(--u) * .25)}#menu-ui .note{margin:0;font-size:.85em}#menu-ui .loading{color:var(--brass);margin:0}#menu-ui .rooms{max-height:min(calc(var(--u) * 26), 40vh);gap:.5em;display:grid;overflow-y:auto}#menu-ui .room{background:#00000047;border:1px solid #d0a94c4d;border-radius:2px;align-items:center;gap:.8em;padding:.6em .9em;display:flex}#menu-ui .room>div{flex:1;gap:.2em;min-width:0;display:grid}#menu-ui .room strong{color:var(--parch);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#menu-ui .room small{opacity:.7;font-size:.8em}#menu-ui .room .count{white-space:nowrap;font-size:.85em}#menu-ui .code{color:var(--parch);letter-spacing:.25em;font-family:ui-monospace,Menlo,monospace}#menu-ui .teams{gap:calc(var(--u) * 1.6);grid-template-columns:1fr 1fr;display:grid}#menu-ui .team{flex-direction:column;gap:.5em;display:flex}#menu-ui .team h3{color:var(--brass);margin:0 0 .2em;font-size:1.15em}#menu-ui .team--b h3{color:#9fc4f5}#menu-ui .team--r h3{color:#ff9a86}#menu-ui .slot{text-align:left;background:#00000047;border:1px solid #d0a94c4d;border-radius:2px;justify-content:space-between;align-items:center;gap:.6em;padding:.7em 1em;font-weight:700;display:flex}#menu-ui .slot>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}#menu-ui .slot small{opacity:.7;flex-shrink:0;font-weight:500}#menu-ui .slot--me{border-color:var(--brass)}#menu-ui .slot--open{opacity:.6;width:100%;color:inherit;font:inherit;cursor:pointer;border-style:dashed;font-weight:700}#menu-ui .slot--open:hover,#menu-ui .slot--open:focus-visible{opacity:1;border-color:var(--brass)}#menu-ui .bar{flex-wrap:wrap;align-items:center;gap:.6em;display:flex}#menu-ui .bar .note{flex:1;min-width:12em}#menu-ui .keys{gap:.7em;margin:0;padding:0;list-style:none;display:grid}#menu-ui .keys kbd{border:1px solid var(--brass);margin-right:.2em;padding:.05em .45em;font:700 .8em ui-monospace,Menlo,monospace}#menu-ui .toast{left:50%;bottom:calc(var(--u) * 5);translate:-50% calc(var(--u) * 2);border:1px solid var(--brass2);opacity:0;pointer-events:none;max-width:90vw;transition:opacity .25s, translate .35s var(--spring);z-index:40;padding:.6em 1.2em;position:absolute}#menu-ui .toast.on{opacity:1;translate:-50%}#menu-ui .in{animation:menu-in .55s var(--spring) backwards;animation-delay:calc(var(--i,0) * 45ms + 30ms - var(--since,0s))}#menu-ui .stage.steady .in,#menu-ui .stage.ghost .in{animation:none}#menu-ui .stage.ghost{pointer-events:none;animation:menu-out .18s var(--out) forwards;overflow:hidden}#menu-ui .ver.in{animation-name:menu-fade}@keyframes menu-fade{0%{opacity:0}}#menu-ui .stage.ghost.back{animation-name:menu-out-back}#menu-ui .wipe{z-index:50;pointer-events:none;position:fixed;inset:0;overflow:hidden}#menu-ui .wipe[hidden]{display:none}#menu-ui .wipe b{border-radius:50%;width:150vmax;height:150vmax;margin:-75vmax 0 0 -75vmax;position:absolute;top:50%;left:50%}#menu-ui .wipe .rose{width:calc(var(--u) * 9);margin:calc(var(--u) * -4.5) 0 0 calc(var(--u) * -4.5);animation:2.4s linear infinite menu-spin;position:absolute;top:50%;left:50%}@keyframes menu-in{0%{opacity:0;translate:0 calc(var(--u) * 2.4)}}@keyframes menu-out{to{opacity:0;translate:calc(var(--u) * -3) 0}}@keyframes menu-out-back{to{opacity:0;translate:calc(var(--u) * 3) 0}}@keyframes menu-spin{to{rotate:360deg}}@keyframes menu-blink{50%{opacity:.45}}#menu-ui{--ink:var(--ui-text);--brass:var(--ui-coral);--brass2:#b76549;--navy:#173747eb;--parch:var(--ui-cream);--brown:var(--ui-ink);--font:var(--ui-font);letter-spacing:0}#menu-ui .corner{display:none}#menu-ui .logo{width:min(calc(var(--u) * 52), 86vw);height:calc(var(--u) * 23);justify-content:center}#menu-ui .logo h1.sinkem-title{letter-spacing:0;width:100%;text-shadow:none;margin:0;padding:0;font-size:0}#menu-ui .sinkem-logo{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}#menu-ui .brand{min-height:calc(var(--u) * 5);border-color:#0000;align-items:center;padding-left:0}#menu-ui .brand b.sinkem-brand{width:min(100%, calc(var(--u) * 25));letter-spacing:0;text-shadow:none;font-size:0;display:block}#menu-ui .brand .sinkem-logo{max-height:calc(var(--u) * 5);object-position:left center}#menu-ui .press{color:var(--ui-cream);letter-spacing:.05em;text-shadow:0 2px 2px #102b3877;font-weight:800}#menu-ui .press small{letter-spacing:.2em}#menu-ui[data-screen=title] .press{top:calc(var(--u) * -10 + 40px);letter-spacing:.2em;padding-left:.2em;position:relative}#menu-ui .press.waiting{animation:menu-in .55s var(--spring) backwards .5s;letter-spacing:.08em;font-size:calc(var(--u) * 1.4)}#menu-ui .press .load-bar{width:calc(var(--u) * 22);background:#102c3a99;border-radius:2px;height:4px;margin:.7em auto 0;display:block;overflow:hidden}#menu-ui .press .load-bar i{background:var(--ui-teal);width:0;height:100%;transition:width .3s ease-out;display:block}#menu-ui :is(.btn,.card){background:var(--ui-surface);box-shadow:var(--ui-relief);border-color:#0000;border-radius:11px}#menu-ui .btn{background:linear-gradient(#254b5b,#173747)}#menu-ui .btn:has(.btn-icon){grid-template-columns:calc(var(--u) * 2.2) minmax(0, 1fr);align-content:center;align-items:center;column-gap:calc(var(--u) * 1);row-gap:0;display:grid}#menu-ui .btn-icon{fill:currentColor;width:100%;height:auto;max-height:34px;color:var(--ui-cream);filter:drop-shadow(0 1px 1px #102b3866);display:block}#menu-ui .btn-copy{flex-direction:column;gap:.15em;min-width:0;display:flex}#menu-ui .btn b{font-size:calc(var(--u) * 2.2);letter-spacing:.025em;color:var(--ui-cream);text-shadow:0 1px 2px #071e2b88;font-weight:800;line-height:1.15}#menu-ui .btn--primary{color:var(--ui-cream);background:linear-gradient(#f59968,#df704b);box-shadow:inset 0 1px #ffe8ca88,inset 0 -3px #a74b3777,0 4px #0a263755,0 6px 14px #071e2b33}#menu-ui .btn--primary b,#menu-ui .btn--primary .btn-icon{color:var(--ui-cream);text-shadow:0 1px 2px #70332099}#menu-ui .btn{transition:filter .16s,translate .16s,transform .12s,box-shadow .16s}#menu-ui .btn.is-focus,#menu-ui .card .btn.is-focus{filter:brightness(1.14);translate:0 -2px;box-shadow:inset 0 1px #e4f4e544,inset 0 -3px #09263388,0 7px 14px #061b2a55}#menu-ui .btn--primary.is-focus{box-shadow:inset 0 1px #fff0ccaa,inset 0 -3px #a74b3788,0 7px 14px #061b2a55}#menu-ui .btn:active:not(:disabled),#menu-ui .card .btn:active:not(:disabled){filter:brightness(.96);transition-duration:60ms;transform:scale(.99);box-shadow:inset 0 2px 4px #09263355,inset 0 1px #fff0cc22}#menu-ui :is(.back,.pill,.seg button,.tog):focus-visible{filter:brightness(1.2)}#menu-ui :is(.btn,.pill,.back):disabled{opacity:.55;filter:saturate(.45)}#menu-ui .head{border-bottom-color:#9ac8ca22}#menu-ui .head h2{color:var(--ui-cream);letter-spacing:.03em;font-weight:800}#menu-ui :is(.back,.pill){color:var(--ui-cream);background:#2c5261;border-color:#0000;border-radius:7px;box-shadow:inset 0 1px #cee9e71a,inset 0 -2px #09263355}#menu-ui :is(.back,.pill).is-focus{color:#fff;background:#386575}#menu-ui .row{border-bottom-color:#9ac8ca19}#menu-ui :is(input,select.lang){color:var(--ui-cream);background:#102c3acf;border-color:#6796a34d;border-radius:7px;box-shadow:inset 0 2px 3px #061e2b44}#menu-ui input::placeholder{color:#9bb8bc}#menu-ui :is(input,select.lang):focus{border-color:var(--ui-teal)}#menu-ui .field{color:var(--ui-muted)}#menu-ui .field input{letter-spacing:.04em}#menu-ui .seg{background:#102c3a88;border-color:#0000;border-radius:8px}#menu-ui .seg button{border-radius:5px}#menu-ui .seg button.on{background:var(--ui-action);color:var(--ui-ink);box-shadow:inset 0 1px #ffe8ca66,inset 0 -2px #a74b3766}#menu-ui .tog{background:#102b38;border-color:#7098a044}#menu-ui .tog i{background:#73949e}#menu-ui .tog[aria-checked=true]{border-color:var(--ui-teal);background:#407f7c}#menu-ui .tog[aria-checked=true] i{background:var(--ui-cream)}#menu-ui .audio-volume input[type=range]{accent-color:var(--ui-teal);box-shadow:none}#menu-ui .note{color:var(--ui-muted);opacity:1}#menu-ui :is(.loading,.code){color:var(--ui-cream)}#menu-ui :is(.room,.slot){background:#102c3a66;border-color:#0000;border-radius:7px}#menu-ui .room .count{color:var(--ui-teal)}#menu-ui .slot--me{box-shadow:inset 3px 0 var(--ui-teal);background:#437b783b}#menu-ui .slot--open{background:#102c3a33}#menu-ui .team h3{letter-spacing:.08em}#menu-ui .ready{color:#87dbc0}#menu-ui .keys kbd{color:var(--ui-cream);background:#315564;border-color:#0000;border-radius:5px;box-shadow:inset 0 -2px #0c273a77}#menu-ui .toast{color:var(--ui-cream);box-shadow:var(--ui-relief);background:#214957;border-color:#79c9b955;border-radius:9px}#menu-ui .wipe b{background:radial-gradient(circle,#244e5d,#102b38 72%)}#menu-ui .wipe .rose{color:var(--ui-teal)}#menu-ui[data-screen=settings]:has(.desktop-settings) .stage{padding-top:12px;padding-bottom:12px;overflow-y:hidden}#menu-ui .desktop-settings{overscroll-behavior:contain;scrollbar-width:thin;gap:8px;max-height:calc(100% - 16px);padding:24px 28px;overflow:hidden}#menu-ui .desktop-settings .head{min-height:38px;padding-bottom:8px}#menu-ui .desktop-settings .head h2{font-size:24px}#menu-ui .desktop-settings .row{min-height:38px;padding:4px 0}#menu-ui .desktop-settings .note{margin:2px 0 5px;font-size:11.5px;line-height:1.35}#menu-ui .desktop-settings select{max-width:65%;min-height:30px;font:inherit;appearance:none;color:var(--ui-cream);background-color:#102c3a;background-image:linear-gradient(45deg,#0000 50%,#acc8ca 50%),linear-gradient(135deg,#acc8ca 50%,#0000 50%);background-position:calc(100% - 16px),calc(100% - 11px);background-repeat:no-repeat;background-size:5px 5px;border:1px solid #6796a366;border-radius:7px;padding:4px 28px 4px 8px;font-size:13px;font-weight:700;box-shadow:inset 0 2px 3px #061e2b44}#menu-ui .desktop-settings select option{color:var(--ui-cream);background:#173747}#menu-ui .desktop-settings select:focus-visible{outline:2px solid var(--ui-teal);outline-offset:2px;border-color:var(--ui-teal)}#menu-ui .desktop-settings .seg button{padding-top:4px;padding-bottom:4px;font-size:13px}#menu-ui .desktop-settings .row:last-child{border-bottom:0}#menu-ui:is([data-screen=settings],[data-screen=howto]) .scrim{background:#04101a7a}#menu-ui:is([data-screen=settings],[data-screen=howto]) .stage:not(.ghost){justify-content:center;padding:16px}#menu-ui :is(.desktop-settings,.howto-card){color:#edf7f9;background:linear-gradient(160deg,#315f73,#193e52 65%,#153448);border:2px solid #081926;border-radius:16px;gap:12px;width:min(520px,100%);max-height:100%;padding:22px 26px;box-shadow:inset 0 1px #fff3,0 4px #081926,0 8px 24px #04101a80}#menu-ui :is(.desktop-settings,.howto-card)>.in{animation:.15s ease-out backwards menu-fade}#menu-ui .dialog-head{border-bottom:2px solid #8fbdcd33;gap:12px;min-height:40px;padding-bottom:12px}#menu-ui .dialog-head h2{letter-spacing:.01em;color:#fff0d2;font-size:24px}#menu-ui .dialog-head .dialog-close{color:#edf7f9;background:linear-gradient(#366779,#204758);border:2px solid #081926;border-radius:10px;flex:0 0 36px;place-items:center;width:36px;height:36px;padding:0;font:800 26px/1 system-ui;transition:translate .12s,filter .12s;display:grid;transform:none;box-shadow:0 3px #0b2230,inset 0 1px #ffffff40}#menu-ui .dialog-close.is-focus{filter:brightness(1.1)}@media (hover:hover){#menu-ui .dialog-head .dialog-close:hover{filter:brightness(1.1);translate:0 -2px}}#menu-ui .dialog-head .dialog-close:active{filter:brightness(.94);transform:none}#menu-ui .desktop-settings .row{border-bottom:2px solid #8fbdcd22}#menu-ui .desktop-settings .row>span{font-size:15px}#menu-ui .desktop-settings .seg{background:#102c3a;border:2px solid #081926;border-radius:9px;padding:3px}#menu-ui .desktop-settings .seg button{color:#cfdee3;box-shadow:none}#menu-ui .desktop-settings .seg button.on{color:#fffef2;background:linear-gradient(#ff8c42,#f05c22);box-shadow:inset 0 1px #fff6,0 2px #9c3315}#menu-ui .desktop-settings .audio-volume input[type=range]{accent-color:#39cbb6}#menu-ui .howto-card .keys{flex-direction:column;gap:0;margin:0;padding:0;font-size:16px;line-height:1.5;list-style:none;display:flex}#menu-ui .howto-card .keys li{border-bottom:2px solid #8fbdcd22;padding:12px 0}#menu-ui .howto-card .keys li:last-child{color:#b4dddb;border:0;padding-bottom:0}#menu-ui .howto-card .keys kbd{text-align:center;color:#fff0d2;background:#315e73;border:2px solid #081926;border-radius:6px;min-width:32px;margin-right:6px;padding:3px 7px;font-size:14px;font-weight:800;line-height:1.3;display:inline-block;box-shadow:0 2px #0b2230}#menu-ui .howto-card{overflow-y:auto}#menu-ui:is([data-screen=create],[data-screen=online]) .scrim{background:#04101a7a}#menu-ui:is([data-screen=create],[data-screen=online]) .stage:not(.ghost){justify-content:center;padding:20px;overflow:hidden}#menu-ui .room-panel{color:#edf7f9;scrollbar-width:thin;scrollbar-color:#7ab5c5 #102c3a;background:linear-gradient(160deg,#315f73,#193e52 65%,#153448);border:2px solid #081926;border-radius:16px;gap:16px;width:min(580px,100%);min-height:0;max-height:100%;margin:auto;padding:22px 26px;font-size:15px;overflow-y:auto;box-shadow:inset 0 2px #fff3,0 4px #081926,0 8px 24px #04101a80}#menu-ui .room-panel--create{gap:20px;width:min(440px,100%)}#menu-ui .room-panel>:not(.rooms){flex-shrink:0}#menu-ui .room-panel>.in{animation:.15s ease-out backwards menu-fade}#menu-ui .room-panel .field{color:#fff0d2;flex-direction:column;align-items:stretch;gap:10px;font-size:16px}#menu-ui .room-panel input{color:#edf7f9;background:#102c3a;border:2px solid #081926;border-radius:10px;width:100%;min-height:46px;padding:10px 14px;font-size:16px;box-shadow:inset 0 2px 4px #061e2b66}#menu-ui .room-panel input::placeholder{color:#abc7d2;opacity:1;font-weight:600}#menu-ui .room-panel input:focus{border-color:#41c9c3}#menu-ui .room-panel .note{color:#b4ced7;font-size:13px;line-height:1.45}#menu-ui .room-panel .btn,#menu-ui .room-panel .pill{color:#edf7f9;text-align:center;background:linear-gradient(#2b6177,#1a4254);border:2px solid #081926;border-radius:10px;flex-direction:row;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:9px 16px;font-size:14px;font-weight:800;transition:translate .12s,filter .12s;display:flex;transform:none;box-shadow:inset 0 2px #ffffff47,0 4px #0d2733,0 6px 14px #04101a66}#menu-ui .room-panel .btn b{color:#fffef2;letter-spacing:0;font-size:18px;line-height:1.2}#menu-ui .room-panel .btn--primary{background:linear-gradient(#ff8c42 0%,#ff6b2b 46%,#f04e11 50%,#f85c1c 100%);min-height:48px;box-shadow:inset 0 2px #ffffff80,0 4px #9c3315,0 6px 14px #04101a66}#menu-ui .room-panel--create .btn--go{min-height:54px}#menu-ui .room-panel .room-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}#menu-ui .room-panel .join{gap:12px;margin:0}#menu-ui .room-panel .join input{flex:1}#menu-ui .room-panel .join--code .btn{min-width:110px}#menu-ui .room-panel .rooms{scrollbar-width:thin;scrollbar-color:#7ab5c5 #102c3a;flex:150px;min-height:80px;max-height:220px;padding:4px 10px 6px 0;overflow-y:auto}#menu-ui .room-panel .room{background:#102c3a;border:2px solid #081926;border-radius:10px;gap:12px;padding:12px}#menu-ui .room-panel .room strong{color:#fff0d2;font-size:15px}#menu-ui .room-panel .room small{color:#b4ced7;opacity:1;font-size:12px;line-height:1.4}#menu-ui .room-panel .room .count{color:#b4ced7;font-size:12px}#menu-ui .room-panel :is(.btn,.pill,.dialog-close).is-focus{filter:brightness(1.1);translate:0}#menu-ui .room-panel :is(.btn,.pill,.dialog-close):focus-visible{filter:brightness(1.1);translate:0 -2px}@media (hover:hover){#menu-ui .room-panel :is(.btn,.pill,.dialog-close):not(:disabled):hover{filter:brightness(1.1);translate:0 -2px}}#menu-ui .room-panel :is(.btn,.pill,.dialog-close):not(:disabled):active{filter:brightness(.94);transform:none}#menu-ui .room-panel :is(.btn,.pill):disabled{filter:none;transform:none}@media (height<=560px){#menu-ui .room-panel{gap:12px;padding:18px 22px}#menu-ui .room-panel .dialog-head{padding-bottom:8px}}@media (width<=520px){#menu-ui .room-panel{gap:12px;padding:16px}#menu-ui .room-panel .room{flex-wrap:wrap;gap:8px}#menu-ui .room-panel .room>div{flex-basis:100%}#menu-ui .room-panel .room .pill{margin-left:auto}#menu-ui .room-panel .dialog-head h2{font-size:21px}}@media (width<=720px){#menu-ui{--u:9px}#menu-ui .corner{width:min(46vh,70vw)}#menu-ui .stage,#menu-ui .stage.center{padding:calc(var(--u) * 4) 16px;padding-top:max(24px, env(safe-area-inset-top));justify-content:center}#menu-ui .teams{grid-template-columns:1fr}#menu-ui .ver{right:max(16px, env(safe-area-inset-right));bottom:max(10px, env(safe-area-inset-bottom));font-size:11px}#menu-ui .scrim{background:#040e1899}}@media (hover:hover){#menu-ui .btn:not(:disabled):hover{filter:brightness(1.14);translate:0 -2px}}@media (height<=560px){#menu-ui[data-screen=settings]:has(.desktop-settings) .stage{padding-top:8px;padding-bottom:8px}#menu-ui .desktop-settings{gap:6px;padding:18px 24px}#menu-ui .desktop-settings .head{min-height:34px;padding-bottom:6px}#menu-ui .desktop-settings .head h2{font-size:21px}#menu-ui .desktop-settings .row{min-height:35px;padding:3px 0}#menu-ui .desktop-settings .note{margin:1px 0 3px;font-size:11px}}@media (height<=440px){#menu-ui .desktop-settings{gap:4px;padding:12px 18px}#menu-ui .desktop-settings .head{min-height:28px;padding-bottom:4px}#menu-ui .desktop-settings .head h2{font-size:18px}#menu-ui .desktop-settings .row{min-height:30px;padding:2px 0}#menu-ui .desktop-settings .note{margin:0 0 2px;font-size:10.5px}}@media (height<=400px){#menu-ui .desktop-settings{overflow-y:auto}}@media (width>=721px) and (height<=620px){#menu-ui[data-screen=lobby] .stage{padding-top:16px;padding-bottom:16px}#menu-ui .card--lobby{gap:8px;padding-top:16px;padding-bottom:16px}#menu-ui .card--lobby .slot{padding-top:.5em;padding-bottom:.5em}}@media (prefers-reduced-motion:reduce){#menu-ui .stage.ghost{display:none}#menu-ui *,#menu-ui :before,#menu-ui :after{transition:none!important;animation:none!important}#menu-ui .btn{transition:none}#menu-ui .btn.is-focus,#menu-ui .card .btn.is-focus,#menu-ui .btn:not(:disabled):hover,#menu-ui .btn:active:not(:disabled){translate:revert;transform:none}}#menu-ui[data-screen=main]{--home-u:clamp(7px, min(1vw, 1.7778vh), 14px);--home-center:50%;--home-logo-top:clamp(8px, calc(var(--home-u) * 1), 16px);--home-launch-bottom:max(env(safe-area-inset-bottom), clamp(22px, calc(var(--home-u) * 5.8 - 18px), 56px));--home-width:clamp(260px, min(36vw, 380px), 420px);--home-play-height:clamp(66px, calc(var(--home-u) * 6.5 + 10px), 94px);--home-btn-radius:clamp(10px, calc(var(--home-u) * 1.1), 14px);--home-play-radius:clamp(14px, calc(var(--home-u) * 1.6), 20px)}#menu-ui[data-screen=main] .scrim{display:none}#menu-ui[data-screen=main] .stage{padding:0;overflow:hidden}#menu-ui[data-screen=main] .home-menu{touch-action:none;width:100%;margin:0;display:block;position:absolute;inset:0}#menu-ui[data-screen=main] .brand{left:var(--home-center);top:var(--home-logo-top);width:calc(var(--home-width) * 1.02);filter:drop-shadow(0 4px 10px #00000073);border:0;min-height:0;margin:0;padding:0;position:absolute;translate:-50%}#menu-ui[data-screen=main] .brand b.sinkem-brand{width:100%}#menu-ui[data-screen=main] .brand .sinkem-logo{object-position:center;width:100%;max-height:none}#menu-ui .home-launch{left:var(--home-center);bottom:var(--home-launch-bottom);width:var(--home-width);gap:clamp(14px, calc(var(--home-u) * 1.6), 22px);z-index:10;flex-direction:column;display:flex;position:absolute;translate:-50%}#menu-ui .home-play.btn{justify-content:center;align-items:center;gap:clamp(8px, calc(var(--home-u) * 1.2), 14px);width:100%;height:var(--home-play-height);min-height:0;padding:0 clamp(14px, calc(var(--home-u) * 1.8), 24px);border-radius:var(--home-play-radius);--home-rest-shadow:inset 0 2px 0 #ffffff80, inset 0 -2px 0 #0003, 0 clamp(5px, calc(var(--home-u) * .6), 8px) 0 #9c3315, 0 14px 24px #04101aa6;box-shadow:var(--home-rest-shadow);background:linear-gradient(#ff8c42 0%,#ff6b2b 46%,#f04e11 50%,#f85c1c 100%);border:3px solid #081926;flex-direction:row;transition:transform .1s cubic-bezier(.2,.8,.3,1),box-shadow .1s cubic-bezier(.2,.8,.3,1),filter .15s;display:flex;position:relative;overflow:hidden}#menu-ui .home-play.btn:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#fff6,#0000);width:35%;height:200%;animation:4.5s ease-in-out infinite home-play-sheen;position:absolute;top:-50%;left:-60%;transform:rotate(25deg)}@keyframes home-play-sheen{0%,65%{left:-60%}85%,to{left:160%}}#menu-ui .home-play b{font-size:clamp(20px, calc(var(--home-u) * 2.8), 38px);letter-spacing:.04em;white-space:nowrap;color:#fffef2;text-shadow:0 2px #85250c,0 3px 6px #0006;font-weight:900}#menu-ui .home-play .btn-icon{width:clamp(20px, calc(var(--home-u) * 2.7), 36px);height:clamp(20px, calc(var(--home-u) * 2.7), 36px);filter:drop-shadow(0 2px #85250c);flex-shrink:0}#menu-ui .home-rooms{gap:clamp(8px, calc(var(--home-u) * .9), 12px);width:100%;display:flex}#menu-ui .home-rooms .pill{min-width:0;height:clamp(36px, calc(var(--home-u) * 4), 46px);min-height:0;padding:0 clamp(8px, calc(var(--home-u) * 1.2), 14px);font-size:clamp(13px, calc(var(--home-u) * 1.45), 17px);letter-spacing:.02em;white-space:nowrap;text-align:center;border-radius:var(--home-btn-radius);--home-rest-shadow:0 4px 0 #0d2733, 0 6px 14px #04101a80, inset 0 1px 0 #ffffff47;box-shadow:var(--home-rest-shadow);color:#edf7f9;text-shadow:0 1px 2px #00000080;background:linear-gradient(#2b6177 0%,#1a4254 100%);border:2px solid #081926;flex:1;justify-content:center;align-items:center;font-weight:800;transition:transform .1s,box-shadow .1s,filter .15s;display:flex}#menu-ui .home-invite{border-radius:var(--home-btn-radius);--home-rest-shadow:0 4px 0 #0d2733, 0 6px 14px #04101a80, inset 0 1px 0 #ffffff47;box-shadow:var(--home-rest-shadow);color:#edf7f9;background:linear-gradient(#2b6177 0%,#1a4254 100%);border:2px solid #081926;padding:9px 12px;font-size:14px}#menu-ui .home-side{bottom:var(--home-launch-bottom);left:max(16px, env(safe-area-inset-left), calc(var(--home-u) * 2));width:clamp(170px, calc(var(--home-u) * 19), 240px);gap:clamp(8px, calc(var(--home-u) * .9), 12px);z-index:10;flex-direction:column;display:flex;position:absolute}#menu-ui .home-customize.btn{justify-content:center;align-items:center;gap:clamp(8px, calc(var(--home-u) * 1.1), 12px);width:100%;height:clamp(48px, calc(var(--home-u) * 5.4), 64px);min-height:0;padding:0 clamp(12px, calc(var(--home-u) * 1.5), 20px);border-radius:var(--home-play-radius);--home-rest-shadow:inset 0 2px 0 #ffffff80, inset 0 -2px 0 #0003, 0 clamp(4px, calc(var(--home-u) * .55), 7px) 0 #075649, 0 12px 22px #04101a99;box-shadow:var(--home-rest-shadow);background:linear-gradient(#22c7aa 0%,#13a88f 46%,#0b8f79 50%,#0d9b84 100%);border:3px solid #081926;flex-direction:row;transition:transform .1s cubic-bezier(.2,.8,.3,1),box-shadow .1s cubic-bezier(.2,.8,.3,1),filter .15s;display:flex;position:relative;overflow:hidden}#menu-ui .home-customize b{font-size:clamp(16px, calc(var(--home-u) * 2.2), 24px);letter-spacing:.04em;white-space:nowrap;color:#fffef2;text-shadow:0 2px #05453a,0 2px 6px #0006;font-weight:900}#menu-ui .home-customize .btn-icon{width:clamp(20px, calc(var(--home-u) * 2.5), 30px);height:clamp(20px, calc(var(--home-u) * 2.5), 30px);fill:#fffef2;filter:drop-shadow(0 2px #05453a);flex-shrink:0}#menu-ui .captain-tag{width:100%;height:clamp(32px, calc(var(--home-u) * 3.4), 38px);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#071720c7;border:1.5px solid #82b9cd59;border-radius:999px;align-items:center;gap:6px;padding:0 12px;transition:border-color .15s,background .15s;display:flex;box-shadow:0 4px 12px #020a1066,inset 0 1px #ffffff1f}#menu-ui .captain-tag:focus-within{background:#071720f2;border-color:#27d0c2;box-shadow:0 4px 14px #27d0c259}#menu-ui .captain-icon{opacity:.75;flex-shrink:0;font-size:14px;line-height:1}#menu-ui .captain-edit{opacity:.55;color:#8ec8d4;flex-shrink:0;font-size:13px;line-height:1}#menu-ui .captain-tag input{min-width:0;height:100%;font-size:clamp(12px, calc(var(--home-u) * 1.3), 15px);color:#f6ede0;box-shadow:none;background:0 0;border:0;outline:none;flex:1;padding:0;font-weight:700}#menu-ui .captain-tag input::placeholder{color:#f6ede080;font-weight:500}#menu-ui .home-tools{right:max(16px, env(safe-area-inset-right), calc(var(--home-u) * 2));bottom:var(--home-launch-bottom);gap:clamp(8px, calc(var(--home-u) * .8), 12px);z-index:10;display:flex;position:absolute}#menu-ui .home-tools .btn{width:clamp(38px, calc(var(--home-u) * 4.2), 48px);height:clamp(38px, calc(var(--home-u) * 4.2), 48px);min-width:0;min-height:0;padding:clamp(8px, calc(var(--home-u) * .9), 11px);border-radius:var(--home-btn-radius);--home-rest-shadow:0 4px 0 #0d232e, 0 6px 12px #04101a80, inset 0 1px 0 #ffffff40;box-shadow:var(--home-rest-shadow);background:linear-gradient(#2b5668 0%,#173747 100%);border:2px solid #081926;place-items:center;transition:transform .1s,box-shadow .1s,filter .15s;display:grid}#menu-ui[data-screen=main] .home-menu :is(.btn,.pill){transition:filter .12s,translate .12s;transform:none}#menu-ui[data-screen=main] .home-menu :is(.btn,.pill):is(:hover,:focus-visible,.is-focus,:active){box-shadow:var(--home-rest-shadow);transform:none}#menu-ui[data-screen=main] .home-menu :is(.btn,.pill):is(:focus-visible,.is-focus){filter:brightness(1.1)}#menu-ui[data-screen=main] .home-menu :is(.btn,.pill):focus-visible{translate:0 -2px}@media (hover:hover){#menu-ui[data-screen=main] .home-menu :is(.btn,.pill):hover{filter:brightness(1.1);translate:0 -2px}}#menu-ui[data-screen=main] .home-menu :is(.btn,.pill):active:not(:disabled){filter:brightness(.94);translate:0 1px}#menu-ui[data-screen=main] .home-menu :is(.btn,.pill):focus-visible{outline:none}@media (prefers-reduced-motion:reduce){#menu-ui[data-screen=main] .home-menu :is(.btn,.pill){transition:none}#menu-ui .home-play.btn:after{opacity:0;animation:none}}#menu-ui .home-tools svg{fill:#edf7f9;width:100%;height:100%}#menu-ui[data-screen=main] .ver{left:max(16px, env(safe-area-inset-left), calc(var(--home-u) * 2));bottom:clamp(6px, calc(var(--home-launch-bottom) * .25), 14px);opacity:.55;font-size:clamp(10px, calc(var(--home-u) * .9), 12px);pointer-events:none;margin:0;position:absolute}@media (height<=520px) and (orientation:landscape){#menu-ui[data-screen=main]{--home-logo-top:clamp(6px, 1.5vh, 10px);--home-play-height:clamp(50px, 13vh, 58px);--home-width:clamp(230px, 34vw, 300px);--home-launch-bottom:clamp(16px, 5vh, 24px)}#menu-ui .home-launch{gap:clamp(10px,2.5vh,14px)}#menu-ui .home-side{gap:5px;width:clamp(140px,20vw,180px)}#menu-ui .home-customize.btn{height:clamp(38px,10vh,46px);padding:0 10px}#menu-ui .home-customize b{font-size:13px}#menu-ui .captain-tag{height:28px;padding:0 8px}#menu-ui .captain-tag input{font-size:12px}#menu-ui .home-rooms .pill{height:34px;font-size:13px}#menu-ui .home-tools .btn{width:36px;height:36px;padding:7px}}@media (orientation:portrait){#menu-ui[data-screen=main]{--home-width:min(calc(100vw - 32px), 360px);--home-launch-bottom:max(16px, env(safe-area-inset-bottom));--home-play-height:clamp(64px, 8vh, 76px);--home-logo-top:clamp(56px, 7.5vh, 76px)}#menu-ui[data-screen=main] .brand{top:var(--home-logo-top);width:min(84vw,320px)}#menu-ui .home-tools{left:50%;right:auto;bottom:var(--home-launch-bottom);z-index:10;gap:16px;display:flex;position:absolute;translate:-50%}#menu-ui .home-tools .btn{width:44px;height:44px}#menu-ui .home-launch{bottom:calc(var(--home-launch-bottom) + 56px);width:var(--home-width);gap:clamp(12px,1.8vh,16px)}#menu-ui .home-side{left:50%;bottom:calc(var(--home-launch-bottom) + 56px + var(--home-play-height) + clamp(36px, calc(var(--home-u) * 4), 46px) + 20px);width:var(--home-width);flex-direction:row;align-items:center;gap:8px;padding:0;position:absolute;translate:-50%}#menu-ui .home-side .home-customize.btn,#menu-ui .home-side .captain-tag{flex:1;min-width:0;height:42px}#menu-ui[data-screen=main] .ver{left:auto;right:12px;bottom:max(6px, env(safe-area-inset-bottom))}}@media (hover:none){#menu-ui .home-rooms .pill{min-height:40px}}#menu-ui[data-screen=main] .home-menu.is-dragging-ship{cursor:grabbing;-webkit-user-select:none;user-select:none}#menu-ui .tutorial-intro-card{box-sizing:border-box;text-align:center;gap:12px;width:min(390px,100vw - 32px)}#menu-ui .tutorial-intro-prize{color:#8df2d1;flex-direction:column;align-items:center;gap:6px;font-size:18px;font-weight:850;display:flex}#menu-ui .tutorial-intro-prize img{object-fit:contain;filter:drop-shadow(0 5px 8px #051c2b66);width:116px;height:96px}#menu-ui .tutorial-intro-card h3{color:#ffe6ae;margin:0;font-size:20px;line-height:1.3}#menu-ui .tutorial-intro-card p{color:#d5e8ec;margin:0;font-size:14px;line-height:1.5}#menu-ui .tutorial-intro-card>.btn{min-height:48px;margin-top:4px}@media (height<=540px){#menu-ui .tutorial-intro-card{gap:8px}#menu-ui .tutorial-intro-prize img{width:96px;height:76px}}#menu-ui .home-customize.btn.tutorial-equip-needed{animation:1.2s ease-in-out infinite tutorial-equip-attention;overflow:visible}.tutorial-equip-hint{box-sizing:border-box;color:#173747;text-align:center;pointer-events:none;background:#ffce65;border:2px solid #092936;border-radius:10px;width:190px;padding:9px 12px;font:850 13px/1.35 system-ui,sans-serif;position:absolute;bottom:calc(100% + 14px);left:50%;translate:-50%;box-shadow:0 4px #092936}.tutorial-equip-hint:after{content:"↓";color:#ffce65;text-shadow:0 2px #092936;font:900 28px/1 system-ui;animation:.8s ease-in-out infinite tutorial-equip-arrow;position:absolute;top:100%;left:50%;translate:-50%}.tutorial-equip-hint[hidden]{display:none}@keyframes tutorial-equip-attention{0%,to{filter:brightness();scale:1}50%{filter:brightness(1.18);scale:1.09}}@keyframes tutorial-equip-arrow{0%,to{transform:translateY(0)}50%{transform:translateY(6px)}}@media (prefers-reduced-motion:reduce){#menu-ui .home-customize.btn.tutorial-equip-needed,.tutorial-equip-hint:after{animation:none}}#menu-ui .tutorial-intro-card>.tutorial-start.btn{--tutorial-button-shadow:inset 0 2px #fff6,inset 0 -2px #0003,0 4px #9c3315,0 8px 12px #04101a44;width:100%;min-height:48px;box-shadow:var(--tutorial-button-shadow);background:linear-gradient(#ff8c42 0%,#ff6b2b 46%,#f04e11 50%,#f85c1c 100%);border:3px solid #081926;border-radius:11px;padding:12px 18px;transition:translate .12s,filter .12s;animation:none;transform:translate(0,0)}#menu-ui .tutorial-intro-card .tutorial-start.btn b{color:#fffef2;text-shadow:0 2px #85250f;font-size:20px}#menu-ui .tutorial-intro-card>.tutorial-start.btn:is(:hover,:focus-visible,.is-focus){box-shadow:var(--tutorial-button-shadow);filter:brightness(1.08);outline:none;transform:translateY(-2px)}#menu-ui .tutorial-intro-card>.tutorial-start.btn:active:not(:disabled){filter:brightness(.96);translate:0 1px}:root{--hud-bottom-gap:max(clamp(8px, 1.2dvh, 12px), env(safe-area-inset-bottom,0px));--console-height:calc(96px * var(--hud-scale,1) + var(--hud-bottom-gap))}#bottom.console{--action-area-width:112px;--action-area-gap:10px;--equipment-right:calc(9px + var(--action-area-width) + var(--action-area-gap));top:auto;left:50%;bottom:var(--hud-bottom-gap);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);width:450px;max-width:none;height:96px;color:var(--text);z-index:2;isolation:isolate;transform:translateX(-50%) scale(var(--hud-scale,1));transform-origin:50% 100%;background:linear-gradient(145deg,#244e61b8,#102e42cf);border:2px solid #b4e6e84d;border-radius:12px;padding:0;font:500 13px/1.2 PingFang SC,Microsoft YaHei,system-ui,sans-serif;position:fixed;box-shadow:inset 0 2px #c2f0eb26,0 3px 12px #061e3233}#bottom.console *,#bottom.console :before,#bottom.console :after{box-sizing:border-box}#bottom.console [hidden]{display:none!important}#bottom.console button{font:inherit;color:inherit;touch-action:manipulation;cursor:pointer}#bottom.console b,#bottom.console #gold,#bottom.console #kd{font-variant-numeric:tabular-nums}#bottom.console .porthole{border:2px solid #d8c58e99;border-radius:10px;width:34px;height:34px;padding:0;position:absolute;top:7px;left:9px;overflow:hidden}#bottom.console #portrait{object-fit:contain;pointer-events:none;width:100%;height:100%}#bottom.console .plate{left:49px;right:var(--equipment-right);position:absolute;top:6px}#bottom.console #shipname{text-overflow:ellipsis;color:#fff1cd;white-space:nowrap;font-size:13px;font-weight:700;display:block;overflow:hidden}#bottom.console .hpwrap{left:49px;right:var(--equipment-right);border:2px solid #112f3e;border-radius:5px;height:18px;position:absolute;top:27px;overflow:hidden}#bottom.console #hpbar{transition:width .16s linear;position:absolute;inset:0 auto 0 0}#bottom.console #hptext{place-items:center;font-size:12px;font-weight:800;display:grid;position:absolute;inset:0}#bottom.console #hint{pointer-events:none;border:2px solid #8fb9c24d;border-radius:7px;max-width:450px;padding:5px 9px;font-size:11px;position:absolute;bottom:102px;left:0}#bottom.console #hint:empty{display:none}#bottom.console:has(#console-details:not([hidden])) #hint{display:none}#bottom.console #shopbtn{width:var(--action-area-width);white-space:nowrap;border:2px solid #d1b97b88;border-radius:8px;justify-content:center;align-items:center;gap:5px;height:38px;padding:0 5px;display:flex;position:absolute;top:7px;right:9px}#bottom.console .coin{background:linear-gradient(135deg,#ffe9a0 0 40%,#f5c95c 40%);border:2px solid #d09f41;border-radius:50%;flex:0 0 15px;width:15px;height:17px;box-shadow:inset 0 0 0 2px #ffe7a0}#bottom.console #gold{color:#ffe49a;letter-spacing:-.03em;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:15px;font-weight:800}#bottom.console .shop-label{font-size:11px}#bottom.console #skill{border:2px solid #e7ca7b;border-radius:9px;width:40px;min-width:0;height:40px;padding:0;position:absolute;top:48px;left:9px}#bottom.console #skill img{object-fit:contain;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}#bottom.console #skill .sweep{border-radius:6px;position:absolute;inset:0}#bottom.console #skilltime{text-shadow:0 2px 3px #061e2c;place-items:center;font-size:15px;font-weight:800;display:grid;position:absolute;inset:0}#bottom.console #skill.ready .sweep{display:none}#bottom.console #skill:disabled{cursor:default;filter:grayscale(.8)}#bottom.console #skill .key{border-radius:3px;padding:0 3px;font-size:10px;position:absolute;bottom:1px;left:1px}#bottom.console #skillname{display:none}#bottom.console #loadout-toggle{left:59px;right:calc(var(--equipment-right) + 100px);text-align:left;background:0 0;border:0;border-radius:6px;height:42px;padding:0;position:absolute;top:46px}#bottom.console .loadout-counts{white-space:nowrap;align-items:center;gap:6px;height:16px;font-size:11px;display:flex}#bottom.console #gear-count{font-size:10px}#bottom.console .equipment-toggle{text-align:left;background:0 0;border:0;border-radius:5px;height:42px;padding:0;position:absolute;top:46px}#bottom.console #gear-toggle{right:calc(var(--equipment-right) + 36px);width:51px}#bottom.console #relic-toggle{right:var(--equipment-right);width:24px}#bottom.console #relic-toggle .loadout-counts{color:#c4b6d7;justify-content:center;font-size:10px}#bottom.console #relic-toggle:before{content:"";background:#9dc6d144;width:2px;position:absolute;top:3px;bottom:0;left:-8px}#bottom.console #gear-strip{grid-template-columns:repeat(2,24px);gap:3px;margin-top:2px;display:grid}#bottom.console #relic-strip{margin-top:2px;display:block}#bottom.console .mini-slot.gear-slot{border-color:#66b9b76b}#bottom.console .mini-slot.relic-slot{border-color:#b89bd680}#bottom.console .mini-slot.relic-slot.empty:after{content:"";border:2px solid #b89bd655;width:9px;height:9px;transform:rotate(45deg)}#bottom.console .expand-mark{color:#a9cbd3;margin-left:auto}#bottom.console #loadout-toggle[aria-expanded=true] .expand-mark{transform:rotate(180deg)}#bottom.console #weapon-strip{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin-top:2px;display:grid}#bottom.console #weapon-strip .mini-slot{width:100%}#bottom.console #weapon-strip .mini-slot img{max-width:100%}#bottom.console .mini-slot{border:2px solid #9dc6d15c;border-radius:5px;place-items:center;width:24px;height:24px;display:grid;position:relative}#bottom.console .mini-slot img{object-fit:contain;pointer-events:none;width:20px;height:20px}#bottom.console .mini-slot.locked img{opacity:.5;width:14px;height:14px}#bottom.console .battle-actions{width:var(--action-area-width);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid;position:absolute;top:48px;right:9px}#bottom.console :is(.battle-actions button,#scorebtn){white-space:nowrap;background:#416a8044;border:2px solid #9dc6d166;border-radius:8px;justify-content:center;align-items:center;gap:4px;min-width:0;height:40px;padding:4px;font-size:13px;display:flex}#bottom.console .battle-actions button{gap:3px;padding:2px;font-size:12px}#bottom.console .battle-actions .key{color:#9ab7c4;font-size:9px}html:not(:lang(zh)) #bottom.console .battle-actions button{flex-direction:column;gap:0;line-height:1.1}#bottom.console #console-details{background:#143448f5;border:2px solid #91c6d477;border-radius:12px;width:410px;max-height:calc(100dvh - 134px);padding:12px;position:absolute;bottom:106px;left:50%;overflow-y:auto;transform:translate(-50%);box-shadow:0 8px 24px #061b3155}#bottom.console .details-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}#bottom.console .details-header strong{color:#f6e8bf;font-size:16px;display:block}#bottom.console #kd{color:#a5c0cc;margin-top:4px;font-size:12px;display:block}#bottom.console #console-details-close{background:#416a8044;border:2px solid #829fa34d;border-radius:8px;width:36px;height:36px;padding:0;font-size:24px}#bottom.console #stats{color:#adc8cf;border:2px solid #709eae33;border-radius:8px;grid-template-columns:repeat(2,1fr);gap:8px;padding:10px;display:grid}#bottom.console #stats span{white-space:nowrap;align-items:center;gap:6px;font-size:14px;display:flex}#bottom.console #stats svg{width:16px;height:16px}#bottom.console #stats b{margin-left:auto;font-size:15px}#bottom.console #stats .heal{color:#93e6a3}#bottom.console .details-label{justify-content:space-between;align-items:center;gap:8px;margin:14px 0 8px;display:flex}#bottom.console .details-label>span{color:#8dabb8;font-size:12px}#bottom.console #wslots{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}#bottom.console :is(.wslot,.gslot){background:#0b2b3d70;border:2px solid #9dc6d15c;border-radius:7px;min-width:0;height:54px;padding:0;position:relative;overflow:hidden}#bottom.console .wslot img{object-fit:contain;pointer-events:none;width:100%;height:43px;position:absolute;top:0;left:0}#bottom.console .wslot .item-name{text-overflow:ellipsis;white-space:nowrap;pointer-events:none;padding:2px 0;font-size:12px;line-height:14px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}#bottom.console .wslot.locked img{opacity:.55;width:22px;height:22px;top:15px;left:calc(50% - 11px)}#bottom.console :is(.wslot,.gslot):disabled{opacity:1;cursor:default}#bottom.console :is(.wslot,.gslot):not(:disabled):hover{filter:brightness(1.15);border-color:#d8edac}#bottom.console .equipment-details{justify-content:space-between;align-items:flex-start;gap:16px;margin-top:14px;display:flex}#bottom.console .equipment-details strong{font-size:14px}#bottom.console #gslots{gap:7px;margin-top:8px;display:flex}#bottom.console .gslot{background:#23556255;border-color:#6ec7c477;width:48px;height:48px}#bottom.console .gslot.empty:after{content:"";border:2px dashed #65a8ad77;border-radius:50%;position:absolute;inset:13px}#bottom.console .gslot img{object-fit:contain;pointer-events:none;width:100%;height:100%}#bottom.console .relic-details{border-left:2px solid #9dc6d133;padding-left:16px}#bottom.console #relic{background:#43446744;border:2px solid #b89bd64d;border-radius:7px;place-items:center;width:48px;height:48px;margin-top:8px;padding:2px;display:grid;position:relative}#bottom.console #relic.empty:after{content:"";border:2px solid #b89bd655;width:14px;height:14px;transform:rotate(45deg)}#bottom.console #relic img{object-fit:contain;width:100%;height:100%}#bottom.console #relic.has{border-color:#c7a0ef}#bottom.console #console-details footer{border-top:1px solid #8bb7c533;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;padding-top:10px;display:flex}#bottom.console #loadout-help{color:#a6bfca;font-size:12px}#bottom.console #scorebtn{height:34px;padding:4px 8px}#bottom.console #scorebtn .key{color:#9ab7c4;font-size:11px}#bottom.console button:not(:disabled):hover{filter:brightness(1.15)}#bottom.console button:focus-visible{outline-offset:3px;outline:2px solid #9ae8d3}#bottom.console button:active:not(:disabled){filter:brightness(.9)}#bottom.console .new{animation:1.5s ease-out console-new}@keyframes console-new{0%,40%{filter:brightness(1.7)drop-shadow(0 0 4px #e6c068)}}#bottom.console:has(#console-details:not([hidden])){z-index:14}#console-tooltip{z-index:15;color:#e7f4f2;pointer-events:none;background:#123247f5;border:2px solid #91c6d477;border-radius:9px;width:max-content;max-width:min(280px,100vw - 24px);padding:10px 13px;position:fixed;box-shadow:0 4px 16px #061b3155}#console-tooltip[hidden],body:not(.in-game) #console-tooltip,body.menu-open #console-tooltip,body.match-finale #console-tooltip{display:none}#console-tooltip strong{color:#f4e6bf;font-size:15px}#console-tooltip p{color:#bcd4dd;white-space:pre-line;margin:6px 0 0;font-size:13px;line-height:1.6}#console-tooltip p:empty{display:none}#bottom.console button:disabled[data-tip-title]{pointer-events:none}#bottom.console,#bottom.console #console-details{background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-relief);-webkit-backdrop-filter:none;backdrop-filter:none;font-family:var(--ui-font);border-color:#9ac7ca24;border-radius:12px}#bottom.console{--text:var(--ui-text);--muted:var(--ui-muted)}#bottom.console #shipname,#bottom.console .details-header strong,#bottom.console .equipment-details strong{color:var(--ui-cream)}#bottom.console .porthole{background:#386575;border-color:#8bcabc55;box-shadow:inset 0 -2px #0b2b3a66}#bottom.console .hpwrap{background:#0c2936;border-color:#0e2e3a}#bottom.console #hpbar{background:linear-gradient(#8ce2bb 0 24%,#58c7a2 24% 78%,#36a98e 78%)}#bottom.console #hptext{color:#f0fff5;text-shadow:0 1px 2px #123e3c}#bottom.console #shopbtn{background:var(--ui-face);border-color:#0000;box-shadow:inset 0 2px #cee9e71a,inset 0 -2px #0c293655}#bottom.console .shop-label{color:var(--ui-cream)}#bottom.console #skill{border-color:var(--ui-coral);background:#315f6b;box-shadow:inset 0 -2px #0a2a3a77,0 2px #09263355}#bottom.console #skill.ready{border-color:#a2e2c8;box-shadow:0 0 0 2px #59bfb226}#bottom.console #skill .sweep{background:conic-gradient(#102b38e6 var(--cd,0deg), transparent 0)}#bottom.console #skill .key{color:var(--ui-cream);background:#102b38ed}#bottom.console .loadout-counts{color:#d8e4d9}#bottom.console #gear-count{color:#9dd3ce}#bottom.console .mini-slot{background:#102e3d;border-color:#5d899539;box-shadow:inset 0 2px 2px #061c2a55}#bottom.console .mini-slot.occupied{background:#315f68;border-color:#77c8b966;box-shadow:inset 0 2px #b9e4db1a,inset 0 -2px #102b3855}#bottom.console .mini-slot.locked{background:#153541;border-color:#0000}#bottom.console .mini-slot.relic-slot.occupied{background:#4a506f;border-color:#c0a0d880}#bottom.console :is(.battle-actions button,#scorebtn,#console-details-close){background:var(--ui-face);color:var(--ui-cream);border-color:#0000;box-shadow:inset 0 2px #cee9e71a,inset 0 -2px #09263366}#bottom.console :is(.wslot,.gslot){background:#153541;border-color:#6895a144;box-shadow:inset 0 2px #09263355}#bottom.console .wslot:not(.empty):not(.locked){background:#315f68;border-color:#77c8b955}#bottom.console .wslot .item-name{color:var(--ui-cream);background:#173747ed}#bottom.console #stats{background:#102d3b77;border-color:#0000}#bottom.console #stats b{color:var(--ui-cream)}#bottom.console #stats svg{color:var(--ui-teal)}#bottom.console #console-details footer{border-top-color:#80ada52a}#bottom.console #hint{color:var(--ui-cream);box-shadow:var(--ui-relief);background:#214957f5;border-color:#6ea99b33}#bottom.console button:focus-visible{outline-color:var(--ui-teal)}body #console-tooltip{box-shadow:var(--ui-relief);font-family:var(--ui-font);background:#173b4cf5;border-color:#82b7b644;border-radius:10px}body :is(#shop-tooltip,#console-tooltip) strong{color:var(--ui-cream);font-weight:800}body :is(#shop-tooltip,#console-tooltip) p{color:#c0d5d4;font-family:var(--ui-font)}@media (prefers-reduced-motion:reduce){#bottom.console #hpbar{transition:none}#bottom.console .new{animation:none}}@media (width<=1099px),(height<=639px){#bottom.console #console-details{bottom:calc(50dvh - var(--hud-bottom-gap));max-height:calc(100dvh - 2 * var(--hud-bottom-gap));background:#173747;transform:translate(-50%,50%)}}#shop{width:290px;max-height:calc(100vh - 16px);top:8px;right:8px;overflow:auto}#shop h3{color:var(--gold);margin:6px 0 4px;font-size:12px;font-weight:600}#shop .item{text-align:left;grid-template-columns:1fr auto;gap:2px 8px;width:100%;margin-bottom:4px;display:grid}#shop .item small{color:var(--muted);grid-column:1/-1;font-size:10.5px}#shop .item b{font-weight:600}#shop .item em{margin-left:6px;font-size:10.5px;font-style:normal;font-weight:400}#shop .item .why{color:#e8907f}#shop .item .go{color:#8fd6ff}#shop .price{color:var(--gold);font-variant-numeric:tabular-nums}#shopnote{color:var(--muted);margin:0 0 6px;font-size:11px}#shop.closed{display:none}@media (width<=760px){#shop{width:calc(100vw - 16px);max-height:38vh;top:auto;bottom:150px}}#shop .item.has-icon{grid-template-columns:40px 1fr auto;align-items:center;column-gap:8px}#shop .item.has-icon .icon{object-fit:contain;filter:drop-shadow(0 2px 2px #0009);grid-row:1/3;width:40px;height:40px}#shop .item.has-icon small{grid-column:2/-1}#shop .item.has-icon:disabled .icon{filter:grayscale(.6)brightness(.8)}#shop.glass-shop{z-index:4;font-variant-numeric:tabular-nums;border:1px solid #b4e6e84d;flex-direction:column;max-height:min(80dvh,100dvh - 24px);padding:12px;display:flex;top:12px;bottom:auto;right:12px;overflow:hidden}#shop.glass-shop.closed{display:none}#shop.glass-shop .shop-header{flex:none;align-items:center;gap:10px;min-height:32px;display:flex}#shop.glass-shop .shop-header>strong{white-space:nowrap;font-size:16px}#shop.glass-shop #shop-close{border:1px solid #9dc6d14d;border-radius:7px;flex:0 0 30px;place-items:center;width:30px;height:30px;padding:0;font:24px/1 system-ui,sans-serif;display:grid}#shop.glass-shop .shop-wallet{color:#ffe49a;white-space:nowrap;justify-content:flex-end;align-items:center;gap:4px;margin-left:auto;display:flex}#shop.glass-shop .shop-wallet i{background:linear-gradient(135deg,#ffe9a0 0 40%,#f5c95c 40%);border:1px solid #d09f41;border-radius:50%;width:14px;height:16px;box-shadow:inset 0 0 0 2px #ffe7a0}#shop.glass-shop .shop-wallet b{font-variant-numeric:tabular-nums;font-size:15px}#shop.glass-shop .shop-wallet small{font-size:11px}#shop.glass-shop #shop-content{flex-direction:column;gap:9px;min-height:0;padding-top:10px;display:flex}#shop.glass-shop #shop-tabs{border:1px solid #8bb7c526;border-radius:9px;flex:none;grid-template-columns:repeat(3,1fr);gap:5px;padding:3px;display:grid}#shop.glass-shop #shop-tabs button{background:0 0;border:1px solid #0000;border-radius:6px;height:34px;padding:4px;font-size:14px;font-weight:600}#shop.glass-shop #shopnote{border:1px solid #8bb7c526;border-radius:7px;flex:none;margin:0;padding:8px 9px;font-size:12px;line-height:1.6}#shop.glass-shop #shopcategory{flex:none;margin:0;font-size:11px;line-height:1.5}#shop.glass-shop #shoplist{scrollbar-width:thin;scrollbar-color:#80afbd66 transparent;scrollbar-gutter:stable;overscroll-behavior:contain;touch-action:pan-y;min-height:0;margin-right:-8px;padding-right:8px;overflow:hidden auto}#shop.glass-shop .item{color:#eef8f5;text-align:left;border:1px solid #9dc6d14d;border-radius:7px;grid-template-rows:18px 16px;grid-template-columns:36px minmax(0,1fr) auto;align-content:center;align-items:center;gap:2px 7px;width:100%;height:56px;min-height:56px;max-height:56px;margin:0;padding:7px;transition:background .12s,border-color .12s;display:grid;position:relative}#shop.glass-shop .shop-entry{margin-bottom:5px}#shop.glass-shop .shop-entry:last-child{margin-bottom:0}#shop.glass-shop .item.has-icon .icon{object-fit:contain;filter:drop-shadow(0 2px 2px #0005);grid-area:1/1/3;align-self:center;width:36px;height:36px}#shop.glass-shop .item-title{grid-area:1/2;align-items:baseline;gap:6px;min-width:0;display:flex}#shop.glass-shop .item-title b{text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;max-width:100%;font-size:14px;font-weight:700;line-height:1.3;overflow:hidden}#shop.glass-shop .item>.price{color:#f4d88b;white-space:nowrap;font-variant-numeric:tabular-nums;grid-area:1/3;align-self:center;font-size:14px;font-weight:700}#shop.glass-shop .item>.price small{color:#d7c58e;font-size:10px;font-weight:400}#shop.glass-shop .item-action{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;display:block;overflow:hidden}#shop.glass-shop .item-summary{font-variant-numeric:tabular-nums;white-space:nowrap;grid-area:2/2/auto/-1;align-items:center;gap:10px;min-width:0;max-width:100%;font-size:11.5px;line-height:16px;display:flex;overflow:hidden}#shop.glass-shop .item-summary span+span:before{content:"·";color:#7398a9;margin-right:10px}#shop.glass-shop #shoplist[aria-labelledby=shop-tab-ship] .item-summary{gap:4px}#shop.glass-shop #shoplist[aria-labelledby=shop-tab-ship] .item-summary span{flex-shrink:0}#shop.glass-shop #shoplist[aria-labelledby=shop-tab-ship] .item-summary span+span:before{margin-right:4px}#shop.glass-shop .item em{text-overflow:ellipsis;margin:0;font-size:10.5px;font-style:normal;line-height:1.3;display:block;overflow:hidden}#shop.glass-shop .item:disabled{pointer-events:none}#shop.glass-shop button:focus-visible,#shop.glass-shop #shoplist:focus-visible{outline-offset:2px;outline:2px solid #9ae8d3}#shop.glass-shop button:active:not(:disabled){background:#31596999}#shop-tooltip{z-index:8;color:#e7f4f2;pointer-events:none;background:#123247f5;border:1px solid #91c6d477;border-radius:9px;width:260px;max-width:calc(100vw - 24px);padding:12px 14px;position:fixed;box-shadow:0 4px 16px #061b3155}#shop-tooltip[hidden],body:not(.in-game) #shop-tooltip,body.menu-open #shop-tooltip,body.match-finale #shop-tooltip{display:none}#shop-tooltip strong{color:#f4e6bf;font-size:15px}#shop-tooltip p{color:#bcd4dd;font-variant-numeric:tabular-nums;white-space:pre-line;margin:8px 0 0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,PingFang SC,Microsoft YaHei,monospace;font-size:13px;line-height:1.6}#shop.glass-shop{background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-relief);-webkit-backdrop-filter:none;backdrop-filter:none;font-family:var(--ui-font);--shop-width:330px;width:var(--shop-width);border-color:#9ac7ca24;border-radius:12px}html:not(:lang(zh)) #shop.glass-shop{--shop-width:390px;width:var(--shop-width)}#shop.glass-shop .shop-header>strong{color:#fff7e3;text-shadow:0 1px 2px #071e2b66;font-weight:800}#shop.glass-shop #shop-close{color:#d7e9df;background:#315564;border-color:#0000;box-shadow:inset 0 -2px #102b3855}#shop.glass-shop #shop-tabs{background:#102c3a88;border-color:#0000;box-shadow:inset 0 2px #09263344}#shop.glass-shop #shop-tabs button{font-family:var(--ui-font);color:#e2edf0;text-shadow:0 1px 2px #071e2b66}#shop.glass-shop #shop-tabs button[aria-selected=true]{color:#fff7e3;text-shadow:0 1px 2px #70332099;background:linear-gradient(#f59968,#df704b);border-color:#0000;box-shadow:inset 0 1px #ffe8ca66,inset 0 -2px #a74b3766}#shop.glass-shop #shopnote{color:var(--ui-muted);background:#102c3a55;border-color:#0000}#shop.glass-shop.in-port #shopnote{color:#a6ddc3}#shop.glass-shop #shopcategory{color:var(--ui-muted)}#shop.glass-shop .item{background:#2d5362aa;border-color:#0000;box-shadow:inset 0 1px #cee9e710,inset 0 -2px #0c293644}#shop.glass-shop .item-title b{color:#fff7e3;font-family:var(--ui-font);text-shadow:0 1px 2px #071e2b66}#shop.glass-shop .item-summary{color:#d4e7ed}#shop.glass-shop .item>.price,#shop.glass-shop .shop-wallet{color:#ffe49a}#shop.glass-shop .item>.price,#shop.glass-shop .shop-wallet b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}#shop.glass-shop .item:not(:disabled){background:linear-gradient(#356777,#294f5f);box-shadow:inset 3px 0 #75d6b4,inset 0 1px #cee9e72b,inset 0 -2px #0c293666}#shop.glass-shop .item:disabled{opacity:1;background:#102a36;box-shadow:inset 0 1px 3px #061b2a66}#shop.glass-shop .item.has-icon:disabled .icon{filter:grayscale()brightness(.52);opacity:.7}#shop.glass-shop .item:disabled .item-title b{color:#a2b4bc;text-shadow:none}#shop.glass-shop .item:disabled .item-summary{color:#8299a5}#shop.glass-shop .item:disabled>.price,#shop.glass-shop .item:disabled>.price small{color:#9c9c86}#shop.glass-shop .item:not(:disabled):hover{background:#417d89;border-color:#a0e5cb77}#shop.glass-shop .item .buy{color:#c5ffe3;font-weight:700}#shop.glass-shop .item .go{color:#9bd9de}#shop.glass-shop .item .why{color:#f0b49a;font-weight:600}#shop.glass-shop :is(button,#shoplist):focus-visible{outline-color:var(--ui-teal)}body #shop-tooltip{box-shadow:var(--ui-relief);font-family:var(--ui-font);background:#173b4cf5;border-color:#82b7b644;border-radius:10px}@media (prefers-reduced-motion:reduce){#shop.glass-shop .item{transition:none}}@media (width>=761px) and (width<=999px){#shop.glass-shop{max-height:min(70dvh, calc(100dvh - var(--console-height) - 104px));top:84px}}@media (width<=760px){#shop.glass-shop,html:not(:lang(zh)) #shop.glass-shop{top:auto;right:12px;bottom:calc(var(--console-height) + 16px);width:min(var(--shop-width), calc(100vw - 24px));max-height:min(48dvh, calc(100dvh - var(--console-height) - 100px))}#shop.glass-shop #shopnote{padding-top:4px;padding-bottom:4px}#shop.glass-shop #shopcategory{display:none}#shop.glass-shop #shop-content{gap:6px;padding-top:6px}}@media (width<=1099px),(height<=639px){#shop.glass-shop,html:not(:lang(zh)) #shop.glass-shop{z-index:9;background:linear-gradient(145deg,#244e61,#102e42);border-right:0;border-radius:12px 0 0 12px;width:max(50vw,min(360px,100vw));max-height:none;padding:10px 12px;top:0;bottom:0;right:0}#shop.glass-shop #shop-content{flex:auto;gap:6px;padding-top:6px}#shop.glass-shop #shop-tabs button{height:30px;font-size:13px}#shop.glass-shop #shopnote{padding:4px 8px;font-size:11px;line-height:1.4}#shop.glass-shop #shopcategory{display:none}#shop.glass-shop #shoplist{flex:auto}#shop-tooltip{z-index:10}}#top.battle-status{--status-reserved-width:700px;width:min(560px, calc(100vw - var(--status-reserved-width)));z-index:3;pointer-events:none;color:#dcebee;white-space:nowrap;text-shadow:0 1px 2px #071d2c88;background:0 0;border:0;border-radius:0;flex-direction:column;align-items:center;gap:0;padding:0;font:600 12px/1.2 PingFang SC,Microsoft YaHei,system-ui,sans-serif;display:flex;position:fixed;top:10px;left:50%;transform:translate(-50%)}#top.battle-status .status-ribbon{box-sizing:border-box;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(145deg,#244e61cf,#102e42e0);border:1px solid #b4e6e84d;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;width:100%;height:36px;padding:0 16px;display:flex;position:relative;box-shadow:inset 0 1px #c2f0eb26,0 2px 8px #061e3226}#top.battle-status .status-ribbon:before,#top.battle-status .status-ribbon:after{content:"";border-radius:2px;width:3px;position:absolute;top:10px;bottom:10px}#top.battle-status .status-ribbon:before{background:#61cbdf;left:6px}#top.battle-status .status-ribbon:after{background:#f18d83;right:6px}#top.battle-status .team-status,#top.battle-status .match-clock{align-items:baseline;gap:6px;display:flex}#top.battle-status .team-blue{--team-color:#80dce7}#top.battle-status .team-red{--team-color:#f3998f}#top.battle-status b,#top.battle-status time{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}#top.battle-status .team-status b{color:var(--team-color);font-size:13px}#top.battle-status .stat-divider{color:#829fac}#top.battle-status .match-clock{justify-content:center;gap:7px}#top.battle-status time{font-size:17px;font-weight:800}#top.battle-status .wave-status{color:#b8cdd5;font-size:11px}#top.battle-status .monster-status{box-sizing:border-box;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(145deg,#244e61cf,#102e42e0);border:1px solid #b4e6e84d;border-top:0;border-radius:0 0 8px 8px;justify-content:center;align-items:center;gap:6px;height:30px;margin-top:-1px;padding:0 10px;display:flex}#top.battle-status .monster-status img{object-fit:contain;width:24px;height:24px;display:block}#top.battle-status .monster-label{color:#dce6ef;font-size:12px}#top.battle-status .monster-value{color:#c69be9;min-width:3ch;font-size:13px;font-weight:700}#top.battle-status .monster-status.soon .monster-value{color:#ffe0a1}body.in-game #feed{top:84px}#top.battle-status{font-family:var(--ui-font)}#top.battle-status :is(.status-ribbon,.monster-status){background:var(--ui-surface);box-shadow:var(--ui-relief);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:#88b7ba26}#top.battle-status time{color:var(--ui-cream)}@media (width<=1199px){#top.battle-status{--status-reserved-width:520px}#top.battle-status .status-ribbon{gap:8px}#top.battle-status .team-status,#top.battle-status .match-clock{gap:4px}}@media (width>=1000px) and (width<=1199px){html:not(:lang(zh)) #top.battle-status{--status-reserved-width:580px}#top.battle-status .match-clock{flex-direction:column;align-items:center;gap:1px}#top.battle-status .match-clock .stat-divider{display:none}#top.battle-status .team-status{gap:3px;font-size:11px}#top.battle-status .team-status b{font-size:12px}}@media (width<=999px){#top.battle-status{--status-reserved-width:24px}}@media (width<=760px){#top.battle-status{top:8px}#top.battle-status .status-ribbon{gap:6px;padding:0 10px}#top.battle-status .team-status{flex-direction:column;align-items:center;gap:1px;font-size:10px}#top.battle-status .team-status b{font-size:11px}#top.battle-status .stat-divider{display:none}#top.battle-status .match-clock{flex-direction:column;align-items:center;gap:1px}#top.battle-status time{font-size:15px}}#match-timeout[hidden],body.match-finale #match-timeout{display:none}#match-timeout{z-index:30;text-align:left;pointer-events:none;-webkit-user-select:none;user-select:none;width:max-content;max-width:min(520px,100vw - 24px);color:var(--ui-cream);font-family:var(--ui-font);background:linear-gradient(145deg,#244e61e6,#102e42e8);border-radius:8px;grid-template-columns:64px auto;align-items:center;column-gap:10px;padding:6px 14px;display:grid;position:fixed;top:54px;left:50%;transform:translate(-50%);box-shadow:0 2px 8px #061e3226}.timeout-label{color:var(--ui-coral);letter-spacing:.12em;text-shadow:0 1px 2px var(--ui-ink);grid-area:1/2;align-self:end;font-size:11px;font-weight:900}.timeout-digit{text-align:center;font-variant-numeric:tabular-nums;letter-spacing:-.045em;text-shadow:0 2px 0 var(--ui-ink);transform-origin:50%;grid-area:1/1/3;font-size:52px;font-weight:900;line-height:1}.timeout-message{text-shadow:0 1px 2px var(--ui-ink);grid-area:2/2;align-self:start;margin:4px 0 0;font-size:14px;font-weight:800;line-height:1.4}body.in-game:has(#match-timeout:not([hidden])) #top .monster-status{visibility:hidden}body.in-game:has(#match-timeout:not([hidden])) #feed{top:132px}#match-timeout[data-urgent=true] .timeout-digit{color:var(--ui-coral)}#match-timeout[data-beat="0"] .timeout-digit{animation:.35s ease-out both timeout-beat-a}#match-timeout[data-beat="1"] .timeout-digit{animation:.35s ease-out both timeout-beat-b}@keyframes timeout-beat-a{0%{opacity:.6;transform:scale(1.12)}to{opacity:1;transform:scale(1)}}@keyframes timeout-beat-b{0%{opacity:.6;transform:scale(1.12)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){#match-timeout .timeout-digit{animation:none}}#trade-confirm{border:1px solid #b4e6e877;width:min(360px,100vw - 32px);padding:18px}#trade-confirm header,#trade-confirm footer{justify-content:space-between;align-items:center;gap:10px;display:flex}#trade-confirm h2{color:#f0e8cd;margin:0;font-size:17px}#trade-confirm .trade-close{width:30px;height:30px;padding:0;font-size:23px;line-height:1}#trade-confirm .trade-product{align-items:center;gap:12px;margin:14px 0;display:flex}#trade-confirm .trade-product img{object-fit:contain;width:48px;height:48px}#trade-confirm .trade-product strong{font-size:18px}#trade-confirm p{color:#b8ced5;margin:8px 0;font-size:12px;line-height:1.6}#trade-confirm .trade-total{border:1px solid #b4e6e833;border-radius:8px;justify-content:space-between;align-items:baseline;margin:12px 0;padding:12px;display:flex}#trade-confirm .trade-total span{font-size:13px}#trade-confirm .trade-total b{color:#ffd898;font:800 22px ui-monospace,SFMono-Regular,Menlo,monospace}#trade-confirm .trade-total.income b{color:#a4e7b9}#trade-confirm .trade-balance{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,PingFang SC,monospace}#trade-confirm .trade-error:empty{display:none}#trade-confirm footer{justify-content:flex-end;margin-top:16px}#trade-confirm button{border-radius:7px;min-height:32px}#trade-confirm{background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-relief);-webkit-backdrop-filter:none;backdrop-filter:none;font-family:var(--ui-font);border-color:#9ac7ca24;border-radius:12px}#trade-confirm h2,#trade-confirm .trade-product strong{color:var(--ui-cream);font-weight:800}#trade-confirm button{color:var(--ui-cream);background:var(--ui-face);font-family:var(--ui-font);border-color:#0000;box-shadow:inset 0 1px #cee9e71a,inset 0 -2px #09263366}#trade-confirm .trade-submit{background:var(--ui-action);color:var(--ui-ink);border-color:#0000;box-shadow:inset 0 1px #ffe8ca66,inset 0 -2px #a74b3766}#trade-confirm .trade-total{background:#102c3a88;border-color:#0000}#trade-confirm .trade-error{color:#ffb899}#trade-confirm::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#061c2999}#trade-confirm button:focus-visible{outline-color:var(--ui-teal)}:root{--ui-cream:#f5e8c9;--ui-text:#edf4ee;--ui-muted:#acc8ca;--ui-coral:#ef9465;--ui-coral-dark:#c86642;--ui-teal:#59bfb2;--ui-ink:#102b38;--ui-surface:linear-gradient(160deg, #254c5bee, #153746f5);--ui-face:linear-gradient(#315b6a, #254958);--ui-action:linear-gradient(#f5a577, #e37b52);--ui-relief:inset 0 1px #d6eeeb26, inset 0 -3px #09263366, 0 4px 10px #061b2a33;--ui-font:"Avenir Next Rounded Pro", "Trebuchet MS", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif}
