@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:400;src:url("./font-4ZVSUNRS.woff2") format("woff2"),url("./font-LT4NBZQP.woff") format("woff")}@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:400;src:url("./font-H5TOAM6L.woff2") format("woff2"),url("./font-MG3VN5EJ.woff") format("woff")}@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:700;src:url("./font-TFDSMFZU.woff2") format("woff2"),url("./font-XIFVQ35F.woff") format("woff")}@font-face{font-family:Rubik;font-style:normal;font-display:swap;font-weight:700;src:url("./font-IXHH3OQG.woff2") format("woff2"),url("./font-VZRM4WRT.woff") format("woff")}@font-face{font-family:Rubik;font-style:italic;font-display:swap;font-weight:900;src:url("./font-VQQDXANS.woff2") format("woff2"),url("./font-TDRH24WD.woff") format("woff")}@font-face{font-family:Rubik;font-style:italic;font-display:swap;font-weight:900;src:url("./font-YU55PY4P.woff2") format("woff2"),url("./font-TUL7NSAY.woff") format("woff")}.menu-screen{isolation:isolate;position:relative;overflow:hidden;height:100dvh;min-height:0;background:#063137}.menu-art{position:absolute;inset:0;z-index:-2;background:url(/art/v2/menu-cannon-repair.png) 57% 50% / cover no-repeat,url(/art/v2/menu-finished.webp) 57% 50% / cover no-repeat}.menu-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b2431fa 0%,#122936b3 16%,#13333c3d 28%,transparent 41%),linear-gradient(180deg,#04151b78,transparent 17%,transparent 76%,#051c25c7)}.menu-top,.menu-bottom{position:absolute;left:clamp(22px,5.8vw,110px);right:clamp(22px,5.8vw,110px);display:flex;align-items:center;justify-content:space-between;gap:16px}.menu-top{top:clamp(16px,4vh,44px)}.menu-bottom{bottom:clamp(15px,4vh,44px)}.compact,.profile-chip,.help-link,.demo-card{display:inline-flex;align-items:center;gap:.55em;font-weight:700}.top-buttons{display:flex;align-items:center;gap:8px}.compact,.profile-chip,.help-link{padding:5px 6px;min-height:44px;color:var(--cream);text-shadow:var(--letter-shadow)}.compact{width:44px;min-height:44px;justify-content:center;border:2px solid #252335;border-radius:14px 11px 15px 12px;color:#fff0c5;background:#302d40df;box-shadow:0 2px #211f32;--gear-hole: #302d40}.top-buttons{gap:5px;min-width:0}.profile-chip{min-width:0;max-width:min(34vw,220px);text-align:left}#guest-label{min-width:0;overflow-wrap:anywhere;line-height:1.18}.compact:hover,.compact:focus-visible{color:#ffdc81}.compact .icon,.profile-chip .icon,.help-link .icon{filter:drop-shadow(0 2px 1px #232738);width:21px;height:21px}.profile-chip{border-left:1px solid #ffedc566;padding-left:13px;font-size:14px}.start-menu{position:absolute;left:clamp(24px,4.4vw,94px);top:49%;transform:translateY(-48%);width:min(43vw,570px)}.start-menu h1{font-size:clamp(75px,8.8vw,158px);line-height:.94;font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:-.075em;color:#ffd156;-webkit-text-stroke:3px #252036;paint-order:stroke fill;text-shadow:2px 3px 0 #e19040,4px 7px 0 #232339;transform:rotate(-4deg);transform-origin:18% 70%}.menu-subtitle{color:#ffefd1;font-size:clamp(14px,1.26vw,23px);font-weight:700;text-shadow:var(--letter-shadow);margin:10px 0 clamp(17px,3vh,36px)}.menu-choices{width:max-content;max-width:100%;display:flex;align-items:flex-start;flex-direction:column;gap:clamp(2px,.48vh,8px)}.menu-choice{position:relative;isolation:isolate;display:flex;align-items:center;gap:12px;min-height:clamp(39px,5.8vh,64px);padding:2px 15px 2px 8px;text-align:left;font-size:clamp(16px,1.42vw,25px);font-weight:700;line-height:1.25;max-width:100%;color:#fff1d4;text-shadow:var(--letter-shadow)}.menu-choice>img{width:clamp(28px,2.7vw,43px);height:clamp(28px,2.7vw,43px);object-fit:contain;filter:drop-shadow(1px 2px 0 #191d2b88)}.menu-choice.primary{min-width:clamp(190px,16.8vw,301px);min-height:clamp(53px,7.5vh,84px);margin:0 0 6px;padding:.36em .85em .42em;justify-content:center;font-size:clamp(23px,2vw,35px);line-height:1.2}.menu-choice>span{min-width:0;overflow-wrap:anywhere}.menu-choice.primary>img{width:clamp(29px,2.5vw,40px)}.menu-choice:hover:not(:disabled),.menu-choice:focus-visible{color:#ffd76a;outline:0}.menu-choice:not(.primary):is(:hover,:focus-visible){background:linear-gradient(95deg,#3b5375e6,#31475acc 68%,transparent);box-shadow:inset 3px 0 #ffd584;border-radius:4px 14px 10px 5px}.help-link{font-size:13px}.demo-card{text-align:left;min-width:0;color:var(--cream);text-shadow:var(--letter-shadow);padding:4px 0}.demo-symbol{width:38px;height:35px;object-fit:contain;transform:rotate(-7deg)}.demo-card small,.demo-card strong{display:block}.demo-card small{font-size:10px;font-weight:700;color:#ffdc91}.demo-card strong{font-size:15px}.flag{display:inline-block;width:20px;height:13px;border-radius:2px;box-shadow:0 0 0 1px #ffffff3a;vertical-align:-1px;flex:none}.flag.ru{background:linear-gradient(#fff 33%,#5079ba 33% 66%,#ce554c 66%)}.flag.mx{background:linear-gradient(90deg,#35906a 33%,#fff9dd 33% 66%,#bb5148 66%)}.flag.jp{background:radial-gradient(circle,#bd4147 29%,transparent 31%),#fff7df}.flag.ke{background:linear-gradient(#232c2a 27%,#fff 27% 32%,#b94c41 32% 65%,#fff 65% 70%,#498052 70%)}@media(max-height:560px)and (orientation:landscape){.menu-choices{gap:5px}.start-menu{top:52%}.start-menu h1{font-size:66px}.menu-subtitle{margin:3px 0 12px}.menu-choice{min-height:36px;padding-block:6px;font-size:15px}.menu-top{top:9px}.menu-bottom{bottom:8px}}@media(max-width:700px)and (orientation:portrait){.menu-art{background-position:56% 50%}.start-menu{width:90vw;top:55%;left:24px}.start-menu h1{font-size:72px}.menu-choices{width:min(280px,80vw)}.menu-top,.menu-bottom{left:18px;right:18px}.menu-bottom .help-link{font-size:12px}.demo-card{padding:5px 9px}.demo-card strong{font-size:12px}}.animated-cover{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.menu-canopy{z-index:-1;position:absolute;top:-21px;left:-12px;pointer-events:none;width:clamp(142px,14.6vw,205px);transform-origin:0 0}.menu-canopy img{display:block;width:100%;transform-origin:0 0}.menu-screen[data-motion=true] .menu-canopy img{animation:canopy-sway 6.5s ease-in-out infinite alternate}@keyframes canopy-sway{0%{transform:rotate(-.9deg)}to{transform:rotate(1.1deg)}}@media(prefers-reduced-motion:reduce){.menu-screen .menu-art,.menu-screen .menu-canopy,.menu-screen .menu-canopy img{transform:none!important;animation:none!important}}.menu-art:before{content:"";position:absolute;inset:0 0 65%;background:linear-gradient(175deg,#193a4080,transparent 76%);opacity:.18;pointer-events:none}.menu-screen[data-motion=true] .menu-art:before{animation:glass-shadow 9s ease-in-out infinite alternate}@keyframes glass-shadow{0%{opacity:.08}to{opacity:.32}}@media(max-width:400px){.menu-top,.menu-bottom{left:12px;right:12px;gap:6px}.menu-choice{gap:9px}.top-buttons{gap:3px}.profile-chip{padding-left:6px;max-width:28vw}.demo-card{gap:5px;padding-inline:1px}}@media(max-height:430px)and (orientation:landscape){.start-menu{top:51%;width:53vw}.start-menu h1{font-size:52px}.menu-subtitle{margin:2px 0 5px;font-size:13px}.menu-choices{gap:1px}.menu-choice{min-height:30px;padding-block:2px;font-size:14px}.menu-choice>img{width:23px;height:23px}.menu-choice.primary{font-size:22px;min-height:39px;min-width:162px;margin-bottom:1px}.menu-bottom{bottom:4px}.menu-top{top:4px}.help-link,.demo-card{min-height:32px}}.menu-top .profile-chip{gap:7px;padding:4px 11px 5px 6px;border:1px solid #9e8d69;border-radius:9px 14px 12px 8px;background:linear-gradient(112deg,#2a353d,#2f323ded);box-shadow:0 2px #171d29}.menu-top .career-medal .icon,.menu-top .career-medal{width:30px;height:34px;display:block;flex:none}.career-fields{display:grid;gap:2px;min-width:0;min-inline-size:min(88px,19vw)}.career-fields #guest-label{overflow-wrap:anywhere;white-space:normal;text-align:start}.career-fields{grid-template-columns:minmax(0,1fr)}#career{display:grid;gap:2px}.career-line,.career-detail header{display:flex;justify-content:space-between;align-items:baseline;gap:5px}.career-line b,.career-line small{font:700 10px/1.05 Rubik,sans-serif;color:#ffe2a1;white-space:nowrap}.career-line small{font-weight:500;color:#e7ddc8}#career progress,.career-detail progress{display:block;width:100%;height:5px;border:0;border-radius:6px;overflow:hidden;appearance:none;background:#161f2a;color:#efbc61}#career progress::-webkit-progress-bar,.career-detail progress::-webkit-progress-bar{background:#161f2a}#career progress::-webkit-progress-value,.career-detail progress::-webkit-progress-value{background:linear-gradient(90deg,#d98c49,#ffe4a0);border-radius:6px}#career progress::-moz-progress-bar,.career-detail progress::-moz-progress-bar{background:linear-gradient(90deg,#d98c49,#ffe4a0);border-radius:6px}.career-detail{padding:12px 15px;margin:0 0 12px;background:#eee2c8;border:1px solid #cdb492;border-radius:10px}.career-detail header{margin-bottom:7px;color:#543b42}.career-detail p{margin:5px 0;font-size:13px}.result-award{font-weight:750;color:#38544e;margin:8px 0}@media(max-width:450px){.menu-top .profile-chip{max-width:34vw;padding-inline:4px;gap:3px}.menu-top .career-medal,.menu-top .career-medal .icon{width:22px;height:27px}.career-line small{font-size:9px}}.menu-top{justify-content:flex-end}.start-menu h1{font-size:inherit;line-height:0;transform:none}#game-title img{display:block;width:min(100%,clamp(225px,32vw,520px));height:auto;filter:drop-shadow(0 4px 4px #17263755)}.menu-screen[data-motion=true] #game-title img{animation:title-breathe 7s ease-in-out infinite;transform-origin:29% 95%}@keyframes title-breathe{0%,to{transform:rotate(-1.3deg)}50%{transform:translateY(-2px) rotate(-.35deg)}}.profile-portrait{display:block;width:34px;height:34px;object-fit:cover;border:1px solid #e5c996;border-radius:8px;flex:none}.profile-chip:has(#career[hidden]) .career-fields{min-inline-size:0}@media(max-width:520px){#game-title img{width:min(238px,66vw)}.start-menu{top:50%}.profile-portrait{width:28px;height:28px}}@media(max-height:460px)and (orientation:landscape){#game-title img{width:min(200px,31vw)}}#dialog{--dialog-pad: clamp(16px, 2.15vw, 28px);padding:0;width:min(544px,calc(100vw - 22px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;color:var(--line);color-scheme:light;background-color:#fff0d1;background-image:var(--parchment);background-size:cover;border:3px solid var(--line);border-radius:12px 18px 9px 14px;box-shadow:2px 4px #2b2438,4px 7px #caaa87,5px 9px #292337,0 16px 35px #13152777}#dialog::backdrop{background:#15192bb3}#dialog[data-screen=atlas]{width:min(660px,calc(100vw - 24px))}.dialog-inner{padding:var(--dialog-pad);line-height:1.4}.dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:calc(-1 * var(--dialog-pad)) calc(-1 * var(--dialog-pad)) 17px;padding:12px var(--dialog-pad) 14px;color:var(--cream);border-bottom:3px solid var(--line);background:radial-gradient(circle,#f9d68417 1px,transparent 1.5px) right/7px 7px,linear-gradient(110deg,#384f70,#2a3957 70%,#222d48)}.dialog-head:after{content:"";position:absolute;bottom:-3px;left:var(--dialog-pad);width:58px;height:4px;background:#f6bd68;transform:skew(-20deg)}.dialog-head>div{min-width:0;flex:1}.dialog-back{display:grid;place-items:center;flex:none;width:44px;height:44px;color:var(--cream);border:1px solid #ad929b;border-radius:9px}.dialog-back .icon{width:22px;height:22px}.dialog-back:hover{background:#685269}.settings-row select{width:auto;max-width:65%}.dialog-head small,.invite-strip small{font-size:11px;font-weight:700;letter-spacing:.045em;text-transform:uppercase;line-height:1.35;display:block}.dialog-head small{color:#f9cf87;margin-bottom:2px}.invite-strip small{color:#716044}.dialog-head h2,.atlas-caption h3{font-weight:900;font-style:italic;line-height:1.12;letter-spacing:-.032em;overflow-wrap:anywhere}.dialog-head h2{font-size:clamp(25px,2.7vw,38px);color:#ffebcb;text-shadow:2px 2px #2b2439}.icon-button{display:grid;place-items:center;flex:none;inline-size:44px;block-size:44px;padding:9px;color:#453247;background:#ffe7bb;border:2px solid #292334;border-radius:11px 8px 12px;box-shadow:inset 0 -3px #dfb98f,0 2px #211d30}.icon-button .icon{width:21px;height:21px}.icon-button:hover:not(:disabled),.icon-button:focus-visible{background:#ffcf83;color:#352537;filter:none}.button{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:.45em;max-width:100%;min-width:0;min-height:42px;padding:.55em 1.15em;font-size:15px;line-height:1.24;font-weight:700;text-align:center;overflow-wrap:anywhere}.button>span{min-width:0;align-self:center}.button.primary-action{padding:.58em 1.25em .66em}.button.pale{color:#49374d;background:#f0dcba;border:2px solid #806677;border-radius:8px 11px 7px 9px;box-shadow:inset 0 -2px #d9bda2}.button.quiet{color:#66515b;border:1px solid #bba991;border-radius:8px;background:#f6e8ce;padding-inline:.6em}.actions,.join-row,.tabs{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.actions{margin-top:16px}.join-row{flex-wrap:nowrap}.join-row input{min-width:0;flex:1 1 0}.join-row>.button{flex:0 0 auto;white-space:nowrap;overflow-wrap:normal}.field{display:grid;gap:5px;margin:13px 0;font-size:14px;font-weight:700}dialog input[type=text],dialog select{width:100%;padding:9px 10px;background:#fff6dc80;border:1px solid #967c56;border-bottom:2px solid #886e45;color:#413629;border-radius:3px;font-size:16px}dialog :focus-visible{outline:2px solid #514162;outline-offset:2px}dialog kbd{background:#f7e7c1;border-color:#a38a63;color:#443b2b}.mode-list,.roster-list{display:grid;gap:5px}.mode-option,.roster-choice{display:flex;align-items:center;gap:14px;padding:10px 12px;text-align:left;border-bottom:1px solid #8f7a8359;color:#463949;background:#fff4d42b}.mode-option:hover,.roster-choice:hover,.atlas-index button:hover{background-color:#f7dbad}.mode-option>.icon{color:#83613b;width:26px;height:26px}.mode-option strong,.mode-option small,.feed-row small{display:block}.mode-option small,.feed-row small,.seat small{color:#64543d;font-size:13px;line-height:1.4}.invite-strip,.feed-row,.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.room-code{font-size:28px;letter-spacing:.12em;font-weight:900;color:#344e71}.lobby-seats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.seat{display:grid;align-content:center;justify-items:center;text-align:center;min-height:115px;padding:8px;border:1px solid #ad8c5c;background:#fff4d455}.seat img{height:65px;width:76px;object-fit:contain}.seat b{color:#86493f;font-size:12px}.seat.waiting{border-style:dashed}.list-title{margin:16px 0 8px}.tabs{border-bottom:1px solid #af966e}.tabs button{font-weight:700;padding:6px 2px;color:#736349}.tabs button[aria-pressed=true]{color:#594052;border-bottom:3px solid #dc855b}.feed{padding-top:12px}.feed-row{padding:9px 0;border-bottom:1px solid #977d5644}.help-list{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:8px 14px;margin:0;font-size:14px}.help-list dd{margin:0;line-height:1.38}.settings-row{margin:15px 0}.settings-row input{accent-color:#507143}.dialog-note{margin-top:13px;color:#814b2b;overflow-wrap:anywhere}.result-art{width:100%;height:115px;object-fit:contain}.roster-layout{display:grid;grid-template-columns:1fr 1.45fr;gap:15px}.roster-list{align-content:center}.roster-choice{font-weight:700;min-height:40px}.roster-choice.active{color:#ffefdc;background:#4e5960;border-radius:8px;padding-inline:12px}.roster-figure{text-align:center;text-wrap:balance;padding:9px;border-left:1px solid #a387585e;background:radial-gradient(ellipse at center,#f9f0cb70,transparent 75%)}.roster-figure img{width:100%;height:160px;object-fit:contain;filter:drop-shadow(0 3px 1px #7d65334a)}.roster-figure h3{font-size:16px;color:#3b573b}.roster-figure p{font-size:13px;margin:6px 0}@media(max-width:460px){#dialog{--dialog-pad: 14px}.dialog-head{padding-block:8px 10px}.dialog-head{margin-bottom:12px}.roster-layout{gap:5px;grid-template-columns:1fr 1.2fr}.roster-choice{gap:6px;padding:8px}.roster-figure img{height:125px}.help-list{font-size:13px;gap:7px 9px}}.mode-option>span,.feed-row>div,.invite-strip>div,.seat strong{min-width:0;overflow-wrap:anywhere}.roster-layout,.lobby-seats{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}.roster-choice,.roster-choice.active{padding:8px 12px;line-height:1.25;gap:8px;overflow-wrap:anywhere}.seat{min-width:0}@media(max-width:460px){.invite-strip{flex-wrap:wrap}.help-list{grid-template-columns:minmax(75px,.78fr) minmax(0,1.5fr);align-items:start}.help-list kbd{white-space:normal}.actions{gap:6px}.button{font-size:14px}.mode-option{gap:9px}}.dialog-head .icon-button:focus-visible,.inventory-head .icon-button:focus-visible{outline:3px solid #ffdf87;outline-offset:2px}#dialog[data-screen=battle-menu]{width:min(454px,calc(100vw - 22px))}.pause-resume{display:flex;justify-content:center;margin:4px 0 16px}.pause-resume .button{font-size:20px;min-height:47px;font-weight:700}.pause-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;border-top:1px solid #b49c8e}.button.utility{justify-content:flex-start;padding:8px 4px;min-height:44px;text-align:left;color:#4d3a4f;border-bottom:1px solid #b49c8e}.button.utility .icon{color:#986246;width:21px;height:21px}.pause-menu footer{display:flex;justify-content:flex-end;margin-top:8px}.button.utility:hover,.button.utility:focus-visible{color:#802f42;background:#eec68452}@media(max-width:340px){.pause-options{grid-template-columns:minmax(0,1fr)}.pause-resume{margin-bottom:9px}}@media(max-width:460px){.roster-layout{grid-template-columns:minmax(0,1fr);gap:10px}.roster-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px}.roster-choice,.roster-choice.active{white-space:nowrap;padding:6px 9px;gap:7px;font-size:15px}.roster-figure{display:grid;grid-template-columns:82px minmax(0,1fr);column-gap:10px;align-content:center;align-items:end;text-align:left;border:0;border-top:1px solid #ad936777}.roster-figure img{grid-row:1/3;height:90px}.roster-figure p{align-self:start}}#dialog[data-screen=result]{width:min(600px,calc(100vw - 22px))}#dialog[data-screen=result] .dialog-inner{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"cover" "scores" "buttons" "note";padding:0;overflow:hidden}#dialog[data-screen=result] .dialog-head{grid-area:cover;z-index:1;align-self:start;align-items:start;margin:0;padding:clamp(14px,3vw,25px);pointer-events:none;border:0;background:transparent;box-shadow:none}#dialog[data-screen=result] .dialog-head:after{display:none}#dialog[data-screen=result] .dialog-head>div{max-width:74%}#dialog[data-screen=result] .dialog-head small{color:#ffdfa4;text-shadow:0 1px 2px #392d3c}#dialog[data-screen=result] .dialog-head h2{color:#fff0c5;font-size:clamp(2rem,6vw,3.75rem);line-height:1.02;margin-top:3px;text-shadow:0 3px 0 #352636}#dialog[data-screen=result] .dialog-head .icon-button{pointer-events:auto;background:#fff0d2}#dialog[data-screen=result] .dialog-note{grid-area:note;margin-inline:16px}.result-banner{grid-area:cover;position:relative;isolation:isolate;overflow:hidden;min-height:clamp(165px,31vh,220px);display:flex;align-items:end;background:#2f4b4c}.result-banner:before,.result-banner:after{position:absolute;inset:0;content:"";z-index:-1}.result-banner:before{background:var(--arena-plate) center 47% / cover}.result-banner:after{background:linear-gradient(100deg,#153e40f5 2%,#284c49e5 43%,#33444244 78%)}.result-banner:is([data-outcome=loss],[data-outcome=out]):after{background:linear-gradient(100deg,#482e47fa 3%,#573b50e8 43%,#5a3b4755 78%)}.result-banner[data-outcome=draw]:after{background:linear-gradient(100deg,#33394ef7,#384158bb 55%,#34495844)}.result-portrait{position:absolute;right:2%;bottom:0;width:40%;height:85%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 4px 2px #231b2a65)}.result-details{padding:10px clamp(14px,3vw,25px) 15px;max-width:70%;color:#fff3de;z-index:1;line-height:1.2}.result-details strong,.result-details span,.result-team small{display:block}.result-details span{font-size:.82rem;color:#ebd9b6;margin-top:4px}.result-table{grid-area:scores;padding:13px clamp(12px,3vw,24px) 2px}.result-table-head,.result-row{display:grid;grid-template-columns:minmax(0,1fr) 58px 70px;gap:8px;align-items:center}.result-table-head{font-size:.76rem;color:#64515b;padding-bottom:5px;border-bottom:1px solid #baa78d}.result-table-head span:not(:first-child),.result-health,.result-survivors{text-align:right;white-space:nowrap}.result-table ul{padding:0;margin:0;list-style:none}.result-row{grid-template-columns:34px minmax(0,1fr) 58px 70px;min-height:45px;border-bottom:1px solid #bfa88975;font-variant-numeric:tabular-nums}.result-row img{width:31px;height:34px;object-fit:contain}.result-team{min-width:0}.result-team strong{display:block;overflow-wrap:anywhere;line-height:1.1}.result-team small,.result-health small{font-size:.75rem;color:#665461}.result-row[data-winner] .result-team strong{color:#285d51}.result-actions{grid-area:buttons;padding:8px clamp(12px,3vw,24px) 16px;margin:0;display:flex;flex-wrap:wrap}@media(max-width:390px){.result-row{grid-template-columns:25px minmax(0,1fr) 49px 60px;gap:5px}.result-row img{width:25px}.result-table-head{grid-template-columns:minmax(0,1fr) 49px 60px;gap:5px}.result-details{font-size:.88rem}.result-actions{gap:4px}.result-actions .button{padding-inline:8px}}#game-view,.match-shell{position:relative;width:100%;height:100dvh;overflow:hidden;background:#83c9c6}.field-wrap,.world-base,.world-ink{position:absolute;inset:0;width:100%;height:100%;display:block}.field-wrap{isolation:isolate;overflow:hidden;touch-action:none;background:#749aa1}.world-ink{touch-action:none;outline:0!important}.map-world{position:absolute;inset:0;transform-origin:0 0;pointer-events:none;will-change:transform}.terrain-detail{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform;pointer-events:none}.map-sky,.passage-light,.passage-mural,.terrain-tile{position:absolute;top:0;pointer-events:none}.map-sky{border:0 solid transparent;background-position:center;background-size:cover;background-repeat:no-repeat}.map-horizon,.map-sky-depth{position:absolute;left:0;right:0;pointer-events:none}.map-horizon{background-repeat:repeat-x}.map-sky-depth{bottom:0}.map-sky canvas{position:relative;display:block;width:100%;height:100%}.passage-mural{left:0;mask-size:100% 100%;mask-repeat:no-repeat;background-repeat:repeat}.terrain-tile{display:block}.world-ink.weapon-lowered:not(.panning){cursor:default}.match-shell{--margin: clamp(10px, 2vw, 33px);--team: #a4e4a4;--float-shadow: drop-shadow(1px 2px 1px #1d233381)}.hud-top,.score-stack,.turn-island,.hud-bottom{position:absolute;z-index:2}.hud-top{top:11px;left:var(--margin);right:var(--margin);display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none}.duel-heading{isolation:isolate;max-width:31vw;display:grid;position:relative;color:var(--cream);padding:3px 18px 6px 10px}.duel-heading:before,.equipped:before,.replay-dock:before{content:"";position:absolute;inset:0;z-index:-1;background:#2c273eeb;clip-path:var(--ink-brush)}.duel-heading small,.turn-island small,.equipped small{font-weight:700;font-size:10px;color:#ffdb8d;letter-spacing:.035em}.duel-heading strong{font-style:italic;font-size:clamp(16px,1.5vw,24px);line-height:1.08;letter-spacing:-.025em;font-weight:900}.battle-tools,.camera-tools{display:flex;align-items:center;gap:4px;pointer-events:auto}.battle-tools{gap:8px}.camera-tools{gap:0;background:#2d293eea;border:2px solid #231f32;border-radius:19px 12px 17px;box-shadow:0 2px #241d35}.hud-tool{display:grid;place-items:center;min-width:42px;height:40px;padding:6px;color:var(--cream)}.camera-tools .hud-tool .icon{width:27px;height:27px}.camera-tools .hud-tool:hover,.camera-tools .hud-tool:focus-visible{background:#57465a;border-radius:12px}.battle-menu-key{display:flex;gap:7px;align-items:center;justify-content:center;min-height:44px;padding:6px 14px 7px;color:#fff2d8;background:#574159;border:2px solid #302638;border-radius:11px;box-shadow:0 2px #2e2035,inset 0 -3px #3d2d46;font-size:15px;font-weight:700;line-height:1.22}.battle-menu-key .icon{width:18px;height:18px}.score-stack{top:60px;left:var(--margin);display:grid;width:clamp(145px,14.4vw,205px);pointer-events:none;filter:var(--float-shadow)}.squad{position:relative;isolation:isolate;display:flex;align-items:center;gap:4px;height:35px;padding-right:18px;color:#fff1d3}.squad:before{position:absolute;z-index:-1;inset:7px 0 1px 14px;content:"";background:linear-gradient(96deg,#244647f5,#344541e8 73%,#304037c9);clip-path:var(--ink-brush)}.squad:nth-child(2){--team: #ffa58e}.squad:nth-child(2):before{background:linear-gradient(98deg,#5a3745f7,#543642e0 87%,#6b443bbf)}.squad img{height:37px;width:39px;object-fit:contain;flex:none}.squad>div{min-width:0;flex:1;padding-top:5px}.squad strong{font-size:12px;line-height:1;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.squad>b{font-style:italic;font-weight:900;font-size:14px;padding-top:3px}.hp-track{height:4px;background:#282939;margin-top:3px;clip-path:polygon(0 10%,100% 0,97% 80%,0 100%)}.hp-track i{display:block;height:100%;background:var(--team);transform-origin:left}.turn-island{display:grid;grid-template-columns:32px auto auto;align-items:center;gap:4px;left:50%;top:11px;transform:translate(-50%);pointer-events:none;color:var(--cream);text-shadow:var(--letter-shadow)}.turn-island>img{width:32px;height:43px;object-fit:contain;filter:var(--float-shadow);transform:rotate(-6deg)}.turn-island>b{font-weight:900;font-style:italic;font-size:29px;line-height:1;font-variant-numeric:tabular-nums;color:#ffdb74;-webkit-text-stroke:2.5px var(--line);paint-order:stroke fill}.turn-island>span{display:grid;padding-left:3px}.turn-island strong{font-size:14px}.turn-island small{font-size:10px}.objective{justify-self:start;display:flex;align-items:center;gap:5px;padding-left:6px;color:var(--cream);text-shadow:var(--letter-shadow);pointer-events:none}.objective img{width:19px;height:27px;object-fit:contain}.objective strong{font-size:12px}.hud-bottom{bottom:clamp(9px,2vh,24px)}.gear-dock{right:var(--margin);filter:var(--float-shadow)}.equipped{position:relative;isolation:isolate;display:grid;grid-template-columns:62px 1fr auto;align-items:center;gap:7px;min-width:199px;max-width:265px;text-align:left;padding:3px 20px 5px 0;color:var(--cream)}.equipped:before{inset:5px 0 0 17px;background:#29263ee8}.equipped-picture img{width:66px;height:51px;object-fit:contain;transform:rotate(-6deg);filter:drop-shadow(1px 2px 0 #222036)}.equipped small,.equipped strong{display:block}.equipped kbd{font-size:10px;padding:0 3px;color:var(--cream);background:#1f1d32;border-color:#f8e5be80}.equipped strong{font-size:18px;line-height:1.1;font-weight:700;overflow-wrap:anywhere}.equipped>b{font-size:19px;font-weight:900;color:#ffd66e}.field-note{position:absolute;bottom:calc(100% + 5px);right:0;width:max-content;max-width:min(78vw,480px);padding:5px 11px;background:#28263ce8;color:#fff0cb;border-left:3px solid #ffd165;font-size:12px;pointer-events:none}.field-note:empty{display:none}.replay-dock{isolation:isolate;left:50%;transform:translate(-50%);width:min(480px,75vw);padding:6px 14px;color:#fff0d1}.replay-controls{display:flex;align-items:center;gap:7px}.replay-controls input{flex:1;min-width:42px}.replay-controls select{width:auto;font-size:12px;color:var(--cream);background:#39344c;border:1px solid #9b8792;padding:3px 1px}.replay-controls output{font-size:12px;white-space:nowrap}@media(max-width:780px){.squad img{width:29px;height:30px}.squad{height:28px}.score-stack{top:52px;width:145px}}@media(max-width:580px){.match-shell{--margin: 8px}.hud-top{top:7px}.duel-heading{max-width:51vw;padding:2px 11px 4px 6px}.duel-heading strong{font-size:15px}.battle-tools{gap:4px}.battle-menu-key{min-width:65px;padding-inline:8px;gap:3px;font-size:13px}.hud-top{gap:6px}.duel-heading{max-width:calc(100% - 170px)}.score-stack{top:60px}.turn-island{top:58px;left:auto;right:9px;transform:none;grid-template-columns:23px auto auto}.turn-island>img{width:23px;height:29px}.turn-island>b{font-size:22px}.turn-island strong{font-size:11px}.turn-island small{font-size:9px}.equipped{min-width:164px;grid-template-columns:46px 1fr auto;padding-right:13px}.equipped-picture img{width:47px;height:38px}.equipped strong{font-size:14px}.replay-dock{width:calc(100vw - 80px);left:auto;right:3px;transform:none;padding:4px 9px}.replay-controls{gap:2px}.replay-controls select{font-size:10px}}@media(max-height:500px){.hud-bottom{bottom:4px}}.hud-bottom{display:flex;align-items:center;gap:8px;max-width:calc(100% - 2 * var(--margin))}.wind-vane{display:grid;grid-template-rows:43px 14px;justify-items:center;align-content:center;position:relative;flex:0 0 88px;height:58px;pointer-events:none;color:#fff2d3;line-height:1;font-weight:700;font-size:13px;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #272437,1px 0 #272437,-1px 0 #272437;isolation:isolate}.wind-vane:before{content:"";position:absolute;z-index:-1;bottom:0;width:34px;height:19px;border-radius:50%;background:#302a40d9}.wind-vane canvas{display:block;width:88px;height:44px;filter:drop-shadow(0 1px 1px #2724378c)}.wind-vane span{text-align:center;min-width:32px}.replay-dock{width:min(552px,96vw)}.replay-controls{flex:1;min-width:0}@media(max-width:580px){.hud-bottom{gap:3px}.wind-vane{flex-basis:76px}.wind-vane canvas{width:78px;height:39px}.replay-dock{width:calc(100% - 8px);max-width:none}}.shot-marker{--shot-color: #af61db;position:absolute;top:0;left:0;z-index:4;width:26px;height:34px;pointer-events:none;filter:drop-shadow(0 2px 1px #12283160)}.shot-marker svg{width:100%;height:100%;display:block}.squad:nth-child(3){--team: #dbafff}.squad:nth-child(3):before{background:linear-gradient(95deg,#433650f5,#564259e8)}.squad:nth-child(4){--team: #f68e97}.squad:nth-child(4):before{background:linear-gradient(95deg,#593743f5,#633b45df)}.squad[hidden],.worm-picker[hidden]{display:none}.turn-island>#turn-time{min-width:1.55em;text-align:center}.turn-island>#turn-time.urgent{color:#ff625e;font-size:clamp(30px,3.3vw,40px);text-shadow:0 2px 2px #301d2d}.worm-picker{pointer-events:auto;margin-top:3px}.worm-picker select{width:100%;max-width:145px;padding:2px 2px 2px 5px;border:1px solid #e0c89a88;border-radius:5px;color:#fff0c9;background:#332d40ea;font-weight:700;font-family:inherit;font-size:11px;line-height:1.2;cursor:pointer}@media(max-width:650px){.worm-picker select{max-width:120px}}.world-ink.aiming.mouse-bearing:not(.panning):not(.pick-fighter):not(.point-tool){cursor:default}.world-ink.aiming:not(.panning){cursor:none}.world-ink.aiming.pick-fighter:not(.panning){cursor:pointer}.world-ink.panning{cursor:grabbing}dialog.weapons-panel{--rack: #34445e;--rack-line: #202940;position:fixed;inset:0;margin:auto;padding:0;width:min(900px,calc(100vw - 32px));height:min(554px,calc(100dvh - 30px));max-width:none;max-height:none;border:3px solid var(--rack-line);border-radius:13px 20px 11px 16px;box-shadow:0 4px #211a30,0 15px 38px #15172565;overflow:hidden;color:var(--cream);color-scheme:dark;background:#29364c}.weapons-panel[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr)}.weapons-panel::backdrop{background:#1213228c}.inventory-head{display:grid;grid-template-columns:minmax(max-content,1fr) minmax(170px,260px) 44px;align-items:center;column-gap:14px;padding:10px 15px 10px 20px;border-bottom:2px solid #211e31;background:radial-gradient(circle,#ffcf8610 1px,transparent 1.5px) 0 0/6px 6px,linear-gradient(105deg,#3b5273,#29364c 75%)}.inventory-title{display:flex;align-items:center;gap:11px;min-width:0}.inventory-title img{width:48px;height:48px;object-fit:contain;transform:rotate(-8deg)}.inventory-title h2{color:#ffe3a1;font-size:clamp(29px,3.3vw,41px);margin:0;line-height:1.05;font-weight:900;font-style:italic;letter-spacing:-.035em;text-shadow:2px 2px #292135}.inventory-search{display:flex;gap:8px;align-items:center;padding:0 10px;min-height:36px;background:#202c43;border:1px solid #817187;border-radius:7px;color:#e5d3bd}.inventory-search:focus-within{border-color:#ffd47c;box-shadow:0 0 0 1px #ffd47c}.inventory-search .icon{width:16px;height:16px}.inventory-search input{width:100%;min-width:0;padding:7px 0;border:0;outline:0;color:#fff0ce;background:transparent;font-size:13px;line-height:1.3}.inventory-search input::placeholder{color:#d1c3c9}.inventory-search kbd,.inventory-tabs kbd{border-color:#94809480;color:#eddfcc;background:#2b283b;font-size:10px;line-height:1.2}.inventory-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-width:0;overflow-x:auto;scrollbar-width:thin;padding:5px 15px;background:#253249}.inventory-tabs button{display:flex;align-items:center;justify-content:center;gap:5px;flex:none;min-height:36px;padding:5px 12px;font-size:14px;font-weight:700;line-height:1.25;color:#f1e1d2;border-radius:7px 10px 6px 8px;border:1px solid transparent}.inventory-tabs button[aria-pressed=true]{color:#fff6dc;background:#47688c;border-color:#161526;box-shadow:inset 0 -2px #344b50}.inventory-body{display:grid;min-height:0;grid-template-columns:minmax(0,1.68fr) minmax(216px,1fr);gap:13px;padding:12px 15px 16px}.weapon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(108px,100%),1fr));grid-auto-rows:96px;align-content:start;align-items:stretch;gap:6px;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#99859b #312d41;padding:3px}.weapon-grid[data-roomy]{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(96px,1fr)}.weapon-cell{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center;justify-items:center;gap:1px;min-width:0;min-height:0;padding:14px 5px 7px;background:linear-gradient(150deg,#475b75,#33445c 85%);border:2px solid #221f31;border-radius:8px 11px 7px 10px;box-shadow:inset 0 1px #a091a244;color:#fff1d7;text-align:center;line-height:1.2}.weapon-cell[aria-pressed=true]{background:linear-gradient(148deg,#5a7795,#425d7d);border-color:#e6aa60}.weapon-cell[data-preview],.weapon-cell:focus-visible{border-color:#ffda85;outline:0;box-shadow:inset 0 0 0 1px #ffde9b66}.weapon-cell:hover:not(:disabled){filter:none}.weapon-cell img{grid-row:1;display:block;width:100%;height:100%;max-width:110px;object-fit:contain;filter:drop-shadow(1px 2px 0 #262233)}.slot-name{font-size:13px;font-weight:700;line-height:1.15;max-width:100%;overflow-wrap:anywhere}.slot-badges{position:absolute;inset:4px 6px auto;display:flex;align-items:start;justify-content:space-between;pointer-events:none}.slot-badges kbd{font-size:10px;line-height:1.1;padding:2px 4px;color:#eee0cd;border:1px solid #99899d;background:#2b3a52}.slot-ammo{margin-left:auto;font-size:12px;line-height:1.15;font-variant-numeric:tabular-nums;color:#ffe0a1;text-shadow:1px 1px #272337}.weapon-grid[data-roomy] .weapon-cell{padding-block:17px 8px}.weapon-grid[data-roomy] .slot-name{font-size:15px}.inventory-empty{grid-column:1/-1;align-self:center;justify-self:center;font-size:15px;color:#e3d3c9}.weapon-detail{display:grid;grid-template-rows:minmax(68px,.8fr) minmax(0,1.2fr);min-height:0;min-width:0;overflow:hidden;background:#fff0d1;border:2px solid #211d30;border-radius:8px 13px 7px 10px;color:#31283c}.gear-art{display:grid;place-items:center;min-height:0;padding:7px;border-bottom:2px solid #c68a5b;background:radial-gradient(circle,#f1b669 1.1px,transparent 1.6px) right/7px 7px,radial-gradient(ellipse,#fff1ba,#f7ce82 82%)}.gear-art img{width:100%;height:100%;min-height:0;object-fit:contain;filter:drop-shadow(2px 3px 0 #815b5b59)}.gear-copy{min-width:0;min-height:0;padding:10px 13px 12px;overflow:auto;scrollbar-width:thin;overflow-wrap:anywhere;line-height:1.34}.gear-kind{display:block;font-size:11px;font-weight:700;color:#72505a}.gear-copy h3{font-size:clamp(17px,1.6vw,22px);font-weight:700;line-height:1.13;letter-spacing:-.025em;margin:2px 0 5px}.gear-description{font-size:13px;color:#514653}.gear-stock{display:block;font-size:12px;margin-top:7px;color:#754f41}@media(min-width:611px)and (max-width:860px){.inventory-tabs kbd{display:none}.inventory-tabs button{padding-inline:9px}}@media(max-width:610px){dialog.weapons-panel{width:calc(100vw - 14px);height:min(590px,calc(100dvh - 14px))}.inventory-head{grid-template-columns:minmax(0,1fr) 44px;gap:6px 12px;padding:7px 11px}.inventory-title img{width:37px;height:37px}.inventory-title h2{font-size:30px}.inventory-search{grid-row:2;grid-column:1/-1}.inventory-head .icon-button{grid-row:1;grid-column:2}.inventory-tabs{padding:4px 7px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}.inventory-tabs kbd{display:none}.inventory-tabs button{padding-inline:3px;font-size:13px;min-height:32px}.inventory-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(85px,1fr) minmax(110px,.62fr);gap:7px;padding:5px 8px 9px}.weapon-grid{grid-template-columns:repeat(auto-fill,minmax(min(106px,100%),1fr));grid-auto-rows:82px;gap:4px}.weapon-grid[data-roomy]{grid-auto-rows:minmax(66px,1fr)}.weapon-grid[data-roomy] .slot-name{font-size:13px}.weapon-detail{grid-template-columns:26% minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.gear-art{border-bottom:0;border-right:2px solid #c68a5b}.gear-copy{padding:7px 9px}.gear-copy h3{font-size:17px}}@media(max-width:360px){.inventory-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-tabs button{min-height:28px}}@media(max-height:480px)and (orientation:landscape){dialog.weapons-panel{height:calc(100dvh - 12px);width:min(826px,calc(100vw - 16px))}.inventory-head{padding-block:4px;grid-template-columns:minmax(max-content,1fr) minmax(120px,230px) 44px}.inventory-title img{width:35px;height:35px}.inventory-title h2{font-size:28px}.inventory-search,.inventory-head .icon-button{grid-row:1;grid-column:auto}.inventory-tabs{padding-block:2px}.inventory-tabs button{min-height:28px}.inventory-body{grid-template-columns:minmax(0,1.6fr) minmax(185px,1fr);grid-template-rows:minmax(0,1fr);padding:5px 9px 6px;gap:7px}.weapon-grid{grid-auto-rows:74px}.weapon-grid[data-roomy]{grid-auto-rows:minmax(62px,1fr)}.weapon-detail{grid-template-columns:1fr;grid-template-rows:minmax(45px,.5fr) minmax(0,1fr)}.gear-art{border:0;border-bottom:2px solid #c68a5b;padding:4px}.gear-copy{padding:5px 9px}}.weapon-cell[aria-disabled=true]{color:#c3b7c4;cursor:not-allowed}.weapon-cell[aria-disabled=true] img{filter:grayscale(.8);opacity:.55}.atlas-index img{object-fit:cover;border:2px solid #faebc9;box-shadow:0 1px 2px #76542e8a}#dialog[data-screen=arena-picker],#dialog[data-screen=training]{width:min(920px,calc(100vw - 24px))}.atlas-tabs{display:flex;gap:3px 7px;flex-wrap:wrap;margin:0 0 12px;border-bottom:1px solid #987a4d77}.atlas-tabs button{padding:6px 12px;color:#5c5038;font-size:13px;font-weight:700;border-radius:4px 4px 0 0}.atlas-tabs button[aria-pressed=true]{color:#fff2d8;background:#3d5b7d}.atlas-spread{display:grid;grid-template-columns:minmax(185px,.77fr) minmax(0,1.58fr);gap:clamp(12px,2vw,24px)}.atlas-index{display:flex;flex-direction:column;align-self:stretch;padding:3px 12px 5px 0;overflow-y:auto;max-height:min(440px,60dvh);scrollbar-width:thin;scrollbar-color:#997d51 transparent;border-right:1px solid #ad936754;box-shadow:inset -12px 0 15px -21px #795932}.atlas-index button{display:flex;align-items:center;width:100%;min-height:34px;flex-shrink:0;padding:4px 5px;gap:9px;text-align:left;color:#453b2b;font-size:13px;line-height:1.25;border-bottom:1px solid #a3834e38}.atlas-index button[aria-selected=true]{background:linear-gradient(94deg,#d1b16b8c,#e4c88952 90%,transparent);color:#463348;font-weight:700;box-shadow:inset 3px 0 #d28357}.atlas-index img{width:46px;height:26px}.atlas-index button:focus-visible{outline-offset:-2px}.atlas-page{align-self:start;position:relative;min-width:0}.atlas-plate{display:block;width:100%;aspect-ratio:864/428;object-fit:cover;background:#536885;border:3px solid var(--line);box-shadow:2px 3px #7661777a}.atlas-caption{padding:14px 3px 8px}.atlas-caption small{font-size:11px;font-weight:700;color:#6b6345}.atlas-caption h3{font-size:clamp(23px,2.2vw,33px);color:#3e2e45;margin:3px 0 7px}.atlas-caption p{font-size:14px;color:#4d402e;line-height:1.45}.atlas-page footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0 1px}.atlas-size{display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap;color:#695a40}@media(max-width:660px){.atlas-spread{grid-template-columns:1fr;gap:10px}.atlas-tabs{gap:2px;margin-bottom:6px}.atlas-tabs button{font-size:12px;padding:5px 7px}.atlas-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;max-height:98px;border-right:0;border-bottom:1px solid #ac8d58;padding-right:3px}.atlas-index img{width:31px;height:21px}.atlas-index button{font-size:12px;min-height:36px;gap:5px}.atlas-plate{max-height:23dvh}.atlas-caption{padding:9px 0 4px}.atlas-caption p{font-size:13px}.atlas-page footer{flex-wrap:wrap;row-gap:5px}.atlas-page footer .button{margin-inline-start:auto}}@media(max-height:525px)and (min-width:661px){.atlas-plate{max-height:25dvh}.atlas-caption{padding:6px 0}.atlas-index{max-height:52dvh}.atlas-caption p{font-size:12px}}.atlas-index button>span{min-width:0;overflow-wrap:anywhere}.atlas-index img{flex-shrink:0}@media(max-width:400px){.atlas-tabs button{min-height:34px}}@media(max-width:420px){.atlas-index{grid-template-columns:minmax(0,1fr);max-height:108px}.atlas-index button{min-height:34px}.atlas-index img{width:38px;height:23px}}#dialog:is([data-screen=play],[data-screen=lobby]){width:min(610px,calc(100vw - 24px))}.format-field{border:0;margin:0;padding:0;min-width:0}.format-field legend,.room-country{font-size:.9rem;font-weight:700;color:#564353}.format-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:5px 0 12px}.format-options label{position:relative;cursor:pointer}.format-options input{position:absolute;opacity:0;width:1px;height:1px}.format-options span{display:block;padding:.38rem .6rem;border-radius:8px;border:2px solid #aa8f78;background:#f3dfbc;color:#665050;text-align:center;font-weight:700;font-size:1.1rem}.format-options input:checked+span{background:#49384c;border-color:#49384c;color:#ffedc4}.format-options input:focus-visible+span{outline:3px solid #3a5c83;outline-offset:2px}.match-modes{gap:9px;margin:0 0 12px}.match-modes .mode-option{display:grid;grid-template-columns:64px minmax(0,1fr) 1rem;align-items:center;gap:clamp(10px,3vw,18px);min-height:78px;padding:5px 15px 5px 6px;border:1px solid #b69a86;border-radius:9px 15px 10px 8px;background:#fff5dc9c}.match-modes .mode-option:is(:hover,:focus-visible){background:#ffedc3;border-color:#76546a}.match-modes .mode-art{align-self:center;justify-self:center;width:100%;aspect-ratio:1;padding:6px;box-sizing:border-box;display:grid;place-items:center;border-radius:6px 12px 6px 5px;background:#c8dcd0}[data-action=private] .mode-art{background:#f3d39d}[data-action=bot] .mode-art{background:#d7c8d7}.match-modes .mode-art svg{display:block;width:100%;height:100%;min-width:0;min-height:0;transform-origin:50% 70%;object-fit:contain}@media(prefers-reduced-motion:no-preference){.match-modes .mode-option:is(:hover,:focus-visible) .mode-art svg{animation:mode-greeting .46s ease-out both}@keyframes mode-greeting{0%,to{transform:none}32%{transform:translateY(-2px) rotate(-8deg)}68%{transform:rotate(5deg)}}}.match-modes strong{font-size:1.14rem;line-height:1.24}.match-modes small{font-size:.89rem}.match-modes i{font-size:1.8rem;font-style:normal;color:#705361}.setup-fields{display:grid;gap:12px}.setup-fields .format-options{margin-bottom:0}.queue-map-note{margin:0;color:#685547}.arena-card{display:grid;grid-template-columns:clamp(100px,34%,190px) 1fr;align-items:stretch;width:100%;padding:0;text-align:start;margin:0 0 13px;border:2px solid #514250;border-radius:9px 16px 9px 6px;background:#33455f;color:#ffedcb;overflow:hidden}.arena-card>img{width:100%;height:100%;min-height:83px;max-height:116px;object-fit:cover}.arena-card>span{display:grid;gap:3px;align-content:center;min-width:0;padding:8px 12px}.arena-card small{color:#f0d8b8;font-size:.77rem}.arena-card strong{font-size:clamp(1.05rem,3vw,1.32rem);line-height:1.15}.arena-card b{display:flex;align-items:center;gap:6px;color:#f8ca7b;font-size:.84rem}.arena-card b .icon{width:16px;height:16px}button.arena-card:hover{background:#59435a}.room-map{justify-content:space-between}@media(max-width:390px){.match-modes .mode-option{grid-template-columns:46px 1fr 10px;padding-right:9px}.match-modes .mode-art{padding:4px}.arena-card{grid-template-columns:84px 1fr}}#join-form .field{margin:.7rem 0 .25rem}#join-error{display:block;margin-top:5px;font-size:.9rem;color:#882d39}#join-error[hidden],.connection-note[hidden]{display:none}#join-code[aria-invalid=true]{border-color:#a23e46}.connection-note{margin:0 0 10px;padding:8px 12px;background:#f5d7a3;border-inline-start:3px solid #984b46;color:#482e38;font-weight:700}.queue-emblem,.queue-progress,.queue-actions{text-align:center;justify-content:center}.queue-emblem{margin:14px auto 12px;width:min(7rem,30vw)}.queue-emblem svg{display:block;width:100%}.queue-progress{display:grid;gap:5px;margin-bottom:18px}.queue-progress strong{font-size:1.2rem}.queue-progress span,.room-status span{color:#645044;font-size:.9rem}.queue-progress time,.room-status time{font-variant-numeric:tabular-nums}.search-seats{display:flex;gap:6px;justify-content:center;margin-bottom:7px}.search-seats i{border:1px solid #927761;border-radius:5px 7px 6px 4px;width:25px;height:10px;background:#e9d6b6}.search-seats i.filled{background:#46658a;border-color:#334966}.room-map{display:flex;align-items:center;gap:10px;margin-bottom:12px}.room-map strong,.room-map small,.team-place strong,.team-place small,.result-teams span{display:block}.room-map small,.team-place small{font-size:.82rem;color:#674f42}.room-map .button{font-size:.86rem;padding-inline:.65rem}#dialog .invite-strip{margin-block:12px;padding:8px 12px;border-block:1px solid #b89a78}.team-grid,.result-teams,.rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.team-sheet{--team-color: #366d69;min-width:0}.team-sheet.side-1{--team-color: #a55b27}.team-sheet h3{display:flex;align-items:center;gap:.45rem;color:var(--team-color);font-size:1rem;margin:0;border-bottom:2px solid var(--team-color);padding-bottom:.25rem}.team-sheet h3 i{display:inline-block;width:13px;height:17px;background:var(--team-color);clip-path:polygon(0 0,100% 0,100% 60%,50% 100%,0 60%)}.team-sheet ul{list-style:none;padding:0;margin:0}.team-place{display:flex;align-items:center;gap:7px;padding-block:5px;min-height:56px;border-bottom:1px solid #cbb696}.team-place img,.place-icon{width:36px;height:36px;flex:0 0 36px;object-fit:contain}.team-place strong,.result-teams span{overflow-wrap:anywhere;line-height:1.18}.team-place strong{font-size:.92rem}.team-place .is-ready{color:#315e43}.place-icon{display:grid;place-items:center;color:#846d5a;border:1px dashed #a88b6f;border-radius:50%}.place-icon .icon{width:17px;height:17px}.seat-actions{display:flex;flex-wrap:wrap;gap:0 9px}.seat-action{padding:.14rem 0;font-size:.84rem;color:#63445a;border:1px solid #ac9d87;border-radius:5px;background:#f9edd6;padding:3px 7px;margin-block:2px}.room-status{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;margin:9px 0}.room-country{grid-template-columns:auto 1fr;align-items:center;gap:12px}.result-teams{margin:10px 0}.result-teams span{font-size:.9rem}@media(max-width:470px){.team-grid,.rules-grid{gap:8px}.team-place{align-items:flex-start;gap:4px}.team-place img,.place-icon{width:24px;height:26px;flex-basis:24px}.room-map{flex-wrap:wrap}.invite-strip .button{padding-inline:.55rem}#dialog .invite-strip{padding-inline:2px}}.turn-island>span{min-width:0;max-width:clamp(100px,19vw,204px)}.turn-island #turn-number{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#dialog[data-screen=lobby]{width:min(925px,calc(100vw - 24px));overflow:hidden}#dialog[data-screen=lobby] .dialog-inner{display:flex;flex-direction:column;max-height:calc(100dvh - 32px)}#dialog[data-screen=lobby] .dialog-head,.room-footer{flex:none}.room-layout{min-height:0;overflow-y:auto;overscroll-behavior:contain;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:clamp(12px,2.6vw,28px);padding:4px}.room-roster,.room-config{min-width:0}.room-config .arena-card{grid-template-columns:32% 1fr}.room-config .invite-strip{flex-wrap:wrap;column-gap:8px}.room-country{margin:14px 0 0}.room-footer{display:flex;align-items:center;justify-content:space-between;gap:8px 15px;flex-wrap:wrap;padding:12px 4px 0;margin-top:12px;border-top:1px solid #b69a86}.room-footer .actions,.room-footer .room-status{margin:0}@media(max-width:730px){.room-layout{display:block}.room-config .arena-card{grid-template-columns:33% 1fr}#dialog .room-config .invite-strip{padding:6px 2px;margin:5px 0 10px}.room-footer{gap:3px 12px}.room-footer .actions{gap:5px}}.format-options span{display:grid;align-content:center;min-height:3.1rem;height:100%;padding:.28rem .12rem;line-height:1.13;font-size:clamp(.85rem,1.7vw,1rem)}.format-options small{display:block;margin-top:3px;font-size:.74rem;font-weight:500}.team-sheet.side-2{--team-color: #75568b}.team-sheet.side-3{--team-color: #a24951}.map-samples{display:flex;min-height:80px;overflow:hidden}.map-samples img{width:34%;object-fit:cover;border-right:1px solid #463749}.atlas-random{display:flex;gap:9px;align-items:center;text-align:left;padding:.45rem .85rem;margin-bottom:8px;background:#f4e1bd;border:1px solid #a78f76;border-radius:8px}.atlas-random strong,.atlas-random small{display:block}.atlas-random .icon{width:27px;height:27px}.atlas-random small{color:#65534d;font-size:.8rem}.top-buttons .compact,.icon-button,.dialog-back,.hud-tool{display:inline-grid;place-items:center;padding:0;line-height:1}button [data-icon],button svg.icon{display:block;flex:none;line-height:0}.top-buttons .compact{height:44px;min-height:44px;box-sizing:border-box}.profile-chip{align-items:center}#dialog[data-screen=room-draft]{width:min(900px,94vw)}.war-banner{position:relative;display:inline-block;vertical-align:middle;width:29px;aspect-ratio:.76;flex:none;isolation:isolate;filter:drop-shadow(0 1px 1px #30233488)}.war-banner:before{content:"";position:absolute;inset:0 0 auto;height:8%;border-radius:10px;background:linear-gradient(#5c4035,#f4d88e 30%,#a17441 72%,#503d38);z-index:2}.war-banner>i{position:absolute;inset:5% 6% 0;clip-path:var(--cut);background:#e8bf78}.war-banner>i>b{position:absolute;inset:2px 2px 3px;clip-path:var(--cut);background-image:linear-gradient(95deg,#1e172750,transparent 30%,#fff7dc27 57%,#26182e29 83%),var(--weave);background-color:var(--fabric)}.war-banner>i>img{position:absolute;inset:18% 15% auto;width:70%;height:51%;object-fit:contain;filter:drop-shadow(0 1px 1px #332233);padding:0}.team-place .war-banner{width:36px}.team-sheet h3 i{color:var(--squad);background:transparent;width:auto;height:auto}.party-members{list-style:none;padding:0}.party-members li{display:flex;justify-content:space-between;gap:6px;padding:8px 0;border-bottom:1px solid #baaca1}.score-stack .squad .hp-track i{background:var(--squad)}.score-stack .squad:before{background:linear-gradient(95deg,color-mix(in srgb,var(--squad) 26%,#272938) 0,#282a39e5 85%)}.squad .war-banner{width:27px}.feed-row .war-banner{width:18px}.result-row .war-banner{width:33px}.result-banner .result-standard{display:grid;place-items:center}.result-standard .war-banner{width:min(82px,13vw)}.worm-cycle{pointer-events:auto;justify-self:start;display:flex;align-items:center;gap:6px;margin:4px 0 0 3px;padding:4px 8px;border:1px solid #a69c895e;border-radius:10px;color:#ffefce;background:#2d293ce8;font:700 11px Rubik,sans-serif}.worm-cycle b{font-size:18px}.worm-cycle[hidden]{display:none}.worm-cycle kbd{font-size:10px}.format-field .format-options{grid-template-columns:repeat(2,minmax(0,1fr))}.team-place>div{min-width:0}.team-place strong{overflow-wrap:anywhere}#identity-form .field{margin-bottom:10px}#dialog[data-screen=workshop]{width:min(1010px,calc(100vw - 20px));max-width:calc(100vw - 12px);height:min(746px,calc(100dvh - 25px));overflow:hidden}#dialog[data-screen=workshop] :is(#dialog-body,.dialog-inner){height:100%;min-height:0}#dialog[data-screen=workshop] .dialog-inner{display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:0}#dialog[data-screen=workshop] .dialog-head{position:relative;margin:0}#dialog[data-screen=workshop] .dialog-note:not([hidden]){position:absolute;bottom:62px;left:50%;transform:translate(-50%);padding:8px 15px;background:var(--night-ink);color:var(--cream);border-radius:7px;z-index:3}.atelier{display:grid;min-height:0;grid-template-columns:minmax(220px,.83fr) minmax(0,1.26fr)}.dressing-stage{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--night-ink);color:var(--cream);border-inline-end:2px solid #293347}.fitting-set{position:relative;flex:1;min-height:0;isolation:isolate;overflow:hidden;background:#28504d url(/art/v2/wardrobe/atelier.webp) center 67% / cover no-repeat}.fitting-set:before{content:"";position:absolute;inset:auto 17% 12% 20%;height:6%;border-radius:50%;background:radial-gradient(ellipse,#25252895,transparent 72%)}.fitting-set:has(.fitting-zoom[aria-pressed=true]):before{display:none}.fitting-set canvas{position:absolute;inset:0;width:100%;height:100%}.fitting-set>.war-banner{position:absolute;top:5%;left:6%;width:13%;transform:rotate(-4deg)}.fitting-set.show-standard>.war-banner{left:50%;top:48%;width:min(43%,145px,24vh);transform:translate(-50%,-50%) rotate(-3deg);filter:drop-shadow(2px 6px 4px #13272c83)}.show-standard canvas{display:none}.stage-controls{display:flex;gap:5px;align-items:center;padding:6px;background:linear-gradient(#324259,#27364c);border-top:1px solid #bca578}.fitting-tools,.fitting-random{display:flex;align-items:center;gap:4px;min-width:0}.fitting-tools{flex:1}.fitting-tools label{min-width:0;flex:1}.fitting-tools .game-choice{width:100%}.fitting-random{margin-inline-start:auto}.stage-controls button:not(.choice-trigger),.fitting-zoom{flex:none;display:grid;place-items:center;width:32px;height:32px;border:1px solid #8090a3;border-radius:7px;color:#ffedc8;background:#354860;box-shadow:inset 0 1px #71849a45}.stage-controls button:is(:hover,:focus-visible):enabled,.stage-controls button[aria-pressed=true],.fitting-zoom[aria-pressed=true]{background:#4d6989;color:#fff4d9}.stage-controls .icon,.fitting-zoom .icon{width:17px;height:17px}.stage-controls .choice-trigger{height:32px;min-height:32px;color:#f9edce;background:#223147;border-color:#8290a1;box-shadow:none;font-size:12px}.fitting-zoom{position:absolute;top:8px;right:8px;background:#243347de}.sight-slider{display:flex;align-items:center;gap:8px;font-size:12px;padding:3px 10px 7px;background:var(--night-ink)}.sight-slider input{min-width:0;flex:1}.sight-slider output{min-width:3em;text-align:right}.dressing-edit{display:flex;flex-direction:column;min-width:0;min-height:0;padding:clamp(10px,1.7vw,22px);background:linear-gradient(122deg,#fff7e660,#ead9b636)}.atelier-name,.template-controls label{font-size:12px;font-weight:700;color:#514c51}.atelier-name{display:grid;gap:3px}.atelier-name input{width:100%;min-width:0;min-height:35px;padding:6px 9px;font-size:14px}.dressing-tabs,.guide-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:13px 0 0;padding:0;border:0}.dressing-tabs button,.guide-tabs button{display:flex;justify-content:center;align-items:center;gap:7px;min-width:0;padding:8px 3px;color:#445269;background:#eee1c8;border:1px solid #b7a88b;border-radius:9px 9px 4px 4px;box-shadow:inset 0 1px #fff8e4;font-weight:700}.dressing-tabs button[aria-pressed=true],.guide-tabs button[aria-pressed=true]{background:linear-gradient(150deg,#49678a,#304565);border-color:#25344e;color:#fff3d7;box-shadow:inset 0 2px #93acc3}.dressing-tabs .icon{width:19px;height:19px}.drawer-bar{display:flex;gap:6px;align-items:center;justify-content:space-between;margin:9px 0 8px;min-width:0}.part-groups{display:flex;flex-wrap:wrap;gap:3px;min-width:0}.part-groups button,.collection-filter{padding:5px 7px;border-radius:5px;color:#4d4e54;font-size:12px;line-height:1.2;font-weight:700}.part-groups button{border:1px solid transparent}.part-groups button[aria-pressed=true]{color:#33394c;border-color:#c29c60;background:#efcf97;box-shadow:inset 0 1px #fff3cd}.part-groups button:hover{background:#edddbf}.collection-filter{display:flex;align-items:center;gap:4px;border:1px solid #b7ac9d;flex:none}.collection-filter svg{border:1px solid #938b81;border-radius:3px;stroke:transparent}.collection-filter[aria-pressed=true] svg{background:var(--enamel);stroke:#fff}.kit-pages{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-color:#a99882 transparent;scrollbar-gutter:stable;flex:1;padding:3px}.costume-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-content:start}.costume-grid button{position:relative;min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:6px 4px;background:radial-gradient(ellipse at 42% 22%,#fffbee,#eee2c7);border:1px solid #c1ad8c;border-radius:8px;color:#3c4654;min-height:59px;font:700 12px/1.2 Rubik,sans-serif}.costume-grid button:hover{border-color:#596e87}.costume-grid button[aria-pressed=true]{color:#253652;outline:2px solid #42638b;outline-offset:-2px;background:#f7e5bb}.costume-grid .item-locked{background:linear-gradient(#f0eee6,#dfddd4)}.item-name{max-width:100%;overflow-wrap:anywhere}.item-grid canvas{height:clamp(38px,8vh,72px);width:100%;object-fit:contain}.item-grid .war-banner{width:34px;margin-block:4px 2px}.item-locked canvas,.item-locked .war-banner{filter:saturate(.1);opacity:.78}.item-locked[aria-pressed=true] canvas,.item-locked[aria-pressed=true] .war-banner{filter:saturate(.45);opacity:1}.lock-tag{position:absolute;top:3px;right:3px;display:flex;align-items:center;gap:2px;padding:2px 4px;border-radius:4px;background:#455063;color:#fff1d2;font-size:10px}.lock-tag .icon{width:10px;height:10px}.atelier-palette{flex:none;min-width:0;margin:8px 0 0;padding:6px 2px 1px;border:0;border-top:1px solid #c2b196}.atelier-palette legend{padding:0 7px 0 0;font-size:12px;color:#544e48}.atelier-palette legend strong{margin-inline-start:5px;color:var(--night-ink)}.atelier-palette>div{display:flex;flex-wrap:wrap;gap:6px;padding:2px}.atelier-palette button{display:grid;place-items:center;width:28px;height:28px;padding:3px;border-radius:7px;border:1px solid #51414bc9;background:linear-gradient(132deg,var(--glint, color-mix(in srgb, var(--dye), #fff2ca 37%)) 7%,var(--dye) 47%,var(--shade, color-mix(in srgb, var(--dye), #382e3c 45%)) 94%);box-shadow:inset 1px 1px #fff6d160;color:#fff1cc}.atelier-palette button[aria-pressed=true]{outline:2px solid #334969;outline-offset:1px}.atelier-palette svg{width:17px;height:17px}.dressing-edit button:focus-visible{outline:2px solid #263f6c;outline-offset:1px;z-index:1}.atelier-footer{--row: 38px;display:flex;align-items:center;gap:8px;border-top:1px solid var(--paper-edge);background:#f1e2c8;padding:9px 14px}.template-controls,.apply-controls{display:flex;align-items:center;min-width:0;gap:6px}.template-controls{flex:1}.template-controls label{flex:0 1 170px;min-width:0}.template-controls .game-choice{width:100%}.atelier-footer .choice-trigger,.atelier-footer .button{height:var(--row);min-height:var(--row);padding-block:0;font-size:13px}.template-controls .icon{width:16px;height:16px}.atelier-footer .primary-action:disabled{opacity:.75}@media(max-width:770px){.template-controls .button span{display:none}.template-controls .button{width:var(--row);padding-inline:0}.atelier{grid-template-columns:minmax(183px,.72fr) minmax(0,1.28fr)}.dressing-tabs button{font-size:14px}.stage-controls{flex-wrap:wrap}}@media(max-width:520px){#dialog[data-screen=workshop]{height:min(748px,calc(100dvh - 14px))}#dialog[data-screen=workshop] .dialog-head{min-height:44px;padding:3px 9px}#dialog[data-screen=workshop] .dialog-head h2{font-size:23px}.atelier{grid-template-columns:minmax(0,1fr);grid-template-rows:clamp(110px,25dvh,180px) minmax(0,1fr)}.dressing-stage{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(117px,.86fr);grid-template-rows:minmax(0,1fr) auto;border:0}.dressing-stage .fitting-set{grid-row:1/-1}.stage-controls{grid-column:2;grid-row:1;grid-template-columns:auto minmax(0,1fr);align-self:center;display:grid;padding:5px;border:0;background:none}.fitting-tools{display:contents}.fitting-tools label{grid-column:1/-1;grid-row:1}.fitting-tools .choice-trigger{height:auto;padding:4px 5px}.fitting-tools .choice-trigger span{white-space:normal;overflow-wrap:anywhere;text-align:left;line-height:1.1}.fitting-tools [data-kit=flip]{grid-row:2;grid-column:1}.fitting-random{grid-column:2;grid-row:2;justify-content:end;margin:0}.stage-controls button:not(.choice-trigger){width:27px;height:28px}.banner-stage .fitting-random{grid-column:1/-1;grid-row:1;margin:0;justify-content:center}.sight-slider{grid-column:2;padding:2px 4px;font-size:10px}.sight-slider output{min-width:2em}.dressing-edit{padding:5px 8px}.atelier-name{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px;font-size:11px}.atelier-name input{min-height:0;height:27px;padding:2px 5px;font-size:12px}.dressing-tabs{gap:3px;margin-top:4px}.dressing-tabs button{font-size:13px;gap:3px;padding:4px 1px}.dressing-tabs .icon{width:15px;height:15px}.drawer-bar{gap:3px;margin:4px 0}.part-groups button,.collection-filter{font-size:10px;padding:4px}.costume-grid{gap:4px}.costume-grid button{min-height:48px;font-size:11px;padding:2px}.item-grid canvas{height:32px}.item-grid .war-banner{width:24px}.atelier-palette{margin-top:3px;padding-top:1px}.atelier-palette>div{gap:4px}.atelier-palette button{width:23px;height:23px}.atelier-footer{--row: 30px;display:grid;grid-template-columns:1fr;gap:5px;padding:5px 8px}.template-controls label{flex:1}.apply-controls{justify-content:flex-end}.apply-controls .primary-action{flex:1}.atelier-footer .button,.atelier-footer .choice-trigger{font-size:12px}}@media(max-height:480px)and (min-width:521px){.atelier-footer{--row: 30px;padding:4px 8px}.dressing-edit{padding:4px 8px}.dressing-tabs{margin-top:3px}.dressing-tabs button{padding-block:2px}.drawer-bar{margin-block:2px}.atelier-palette{padding-top:1px;margin-top:2px}.atelier-palette button{width:21px;height:21px}#dialog[data-screen=workshop] .dialog-head{padding-block:2px}.atelier-name{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px}.atelier-name input{height:29px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.game-choice{display:inline-flex;position:relative;min-width:0;max-width:100%;vertical-align:middle}.game-choice>.choice-value{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;pointer-events:none}.choice-trigger{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;width:100%;min-height:38px;border:1px solid #9f927f;border-radius:7px;padding:6px 10px;background:linear-gradient(#fff8e8,#f4e8d2);color:#354258;font:700 14px/1.2 Rubik,sans-serif;box-shadow:inset 0 1px #fff9ed;text-align:start}.choice-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.choice-trigger>.icon{width:13px;height:13px}.choice-trigger[aria-expanded=true]{outline:2px solid #567594;outline-offset:-1px}.choice-list{position:fixed;inset:auto;margin:0;width:max-content;max-width:calc(100vw - 16px);max-height:min(360px,85dvh);padding:4px;overflow:auto;overscroll-behavior:contain;z-index:50;color:#2a3446;background:#fff2d8;border:2px solid #344259;border-radius:9px;box-shadow:0 5px 16px #121b3069;font:700 14px/1.25 Rubik,sans-serif;scrollbar-color:#a5957b #f2e4cc;outline:none}.choice-group{padding:8px 8px 4px;color:#716249;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.choice-list [role=option]{cursor:pointer;position:relative;padding:8px 25px 8px 9px;border-radius:4px;overflow-wrap:anywhere}.choice-list [role=option][aria-selected=true]:after{content:"\2713";position:absolute;right:7px}.choice-list [role=option].current,.choice-list [role=option]:hover{background:var(--enamel);color:#fff3da}.field>.game-choice{width:100%}.settings-row .game-choice{max-width:65%}dialog input:is([type=text],[type=password],:not([type])):not([type=range]){border:1px solid #ab9b86;border-radius:7px;color:#2d3849;background:#fff8e9;min-width:0}dialog input[type=password],#identity-form input{padding:9px 10px}label.settings-row{padding:7px 0;margin:4px 0;border-bottom:1px solid #baaa8b5c;color:#354359;font-weight:700;font-size:14px}.settings-row input[type=checkbox]{appearance:none;width:40px;height:23px;display:inline-grid;align-items:center;margin:0;flex:none;border-radius:15px;border:1px solid #918877;background:#c4baa8;transition:background .12s}.settings-row input[type=checkbox]:before{content:"";width:15px;height:15px;margin-left:3px;border-radius:50%;background:#fff7df;box-shadow:0 1px 2px #242d4660;transition:transform .14s}.settings-row input[type=checkbox]:checked{background:var(--enamel);border-color:var(--night-ink)}.settings-row input[type=checkbox]:checked:before{transform:translate(17px)}#dialog .tabs{display:flex;gap:5px;padding:0;border:0}#dialog .tabs button{border:1px solid #baa991;border-radius:7px;padding:7px 10px;color:#4b5262;background:#f1e1c6}#dialog .tabs button[aria-pressed=true],.format-options label:has(input:checked)>span{color:var(--cream);background:#394f70;border-color:#293b56}#dialog[data-screen=help]{width:min(620px,calc(100vw - 20px))}.guide-tabs{margin:0 0 12px}.guide-page{max-height:min(50dvh,440px);min-height:min(39dvh,300px);overflow:auto;overscroll-behavior:contain;scrollbar-color:#b5a38a transparent}.guide-page article{padding:10px 3px;border-bottom:1px solid #c6b598a0}.guide-page article:first-child{padding-top:4px}.guide-page article header{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:4px 11px;color:#35425b}.guide-page article header span{display:flex;gap:4px}.guide-page kbd{background:#fff8e9;color:#344760;border:1px solid #9b9387;border-bottom:3px solid #ab9f8d;padding:3px 7px;border-radius:5px;font-size:12px}.guide-page p{font-size:13px;line-height:1.42;margin:4px 0 0;color:#5e5752}.replay-controls .choice-trigger{font-size:12px;min-height:28px;padding:3px 6px}@media(max-width:360px){.guide-tabs button{font-size:12px;gap:3px;padding-inline:1px}.guide-tabs button svg{width:15px}}@media(forced-colors:active){.settings-row input[type=checkbox]{appearance:auto}.settings-row input[type=checkbox]:before{display:none}.choice-list [role=option].current{outline:2px solid Highlight}}#party-dock{display:flex;align-items:stretch;gap:3px;max-width:min(58vw,320px);margin-left:auto;filter:drop-shadow(0 3px 3px #13203360)}.dock-card,.dock-launch{color:#fff0cd;background:linear-gradient(120deg,#2d4059ef,#24314af2);border:1px solid #b2a185;border-radius:10px;display:flex;align-items:center;gap:9px;padding:6px 10px;text-align:left}.dock-launch{padding:8px;border-radius:6px;color:#ffda91}.dock-card:hover,.dock-launch:hover{border-color:#ffe0a6}.dock-portraits{display:flex;align-items:center;flex:none}.dock-portraits img,.dock-portraits i{display:grid;place-items:center;width:39px;height:43px;object-fit:cover;border:2px solid #dcc9a3;border-radius:7px;box-shadow:0 2px #182237}.dock-portraits :nth-child(2){margin-inline-start:-5px}.dock-portraits i{width:29px;height:33px;background:#364a63;color:#ffdc98;border:1px dashed #c3b696}.dock-copy{min-width:0;display:grid;gap:2px}.dock-copy small,.party-ticket small,.profile-pass small{display:block;color:#e6c58e;font-size:10px;letter-spacing:.07em;text-transform:uppercase;font-weight:700}.dock-copy strong{font-size:14px;line-height:1.2}#dialog[data-screen=profile]{width:min(610px,calc(100vw - 20px))}.profile-pass,.party-ticket{display:flex;align-items:center;gap:14px;padding:12px 16px;background:linear-gradient(120deg,#324863,#27334d);border-radius:9px;color:#ffefd0}.pass-portrait{width:74px;height:74px;border:2px solid #dbbf86;border-radius:10px;object-fit:cover}.profile-pass>div{min-width:0}.profile-pass strong{display:block;overflow-wrap:anywhere;line-height:1.1;margin-top:4px;font-size:clamp(19px,3vw,27px)}.profile-stats{display:flex;gap:4px 13px;flex-wrap:wrap;margin-top:8px;color:#dedaca;font-size:12px}.profile-stats b{color:#ffe0a6}.avatar-choices{margin:13px 0 2px;padding:0;border:0}.avatar-choices legend,.profile-fields .field{font-size:13px;font-weight:700;color:#43506a}.avatar-choices>div{display:flex;gap:6px;margin-top:4px}.avatar-choices label{position:relative;flex:0 1 52px;min-width:0;cursor:pointer}.avatar-choices img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;border:2px solid #b6a78f}.avatar-choices input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}.avatar-choices input:checked+img{border-color:#2e4669;box-shadow:0 0 0 2px #efbc6a}.avatar-choices input:focus-visible+img{outline:3px solid #45628b;outline-offset:2px}.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-fields>*{min-width:0}.profile-fields .game-choice,.profile-fields input{height:38px;width:100%}.career-detail details{color:#585555;font-size:12px}.career-detail summary{cursor:pointer;font-weight:700;color:#405570}#profile-form .actions{justify-content:space-between}.party-members{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}.party-members li{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-width:0;padding:8px;border:1px solid #c3af90;border-radius:8px;background:#f2e3c7}.party-members img,.party-vacant>svg{width:clamp(36px,5vw,56px);height:clamp(40px,5.6vw,62px);flex:none;object-fit:cover;border:1px solid #716b69;border-radius:7px}.party-vacant>svg{padding:8px;border-style:dashed;color:#717581}.party-members b,.party-members small{display:block;overflow-wrap:anywhere}.party-members b{font-size:14px;color:#34455f}.party-members small{font-size:12px;color:#68615b}.party-ticket{justify-content:space-between;flex-wrap:wrap}.party-ticket .room-code{color:#ffe1a0}.party-intro,.party-status{font-size:14px;color:#55535a}.party-join{display:flex;align-items:end;gap:8px;border-top:1px solid #c9b99b;margin-top:18px;padding-top:13px}.party-join .field{margin:0;flex:1;min-width:0}.party-join input{text-transform:uppercase}@media(max-width:520px){.dock-card{gap:5px;padding:4px 6px}.dock-portraits img{width:30px;height:33px}.dock-portraits i{width:23px;height:26px}.dock-copy strong{font-size:11px}.dock-copy small{font-size:9px}.dock-launch{padding:3px}.profile-pass{padding:8px;gap:8px}.pass-portrait{width:52px;height:52px}.profile-fields{grid-template-columns:minmax(0,1fr);gap:0}.profile-fields .field{margin:5px 0}.party-members li,.party-join{flex-wrap:wrap}.party-join .field{flex-basis:110px}.profile-stats{gap:4px 8px}}:root{--ink: #102a32;--action-face: #315893;--action-edge: #222a46;--action-type: #fff5d9;--enamel: #355787;--night-ink: #26334d;--paper-edge: #bdab8d;--parchment: linear-gradient(#fffae6eb, #ffefd6dd), url(/art/v2/ui-paper.webp);--line: #282339;--cream: #fff1cd;--letter-shadow: 0 2px 0 #222333, 1px 0 1px #222333, -1px 0 1px #222333;--ink-brush: polygon( 1% 13%, 7% 7%, 62% 4%, 90% 0, 98% 8%, 95% 17%, 100% 14%, 97% 43%, 99% 52%, 95% 73%, 98% 86%, 79% 93%, 8% 100%, 0 86%, 3% 72%, 0 65%, 3% 39% );--walnut: #41313b;--forest: #253e2d;--paper: #f3dfb2;--text: #fff7d9;--muted: #b6c7bc;--edge: #547073;--gold: #ffd25b;--panel: #162e36;--dark: #0b1d24;color-scheme:dark;font-family:Rubik,Segoe UI,sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{color:var(--text);background:var(--dark);font-size:16px}button,input,select{font:inherit}button{color:inherit;background:none;border:0;line-height:1.25}button:disabled{opacity:.45}@media(any-pointer:fine){html,dialog::backdrop{cursor:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">%0A  <g stroke-linecap="round" fill="none">%0A    <path d="M16 3v7m0 12v7M3 16h7m12 0h7" stroke="%23172c32" stroke-width="4.4"/>%0A    <path d="M16 3v7m0 12v7M3 16h7m12 0h7" stroke="%23ffe399" stroke-width="2"/>%0A  </g>%0A  <circle cx="16" cy="16" r="2" fill="%23ffe399" stroke="%23172c32" stroke-width="1.4"/>%0A</svg>%0A') 16 16,crosshair}input[type=text],input[type=search]{cursor:text}button,a[href],select,input[type=range],input[type=checkbox],label:has(input[type=checkbox]),[role=button]{cursor:pointer}button:disabled{cursor:not-allowed}}[hidden]{display:none!important}h1,h2,h3,p{margin:0}a{color:var(--gold)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffdf83;outline-offset:3px}.icon{width:1.16em;height:1.16em;vertical-align:-.18em;flex:none}kbd{font:700 12px Rubik,sans-serif;display:inline-block;border:1px solid #91a59869;border-bottom:2px solid #91a59869;border-radius:4px;background:#09212970;padding:2px 5px}input[type=range]{accent-color:#ffc84c}button{transition:color .1s,background-color .1s,box-shadow .1s,filter .1s}button:hover:not(:disabled){filter:brightness(1.07)}.arena-arrival{position:fixed;inset:0;z-index:28;display:grid;place-items:center;isolation:isolate;overflow:hidden;background:#1d3b43;color:#fff2d0;opacity:1;transition:opacity .26s ease}.arena-arrival:before{content:"";position:absolute;inset:-8px;z-index:-1;background-image:linear-gradient(110deg,#112e38ec,#1c4149aa),var(--arrival-sky, url(/art/v2/wardrobe/atelier.webp));background-position:center;background-size:cover;filter:blur(3px)}.arena-arrival.departing{opacity:0;pointer-events:none}.arrival-card{display:flex;align-items:center;gap:16px;max-width:90vw;text-shadow:0 2px 4px #132832}.arrival-card svg{width:clamp(50px,9vw,76px);height:auto;filter:drop-shadow(0 4px 5px #162a37);animation:arrival-needle 2s ease-in-out infinite}.arrival-card small,.arrival-card strong{display:block}.arrival-card small{font-size:clamp(13px,2.5vw,16px);color:#e7ca9e;margin-bottom:3px}.arrival-card strong{font-size:clamp(25px,5vw,42px);line-height:1.12}@keyframes arrival-needle{0%,to{transform:rotate(-14deg)}50%{transform:rotate(14deg)}}[aria-busy=true]>.connection-note:not([hidden]):before,#history[aria-busy=true]:before,.feed [role=status]:before,button[aria-busy=true]:before{content:"";display:inline-block;width:.9em;height:.9em;margin-right:.55em;vertical-align:-.1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:wait-spin .85s linear infinite}@keyframes wait-spin{to{transform:rotate(1turn)}}@media(prefers-reduced-motion:reduce){.arena-arrival{transition:none}.arrival-card svg,[aria-busy=true]>.connection-note:before,#history[aria-busy=true]:before,.feed [role=status]:before,button[aria-busy=true]:before{animation:none}}#toast{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:20;background:#302c42;color:#fff2c8;border:1px solid #ac8d55;padding:10px 18px;border-radius:6px;font-size:14px}@media(prefers-reduced-motion:reduce){*,*:after,*:before{animation-duration:.001ms!important;transition:none!important}}.menu-choice.primary,.button.primary-action{color:var(--action-type);background:linear-gradient(165deg,#5483b3,var(--action-face) 74%);border:2px solid var(--action-edge);border-radius:12px;box-shadow:inset 0 1px #adc8df,inset 0 -3px #27416b,0 3px #352439;text-shadow:0 1px #22334c;font-weight:700;font-style:normal;letter-spacing:normal}.menu-choice.primary:hover:not(:disabled),.menu-choice.primary:focus-visible,.button.primary-action:hover:not(:disabled){color:#fff9ee;background:linear-gradient(150deg,#608fbc,#385f99)}.menu-choice.primary:focus-visible,.button.primary-action:focus-visible{outline:3px solid #ffe3a4;outline-offset:3px}.menu-choice.primary:active,.button.primary-action:active{box-shadow:inset 0 2px #243859,0 1px #352439}
