:root{--bg-base: #1a1816;--bg-deeper: #0e0c0a;--bg-panel: #211e1a;--bg-elevated: #2c2622;--bg-overlay: rgba(14, 12, 10, .92);--bg-glass: rgba(33, 30, 26, .86);--gold-line: #c9a04f;--gold-bright: #f0c878;--gold-soft: #7a6438;--gold-deep: #3a2f18;--gold-glow: rgba(201, 160, 79, .4);--gold-glow-strong: rgba(240, 200, 120, .6);--side-red: #d05050;--side-red-bright: #ff7e6e;--side-red-soft: rgba(208, 80, 80, .18);--side-red-glow: rgba(208, 80, 80, .5);--side-red-deep: #5a1f1c;--side-blue: #6088c0;--side-blue-bright: #82a8e0;--side-blue-soft: rgba(96, 136, 192, .18);--side-blue-glow: rgba(96, 136, 192, .5);--side-blue-deep: #1f3458;--highlight: #6dd4c4;--highlight-soft: rgba(109, 212, 196, .12);--highlight-glow: rgba(109, 212, 196, .5);--danger: #e0584a;--success: #6dc488;--view-only-line: rgba(108, 140, 178, .9);--view-only-text: #a9bed6;--view-only-wash: rgba(38, 58, 84, .4);--text-primary: #ede0c8;--text-secondary: #b8a888;--text-muted: #8a7d68;--text-dim: #5a5246;--font-display: "Cinzel", "EB Garamond", "LXGW WenKai Screen", "LXGW WenKai", Georgia, serif;--font-body: "EB Garamond", "LXGW WenKai Screen", "LXGW WenKai", Georgia, "Source Han Serif SC", serif;--font-num: "JetBrains Mono", ui-monospace, "SF Mono", monospace;--fs-xs: 11px;--fs-sm: 13px;--fs-base: 15px;--fs-md: 18px;--fs-lg: 22px;--fs-xl: 32px;--fs-display: 56px;--fs-mega: 72px;--sp-1: 4px;--sp-2: 8px;--sp-3: 12px;--sp-4: 16px;--sp-5: 24px;--sp-6: 32px;--sp-8: 48px;--r-1: 2px;--r-2: 4px;--r-3: 8px;--shadow-card: 0 1px 0 rgba(255, 240, 200, .05) inset, 0 0 0 1px rgba(0, 0, 0, .5), 0 4px 12px rgba(0, 0, 0, .7);--shadow-card-hover: 0 1px 0 rgba(255, 240, 200, .1) inset, 0 0 0 1px var(--gold-glow), 0 6px 20px rgba(0, 0, 0, .8);--shadow-panel: 0 0 0 1px rgba(0, 0, 0, .5), 0 4px 16px rgba(0, 0, 0, .6);--shadow-button: 0 1px 0 rgba(255, 240, 200, .1) inset, 0 2px 6px rgba(0, 0, 0, .6);--shadow-deep: 0 8px 24px rgba(0, 0, 0, .8), 0 2px 4px rgba(0, 0, 0, .6);--hex-stroke: #6a583a;--hex-stroke-bright: #c9a04f;--hex-fill: rgba(50, 42, 32, .55);--hex-fill-hover: rgba(74, 60, 42, .7);--parchment-base: #efdfb6;--parchment-mid: #e6d09a;--parchment-deep: #c8a868;--parchment-dark: #2c1d10;--parchment-ink: #4a3220;--parchment-ink-soft:#7a5a3a;--parchment-stain: rgba(120, 70, 30, .18);--parchment-rule: #8a6438;--parchment-rule-soft: rgba(110, 75, 40, .4);--wax-red: #9b2820;--wax-red-bright: #c8413a;--antique-gold: #b88830;--antique-gold-deep: #6e4e1e;--ease-default: cubic-bezier(.2, .8, .2, 1);--ease-out: cubic-bezier(.33, 1, .68, 1);--t-instant: 80ms;--t-fast: .12s;--t-base: .2s;--t-slow: .4s}*,*:before,*:after{box-sizing:border-box}html,body,#app{margin:0;padding:0;height:100%}html{background:#f1e3bf;overflow:hidden}body{background:#f1e3bf;color:var(--text-primary);font-family:var(--font-body);font-size:var(--fs-base);line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:auto;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;overflow:hidden;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}a{color:var(--gold-line);text-decoration:none;transition:color var(--t-fast) var(--ease-default)}a:hover{color:var(--gold-bright)}button{font-family:inherit;font-size:inherit;cursor:pointer;touch-action:manipulation}img{user-drag:none;-webkit-user-drag:none}img,svg,canvas{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}input,textarea,select,[contenteditable]:not([contenteditable=false]),[data-native-context-menu],.battle-chat-bubble .battle-chat-text{-webkit-touch-callout:default;-webkit-user-select:text;user-select:text}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.environment-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.environment-control{position:relative;flex:0 0 auto}.environment-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:relative;width:240px;max-width:100%;height:42px;padding:4px;border:1px solid #8a735240;border-radius:12px;background:linear-gradient(180deg,#100f0de6,#242019e6);box-shadow:inset 0 1px 4px #0007,0 1px #e5cf9c0d;isolation:isolate;touch-action:manipulation}.environment-slider{position:absolute;top:4px;bottom:4px;left:4px;width:calc((100% - 8px) / 3);border-radius:8px;background:linear-gradient(145deg,#675336,#3c3020);border:1px solid #d1ae6a55;box-shadow:0 2px 6px #0005,inset 0 1px #ffe7ad22;transform:translate(calc(var(--environment-index, 0) * 100%));transition:transform .3s cubic-bezier(.22,.8,.22,1),background .24s,border-color .24s;pointer-events:none}.environment-switch[data-environment=balanced] .environment-slider{background:linear-gradient(145deg,#38544a,#263b34);border-color:#b1dac166}.environment-switch[data-environment=chaos] .environment-slider{background:linear-gradient(125deg,#715630,#594165 72%,#3f324f);border-color:#cbb0df66}.environment-option{z-index:1;display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:0 6px;border:0;border-radius:8px;color:#a69b88;background:transparent;font:13px var(--font-display);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .18s,text-shadow .18s}.environment-option[aria-checked=true]{color:#fff1d0;text-shadow:0 1px 5px #0007}.environment-option:hover{color:#f3e1bb}.environment-option:focus-visible{outline:1px solid #efcf8e;outline-offset:2px}.environment-option .environment-art{width:18px;height:18px;flex:0 0 18px;opacity:.65}.environment-option[aria-checked=true] .environment-art{opacity:1}.environment-option:disabled{cursor:default}.environment-switch[aria-disabled=true]{opacity:.5}.environment-switch[aria-busy=true] .environment-option[data-environment=chaos] .environment-art{animation:environment-loading 1.2s ease-in-out infinite}@keyframes environment-loading{50%{opacity:.3}}.environment-art{display:block;background:url(/asset/original-ui/environment-modes-v1.webp) left center / 200% 100% no-repeat}.environment-art--balanced{background-position:right center}.environment-art--chaos{background:url(/asset/mode-icons/chaos-dice-v1.webp) center / contain no-repeat}.environment-indicator{display:inline-flex;align-items:center;gap:5px;color:#b9ae98}.environment-indicator__icon{display:inline-flex;flex:0 0 var(--record-mode-icon-size, 22px)}.environment-indicator__icon .environment-art{width:var(--record-mode-icon-size, 22px);height:var(--record-mode-icon-size, 22px)}.environment-indicator__icon .environment-art--native{transform:scale(1.087)}.environment-indicator__icon .environment-art--balanced{transform:scale(1.017)}.environment-tip{position:absolute;top:calc(100% + 8px);left:0;z-index:60;width:200px;max-width:calc(100vw - 32px);padding:12px 16px;background:#25221cf5;border:1px solid #6f5d4070;box-shadow:0 6px 16px #0005;color:#c8bda7;font:12px/1.6 var(--font-body)}.environment-tip[hidden]{display:none}.environment-tip strong{display:block;margin-bottom:3px;color:#e5d8bd;font-weight:400;font-size:13px}.environment-tip p{color:#c8bda7;margin:0;font-size:12px}.environment-toast.notice{align-items:flex-end;padding:0 16px 34px}.environment-toast .notice__text{font-weight:400}.environment-portrait-fx{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none;overflow:visible}.environment-halo,.environment-edge,.environment-sweep{position:absolute;top:0;right:0;bottom:0;left:0}.environment-halo{background:url(/asset/original-roster/Light_header1-f5e772ee.webp) center / 100% 100% no-repeat;filter:saturate(.35) blur(3px);animation:environment-breathe 4.6s ease-in-out infinite;mix-blend-mode:screen}.environment-edge{background:url(/asset/original-roster/Light_header1-f5e772ee.webp) center / 100% 100% no-repeat;filter:saturate(.35);opacity:.38;mix-blend-mode:screen}.environment-sweep{overflow:hidden;-webkit-mask:url(/asset/original-roster/Light_header1-f5e772ee.webp) center / 100% 100% no-repeat;mask:url(/asset/original-roster/Light_header1-f5e772ee.webp) center / 100% 100% no-repeat;mix-blend-mode:screen}.environment-sweep:before{content:"";position:absolute;top:0;left:0;width:350%;height:350%;background:linear-gradient(120deg,transparent 39%,#b9dfd311 43%,#b9dfd350 47%,#f1fff4e6 50%,#b9dfd340 53%,#b9dfd311 57%,transparent 61%);transform:translate3d(-103.57%,-103.57%,0);opacity:0;animation:environment-sweep 7.6s linear infinite}.environment-speck{position:absolute;left:var(--speck-x);top:var(--speck-y);width:12px;height:12px;margin:-6px;opacity:0;pointer-events:none;background:url(/asset/original-roster/BlueLight2-0f69adce.webp) center / contain no-repeat;mix-blend-mode:screen;filter:saturate(.3);animation:environment-drift 4.6s ease-out infinite;animation-delay:var(--speck-delay)}@keyframes environment-breathe{0%,to{opacity:.28}50%{opacity:.58}}@keyframes environment-sweep{0%{transform:translate3d(-103.57%,-103.57%,0);opacity:0}8%{opacity:0}18%{opacity:.8}34%{opacity:.72}46%{opacity:.25}56%{transform:translate3d(39.29%,39.29%,0);opacity:0}to{transform:translate3d(39.29%,39.29%,0);opacity:0}}@keyframes environment-drift{0%,18%{transform:translateY(2px) scale(.4);opacity:0}34%{opacity:.72}52%{opacity:.32}66%{opacity:.1}88%,to{transform:translate(var(--speck-drift),-11px) scale(.5);opacity:0}}@media(prefers-reduced-motion:reduce){.environment-slider{transition:none}.environment-halo{animation:none;opacity:.2}.environment-sweep,.environment-speck{display:none}}@media(max-width:600px){.environment-title{gap:8px}}[data-environment-effect=buff],[data-environment-effect=nerf]{isolation:isolate}[data-environment-effect=buff]>img,[data-environment-effect=nerf]>img{z-index:2}.environment-portrait-fx[data-effect=buff],.environment-portrait-fx[data-effect=nerf]{z-index:1}.environment-portrait-fx[data-effect=buff] .environment-halo{top:-3px;right:-3px;bottom:-3px;left:-3px;filter:sepia(1) saturate(2.1) hue-rotate(345deg) blur(2px) drop-shadow(0 0 3px #ffc45c8f);animation:environment-chaos-breathe 3.2s ease-in-out infinite}.environment-portrait-fx[data-effect=buff]{--chaos-edge: #ffd479;--chaos-ring: #ffc857;--chaos-trail: #ffd372aa}.environment-portrait-fx[data-effect=nerf]{--chaos-edge: #c8abec;--chaos-ring: #b996e5;--chaos-trail: #c3a0edaa}.environment-portrait-fx:is([data-effect=buff],[data-effect=nerf]) .environment-edge{top:-1px;right:-1px;bottom:-1px;left:-1px;background:var(--chaos-edge);-webkit-mask:url(/asset/original-roster/Light_header1-f5e772ee.webp) center / 100% 100% no-repeat;mask:url(/asset/original-roster/Light_header1-f5e772ee.webp) center / 100% 100% no-repeat;filter:none;opacity:.68;mix-blend-mode:normal}.environment-portrait-fx:is([data-effect=buff],[data-effect=nerf]):after{content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;background:var(--chaos-ring);-webkit-mask:url(/asset/original-roster/Light_header1-f5e772ee.webp) center / 100% 100% no-repeat;mask:url(/asset/original-roster/Light_header1-f5e772ee.webp) center / 100% 100% no-repeat;opacity:0;pointer-events:none;animation:environment-chaos-ring 3.8s ease-out infinite}.environment-portrait-fx[data-effect=nerf] .environment-halo{top:-3px;right:-3px;bottom:-3px;left:-3px;filter:sepia(.8) saturate(1.9) hue-rotate(195deg) blur(2px) drop-shadow(0 0 3px #b08bda8f);animation:environment-chaos-breathe 3.2s ease-in-out infinite}.environment-portrait-fx[data-effect=nerf]:after{animation-direction:reverse}.environment-portrait-fx[data-effect=buff] .environment-sweep:before{background-image:linear-gradient(120deg,transparent 39%,#e2a44b11 43%,#ffd07b70 47%,#fff1bfeb 50%,#ffd07b55 53%,transparent 61%);animation-duration:4.8s}.environment-portrait-fx[data-effect=nerf] .environment-sweep:before{background-image:linear-gradient(120deg,transparent 39%,#9473c011 43%,#ba99ed65 47%,#eadcf6c9 50%,#ba99ed44 53%,transparent 61%);animation-direction:reverse;animation-duration:9.2s}.environment-portrait-fx[data-effect=buff] .environment-speck{width:8px;height:8px;margin:-4px;background:radial-gradient(circle,#fff7d6 0 12%,#ffd16a 25%,#f6ae3e66 48%,transparent 70%);filter:drop-shadow(0 0 3px #ffbb4c);animation-name:environment-buff-rise;animation-duration:2.8s}.environment-portrait-fx:is([data-effect=buff],[data-effect=nerf]) .environment-speck:after{content:"";position:absolute;left:3px;top:5px;width:2px;height:7px;border-radius:2px;background:linear-gradient(var(--chaos-trail),transparent)}@keyframes environment-chaos-breathe{0%,to{opacity:.36;transform:scale(1)}50%{opacity:.66;transform:scale(1.025)}}@keyframes environment-chaos-ring{0%,10%{transform:scale(1);opacity:0}24%{opacity:.4}78%,to{transform:scale(1.11);opacity:0}}@keyframes environment-buff-rise{0%{transform:translateY(6px) scale(.6);opacity:0}18%{opacity:.72}42%{opacity:.85}70%{opacity:.35}to{transform:translate(var(--speck-drift),-27px) scale(.55);opacity:0}}.environment-portrait-fx[data-effect=nerf] .environment-speck{width:8px;height:8px;margin:-4px;background:radial-gradient(circle,#f5e8ff 0 12%,#c6a1ef 25%,#a27ac066 48%,transparent 70%);filter:drop-shadow(0 0 3px #b58ad6);animation-name:environment-nerf-fall;animation-duration:3.2s}.environment-portrait-fx[data-effect=nerf] .environment-speck:after{top:auto;bottom:5px;background:linear-gradient(transparent,var(--chaos-trail))}@keyframes environment-nerf-fall{0%{transform:translateY(-6px) scale(.6);opacity:0}18%{opacity:.66}42%{opacity:.8}70%{opacity:.35}to{transform:translate(var(--speck-drift),24px) scale(.55);opacity:0}}@keyframes environment-drift-down{0%,18%{transform:translateY(-5px) scale(.4);opacity:0}34%{opacity:.58}52%{opacity:.25}88%,to{transform:translate(var(--speck-drift),9px) scale(.5);opacity:0}}@media(max-width:600px){.environment-switch{width:218px;height:39px}.environment-option{font-size:12px;gap:4px;padding:0 4px}.environment-option .environment-art{width:16px;height:16px;flex-basis:16px}}@media(prefers-reduced-motion:reduce){.environment-switch[aria-busy=true] .environment-art{animation:none}.environment-portrait-fx:is([data-effect=buff],[data-effect=nerf]) .environment-halo{animation:none;opacity:.35;transform:none}.environment-portrait-fx:is([data-effect=buff],[data-effect=nerf]):after{display:none}}:is(.battle-records,.battle-record) .environment-halo{animation:none;opacity:.42}:is(.battle-records,.battle-record) .environment-portrait-fx:is([data-effect=buff],[data-effect=nerf]) .environment-halo{animation:none;opacity:.5;transform:none}:is(.battle-records,.battle-record) .environment-portrait-fx:is([data-effect=buff],[data-effect=nerf]):after,:is(.battle-records,.battle-record) .environment-sweep,:is(.battle-records,.battle-record) .environment-speck{display:none}@keyframes shake{0%,to{transform:translate(0)}20%{transform:translate(-3px,1px)}40%{transform:translate(3px,-1px)}60%{transform:translate(-2px,2px)}80%{transform:translate(2px,-1px)}}@keyframes damageFloat{0%{transform:translate(-50%) scale(1);opacity:1}20%{transform:translate(-50%,-10px) scale(1.5);opacity:1}to{transform:translate(-50%,-50px) scale(1.2);opacity:0}}@keyframes pulseGlow{0%,to{box-shadow:0 0 8px var(--gold-glow)}50%{box-shadow:0 0 18px var(--gold-glow-strong)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes noticeIn{0%{opacity:0;transform:scale(.92);letter-spacing:.4em}to{opacity:1;transform:scale(1);letter-spacing:.16em}}.fade-in{animation:fadeIn var(--t-base) var(--ease-default)}.wasm-gate{max-width:52ch;margin:0 auto;padding:clamp(48px,14vh,140px) 24px 48px;text-align:center;color:var(--parchment-ink);font-family:var(--font-body);line-height:1.7}.wasm-gate h1{margin-bottom:.9em;font-size:clamp(1.4rem,4vw,1.9rem);line-height:1.35;letter-spacing:.04em;text-wrap:balance;color:var(--parchment-dark)}.wasm-gate p{margin:0 0 1em;text-wrap:pretty}.wasm-gate__aside{margin-top:2em;padding-top:1.2em;border-top:1px solid var(--parchment-rule-soft);color:var(--parchment-ink-soft);font-size:.9em}:root{--tut-h: 128px}body.tut-active .match-scene{height:calc(100vh - var(--tut-h))}.tut{position:fixed;left:0;right:0;bottom:0;height:var(--tut-h);z-index:40;display:flex;align-items:stretch;gap:16px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--parchment-rule-soft);background:var(--parchment-base);box-shadow:0 -4px 18px #2818082e;color:var(--parchment-ink);font-family:var(--font-body);line-height:1.5;overflow:hidden}.tut__text{flex:1 1 auto;min-width:0;overflow-y:auto}.tut__title{font-family:var(--font-display);font-size:.98rem;color:var(--parchment-dark)}.tut__teaches{font-size:.86rem}.tut__goal{margin-top:3px;font-size:.86rem;color:var(--parchment-dark)}.tut__hint{display:none;margin-top:3px;font-size:.84rem;color:var(--parchment-ink-soft)}.tut__guide-retry{display:none;margin-top:5px;font-size:.8rem;padding:3px 10px}.tut__guide{display:none;margin-top:3px;font-size:.86rem;font-weight:600;color:var(--parchment-ink)}.tut__say{display:none;margin-top:3px;font-size:.86rem}.tut__say--info{color:var(--parchment-ink-soft)}.tut__say--error{color:var(--danger)}.tut__say--win{color:var(--parchment-dark);font-weight:600}.tut__actions{flex:0 0 auto;display:grid;grid-template-columns:repeat(2,auto);align-content:center;gap:6px}.tut__actions .btn{font-size:.82rem;padding:4px 10px;white-space:nowrap}@media(max-width:860px){:root{--tut-h: 152px}body.tut-active .match-scene{height:calc(100dvh - var(--tut-h))}.tut{flex-direction:column;align-items:stretch;gap:6px;padding:8px 12px calc(8px + env(safe-area-inset-bottom))}.tut__title{font-size:.9rem}.tut__teaches,.tut__goal,.tut__say{font-size:.8rem}.tut__actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px}.tut__actions .btn{font-size:.78rem;padding:4px 10px}body.tut-active .conn-status{bottom:calc(var(--tut-h) + 6px)}}@media(min-width:861px){body.tut-active .match-scene{height:100vh}.tut{top:84px;left:16px;right:auto;bottom:auto;width:min(300px,24vw);height:auto;max-height:calc(100vh - 180px);flex-direction:column;align-items:stretch;gap:10px;padding:14px 16px;border:1px solid var(--parchment-rule-soft);border-radius:8px;box-shadow:0 6px 22px #28180847}.tut__text{overflow:visible}.tut__actions{align-content:start;justify-content:start}}.tut-offer__body{margin:0 0 .8em;line-height:1.65}.tut-offer__aside{margin:12px 0 0;font-size:.82rem;color:var(--parchment-ink-soft)}.rules-page{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;background:var(--parchment-base)}.rules-page__bar{flex:none;display:flex;align-items:center;padding:calc(6px + env(safe-area-inset-top)) calc(10px + env(safe-area-inset-right)) 6px calc(10px + env(safe-area-inset-left));border-bottom:1px solid var(--parchment-rule-soft);background:linear-gradient(180deg,#f3e2b6,#ebd7a3)}.rules-page__frame{flex:1;width:100%;border:0;padding-bottom:env(safe-area-inset-bottom);background:var(--parchment-base)}.log-panel{position:fixed;top:max(64px,env(safe-area-inset-top));right:0;bottom:0;z-index:315;width:min(380px,94vw);display:flex;flex-direction:column;box-sizing:border-box;border:12px solid transparent;border-image:url(/asset/original-ui/NormalPanelBg-e88e239b-2.webp) 28 fill / 12px / 0 stretch;filter:drop-shadow(-6px 2px 12px #0009);font-family:Arial,sans-serif;text-shadow:0 1px 2px #000c;color:#f4ecd8;transform:translate(100%);transition:transform .28s cubic-bezier(.22,1,.36,1);pointer-events:auto}.log-panel:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background:#14130d9c}.log-panel--open{transform:translate(0)}.log-panel__header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;min-height:54px;padding:0 3px 8px 9px;border-bottom:1px solid #b39b5b66}.log-panel__title{font-size:20px;font-weight:700;letter-spacing:.18em;color:#fff2bc;text-shadow:0 2px #19160d}.log-panel__tools{display:flex;align-items:center;gap:6px}.log-panel__copy,.log-panel__close{position:relative;padding:0;display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:7px solid transparent;border-image:url(/asset/original-audio-ui/button.webp) 40 50 fill / 7px / 0 stretch;border-radius:0;background:transparent;color:#fff4c9;text-shadow:0 1px 2px #000;font-weight:700;font-size:26px;line-height:1;cursor:pointer}.log-panel__copy:hover,.log-panel__close:hover{filter:brightness(1.2)}.log-panel__copy:focus-visible,.log-panel__close:focus-visible{outline:2px solid #ffe792;outline-offset:-3px}.log-panel__copy svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:26px;height:26px;filter:drop-shadow(0 1px #514020)}.log-panel__copy[data-copy-state=success]{color:#d2ff9f}.log-panel__copy[data-copy-state=error]{color:#ff9481}.log-panel__copy-feedback{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.log-panel__list{flex:1;min-height:0;display:flex;flex-direction:column;gap:6px;overflow-y:auto;overscroll-behavior:contain;padding:6px 6px max(12px,env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:#9f8955 #29291f}.log-panel__timeouts{display:flex;flex-direction:column;gap:4px;padding:10px 20px;border-bottom:1px solid #b9996566;color:#cbbf9c;font-size:12px;line-height:1.5}.log-panel__timeouts strong{color:#f5e6b8}.log-panel__empty{padding:40px 0;text-align:center;color:#cbbf9c;font-size:14px}.log-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,auto);align-items:center;gap:10px;min-height:52px;flex-shrink:0;padding:6px 4px;border-bottom:1px solid #b9a57726;color:#f4ecd8}.log-row:has(>.log-row__portrait:nth-child(3)){grid-template-columns:minmax(0,1fr) minmax(56px,auto) minmax(0,1fr)}.log-row__portrait{--log-side: #9f8a5a;display:flex;align-items:center;gap:7px;min-width:0}.log-row__portrait--red,.log-row__portrait-frame--red{--log-side: #b13e33}.log-row__portrait-frame--blue,.log-row__portrait--blue{--log-side: #267aa9}.log-row__portrait-frame{position:relative;display:block;width:36px;aspect-ratio:171 / 213;flex-shrink:0;background:url(/asset/original-ui/Header_bg-24de6b73-1.webp) center / 100% 100% no-repeat;cursor:help}.log-row__portrait-frame:focus-visible{outline:2px solid #f0d78b;outline-offset:3px}.hero-preview.hero-preview--log{z-index:340}.log-row__portrait-frame:before{content:"";position:absolute;top:4px;right:4px;bottom:6px;left:4px;clip-path:polygon(50% 0,100% 9%,100% 65%,83% 85%,50% 100%,17% 85%,0 65%,0 9%);background:linear-gradient(var(--log-side),#171816)}.log-row__portrait-img{position:absolute;display:block;filter:drop-shadow(0 1px 1px #0009)}.log-row__portrait-stack{display:flex;flex-shrink:0;align-items:center;padding-block:6px}.log-row__portrait-stack>.log-row__portrait-frame+.log-row__portrait-frame{margin-left:-23px;margin-top:5px}.log-row__group-count,.log-row__route{color:#cbbf9c;font-size:11px;line-height:1.4}.log-row__route{white-space:nowrap}.log-row>.log-row__portrait:nth-child(3){flex-direction:row-reverse;text-align:right}.log-row__action{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px 8px;min-width:0;text-align:right}.log-row:has(>.log-row__portrait:nth-child(3))>.log-row__action{flex-direction:column;justify-content:center;gap:3px;text-align:center}.log-row__label{color:#d5c8a5;font-family:inherit;font-size:12px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}.log-row__amount{color:#ff8170;font-family:Arial,sans-serif;font-size:18px;line-height:1.15;font-weight:800;text-shadow:0 1px 2px #000;font-variant-numeric:tabular-nums}.log-row__amount--heal,.log-row__amount--buff{color:#9bd27a}.log-row__amount--zero{color:#f0d78b}.log-row__amount-absorb{display:block;margin-top:2px;color:#d2c6a3;font-family:inherit;font-size:10px;line-height:1.3}.log-row__action--died .log-row__label{color:#ff8170}.log-row__action--feature .log-row__label,.log-row__action--mimic .log-row__label{color:#d6b4f1}.log-row__action--marker .log-row__label{color:#9ccfed}.log-row__action--buff .log-row__label{color:#9bd27a}.log-row__action--deploy .log-row__label,.log-row__action--gold .log-row__label{color:#f2d486}.log-row__action--bomb .log-row__label{color:#efb374}.log-row--marker-off .log-row__label,.log-row--buff-off :is(.log-row__label,.log-row__amount){color:#b6ad96}.log-row--turn{--log-turn: #96d1fa;grid-template-columns:1fr;min-height:30px;margin-top:6px;padding:7px 8px;border:1px solid #a38d5066;box-shadow:inset 0 1px #dfc88d26,0 1px #0006;background:linear-gradient(90deg,#294253,#202924)}.log-row--turn:first-child{margin-top:0}.log-row--turn-red{--log-turn: #ff9a85;background:linear-gradient(90deg,#513128,#2c2620)}.log-row__turn{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px;font-weight:700;line-height:1.5}.log-row__turn-num{color:#f3e5bf}.log-row__turn-side{color:var(--log-turn)}.log-row--peekable{cursor:pointer}.log-row--peekable:hover{background:#c7b9831c;box-shadow:-3px 0 #bca260}@media(max-width:860px){.log-panel{top:env(safe-area-inset-top,0px)}.log-panel__header{min-height:48px;padding-left:8px}.log-panel__list{padding-right:4px;padding-left:4px}}@media(max-width:360px){.log-row{gap:6px}.log-row__portrait{gap:5px}.log-row__portrait-frame{width:30px}.log-row__portrait-stack>.log-row__portrait-frame+.log-row__portrait-frame{margin-left:-19px}}@media(prefers-reduced-motion:reduce){.log-panel{transition:none}}.match-scene{display:grid;grid-template-columns:240px 1fr 240px;grid-template-rows:64px 1fr;gap:16px;padding:calc(16px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));height:100vh;color:var(--parchment-dark);background:radial-gradient(ellipse at 50% 50%,transparent 35%,rgba(70,40,15,.18) 100%),radial-gradient(ellipse at 8% 12%,rgba(110,70,30,.18) 0%,transparent 28%),radial-gradient(ellipse at 92% 88%,rgba(110,70,30,.18) 0%,transparent 28%),linear-gradient(#fffaeb99,#fffaeb99),url(/img/parchment_tile.webp) repeat,#f1e3bf;background-size:auto,auto,auto,auto,920px 920px,auto;background-attachment:fixed;position:relative}.match-banner{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto 1fr;gap:0 12px;align-items:center;padding:0 16px;background:linear-gradient(180deg,#fbf2d6,#f4e3b4);border:none;border-radius:6px;box-shadow:0 1px #fffadcd9 inset,0 -2px 6px #46280f1a inset,0 3px 6px #46280f2e;position:relative}.match-banner:after{content:"";position:absolute;bottom:-1px;left:50%;transform:translate(-50%);width:320px;height:1px;background:linear-gradient(to right,transparent,var(--parchment-rule),transparent)}.match-banner__deathcount{font-family:var(--font-num);font-size:var(--fs-sm);letter-spacing:.06em;font-weight:600}.match-banner__deathcount--red{color:var(--side-red);justify-self:start}.match-banner__deathcount--blue{color:var(--side-blue);justify-self:end}.match-banner__center{display:flex;align-items:baseline;gap:12px;font-family:var(--font-display)}.match-banner__thinking-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--gold-bright);opacity:.3;animation:thinking-dot 1.2s ease-in-out infinite}.match-banner__thinking-dot:nth-child(2){animation-delay:.2s}.match-banner__thinking-dot:nth-child(3){animation-delay:.4s}@keyframes thinking-dot{0%,60%,to{opacity:.25;transform:scale(.85)}30%{opacity:1;transform:scale(1.15)}}@keyframes relay-card-pulse{0%,to{box-shadow:0 0 0 1px var(--wax-red),0 0 10px #9b282066,0 2px 4px #46280f33}50%{box-shadow:0 0 0 2px var(--wax-red),0 0 18px #9b282099,0 2px 4px #46280f33}}.hero-card--relay-pulse{animation:relay-card-pulse 1.4s ease-in-out infinite}.match-scene .match-banner{grid-row:1;grid-column:1 / -1}.match-scene .pool--blue{grid-row:2;grid-column:1}.match-scene .board-area{grid-row:2;grid-column:2}.match-scene .pool--red{grid-row:2;grid-column:3}.match-scene--my-blue .pool--red{grid-row:2;grid-column:1}.match-scene--my-blue .board-area{grid-row:2;grid-column:2}.match-scene--my-blue .pool--blue{grid-row:2;grid-column:3}.match-scene--solo-pool,.match-scene--my-blue.match-scene--solo-pool{grid-template-columns:1fr 240px}.match-scene--solo-pool .board-area{grid-column:1}.match-scene--solo-pool .pool--red,.match-scene--solo-pool .pool--blue{grid-column:2}.match-scene--my-blue.match-scene--solo-pool .board-area{grid-column:1}.match-scene--my-blue.match-scene--solo-pool .pool--blue,.match-scene--my-blue.match-scene--solo-pool .pool--red{grid-column:2}.match-scene--no-pool{grid-template-columns:1fr}.match-scene--no-pool .board-area{grid-column:1}.pool{background:linear-gradient(180deg,#fbf2d6,#f0dcb0);border:none;border-radius:6px;padding:14px 12px;display:flex;flex-direction:column;gap:12px;min-width:0;overflow-y:auto;box-shadow:0 1px #fffadcd9 inset,0 -2px 6px #46280f1a inset,0 3px 6px #46280f2e}.pool{position:relative}.pool__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.match-scene--solo-pool .pool--collapsed{opacity:0;overflow:hidden;pointer-events:none}.match-scene--solo-pool .pool{transition:opacity .16s var(--ease-default)}.match-scene--solo-pool:not(.match-scene--pool-open) .board-area{grid-column:1}@media(min-width:861px){.match-scene{transition:grid-template-columns .22s var(--ease-default),column-gap .22s var(--ease-default)}.match-scene--solo-pool:not(.match-scene--pool-open),.match-scene--my-blue.match-scene--solo-pool:not(.match-scene--pool-open){grid-template-columns:minmax(0,1fr) 0px;column-gap:0}.match-scene--solo-pool .pool--collapsed{padding-left:0;padding-right:0}.match-scene--solo-pool .pool{transition:opacity .16s var(--ease-default),padding .22s var(--ease-default)}}.hero-card{touch-action:pan-y;position:relative;aspect-ratio:3/4;border-radius:5px;background:linear-gradient(180deg,#fbf2d6,#ead29a);overflow:hidden;cursor:pointer;transition:transform var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default);box-shadow:0 1px #fffadcd9 inset,0 -2px 5px #46280f1a inset,0 2px 4px #46280f2e}.hero-card:after{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--parchment-rule);pointer-events:none;z-index:3}.pool--display-red .hero-card:after{background:#ff4a3a;box-shadow:0 0 5px #ff503c8c}.pool--display-blue .hero-card:after{background:#6dafff;box-shadow:0 0 5px #6eafff8c}.hero-card:hover{transform:translateY(-2px);box-shadow:0 1px #fffadce6 inset,0 -2px 5px #46280f1a inset,0 4px 10px #9b282040}.hero-card--selected{background:var(--card-bg, linear-gradient(180deg, #fcd6cc 0%, #f0a89c 100%));box-shadow:0 1px #fffadcf2 inset,0 0 0 2px var(--card-strip, #ff4a3a),0 0 14px var(--card-glow, rgba(255, 80, 60, .7)),0 4px 10px #46280f59}.pool--display-red .hero-card--selected{--card-bg: linear-gradient(180deg, #fcd6cc 0%, #ead29a 100%);--card-strip: #ff4a3a;--card-glow: rgba(255, 80, 60, .7)}.pool--display-blue .hero-card--selected{--card-bg: linear-gradient(180deg, #d6e8fc 0%, #ead29a 100%);--card-strip: #6dafff;--card-glow: rgba(110, 175, 255, .7)}.hero-card--selected:after{width:5px;filter:brightness(1.3)}.hero-card--out{filter:grayscale(.85) brightness(.85);cursor:default;opacity:.7}.hero-card--out:after{background:var(--parchment-ink-soft);box-shadow:none}.hero-card--dead{filter:none;opacity:1}.hero-card--dead .hero-card__img,.hero-card--dead .hero-card__stats{filter:grayscale(1) brightness(.5);opacity:.6}.hero-card__tombstone{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:6;background:radial-gradient(ellipse at center,#0f0803c7,#0f08038c 60%,#0f080352)}.hero-card__tombstone-img{width:88%;height:auto;filter:brightness(1.18) saturate(1.15) drop-shadow(0 3px 8px rgba(0,0,0,.7)) drop-shadow(0 0 16px rgba(140,220,160,.55))}.hero-card__img{width:100%;height:100%;object-fit:cover;display:block;filter:contrast(1.02) saturate(.92)}.hero-card__img--head{display:none}.hero-card__stats{position:absolute;bottom:0;left:0;right:0;padding:10px 0 0;display:flex;justify-content:space-between;align-items:flex-end;background:linear-gradient(to top,rgba(232,210,165,.95) 30%,transparent);pointer-events:none;z-index:4}.hero-card__stat{font-family:var(--font-num);font-weight:800;display:grid;place-items:center;position:relative;width:36px;height:36px;gap:0;text-shadow:none}.hero-card__stat-icon{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;transform:scale(1.25);filter:drop-shadow(0 0 1px rgba(30,16,4,.95)) drop-shadow(0 0 2px rgba(30,16,4,.75)) drop-shadow(0 1px 2px rgba(30,16,4,.6))}.hero-card__stat-val{position:relative;z-index:1;font-size:17px;font-weight:800;line-height:1;color:#fff;text-shadow:-1px -1px 0 #3a1e08,0 -1px 0 #3a1e08,1px -1px 0 #3a1e08,-1px 0 0 #3a1e08,1px 0 0 #3a1e08,-1px 1px 0 #3a1e08,0 1px 0 #3a1e08,1px 1px 0 #3a1e08}.board svg{touch-action:none}.drag-ghost{position:fixed;top:0;left:0;width:48px;height:48px;object-fit:contain;pointer-events:none;z-index:80;opacity:0;display:none;filter:drop-shadow(0 3px 6px rgba(30,16,4,.55))}.drag-ghost--on{display:block;opacity:.92}@media(max-width:860px){.drag-ghost{width:40px;height:40px}}.pool__recycle{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:12px;text-align:center;cursor:pointer;border-radius:6px;background:radial-gradient(ellipse at 50% 0%,#fffaebe6,#fffaeb00 70%),linear-gradient(180deg,#f7ecd2,#ecd8ae);box-shadow:inset 0 0 0 2px #9b282047,inset 0 2px 10px #46280f38,inset 0 -1px #fffcf0b3;font-family:var(--font-display);color:var(--wax-red);transition:background var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default)}.pool__recycle:before{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;border:1px dashed rgba(155,40,32,.45);border-radius:4px;pointer-events:none;transition:border-color var(--t-fast) var(--ease-default),inset var(--t-fast) var(--ease-default)}.pool--armed{overflow:hidden}.pool__recycle:hover,.pool__recycle--hot{background:radial-gradient(ellipse at 50% 0%,#fff6e8f2,#fff0e100 70%),linear-gradient(180deg,#fbe4d5,#edbfae);box-shadow:inset 0 0 0 2px var(--wax-red),inset 0 2px 12px #78221833,0 0 0 3px #9b28202e}.pool__recycle:hover:before,.pool__recycle--hot:before{border-color:#9b2820bf}.pool__recycle-figure{position:relative;flex:0 0 auto;width:72px;height:72px;transition:transform var(--t-fast) var(--ease-default)}.pool__recycle-head{width:100%;height:100%;border-radius:50%;object-fit:cover;background:linear-gradient(180deg,#f3e3bd,#dcc394);box-shadow:0 0 0 3px #9b2820bf,0 0 0 5px #fff8e6d9,0 3px 8px #46280f66;filter:saturate(.95)}.pool__recycle-sigil{position:absolute;right:-6px;bottom:-4px;width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(70,40,15,.5))}.pool__recycle:hover .pool__recycle-figure,.pool__recycle--hot .pool__recycle-figure{transform:scale(1.06)}.pool__recycle-text{display:flex;flex-direction:column;min-width:0}.pool__recycle-label{font-size:var(--fs-sm);letter-spacing:.06em;font-weight:700}.pool__recycle-hint{font-size:var(--fs-xs);color:var(--parchment-ink-soft);letter-spacing:.04em;margin-top:3px}.pool__recycle-cost{align-self:center;margin-top:5px;padding:1px 8px;border-radius:999px;font-size:var(--fs-xs);letter-spacing:.08em;color:#fdf1d8;background:linear-gradient(180deg,#a83a2e,#8a2118);box-shadow:0 1px #ffecc859 inset,0 1px 3px #46280f66}@keyframes tb-pending-breathe{0%,to{opacity:.5}50%{opacity:.78}}.hero-card--pending{cursor:default;pointer-events:none;animation:tb-pending-breathe 1.1s var(--ease-default) infinite;filter:grayscale(.55) brightness(.96)}.hud__action--pending,.board-hero--landing{animation:tb-pending-breathe 1.1s var(--ease-default) infinite}.board-fx,.board-badges,.board-hint{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.board-fx{z-index:3}.board-badges{z-index:4}.board-hint{z-index:5}.hint-arrow__halo,.hint-ring__halo{fill:none;stroke:#0000008c;stroke-width:11;stroke-linecap:round}.hint-arrow__line,.hint-ring__line{fill:none;stroke:var(--hint-color);stroke-width:5;stroke-linecap:round;stroke-dasharray:14 10;animation:tb-hint-crawl .9s linear infinite}.hint-arrow__head{fill:var(--hint-color);stroke:#0000008c;stroke-width:3;stroke-linejoin:round}.hint-arrow--move{--hint-color: #9be15d}.hint-arrow--attack{--hint-color: #ff6b5a}.hint-ring--withdraw{--hint-color: #ffd166}.hint-ring--deploy{--hint-color: #9be15d}@keyframes tb-hint-crawl{to{stroke-dashoffset:-24}}@media(prefers-reduced-motion:reduce){.hint-arrow__line,.hint-ring__line{animation:none}}.hero-fx{pointer-events:none}.hero-fx>*{transform-box:fill-box;transform-origin:center}.hero-fx__bubble{fill:#6ec83c;stroke:#e8ffc8e6;stroke-width:.6;filter:drop-shadow(0 0 2px rgba(120,220,70,.9));animation:fx-bubble 1.5s ease-out infinite;transform-origin:center bottom}@keyframes fx-bubble{0%{transform:translateY(0) scale(.5);opacity:0}20%{opacity:.95}to{transform:translateY(var(--fx-rise, -30px)) scale(1.2);opacity:0}}.hero-fx__gash{filter:drop-shadow(0 0 2px rgba(178,22,12,.95));animation:fx-gash 2.4s ease-in-out infinite}.hero-fx__gash-cut{fill:#440705;stroke:none}.hero-fx__gash-lip{fill:none;stroke:#ff987cc7;stroke-width:1.1;stroke-linecap:round}@keyframes fx-gash{0%,to{opacity:.74;transform:scale(.93)}50%{opacity:1;transform:scale(1.07)}}.hero-fx__drip{fill:#9e1a13;filter:drop-shadow(0 0 2px rgba(160,20,12,.8));transform-origin:50% 0;animation:fx-drip 2.6s ease-in infinite}@keyframes fx-drip{0%,35%{transform:translateY(0) scale(.85,.55);opacity:0}45%{opacity:.95}to{transform:translateY(var(--fx-fall, 30px)) scale(.8,1.25);opacity:0}}.hero-fx__frost{fill:#c8f4ffb8;stroke:#ffffffe6;stroke-width:1.6;opacity:.88}.hero-fx__glint{fill:#ffffffbf;transform:skew(-18deg);animation:fx-glint 2.9s ease-in-out infinite}@keyframes fx-glint{0%,70%{opacity:0;transform:skew(-18deg) translate(0)}78%{opacity:.85}to{opacity:0;transform:skew(-18deg) translate(var(--fx-sweep, 140px))}}.hero-fx__rune{fill:none;stroke:#b083e8;stroke-width:3;stroke-dasharray:7 7;filter:drop-shadow(0 0 2px rgba(150,90,220,.9));animation:fx-rune 3.4s linear infinite}@keyframes fx-rune{0%{transform:rotate(0) scale(1);opacity:.55}50%{transform:rotate(180deg) scale(.86);opacity:.95}to{transform:rotate(360deg) scale(1);opacity:.55}}.hero-fx__star-plane{transform-box:fill-box;transform-origin:center;animation:fx-star-plane 1.9s ease-in-out infinite}@keyframes fx-star-plane{0%{transform:scale(.72,.42);opacity:.5}25%{transform:scale(.95,.72);opacity:.8}50%{transform:scaleX(1.15);opacity:1}75%{transform:scale(.95,.72);opacity:.8}to{transform:scale(.72,.42);opacity:.5}}.hero-fx__star{fill:#ffd75e;filter:drop-shadow(0 0 2px rgba(255,190,40,.95));transform-box:fill-box;transform-origin:center;animation:fx-star-spin 2.7s linear infinite}@keyframes fx-star-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.hero-fx__drain{filter:grayscale(1) brightness(1.25) contrast(.85);animation:fx-drain 2.6s ease-in infinite}@keyframes fx-drain{0%{transform:translateY(0);opacity:0}25%{opacity:.5}to{transform:translateY(var(--fx-fall, 28px));opacity:0}}.hero-fx__mote{fill:#9c8d72;animation:fx-mote 2.2s linear infinite}@keyframes fx-mote{0%{transform:translateY(0);opacity:0}20%{opacity:.7}to{transform:translateY(var(--fx-fall, 28px));opacity:0}}.hero-fx__holy-core{mix-blend-mode:screen;animation:fx-holy-bubble 3s ease-in-out infinite}@keyframes fx-holy-bubble{0%,to{opacity:.62;transform:scale(.97)}50%{opacity:.95;transform:scale(1.04)}}.hero-fx__ember{fill:#ff9b3d;filter:drop-shadow(0 0 3px rgba(255,110,40,.95));animation:fx-ember 1.6s ease-out infinite}@keyframes fx-ember{0%{transform:translateY(0) scale(.7);opacity:0}25%{opacity:1}to{transform:translateY(var(--fx-rise, -30px)) scale(.35);opacity:0}}.board-hero__svg-img{transform-box:fill-box;transform-origin:center bottom}.board-hero--st-poison .board-hero__svg-img{filter:saturate(.85) hue-rotate(40deg)}.board-hero--st-wound .board-hero__svg-img{filter:brightness(.88) contrast(1.12) saturate(1.15)}.board-hero--st-freeze .board-hero__svg-img{filter:saturate(.55) brightness(1.08) hue-rotate(-14deg)}.board-hero--st-silence .board-hero__svg-img{filter:saturate(.45) brightness(.78)}.board-hero--st-stun .board-hero__svg-img{filter:brightness(1.14) saturate(.8)}.board-hero--st-weak .board-hero__svg-img{filter:saturate(.2) brightness(1.14) contrast(.82)}.load-veil{position:fixed;top:0;right:0;bottom:0;left:0;z-index:95;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:radial-gradient(ellipse at 50% 45%,#fffaebbf,#fffaeb00 65%),linear-gradient(180deg,#f4e7c6,#e6d1a4);font-family:var(--font-display);color:var(--parchment-ink);letter-spacing:.08em;transition:opacity .36s var(--ease-default)}.load-veil--gone{opacity:0;pointer-events:none}.load-veil__mark{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(70,40,15,.35));animation:load-veil-roll 2.4s var(--ease-default) infinite}@keyframes load-veil-roll{0%,to{transform:rotate(-7deg) translateY(0)}50%{transform:rotate(7deg) translateY(-4px)}}.load-veil__label{font-size:var(--fs-sm);color:var(--parchment-ink-soft)}.load-veil__bar{width:min(220px,54vw);height:6px;border-radius:999px;background:#7856222e;box-shadow:inset 0 1px 3px #46280f47;overflow:hidden}.load-veil__bar-fill{width:0;height:100%;border-radius:999px;background:linear-gradient(90deg,#b8452f,#8a2118);transition:width .2s var(--ease-default)}@media(max-width:860px){.load-veil__mark{width:64px;height:64px}}.board-area{position:relative;display:flex;align-items:stretch;justify-content:center;min-width:0;min-height:0}.board-area>.board{flex:1}.board__overlay{position:absolute;top:12px;right:12px;z-index:6;display:flex;align-items:center;gap:8px;pointer-events:none}.board__overlay>*{pointer-events:auto}.board{display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:6px;position:relative;overflow:hidden}.board:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at center,transparent 55%,rgba(120,70,30,.16) 100%);pointer-events:none;z-index:1}.board svg{width:auto;height:100%;max-width:100%;max-height:100%;position:relative;z-index:2}.hex{fill:#f7ead08c;stroke:var(--parchment-rule);stroke-width:1.5;transition:fill var(--t-fast) var(--ease-default),stroke var(--t-fast) var(--ease-default),stroke-width var(--t-fast) var(--ease-default);cursor:pointer}.hex:hover{fill:#fffadcbf;stroke:var(--parchment-ink-soft)}.hex--occ-red{stroke:#ff4a3a;stroke-width:5;filter:drop-shadow(0 0 6px rgba(255,80,60,.85)) drop-shadow(0 0 14px rgba(255,50,30,.45))}.hex--occ-blue{stroke:#6dafff;stroke-width:5;filter:drop-shadow(0 0 6px rgba(110,175,255,.85)) drop-shadow(0 0 14px rgba(80,150,255,.45))}.hex--occ-neutral{stroke:var(--parchment-ink-soft);stroke-width:2.5}.hex--selected{stroke:var(--wax-red);stroke-width:5.5;filter:drop-shadow(0 0 12px rgba(155,40,32,.55))}.hex--move-target{fill:#8cdc5a1a}.hex--attack-target{stroke:var(--side-red-bright);stroke-width:3;fill:#d050501f;filter:drop-shadow(0 0 6px var(--side-red-glow))}.damage-preview{pointer-events:none}.damage-preview__bg{filter:drop-shadow(0 2px 4px rgba(70,40,15,.45))}.damage-preview__text{font-family:var(--font-num);font-size:14px;font-weight:800;fill:#fff5d4;paint-order:stroke fill;stroke:#0000008c;stroke-width:.6;text-shadow:0 1px 0 rgba(0,0,0,.5)}.attack-icon{pointer-events:none}.attack-icon__bg{fill:#781c16eb;stroke:var(--wax-red-bright);stroke-width:2;filter:drop-shadow(0 0 8px rgba(155,40,32,.55))}.attack-icon__img{filter:drop-shadow(0 0 4px rgba(255,80,60,.9)) drop-shadow(0 1px 2px rgba(0,0,0,.9));animation:attack-icon-pulse 1.2s ease-in-out infinite;transform-origin:center;transform-box:fill-box}@keyframes attack-icon-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}.attack-icon--shield .attack-icon__bg{stroke:var(--highlight);filter:drop-shadow(0 0 10px var(--highlight-glow))}.attack-icon--shield .attack-icon__img{filter:drop-shadow(0 0 6px var(--highlight-glow)) drop-shadow(0 1px 2px rgba(0,0,0,.9))}.hex--deploy-target{stroke:none;fill:transparent}.deploy-target__sprite{pointer-events:none;opacity:.85}.hover-tip,.move-brackets{pointer-events:none}.move-brackets__l{stroke:#2c8fe6;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;fill:none;filter:drop-shadow(0 0 4px rgba(60,140,220,.7))}.move-path{pointer-events:none}.move-path__line{stroke-width:4;stroke-linecap:round;stroke-linejoin:round;fill:none;stroke-dasharray:6 6;animation:move-path-march .6s linear infinite}@keyframes move-path-march{to{stroke-dashoffset:-12}}.attack-arrow{pointer-events:none}.attack-arrow__line{stroke:#d0342a;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;fill:none;stroke-dasharray:6 6;animation:move-path-march .6s linear infinite;filter:drop-shadow(0 0 6px rgba(210,60,45,.75))}.attack-arrow__head{fill:#d0342a;filter:drop-shadow(0 0 6px rgba(210,60,45,.75))}.move-path--blue .move-path__line{stroke:#2c8fe6;filter:drop-shadow(0 0 6px rgba(60,140,220,.7))}.move-path--blue .move-path__dot{fill:#6dafff;filter:drop-shadow(0 0 4px rgba(110,175,255,.7))}.move-path--blue .move-path__dest{filter:drop-shadow(0 0 8px rgba(60,140,220,.6))}.move-path--red .move-path__line{stroke:#d04030;filter:drop-shadow(0 0 6px rgba(220,70,50,.7))}.move-path--red .move-path__dot{fill:#ff7060;filter:drop-shadow(0 0 4px rgba(255,112,96,.7))}.move-path--red .move-path__dest{filter:drop-shadow(0 0 8px rgba(220,70,50,.6))}.first-shield{position:fixed;left:50%;top:42%;transform:translate(-50%,-50%);z-index:320;pointer-events:none;animation:first-shield-pop 2.8s cubic-bezier(.22,1,.36,1) forwards;filter:drop-shadow(0 12px 28px rgba(0,0,0,.6))}.first-shield__img{display:block;width:min(26vw,30vh,170px);height:auto}@keyframes first-shield-pop{0%{opacity:0;transform:translate(-50%,-50%) scale(.3) rotate(-15deg)}10%{opacity:1;transform:translate(-50%,-50%) scale(1.18) rotate(0)}16%{transform:translate(-50%,-50%) scale(1) rotate(0)}85%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0)}to{opacity:0;transform:translate(-50%,-56%) scale(.92) rotate(0)}}.turn-banner{position:fixed;left:50%;top:28%;transform:translate(-50%,-50%);z-index:310;pointer-events:none;animation:turn-banner-drop 1.5s cubic-bezier(.22,1,.36,1) forwards;filter:drop-shadow(0 10px 22px rgba(0,0,0,.55))}.turn-banner__img{display:block;width:min(30vw,34vh,300px);height:auto}@keyframes turn-banner-drop{0%{opacity:0;transform:translate(-50%,-150%) scale(.85)}16%{opacity:1;transform:translate(-50%,-50%) scale(1.05)}24%{transform:translate(-50%,-50%) scale(1)}78%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-130%) scale(.92)}}.victory-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:330;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:96px 16px;box-sizing:border-box;animation:victory-rise 3.2s cubic-bezier(.22,1,.36,1) forwards;filter:drop-shadow(0 10px 24px rgba(0,0,0,.65));transform-origin:50% 50%}.victory-overlay__turn{display:block;width:min(34vw,38vh,340px);height:auto;animation:victory-banner-bob 2.4s ease-in-out infinite}.victory-overlay__ribbon{display:block;width:min(28vw,32vh,290px);height:auto;margin-top:-16vh}@media(max-height:700px){.victory-overlay__ribbon{margin-top:-110px}}@keyframes victory-rise{0%{opacity:0;transform:scale(.5) translateY(40px)}10%{opacity:1;transform:scale(1.1) translateY(0)}18%{transform:scale(1) translateY(0)}90%{opacity:1;transform:scale(1) translateY(0)}to{opacity:0;transform:scale(1.02) translateY(-12px)}}@keyframes victory-banner-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.stat-chip{pointer-events:none}.stat-chip__img{filter:drop-shadow(0 0 1px rgba(30,16,4,.95)) drop-shadow(0 0 2px rgba(30,16,4,.75)) drop-shadow(0 1px 2px rgba(30,16,4,.6))}.stat-chip__text{font-family:var(--font-num);font-weight:800;font-size:19px;letter-spacing:.02em;fill:#fff;stroke:#3a1e08;stroke-width:2.6px;stroke-linejoin:round;paint-order:stroke fill}.stat-chip--atk.stat-chip--changed .stat-chip__text{stroke:#14375c}.stat-chip--hp.stat-chip--low .stat-chip__text{stroke:#6a1210}.buff-badge{pointer-events:none}.buff-badge__bg{fill:#fbf2d6f5;stroke-width:1.5}.buff-badge--attack .buff-badge__bg{stroke:var(--wax-red)}.buff-badge--attack .buff-badge__icon{fill:var(--wax-red)}.buff-badge--shield .buff-badge__bg{stroke:#2c5378}.buff-badge--shield .buff-badge__icon{fill:#2c5378}.buff-badge__count{font-family:var(--font-num);font-weight:800;font-size:9px;fill:var(--parchment-dark)}.marker-badge{pointer-events:none}.marker-badge__bg{stroke-width:1.5}.marker-badge__label{font-family:var(--font-cn, system-ui);font-weight:800;font-size:11px;fill:#fff;paint-order:stroke;stroke:#00000059;stroke-width:.5}.marker-badge--poison .marker-badge__bg{fill:#5a8a3e;stroke:#2d4a1c}.marker-badge--wound .marker-badge__bg{fill:#b73a3a;stroke:#5a1c1c}.marker-badge--freeze .marker-badge__bg{fill:#5aa6c8;stroke:#2d5878}.marker-badge--silence .marker-badge__bg{fill:#6b5a8a;stroke:#36284a}.marker-badge--stun .marker-badge__bg{fill:#d4a64e;stroke:#6a5020}.marker-badge--weak .marker-badge__bg{fill:#8a7a5a;stroke:#4a3e2a}.mimic-badge{pointer-events:none}.mimic-badge__bg{fill:#a455c8;stroke:#5a2a78;stroke-width:1.5}.mimic-badge__label{font-family:var(--font-cn, system-ui);font-weight:800;font-size:11px;fill:#fff;paint-order:stroke;stroke:#00000059;stroke-width:.5}.hex-label{display:none}.env-buff{pointer-events:none}.board-hero{pointer-events:auto;-webkit-user-select:none;user-select:none;cursor:pointer;width:100%;height:100%;position:relative}.board-hero-node{cursor:pointer}.board-hero__hitbox{pointer-events:all}.board-hero__svg-img{pointer-events:none;transform-box:fill-box;transform-origin:center;transition:filter var(--t-fast) var(--ease-default)}.board-hero--neutral .board-hero__svg-img{opacity:.85}.board-hero--dead .board-hero__svg-img{clip-path:none;-webkit-clip-path:none;transform:scale(.6);opacity:.95;filter:drop-shadow(0 2px 6px rgba(0,0,0,.85))}.board-hero--dead-fresh .board-hero__svg-img{animation:tombstone-rise .32s var(--ease-out) both}@keyframes tombstone-rise{0%{opacity:0;transform:translateY(8px) scale(.48)}60%{opacity:1;transform:translateY(-2px) scale(.624)}to{opacity:.95;transform:translateY(0) scale(.6)}}.board-hero--preview .board-hero__svg-img{opacity:.8;filter:drop-shadow(0 0 8px var(--gold-glow-strong)) drop-shadow(0 2px 4px rgba(0,0,0,.4))}.board-hero--neutral.board-hero--dead .board-hero__svg-img{opacity:0;filter:brightness(1.4) saturate(.6);transform:scale(.85);transition:opacity .3s var(--ease-out),transform .3s var(--ease-out),filter .3s var(--ease-out)}.board-hero--finish .board-hero__svg-img{filter:grayscale(.85) brightness(.55);opacity:.85}.board-hero__finish-mark{font-size:28px;font-weight:900;fill:var(--wax-red);text-shadow:0 0 6px rgba(255,250,220,.9),0 0 2px rgba(255,250,220,.9);paint-order:stroke fill;stroke:#fffadce6;stroke-width:2px;pointer-events:none}.board-hero--moved .board-hero__svg-img{filter:brightness(.92)}.board-hero--shake .board-hero__svg-img{animation:shake .32s var(--ease-default)}.board-hero--acting .board-hero__svg-img{filter:drop-shadow(0 0 6px var(--acting-glow-1, rgba(255, 220, 140, .85))) drop-shadow(0 0 14px var(--acting-glow-2, rgba(255, 220, 140, .5))) brightness(1.08)}.board-hero--acting.board-hero--red{--acting-glow-1: rgba(255, 110, 90, .95);--acting-glow-2: rgba(255, 150, 120, .5)}.board-hero--acting.board-hero--blue{--acting-glow-1: rgba(120, 180, 255, .95);--acting-glow-2: rgba(170, 210, 255, .5)}.board-hero--acting.board-hero--neutral{--acting-glow-1: rgba(255, 220, 140, .9);--acting-glow-2: rgba(255, 235, 180, .5)}.actor-spotlight{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:60;background:radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),transparent 0,transparent 60px,rgba(20,12,4,.18) 130px,rgba(20,12,4,.32) 320px,rgba(20,12,4,.32) 100%);opacity:0;transition:opacity .36s cubic-bezier(.22,1,.36,1)}.actor-spotlight--on{opacity:1}.match-banner__right{display:flex;align-items:center;justify-content:flex-end;gap:14px}.hud__preview-stat-val--changed{color:var(--highlight)!important;text-shadow:0 0 6px var(--highlight-glow)}.damage-float{position:fixed;font-family:var(--font-num);font-weight:800;font-size:28px;color:var(--side-red-bright);text-shadow:0 0 6px #000,0 1px 3px #000,1px 1px 0 rgba(0,0,0,.8);animation:damageFloat .8s var(--ease-out) forwards;pointer-events:none;transform:translate(-50%);z-index:200;letter-spacing:.02em}.damage-float--heal{color:var(--success)}.buff-burst{width:0;height:0;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%);border:3px solid;animation:buff-burst-grow .72s var(--ease-out) forwards}.buff-burst--attack{border-color:var(--side-red-bright);box-shadow:0 0 24px var(--side-red-glow),inset 0 0 24px var(--side-red-glow)}.buff-burst--shield{border-color:var(--highlight);box-shadow:0 0 24px var(--highlight-glow),inset 0 0 24px var(--highlight-glow)}.buff-burst--charge{border-color:var(--gold-bright);box-shadow:0 0 28px var(--gold-glow-strong),inset 0 0 24px var(--gold-glow)}@keyframes buff-burst-grow{0%{width:8px;height:8px;opacity:1;border-width:6px}60%{opacity:.8}to{width:180px;height:180px;opacity:0;border-width:1px}}.buff-burst__flash{width:80px;height:80px;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%);animation:buff-flash .5s var(--ease-out) forwards}.buff-burst__flash--attack{background:radial-gradient(circle,rgba(255,120,96,.8) 0%,transparent 70%)}.buff-burst__flash--shield{background:radial-gradient(circle,rgba(140,230,220,.8) 0%,transparent 70%)}.buff-burst__flash--charge{background:radial-gradient(circle,rgba(255,220,140,.85) 0%,transparent 70%)}@keyframes buff-flash{0%{opacity:1;transform:translate(-50%,-50%) scale(.4)}to{opacity:0;transform:translate(-50%,-50%) scale(1.3)}}.buff-float{font-family:var(--font-display);font-weight:800;font-size:22px;letter-spacing:.06em;pointer-events:none;transform:translate(-50%);text-shadow:0 0 8px #000,0 1px 3px #000,1px 1px 0 rgba(0,0,0,.8);animation:buff-float-rise 1.1s var(--ease-out) forwards}.buff-float--attack{color:var(--side-red-bright);text-shadow:0 0 10px var(--side-red-glow),0 0 4px #000,0 1px 3px #000}.buff-float--shield{color:var(--highlight);text-shadow:0 0 10px var(--highlight-glow),0 0 4px #000,0 1px 3px #000}.buff-float--charge{color:var(--gold-bright);font-size:26px;text-shadow:0 0 12px var(--gold-glow-strong),0 0 4px #000,0 1px 3px #000}@keyframes buff-float-rise{0%{transform:translate(-50%,6px) scale(.6);opacity:0}20%{transform:translate(-50%) scale(1.15);opacity:1}60%{opacity:1}to{transform:translate(-50%,-42px) scale(1);opacity:0}}.feature-splash{position:fixed;left:50%;top:38%;width:560px;height:220px;margin-left:-280px;margin-top:-110px;z-index:250;pointer-events:none;overflow:visible}.feature-splash__inner{position:absolute;top:0;right:0;bottom:0;left:0;animation:feature-splash-slide 1.3s cubic-bezier(.22,1,.36,1) forwards;will-change:transform,opacity}@keyframes feature-splash-slide{0%{transform:translate(160%);opacity:0}12%{transform:translate(0);opacity:1}60%{transform:translate(0);opacity:1}to{transform:translate(-160%);opacity:0}}.feature-splash__bg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;filter:drop-shadow(0 6px 18px rgba(0,0,0,.85))}.feature-splash__hero{position:absolute;left:8%;top:50%;transform:translateY(-50%);height:130%;max-height:280px;filter:drop-shadow(0 0 14px rgba(255,220,140,.5)) drop-shadow(2px 6px 10px rgba(0,0,0,.9))}.feature-splash__label{position:absolute;left:42%;right:8%;top:50%;transform:translateY(-50%);font-family:var(--font-display);font-size:26px;font-weight:800;color:var(--gold-bright);letter-spacing:.15em;text-align:left;text-shadow:0 0 12px var(--gold-glow-strong),0 0 4px #000,0 2px 4px #000,1px 1px 0 rgba(0,0,0,.9)}.buff-consume{width:140px;height:140px;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%);border:2px solid;animation:buff-consume-shrink .6s var(--ease-out) forwards}.buff-consume--shield{border-color:var(--highlight);box-shadow:0 0 24px var(--highlight-glow),inset 0 0 24px var(--highlight-glow)}.buff-consume--attack{border-color:var(--gold-bright);box-shadow:0 0 16px var(--gold-glow),inset 0 0 16px var(--gold-glow)}@keyframes buff-consume-shrink{0%{width:140px;height:140px;opacity:0;border-width:1px}30%{opacity:1}to{width:14px;height:14px;opacity:0;border-width:5px}}.hud{position:absolute;bottom:28px;left:272px;right:272px;display:flex;align-items:flex-end;justify-content:flex-end;pointer-events:none;gap:16px;z-index:70}.hud>*{pointer-events:auto}.match-scene--solo-pool:not(.match-scene--pool-open) .hud{left:16px;right:16px}.hero-preview{position:fixed;top:-9999px;left:-9999px;background:linear-gradient(180deg,#fbf2d6,#f0dcb0);border:none;border-radius:6px;padding:12px 14px;display:none;flex-direction:column;gap:8px;max-width:340px;min-width:260px;color:var(--parchment-dark);box-shadow:0 1px #fffadcd9 inset,0 -2px 6px #46280f1a inset,0 6px 18px #46280f52;z-index:250;pointer-events:none;opacity:0;transition:opacity .14s ease-out}.hero-preview--visible{display:flex;opacity:1}.hero-preview *{pointer-events:none!important}.hud__preview-status{display:flex;flex-wrap:wrap;gap:4px;padding-top:8px;border-top:1px solid rgba(120,85,40,.22)}.hud__preview-chip{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:10px;font-family:var(--font-display);font-size:11px;font-weight:700;line-height:1;letter-spacing:.04em;white-space:nowrap;color:#fff5d4;text-shadow:0 1px 1px rgba(0,0,0,.4);box-shadow:0 1px #fffadc73 inset,0 -1px 2px #00000047 inset,0 1px 2px #46280f4d}.hud__preview-chip--atk{background:linear-gradient(180deg,#d6584a,#9b2820)}.hud__preview-chip--shield,.hud__preview-chip--poison{background:linear-gradient(180deg,#6dc488,#2f7c3a)}.hud__preview-chip--wound{background:linear-gradient(180deg,#c44038,#6a1612)}.hud__preview-chip--freeze{background:linear-gradient(180deg,#6dc4d8,#2c6788)}.hud__preview-chip--silence{background:linear-gradient(180deg,#8a8aa0,#4a4a60)}.hud__preview-chip--stun{background:linear-gradient(180deg,#d8b870,#8a6a18)}.hud__preview-chip--weak{background:linear-gradient(180deg,#b478b4,#5a2c6c)}.hud__preview-img--white{background:linear-gradient(180deg,#fbf2d6,#f1e6c4)}.hud__preview-img--gold{background:linear-gradient(180deg,#e3efc6,#b9d889)}.hud__preview-img--purple{background:linear-gradient(180deg,#f0e3f4,#d6bce0)}.hud__preview-img--rainbow{background:linear-gradient(180deg,#fccdb0,#f4a26b)}.hud__preview-img{width:64px;height:64px;border-radius:4px;border:none;background:#e8d2a599;flex-shrink:0;object-fit:cover;box-shadow:0 1px #fffadcd9 inset,0 -1px 3px #46280f26 inset,0 2px 4px #46280f33}.hud__preview-head{display:flex;gap:12px;align-items:flex-start}.hud__preview-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.hud__preview-name{font-family:var(--font-display);font-size:var(--fs-md);font-weight:700;color:var(--parchment-dark);letter-spacing:.1em}.hud__preview-name:before{content:"❦ ";color:var(--wax-red);font-size:.85em}.hud__preview-stats{display:flex;gap:var(--sp-3);font-family:var(--font-num);font-size:var(--fs-sm)}.hud__preview-stat{display:flex;gap:4px;align-items:baseline}.hud__preview-stat-label{color:var(--parchment-ink-soft);font-size:10px;text-transform:uppercase;letter-spacing:.16em;font-family:var(--font-display)}.hud__preview-stat-val{color:var(--parchment-dark);font-weight:800}.hud__preview-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:1px}.hud__preview-tag{display:inline-flex;align-items:center;height:18px;padding:0 7px;border-radius:9px;border:1px solid rgba(120,85,40,.45);background:#78552814;font-family:var(--font-display);font-size:10px;font-weight:700;line-height:1;letter-spacing:.08em;white-space:nowrap;color:var(--parchment-ink)}.hud__preview-desc{font-size:var(--fs-sm);color:var(--parchment-ink);line-height:1.5;padding-top:8px;border-top:1px solid rgba(120,85,40,.22)}.hud__preview-desc .kw{font-weight:800;color:var(--parchment-dark);letter-spacing:.02em}.hud__placeholder{color:var(--parchment-ink-soft);font-size:var(--fs-sm);letter-spacing:.06em;font-style:italic;padding:12px 0}.hud__actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.hud__action--end{width:110px;height:110px;background:url(/asset/EdnTurn1.webp) no-repeat center / contain;border:none;cursor:pointer;position:relative;filter:drop-shadow(0 4px 12px rgba(0,0,0,.7));transition:transform var(--t-fast) var(--ease-default),filter var(--t-fast) var(--ease-default);font-size:0;padding:0}.hud__action--end:hover{transform:translateY(-2px);filter:drop-shadow(0 6px 16px rgba(0,0,0,.9)) brightness(1.08)}.hud__action--end:active{background-image:url(/asset/EdnTurn2.webp);transform:translateY(2px);filter:drop-shadow(0 2px 6px rgba(0,0,0,.7))}.hud__action--end--disabled,.hud__action--end:disabled{background-image:url(/asset/EdnTurn3.webp);cursor:not-allowed;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) saturate(.6)}.hud__action--end--disabled:hover,.hud__action--end:disabled:hover{transform:none;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) saturate(.6)}.hud__action--end--disabled:active,.hud__action--end:disabled:active{background-image:url(/asset/EdnTurn3.webp);transform:none}.hud__action--swap{width:90px;height:90px;background:url(/asset/change2.webp) no-repeat center / contain;border:none;cursor:pointer;filter:drop-shadow(0 3px 8px rgba(0,0,0,.6));transition:transform var(--t-fast) var(--ease-default),filter var(--t-fast) var(--ease-default);font-size:0;padding:0}.hud__action--swap:hover{transform:translateY(-2px);filter:drop-shadow(0 4px 12px rgba(0,0,0,.8)) brightness(1.1)}.hud__action--swap--on{transform:translateY(2px);filter:drop-shadow(0 2px 5px rgba(0,0,0,.6)) brightness(1.12) saturate(1.15)}.hud__action--swap--disabled,.hud__action--swap:disabled{cursor:not-allowed;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) saturate(.25) brightness(.9)}.hud__action--swap--disabled:hover,.hud__action--swap:disabled:hover{transform:none;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) saturate(.25) brightness(.9)}.hud__action--primary{background:linear-gradient(180deg,#2c2622,#1a1816);color:var(--gold-bright);font-family:var(--font-display);font-size:var(--fs-sm);letter-spacing:.18em;text-transform:uppercase;padding:10px 28px;border:1px solid var(--gold-line);border-radius:var(--r-2);width:auto;height:auto;filter:none;box-shadow:var(--shadow-button);font-weight:600}.hud__action--primary:hover{background:linear-gradient(180deg,#3a3128,#211e1a);border-color:var(--gold-bright);color:#fff}.notice{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:200;opacity:0;transition:opacity var(--t-base) var(--ease-default)}.notice--visible{opacity:1}.notice__text{max-width:min(78vw,30rem);padding:.75rem 1.15rem;border-radius:10px;background:#301b0af0;border:1px solid var(--gold-line);box-shadow:0 8px 24px #140a0273;color:var(--parchment-light, #f6e9cd);font-family:inherit;font-size:var(--fs-sm);font-weight:600;line-height:1.45;letter-spacing:.01em;text-align:center;text-wrap:balance;animation:noticeIn .32s var(--ease-default)}.spectator-banner{position:fixed;top:6px;left:50%;transform:translate(-50%);background:var(--bg-glass);border:1px solid var(--gold-line);border-radius:var(--r-2);padding:4px 16px;font-family:var(--font-display);font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold-bright);z-index:50;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.match-scene--view-only .board-area,.match-scene--view-only .pool,.match-scene--view-only .hud{filter:saturate(.25) brightness(.88);transition:filter .26s ease}.match-scene--view-only .board-area,.match-scene--view-only .pool{cursor:not-allowed}.match-scene--view-only:after{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:40;border:3px solid var(--view-only-line);background:radial-gradient(ellipse at center,transparent 56%,rgba(38,58,84,.16) 78%,var(--view-only-wash) 100%);box-shadow:inset 0 0 0 1px #b4cde859,inset 0 0 24px #6c8cb259;animation:view-only-breathe 3.2s ease-in-out infinite}@keyframes view-only-breathe{0%,to{opacity:.72}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.match-scene--view-only:after{animation:none;opacity:.85}}.takeover-banner{position:fixed;top:6px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;background:var(--bg-overlay);border:1px solid var(--view-only-line);border-radius:var(--r-2);padding:5px 6px 5px 14px;font-family:var(--font-display);font-size:11px;letter-spacing:.18em;color:var(--view-only-text);z-index:60;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 2px 16px #00000080}@media(hover:none),(pointer:coarse){.spectator-banner{-webkit-backdrop-filter:none;backdrop-filter:none;background:#211e1af0}.takeover-banner{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0e0c0af5}}.takeover-banner__dot{width:6px;height:6px;border-radius:50%;background:var(--view-only-text);animation:view-only-breathe 3.2s ease-in-out infinite}.takeover-banner__btn{font:inherit;letter-spacing:.14em;color:var(--gold-bright);background:transparent;border:1px solid var(--gold-line);border-radius:var(--r-2);padding:3px 10px;cursor:pointer;transition:background .14s ease,box-shadow .14s ease}.takeover-banner__btn:hover{background:var(--gold-deep);box-shadow:0 0 10px var(--gold-glow)}@media(prefers-reduced-motion:reduce){.takeover-banner__dot{animation:none}}.conn-status{position:fixed;bottom:calc(6px + env(safe-area-inset-bottom));left:calc(6px + env(safe-area-inset-left));font-family:var(--font-num);font-size:10px;color:var(--text-dim);z-index:50;display:flex;align-items:center;gap:5px;letter-spacing:.04em}.conn-status:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--text-dim)}.conn-status--open:before{background:var(--success);box-shadow:0 0 6px var(--success)}.conn-status--connecting:before{background:var(--gold-bright);box-shadow:0 0 6px var(--gold-glow)}.conn-status--closed:before,.conn-status--error:before{background:var(--danger);box-shadow:0 0 6px var(--danger)}.match-banner>.match-banner__player:first-child{justify-self:end;font-family:var(--font-display)}.match-banner>.match-banner__player:last-child{justify-self:start;font-family:var(--font-display)}.match-banner__player{display:flex;align-items:center;gap:10px}.match-banner__player-avatar-wrap{position:relative;width:44px;height:44px;flex-shrink:0}.match-banner__first-icon{position:absolute;left:50%;top:calc(100% - 4px);transform:translate(-50%);width:62%;height:auto;pointer-events:none;z-index:6;filter:drop-shadow(0 3px 6px rgba(0,0,0,.65));transition:opacity .14s ease-out}.match-banner__first-icon--hidden{opacity:0}.match-banner__player-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--parchment-mid);border:2px solid var(--gold-bright);box-shadow:0 0 0 3px var(--ring-color, var(--side-red)),0 0 14px var(--ring-glow, var(--side-red-glow)),inset 0 0 0 1px #28140866;transition:filter .2s ease,box-shadow .2s ease}.match-banner__player--red .match-banner__player-avatar{--ring-color: var(--side-red);--ring-glow: var(--side-red-glow)}.match-banner__player--blue .match-banner__player-avatar{--ring-color: var(--side-blue);--ring-glow: var(--side-blue-glow)}.match-banner__player--winner .match-banner__player-avatar{filter:saturate(1.15) brightness(1.05)}.match-banner__player--acting .match-banner__player-avatar{box-shadow:0 0 0 3px var(--ring-color),0 0 22px var(--ring-glow),0 0 38px var(--ring-glow),inset 0 0 0 1px #28140866}.match-banner__player-seal{position:absolute;top:-6px;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:13px;font-weight:700;color:#fbf2d6;background:radial-gradient(circle at 35% 30%,var(--wax-red-bright) 0%,var(--wax-red) 70%);border:1px solid rgba(40,10,8,.55);box-shadow:0 1px #ffdcc866 inset,0 -1px 2px #280a0866 inset,0 2px 4px #280a0859;transform:rotate(-8deg);text-shadow:0 1px 1px rgba(40,10,8,.5)}.match-banner__player--red .match-banner__player-seal{left:-6px}.match-banner__player--blue .match-banner__player-seal{right:-6px}.match-banner__player-thinking{position:absolute;bottom:-4px;right:-4px;display:flex;align-items:center;gap:2px;padding:3px 5px;border-radius:999px;background:#281408d9;border:1px solid var(--gold-line);box-shadow:0 2px 4px #280a0859}.match-banner__player--red .match-banner__player-thinking{right:auto;left:-4px}.match-banner__player-name{font-family:var(--font-display);font-size:var(--fs-md);font-weight:700;letter-spacing:.06em;max-width:7em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 0 rgba(255,250,220,.5)}.match-banner__player--red .match-banner__player-name{color:var(--wax-red)}.match-banner__player--blue .match-banner__player-name{color:var(--side-blue-deep)}.match-banner__turn-pill{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:4px 14px;min-width:72px;border-radius:999px;background:linear-gradient(180deg,#fffadcd9,#e8d2a0e0);border:1px solid var(--gold-line);box-shadow:0 1px #fffadcd9 inset,0 -1px 2px #46280f2e inset,0 0 0 1px #fffadc73,0 2px 5px #46280f38,0 0 8px var(--gold-glow)}.match-banner__turn-pill--tappable{cursor:pointer;touch-action:manipulation;transition:transform var(--t-fast) var(--ease-default)}.match-banner__turn-pill--tappable:hover{transform:translateY(-1px)}.match-banner__turn-pill--tappable:active{transform:translateY(1px)}@keyframes turn-pill-urgent{0%,to{box-shadow:0 1px #fffadcd9 inset,0 -1px 2px #46280f2e inset,0 0 0 1px #fffadc73,0 2px 5px #46280f38,0 0 8px var(--gold-glow);border-color:var(--gold-line)}50%{box-shadow:0 1px #fffadcd9 inset,0 -1px 2px #46280f2e inset,0 0 0 1px #fffadc73,0 2px 5px #46280f38,0 0 8px var(--gold-glow),0 0 16px 4px #d22828a6;border-color:#d22828bf}}.match-banner__turn-pill--urgent{animation:turn-pill-urgent .7s ease-in-out infinite}.match-banner__turn-pill--fatigue,.match-banner__turn-pill--fatigue-soon{--fatigue-level: 0;--fatigue-period: 1.5s;--fatigue-t: calc(var(--fatigue-level) / 6)}.match-banner__turn-pill-body{position:relative;z-index:1;display:flex;flex-direction:row;align-items:center;gap:7px}.match-banner__turn-pill-stack{display:flex;flex-direction:column;align-items:center;gap:1px}.match-banner__turn-pill-skull{flex:none;width:calc(15px + 5px * var(--fatigue-t));height:calc(15px + 5px * var(--fatigue-t));fill:var(--wax-red)}.match-banner__turn-pill--fatigue-soon{border-color:#966e3cd9;animation:turn-pill-fatigue-soon 2.2s ease-in-out infinite}.match-banner__turn-pill--fatigue-soon .match-banner__turn-pill-skull{fill:#7c6a52;animation:skull-breathe 2.2s ease-in-out infinite}@keyframes turn-pill-fatigue-soon{0%,to{box-shadow:0 1px #fffadcd9 inset,0 2px 5px #46280f38,0 0 8px var(--gold-glow)}50%{box-shadow:0 1px #fffadcd9 inset,0 2px 5px #46280f38,0 0 14px 2px #be783299}}@keyframes skull-breathe{0%,to{opacity:.4}50%{opacity:.85}}.match-banner__turn-pill--fatigue{background:radial-gradient(ellipse at 50% 125%,rgba(150,35,28,calc(.18 + .34 * var(--fatigue-t))),#96231c00 72%),linear-gradient(180deg,rgba(224,208,184,calc(.92 - .2 * var(--fatigue-t))),rgba(132,114,96,calc(.86 + .1 * var(--fatigue-t))));border-color:rgba(150,35,28,calc(.6 + .4 * var(--fatigue-t)));animation:turn-pill-fatigue var(--fatigue-period) ease-in-out infinite}.match-banner__turn-pill--fatigue .match-banner__turn-pill-skull{animation:skull-blink var(--fatigue-period) ease-in-out infinite}@keyframes turn-pill-fatigue{0%,to{box-shadow:0 1px #fffadc80 inset,0 -2px 6px #3c140f59 inset,0 2px 5px #46280f40,0 0 calc(6px + 6px * var(--fatigue-t)) #96231c73}50%{box-shadow:0 1px #fffadc80 inset,0 -2px 6px #3c140f59 inset,0 2px 5px #46280f40,0 0 calc(13px + 13px * var(--fatigue-t)) calc(2px + 3px * var(--fatigue-t)) rgba(196,52,42,calc(.5 + .35 * var(--fatigue-t)))}}@keyframes skull-blink{0%,to{opacity:calc(.5 + .1 * var(--fatigue-t));transform:scale(1)}50%{opacity:1;transform:scale(calc(1 + .12 * var(--fatigue-t)))}}.match-banner__turn-pill--fatigue-soon .match-banner__turn-pill-label{color:#7a5230}.match-banner__turn-pill--fatigue .match-banner__turn-pill-label{color:var(--wax-red)}.match-banner__turn-pill--fatigue .match-banner__turn-pill-num{display:flex;align-items:baseline;gap:5px;color:#6f1712;text-shadow:0 1px 0 rgba(255,245,225,.45)}.match-banner__turn-pill-bite{font-family:var(--font-num);font-size:var(--fs-xs);font-weight:700;color:#fff2e0;background:linear-gradient(180deg,#b8322a,#7d1d17);border-radius:999px;padding:1px 5px;line-height:1.2;animation:fatigue-bite-throb var(--fatigue-period) ease-in-out infinite}@keyframes fatigue-bite-throb{0%,to{transform:scale(1);box-shadow:0 0 0 1px #ffebc84d,0 1px 2px #280a0880}50%{transform:scale(1.07);box-shadow:0 0 0 1px #ffebc880,0 1px 2px #280a0880,0 0 8px #c8372dcc}}.match-banner__turn-pill--fatigue.match-banner__turn-pill--urgent{animation:turn-pill-urgent .7s ease-in-out infinite}.match-banner__turn-pill-water{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:var(--water-opacity, 1);transition:opacity .24s ease;z-index:0}.match-banner__turn-pill-label,.match-banner__turn-pill-num{position:relative;z-index:1}.match-banner__turn-pill-waves{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.match-banner__turn-pill-label{font-family:var(--font-display);font-size:10px;letter-spacing:.32em;text-transform:uppercase;color:var(--parchment-ink-soft);line-height:1}.match-banner__turn-pill-num{font-family:var(--font-num);font-size:var(--fs-md);font-weight:700;color:var(--wax-red);letter-spacing:.04em;line-height:1;text-shadow:0 1px 0 rgba(255,250,220,.55)}.replay-controls{display:flex;flex-direction:column;gap:10px;padding:8px 4px 0;width:200px;animation:replay-controls-fade-in var(--t-base) var(--ease-default)}@keyframes replay-controls-fade-in{0%{opacity:0}to{opacity:1}}.replay-controls__progress{position:relative;width:100%;height:18px;cursor:pointer;background:transparent;touch-action:none}.replay-controls__progress:before{content:"";position:absolute;top:50%;left:0;right:0;height:5px;transform:translateY(-50%);background:#3c26128c;border-radius:2px;pointer-events:none}.replay-controls__progress:focus-visible{outline:2px solid var(--gold-bright);outline-offset:4px}.replay-controls__progress-fill{position:absolute;top:50%;left:0;height:5px;transform:translateY(-50%);background:var(--gold-line);border-radius:2px;transition:width var(--t-fast) linear;pointer-events:none}.replay-controls__progress-knob{position:absolute;top:50%;width:12px;height:12px;border-radius:50%;background:var(--gold-bright);box-shadow:0 0 12px var(--gold-glow-strong);transform:translate(-50%,-50%);transition:left var(--t-fast) linear;pointer-events:none}.replay-controls__row{display:flex;align-items:center;justify-content:center;gap:10px}.replay-controls__btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:var(--bg-elevated);border:1px solid transparent;border-radius:var(--r-2);color:var(--text-secondary);font-size:18px;line-height:1;box-shadow:var(--shadow-button);transition:color var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default),background var(--t-fast) var(--ease-default),border-color var(--t-fast) var(--ease-default)}.replay-controls__btn:hover{color:var(--gold-bright);border-color:var(--gold-line);box-shadow:var(--shadow-card-hover)}.replay-controls__btn:focus-visible{outline:2px solid var(--gold-bright);outline-offset:2px}.replay-controls__btn--primary{width:44px;height:44px;font-size:20px}.replay-controls__btn--active{background:var(--gold-line);color:var(--bg-deeper);border-color:var(--gold-bright)}.replay-controls__btn--speed{font-family:var(--font-num);font-size:var(--fs-sm);font-weight:500}.replay-controls__btn--speed.replay-controls__btn--active{background:transparent;color:var(--gold-bright);border-color:var(--gold-line)}.match-state-page{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:48px 24px;background:var(--bg-deeper);text-align:center}.match-state-page__glyph{font-size:48px;color:var(--text-muted);margin-bottom:8px}.match-state-page__headline{font-family:var(--font-display);font-size:var(--fs-md);color:var(--text-primary);letter-spacing:.04em}.match-state-page__sub{font-family:var(--font-body);font-size:var(--fs-sm);color:var(--text-secondary)}.match-state-page__actions{display:flex;gap:16px;margin-top:16px}.match-state-page__actions a{font-size:var(--fs-sm);padding:8px 16px;border:1px solid var(--gold-soft);border-radius:var(--r-2);transition:all var(--t-fast) var(--ease-default)}.match-state-page__actions a:hover{border-color:var(--gold-bright);background:var(--bg-elevated)}@media(max-width:480px){.replay-controls__btn{width:32px;height:32px;font-size:16px}.replay-controls__btn--primary{width:40px;height:40px;font-size:18px}.match-banner__center--players{gap:8px}.match-banner__player-avatar-wrap,.match-banner__player-avatar{width:36px;height:36px}.match-banner__player-name{max-width:5em;font-size:var(--fs-sm)}.match-banner__turn-pill{padding:3px 10px;min-width:60px}.match-banner__turn-pill-num{font-size:var(--fs-sm)}}.board-hero--lunge .board-hero__svg-img{animation:hero-lunge .26s cubic-bezier(.22,.9,.32,1.2)}@keyframes hero-lunge{0%{transform:translate(0)}35%{transform:translate(var(--lunge-dx, 0px),var(--lunge-dy, 0px))}52%{transform:translate(calc(var(--lunge-dx, 0px) * .82),calc(var(--lunge-dy, 0px) * .82))}to{transform:translate(0)}}.board-hero--hitflash .board-hero__svg-img{animation:hero-hit-flash .16s ease-out}.board-hero--shake.board-hero--hitflash .board-hero__svg-img{animation:shake .32s var(--ease-default),hero-hit-flash .16s ease-out}@keyframes hero-hit-flash{0%,55%{filter:brightness(2.6) saturate(.4) contrast(1.1)}to{filter:none}}.board-area--shake{animation:board-shake .3s linear}@keyframes board-shake{0%{transform:translate(0)}12%{transform:translate(-6px,3px)}28%{transform:translate(5px,-4px)}46%{transform:translate(-4px,2px)}64%{transform:translate(3px,-2px)}82%{transform:translate(-1px,1px)}to{transform:translate(0)}}.damage-float--big{font-size:38px;color:#ffc247;animation:damageFloatBig .85s var(--ease-out) forwards}.damage-float--huge{font-size:52px;color:#ff5040;text-shadow:0 0 10px rgba(255,60,30,.65),0 0 6px #000,0 2px 4px #000,1px 1px 0 rgba(0,0,0,.85);animation:damageFloatHuge .95s var(--ease-out) forwards}@keyframes damageFloatBig{0%{transform:translate(-50%,4px) scale(.5);opacity:0}18%{transform:translate(-50%,-8px) scale(1.35);opacity:1}32%{transform:translate(-50%,-12px) scale(1);opacity:1}to{transform:translate(-50%,-56px) scale(1.05);opacity:0}}@keyframes damageFloatHuge{0%{transform:translate(-50%,6px) scale(.4) rotate(-4deg);opacity:0}14%{transform:translate(-50%,-10px) scale(1.5) rotate(2deg);opacity:1}28%{transform:translate(-50%,-14px) scale(1.05) rotate(0);opacity:1}to{transform:translate(-50%,-64px) scale(1.1);opacity:0}}.damage-float__tag{display:block;font-size:.42em;letter-spacing:.2em;color:#ffd98a;text-shadow:0 0 4px #000,0 1px 2px #000;text-align:center;margin-bottom:-.15em}.hit-spark{position:fixed;width:7px;height:7px;border-radius:50%;background:radial-gradient(circle,#fff3c0,#ffb52e 55%,#ff781e00);pointer-events:none;z-index:197;animation:hit-spark-fly .5s var(--ease-out) forwards}@keyframes hit-spark-fly{0%{transform:translate(-50%,-50%) scale(1);opacity:1}to{transform:translate(calc(-50% + var(--spark-dx, 0px)),calc(-50% + var(--spark-dy, 0px))) scale(.3);opacity:0}}.board-hero--dissolving .board-hero__svg-img{opacity:0!important;animation:none!important}.sfx-toggle{position:relative;width:38px;height:38px;border:none;cursor:pointer;background:url(/asset/Btn_Obtain001.webp) no-repeat center / 100% 100%;display:flex;align-items:center;justify-content:center;font-size:16px;filter:drop-shadow(0 2px 5px rgba(70,40,15,.35));transition:transform .12s var(--ease-default),filter .12s var(--ease-default)}.sfx-toggle:hover{transform:translateY(-1px);filter:drop-shadow(0 4px 8px rgba(70,40,15,.45)) brightness(1.1)}.sfx-toggle--muted{filter:grayscale(.9) drop-shadow(0 2px 5px rgba(70,40,15,.35))}.match-banner__graveyard{display:flex;align-items:center;gap:4px;margin:0 8px;padding:4px 7px;background:linear-gradient(180deg,#60422024,#6042203d);border:1px solid rgba(112,82,44,.4);border-radius:9px;box-shadow:inset 0 1px 4px #3c260c47}.match-banner__player--red .match-banner__graveyard{flex-direction:row-reverse}.match-banner__grave-icon{width:36px;height:36px;object-fit:contain}.match-banner__grave-icon--dead{filter:grayscale(1) brightness(.78);opacity:.9}.match-banner__grave-icon--empty{opacity:.7}.board--peek{position:relative;pointer-events:none}.board--peek .hex-board-svg{filter:sepia(.5) saturate(.65) contrast(.95) brightness(.96);transition:filter .16s ease-out}.board--peek:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:55;box-shadow:inset 0 0 90px #40280866;border-radius:6px}.board--peek:after{content:"⏳ 当时战况";position:absolute;top:10px;left:50%;transform:translate(-50%);z-index:56;pointer-events:none;padding:4px 14px;border-radius:999px;background:#38260cd1;color:#f2e2b8;font-family:var(--font-display);font-size:13px;letter-spacing:.18em}@media(max-width:860px){.match-scene{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:6px;padding:calc(6px + env(safe-area-inset-top)) calc(6px + env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) calc(6px + env(safe-area-inset-left));height:100dvh}.match-scene .match-banner{grid-row:1;grid-column:1}.match-scene .pool--blue{grid-row:2;grid-column:1}.match-scene .board-area{grid-row:3;grid-column:1}.match-scene .pool--red{grid-row:4;grid-column:1}.match-scene--my-blue .pool--red{grid-row:2;grid-column:1}.match-scene--my-blue .board-area{grid-row:3;grid-column:1}.match-scene--my-blue .pool--blue{grid-row:4;grid-column:1}.match-scene--solo-pool,.match-scene--my-blue.match-scene--solo-pool{grid-template-columns:minmax(0,1fr)}.match-scene--solo-pool .board-area{grid-row:3;grid-column:1}.match-scene--solo-pool .pool--red,.match-scene--solo-pool .pool--blue{grid-row:4;grid-column:1}.match-scene--my-blue.match-scene--solo-pool .board-area{grid-row:3;grid-column:1}.match-scene--my-blue.match-scene--solo-pool .pool--blue,.match-scene--my-blue.match-scene--solo-pool .pool--red{grid-row:4;grid-column:1}.match-scene--no-pool{grid-template-columns:minmax(0,1fr)}.match-scene--no-pool .board-area{grid-row:3;grid-column:1}.match-scene{grid-template-rows:52px auto minmax(0,1fr) auto auto}.match-banner{padding:0 6px;gap:0 6px}.match-banner:after{width:160px}.match-banner__deathcount{font-size:var(--fs-xs);letter-spacing:.02em}.match-banner__center{gap:8px}.match-banner__player{display:grid;grid-template-rows:auto auto;align-items:center;column-gap:6px;row-gap:1px;min-width:0}.match-banner>.match-banner__player:first-child{grid-template-columns:minmax(0,1fr) auto}.match-banner>.match-banner__player:first-child .match-banner__player-name{grid-area:1 / 1;justify-self:end}.match-banner>.match-banner__player:first-child .match-banner__graveyard{grid-area:2 / 1;justify-self:end}.match-banner>.match-banner__player:first-child .match-banner__player-avatar-wrap{grid-area:1 / 2 / 3 / 3}.match-banner>.match-banner__player:last-child{grid-template-columns:auto minmax(0,1fr)}.match-banner>.match-banner__player:last-child .match-banner__player-avatar-wrap{grid-area:1 / 1 / 3 / 2}.match-banner>.match-banner__player:last-child .match-banner__player-name{grid-area:1 / 2;justify-self:start}.match-banner>.match-banner__player:last-child .match-banner__graveyard{grid-area:2 / 2;justify-self:start}.match-banner__player-avatar-wrap,.match-banner__player-avatar{width:38px;height:38px}.match-banner__player-seal{width:19px;height:19px;font-size:11px}.match-banner__player-name{font-size:var(--fs-xs);max-width:5.4em;letter-spacing:.02em}.match-banner__graveyard{margin:0;padding:2px 3px;gap:2px;border-radius:6px}.match-banner__grave-icon{width:14px;height:14px}.match-banner__turn-pill{min-width:52px;padding:3px 8px}.match-banner__turn-pill-body{gap:4px}.pool{flex-direction:row;align-items:center;gap:8px;padding:6px 8px;overflow-x:auto;overflow-y:hidden;touch-action:pan-x}.pool__grid{grid-auto-flow:column;grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-columns:minmax(0,1fr);gap:4px;flex:1;min-width:0}.hero-card__img--body{display:none}.hero-card__img--head{display:block}.hero-card{aspect-ratio:1}.pool__recycle{flex-direction:row;gap:12px;text-align:left;padding:8px 12px}.pool__recycle-figure{width:56px;height:56px}.pool__recycle-sigil{width:27px;height:27px;right:-5px;bottom:-3px}.pool__recycle-text{text-align:left}.pool__recycle-cost{align-self:flex-start}.match-scene--solo-pool .pool{max-height:200px;transition:max-height .22s ease,padding .22s ease,opacity .16s var(--ease-default)}.match-scene--solo-pool .pool--collapsed{max-height:0;padding-top:0;padding-bottom:0;min-height:0}.match-scene--solo-pool.match-scene--bench-phase.match-scene--pool-open .hud{display:none}.hero-card__stats{padding:0;background:none;inset:auto 0 0 0;height:0;overflow:visible;align-items:flex-end}.hero-card__stat{width:26px;height:26px;margin-bottom:-1px;position:absolute;bottom:0}.hero-card__atk{left:-1px}.hero-card__hp{right:-1px}.hero-card__stat-val{font-size:13px}.board-area{min-height:0}.board__overlay{top:6px;right:6px;gap:6px}.hud{position:static;grid-row:5;grid-column:1;left:auto;right:auto;bottom:auto;justify-content:center;align-items:center;gap:8px;pointer-events:auto}.hud__actions{flex-direction:row;align-items:center;justify-content:center;width:100%;gap:18px}.hud__action--end{width:68px;height:68px}.hud__action--swap{width:56px;height:56px}.hud__action--primary{min-height:46px;padding:10px 24px}.hero-preview{max-width:none;right:8px}.victory-overlay{padding:48px 12px}}@media(min-width:601px)and (max-width:860px){.pool__grid{grid-template-rows:auto;grid-auto-columns:minmax(0,1fr);gap:8px}.hero-card__stat{width:30px;height:30px}.hero-card__stat-val{font-size:16px}.hud__action--end{width:84px;height:84px}.hud__action--swap{width:68px;height:68px}}@media(max-width:860px)and (orientation:landscape)and (min-aspect-ratio:3/2){.match-scene{grid-template-columns:132px 1fr 132px;grid-template-rows:44px minmax(0,1fr);gap:6px;padding:6px}.match-scene .match-banner{grid-row:1;grid-column:1 / -1}.match-scene .pool--blue{grid-row:2;grid-column:1}.match-scene .board-area{grid-row:2;grid-column:2}.match-scene .pool--red{grid-row:2;grid-column:3}.match-scene--my-blue .pool--red{grid-row:2;grid-column:1}.match-scene--my-blue .board-area{grid-row:2;grid-column:2}.match-scene--my-blue .pool--blue{grid-row:2;grid-column:3}.match-scene--solo-pool,.match-scene--my-blue.match-scene--solo-pool{grid-template-columns:1fr 132px}.match-scene--solo-pool .board-area{grid-row:2;grid-column:1}.match-scene--solo-pool .pool--red,.match-scene--solo-pool .pool--blue{grid-row:2;grid-column:2}.match-scene--my-blue.match-scene--solo-pool .board-area{grid-row:2;grid-column:1}.match-scene--my-blue.match-scene--solo-pool .pool--blue,.match-scene--my-blue.match-scene--solo-pool .pool--red{grid-row:2;grid-column:2}.match-scene--no-pool{grid-template-columns:1fr}.match-scene--no-pool .board-area{grid-row:2;grid-column:1}.match-scene{transition:grid-template-columns .22s var(--ease-default),column-gap .22s var(--ease-default)}.match-scene--solo-pool:not(.match-scene--pool-open),.match-scene--my-blue.match-scene--solo-pool:not(.match-scene--pool-open){grid-template-columns:minmax(0,1fr) 0px;column-gap:0}.pool{flex-direction:column;align-items:stretch;overflow-x:hidden;overflow-y:auto;touch-action:auto;padding:8px 6px}.match-scene--solo-pool .pool{max-height:none}.match-scene--solo-pool .pool--collapsed{max-height:none;padding:8px 0}.match-scene--solo-pool.match-scene--bench-phase.match-scene--pool-open .hud{display:flex}.pool__grid{grid-auto-flow:row;grid-template-columns:repeat(2,1fr);grid-template-rows:auto;grid-auto-columns:auto;justify-content:stretch}.match-scene--solo-pool:not(.match-scene--pool-open) .hud{left:6px;right:6px}.hud{position:absolute;grid-row:auto;left:144px;right:144px;bottom:10px;justify-content:flex-end;align-items:flex-end;pointer-events:none}.hud__actions{flex-direction:column;align-items:flex-end;width:auto;gap:8px}.hud__action--end{width:72px;height:72px}.hud__action--swap{width:58px;height:58px}}@media(max-width:600px)and (max-aspect-ratio:3/2){.match-scene:not(.match-scene--solo-pool) .pool__grid{grid-template-rows:auto;gap:3px}.match-scene:not(.match-scene--solo-pool) .hero-card__stat{width:17px;height:17px}.match-scene:not(.match-scene--solo-pool) .hero-card__stat-val{font-size:10px}}.lobby{height:100vh;overflow-y:auto;position:relative;color:var(--parchment-dark);background:radial-gradient(ellipse at 50% 30%,transparent 60%,rgba(70,40,15,.1) 100%),radial-gradient(ellipse at 6% 8%,rgba(110,70,30,.1) 0%,transparent 24%),radial-gradient(ellipse at 94% 94%,rgba(110,70,30,.1) 0%,transparent 28%),linear-gradient(#fffaebb3,#fffaebb3),url(/img/parchment_tile.webp) repeat,#f7ead0;background-size:auto,auto,auto,auto,920px 920px,auto;scrollbar-width:thin;scrollbar-color:rgba(110,78,30,.12) transparent;transition:scrollbar-color .6s ease}.lobby--scrolling{scrollbar-color:rgba(110,78,30,.78) transparent}.lobby::-webkit-scrollbar{width:10px}.lobby::-webkit-scrollbar-track{background:transparent}.lobby::-webkit-scrollbar-thumb{background-color:#6e4e1e1f;border-radius:999px;border:2px solid transparent;background-clip:padding-box;transition:background-color .6s ease}.lobby--scrolling::-webkit-scrollbar-thumb,.lobby::-webkit-scrollbar-thumb:hover{background-color:#6e4e1ec7}.lobby__inner{display:grid;grid-template-rows:auto auto 1fr auto;min-height:100vh;padding:56px 56px 32px;gap:36px;max-width:1480px;margin:0 auto}.lobby__header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:22px;position:relative;border-bottom:1px solid var(--parchment-rule);box-shadow:0 4px 0 -3px var(--parchment-rule-soft)}.lobby__header:after{content:"";position:absolute;left:50%;bottom:-5px;transform:translate(-50%) rotate(45deg);width:8px;height:8px;background:var(--antique-gold);box-shadow:0 0 0 2px #f1e3bfe6;pointer-events:none}.lobby__brand{display:flex;flex-direction:column;gap:8px}.lobby__title{font-family:var(--font-display);font-size:var(--fs-display);font-weight:700;letter-spacing:.04em;margin:0;color:var(--parchment-dark);line-height:1;text-shadow:0 1px 0 rgba(255,240,200,.4),0 0 6px rgba(120,70,30,.18)}.lobby__title-accent{color:var(--wax-red);text-shadow:0 1px 0 rgba(255,240,200,.35),0 0 8px rgba(155,40,32,.35)}.lobby__subtitle{font-family:var(--font-display);font-size:var(--fs-sm);letter-spacing:.42em;text-transform:uppercase;color:var(--parchment-ink-soft);margin-top:4px;display:block;font-style:italic}.lobby__id{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px 14px;background:linear-gradient(180deg,#fbf0d2,#f3deaa);border:none;border-radius:5px;padding:10px 20px;position:relative;box-shadow:0 1px #fffadcd9 inset,0 -2px 5px #46280f1f inset,0 2px 4px #46280f38;min-width:280px}.lobby__avatar{display:block;width:56px;height:56px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fffadcd9,0 1px 3px #46280f66}.lobby__id-name-row,.lobby__id-auth-row{display:flex;align-items:center;gap:8px;min-height:22px}.lobby__id-name{font-family:var(--font-display);font-size:var(--fs-md);font-weight:700;color:var(--parchment-ink)}.lobby__id-github{color:var(--parchment-ink-soft);font-size:var(--fs-xs);font-style:italic}.account-actions__error{color:var(--danger);font-size:var(--fs-xs);overflow-wrap:anywhere}.presence{grid-row:span 2;position:relative;display:flex;align-items:center;gap:8px}.presence__profile{position:relative}.presence__avatar-btn{position:relative;display:block;padding:0;border:none;background:none;border-radius:0;color:inherit;font:inherit;cursor:pointer}.presence__avatar-btn:focus-visible{outline:2px solid var(--gold-line);outline-offset:3px}.presence__dot,.presence__opt-dot{display:block;width:14px;height:14px;border-radius:50%;background:#3f9d5c;box-shadow:0 0 0 2px #fbf0d2}.presence__dot{position:absolute;right:0;bottom:0}.presence__dot--hidden{background:#8f8a80}.presence__menu{position:absolute;top:calc(100% + 8px);left:0;z-index:20;display:flex;flex-direction:column;min-width:220px;padding:6px;border-radius:6px;background:linear-gradient(180deg,#fbf0d2,#f3deaa);box-shadow:0 1px #fffadcd9 inset,0 6px 16px #46280f59}.presence__opt{display:flex;align-items:center;gap:10px;padding:8px 10px;border:none;border-radius:4px;background:none;color:var(--parchment-ink);text-align:left;cursor:pointer}.presence__opt:hover,.presence__opt:focus-visible{background:#c8a03c2e;outline:none}.presence__opt[aria-checked=true]{background:#c8a03c47}.presence__opt-dot{flex:none;width:10px;height:10px;box-shadow:none}.presence__opt-text{display:flex;flex-direction:column;gap:2px}.presence__opt-text strong{font-family:var(--font-display);font-size:var(--fs-sm)}.presence__opt-text small{font-size:var(--fs-xs);color:var(--parchment-ink-soft)}.account-menu__edit,.account-actions--menu .btn{display:block;width:100%;min-height:44px;padding:10px;border:0;border-radius:4px;background:none;box-shadow:none;color:var(--parchment-ink);font:var(--fs-sm) var(--font-display);text-align:left;letter-spacing:0;cursor:pointer}.account-menu__edit{margin-top:6px;border-top:1px solid #9c814945;border-radius:0}.account-menu__edit:hover,.account-menu__edit:focus-visible,.account-actions--menu .btn:hover,.account-actions--menu .btn:focus-visible{background:#c8a03c2e}.account-actions--menu .account-actions__error{display:block;padding:0 10px 10px}.account-actions--menu .account-actions__error[hidden]{display:none}.lobby__teams{display:flex;flex-direction:column;gap:18px}.lobby__teams-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.h-section--inline{margin:0;flex:1}.h-section__count{color:var(--wax-red);font-family:var(--font-num);font-size:var(--fs-xs);letter-spacing:.12em;margin-left:4px;font-weight:700}.h-section__note{color:var(--parchment-ink-soft);font-size:var(--fs-xs);font-style:italic;letter-spacing:.04em;margin-left:10px;font-weight:400}.btn--cta{font-size:var(--fs-sm);flex-shrink:0;letter-spacing:.12em}.lobby__subtitle-link{color:var(--antique-gold-deep);text-decoration:none;letter-spacing:inherit;font-style:normal;border-bottom:1px dashed transparent;transition:color var(--t-fast, .12s) ease,border-color var(--t-fast, .12s) ease}.lobby__subtitle-link:hover{color:var(--wax-red);border-bottom-color:var(--wax-red)}.lobby__subtitle-link-icon{display:inline-block;margin-right:4px;font-size:1.05em;vertical-align:-.08em;filter:sepia(.25) saturate(.9)}.lobby__empty{border:none;border-radius:6px;padding:64px 24px;text-align:center;background:linear-gradient(180deg,#dcc39673,#e8d2a573);box-shadow:0 2px 5px #46280f26 inset,0 -1px #fffadc66 inset}.lobby__empty-title{font-family:var(--font-display);font-size:var(--fs-lg);color:var(--parchment-dark);letter-spacing:.18em;margin-bottom:8px}.lobby__empty-sub{color:var(--parchment-ink-soft);font-size:var(--fs-sm);letter-spacing:.08em;font-style:italic}.team-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:22px}.team-card{background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.25  0 0 0 0 0.15  0 0 0 0 0.05  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),radial-gradient(ellipse at 50% 0%,rgba(120,70,30,.1) 0%,transparent 60%),linear-gradient(180deg,#fbf2d6,#f4e3b4);border:none;border-radius:6px;padding:18px 20px;display:flex;flex-direction:column;gap:14px;transition:transform var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default);position:relative;box-shadow:0 1px #fffadcd9 inset,0 -2px 6px #46280f1a inset,0 3px 6px #46280f2e,0 10px 22px #46280f24}.team-card:nth-child(odd){transform:rotate(-.6deg)}.team-card:nth-child(2n){transform:rotate(.5deg)}.team-card:hover{transform:rotate(0) translateY(-3px);box-shadow:0 1px #fffadccc inset,0 4px 8px #46280f38,0 14px 28px #46280f33}.team-card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--parchment-rule);position:relative}.team-card__head:after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:1px;background:var(--parchment-rule-soft)}.team-card__name{font-family:var(--font-display);font-size:var(--fs-md);font-weight:700;color:var(--parchment-dark);letter-spacing:.12em}.team-card__name:before{content:"❦ ";color:var(--wax-red);font-size:.85em;margin-right:2px}.team-card__delete{background:transparent;border:1px solid transparent;color:var(--parchment-ink-soft);font-size:22px;font-weight:600;width:28px;height:28px;border-radius:999px;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;transition:color var(--t-fast) var(--ease-default),background var(--t-fast) var(--ease-default);padding:0}.team-card__delete:hover{color:var(--wax-red-bright);background:#9b282014}.team-card__roster{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.team-card__hero{position:relative;aspect-ratio:1 / 1;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 50% 30%,#f8e8c0,#d4b478);border:2px solid var(--parchment-deep);box-shadow:0 0 0 1px #6e4b2880,0 1px #fffadc99 inset,0 -8px 12px -8px #321e0a66 inset,0 2px 3px #46280f40;transition:transform var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default)}.team-card__hero:before{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;border-radius:50%;border:1px solid rgba(184,136,48,.5);pointer-events:none;z-index:2}.team-card__hero:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 0 0 1px #9b282080,0 1px #fffadcb3 inset,0 -8px 12px -8px #321e0a66 inset,0 4px 8px #46280f4d}.team-card__hero--white{background:radial-gradient(circle at 50% 30%,#fbf2d6,#d8c490)}.team-card__hero--gold{background:radial-gradient(circle at 50% 30%,#e3efc6,#8ec050)}.team-card__hero--purple{background:radial-gradient(circle at 50% 30%,#f0e3f4,#bc8ed0)}.team-card__hero--rainbow{background:radial-gradient(circle at 50% 30%,#fccdb0,#d87040)}.team-card__hero--random{background:transparent}.team-card__hero--random .team-card__hero-img{object-fit:contain;filter:none}.team-card__hero-img{width:100%;height:100%;object-fit:cover;display:block;filter:sepia(.18) contrast(1.04) saturate(.85)}.team-card__badges{display:flex;gap:10px;flex-wrap:wrap}.team-card__badge{display:inline-flex;align-items:center;gap:5px;padding:3px 11px 3px 7px;border-radius:999px;background:linear-gradient(180deg,#fffadcd9,#dcc396b3);border:none;font-family:var(--font-display);font-size:var(--fs-xs);letter-spacing:.12em;color:var(--parchment-ink);box-shadow:0 1px #fffadcb3 inset,0 -1px 2px #46280f26 inset,0 1px 1px #46280f1f}.team-card__badge-num{font-family:var(--font-num);font-weight:800;color:var(--parchment-dark);background:#fffadc80;border-radius:50%;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border:1px solid}.team-card__badge--melee .team-card__badge-num{color:var(--wax-red);border-color:#9b282073}.team-card__badge--range .team-card__badge-num{color:#2c5378;border-color:#2c537873}.team-card__badge--unable .team-card__badge-num{color:var(--antique-gold-deep);border-color:#6e4e1e80}.team-card__badge--taunt .team-card__badge-num{color:#3d6a2c;border-color:#3d6a2c80}.team-card__badge--random .team-card__badge-num{color:#5b4a72;border-color:#5b4a7280}.team-card__actions{display:flex;gap:8px;margin-top:auto;padding-top:4px}.btn--challenge{flex:1;font-size:var(--fs-md);padding:12px 16px;letter-spacing:.42em;background:url(/asset/NormalRedBtnBg1.webp) no-repeat center / 100% 100%;border:none;color:#fff5d8;text-shadow:0 1px 1px rgba(0,0,0,.6),0 0 4px rgba(40,10,8,.7);box-shadow:none;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700;filter:drop-shadow(0 2px 3px rgba(70,30,10,.3));transition:filter var(--t-fast) var(--ease-default),transform var(--t-fast) var(--ease-default)}.btn--challenge:before{content:"";width:22px;height:22px;background:url(/asset/BtnIcon_Challenge.webp) no-repeat center / contain;filter:drop-shadow(0 1px 1px rgba(0,0,0,.5))}.btn--challenge:hover{filter:drop-shadow(0 3px 5px rgba(155,40,32,.45)) brightness(1.06);transform:translateY(-1px)}.btn--challenge:active{background-image:url(/asset/NormalRedBtnBg2.webp);transform:translateY(0);filter:drop-shadow(0 1px 2px rgba(70,30,10,.4))}.btn--edit{letter-spacing:.12em}.lobby__decor{display:flex;align-items:center;justify-content:center;gap:56px;padding:48px 0 24px;margin-top:auto;position:relative}.lobby__decor:before,.lobby__decor:after{content:"";position:absolute;top:50%;width:22%;height:1px;background:linear-gradient(to right,transparent,var(--parchment-rule-soft),transparent)}.lobby__decor:before{left:4%}.lobby__decor:after{right:4%}.lobby__decor-cask{width:110px;height:auto;filter:drop-shadow(0 4px 6px rgba(70,40,15,.35)) sepia(.18) saturate(.9);flex-shrink:0}.lobby__decor-cask--right{transform:scaleX(-1)}.lobby__decor-quote{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-family:var(--font-display);color:var(--parchment-ink)}.lobby__decor-line1{font-size:var(--fs-md);font-weight:600;letter-spacing:.32em;color:var(--parchment-dark)}.lobby__decor-line2{font-size:var(--fs-sm);letter-spacing:.16em;color:var(--parchment-ink-soft);font-style:italic}.lobby__footer{display:flex;justify-content:space-between;align-items:center;color:var(--parchment-ink-soft);font-size:var(--fs-xs);font-family:var(--font-num);letter-spacing:.08em;padding-top:16px;border-top:1px solid var(--parchment-rule);font-style:italic}.lobby__offline-banner{display:flex;align-items:center;gap:10px;margin-bottom:20px;padding:10px 16px;border:1px solid var(--parchment-rule);border-left:3px solid var(--wax-red);border-radius:3px;background:#00000008;color:var(--parchment-ink-soft);font-size:var(--fs-sm);line-height:1.5}.lobby__offline-banner-icon{flex:none;color:var(--wax-red)}.team-card--local{border-left:3px solid var(--wax-red)}.team-card__local-tag{margin-left:8px;padding:1px 6px;border:1px solid var(--wax-red);border-radius:2px;color:var(--wax-red);font-size:var(--fs-xs);font-style:italic;white-space:nowrap}.lobby__offline{color:var(--parchment-ink-soft);opacity:.7}.lobby__footer a{color:var(--wax-red)}.lobby__footer a:hover{color:var(--wax-red-bright)}.h-display{font-family:var(--font-display);font-size:var(--fs-display);font-weight:700;letter-spacing:.04em;margin:0;color:var(--parchment-dark);line-height:1.1}.h-section{font-family:var(--font-display);font-size:var(--fs-md);font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--parchment-dark);margin:0 0 12px;display:flex;align-items:center;gap:12px}.h-section:after{content:"";flex:1;height:6px;background:linear-gradient(to right,var(--parchment-rule) 0%,transparent 100%);-webkit-mask:linear-gradient(transparent 40%,#000 41% 60%,transparent 61%);mask:linear-gradient(transparent 40%,#000 41% 60%,transparent 61%)}.btn{background:linear-gradient(180deg,#f3e2b4,#e3c890);border:none;color:var(--parchment-dark);font-family:var(--font-display);font-size:var(--fs-sm);letter-spacing:.1em;padding:9px 22px;border-radius:5px;font-weight:600;cursor:pointer;box-shadow:0 1px #fffadccc inset,0 -2px 5px #46280f26 inset,0 2px 4px #46280f38;transition:transform var(--t-fast) var(--ease-default),background var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default),color var(--t-fast) var(--ease-default)}.btn:hover{background:linear-gradient(180deg,#faeac0,#ecd09a);transform:translateY(-1px);box-shadow:0 1px #fffadce6 inset,0 -2px 5px #46280f26 inset,0 4px 8px #46280f47;color:var(--wax-red)}.btn:active{transform:translateY(0);box-shadow:0 2px 3px #46280f4d inset,0 1px 1px #46280f26}.btn:disabled{opacity:.4;cursor:not-allowed;transform:none}.btn--primary{background:linear-gradient(180deg,#c44038,#8a241c);color:#fbf0c8;text-shadow:0 1px 1px rgba(40,8,6,.55);box-shadow:0 1px #ffdcb44d inset,0 -2px 5px #28080673 inset,0 2px 4px #46280f4d}.btn--primary:hover{background:linear-gradient(180deg,#d44a40,#9c2a22);color:#fff5d8;box-shadow:0 1px #ffdcb459 inset,0 -2px 5px #28080673 inset,0 4px 10px #9b282073}.btn--ghost{background:transparent;box-shadow:none;color:var(--parchment-ink);padding:7px 14px}.btn--ghost:hover{background:linear-gradient(180deg,#fffadc8c,#e8d2a08c);color:var(--wax-red);box-shadow:0 1px #fffadc99 inset,0 1px 2px #46280f2e;transform:translateY(-1px)}.btn--small{font-size:var(--fs-xs);padding:5px 12px;letter-spacing:.06em}.input{background:linear-gradient(180deg,#f3e1ae,#fbf3da);border:none;color:var(--parchment-dark);font-family:var(--font-body);font-size:var(--fs-base);padding:10px 14px;border-radius:5px;outline:none;box-shadow:0 2px 4px #46280f38 inset,0 -1px #fffadc66 inset;transition:box-shadow var(--t-fast) var(--ease-default);letter-spacing:.04em}.input:focus{box-shadow:0 2px 4px #46280f38 inset,0 0 0 2px #9b282059}.input::placeholder{color:var(--parchment-ink-soft);font-style:italic}.editor{display:grid;grid-template-columns:1fr 380px;height:100vh;color:var(--parchment-dark);background:radial-gradient(ellipse at 50% 30%,transparent 60%,rgba(70,40,15,.1) 100%),radial-gradient(ellipse at 6% 8%,rgba(110,70,30,.1) 0%,transparent 24%),radial-gradient(ellipse at 94% 94%,rgba(110,70,30,.1) 0%,transparent 28%),linear-gradient(#fffaebb3,#fffaebb3),url(/img/parchment_tile.webp) repeat,#f7ead0;background-size:auto,auto,auto,auto,920px 920px,auto}.editor__pool{padding:32px 40px;overflow-y:auto}.editor__pool h2{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;margin:0 0 24px;font-family:var(--font-display);font-size:var(--fs-xl);font-weight:700;letter-spacing:.06em;color:var(--parchment-dark)}.editor__filter{display:flex;flex-wrap:wrap;flex-shrink:0;gap:8px;margin-left:auto}.editor__filter button{background:linear-gradient(180deg,#f3e2b4,#e3c890);border:none;color:var(--parchment-ink);padding:6px 12px;border-radius:5px;font-family:var(--font-display);font-size:var(--fs-xs);letter-spacing:.1em;cursor:pointer;font-weight:600;box-shadow:0 1px #fffadcb3 inset,0 -2px 5px #46280f1f inset,0 1px 2px #46280f2e;transition:background var(--t-fast) var(--ease-default),color var(--t-fast) var(--ease-default),transform var(--t-fast) var(--ease-default)}.editor__filter button:hover{color:var(--wax-red);transform:translateY(-1px)}.editor__filter button.active{background:linear-gradient(180deg,#c44038,#8a241c);color:#fbf0c8;text-shadow:0 1px 1px rgba(40,8,6,.5);box-shadow:0 1px #ffdcb44d inset,0 -2px 5px #28080666 inset,0 2px 4px #46280f4d}.editor__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px}.editor__group-header{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:6px 10px;margin-top:4px;border-bottom:1px solid rgba(112,74,38,.28);border-radius:4px;background:linear-gradient(90deg,#a4763e29,#a4763e0a);color:#4b2d16}.editor__group-header--expansion{margin-top:12px;border-bottom-color:#92342a5c;background:linear-gradient(90deg,#9a302624,#9a302608)}.editor__group-title{font-family:var(--font-display);font-size:14px;font-weight:700;letter-spacing:.03em}.editor__group-badge{font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;background:#36744626;color:#245b35}.editor__group-badge.is-warning{background:#a2362a29;color:#8b241c}.hero-tile{position:relative;aspect-ratio:3/4;border:none;border-radius:5px;background:linear-gradient(180deg,#fbf2d6,#f4e3b4);overflow:hidden;cursor:pointer;transition:transform var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default);box-shadow:0 1px #fffadcd9 inset,0 -2px 6px #46280f1a inset,0 2px 4px #46280f2e}.hero-tile:hover{transform:translateY(-3px);box-shadow:0 1px #fffadce6 inset,0 -2px 6px #46280f1a inset,0 4px 10px #9b28204d}.hero-tile--in-team:before{content:"✓";position:absolute;top:5px;right:5px;width:20px;height:20px;border-radius:50%;background:linear-gradient(180deg,#c44038,#8a241c);color:#fbf0c8;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;text-shadow:0 1px 1px rgba(40,8,6,.5);box-shadow:0 1px #ffdcb44d inset,0 -1px 2px #28080666 inset,0 2px 4px #46280f4d;z-index:5;pointer-events:none}.hero-tile img{width:100%;height:100%;object-fit:cover}.hero-tile__name{position:absolute;bottom:0;left:0;right:0;padding:14px 8px 6px;background:linear-gradient(180deg,#1c0e0400,#1c0e044d 45%,#1c0e04a6);font-size:var(--fs-xs);text-align:center;font-family:var(--font-display);font-weight:700;letter-spacing:.1em;color:#fbeaa6;text-shadow:0 1px 1px rgba(0,0,0,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-tile--white{background:linear-gradient(180deg,#fbf2d6,#f1e6c4)}.hero-tile--gold{background:linear-gradient(180deg,#e3efc6,#b9d889)}.hero-tile--purple{background:linear-gradient(180deg,#f0e3f4,#d6bce0)}.hero-tile--rainbow{background:linear-gradient(180deg,#fccdb0,#f4a26b)}.editor__slot--filled.editor__slot--white{background:linear-gradient(180deg,#fbf2d6,#f1e6c4)}.editor__slot--filled.editor__slot--gold{background:linear-gradient(180deg,#e3efc6,#b9d889)}.editor__slot--filled.editor__slot--purple{background:linear-gradient(180deg,#f0e3f4,#d6bce0)}.editor__slot--filled.editor__slot--rainbow{background:linear-gradient(180deg,#fccdb0,#f4a26b)}.editor__sidebar{background:linear-gradient(#fffaeb99,#fffaeb99),url(/img/parchment_tile.webp) repeat,#f1e3bf;background-size:auto,920px 920px,auto;border-left:none;padding:32px 24px;display:flex;flex-direction:column;gap:16px;overflow-y:auto;box-shadow:-8px 0 24px #46280f2e}.editor__roster-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}.editor__roster-head .h-section{margin-bottom:0}.editor__clear{flex-shrink:0;font-family:var(--font-display)}.editor__clear[disabled]{opacity:.4;cursor:not-allowed;pointer-events:none}.editor__slots{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.editor__slot{aspect-ratio:3/4;border:none;border-radius:5px;background:linear-gradient(180deg,#dcc39680,#e8d2a580);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);color:var(--parchment-ink-soft);font-size:var(--fs-md);cursor:pointer;position:relative;overflow:hidden;box-shadow:0 2px 4px #46280f2e inset,0 -1px #fffadc66 inset;transition:background var(--t-fast) var(--ease-default)}.editor__slot--filled{background:linear-gradient(180deg,#fbf2d6,#f4e3b4);box-shadow:0 1px #fffadcd9 inset,0 -2px 5px #46280f1a inset,0 2px 4px #46280f2e}.editor__slot--filled:hover{box-shadow:0 1px #fffadce6 inset,0 -2px 5px #46280f1a inset,0 3px 8px #9b282047}.editor__slot--filled:after{content:"✕";position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:28px;font-weight:700;color:#fff5d8;text-shadow:0 1px 2px rgba(0,0,0,.5);background:#9b28208c;opacity:0;transition:opacity var(--t-fast) var(--ease-default);pointer-events:none}.editor__slot--filled:hover:after{opacity:1}.editor__slot--random{background:transparent;box-shadow:none;cursor:default}.editor__slot--random img{object-fit:contain;filter:none}.editor__slot img{width:100%;height:100%;object-fit:cover}.editor__slots-hint{margin-top:10px;font-size:var(--fs-sm);line-height:1.5;color:var(--parchment-ink-soft)}.editor__detail{background:linear-gradient(180deg,#fbf2d6,#f4e3b4);border:none;border-radius:6px;padding:16px 18px;min-height:200px;box-shadow:0 1px #fffadcd9 inset,0 -2px 6px #46280f1a inset,0 3px 6px #46280f2e}.editor__detail-name{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-size:var(--fs-md);font-weight:700;color:var(--parchment-dark);margin-bottom:12px;letter-spacing:.1em}.editor__detail-avatar{width:36px;height:36px;border-radius:4px;object-fit:cover;flex-shrink:0;background:linear-gradient(180deg,#fbf2d6,#f4e3b4);box-shadow:0 1px #fffadcd9 inset,0 -1px 2px #46280f1a inset,0 1px 2px #46280f40}.editor__detail-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-bottom:12px}.editor__detail-stats{display:flex;flex-wrap:wrap;gap:12px;font-family:var(--font-num);font-size:var(--fs-sm);color:var(--parchment-ink-soft)}.editor__detail-stats span{color:var(--parchment-dark);font-weight:700}.editor__detail-tags{display:flex;flex-wrap:wrap;gap:5px}.editor__detail-tag{display:inline-flex;align-items:center;height:20px;padding:0 9px;border-radius:10px;border:1px solid rgba(120,85,40,.45);background:#78552814;font-family:var(--font-display);font-size:var(--fs-xs);font-weight:700;line-height:1;letter-spacing:.08em;white-space:nowrap;color:var(--parchment-ink)}.editor__detail-desc{font-size:var(--fs-sm);color:var(--parchment-ink);line-height:1.6}.editor__detail-desc .kw{font-weight:800;color:var(--parchment-dark);letter-spacing:.02em}.editor__name-input{width:100%}.editor__actions{display:flex;gap:8px;margin-top:auto}.editor__actions .btn{flex:1}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#281a0c8c;z-index:100;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s var(--ease-default);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.modal{background:linear-gradient(#fffaebb3,#fffaebb3),url(/img/parchment_tile.webp) repeat,#f7ead0;background-size:auto,920px 920px,auto;border:none;border-radius:8px;padding:32px;min-width:480px;max-width:600px;display:flex;flex-direction:column;gap:16px;color:var(--parchment-dark);box-shadow:0 1px #fffadcd9 inset,0 -2px 8px #46280f1a inset,0 6px 14px #28140873,0 20px 60px #28140880;animation:scaleIn .2s var(--ease-default);position:relative}.modal--wide{min-width:min(720px,90vw);max-width:min(900px,92vw)}.modal-backdrop--top{z-index:120}.modal__title{font-family:var(--font-display);font-size:var(--fs-lg);font-weight:700;letter-spacing:.18em;color:var(--parchment-dark);margin:0;text-align:center}.avatar-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:10px;max-height:60vh;overflow-y:auto;padding:4px}.avatar-picker-cell{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px;background:#fffadc66;border:1px solid var(--parchment-rule-soft);border-radius:6px;cursor:pointer;transition:transform var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default),border-color var(--t-fast) var(--ease-default)}.avatar-picker-cell:hover{transform:translateY(-2px);border-color:var(--gold-line);box-shadow:0 0 12px var(--gold-glow),0 4px 8px #46280f40}.avatar-picker-cell__circle{width:56px;height:56px;border-radius:50%;overflow:hidden;background:var(--parchment-mid);border:2px solid var(--gold-line);flex-shrink:0}.avatar-picker-cell__circle--white{background:linear-gradient(180deg,#fbf2d6,#f1e6c4)}.avatar-picker-cell__circle--gold{background:linear-gradient(180deg,#e3efc6,#b9d889)}.avatar-picker-cell__circle--purple{background:linear-gradient(180deg,#f0e3f4,#d6bce0)}.avatar-picker-cell__circle--rainbow{background:linear-gradient(180deg,#fccdb0,#f4a26b)}.avatar-picker-cell__img{width:100%;height:100%;object-fit:cover;display:block}.avatar-picker-cell__name{font-size:var(--fs-xs);color:var(--parchment-dark);text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal__title:before{content:"❦ ";color:var(--wax-red);font-size:.8em;margin-right:4px}.modal__title:after{content:" ❦";color:var(--wax-red);font-size:.8em;margin-left:4px}.modal__tabs{display:flex;gap:0;position:relative;border-bottom:1px solid var(--parchment-rule)}.modal__tab{background:transparent;border:none;color:var(--parchment-ink-soft);padding:10px 18px;font-family:var(--font-display);font-size:var(--fs-sm);font-weight:600;letter-spacing:.14em;cursor:pointer;position:relative;transition:color var(--t-fast) var(--ease-default)}.modal__tab:after{content:"";position:absolute;left:18px;right:18px;bottom:-1px;height:2px;background:transparent;transition:background var(--t-fast) var(--ease-default)}.modal__tab:hover{color:var(--parchment-dark)}.modal__tab.active{color:var(--wax-red)}.modal__tab.active:after{background:var(--wax-red)}.modal__tab:disabled{opacity:.35;cursor:not-allowed}.modal__content{min-height:120px;display:flex;flex-direction:column;gap:16px;padding:8px 0}.modal__actions{display:flex;justify-content:flex-end;gap:8px}.modal--dialog{min-width:min(360px,88vw);max-width:min(440px,92vw);gap:12px}.modal__body{margin:0;text-align:center;font-size:var(--fs-sm);line-height:1.6;color:var(--parchment-ink);overflow-wrap:anywhere}.modal--dialog .modal__actions{justify-content:center;gap:12px;margin-top:4px}.form-row{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}.form-row__label{font-family:var(--font-display);font-size:var(--fs-sm);color:var(--parchment-ink);font-weight:700}.form-row__hint{font-size:var(--fs-xs);color:var(--parchment-ink-soft);font-style:italic}.resume-modal__summary{display:flex;flex-direction:column;gap:6px;padding:14px 18px;background:#46280f0d;border:1px solid var(--parchment-rule);border-radius:4px}.resume-modal__row{display:flex;justify-content:space-between;align-items:baseline;font-size:var(--fs-sm)}.resume-modal__key{color:var(--parchment-ink-soft);letter-spacing:.14em;text-transform:uppercase;font-size:var(--fs-xs)}.resume-modal__val{color:var(--parchment-dark);font-weight:600;font-family:var(--font-display)}.resume-modal__error{padding:0 4px}.field{display:flex;flex-direction:column;gap:8px}.field__label{font-size:var(--fs-xs);letter-spacing:.14em;color:var(--parchment-ink-soft);font-family:var(--font-display);font-weight:600}.field__hint{font-size:var(--fs-sm);color:var(--parchment-ink-soft);font-style:italic}.ai-tier{display:flex;flex-wrap:wrap;gap:4px}.ai-tier__btn{flex:1 1 auto;min-width:3.6em;padding:5px 6px;border-radius:4px;border:1px solid var(--parchment-rule-soft);background:#fffadc66;font-family:var(--font-display);font-size:var(--fs-sm);letter-spacing:.04em;color:var(--parchment-dark);cursor:pointer;transition:background var(--t-fast) var(--ease-default),border-color var(--t-fast) var(--ease-default),color var(--t-fast) var(--ease-default)}.ai-tier__btn:hover{border-color:var(--gold-line);background:#c8a03c26}.ai-tier__btn:focus-visible{outline:2px solid var(--gold-line);outline-offset:2px}.ai-tier__btn--on{background:linear-gradient(180deg,#c44038,#8a241c);border-color:#8a241c;color:#fbf0c8;box-shadow:0 1px #ffdcb440 inset,0 2px 4px #46280f4d}.ai-tier__btn--on:hover{background:linear-gradient(180deg,#d44840,#9a2820);border-color:#9a2820}@media(prefers-reduced-motion:reduce){.ai-tier__btn{transition:none}}.ai-team-picker{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.ai-team-picker__opt{padding:4px 12px;border-radius:20px;border:1px solid var(--parchment-rule-soft);background:#fffadc66;font-family:var(--font-display);font-size:var(--fs-sm);color:var(--parchment-dark);cursor:pointer;transition:background var(--t-fast) var(--ease-default),border-color var(--t-fast) var(--ease-default),color var(--t-fast) var(--ease-default)}.ai-team-picker__opt:hover{border-color:var(--gold-line);background:#c8a03c26}.ai-team-picker__opt--active{background:linear-gradient(180deg,#c44038,#8a241c);border-color:#8a241c;color:#fbf0c8;box-shadow:0 1px #ffdcb440 inset,0 2px 4px #46280f4d}.ai-team-picker__opt--active:hover{background:linear-gradient(180deg,#d44840,#9a2820);border-color:#9a2820}@keyframes scaleIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.gate{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:36px;padding:56px 24px}.gate__brand{align-items:center;text-align:center}.gate__brand .lobby__title{font-size:var(--fs-mega)}.gate__brand .lobby__subtitle{text-align:center}.gate__plaque{width:100%;max-width:380px;padding:32px 28px 24px;background:linear-gradient(180deg,#fbf0d2,#f3deaa);border-radius:6px;display:flex;flex-direction:column;gap:14px;position:relative;box-shadow:0 1px #fffadcd9 inset,0 -2px 6px #46280f24 inset,0 6px 16px #46280f47}.gate__plaque:before,.gate__plaque:after{content:"";position:absolute;top:10px;width:6px;height:6px;background:var(--wax-red);border-radius:50%;box-shadow:0 0 0 2px #f1e3bfe6,0 1px 1px #28080680}.gate__plaque:before{left:12px}.gate__plaque:after{right:12px}.gate__btn{width:100%;text-align:center;text-decoration:none;padding:11px 22px;font-size:var(--fs-base);letter-spacing:.14em}.gate__divider{display:flex;align-items:center;gap:10px;color:var(--parchment-ink-soft);font-family:var(--font-display);font-size:var(--fs-xs);letter-spacing:.32em;text-transform:uppercase;font-style:italic}.gate__divider:before,.gate__divider:after{content:"";flex:1;height:1px;background:var(--parchment-rule-soft)}.gate__hint{margin:4px 0 0;text-align:center;font-size:var(--fs-xs);color:var(--parchment-ink-soft);font-style:italic;letter-spacing:.04em}.gate__error{display:none;text-align:center;font-size:var(--fs-sm);color:var(--wax-red)}.gate__error--show{display:block}.gate--wide .gate__plaque{max-width:720px}.gate__intro{text-align:center;color:var(--parchment-ink);font-size:var(--fs-base);margin:0 0 6px;line-height:1.55}.gate__intro-strong{color:var(--wax-red);font-weight:700;font-family:var(--font-display);letter-spacing:.04em}.gate__cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:8px}@media(max-width:640px){.gate__cards{grid-template-columns:1fr}}.gate__card{display:flex;flex-direction:column;gap:10px;padding:18px 18px 16px;background:linear-gradient(180deg,#faecc6,#ecd5a0);border-radius:5px;box-shadow:0 1px #fffadcb3 inset,0 -2px 5px #46280f24 inset,0 2px 5px #46280f33}.gate__card-title{font-family:var(--font-display);font-size:var(--fs-md);color:var(--parchment-dark);letter-spacing:.1em;margin:0 0 2px}.gate__card-row{font-size:var(--fs-sm);color:var(--parchment-ink);display:flex;align-items:baseline;gap:6px}.gate__card-identity{display:flex;align-items:center;gap:12px;margin:4px 0 2px}.gate__card-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;border:1px solid var(--parchment-line);background:var(--parchment-mid);flex-shrink:0}.gate__card-name-block{display:flex;flex-direction:column;gap:2px;min-width:0}.gate__card-name{font-family:var(--font-display);font-size:var(--fs-md);color:var(--parchment-dark);letter-spacing:.04em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gate__card-label{color:var(--parchment-ink-soft);font-size:var(--fs-xs);letter-spacing:.16em;text-transform:uppercase;font-family:var(--font-display);font-style:italic}.gate__card-code{font-family:var(--font-num);color:var(--wax-red);letter-spacing:.14em;font-weight:700;font-size:var(--fs-sm)}.gate__card-meta{font-size:var(--fs-xs);color:var(--parchment-ink-soft);font-style:italic}.gate__card .btn{margin-top:auto;align-self:stretch;text-align:center;letter-spacing:.14em}.recent-matches{display:flex;flex-direction:column;gap:12px;margin-top:12px}.recent-matches__list{display:flex;flex-direction:column;gap:6px;padding:8px 4px}.local-match{display:flex;align-items:center;gap:14px;padding:9px 14px;border:1px solid var(--parchment-rule-soft);border-radius:var(--r-2);color:var(--parchment-ink);text-decoration:none;font-size:var(--fs-sm);transition:border-color var(--t-fast) var(--ease-default),transform var(--t-fast) var(--ease-default)}.local-match:hover{border-color:var(--parchment-rule);transform:translateY(-1px)}.local-match:focus-visible{outline:2px solid var(--wax-red-bright);outline-offset:2px}.local-match__result{flex:none;width:1.6em;text-align:center;font-weight:700}.local-match__result--win{color:var(--wax-red)}.local-match__result--loss{color:var(--parchment-ink-soft)}.local-match__team{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.local-match__tier,.local-match__turns,.local-match__when{flex:none;color:var(--parchment-ink-soft);font-family:var(--font-num);font-size:var(--fs-xs);letter-spacing:.06em}.recent-row{display:flex;align-items:center;gap:14px;padding:10px 14px;background:linear-gradient(180deg,#fff8dc8c,#e8d3a773);border:1px solid var(--parchment-rule-soft);border-radius:var(--r-2);cursor:pointer;transition:transform var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default),border-color var(--t-fast) var(--ease-default)}.recent-row:hover{border-color:var(--parchment-rule);box-shadow:0 2px 8px #46280f2e;transform:translateY(-1px)}.recent-row:focus-visible{outline:2px solid var(--wax-red-bright);outline-offset:2px}.recent-row--expired{opacity:.5;cursor:not-allowed;pointer-events:none}.recent-row__outcome{flex-shrink:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:var(--fs-md);font-weight:700;border-radius:50%;letter-spacing:.04em}.recent-row__outcome--win{background:var(--wax-red);color:#fff5d8;box-shadow:0 2px 6px #9b282059}.recent-row__outcome--loss{background:var(--parchment-mid);color:var(--parchment-dark);border:1px solid var(--parchment-rule)}.recent-row__outcome--active{background:var(--antique-gold);color:#fff5d8;font-size:var(--fs-xs);letter-spacing:.08em}.recent-row__outcome--neutral{background:var(--parchment-mid);color:var(--parchment-ink-soft);font-size:var(--fs-xs);letter-spacing:.08em}.recent-row__main{flex:1;display:flex;flex-direction:column;gap:8px;min-width:0}.recent-row__head{display:flex;flex-direction:column;gap:2px;min-width:0}.recent-row__opponent{font-family:var(--font-display);font-size:var(--fs-base);color:var(--parchment-dark);letter-spacing:.06em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-row__meta{font-size:var(--fs-xs);color:var(--parchment-ink-soft);font-family:var(--font-body);letter-spacing:.02em}.recent-row__rosters{display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%}.recent-roster{display:flex;align-items:center;gap:4px;flex:0 0 auto;min-width:0}.recent-roster--mine{justify-content:flex-end}.recent-roster--theirs{justify-content:flex-start}.recent-roster__hero{flex-shrink:0;width:28px;height:28px;border-radius:50%;overflow:hidden;border:1px solid rgba(70,40,15,.35);box-shadow:0 1px 2px #46280f2e;background:var(--parchment-mid);transition:transform var(--t-fast) var(--ease-default),border-color var(--t-fast) var(--ease-default)}.recent-roster--mine .recent-roster__hero{border-color:#9b28208c;box-shadow:0 1px 2px #9b282038}.recent-row:hover .recent-roster__hero{transform:translateY(-1px)}.recent-roster__hero--white{background:linear-gradient(180deg,#fbf2d6,#f1e6c4)}.recent-roster__hero--gold{background:linear-gradient(180deg,#e3efc6,#b9d889)}.recent-roster__hero--purple{background:linear-gradient(180deg,#f0e3f4,#d6bce0)}.recent-roster__hero--rainbow{background:linear-gradient(180deg,#fccdb0,#f4a26b)}.recent-roster__img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}.recent-roster__empty{font-size:var(--fs-xs);color:var(--parchment-ink-soft);font-style:italic;padding:0 4px}.recent-row__vs{flex-shrink:0;font-family:var(--font-display);font-size:11px;font-weight:700;letter-spacing:.12em;color:#fff5d8;background:radial-gradient(circle at 30% 30%,#c84238 0%,var(--wax-red) 55%,#7a1f1a 100%);padding:3px 8px;border-radius:999px;box-shadow:0 1px 2px #9b282073,0 0 0 1px #781e194d inset;text-shadow:0 1px 1px rgba(0,0,0,.3)}@media(max-width:720px){.recent-row__rosters{flex-direction:column;align-items:stretch;gap:6px}.recent-roster--mine,.recent-roster--theirs{justify-content:flex-start}.recent-row__vs{align-self:center}}.recent-row__chevron{flex-shrink:0;font-family:var(--font-display);font-size:20px;color:var(--parchment-rule);transition:transform var(--t-fast) var(--ease-default),color var(--t-fast) var(--ease-default)}.recent-row:hover .recent-row__chevron{color:var(--wax-red);transform:translate(2px)}.recent-row__expired-tag{flex-shrink:0;font-size:var(--fs-xs);color:var(--parchment-ink-soft);font-family:var(--font-body);letter-spacing:.04em;font-style:italic}.challenge-invite__host{display:flex;align-items:center;gap:10px;margin:12px 0 8px;font-size:var(--fs-sm);color:var(--parchment-dark)}.challenge-invite__avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;border:1px solid var(--parchment-rule)}.challenge-invite__host-name{font-weight:600;font-family:var(--font-display)}.challenge-invite__vs{color:var(--parchment-ink-soft);font-size:var(--fs-xs)}.challenge-invite__countdown{text-align:center;font-family:var(--font-display);font-size:28px;color:var(--wax-red);margin:4px 0 8px;letter-spacing:.04em}.challenge-invite__team-select{width:100%;margin-top:4px}.online-players{display:flex;flex-direction:column;gap:6px;max-height:min(46vh,340px);overflow-y:auto}.online-players__empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 8px;text-align:center;font-size:var(--fs-sm);color:var(--parchment-ink-soft)}.online-players__empty-title{font-family:var(--font-display);font-size:var(--fs-md);color:var(--parchment-ink)}.online-player{display:flex;align-items:center;gap:10px;width:100%;padding:6px 10px;border:1px solid var(--parchment-rule-soft);border-radius:6px;background:#fffadc66;color:var(--parchment-ink);text-align:left;cursor:pointer;transition:background var(--t-fast) var(--ease-default),border-color var(--t-fast) var(--ease-default)}.online-player:hover:not(:disabled){border-color:var(--gold-line);background:#c8a03c26}.online-player--selected,.online-player--selected:hover:not(:disabled){border-color:#8a241c;background:#c4403824;box-shadow:0 0 0 1px #8a241c inset}.online-player:disabled{cursor:default;opacity:.6}.online-player__select{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:4px 0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.online-player__select:disabled{opacity:.6;cursor:default}.online-player__avatar{flex:none;width:36px;height:36px;border-radius:50%;object-fit:cover;box-shadow:0 1px 2px #46280f59}.online-player__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.online-player__name{font-family:var(--font-display);font-size:var(--fs-sm);font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.online-player__history{font-size:var(--fs-xs);color:var(--parchment-ink-soft)}.online-player__status{flex:none;padding:2px 8px;border-radius:10px;font-size:var(--fs-xs);background:#3f9d5c29;color:#2d6e41}.online-player__status--in_match,.online-player__status--challenging{background:#6e4b2824;color:var(--parchment-ink-soft)}.challenge-wait{text-align:center;padding:8px 0}.challenge-wait__label{font-size:var(--fs-sm);color:var(--parchment-ink-soft);margin-bottom:8px}.challenge-wait__countdown{font-family:var(--font-display);font-size:32px;color:var(--wax-red);letter-spacing:.04em}@media(max-width:760px){.lobby{height:100dvh;overflow-x:hidden}.lobby__inner{grid-template-columns:minmax(0,1fr);padding:20px 14px 24px;gap:22px;min-height:100dvh}.lobby__header{flex-direction:column;align-items:stretch;gap:14px;padding-bottom:16px}.lobby__title{font-size:38px}.lobby__subtitle{letter-spacing:.2em;font-size:var(--fs-xs)}.lobby__id{min-width:0;padding:10px 14px;gap:4px 12px}.lobby__avatar{width:44px;height:44px}.lobby__id-name-row,.lobby__id-auth-row{flex-wrap:wrap;gap:6px}.lobby__id-name{font-size:var(--fs-base);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lobby__teams-head{gap:10px}.team-list{grid-template-columns:1fr;gap:16px}.team-card{padding:14px 14px 16px;gap:12px}.team-card:nth-child(odd){transform:rotate(-.3deg)}.team-card:nth-child(2n){transform:rotate(.25deg)}.team-card__roster{gap:8px}.team-card__delete{width:44px;height:44px;font-size:26px;margin:-10px -10px -10px 0}.team-card__actions{gap:10px}.lobby__empty{padding:40px 18px}.lobby__decor{padding:20px 0 8px;gap:14px}.lobby__decor-cask{width:48px}.lobby__decor:before,.lobby__decor:after{display:none}.lobby__decor-line1{font-size:var(--fs-sm);letter-spacing:.18em}.lobby__decor-line2{font-size:var(--fs-xs)}.btn{min-height:44px}.btn--small{min-height:40px}.lobby__subtitle-link{padding:10px 6px;margin:-10px -6px}.modal-backdrop{align-items:flex-end}.modal{min-width:0;width:100%;max-width:100%;max-height:92dvh;overflow-y:auto;padding:20px 16px 24px;border-radius:12px 12px 0 0}.modal--wide{min-width:0;max-width:100%}.modal__title{font-size:var(--fs-md);letter-spacing:.12em}.modal__tabs{gap:4px}.modal__tab{padding:10px;font-size:var(--fs-sm)}.modal__actions{gap:10px}.modal__actions .btn{flex:1}.ai-tier{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.ai-tier__btn{min-width:0;padding:9px 2px;font-size:12px;letter-spacing:0;white-space:nowrap}.ai-team-picker{max-height:30dvh;overflow-y:auto}.gate{padding:24px 14px}.gate__plaque{padding:24px 18px}.gate__brand .lobby__title{font-size:34px}.editor{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);height:100dvh}.editor__sidebar{grid-row:1;padding:10px 14px 0;gap:8px;max-height:46dvh;box-shadow:0 6px 16px #46280f33}.editor__sidebar .field{gap:4px}.editor__sidebar .field__label{font-size:var(--fs-xs)}.editor__sidebar .input{padding:8px 12px}.editor__roster-head{margin-bottom:6px}.editor__pool{grid-row:2;padding:14px 14px 28px}.editor__pool h2{margin:0 0 14px;font-size:var(--fs-lg)}.editor__filter{margin-left:0;width:100%;gap:6px}.editor__filter button{padding:8px 12px}.editor__grid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}.hero-tile__name{font-size:10px;padding:3px 2px}.editor__slots{grid-template-columns:repeat(8,1fr);gap:5px}.editor__name-input{min-height:40px}.editor__slots-hint{margin-top:6px;font-size:var(--fs-xs)}.editor__detail{position:fixed;left:0;right:0;bottom:0;z-index:30;max-height:34dvh;overflow-y:auto;padding:12px 14px calc(12px + env(safe-area-inset-bottom));min-height:0;border-radius:10px 10px 0 0;box-shadow:0 1px #fffadcd9 inset,0 -8px 20px #46280f47}.editor:not(.editor--detail) .editor__detail{display:none}.editor--detail .editor__pool{padding-bottom:36dvh}.editor__detail-desc{font-size:var(--fs-sm)}.editor__actions{position:sticky;bottom:0;margin:0 -14px;padding:10px 14px;background:#f1e3bf;box-shadow:0 -1px #46280f1f}.editor__actions .btn{flex:1}}@media(max-width:380px){.lobby__title{font-size:32px}.editor__grid{grid-template-columns:repeat(auto-fill,minmax(68px,1fr))}.editor__slots{gap:4px}}:where(body.tb-has-match-scene){--bg-base: #1a1816;--bg-deeper: #0e0c0a;--bg-panel: #211e1a;--bg-elevated: #2c2622;--bg-overlay: rgba(14, 12, 10, .92);--bg-glass: rgba(33, 30, 26, .86);--gold-line: #c9a04f;--gold-bright: #f0c878;--gold-soft: #7a6438;--gold-deep: #3a2f18;--gold-glow: rgba(201, 160, 79, .4);--gold-glow-strong: rgba(240, 200, 120, .6);--side-red: #d05050;--side-red-bright: #ff7e6e;--side-red-soft: rgba(208, 80, 80, .18);--side-red-glow: rgba(208, 80, 80, .5);--side-red-deep: #5a1f1c;--side-blue: #6088c0;--side-blue-bright: #82a8e0;--side-blue-soft: rgba(96, 136, 192, .18);--side-blue-glow: rgba(96, 136, 192, .5);--side-blue-deep: #1f3458;--highlight: #6dd4c4;--highlight-soft: rgba(109, 212, 196, .12);--highlight-glow: rgba(109, 212, 196, .5);--danger: #e0584a;--success: #6dc488;--view-only-line: rgba(108, 140, 178, .9);--view-only-text: #a9bed6;--view-only-wash: rgba(38, 58, 84, .4);--text-primary: #ede0c8;--text-secondary: #b8a888;--text-muted: #8a7d68;--text-dim: #5a5246;--font-display: "Cinzel", "EB Garamond", "LXGW WenKai Screen", "LXGW WenKai", Georgia, serif;--font-body: "EB Garamond", "LXGW WenKai Screen", "LXGW WenKai", Georgia, "Source Han Serif SC", serif;--font-num: "JetBrains Mono", ui-monospace, "SF Mono", monospace;--fs-xs: 11px;--fs-sm: 13px;--fs-base: 15px;--fs-md: 18px;--fs-lg: 22px;--fs-xl: 32px;--fs-display: 56px;--fs-mega: 72px;--sp-1: 4px;--sp-2: 8px;--sp-3: 12px;--sp-4: 16px;--sp-5: 24px;--sp-6: 32px;--sp-8: 48px;--r-1: 2px;--r-2: 4px;--r-3: 8px;--shadow-card: 0 1px 0 rgba(255, 240, 200, .05) inset, 0 0 0 1px rgba(0, 0, 0, .5), 0 4px 12px rgba(0, 0, 0, .7);--shadow-card-hover: 0 1px 0 rgba(255, 240, 200, .1) inset, 0 0 0 1px var(--gold-glow), 0 6px 20px rgba(0, 0, 0, .8);--shadow-panel: 0 0 0 1px rgba(0, 0, 0, .5), 0 4px 16px rgba(0, 0, 0, .6);--shadow-button: 0 1px 0 rgba(255, 240, 200, .1) inset, 0 2px 6px rgba(0, 0, 0, .6);--shadow-deep: 0 8px 24px rgba(0, 0, 0, .8), 0 2px 4px rgba(0, 0, 0, .6);--hex-stroke: #6a583a;--hex-stroke-bright: #c9a04f;--hex-fill: rgba(50, 42, 32, .55);--hex-fill-hover: rgba(74, 60, 42, .7);--parchment-base: #efdfb6;--parchment-mid: #e6d09a;--parchment-deep: #c8a868;--parchment-dark: #2c1d10;--parchment-ink: #4a3220;--parchment-ink-soft: #7a5a3a;--parchment-stain: rgba(120, 70, 30, .18);--parchment-rule: #8a6438;--parchment-rule-soft: rgba(110, 75, 40, .4);--wax-red: #9b2820;--wax-red-bright: #c8413a;--antique-gold: #b88830;--antique-gold-deep: #6e4e1e;--ease-default: cubic-bezier(.2, .8, .2, 1);--ease-out: cubic-bezier(.33, 1, .68, 1);--t-instant: 80ms;--t-fast: .12s;--t-base: .2s;--t-slow: .4s}:where(body.tb-has-match-scene) *,:where(body.tb-has-match-scene) *:before,:where(body.tb-has-match-scene) *:after{box-sizing:border-box}html.tb-has-match-scene,:where(body.tb-has-match-scene),:where(body.tb-has-match-scene) #app{margin:0;padding:0;height:100%}html.tb-has-match-scene{background:#f1e3bf;overflow:hidden}:where(body.tb-has-match-scene){background:#f1e3bf;color:var(--text-primary);font-family:var(--font-body);font-size:var(--fs-base);line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:auto;-webkit-user-select:none;user-select:none;overflow:hidden;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}:where(body.tb-has-match-scene) a{color:var(--gold-line);text-decoration:none;transition:color var(--t-fast) var(--ease-default)}:where(body.tb-has-match-scene) a:hover{color:var(--gold-bright)}:where(body.tb-has-match-scene) button{font-family:inherit;font-size:inherit;cursor:pointer;touch-action:manipulation}:where(body.tb-has-match-scene) img{user-drag:none;-webkit-user-drag:none}@media(prefers-reduced-motion:reduce){:where(body.tb-has-match-scene) *,:where(body.tb-has-match-scene) *:before,:where(body.tb-has-match-scene) *:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}@keyframes tb3d-shake{0%,to{transform:translate(0)}20%{transform:translate(-3px,1px)}40%{transform:translate(3px,-1px)}60%{transform:translate(-2px,2px)}80%{transform:translate(2px,-1px)}}@keyframes tb3d-damageFloat{0%{transform:translate(-50%) scale(1);opacity:1}20%{transform:translate(-50%,-10px) scale(1.5);opacity:1}to{transform:translate(-50%,-50px) scale(1.2);opacity:0}}@keyframes tb3d-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes tb3d-noticeIn{0%{opacity:0;transform:scale(.92);letter-spacing:.4em}to{opacity:1;transform:scale(1);letter-spacing:.16em}}:where(body.tb-has-match-scene) .fade-in{animation:tb3d-fadeIn var(--t-base) var(--ease-default)}:where(body.tb-has-match-scene){--tut-h: 128px}@media(max-width:860px){:where(body.tb-has-match-scene){--tut-h: 152px}}:where(body.tb-has-match-scene) .match-scene{display:grid;grid-template-columns:240px 1fr 240px;grid-template-rows:64px 1fr;gap:16px;padding:calc(16px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));height:100vh;color:var(--parchment-dark);background:radial-gradient(ellipse at 50% 50%,transparent 35%,rgba(70,40,15,.18) 100%),radial-gradient(ellipse at 8% 12%,rgba(110,70,30,.18) 0%,transparent 28%),radial-gradient(ellipse at 92% 88%,rgba(110,70,30,.18) 0%,transparent 28%),linear-gradient(#fffaeb99,#fffaeb99),url(/img/parchment_tile.webp) repeat,#f1e3bf;background-size:auto,auto,auto,auto,920px 920px,auto;background-attachment:fixed;position:relative}:where(body.tb-has-match-scene) .match-banner{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto 1fr;gap:0 12px;align-items:center;padding:0 16px;background:linear-gradient(180deg,#fbf2d6,#f4e3b4);border:none;border-radius:6px;box-shadow:0 1px #fffadcd9 inset,0 -2px 6px #46280f1a inset,0 3px 6px #46280f2e;position:relative}:where(body.tb-has-match-scene) .match-banner:after{content:"";position:absolute;bottom:-1px;left:50%;transform:translate(-50%);width:320px;height:1px;background:linear-gradient(to right,transparent,var(--parchment-rule),transparent)}:where(body.tb-has-match-scene) .match-banner__deathcount{font-family:var(--font-num);font-size:var(--fs-sm);letter-spacing:.06em;font-weight:600}:where(body.tb-has-match-scene) .match-banner__deathcount--red{color:var(--side-red);justify-self:start}:where(body.tb-has-match-scene) .match-banner__deathcount--blue{color:var(--side-blue);justify-self:end}:where(body.tb-has-match-scene) .match-banner__center{display:flex;align-items:baseline;gap:12px;font-family:var(--font-display)}:where(body.tb-has-match-scene) .match-banner__thinking-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--gold-bright);opacity:.3;animation:tb3d-thinking-dot 1.2s ease-in-out infinite}:where(body.tb-has-match-scene) .match-banner__thinking-dot:nth-child(2){animation-delay:.2s}:where(body.tb-has-match-scene) .match-banner__thinking-dot:nth-child(3){animation-delay:.4s}@keyframes tb3d-thinking-dot{0%,60%,to{opacity:.25;transform:scale(.85)}30%{opacity:1;transform:scale(1.15)}}@keyframes tb3d-relay-card-pulse{0%,to{box-shadow:0 0 0 1px var(--wax-red),0 0 10px #9b282066,0 2px 4px #46280f33}50%{box-shadow:0 0 0 2px var(--wax-red),0 0 18px #9b282099,0 2px 4px #46280f33}}:where(body.tb-has-match-scene) .hero-card--relay-pulse{animation:tb3d-relay-card-pulse 1.4s ease-in-out infinite}:where(body.tb-has-match-scene) .match-scene .match-banner{grid-row:1;grid-column:1 / -1}:where(body.tb-has-match-scene) .match-scene .pool--blue{grid-row:2;grid-column:1}:where(body.tb-has-match-scene) .match-scene .board-area{grid-row:2;grid-column:2}:where(body.tb-has-match-scene) .match-scene .pool--red{grid-row:2;grid-column:3}:where(body.tb-has-match-scene) .match-scene--my-blue .pool--red{grid-row:2;grid-column:1}:where(body.tb-has-match-scene) .match-scene--my-blue .board-area{grid-row:2;grid-column:2}:where(body.tb-has-match-scene) .match-scene--my-blue .pool--blue{grid-row:2;grid-column:3}:where(body.tb-has-match-scene) .match-scene--solo-pool,:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool{grid-template-columns:1fr 240px}:where(body.tb-has-match-scene) .match-scene--solo-pool .board-area{grid-column:1}:where(body.tb-has-match-scene) .match-scene--solo-pool .pool--red,:where(body.tb-has-match-scene) .match-scene--solo-pool .pool--blue{grid-column:2}:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool .board-area{grid-column:1}:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool .pool--blue,:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool .pool--red{grid-column:2}:where(body.tb-has-match-scene) .match-scene--no-pool{grid-template-columns:1fr}:where(body.tb-has-match-scene) .match-scene--no-pool .board-area{grid-column:1}:where(body.tb-has-match-scene) .pool{background:linear-gradient(180deg,#fbf2d6,#f0dcb0);border:none;border-radius:6px;padding:14px 12px;display:flex;flex-direction:column;gap:12px;min-width:0;overflow-y:auto;box-shadow:0 1px #fffadcd9 inset,0 -2px 6px #46280f1a inset,0 3px 6px #46280f2e}:where(body.tb-has-match-scene) .pool{position:relative}:where(body.tb-has-match-scene) .pool__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}:where(body.tb-has-match-scene) .match-scene--solo-pool .pool--collapsed{opacity:0;overflow:hidden;pointer-events:none}:where(body.tb-has-match-scene) .match-scene--solo-pool .pool{transition:opacity .16s var(--ease-default)}:where(body.tb-has-match-scene) .match-scene--solo-pool:not(.match-scene--pool-open) .board-area{grid-column:1}@media(min-width:861px){:where(body.tb-has-match-scene) .match-scene{transition:grid-template-columns .22s var(--ease-default),column-gap .22s var(--ease-default)}:where(body.tb-has-match-scene) .match-scene--solo-pool:not(.match-scene--pool-open),:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool:not(.match-scene--pool-open){grid-template-columns:minmax(0,1fr) 0px;column-gap:0}:where(body.tb-has-match-scene) .match-scene--solo-pool .pool--collapsed{padding-left:0;padding-right:0}:where(body.tb-has-match-scene) .match-scene--solo-pool .pool{transition:opacity .16s var(--ease-default),padding .22s var(--ease-default)}}:where(body.tb-has-match-scene) .hero-card{touch-action:pan-y;position:relative;aspect-ratio:3/4;border-radius:5px;background:linear-gradient(180deg,#fbf2d6,#ead29a);overflow:hidden;cursor:pointer;transition:transform var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default);box-shadow:0 1px #fffadcd9 inset,0 -2px 5px #46280f1a inset,0 2px 4px #46280f2e}:where(body.tb-has-match-scene) .hero-card:after{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--parchment-rule);pointer-events:none;z-index:3}:where(body.tb-has-match-scene) .pool--display-red .hero-card:after{background:#ff4a3a;box-shadow:0 0 5px #ff503c8c}:where(body.tb-has-match-scene) .pool--display-blue .hero-card:after{background:#6dafff;box-shadow:0 0 5px #6eafff8c}:where(body.tb-has-match-scene) .hero-card:hover{transform:translateY(-2px);box-shadow:0 1px #fffadce6 inset,0 -2px 5px #46280f1a inset,0 4px 10px #9b282040}:where(body.tb-has-match-scene) .hero-card--selected{background:var(--card-bg, linear-gradient(180deg, #fcd6cc 0%, #f0a89c 100%));box-shadow:0 1px #fffadcf2 inset,0 0 0 2px var(--card-strip, #ff4a3a),0 0 14px var(--card-glow, rgba(255, 80, 60, .7)),0 4px 10px #46280f59}:where(body.tb-has-match-scene) .pool--display-red .hero-card--selected{--card-bg: linear-gradient(180deg, #fcd6cc 0%, #ead29a 100%);--card-strip: #ff4a3a;--card-glow: rgba(255, 80, 60, .7)}:where(body.tb-has-match-scene) .pool--display-blue .hero-card--selected{--card-bg: linear-gradient(180deg, #d6e8fc 0%, #ead29a 100%);--card-strip: #6dafff;--card-glow: rgba(110, 175, 255, .7)}:where(body.tb-has-match-scene) .hero-card--selected:after{width:5px;filter:brightness(1.3)}:where(body.tb-has-match-scene) .hero-card--out{filter:grayscale(.85) brightness(.85);cursor:default;opacity:.7}:where(body.tb-has-match-scene) .hero-card--out:after{background:var(--parchment-ink-soft);box-shadow:none}:where(body.tb-has-match-scene) .hero-card--dead{filter:none;opacity:1}:where(body.tb-has-match-scene) .hero-card--dead .hero-card__img,:where(body.tb-has-match-scene) .hero-card--dead .hero-card__stats{filter:grayscale(1) brightness(.5);opacity:.6}:where(body.tb-has-match-scene) .hero-card__tombstone{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:6;background:radial-gradient(ellipse at center,#0f0803c7,#0f08038c 60%,#0f080352)}:where(body.tb-has-match-scene) .hero-card__tombstone-img{width:88%;height:auto;filter:brightness(1.18) saturate(1.15) drop-shadow(0 3px 8px rgba(0,0,0,.7)) drop-shadow(0 0 16px rgba(140,220,160,.55))}:where(body.tb-has-match-scene) .hero-card__img{width:100%;height:100%;object-fit:cover;display:block;filter:contrast(1.02) saturate(.92)}:where(body.tb-has-match-scene) .hero-card__img--head{display:none}:where(body.tb-has-match-scene) .hero-card__stats{position:absolute;bottom:0;left:0;right:0;padding:10px 0 0;display:flex;justify-content:space-between;align-items:flex-end;background:linear-gradient(to top,rgba(232,210,165,.95) 30%,transparent);pointer-events:none;z-index:4}:where(body.tb-has-match-scene) .hero-card__stat{font-family:var(--font-num);font-weight:800;display:grid;place-items:center;position:relative;width:36px;height:36px;gap:0;text-shadow:none}:where(body.tb-has-match-scene) .hero-card__stat-icon{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;transform:scale(1.25);filter:drop-shadow(0 0 1px rgba(30,16,4,.95)) drop-shadow(0 0 2px rgba(30,16,4,.75)) drop-shadow(0 1px 2px rgba(30,16,4,.6))}:where(body.tb-has-match-scene) .hero-card__stat-val{position:relative;z-index:1;font-size:17px;font-weight:800;line-height:1;color:#fff;text-shadow:-1px -1px 0 #3a1e08,0 -1px 0 #3a1e08,1px -1px 0 #3a1e08,-1px 0 0 #3a1e08,1px 0 0 #3a1e08,-1px 1px 0 #3a1e08,0 1px 0 #3a1e08,1px 1px 0 #3a1e08}:where(body.tb-has-match-scene) .board svg{touch-action:none}:where(body.tb-has-match-scene) .drag-ghost{position:fixed;top:0;left:0;width:48px;height:48px;object-fit:contain;pointer-events:none;z-index:80;opacity:0;display:none;filter:drop-shadow(0 3px 6px rgba(30,16,4,.55))}:where(body.tb-has-match-scene) .drag-ghost--on{display:block;opacity:.92}@media(max-width:860px){:where(body.tb-has-match-scene) .drag-ghost{width:40px;height:40px}}:where(body.tb-has-match-scene) .pool__recycle{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:12px;text-align:center;cursor:pointer;border-radius:6px;background:radial-gradient(ellipse at 50% 0%,#fffaebe6,#fffaeb00 70%),linear-gradient(180deg,#f7ecd2,#ecd8ae);box-shadow:inset 0 0 0 2px #9b282047,inset 0 2px 10px #46280f38,inset 0 -1px #fffcf0b3;font-family:var(--font-display);color:var(--wax-red);transition:background var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default)}:where(body.tb-has-match-scene) .pool__recycle:before{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;border:1px dashed rgba(155,40,32,.45);border-radius:4px;pointer-events:none;transition:border-color var(--t-fast) var(--ease-default),inset var(--t-fast) var(--ease-default)}:where(body.tb-has-match-scene) .pool--armed{overflow:hidden}:where(body.tb-has-match-scene) .pool__recycle:hover,:where(body.tb-has-match-scene) .pool__recycle--hot{background:radial-gradient(ellipse at 50% 0%,#fff6e8f2,#fff0e100 70%),linear-gradient(180deg,#fbe4d5,#edbfae);box-shadow:inset 0 0 0 2px var(--wax-red),inset 0 2px 12px #78221833,0 0 0 3px #9b28202e}:where(body.tb-has-match-scene) .pool__recycle:hover:before,:where(body.tb-has-match-scene) .pool__recycle--hot:before{border-color:#9b2820bf}:where(body.tb-has-match-scene) .pool__recycle-figure{position:relative;flex:0 0 auto;width:72px;height:72px;transition:transform var(--t-fast) var(--ease-default)}:where(body.tb-has-match-scene) .pool__recycle-head{width:100%;height:100%;border-radius:50%;object-fit:cover;background:linear-gradient(180deg,#f3e3bd,#dcc394);box-shadow:0 0 0 3px #9b2820bf,0 0 0 5px #fff8e6d9,0 3px 8px #46280f66;filter:saturate(.95)}:where(body.tb-has-match-scene) .pool__recycle-sigil{position:absolute;right:-6px;bottom:-4px;width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(70,40,15,.5))}:where(body.tb-has-match-scene) .pool__recycle:hover .pool__recycle-figure,:where(body.tb-has-match-scene) .pool__recycle--hot .pool__recycle-figure{transform:scale(1.06)}:where(body.tb-has-match-scene) .pool__recycle-text{display:flex;flex-direction:column;min-width:0}:where(body.tb-has-match-scene) .pool__recycle-label{font-size:var(--fs-sm);letter-spacing:.06em;font-weight:700}:where(body.tb-has-match-scene) .pool__recycle-hint{font-size:var(--fs-xs);color:var(--parchment-ink-soft);letter-spacing:.04em;margin-top:3px}:where(body.tb-has-match-scene) .pool__recycle-cost{align-self:center;margin-top:5px;padding:1px 8px;border-radius:999px;font-size:var(--fs-xs);letter-spacing:.08em;color:#fdf1d8;background:linear-gradient(180deg,#a83a2e,#8a2118);box-shadow:0 1px #ffecc859 inset,0 1px 3px #46280f66}@keyframes tb3d-tb-pending-breathe{0%,to{opacity:.5}50%{opacity:.78}}:where(body.tb-has-match-scene) .hero-card--pending{cursor:default;pointer-events:none;animation:tb3d-tb-pending-breathe 1.1s var(--ease-default) infinite;filter:grayscale(.55) brightness(.96)}:where(body.tb-has-match-scene) .hud__action--pending,:where(body.tb-has-match-scene) .board-hero--landing{animation:tb3d-tb-pending-breathe 1.1s var(--ease-default) infinite}:where(body.tb-has-match-scene) .board-fx,:where(body.tb-has-match-scene) .board-badges,:where(body.tb-has-match-scene) .board-hint{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}:where(body.tb-has-match-scene) .board-fx{z-index:3}:where(body.tb-has-match-scene) .board-badges{z-index:4}:where(body.tb-has-match-scene) .board-hint{z-index:5}:where(body.tb-has-match-scene) .hint-arrow__halo,:where(body.tb-has-match-scene) .hint-ring__halo{fill:none;stroke:#0000008c;stroke-width:11;stroke-linecap:round}:where(body.tb-has-match-scene) .hint-arrow__line,:where(body.tb-has-match-scene) .hint-ring__line{fill:none;stroke:var(--hint-color);stroke-width:5;stroke-linecap:round;stroke-dasharray:14 10;animation:tb3d-tb-hint-crawl .9s linear infinite}:where(body.tb-has-match-scene) .hint-arrow__head{fill:var(--hint-color);stroke:#0000008c;stroke-width:3;stroke-linejoin:round}:where(body.tb-has-match-scene) .hint-arrow--move{--hint-color: #9be15d}:where(body.tb-has-match-scene) .hint-arrow--attack{--hint-color: #ff6b5a}:where(body.tb-has-match-scene) .hint-ring--withdraw{--hint-color: #ffd166}:where(body.tb-has-match-scene) .hint-ring--deploy{--hint-color: #9be15d}@keyframes tb3d-tb-hint-crawl{to{stroke-dashoffset:-24}}@media(prefers-reduced-motion:reduce){:where(body.tb-has-match-scene) .hint-arrow__line,:where(body.tb-has-match-scene) .hint-ring__line{animation:none}}:where(body.tb-has-match-scene) .hero-fx{pointer-events:none}:where(body.tb-has-match-scene) .hero-fx>*{transform-box:fill-box;transform-origin:center}:where(body.tb-has-match-scene) .hero-fx__bubble{fill:#6ec83c;stroke:#e8ffc8e6;stroke-width:.6;filter:drop-shadow(0 0 2px rgba(120,220,70,.9));animation:tb3d-fx-bubble 1.5s ease-out infinite;transform-origin:center bottom}@keyframes tb3d-fx-bubble{0%{transform:translateY(0) scale(.5);opacity:0}20%{opacity:.95}to{transform:translateY(var(--fx-rise, -30px)) scale(1.2);opacity:0}}:where(body.tb-has-match-scene) .hero-fx__gash{filter:drop-shadow(0 0 2px rgba(178,22,12,.95));animation:tb3d-fx-gash 2.4s ease-in-out infinite}:where(body.tb-has-match-scene) .hero-fx__gash-cut{fill:#440705;stroke:none}:where(body.tb-has-match-scene) .hero-fx__gash-lip{fill:none;stroke:#ff987cc7;stroke-width:1.1;stroke-linecap:round}@keyframes tb3d-fx-gash{0%,to{opacity:.74;transform:scale(.93)}50%{opacity:1;transform:scale(1.07)}}:where(body.tb-has-match-scene) .hero-fx__drip{fill:#9e1a13;filter:drop-shadow(0 0 2px rgba(160,20,12,.8));transform-origin:50% 0;animation:tb3d-fx-drip 2.6s ease-in infinite}@keyframes tb3d-fx-drip{0%,35%{transform:translateY(0) scale(.85,.55);opacity:0}45%{opacity:.95}to{transform:translateY(var(--fx-fall, 30px)) scale(.8,1.25);opacity:0}}:where(body.tb-has-match-scene) .hero-fx__frost{fill:#c8f4ffb8;stroke:#ffffffe6;stroke-width:1.6;opacity:.88}:where(body.tb-has-match-scene) .hero-fx__glint{fill:#ffffffbf;transform:skew(-18deg);animation:tb3d-fx-glint 2.9s ease-in-out infinite}@keyframes tb3d-fx-glint{0%,70%{opacity:0;transform:skew(-18deg) translate(0)}78%{opacity:.85}to{opacity:0;transform:skew(-18deg) translate(var(--fx-sweep, 140px))}}:where(body.tb-has-match-scene) .hero-fx__rune{fill:none;stroke:#b083e8;stroke-width:3;stroke-dasharray:7 7;filter:drop-shadow(0 0 2px rgba(150,90,220,.9));animation:tb3d-fx-rune 3.4s linear infinite}@keyframes tb3d-fx-rune{0%{transform:rotate(0) scale(1);opacity:.55}50%{transform:rotate(180deg) scale(.86);opacity:.95}to{transform:rotate(360deg) scale(1);opacity:.55}}:where(body.tb-has-match-scene) .hero-fx__star-plane{transform-box:fill-box;transform-origin:center;animation:tb3d-fx-star-plane 1.9s ease-in-out infinite}@keyframes tb3d-fx-star-plane{0%{transform:scale(.72,.42);opacity:.5}25%{transform:scale(.95,.72);opacity:.8}50%{transform:scaleX(1.15);opacity:1}75%{transform:scale(.95,.72);opacity:.8}to{transform:scale(.72,.42);opacity:.5}}:where(body.tb-has-match-scene) .hero-fx__star{fill:#ffd75e;filter:drop-shadow(0 0 2px rgba(255,190,40,.95));transform-box:fill-box;transform-origin:center;animation:tb3d-fx-star-spin 2.7s linear infinite}@keyframes tb3d-fx-star-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:where(body.tb-has-match-scene) .hero-fx__drain{filter:grayscale(1) brightness(1.25) contrast(.85);animation:tb3d-fx-drain 2.6s ease-in infinite}@keyframes tb3d-fx-drain{0%{transform:translateY(0);opacity:0}25%{opacity:.5}to{transform:translateY(var(--fx-fall, 28px));opacity:0}}:where(body.tb-has-match-scene) .hero-fx__mote{fill:#9c8d72;animation:tb3d-fx-mote 2.2s linear infinite}@keyframes tb3d-fx-mote{0%{transform:translateY(0);opacity:0}20%{opacity:.7}to{transform:translateY(var(--fx-fall, 28px));opacity:0}}:where(body.tb-has-match-scene) .hero-fx__holy-core{mix-blend-mode:screen;animation:tb3d-fx-holy-bubble 3s ease-in-out infinite}@keyframes tb3d-fx-holy-bubble{0%,to{opacity:.62;transform:scale(.97)}50%{opacity:.95;transform:scale(1.04)}}:where(body.tb-has-match-scene) .hero-fx__ember{fill:#ff9b3d;filter:drop-shadow(0 0 3px rgba(255,110,40,.95));animation:tb3d-fx-ember 1.6s ease-out infinite}@keyframes tb3d-fx-ember{0%{transform:translateY(0) scale(.7);opacity:0}25%{opacity:1}to{transform:translateY(var(--fx-rise, -30px)) scale(.35);opacity:0}}:where(body.tb-has-match-scene) .board-hero__svg-img{transform-box:fill-box;transform-origin:center bottom}:where(body.tb-has-match-scene) .board-hero--st-poison .board-hero__svg-img{filter:saturate(.85) hue-rotate(40deg)}:where(body.tb-has-match-scene) .board-hero--st-wound .board-hero__svg-img{filter:brightness(.88) contrast(1.12) saturate(1.15)}:where(body.tb-has-match-scene) .board-hero--st-freeze .board-hero__svg-img{filter:saturate(.55) brightness(1.08) hue-rotate(-14deg)}:where(body.tb-has-match-scene) .board-hero--st-silence .board-hero__svg-img{filter:saturate(.45) brightness(.78)}:where(body.tb-has-match-scene) .board-hero--st-stun .board-hero__svg-img{filter:brightness(1.14) saturate(.8)}:where(body.tb-has-match-scene) .board-hero--st-weak .board-hero__svg-img{filter:saturate(.2) brightness(1.14) contrast(.82)}:where(body.tb-has-match-scene) .load-veil{position:fixed;top:0;right:0;bottom:0;left:0;z-index:95;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:radial-gradient(ellipse at 50% 45%,#fffaebbf,#fffaeb00 65%),linear-gradient(180deg,#f4e7c6,#e6d1a4);font-family:var(--font-display);color:var(--parchment-ink);letter-spacing:.08em;transition:opacity .36s var(--ease-default)}:where(body.tb-has-match-scene) .load-veil--gone{opacity:0;pointer-events:none}:where(body.tb-has-match-scene) .load-veil__mark{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(70,40,15,.35));animation:tb3d-load-veil-roll 2.4s var(--ease-default) infinite}@keyframes tb3d-load-veil-roll{0%,to{transform:rotate(-7deg) translateY(0)}50%{transform:rotate(7deg) translateY(-4px)}}:where(body.tb-has-match-scene) .load-veil__label{font-size:var(--fs-sm);color:var(--parchment-ink-soft)}:where(body.tb-has-match-scene) .load-veil__bar{width:min(220px,54vw);height:6px;border-radius:999px;background:#7856222e;box-shadow:inset 0 1px 3px #46280f47;overflow:hidden}:where(body.tb-has-match-scene) .load-veil__bar-fill{width:0;height:100%;border-radius:999px;background:linear-gradient(90deg,#b8452f,#8a2118);transition:width .2s var(--ease-default)}@media(max-width:860px){:where(body.tb-has-match-scene) .load-veil__mark{width:64px;height:64px}}:where(body.tb-has-match-scene) .board-area{position:relative;display:flex;align-items:stretch;justify-content:center;min-width:0;min-height:0}:where(body.tb-has-match-scene) .board-area>.board{flex:1}:where(body.tb-has-match-scene) .board__overlay{position:absolute;top:12px;right:12px;z-index:6;display:flex;align-items:center;gap:8px;pointer-events:none}:where(body.tb-has-match-scene) .board__overlay>*{pointer-events:auto}:where(body.tb-has-match-scene) .board{display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:6px;position:relative;overflow:hidden}:where(body.tb-has-match-scene) .board:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at center,transparent 55%,rgba(120,70,30,.16) 100%);pointer-events:none;z-index:1}:where(body.tb-has-match-scene) .board svg{width:auto;height:100%;max-width:100%;max-height:100%;position:relative;z-index:2}:where(body.tb-has-match-scene) .hex{fill:#f7ead08c;stroke:var(--parchment-rule);stroke-width:1.5;transition:fill var(--t-fast) var(--ease-default),stroke var(--t-fast) var(--ease-default),stroke-width var(--t-fast) var(--ease-default);cursor:pointer}:where(body.tb-has-match-scene) .hex:hover{fill:#fffadcbf;stroke:var(--parchment-ink-soft)}:where(body.tb-has-match-scene) .hex--occ-red{stroke:#ff4a3a;stroke-width:5;filter:drop-shadow(0 0 6px rgba(255,80,60,.85)) drop-shadow(0 0 14px rgba(255,50,30,.45))}:where(body.tb-has-match-scene) .hex--occ-blue{stroke:#6dafff;stroke-width:5;filter:drop-shadow(0 0 6px rgba(110,175,255,.85)) drop-shadow(0 0 14px rgba(80,150,255,.45))}:where(body.tb-has-match-scene) .hex--occ-neutral{stroke:var(--parchment-ink-soft);stroke-width:2.5}:where(body.tb-has-match-scene) .hex--selected{stroke:var(--wax-red);stroke-width:5.5;filter:drop-shadow(0 0 12px rgba(155,40,32,.55))}:where(body.tb-has-match-scene) .hex--move-target{fill:#8cdc5a1a}:where(body.tb-has-match-scene) .hex--attack-target{stroke:var(--side-red-bright);stroke-width:3;fill:#d050501f;filter:drop-shadow(0 0 6px var(--side-red-glow))}:where(body.tb-has-match-scene) .damage-preview{pointer-events:none}:where(body.tb-has-match-scene) .damage-preview__bg{filter:drop-shadow(0 2px 4px rgba(70,40,15,.45))}:where(body.tb-has-match-scene) .damage-preview__text{font-family:var(--font-num);font-size:14px;font-weight:800;fill:#fff5d4;paint-order:stroke fill;stroke:#0000008c;stroke-width:.6;text-shadow:0 1px 0 rgba(0,0,0,.5)}:where(body.tb-has-match-scene) .attack-icon{pointer-events:none}:where(body.tb-has-match-scene) .attack-icon__bg{fill:#781c16eb;stroke:var(--wax-red-bright);stroke-width:2;filter:drop-shadow(0 0 8px rgba(155,40,32,.55))}:where(body.tb-has-match-scene) .attack-icon__img{filter:drop-shadow(0 0 4px rgba(255,80,60,.9)) drop-shadow(0 1px 2px rgba(0,0,0,.9));animation:tb3d-attack-icon-pulse 1.2s ease-in-out infinite;transform-origin:center;transform-box:fill-box}@keyframes tb3d-attack-icon-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}:where(body.tb-has-match-scene) .attack-icon--shield .attack-icon__bg{stroke:var(--highlight);filter:drop-shadow(0 0 10px var(--highlight-glow))}:where(body.tb-has-match-scene) .attack-icon--shield .attack-icon__img{filter:drop-shadow(0 0 6px var(--highlight-glow)) drop-shadow(0 1px 2px rgba(0,0,0,.9))}:where(body.tb-has-match-scene) .hex--deploy-target{stroke:none;fill:transparent}:where(body.tb-has-match-scene) .deploy-target__sprite{pointer-events:none;opacity:.85}:where(body.tb-has-match-scene) .hover-tip,:where(body.tb-has-match-scene) .move-brackets{pointer-events:none}:where(body.tb-has-match-scene) .move-brackets__l{stroke:#2c8fe6;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;fill:none;filter:drop-shadow(0 0 4px rgba(60,140,220,.7))}:where(body.tb-has-match-scene) .move-path{pointer-events:none}:where(body.tb-has-match-scene) .move-path__line{stroke-width:4;stroke-linecap:round;stroke-linejoin:round;fill:none;stroke-dasharray:6 6;animation:tb3d-move-path-march .6s linear infinite}@keyframes tb3d-move-path-march{to{stroke-dashoffset:-12}}:where(body.tb-has-match-scene) .attack-arrow{pointer-events:none}:where(body.tb-has-match-scene) .attack-arrow__line{stroke:#d0342a;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;fill:none;stroke-dasharray:6 6;animation:tb3d-move-path-march .6s linear infinite;filter:drop-shadow(0 0 6px rgba(210,60,45,.75))}:where(body.tb-has-match-scene) .attack-arrow__head{fill:#d0342a;filter:drop-shadow(0 0 6px rgba(210,60,45,.75))}:where(body.tb-has-match-scene) .move-path--blue .move-path__line{stroke:#2c8fe6;filter:drop-shadow(0 0 6px rgba(60,140,220,.7))}:where(body.tb-has-match-scene) .move-path--blue .move-path__dot{fill:#6dafff;filter:drop-shadow(0 0 4px rgba(110,175,255,.7))}:where(body.tb-has-match-scene) .move-path--blue .move-path__dest{filter:drop-shadow(0 0 8px rgba(60,140,220,.6))}:where(body.tb-has-match-scene) .move-path--red .move-path__line{stroke:#d04030;filter:drop-shadow(0 0 6px rgba(220,70,50,.7))}:where(body.tb-has-match-scene) .move-path--red .move-path__dot{fill:#ff7060;filter:drop-shadow(0 0 4px rgba(255,112,96,.7))}:where(body.tb-has-match-scene) .move-path--red .move-path__dest{filter:drop-shadow(0 0 8px rgba(220,70,50,.6))}:where(body.tb-has-match-scene) .first-shield{position:fixed;left:50%;top:42%;transform:translate(-50%,-50%);z-index:320;pointer-events:none;animation:tb3d-first-shield-pop 2.8s cubic-bezier(.22,1,.36,1) forwards;filter:drop-shadow(0 12px 28px rgba(0,0,0,.6))}:where(body.tb-has-match-scene) .first-shield__img{display:block;width:min(26vw,30vh,170px);height:auto}@keyframes tb3d-first-shield-pop{0%{opacity:0;transform:translate(-50%,-50%) scale(.3) rotate(-15deg)}10%{opacity:1;transform:translate(-50%,-50%) scale(1.18) rotate(0)}16%{transform:translate(-50%,-50%) scale(1) rotate(0)}85%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0)}to{opacity:0;transform:translate(-50%,-56%) scale(.92) rotate(0)}}:where(body.tb-has-match-scene) .turn-banner{position:fixed;left:50%;top:28%;transform:translate(-50%,-50%);z-index:310;pointer-events:none;animation:tb3d-turn-banner-drop 1.5s cubic-bezier(.22,1,.36,1) forwards;filter:drop-shadow(0 10px 22px rgba(0,0,0,.55))}:where(body.tb-has-match-scene) .turn-banner__img{display:block;width:min(30vw,34vh,300px);height:auto}@keyframes tb3d-turn-banner-drop{0%{opacity:0;transform:translate(-50%,-150%) scale(.85)}16%{opacity:1;transform:translate(-50%,-50%) scale(1.05)}24%{transform:translate(-50%,-50%) scale(1)}78%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-130%) scale(.92)}}:where(body.tb-has-match-scene) .stat-chip{pointer-events:none}:where(body.tb-has-match-scene) .stat-chip__img{filter:drop-shadow(0 0 1px rgba(30,16,4,.95)) drop-shadow(0 0 2px rgba(30,16,4,.75)) drop-shadow(0 1px 2px rgba(30,16,4,.6))}:where(body.tb-has-match-scene) .stat-chip__text{font-family:var(--font-num);font-weight:800;font-size:19px;letter-spacing:.02em;fill:#fff;stroke:#3a1e08;stroke-width:2.6px;stroke-linejoin:round;paint-order:stroke fill}:where(body.tb-has-match-scene) .stat-chip--atk.stat-chip--changed .stat-chip__text{stroke:#14375c}:where(body.tb-has-match-scene) .stat-chip--hp.stat-chip--low .stat-chip__text{stroke:#6a1210}:where(body.tb-has-match-scene) .buff-badge{pointer-events:none}:where(body.tb-has-match-scene) .buff-badge__bg{fill:#fbf2d6f5;stroke-width:1.5}:where(body.tb-has-match-scene) .buff-badge--attack .buff-badge__bg{stroke:var(--wax-red)}:where(body.tb-has-match-scene) .buff-badge--attack .buff-badge__icon{fill:var(--wax-red)}:where(body.tb-has-match-scene) .buff-badge--shield .buff-badge__bg{stroke:#2c5378}:where(body.tb-has-match-scene) .buff-badge--shield .buff-badge__icon{fill:#2c5378}:where(body.tb-has-match-scene) .buff-badge__count{font-family:var(--font-num);font-weight:800;font-size:9px;fill:var(--parchment-dark)}:where(body.tb-has-match-scene) .marker-badge{pointer-events:none}:where(body.tb-has-match-scene) .marker-badge__bg{stroke-width:1.5}:where(body.tb-has-match-scene) .marker-badge__label{font-family:var(--font-cn, system-ui);font-weight:800;font-size:11px;fill:#fff;paint-order:stroke;stroke:#00000059;stroke-width:.5}:where(body.tb-has-match-scene) .marker-badge--poison .marker-badge__bg{fill:#5a8a3e;stroke:#2d4a1c}:where(body.tb-has-match-scene) .marker-badge--wound .marker-badge__bg{fill:#b73a3a;stroke:#5a1c1c}:where(body.tb-has-match-scene) .marker-badge--freeze .marker-badge__bg{fill:#5aa6c8;stroke:#2d5878}:where(body.tb-has-match-scene) .marker-badge--silence .marker-badge__bg{fill:#6b5a8a;stroke:#36284a}:where(body.tb-has-match-scene) .marker-badge--stun .marker-badge__bg{fill:#d4a64e;stroke:#6a5020}:where(body.tb-has-match-scene) .marker-badge--weak .marker-badge__bg{fill:#8a7a5a;stroke:#4a3e2a}:where(body.tb-has-match-scene) .mimic-badge{pointer-events:none}:where(body.tb-has-match-scene) .mimic-badge__bg{fill:#a455c8;stroke:#5a2a78;stroke-width:1.5}:where(body.tb-has-match-scene) .mimic-badge__label{font-family:var(--font-cn, system-ui);font-weight:800;font-size:11px;fill:#fff;paint-order:stroke;stroke:#00000059;stroke-width:.5}:where(body.tb-has-match-scene) .hex-label{display:none}:where(body.tb-has-match-scene) .env-buff{pointer-events:none}:where(body.tb-has-match-scene) .board-hero{pointer-events:auto;-webkit-user-select:none;user-select:none;cursor:pointer;width:100%;height:100%;position:relative}:where(body.tb-has-match-scene) .board-hero-node{cursor:pointer}:where(body.tb-has-match-scene) .board-hero__hitbox{pointer-events:all}:where(body.tb-has-match-scene) .board-hero__svg-img{pointer-events:none;transform-box:fill-box;transform-origin:center;transition:filter var(--t-fast) var(--ease-default)}:where(body.tb-has-match-scene) .board-hero--neutral .board-hero__svg-img{opacity:.85}:where(body.tb-has-match-scene) .board-hero--dead .board-hero__svg-img{clip-path:none;-webkit-clip-path:none;transform:scale(.6);opacity:.95;filter:drop-shadow(0 2px 6px rgba(0,0,0,.85))}:where(body.tb-has-match-scene) .board-hero--dead-fresh .board-hero__svg-img{animation:tb3d-tombstone-rise .32s var(--ease-out) both}@keyframes tb3d-tombstone-rise{0%{opacity:0;transform:translateY(8px) scale(.48)}60%{opacity:1;transform:translateY(-2px) scale(.624)}to{opacity:.95;transform:translateY(0) scale(.6)}}:where(body.tb-has-match-scene) .board-hero--preview .board-hero__svg-img{opacity:.8;filter:drop-shadow(0 0 8px var(--gold-glow-strong)) drop-shadow(0 2px 4px rgba(0,0,0,.4))}:where(body.tb-has-match-scene) .board-hero--neutral.board-hero--dead .board-hero__svg-img{opacity:0;filter:brightness(1.4) saturate(.6);transform:scale(.85);transition:opacity .3s var(--ease-out),transform .3s var(--ease-out),filter .3s var(--ease-out)}:where(body.tb-has-match-scene) .board-hero--finish .board-hero__svg-img{filter:grayscale(.85) brightness(.55);opacity:.85}:where(body.tb-has-match-scene) .board-hero__finish-mark{font-size:28px;font-weight:900;fill:var(--wax-red);text-shadow:0 0 6px rgba(255,250,220,.9),0 0 2px rgba(255,250,220,.9);paint-order:stroke fill;stroke:#fffadce6;stroke-width:2px;pointer-events:none}:where(body.tb-has-match-scene) .board-hero--moved .board-hero__svg-img{filter:brightness(.92)}:where(body.tb-has-match-scene) .board-hero--shake .board-hero__svg-img{animation:tb3d-shake .32s var(--ease-default)}:where(body.tb-has-match-scene) .board-hero--acting .board-hero__svg-img{filter:drop-shadow(0 0 6px var(--acting-glow-1, rgba(255, 220, 140, .85))) drop-shadow(0 0 14px var(--acting-glow-2, rgba(255, 220, 140, .5))) brightness(1.08)}:where(body.tb-has-match-scene) .board-hero--acting.board-hero--red{--acting-glow-1: rgba(255, 110, 90, .95);--acting-glow-2: rgba(255, 150, 120, .5)}:where(body.tb-has-match-scene) .board-hero--acting.board-hero--blue{--acting-glow-1: rgba(120, 180, 255, .95);--acting-glow-2: rgba(170, 210, 255, .5)}:where(body.tb-has-match-scene) .board-hero--acting.board-hero--neutral{--acting-glow-1: rgba(255, 220, 140, .9);--acting-glow-2: rgba(255, 235, 180, .5)}:where(body.tb-has-match-scene) .actor-spotlight{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:60;background:radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),transparent 0,transparent 60px,rgba(20,12,4,.18) 130px,rgba(20,12,4,.32) 320px,rgba(20,12,4,.32) 100%);opacity:0;transition:opacity .36s cubic-bezier(.22,1,.36,1)}:where(body.tb-has-match-scene) .actor-spotlight--on{opacity:1}:where(body.tb-has-match-scene) .match-banner__right{display:flex;align-items:center;justify-content:flex-end;gap:14px}:where(body.tb-has-match-scene) .hud__preview-stat-val--changed{color:var(--highlight)!important;text-shadow:0 0 6px var(--highlight-glow)}:where(body.tb-has-match-scene) .damage-float{position:fixed;font-family:var(--font-num);font-weight:800;font-size:28px;color:var(--side-red-bright);text-shadow:0 0 6px #000,0 1px 3px #000,1px 1px 0 rgba(0,0,0,.8);animation:tb3d-damageFloat .8s var(--ease-out) forwards;pointer-events:none;transform:translate(-50%);z-index:200;letter-spacing:.02em}:where(body.tb-has-match-scene) .damage-float--heal{color:var(--success)}:where(body.tb-has-match-scene) .buff-burst{width:0;height:0;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%);border:3px solid;animation:tb3d-buff-burst-grow .72s var(--ease-out) forwards}:where(body.tb-has-match-scene) .buff-burst--attack{border-color:var(--side-red-bright);box-shadow:0 0 24px var(--side-red-glow),inset 0 0 24px var(--side-red-glow)}:where(body.tb-has-match-scene) .buff-burst--shield{border-color:var(--highlight);box-shadow:0 0 24px var(--highlight-glow),inset 0 0 24px var(--highlight-glow)}:where(body.tb-has-match-scene) .buff-burst--charge{border-color:var(--gold-bright);box-shadow:0 0 28px var(--gold-glow-strong),inset 0 0 24px var(--gold-glow)}@keyframes tb3d-buff-burst-grow{0%{width:8px;height:8px;opacity:1;border-width:6px}60%{opacity:.8}to{width:180px;height:180px;opacity:0;border-width:1px}}:where(body.tb-has-match-scene) .buff-burst__flash{width:80px;height:80px;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%);animation:tb3d-buff-flash .5s var(--ease-out) forwards}:where(body.tb-has-match-scene) .buff-burst__flash--attack{background:radial-gradient(circle,rgba(255,120,96,.8) 0%,transparent 70%)}:where(body.tb-has-match-scene) .buff-burst__flash--shield{background:radial-gradient(circle,rgba(140,230,220,.8) 0%,transparent 70%)}:where(body.tb-has-match-scene) .buff-burst__flash--charge{background:radial-gradient(circle,rgba(255,220,140,.85) 0%,transparent 70%)}@keyframes tb3d-buff-flash{0%{opacity:1;transform:translate(-50%,-50%) scale(.4)}to{opacity:0;transform:translate(-50%,-50%) scale(1.3)}}:where(body.tb-has-match-scene) .buff-float{font-family:var(--font-display);font-weight:800;font-size:22px;letter-spacing:.06em;pointer-events:none;transform:translate(-50%);text-shadow:0 0 8px #000,0 1px 3px #000,1px 1px 0 rgba(0,0,0,.8);animation:tb3d-buff-float-rise 1.1s var(--ease-out) forwards}:where(body.tb-has-match-scene) .buff-float--attack{color:var(--side-red-bright);text-shadow:0 0 10px var(--side-red-glow),0 0 4px #000,0 1px 3px #000}:where(body.tb-has-match-scene) .buff-float--shield{color:var(--highlight);text-shadow:0 0 10px var(--highlight-glow),0 0 4px #000,0 1px 3px #000}:where(body.tb-has-match-scene) .buff-float--charge{color:var(--gold-bright);font-size:26px;text-shadow:0 0 12px var(--gold-glow-strong),0 0 4px #000,0 1px 3px #000}@keyframes tb3d-buff-float-rise{0%{transform:translate(-50%,6px) scale(.6);opacity:0}20%{transform:translate(-50%) scale(1.15);opacity:1}60%{opacity:1}to{transform:translate(-50%,-42px) scale(1);opacity:0}}:where(body.tb-has-match-scene) .feature-splash{position:fixed;left:50%;top:38%;width:560px;height:220px;margin-left:-280px;margin-top:-110px;z-index:250;pointer-events:none;overflow:visible}:where(body.tb-has-match-scene) .feature-splash__inner{position:absolute;top:0;right:0;bottom:0;left:0;animation:tb3d-feature-splash-slide 1.3s cubic-bezier(.22,1,.36,1) forwards;will-change:transform,opacity}@keyframes tb3d-feature-splash-slide{0%{transform:translate(160%);opacity:0}12%{transform:translate(0);opacity:1}60%{transform:translate(0);opacity:1}to{transform:translate(-160%);opacity:0}}:where(body.tb-has-match-scene) .feature-splash__bg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;filter:drop-shadow(0 6px 18px rgba(0,0,0,.85))}:where(body.tb-has-match-scene) .feature-splash__hero{position:absolute;left:8%;top:50%;transform:translateY(-50%);height:130%;max-height:280px;filter:drop-shadow(0 0 14px rgba(255,220,140,.5)) drop-shadow(2px 6px 10px rgba(0,0,0,.9))}:where(body.tb-has-match-scene) .feature-splash__label{position:absolute;left:42%;right:8%;top:50%;transform:translateY(-50%);font-family:var(--font-display);font-size:26px;font-weight:800;color:var(--gold-bright);letter-spacing:.15em;text-align:left;text-shadow:0 0 12px var(--gold-glow-strong),0 0 4px #000,0 2px 4px #000,1px 1px 0 rgba(0,0,0,.9)}:where(body.tb-has-match-scene) .buff-consume{width:140px;height:140px;border-radius:50%;pointer-events:none;transform:translate(-50%,-50%);border:2px solid;animation:tb3d-buff-consume-shrink .6s var(--ease-out) forwards}:where(body.tb-has-match-scene) .buff-consume--shield{border-color:var(--highlight);box-shadow:0 0 24px var(--highlight-glow),inset 0 0 24px var(--highlight-glow)}:where(body.tb-has-match-scene) .buff-consume--attack{border-color:var(--gold-bright);box-shadow:0 0 16px var(--gold-glow),inset 0 0 16px var(--gold-glow)}@keyframes tb3d-buff-consume-shrink{0%{width:140px;height:140px;opacity:0;border-width:1px}30%{opacity:1}to{width:14px;height:14px;opacity:0;border-width:5px}}:where(body.tb-has-match-scene) .hud{position:absolute;bottom:28px;left:272px;right:272px;display:flex;align-items:flex-end;justify-content:flex-end;pointer-events:none;gap:16px;z-index:70}:where(body.tb-has-match-scene) .hud>*{pointer-events:auto}:where(body.tb-has-match-scene) .match-scene--solo-pool:not(.match-scene--pool-open) .hud{left:16px;right:16px}:where(body.tb-has-match-scene) .hero-preview{position:fixed;top:-9999px;left:-9999px;background:linear-gradient(180deg,#fbf2d6,#f0dcb0);border:none;border-radius:6px;padding:12px 14px;display:none;flex-direction:column;gap:8px;max-width:340px;min-width:260px;color:var(--parchment-dark);box-shadow:0 1px #fffadcd9 inset,0 -2px 6px #46280f1a inset,0 6px 18px #46280f52;z-index:250;pointer-events:none;opacity:0;transition:opacity .14s ease-out}:where(body.tb-has-match-scene) .hero-preview--visible{display:flex;opacity:1}:where(body.tb-has-match-scene) .hero-preview *{pointer-events:none!important}:where(body.tb-has-match-scene) .hud__preview-status{display:flex;flex-wrap:wrap;gap:4px;padding-top:8px;border-top:1px solid rgba(120,85,40,.22)}:where(body.tb-has-match-scene) .hud__preview-chip{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:10px;font-family:var(--font-display);font-size:11px;font-weight:700;line-height:1;letter-spacing:.04em;white-space:nowrap;color:#fff5d4;text-shadow:0 1px 1px rgba(0,0,0,.4);box-shadow:0 1px #fffadc73 inset,0 -1px 2px #00000047 inset,0 1px 2px #46280f4d}:where(body.tb-has-match-scene) .hud__preview-chip--atk{background:linear-gradient(180deg,#d6584a,#9b2820)}:where(body.tb-has-match-scene) .hud__preview-chip--shield,:where(body.tb-has-match-scene) .hud__preview-chip--poison{background:linear-gradient(180deg,#6dc488,#2f7c3a)}:where(body.tb-has-match-scene) .hud__preview-chip--wound{background:linear-gradient(180deg,#c44038,#6a1612)}:where(body.tb-has-match-scene) .hud__preview-chip--freeze{background:linear-gradient(180deg,#6dc4d8,#2c6788)}:where(body.tb-has-match-scene) .hud__preview-chip--silence{background:linear-gradient(180deg,#8a8aa0,#4a4a60)}:where(body.tb-has-match-scene) .hud__preview-chip--stun{background:linear-gradient(180deg,#d8b870,#8a6a18)}:where(body.tb-has-match-scene) .hud__preview-chip--weak{background:linear-gradient(180deg,#b478b4,#5a2c6c)}:where(body.tb-has-match-scene) .hud__preview-img--white{background:linear-gradient(180deg,#fbf2d6,#f1e6c4)}:where(body.tb-has-match-scene) .hud__preview-img--gold{background:linear-gradient(180deg,#e3efc6,#b9d889)}:where(body.tb-has-match-scene) .hud__preview-img--purple{background:linear-gradient(180deg,#f0e3f4,#d6bce0)}:where(body.tb-has-match-scene) .hud__preview-img--rainbow{background:linear-gradient(180deg,#fccdb0,#f4a26b)}:where(body.tb-has-match-scene) .hud__preview-img{width:64px;height:64px;border-radius:4px;border:none;background:#e8d2a599;flex-shrink:0;object-fit:cover;box-shadow:0 1px #fffadcd9 inset,0 -1px 3px #46280f26 inset,0 2px 4px #46280f33}:where(body.tb-has-match-scene) .hud__preview-head{display:flex;gap:12px;align-items:flex-start}:where(body.tb-has-match-scene) .hud__preview-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}:where(body.tb-has-match-scene) .hud__preview-name{font-family:var(--font-display);font-size:var(--fs-md);font-weight:700;color:var(--parchment-dark);letter-spacing:.1em}:where(body.tb-has-match-scene) .hud__preview-name:before{content:"❦ ";color:var(--wax-red);font-size:.85em}:where(body.tb-has-match-scene) .hud__preview-stats{display:flex;gap:var(--sp-3);font-family:var(--font-num);font-size:var(--fs-sm)}:where(body.tb-has-match-scene) .hud__preview-stat{display:flex;gap:4px;align-items:baseline}:where(body.tb-has-match-scene) .hud__preview-stat-label{color:var(--parchment-ink-soft);font-size:10px;text-transform:uppercase;letter-spacing:.16em;font-family:var(--font-display)}:where(body.tb-has-match-scene) .hud__preview-stat-val{color:var(--parchment-dark);font-weight:800}:where(body.tb-has-match-scene) .hud__preview-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:1px}:where(body.tb-has-match-scene) .hud__preview-tag{display:inline-flex;align-items:center;height:18px;padding:0 7px;border-radius:9px;border:1px solid rgba(120,85,40,.45);background:#78552814;font-family:var(--font-display);font-size:10px;font-weight:700;line-height:1;letter-spacing:.08em;white-space:nowrap;color:var(--parchment-ink)}:where(body.tb-has-match-scene) .hud__preview-desc{font-size:var(--fs-sm);color:var(--parchment-ink);line-height:1.5;padding-top:8px;border-top:1px solid rgba(120,85,40,.22)}:where(body.tb-has-match-scene) .hud__preview-desc .kw{font-weight:800;color:var(--parchment-dark);letter-spacing:.02em}:where(body.tb-has-match-scene) .hud__placeholder{color:var(--parchment-ink-soft);font-size:var(--fs-sm);letter-spacing:.06em;font-style:italic;padding:12px 0}:where(body.tb-has-match-scene) .hud__actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}:where(body.tb-has-match-scene) .hud__action--end{width:110px;height:110px;background:url(/asset/EdnTurn1.webp) no-repeat center / contain;border:none;cursor:pointer;position:relative;filter:drop-shadow(0 4px 12px rgba(0,0,0,.7));transition:transform var(--t-fast) var(--ease-default),filter var(--t-fast) var(--ease-default);font-size:0;padding:0}:where(body.tb-has-match-scene) .hud__action--end:hover{transform:translateY(-2px);filter:drop-shadow(0 6px 16px rgba(0,0,0,.9)) brightness(1.08)}:where(body.tb-has-match-scene) .hud__action--end:active{background-image:url(/asset/EdnTurn2.webp);transform:translateY(2px);filter:drop-shadow(0 2px 6px rgba(0,0,0,.7))}:where(body.tb-has-match-scene) .hud__action--end--disabled,:where(body.tb-has-match-scene) .hud__action--end:disabled{background-image:url(/asset/EdnTurn3.webp);cursor:not-allowed;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) saturate(.6)}:where(body.tb-has-match-scene) .hud__action--end--disabled:hover,:where(body.tb-has-match-scene) .hud__action--end:disabled:hover{transform:none;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) saturate(.6)}:where(body.tb-has-match-scene) .hud__action--end--disabled:active,:where(body.tb-has-match-scene) .hud__action--end:disabled:active{background-image:url(/asset/EdnTurn3.webp);transform:none}:where(body.tb-has-match-scene) .hud__action--swap{width:90px;height:90px;background:url(/asset/change2.webp) no-repeat center / contain;border:none;cursor:pointer;filter:drop-shadow(0 3px 8px rgba(0,0,0,.6));transition:transform var(--t-fast) var(--ease-default),filter var(--t-fast) var(--ease-default);font-size:0;padding:0}:where(body.tb-has-match-scene) .hud__action--swap:hover{transform:translateY(-2px);filter:drop-shadow(0 4px 12px rgba(0,0,0,.8)) brightness(1.1)}:where(body.tb-has-match-scene) .hud__action--swap--on{transform:translateY(2px);filter:drop-shadow(0 2px 5px rgba(0,0,0,.6)) brightness(1.12) saturate(1.15)}:where(body.tb-has-match-scene) .hud__action--swap--disabled,:where(body.tb-has-match-scene) .hud__action--swap:disabled{cursor:not-allowed;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) saturate(.25) brightness(.9)}:where(body.tb-has-match-scene) .hud__action--swap--disabled:hover,:where(body.tb-has-match-scene) .hud__action--swap:disabled:hover{transform:none;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)) saturate(.25) brightness(.9)}:where(body.tb-has-match-scene) .hud__action--primary{background:linear-gradient(180deg,#2c2622,#1a1816);color:var(--gold-bright);font-family:var(--font-display);font-size:var(--fs-sm);letter-spacing:.18em;text-transform:uppercase;padding:10px 28px;border:1px solid var(--gold-line);border-radius:var(--r-2);width:auto;height:auto;filter:none;box-shadow:var(--shadow-button);font-weight:600}:where(body.tb-has-match-scene) .hud__action--primary:hover{background:linear-gradient(180deg,#3a3128,#211e1a);border-color:var(--gold-bright);color:#fff}:where(body.tb-has-match-scene) .notice{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:200;opacity:0;transition:opacity var(--t-base) var(--ease-default)}:where(body.tb-has-match-scene) .notice--visible{opacity:1}:where(body.tb-has-match-scene) .notice__text{max-width:min(78vw,30rem);padding:.75rem 1.15rem;border-radius:10px;background:#301b0af0;border:1px solid var(--gold-line);box-shadow:0 8px 24px #140a0273;color:var(--parchment-light, #f6e9cd);font-family:inherit;font-size:var(--fs-sm);font-weight:600;line-height:1.45;letter-spacing:.01em;text-align:center;text-wrap:balance;animation:tb3d-noticeIn .32s var(--ease-default)}:where(body.tb-has-match-scene) .spectator-banner{position:fixed;top:6px;left:50%;transform:translate(-50%);background:var(--bg-glass);border:1px solid var(--gold-line);border-radius:var(--r-2);padding:4px 16px;font-family:var(--font-display);font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold-bright);z-index:50;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}:where(body.tb-has-match-scene) .match-scene--view-only .board-area,:where(body.tb-has-match-scene) .match-scene--view-only .pool,:where(body.tb-has-match-scene) .match-scene--view-only .hud{filter:saturate(.25) brightness(.88);transition:filter .26s ease}:where(body.tb-has-match-scene) .match-scene--view-only .board-area,:where(body.tb-has-match-scene) .match-scene--view-only .pool{cursor:not-allowed}:where(body.tb-has-match-scene) .match-scene--view-only:after{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:40;border:3px solid var(--view-only-line);background:radial-gradient(ellipse at center,transparent 56%,rgba(38,58,84,.16) 78%,var(--view-only-wash) 100%);box-shadow:inset 0 0 0 1px #b4cde859,inset 0 0 24px #6c8cb259;animation:tb3d-view-only-breathe 3.2s ease-in-out infinite}@keyframes tb3d-view-only-breathe{0%,to{opacity:.72}50%{opacity:1}}@media(prefers-reduced-motion:reduce){:where(body.tb-has-match-scene) .match-scene--view-only:after{animation:none;opacity:.85}}:where(body.tb-has-match-scene) .takeover-banner{position:fixed;top:6px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:10px;background:var(--bg-overlay);border:1px solid var(--view-only-line);border-radius:var(--r-2);padding:5px 6px 5px 14px;font-family:var(--font-display);font-size:11px;letter-spacing:.18em;color:var(--view-only-text);z-index:60;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 2px 16px #00000080}:where(body.tb-has-match-scene) .takeover-banner__dot{width:6px;height:6px;border-radius:50%;background:var(--view-only-text);animation:tb3d-view-only-breathe 3.2s ease-in-out infinite}:where(body.tb-has-match-scene) .takeover-banner__btn{font:inherit;letter-spacing:.14em;color:var(--gold-bright);background:transparent;border:1px solid var(--gold-line);border-radius:var(--r-2);padding:3px 10px;cursor:pointer;transition:background .14s ease,box-shadow .14s ease}:where(body.tb-has-match-scene) .takeover-banner__btn:hover{background:var(--gold-deep);box-shadow:0 0 10px var(--gold-glow)}@media(prefers-reduced-motion:reduce){:where(body.tb-has-match-scene) .takeover-banner__dot{animation:none}}:where(body.tb-has-match-scene) .conn-status{position:fixed;bottom:calc(6px + env(safe-area-inset-bottom));left:calc(6px + env(safe-area-inset-left));font-family:var(--font-num);font-size:10px;color:var(--text-dim);z-index:50;display:flex;align-items:center;gap:5px;letter-spacing:.04em}:where(body.tb-has-match-scene) .conn-status:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--text-dim)}:where(body.tb-has-match-scene) .conn-status--open:before{background:var(--success);box-shadow:0 0 6px var(--success)}:where(body.tb-has-match-scene) .conn-status--connecting:before{background:var(--gold-bright);box-shadow:0 0 6px var(--gold-glow)}:where(body.tb-has-match-scene) .conn-status--closed:before,:where(body.tb-has-match-scene) .conn-status--error:before{background:var(--danger);box-shadow:0 0 6px var(--danger)}:where(body.tb-has-match-scene) .match-banner>.match-banner__player:first-child{justify-self:end;font-family:var(--font-display)}:where(body.tb-has-match-scene) .match-banner>.match-banner__player:last-child{justify-self:start;font-family:var(--font-display)}:where(body.tb-has-match-scene) .match-banner__player{display:flex;align-items:center;gap:10px}:where(body.tb-has-match-scene) .match-banner__player-avatar-wrap{position:relative;width:44px;height:44px;flex-shrink:0}:where(body.tb-has-match-scene) .match-banner__first-icon{position:absolute;left:50%;top:calc(100% - 4px);transform:translate(-50%);width:62%;height:auto;pointer-events:none;z-index:6;filter:drop-shadow(0 3px 6px rgba(0,0,0,.65));transition:opacity .14s ease-out}:where(body.tb-has-match-scene) .match-banner__first-icon--hidden{opacity:0}:where(body.tb-has-match-scene) .match-banner__player-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--parchment-mid);border:2px solid var(--gold-bright);box-shadow:0 0 0 3px var(--ring-color, var(--side-red)),0 0 14px var(--ring-glow, var(--side-red-glow)),inset 0 0 0 1px #28140866;transition:filter .2s ease,box-shadow .2s ease}:where(body.tb-has-match-scene) .match-banner__player--red .match-banner__player-avatar{--ring-color: var(--side-red);--ring-glow: var(--side-red-glow)}:where(body.tb-has-match-scene) .match-banner__player--blue .match-banner__player-avatar{--ring-color: var(--side-blue);--ring-glow: var(--side-blue-glow)}:where(body.tb-has-match-scene) .match-banner__player--winner .match-banner__player-avatar{filter:saturate(1.15) brightness(1.05)}:where(body.tb-has-match-scene) .match-banner__player--acting .match-banner__player-avatar{box-shadow:0 0 0 3px var(--ring-color),0 0 22px var(--ring-glow),0 0 38px var(--ring-glow),inset 0 0 0 1px #28140866}:where(body.tb-has-match-scene) .match-banner__player-seal{position:absolute;top:-6px;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:13px;font-weight:700;color:#fbf2d6;background:radial-gradient(circle at 35% 30%,var(--wax-red-bright) 0%,var(--wax-red) 70%);border:1px solid rgba(40,10,8,.55);box-shadow:0 1px #ffdcc866 inset,0 -1px 2px #280a0866 inset,0 2px 4px #280a0859;transform:rotate(-8deg);text-shadow:0 1px 1px rgba(40,10,8,.5)}:where(body.tb-has-match-scene) .match-banner__player--red .match-banner__player-seal{left:-6px}:where(body.tb-has-match-scene) .match-banner__player--blue .match-banner__player-seal{right:-6px}:where(body.tb-has-match-scene) .match-banner__player-thinking{position:absolute;bottom:-4px;right:-4px;display:flex;align-items:center;gap:2px;padding:3px 5px;border-radius:999px;background:#281408d9;border:1px solid var(--gold-line);box-shadow:0 2px 4px #280a0859}:where(body.tb-has-match-scene) .match-banner__player--red .match-banner__player-thinking{right:auto;left:-4px}:where(body.tb-has-match-scene) .match-banner__player-name{font-family:var(--font-display);font-size:var(--fs-md);font-weight:700;letter-spacing:.06em;max-width:7em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 0 rgba(255,250,220,.5)}:where(body.tb-has-match-scene) .match-banner__player--red .match-banner__player-name{color:var(--wax-red)}:where(body.tb-has-match-scene) .match-banner__player--blue .match-banner__player-name{color:var(--side-blue-deep)}:where(body.tb-has-match-scene) .match-banner__turn-pill{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:4px 14px;min-width:72px;border-radius:999px;background:linear-gradient(180deg,#fffadcd9,#e8d2a0e0);border:1px solid var(--gold-line);box-shadow:0 1px #fffadcd9 inset,0 -1px 2px #46280f2e inset,0 0 0 1px #fffadc73,0 2px 5px #46280f38,0 0 8px var(--gold-glow)}:where(body.tb-has-match-scene) .match-banner__turn-pill--tappable{cursor:pointer;touch-action:manipulation;transition:transform var(--t-fast) var(--ease-default)}:where(body.tb-has-match-scene) .match-banner__turn-pill--tappable:hover{transform:translateY(-1px)}:where(body.tb-has-match-scene) .match-banner__turn-pill--tappable:active{transform:translateY(1px)}@keyframes tb3d-turn-pill-urgent{0%,to{box-shadow:0 1px #fffadcd9 inset,0 -1px 2px #46280f2e inset,0 0 0 1px #fffadc73,0 2px 5px #46280f38,0 0 8px var(--gold-glow);border-color:var(--gold-line)}50%{box-shadow:0 1px #fffadcd9 inset,0 -1px 2px #46280f2e inset,0 0 0 1px #fffadc73,0 2px 5px #46280f38,0 0 8px var(--gold-glow),0 0 16px 4px #d22828a6;border-color:#d22828bf}}:where(body.tb-has-match-scene) .match-banner__turn-pill--urgent{animation:tb3d-turn-pill-urgent .7s ease-in-out infinite}:where(body.tb-has-match-scene) .match-banner__turn-pill--fatigue,:where(body.tb-has-match-scene) .match-banner__turn-pill--fatigue-soon{--fatigue-level: 0;--fatigue-period: 1.5s;--fatigue-t: calc(var(--fatigue-level) / 6)}:where(body.tb-has-match-scene) .match-banner__turn-pill-body{position:relative;z-index:1;display:flex;flex-direction:row;align-items:center;gap:7px}:where(body.tb-has-match-scene) .match-banner__turn-pill-stack{display:flex;flex-direction:column;align-items:center;gap:1px}:where(body.tb-has-match-scene) .match-banner__turn-pill-skull{flex:none;width:calc(15px + 5px * var(--fatigue-t));height:calc(15px + 5px * var(--fatigue-t));fill:var(--wax-red)}:where(body.tb-has-match-scene) .match-banner__turn-pill--fatigue-soon{border-color:#966e3cd9;animation:tb3d-turn-pill-fatigue-soon 2.2s ease-in-out infinite}:where(body.tb-has-match-scene) .match-banner__turn-pill--fatigue-soon .match-banner__turn-pill-skull{fill:#7c6a52;animation:tb3d-skull-breathe 2.2s ease-in-out infinite}@keyframes tb3d-turn-pill-fatigue-soon{0%,to{box-shadow:0 1px #fffadcd9 inset,0 2px 5px #46280f38,0 0 8px var(--gold-glow)}50%{box-shadow:0 1px #fffadcd9 inset,0 2px 5px #46280f38,0 0 14px 2px #be783299}}@keyframes tb3d-skull-breathe{0%,to{opacity:.4}50%{opacity:.85}}:where(body.tb-has-match-scene) .match-banner__turn-pill--fatigue{background:radial-gradient(ellipse at 50% 125%,rgba(150,35,28,calc(.18 + .34 * var(--fatigue-t))),#96231c00 72%),linear-gradient(180deg,rgba(224,208,184,calc(.92 - .2 * var(--fatigue-t))),rgba(132,114,96,calc(.86 + .1 * var(--fatigue-t))));border-color:rgba(150,35,28,calc(.6 + .4 * var(--fatigue-t)));animation:tb3d-turn-pill-fatigue var(--fatigue-period) ease-in-out infinite}:where(body.tb-has-match-scene) .match-banner__turn-pill--fatigue .match-banner__turn-pill-skull{animation:tb3d-skull-blink var(--fatigue-period) ease-in-out infinite}@keyframes tb3d-turn-pill-fatigue{0%,to{box-shadow:0 1px #fffadc80 inset,0 -2px 6px #3c140f59 inset,0 2px 5px #46280f40,0 0 calc(6px + 6px * var(--fatigue-t)) #96231c73}50%{box-shadow:0 1px #fffadc80 inset,0 -2px 6px #3c140f59 inset,0 2px 5px #46280f40,0 0 calc(13px + 13px * var(--fatigue-t)) calc(2px + 3px * var(--fatigue-t)) rgba(196,52,42,calc(.5 + .35 * var(--fatigue-t)))}}@keyframes tb3d-skull-blink{0%,to{opacity:calc(.5 + .1 * var(--fatigue-t));transform:scale(1)}50%{opacity:1;transform:scale(calc(1 + .12 * var(--fatigue-t)))}}:where(body.tb-has-match-scene) .match-banner__turn-pill--fatigue-soon .match-banner__turn-pill-label{color:#7a5230}:where(body.tb-has-match-scene) .match-banner__turn-pill--fatigue .match-banner__turn-pill-label{color:var(--wax-red)}:where(body.tb-has-match-scene) .match-banner__turn-pill--fatigue .match-banner__turn-pill-num{display:flex;align-items:baseline;gap:5px;color:#6f1712;text-shadow:0 1px 0 rgba(255,245,225,.45)}:where(body.tb-has-match-scene) .match-banner__turn-pill-bite{font-family:var(--font-num);font-size:var(--fs-xs);font-weight:700;color:#fff2e0;background:linear-gradient(180deg,#b8322a,#7d1d17);border-radius:999px;padding:1px 5px;line-height:1.2;animation:tb3d-fatigue-bite-throb var(--fatigue-period) ease-in-out infinite}@keyframes tb3d-fatigue-bite-throb{0%,to{transform:scale(1);box-shadow:0 0 0 1px #ffebc84d,0 1px 2px #280a0880}50%{transform:scale(1.07);box-shadow:0 0 0 1px #ffebc880,0 1px 2px #280a0880,0 0 8px #c8372dcc}}:where(body.tb-has-match-scene) .match-banner__turn-pill--fatigue.match-banner__turn-pill--urgent{animation:tb3d-turn-pill-urgent .7s ease-in-out infinite}:where(body.tb-has-match-scene) .match-banner__turn-pill-water{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:var(--water-opacity, 1);transition:opacity .24s ease;z-index:0}:where(body.tb-has-match-scene) .match-banner__turn-pill-label,:where(body.tb-has-match-scene) .match-banner__turn-pill-num{position:relative;z-index:1}:where(body.tb-has-match-scene) .match-banner__turn-pill-waves{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}:where(body.tb-has-match-scene) .match-banner__turn-pill-label{font-family:var(--font-display);font-size:10px;letter-spacing:.32em;text-transform:uppercase;color:var(--parchment-ink-soft);line-height:1}:where(body.tb-has-match-scene) .match-banner__turn-pill-num{font-family:var(--font-num);font-size:var(--fs-md);font-weight:700;color:var(--wax-red);letter-spacing:.04em;line-height:1;text-shadow:0 1px 0 rgba(255,250,220,.55)}:where(body.tb-has-match-scene) .replay-controls{display:flex;flex-direction:column;gap:10px;padding:8px 4px 0;width:200px;animation:tb3d-replay-controls-fade-in var(--t-base) var(--ease-default)}@keyframes tb3d-replay-controls-fade-in{0%{opacity:0}to{opacity:1}}:where(body.tb-has-match-scene) .replay-controls__progress{position:relative;width:100%;height:18px;cursor:pointer;background:transparent;touch-action:none}:where(body.tb-has-match-scene) .replay-controls__progress:before{content:"";position:absolute;top:50%;left:0;right:0;height:5px;transform:translateY(-50%);background:#3c26128c;border-radius:2px;pointer-events:none}:where(body.tb-has-match-scene) .replay-controls__progress:focus-visible{outline:2px solid var(--gold-bright);outline-offset:4px}:where(body.tb-has-match-scene) .replay-controls__progress-fill{position:absolute;top:50%;left:0;height:5px;transform:translateY(-50%);background:var(--gold-line);border-radius:2px;transition:width var(--t-fast) linear;pointer-events:none}:where(body.tb-has-match-scene) .replay-controls__progress-knob{position:absolute;top:50%;width:12px;height:12px;border-radius:50%;background:var(--gold-bright);box-shadow:0 0 12px var(--gold-glow-strong);transform:translate(-50%,-50%);transition:left var(--t-fast) linear;pointer-events:none}:where(body.tb-has-match-scene) .replay-controls__row{display:flex;align-items:center;justify-content:center;gap:10px}:where(body.tb-has-match-scene) .replay-controls__btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:var(--bg-elevated);border:1px solid transparent;border-radius:var(--r-2);color:var(--text-secondary);font-size:18px;line-height:1;box-shadow:var(--shadow-button);transition:color var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default),background var(--t-fast) var(--ease-default),border-color var(--t-fast) var(--ease-default)}:where(body.tb-has-match-scene) .replay-controls__btn:hover{color:var(--gold-bright);border-color:var(--gold-line);box-shadow:var(--shadow-card-hover)}:where(body.tb-has-match-scene) .replay-controls__btn:focus-visible{outline:2px solid var(--gold-bright);outline-offset:2px}:where(body.tb-has-match-scene) .replay-controls__btn--primary{width:44px;height:44px;font-size:20px}:where(body.tb-has-match-scene) .replay-controls__btn--active{background:var(--gold-line);color:var(--bg-deeper);border-color:var(--gold-bright)}:where(body.tb-has-match-scene) .replay-controls__btn--speed{font-family:var(--font-num);font-size:var(--fs-sm);font-weight:500}:where(body.tb-has-match-scene) .replay-controls__btn--speed.replay-controls__btn--active{background:transparent;color:var(--gold-bright);border-color:var(--gold-line)}@media(max-width:480px){:where(body.tb-has-match-scene) .replay-controls__btn{width:32px;height:32px;font-size:16px}:where(body.tb-has-match-scene) .replay-controls__btn--primary{width:40px;height:40px;font-size:18px}:where(body.tb-has-match-scene) .match-banner__center--players{gap:8px}:where(body.tb-has-match-scene) .match-banner__player-avatar-wrap,:where(body.tb-has-match-scene) .match-banner__player-avatar{width:36px;height:36px}:where(body.tb-has-match-scene) .match-banner__player-name{max-width:5em;font-size:var(--fs-sm)}:where(body.tb-has-match-scene) .match-banner__turn-pill{padding:3px 10px;min-width:60px}:where(body.tb-has-match-scene) .match-banner__turn-pill-num{font-size:var(--fs-sm)}}:where(body.tb-has-match-scene) .board-hero--lunge .board-hero__svg-img{animation:tb3d-hero-lunge .26s cubic-bezier(.22,.9,.32,1.2)}@keyframes tb3d-hero-lunge{0%{transform:translate(0)}35%{transform:translate(var(--lunge-dx, 0px),var(--lunge-dy, 0px))}52%{transform:translate(calc(var(--lunge-dx, 0px) * .82),calc(var(--lunge-dy, 0px) * .82))}to{transform:translate(0)}}:where(body.tb-has-match-scene) .board-hero--hitflash .board-hero__svg-img{animation:tb3d-hero-hit-flash .16s ease-out}:where(body.tb-has-match-scene) .board-hero--shake.board-hero--hitflash .board-hero__svg-img{animation:tb3d-shake .32s var(--ease-default),tb3d-hero-hit-flash .16s ease-out}@keyframes tb3d-hero-hit-flash{0%,55%{filter:brightness(2.6) saturate(.4) contrast(1.1)}to{filter:none}}:where(body.tb-has-match-scene) .board-area--shake{animation:tb3d-board-shake .3s linear}@keyframes tb3d-board-shake{0%{transform:translate(0)}12%{transform:translate(-6px,3px)}28%{transform:translate(5px,-4px)}46%{transform:translate(-4px,2px)}64%{transform:translate(3px,-2px)}82%{transform:translate(-1px,1px)}to{transform:translate(0)}}:where(body.tb-has-match-scene) .damage-float--big{font-size:38px;color:#ffc247;animation:tb3d-damageFloatBig .85s var(--ease-out) forwards}:where(body.tb-has-match-scene) .damage-float--huge{font-size:52px;color:#ff5040;text-shadow:0 0 10px rgba(255,60,30,.65),0 0 6px #000,0 2px 4px #000,1px 1px 0 rgba(0,0,0,.85);animation:tb3d-damageFloatHuge .95s var(--ease-out) forwards}@keyframes tb3d-damageFloatBig{0%{transform:translate(-50%,4px) scale(.5);opacity:0}18%{transform:translate(-50%,-8px) scale(1.35);opacity:1}32%{transform:translate(-50%,-12px) scale(1);opacity:1}to{transform:translate(-50%,-56px) scale(1.05);opacity:0}}@keyframes tb3d-damageFloatHuge{0%{transform:translate(-50%,6px) scale(.4) rotate(-4deg);opacity:0}14%{transform:translate(-50%,-10px) scale(1.5) rotate(2deg);opacity:1}28%{transform:translate(-50%,-14px) scale(1.05) rotate(0);opacity:1}to{transform:translate(-50%,-64px) scale(1.1);opacity:0}}:where(body.tb-has-match-scene) .damage-float__tag{display:block;font-size:.42em;letter-spacing:.2em;color:#ffd98a;text-shadow:0 0 4px #000,0 1px 2px #000;text-align:center;margin-bottom:-.15em}:where(body.tb-has-match-scene) .hit-spark{position:fixed;width:7px;height:7px;border-radius:50%;background:radial-gradient(circle,#fff3c0,#ffb52e 55%,#ff781e00);pointer-events:none;z-index:197;animation:tb3d-hit-spark-fly .5s var(--ease-out) forwards}@keyframes tb3d-hit-spark-fly{0%{transform:translate(-50%,-50%) scale(1);opacity:1}to{transform:translate(calc(-50% + var(--spark-dx, 0px)),calc(-50% + var(--spark-dy, 0px))) scale(.3);opacity:0}}:where(body.tb-has-match-scene) .board-hero--dissolving .board-hero__svg-img{opacity:0!important;animation:none!important}:where(body.tb-has-match-scene) .sfx-toggle{position:relative;width:38px;height:38px;border:none;cursor:pointer;background:url(/asset/Btn_Obtain001.webp) no-repeat center / 100% 100%;display:flex;align-items:center;justify-content:center;font-size:16px;filter:drop-shadow(0 2px 5px rgba(70,40,15,.35));transition:transform .12s var(--ease-default),filter .12s var(--ease-default)}:where(body.tb-has-match-scene) .sfx-toggle:hover{transform:translateY(-1px);filter:drop-shadow(0 4px 8px rgba(70,40,15,.45)) brightness(1.1)}:where(body.tb-has-match-scene) .sfx-toggle--muted{filter:grayscale(.9) drop-shadow(0 2px 5px rgba(70,40,15,.35))}:where(body.tb-has-match-scene) .match-banner__graveyard{display:flex;align-items:center;gap:4px;margin:0 8px;padding:4px 7px;background:linear-gradient(180deg,#60422024,#6042203d);border:1px solid rgba(112,82,44,.4);border-radius:9px;box-shadow:inset 0 1px 4px #3c260c47}:where(body.tb-has-match-scene) .match-banner__player--red .match-banner__graveyard{flex-direction:row-reverse}:where(body.tb-has-match-scene) .match-banner__grave-icon{width:36px;height:36px;object-fit:contain}:where(body.tb-has-match-scene) .match-banner__grave-icon--dead{filter:grayscale(1) brightness(.78);opacity:.9}:where(body.tb-has-match-scene) .match-banner__grave-icon--empty{opacity:.7}:where(body.tb-has-match-scene) .board--peek{position:relative;pointer-events:none}:where(body.tb-has-match-scene) .board--peek .hex-board-svg{filter:sepia(.5) saturate(.65) contrast(.95) brightness(.96);transition:filter .16s ease-out}:where(body.tb-has-match-scene) .board--peek:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:55;box-shadow:inset 0 0 90px #40280866;border-radius:6px}:where(body.tb-has-match-scene) .board--peek:after{content:"⏳ 当时战况";position:absolute;top:10px;left:50%;transform:translate(-50%);z-index:56;pointer-events:none;padding:4px 14px;border-radius:999px;background:#38260cd1;color:#f2e2b8;font-family:var(--font-display);font-size:13px;letter-spacing:.18em}@media(max-width:860px){:where(body.tb-has-match-scene) .match-scene{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:6px;padding:calc(6px + env(safe-area-inset-top)) calc(6px + env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) calc(6px + env(safe-area-inset-left));height:100dvh}:where(body.tb-has-match-scene) .match-scene .match-banner{grid-row:1;grid-column:1}:where(body.tb-has-match-scene) .match-scene .pool--blue{grid-row:2;grid-column:1}:where(body.tb-has-match-scene) .match-scene .board-area{grid-row:3;grid-column:1}:where(body.tb-has-match-scene) .match-scene .pool--red{grid-row:4;grid-column:1}:where(body.tb-has-match-scene) .match-scene--my-blue .pool--red{grid-row:2;grid-column:1}:where(body.tb-has-match-scene) .match-scene--my-blue .board-area{grid-row:3;grid-column:1}:where(body.tb-has-match-scene) .match-scene--my-blue .pool--blue{grid-row:4;grid-column:1}:where(body.tb-has-match-scene) .match-scene--solo-pool,:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool{grid-template-columns:minmax(0,1fr)}:where(body.tb-has-match-scene) .match-scene--solo-pool .board-area{grid-row:3;grid-column:1}:where(body.tb-has-match-scene) .match-scene--solo-pool .pool--red,:where(body.tb-has-match-scene) .match-scene--solo-pool .pool--blue{grid-row:4;grid-column:1}:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool .board-area{grid-row:3;grid-column:1}:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool .pool--blue,:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool .pool--red{grid-row:4;grid-column:1}:where(body.tb-has-match-scene) .match-scene--no-pool{grid-template-columns:minmax(0,1fr)}:where(body.tb-has-match-scene) .match-scene--no-pool .board-area{grid-row:3;grid-column:1}:where(body.tb-has-match-scene) .match-scene{grid-template-rows:52px auto minmax(0,1fr) auto auto}:where(body.tb-has-match-scene) .match-banner{padding:0 6px;gap:0 6px}:where(body.tb-has-match-scene) .match-banner:after{width:160px}:where(body.tb-has-match-scene) .match-banner__deathcount{font-size:var(--fs-xs);letter-spacing:.02em}:where(body.tb-has-match-scene) .match-banner__center{gap:8px}:where(body.tb-has-match-scene) .match-banner__player{display:grid;grid-template-rows:auto auto;align-items:center;column-gap:6px;row-gap:1px;min-width:0}:where(body.tb-has-match-scene) .match-banner>.match-banner__player:first-child{grid-template-columns:minmax(0,1fr) auto}:where(body.tb-has-match-scene) .match-banner>.match-banner__player:first-child .match-banner__player-name{grid-area:1 / 1;justify-self:end}:where(body.tb-has-match-scene) .match-banner>.match-banner__player:first-child .match-banner__graveyard{grid-area:2 / 1;justify-self:end}:where(body.tb-has-match-scene) .match-banner>.match-banner__player:first-child .match-banner__player-avatar-wrap{grid-area:1 / 2 / 3 / 3}:where(body.tb-has-match-scene) .match-banner>.match-banner__player:last-child{grid-template-columns:auto minmax(0,1fr)}:where(body.tb-has-match-scene) .match-banner>.match-banner__player:last-child .match-banner__player-avatar-wrap{grid-area:1 / 1 / 3 / 2}:where(body.tb-has-match-scene) .match-banner>.match-banner__player:last-child .match-banner__player-name{grid-area:1 / 2;justify-self:start}:where(body.tb-has-match-scene) .match-banner>.match-banner__player:last-child .match-banner__graveyard{grid-area:2 / 2;justify-self:start}:where(body.tb-has-match-scene) .match-banner__player-avatar-wrap,:where(body.tb-has-match-scene) .match-banner__player-avatar{width:38px;height:38px}:where(body.tb-has-match-scene) .match-banner__player-seal{width:19px;height:19px;font-size:11px}:where(body.tb-has-match-scene) .match-banner__player-name{font-size:var(--fs-xs);max-width:5.4em;letter-spacing:.02em}:where(body.tb-has-match-scene) .match-banner__graveyard{margin:0;padding:2px 3px;gap:2px;border-radius:6px}:where(body.tb-has-match-scene) .match-banner__grave-icon{width:14px;height:14px}:where(body.tb-has-match-scene) .match-banner__turn-pill{min-width:52px;padding:3px 8px}:where(body.tb-has-match-scene) .match-banner__turn-pill-body{gap:4px}:where(body.tb-has-match-scene) .pool{flex-direction:row;align-items:center;gap:8px;padding:6px 8px;overflow-x:auto;overflow-y:hidden;touch-action:pan-x}:where(body.tb-has-match-scene) .pool__grid{grid-auto-flow:column;grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-columns:minmax(0,1fr);gap:4px;flex:1;min-width:0}:where(body.tb-has-match-scene) .hero-card__img--body{display:none}:where(body.tb-has-match-scene) .hero-card__img--head{display:block}:where(body.tb-has-match-scene) .hero-card{aspect-ratio:1}:where(body.tb-has-match-scene) .pool__recycle{flex-direction:row;gap:12px;text-align:left;padding:8px 12px}:where(body.tb-has-match-scene) .pool__recycle-figure{width:56px;height:56px}:where(body.tb-has-match-scene) .pool__recycle-sigil{width:27px;height:27px;right:-5px;bottom:-3px}:where(body.tb-has-match-scene) .pool__recycle-text{text-align:left}:where(body.tb-has-match-scene) .pool__recycle-cost{align-self:flex-start}:where(body.tb-has-match-scene) .match-scene--solo-pool .pool{max-height:200px;transition:max-height .22s ease,padding .22s ease,opacity .16s var(--ease-default)}:where(body.tb-has-match-scene) .match-scene--solo-pool .pool--collapsed{max-height:0;padding-top:0;padding-bottom:0;min-height:0}:where(body.tb-has-match-scene) .match-scene--solo-pool.match-scene--bench-phase.match-scene--pool-open .hud{display:none}:where(body.tb-has-match-scene) .hero-card__stats{padding:0;background:none;inset:auto 0 0 0;height:0;overflow:visible;align-items:flex-end}:where(body.tb-has-match-scene) .hero-card__stat{width:26px;height:26px;margin-bottom:-1px;position:absolute;bottom:0}:where(body.tb-has-match-scene) .hero-card__atk{left:-1px}:where(body.tb-has-match-scene) .hero-card__hp{right:-1px}:where(body.tb-has-match-scene) .hero-card__stat-val{font-size:13px}:where(body.tb-has-match-scene) .board-area{min-height:0}:where(body.tb-has-match-scene) .board__overlay{top:6px;right:6px;gap:6px}:where(body.tb-has-match-scene) .hud{position:static;grid-row:5;grid-column:1;left:auto;right:auto;bottom:auto;justify-content:center;align-items:center;gap:8px;pointer-events:auto}:where(body.tb-has-match-scene) .hud__actions{flex-direction:row;align-items:center;justify-content:center;width:100%;gap:18px}:where(body.tb-has-match-scene) .hud__action--end{width:68px;height:68px}:where(body.tb-has-match-scene) .hud__action--swap{width:56px;height:56px}:where(body.tb-has-match-scene) .hud__action--primary{min-height:46px;padding:10px 24px}:where(body.tb-has-match-scene) .hero-preview{max-width:none;right:8px}}@media(min-width:601px)and (max-width:860px){:where(body.tb-has-match-scene) .pool__grid{grid-template-rows:auto;grid-auto-columns:minmax(0,1fr);gap:8px}:where(body.tb-has-match-scene) .hero-card__stat{width:30px;height:30px}:where(body.tb-has-match-scene) .hero-card__stat-val{font-size:16px}:where(body.tb-has-match-scene) .hud__action--end{width:84px;height:84px}:where(body.tb-has-match-scene) .hud__action--swap{width:68px;height:68px}}@media(max-width:860px)and (orientation:landscape)and (min-aspect-ratio:3/2){:where(body.tb-has-match-scene) .match-scene{grid-template-columns:132px 1fr 132px;grid-template-rows:44px minmax(0,1fr);gap:6px;padding:6px}:where(body.tb-has-match-scene) .match-scene .match-banner{grid-row:1;grid-column:1 / -1}:where(body.tb-has-match-scene) .match-scene .pool--blue{grid-row:2;grid-column:1}:where(body.tb-has-match-scene) .match-scene .board-area{grid-row:2;grid-column:2}:where(body.tb-has-match-scene) .match-scene .pool--red{grid-row:2;grid-column:3}:where(body.tb-has-match-scene) .match-scene--my-blue .pool--red{grid-row:2;grid-column:1}:where(body.tb-has-match-scene) .match-scene--my-blue .board-area{grid-row:2;grid-column:2}:where(body.tb-has-match-scene) .match-scene--my-blue .pool--blue{grid-row:2;grid-column:3}:where(body.tb-has-match-scene) .match-scene--solo-pool,:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool{grid-template-columns:1fr 132px}:where(body.tb-has-match-scene) .match-scene--solo-pool .board-area{grid-row:2;grid-column:1}:where(body.tb-has-match-scene) .match-scene--solo-pool .pool--red,:where(body.tb-has-match-scene) .match-scene--solo-pool .pool--blue{grid-row:2;grid-column:2}:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool .board-area{grid-row:2;grid-column:1}:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool .pool--blue,:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool .pool--red{grid-row:2;grid-column:2}:where(body.tb-has-match-scene) .match-scene--no-pool{grid-template-columns:1fr}:where(body.tb-has-match-scene) .match-scene--no-pool .board-area{grid-row:2;grid-column:1}:where(body.tb-has-match-scene) .match-scene{transition:grid-template-columns .22s var(--ease-default),column-gap .22s var(--ease-default)}:where(body.tb-has-match-scene) .match-scene--solo-pool:not(.match-scene--pool-open),:where(body.tb-has-match-scene) .match-scene--my-blue.match-scene--solo-pool:not(.match-scene--pool-open){grid-template-columns:minmax(0,1fr) 0px;column-gap:0}:where(body.tb-has-match-scene) .pool{flex-direction:column;align-items:stretch;overflow-x:hidden;overflow-y:auto;touch-action:auto;padding:8px 6px}:where(body.tb-has-match-scene) .match-scene--solo-pool .pool{max-height:none}:where(body.tb-has-match-scene) .match-scene--solo-pool .pool--collapsed{max-height:none;padding:8px 0}:where(body.tb-has-match-scene) .match-scene--solo-pool.match-scene--bench-phase.match-scene--pool-open .hud{display:flex}:where(body.tb-has-match-scene) .pool__grid{grid-auto-flow:row;grid-template-columns:repeat(2,1fr);grid-template-rows:auto;grid-auto-columns:auto;justify-content:stretch}:where(body.tb-has-match-scene) .match-scene--solo-pool:not(.match-scene--pool-open) .hud{left:6px;right:6px}:where(body.tb-has-match-scene) .hud{position:absolute;grid-row:auto;left:144px;right:144px;bottom:10px;justify-content:flex-end;align-items:flex-end;pointer-events:none}:where(body.tb-has-match-scene) .hud__actions{flex-direction:column;align-items:flex-end;width:auto;gap:8px}:where(body.tb-has-match-scene) .hud__action--end{width:72px;height:72px}:where(body.tb-has-match-scene) .hud__action--swap{width:58px;height:58px}}@media(max-width:600px)and (max-aspect-ratio:3/2){:where(body.tb-has-match-scene) .match-scene:not(.match-scene--solo-pool) .pool__grid{grid-template-rows:auto;gap:3px}:where(body.tb-has-match-scene) .match-scene:not(.match-scene--solo-pool) .hero-card__stat{width:17px;height:17px}:where(body.tb-has-match-scene) .match-scene:not(.match-scene--solo-pool) .hero-card__stat-val{font-size:10px}}:where(body.tb-has-match-scene) .h-section--inline{margin:0;flex:1}:where(body.tb-has-match-scene) .h-section__count{color:var(--wax-red);font-family:var(--font-num);font-size:var(--fs-xs);letter-spacing:.12em;margin-left:4px;font-weight:700}:where(body.tb-has-match-scene) .h-section__note{color:var(--parchment-ink-soft);font-size:var(--fs-xs);font-style:italic;letter-spacing:.04em;margin-left:10px;font-weight:400}:where(body.tb-has-match-scene) .btn--cta{font-size:var(--fs-sm);flex-shrink:0;letter-spacing:.12em}:where(body.tb-has-match-scene) .btn--challenge{flex:1;font-size:var(--fs-md);padding:12px 16px;letter-spacing:.42em;background:url(/asset/NormalRedBtnBg1.webp) no-repeat center / 100% 100%;border:none;color:#fff5d8;text-shadow:0 1px 1px rgba(0,0,0,.6),0 0 4px rgba(40,10,8,.7);box-shadow:none;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700;filter:drop-shadow(0 2px 3px rgba(70,30,10,.3));transition:filter var(--t-fast) var(--ease-default),transform var(--t-fast) var(--ease-default)}:where(body.tb-has-match-scene) .btn--challenge:before{content:"";width:22px;height:22px;background:url(/asset/BtnIcon_Challenge.webp) no-repeat center / contain;filter:drop-shadow(0 1px 1px rgba(0,0,0,.5))}:where(body.tb-has-match-scene) .btn--challenge:hover{filter:drop-shadow(0 3px 5px rgba(155,40,32,.45)) brightness(1.06);transform:translateY(-1px)}:where(body.tb-has-match-scene) .btn--challenge:active{background-image:url(/asset/NormalRedBtnBg2.webp);transform:translateY(0);filter:drop-shadow(0 1px 2px rgba(70,30,10,.4))}:where(body.tb-has-match-scene) .btn--edit{letter-spacing:.12em}:where(body.tb-has-match-scene) .h-display{font-family:var(--font-display);font-size:var(--fs-display);font-weight:700;letter-spacing:.04em;margin:0;color:var(--parchment-dark);line-height:1.1}:where(body.tb-has-match-scene) .h-section{font-family:var(--font-display);font-size:var(--fs-md);font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--parchment-dark);margin:0 0 12px;display:flex;align-items:center;gap:12px}:where(body.tb-has-match-scene) .h-section:after{content:"";flex:1;height:6px;background:linear-gradient(to right,var(--parchment-rule) 0%,transparent 100%);-webkit-mask:linear-gradient(transparent 40%,#000 41% 60%,transparent 61%);mask:linear-gradient(transparent 40%,#000 41% 60%,transparent 61%)}:where(body.tb-has-match-scene) .btn{background:linear-gradient(180deg,#f3e2b4,#e3c890);border:none;color:var(--parchment-dark);font-family:var(--font-display);font-size:var(--fs-sm);letter-spacing:.1em;padding:9px 22px;border-radius:5px;font-weight:600;cursor:pointer;box-shadow:0 1px #fffadccc inset,0 -2px 5px #46280f26 inset,0 2px 4px #46280f38;transition:transform var(--t-fast) var(--ease-default),background var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default),color var(--t-fast) var(--ease-default)}:where(body.tb-has-match-scene) .btn:hover{background:linear-gradient(180deg,#faeac0,#ecd09a);transform:translateY(-1px);box-shadow:0 1px #fffadce6 inset,0 -2px 5px #46280f26 inset,0 4px 8px #46280f47;color:var(--wax-red)}:where(body.tb-has-match-scene) .btn:active{transform:translateY(0);box-shadow:0 2px 3px #46280f4d inset,0 1px 1px #46280f26}:where(body.tb-has-match-scene) .btn:disabled{opacity:.4;cursor:not-allowed;transform:none}:where(body.tb-has-match-scene) .btn--primary{background:linear-gradient(180deg,#c44038,#8a241c);color:#fbf0c8;text-shadow:0 1px 1px rgba(40,8,6,.55);box-shadow:0 1px #ffdcb44d inset,0 -2px 5px #28080673 inset,0 2px 4px #46280f4d}:where(body.tb-has-match-scene) .btn--primary:hover{background:linear-gradient(180deg,#d44a40,#9c2a22);color:#fff5d8;box-shadow:0 1px #ffdcb459 inset,0 -2px 5px #28080673 inset,0 4px 10px #9b282073}:where(body.tb-has-match-scene) .btn--ghost{background:transparent;box-shadow:none;color:var(--parchment-ink);padding:7px 14px}:where(body.tb-has-match-scene) .btn--ghost:hover{background:linear-gradient(180deg,#fffadc8c,#e8d2a08c);color:var(--wax-red);box-shadow:0 1px #fffadc99 inset,0 1px 2px #46280f2e;transform:translateY(-1px)}:where(body.tb-has-match-scene) .btn--small{font-size:var(--fs-xs);padding:5px 12px;letter-spacing:.06em}:where(body.tb-has-match-scene) .modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#281a0c8c;z-index:100;display:flex;align-items:center;justify-content:center;animation:tb3d-fadeIn .2s var(--ease-default);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}@media(hover:none),(pointer:coarse){:where(body.tb-has-match-scene) .spectator-banner{-webkit-backdrop-filter:none;backdrop-filter:none;background:#211e1af0}:where(body.tb-has-match-scene) .takeover-banner{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0e0c0af5}:where(body.tb-has-match-scene) .modal-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}:where(body.tb-has-match-scene) .modal{background:linear-gradient(#fffaebb3,#fffaebb3),url(/img/parchment_tile.webp) repeat,#f7ead0;background-size:auto,920px 920px,auto;border:none;border-radius:8px;padding:32px;min-width:480px;max-width:600px;display:flex;flex-direction:column;gap:16px;color:var(--parchment-dark);box-shadow:0 1px #fffadcd9 inset,0 -2px 8px #46280f1a inset,0 6px 14px #28140873,0 20px 60px #28140880;animation:tb3d-scaleIn .2s var(--ease-default);position:relative}:where(body.tb-has-match-scene) .modal--wide{min-width:min(720px,90vw);max-width:min(900px,92vw)}:where(body.tb-has-match-scene) .modal-backdrop--top{z-index:120}:where(body.tb-has-match-scene) .modal__title{font-family:var(--font-display);font-size:var(--fs-lg);font-weight:700;letter-spacing:.18em;color:var(--parchment-dark);margin:0;text-align:center}:where(body.tb-has-match-scene) .modal__title:before{content:"❦ ";color:var(--wax-red);font-size:.8em;margin-right:4px}:where(body.tb-has-match-scene) .modal__title:after{content:" ❦";color:var(--wax-red);font-size:.8em;margin-left:4px}:where(body.tb-has-match-scene) .modal__tabs{display:flex;gap:0;position:relative;border-bottom:1px solid var(--parchment-rule)}:where(body.tb-has-match-scene) .modal__tab{background:transparent;border:none;color:var(--parchment-ink-soft);padding:10px 18px;font-family:var(--font-display);font-size:var(--fs-sm);font-weight:600;letter-spacing:.14em;cursor:pointer;position:relative;transition:color var(--t-fast) var(--ease-default)}:where(body.tb-has-match-scene) .modal__tab:after{content:"";position:absolute;left:18px;right:18px;bottom:-1px;height:2px;background:transparent;transition:background var(--t-fast) var(--ease-default)}:where(body.tb-has-match-scene) .modal__tab:hover{color:var(--parchment-dark)}:where(body.tb-has-match-scene) .modal__tab.active{color:var(--wax-red)}:where(body.tb-has-match-scene) .modal__tab.active:after{background:var(--wax-red)}:where(body.tb-has-match-scene) .modal__tab:disabled{opacity:.35;cursor:not-allowed}:where(body.tb-has-match-scene) .modal__content{min-height:120px;display:flex;flex-direction:column;gap:16px;padding:8px 0}:where(body.tb-has-match-scene) .modal__actions{display:flex;justify-content:flex-end;gap:8px}:where(body.tb-has-match-scene) .modal--dialog{min-width:min(360px,88vw);max-width:min(440px,92vw);gap:12px}:where(body.tb-has-match-scene) .modal__body{margin:0;text-align:center;font-size:var(--fs-sm);line-height:1.6;color:var(--parchment-ink);overflow-wrap:anywhere}:where(body.tb-has-match-scene) .modal--dialog .modal__actions{justify-content:center;gap:12px;margin-top:4px}:where(body.tb-has-match-scene) .form-row{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}:where(body.tb-has-match-scene) .form-row__label{font-family:var(--font-display);font-size:var(--fs-sm);color:var(--parchment-ink);font-weight:700}:where(body.tb-has-match-scene) .form-row__hint{font-size:var(--fs-xs);color:var(--parchment-ink-soft);font-style:italic}:where(body.tb-has-match-scene) .field{display:flex;flex-direction:column;gap:8px}:where(body.tb-has-match-scene) .field__label{font-size:var(--fs-xs);letter-spacing:.14em;color:var(--parchment-ink-soft);font-family:var(--font-display);font-weight:600}:where(body.tb-has-match-scene) .field__hint{font-size:var(--fs-sm);color:var(--parchment-ink-soft);font-style:italic}@keyframes tb3d-scaleIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@media(max-width:760px){:where(body.tb-has-match-scene) .btn{min-height:44px}:where(body.tb-has-match-scene) .btn--small{min-height:40px}:where(body.tb-has-match-scene) .modal-backdrop{align-items:flex-end}:where(body.tb-has-match-scene) .modal{min-width:0;width:100%;max-width:100%;max-height:92dvh;overflow-y:auto;padding:20px 16px 24px;border-radius:12px 12px 0 0}:where(body.tb-has-match-scene) .modal--wide{min-width:0;max-width:100%}:where(body.tb-has-match-scene) .modal__title{font-size:var(--fs-md);letter-spacing:.12em}:where(body.tb-has-match-scene) .modal__tabs{gap:4px}:where(body.tb-has-match-scene) .modal__tab{padding:10px;font-size:var(--fs-sm)}:where(body.tb-has-match-scene) .modal__actions{gap:10px}:where(body.tb-has-match-scene) .modal__actions .btn{flex:1}}:where(body.tb-has-match-scene){--source-gold: #e8c159;--source-atk: #3dffff;--source-hp: #fffc89;--source-white: #fff;--source-night: #101a1c;--source-wood: #32271e;--source-line: #987743;--source-panel: url(/asset/original-ui/NormalPanelBg-e88e239b-2.webp);--source-popup: url(/asset/original-ui/NormalPopupBg-0dba36ee-2.webp);--source-button: url(/asset/original-ui/NormalBrownBtnBg1-834a1fe7-1.webp);--source-green-button: url(/asset/original-ui/NormalGreenBtnBg1-2f849ec5-1.webp)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three button:focus-visible{outline:3px solid var(--source-atk);outline-offset:3px}:where(body.tb-has-match-scene) .board--three .match-three-stage>canvas{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;touch-action:none}:where(body.tb-has-match-scene) .board--three{isolation:isolate;width:100%;height:100%;min-height:0;border-radius:0;background:#1d211d}:where(body.tb-has-match-scene) .board--three:before{display:none}:where(body.tb-has-match-scene) .board--three :is(.match-three-stage,.match-three-overlay,.board-labels){position:absolute;top:0;right:0;bottom:0;left:0}:where(body.tb-has-match-scene) .board--three .match-three-stage{z-index:0}:where(body.tb-has-match-scene) .board--three .match-three-overlay{z-index:2;pointer-events:none}:where(body.tb-has-match-scene) .board--three .match-three-overlay>svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;max-width:none;max-height:none;pointer-events:none}:where(body.tb-has-match-scene) .board--three .match-three-overlay :is(.hex,.board-hero){pointer-events:auto;touch-action:none}:where(body.tb-has-match-scene) .board--three .match-three-overlay .hex{fill:transparent;stroke:transparent;filter:none}:where(body.tb-has-match-scene) .board--three .match-three-overlay .hex-label,:where(body.tb-has-match-scene) .board--three .match-three-stage .unit-label,:where(body.tb-has-match-scene) .board--three .board-hero:not(.board-hero--dead):not(.board-hero--preview) .board-hero__svg-img{display:none}:where(body.tb-has-match-scene) .board--three .stat-chip--atk .stat-chip__text{fill:var(--source-atk)}:where(body.tb-has-match-scene) .board--three .stat-chip--hp .stat-chip__text{fill:var(--source-hp)}:where(body.tb-has-match-scene) .board--three .board-labels{z-index:3;overflow:hidden;pointer-events:none}:where(body.tb-has-match-scene) .board--three .match-three-stage .damage-float{position:absolute;top:0;left:0;animation:none;font-size:clamp(18px,2.2vw,28px);white-space:nowrap}:where(body.tb-has-match-scene) .match-three-status{position:absolute;z-index:5;left:50%;bottom:8px;width:max-content;max-width:calc(100% - 24px);transform:translate(-50%);padding:6px 12px;border:1px solid #80623b;border-radius:4px;background:#171b18e8;color:#fff1c0;font-size:12px;line-height:1.5;overflow-wrap:anywhere;pointer-events:none}:where(body.tb-has-match-scene) .match-three-status:empty{display:none}:where(body.tb-has-match-scene) .match-three-status--error{border-color:#dd9266;color:#ffe4d1}:where(body.tb-has-match-scene) .board[data-three-fallback]:after{content:"3D 不可用 · 已切换到二维棋盘";position:absolute;z-index:5;bottom:6px;left:50%;transform:translate(-50%);max-width:calc(100% - 16px);padding:5px 10px;border-radius:4px;background:#30271de8;color:#fff4cd;font-size:12px;text-align:center;pointer-events:none}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three{--source-header-h: clamp(66px, 12.03125dvh, 112px);--source-tray-h: clamp(118px, 19.21875dvh, 210px);--source-action-h: clamp(94px, 15.5dvh, 150px);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:var(--source-header-h) minmax(0,1fr) var(--source-action-h);gap:0;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:hidden;color:#fff;background:#151b19;transition:none}:where(body.tb-has-match-scene) .match-scene.match-scene--pool-open.tb-has-board-three{grid-template-rows:var(--source-header-h) minmax(0,1fr) var(--source-tray-h)}:where(body.tb-has-match-scene) .match-scene.match-scene--solo-pool.tb-has-board-three{grid-template-columns:minmax(0,1fr)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner{grid-area:1 / 1;z-index:8;align-items:start;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:0;padding:0;background:linear-gradient(#1a1a14,#141c1a00);border:0;border-radius:0;box-shadow:none}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner:after{display:none}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:5px;row-gap:0;width:100%;min-width:0;padding:4px 3px;justify-self:stretch;align-items:center}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player:first-child .match-banner__player-avatar-wrap{grid-area:1 / 1 / 3 / 2}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player:first-child .match-banner__player-name{grid-area:1 / 2;justify-self:stretch}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player:first-child .match-banner__graveyard{grid-area:2 / 2;justify-self:start}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player:last-child{grid-template-columns:minmax(0,1fr) auto}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player:last-child .match-banner__player-avatar-wrap{grid-area:1 / 2 / 3 / 3}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player:last-child .match-banner__player-name{grid-area:1 / 1;justify-self:stretch}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player:last-child .match-banner__graveyard{grid-area:2 / 1;justify-self:end}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player-avatar-wrap{width:clamp(42px,7.5dvh,74px);height:clamp(49px,8.7dvh,86px);padding:5px;background:url(/asset/original-ui/HeaderBox1-58ace000-1.webp) center / 100% 100% no-repeat}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player-avatar{width:100%;height:100%;border:0;border-radius:5px;box-shadow:none;background:#15130f}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player--acting .match-banner__player-avatar-wrap{filter:drop-shadow(0 0 5px #f5d77b90)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player-name{min-width:0;max-width:none;padding:6px 7px;color:#fff;font-size:clamp(11px,1.7dvh,16px);letter-spacing:0;line-height:1.2;text-align:center;text-shadow:0 1px 2px #000;background:url(/asset/original-ui/TopBar_NameBg_Blue-061c1a2c-1.webp) center / 100% 100% no-repeat}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player--red .match-banner__player-name{background-image:url(/asset/original-ui/TopBar_NameBg_Red-ec57a297-1.webp)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__graveyard{gap:3px;margin:2px 4px;padding:2px 4px;background:#161b17b3;border:1px solid #77613e;border-radius:3px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__grave-icon{width:15px;height:15px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__turn-pill{--turn-aperture-center: 50.310559%;--turn-aperture-size: 81.987578%;width:clamp(56px,8.3854dvh,84px);height:clamp(56px,8.3854dvh,84px);min-width:0;margin-top:1px;padding:0;justify-content:center;border:none;border-radius:50%;background:radial-gradient(circle,#242b31 42%,#080e17 67%,transparent 69%);box-shadow:none;color:#fff}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__turn-pill:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:url(/asset/original-ui/TurnRingBox1-830b3519-1.webp) center / 100% 100% no-repeat}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__turn-pill-body{z-index:2}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__turn-pill-label{color:#fff;font-size:10px;letter-spacing:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__turn-pill-num{color:var(--source-hp);font-size:clamp(16px,2.5dvh,25px)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__turn-pill-water{inset:auto;left:var(--turn-aperture-center);top:var(--turn-aperture-center);width:var(--turn-aperture-size);height:var(--turn-aperture-size);transform:translate(-50%,-50%);border-radius:50%;overflow:hidden;clip-path:circle(50% at 50% 50%)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .board-area{grid-area:2 / 1;min-width:0;min-height:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .board__overlay{top:8px;right:8px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .sfx-toggle{width:44px;height:44px;color:#fff;background:#21241cdc;border:1px solid var(--source-line)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool{grid-area:3 / 1;z-index:7;display:flex;flex-direction:column;align-items:stretch;justify-content:center;min-height:0;max-height:none;gap:0;padding:6px 18.5% 6px 16.2%;border:0;border-radius:0;background:url(/asset/original-ui/UnitListPanel_bg-22b641c9-1.webp) center / 100% 100% no-repeat;box-shadow:none;overflow:hidden;touch-action:none}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool__grid{display:grid;flex:none;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;width:100%;height:100%;gap:3px}:where(body.tb-has-match-scene) .match-scene.match-scene--solo-pool.tb-has-board-three .pool--collapsed{display:none;max-height:0;padding:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card{width:100%;height:100%;min-height:44px;aspect-ratio:auto;border:0;border-radius:0;background:url(/asset/original-ui/Header_bg-24de6b73-1.webp) center / 100% 100% no-repeat;box-shadow:none;overflow:hidden;touch-action:none}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card:after{display:none}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__img--body{display:none}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__img--head{display:block;padding:3px 6px 8px;object-fit:contain}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card--selected{outline:2px solid var(--source-atk);outline-offset:-2px;filter:drop-shadow(0 0 4px #3dffff99)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__stats{padding:0;background:none;inset:auto 0 0;height:0;overflow:visible}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__stat{position:absolute;bottom:0;width:24px;height:24px;margin:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__atk{left:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__hp{right:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__stat-val{font-size:13px;text-shadow:0 1px 2px #000,1px 0 #000,-1px 0 #000}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__atk .hero-card__stat-val{color:var(--source-atk)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__hp .hero-card__stat-val{color:var(--source-hp)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool__recycle{top:5px;right:18.5%;bottom:5px;left:16.2%;flex-direction:row;padding:8px;gap:8px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool__recycle-figure{width:44px;height:44px;flex-shrink:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud{display:flex;position:absolute;z-index:9;inset:auto env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);height:var(--source-action-h);align-items:center;justify-content:center;pointer-events:none}:where(body.tb-has-match-scene) .match-scene.match-scene--pool-open.tb-has-board-three .hud{height:var(--source-tray-h)}:where(body.tb-has-match-scene) .match-scene.match-scene--solo-pool.match-scene--bench-phase.match-scene--pool-open.tb-has-board-three .hud{display:flex}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud__actions{position:relative;width:100%;height:100%;display:block;pointer-events:none}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three :is(.hud__action--end,.hud__action--swap){position:absolute;top:50%;height:auto;min-height:44px;min-width:44px;padding:0;border:0;border-radius:0;transform:translate(-50%,-50%);background-color:transparent;background-position:center;background-size:contain;background-repeat:no-repeat;box-shadow:none;pointer-events:auto}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud__action--end{left:50%;width:clamp(82px,23.48vw,130px);aspect-ratio:237 / 209;background-image:url(/asset/original-ui/Btn_EndTurn1-704743d8-1.webp)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud__action--swap{left:6.5%;width:clamp(48px,15vw,86px);aspect-ratio:216 / 221;background-image:url(/asset/original-ui/Btn_Collect1-a69ee864-1.webp)}:where(body.tb-has-match-scene) .match-scene.match-scene--pool-open.tb-has-board-three .hud__action--end{left:91%;width:clamp(52px,17.7vw,90px)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three :is(.hud__action--end,.hud__action--swap):hover:not(:disabled){filter:brightness(1.15)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three :is(.hud__action--end,.hud__action--swap):active:not(:disabled){transform:translate(-50%,-48%);filter:brightness(.92)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three :is(.hud__action--end,.hud__action--swap):disabled{opacity:.55;filter:saturate(.2)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud__action--swap--on{filter:drop-shadow(0 0 6px #3dffff)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud__action--primary{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-height:48px;color:#fffbc6;border:8px solid transparent;border-image:var(--source-green-button) 40 50 fill / 8px / 0 stretch;background:transparent;pointer-events:auto}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls{grid-template-rows:var(--source-header-h) 48px minmax(0,1fr) 48px 98px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .board-area{grid-area:3 / 1}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .pool--blue{grid-area:2 / 1}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .pool--red{grid-area:4 / 1}:where(body.tb-has-match-scene) .match-scene--my-blue.tb-has-board-three.tb-has-replay-controls .pool--red{grid-area:2 / 1}:where(body.tb-has-match-scene) .match-scene--my-blue.tb-has-board-three.tb-has-replay-controls .pool--blue{grid-area:4 / 1}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .pool{padding:3px 8px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .pool__grid{grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .hero-card{min-height:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .hero-card__stat{width:17px;height:17px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .hero-card__stat-val{font-size:10px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .hud{height:98px;padding:0 12px 5px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .replay-controls{width:min(100%,520px);gap:0;padding:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .replay-controls__progress{height:34px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .replay-controls__row{justify-content:center;gap:6px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .replay-controls__btn{min-width:44px;min-height:48px;padding:5px 10px;color:var(--source-gold);background:url(/asset/original-ui/Btn_Speed1-f54ff6a7-1.webp) center / 100% 100% no-repeat;border:0;border-radius:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .replay-controls__btn--active{color:#fff;filter:drop-shadow(0 0 4px #3dffff)}:where(body.tb-has-match-scene) .modal{min-width:0;width:min(600px,100%);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;color:#fff0ca;background:transparent;border:14px solid transparent;border-image:var(--source-panel) 45 50 47 45 fill / 14px / 0 stretch;border-radius:0}:where(body.tb-has-match-scene) .modal :is(.modal__title,.field__label){color:var(--source-gold)}:where(body.tb-has-match-scene) .modal.modal--wide{width:min(900px,100%)}:where(body.tb-has-match-scene) .modal :is(.modal__body,.field__hint){color:#f0e4c7}:where(body.tb-has-match-scene) .modal .modal__tab{min-height:44px;color:#e3d7b6}:where(body.tb-has-match-scene) .modal .modal__tab.active{color:var(--source-gold)}:where(body.tb-has-match-scene) .modal .modal__tab.active:after{background:var(--source-gold)}:where(body.tb-has-match-scene) .modal-backdrop{background:#041015b8;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}@media(min-width:1024px)and (min-height:600px){:where(body.tb-has-match-scene) .match-scene.tb-has-board-three{--source-side-w: clamp(200px, 20vw, 280px);--source-header-h: 86px;grid-template-columns:minmax(0,1fr) var(--source-side-w);grid-template-rows:86px minmax(0,1fr) 118px;gap:12px;padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:radial-gradient(ellipse at center,#203030,#111915 75%)}:where(body.tb-has-match-scene) .match-scene.match-scene--pool-open.tb-has-board-three{grid-template-rows:86px minmax(0,1fr) 118px}:where(body.tb-has-match-scene) .match-scene.match-scene--solo-pool.tb-has-board-three{grid-template-columns:minmax(0,1fr) var(--source-side-w)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner{grid-area:1 / 1 / 2 / -1;max-width:1000px;width:100%;justify-self:center}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player{column-gap:10px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player-name{font-size:18px;padding:9px 14px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player-avatar-wrap{width:67px;height:77px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__turn-pill{width:78px;height:78px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__grave-icon{width:20px;height:20px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .board-area{grid-area:2 / 1 / 4 / 2;border:1px solid #6c5937;border-radius:10px;overflow:hidden}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool{grid-area:2 / 2;justify-content:start;padding:14px;border:12px solid transparent;border-image:var(--source-popup) 32 28 35 30 fill / 12px / 0 stretch;background:transparent;overflow-y:auto;touch-action:pan-y}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool__grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(72px,1fr));height:100%;gap:5px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card{min-height:72px;max-height:130px;touch-action:pan-y}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__stat{width:28px;height:28px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__stat-val{font-size:16px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool__recycle{top:12px;right:12px;bottom:12px;left:12px;flex-direction:column}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool__recycle-figure{width:72px;height:72px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud,:where(body.tb-has-match-scene) .match-scene.match-scene--pool-open.tb-has-board-three .hud{position:relative;inset:auto;grid-area:3 / 2;height:118px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud__action--swap{left:22%;width:70px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud__action--end,:where(body.tb-has-match-scene) .match-scene.match-scene--pool-open.tb-has-board-three .hud__action--end{left:68%;width:100px}:where(body.tb-has-match-scene) .match-scene.match-scene--solo-pool:not(.match-scene--pool-open).tb-has-board-three .board-area{grid-column:1 / -1;grid-row:2 / 3}:where(body.tb-has-match-scene) .match-scene.match-scene--no-pool.tb-has-board-three .board-area{grid-column:1 / -1}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls{grid-template-columns:var(--source-side-w) minmax(0,1fr) var(--source-side-w);grid-template-rows:86px minmax(0,1fr) 98px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .board-area{grid-area:2 / 2}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .pool{grid-area:2 / 1;padding:12px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .pool--red{grid-area:2 / 3}:where(body.tb-has-match-scene) .match-scene--my-blue.tb-has-board-three.tb-has-replay-controls .pool--red{grid-area:2 / 1}:where(body.tb-has-match-scene) .match-scene--my-blue.tb-has-board-three.tb-has-replay-controls .pool--blue{grid-area:2 / 3}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .pool__grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(64px,1fr))}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .hud{grid-area:3 / 1 / 4 / -1;height:98px;width:100%;justify-self:center}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .hero-card__stat{width:26px;height:26px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .hero-card__stat-val{font-size:14px}}@media(max-height:599px)and (orientation:landscape){:where(body.tb-has-match-scene) .match-scene.tb-has-board-three{--source-header-h: 56px;--source-tray-h: 108px;--source-action-h: 66px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner{width:min(100%,720px);justify-self:center}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player-avatar-wrap{width:40px;height:48px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player-name{font-size:12px;padding:3px 7px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__turn-pill{width:52px;height:52px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool{width:min(100%,520px);justify-self:center;padding:5px 86px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool__grid{gap:3px;width:min(100%,208px);align-self:center}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card{min-height:44px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__stat{width:19px;height:19px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card__stat-val{font-size:11px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud{width:min(100%,520px);left:50%;right:auto;transform:translate(-50%)}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud__action--end{width:70px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud__action--swap{width:50px;left:8%}:where(body.tb-has-match-scene) .match-scene.match-scene--pool-open.tb-has-board-three .hud__action--end{width:60px;left:92%}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls{grid-template-rows:56px 32px minmax(0,1fr) 32px 70px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .pool{padding:0 8px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .pool__grid{width:100%}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .hero-card{min-height:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .hud{height:70px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .replay-controls__progress{height:22px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .replay-controls__btn{min-height:44px}}@media(prefers-reduced-motion:reduce){:where(body.tb-has-match-scene) .match-scene.tb-has-board-three{transition:none}}:where(body.tb-has-match-scene) .board--three:has(.match-three-stage[data-native-tombs=true]) .board-hero--dead .board-hero__svg-img{display:none}:where(body.tb-has-match-scene) .board--three .cell-surface{fill:#50a0e61f;stroke:#62c9ef;stroke-width:2.5;stroke-linejoin:round;pointer-events:none}:where(body.tb-has-match-scene) .board--three .cell-surface--deploy{fill:#5ebe7e1f;stroke:#8ce5ab;stroke-dasharray:8 5}:where(body.tb-has-match-scene) .board--three .match-three-status[hidden]{display:none}:where(body.tb-has-match-scene) .match-scene-selector{position:absolute;z-index:28;top:max(8px,env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));display:flex;align-items:center;gap:6px;padding:0 8px;min-height:44px;color:#eddfba;font-size:12px;background:#191918d9;border:1px solid #a58b59;border-radius:8px;pointer-events:auto}:where(body.tb-has-match-scene) .match-scene-selector[hidden]{display:none}:where(body.tb-has-match-scene) .match-scene-selector select{min-height:44px;background:transparent;color:inherit;border:0;font:inherit}:where(body.tb-has-match-scene) .match-scene-selector option{background:#191918}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__graveyard{flex-direction:row;gap:0;padding:0;margin:0;border:0;background:none;border-radius:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player:last-child .match-banner__graveyard{flex-direction:row-reverse}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .native-death-slot{width:clamp(22px,8.52vw,46px);height:auto;aspect-ratio:92 / 116;border:0;border-radius:0;filter:none;opacity:1;flex:0 0 auto;overflow:visible}:where(body.tb-has-match-scene) .native-death-slot[data-fly-target] .native-death-slot__portrait{visibility:hidden}:where(body.tb-has-match-scene) .battle-context-controls{position:absolute;top:0;right:0;bottom:0;left:0;z-index:31;pointer-events:none;overflow:hidden}:where(body.tb-has-match-scene) .battle-context-controls button{position:absolute;right:max(0px,env(safe-area-inset-right));width:max(44px,9.921875dvh);height:max(44px,7.1875dvh);padding:0;background:none;border:0;cursor:pointer;pointer-events:auto;overflow:hidden}:where(body.tb-has-match-scene) .battle-context-controls__hint{top:max(74px,11.848958dvh)}:where(body.tb-has-match-scene) .battle-context-controls .battle-context-controls__reset{top:max(120px,19.11979dvh);width:max(44px,8.932292dvh)}:where(body.tb-has-match-scene) .battle-context-controls img{display:block;width:12.1875dvh;height:7.1875dvh;max-width:none;min-height:44px;object-fit:fill}:where(body.tb-has-match-scene) .battle-context-controls button:disabled{opacity:.55;cursor:default}:where(body.tb-has-match-scene) .battle-context-controls button:focus-visible{outline:2px solid #ffdf70;outline-offset:-2px}:where(body.tb-has-match-scene) .board--three:has(.match-three-stage[data-native-field-items=true]) .env-buff{display:none}:where(body.tb-has-match-scene) .modal-backdrop{overflow-y:auto;align-items:safe center}:where(body.tb-has-match-scene) .modal{flex:0 0 auto}:where(body.tb-has-match-scene) .modal>*{flex-shrink:0}@media(min-width:1000px),(hover:hover)and (pointer:fine){:where(body.tb-has-match-scene) .modal{border:8px solid transparent;border-image:var(--source-panel) 45 50 47 45 / 8px / 0 stretch;background:#222b29;color:#f2eddf;box-shadow:0 8px 22px #0003;text-shadow:none}:where(body.tb-has-match-scene) .modal{width:min(620px,100%);max-width:100%;max-height:calc(100dvh - 32px);min-width:0;padding:20px;gap:16px;scrollbar-gutter:stable}:where(body.tb-has-match-scene) .modal.modal--wide{width:min(900px,100%);min-width:0}:where(body.tb-has-match-scene) .modal.hero-detail{width:min(720px,100%)}:where(body.tb-has-match-scene) .modal--dialog{width:min(440px,100%)}:where(body.tb-has-match-scene) .modal .modal__title{font-size:22px;letter-spacing:.04em;text-align:left;color:#f2d994}:where(body.tb-has-match-scene) .modal .modal__title:before,:where(body.tb-has-match-scene) .modal .modal__title:after{display:none}:where(body.tb-has-match-scene) .modal__tabs{flex-wrap:wrap}:where(body.tb-has-match-scene) .modal__content{min-height:0}:where(body.tb-has-match-scene) .modal__actions{flex-wrap:wrap;gap:10px}:where(body.tb-has-match-scene) .modal__actions .btn{min-height:42px;max-width:240px;white-space:normal}:where(body.tb-has-match-scene) .modal :is(.ai-tier__btn,.ai-team-picker__opt,.avatar-picker-cell){color:#f2eddf;background:#303a35;border-color:#817254;min-height:36px;text-shadow:none}:where(body.tb-has-match-scene) .modal :is(.ai-tier__btn--on,.ai-team-picker__opt--active){background:#25595a;color:#fff6cd;border-color:#8bc9bd}:where(body.tb-has-match-scene) .modal .ai-tier{display:flex;flex-wrap:wrap}:where(body.tb-has-match-scene) .modal .ai-tier__btn{flex:1 1 58px}:where(body.tb-has-match-scene) .modal :is(.modal__body,.field__hint,.resume-modal__key,.resume-modal__val,.avatar-picker-cell__name){color:#e3e3d6}:where(body.tb-has-match-scene) .modal :is(.resume-modal__summary,.form-row){min-width:0}:where(body.tb-has-match-scene) .modal .resume-modal__summary{background:#303a35}}@media(min-width:1000px){:where(body.tb-has-match-scene) .match-scene.tb-has-board-three{--source-side-w: 244px;--source-header-h: 70px;height:100dvh;grid-template-columns:minmax(0,1fr) var(--source-side-w);grid-template-rows:70px minmax(280px,1fr) 84px;gap:12px;padding:12px 16px;overflow:auto;background:#122022}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner{max-width:920px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player-name{padding:7px 12px;font-size:15px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__player-avatar-wrap{width:54px;height:62px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .match-banner__turn-pill{width:64px;height:64px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .native-death-slot{width:30px;height:auto}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .board-area{min-width:0;min-height:280px;grid-area:2 / 1 / 4 / 2;border-color:#746446}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool{grid-area:2 / 2;padding:10px;border:1px solid #746446;border-radius:6px;border-image:none;background:#222b29;overflow-y:auto}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool__grid{grid-template-rows:repeat(4,minmax(64px,1fr));gap:6px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hero-card{min-height:64px;max-height:112px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud,:where(body.tb-has-match-scene) .match-scene.match-scene--pool-open.tb-has-board-three .hud{grid-area:3 / 2;height:84px;border-radius:6px;background:#222b29}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud__action--swap{width:56px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud__action--end,:where(body.tb-has-match-scene) .match-scene.match-scene--pool-open.tb-has-board-three .hud__action--end{width:76px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls{grid-template-columns:200px minmax(0,1fr) 200px;grid-template-rows:70px minmax(280px,1fr) 94px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .board-area{grid-area:2 / 2}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .pool{grid-area:2 / 1}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .pool--red{grid-area:2 / 3}:where(body.tb-has-match-scene) .match-scene--my-blue.tb-has-board-three.tb-has-replay-controls .pool--red{grid-area:2 / 1}:where(body.tb-has-match-scene) .match-scene--my-blue.tb-has-board-three.tb-has-replay-controls .pool--blue{grid-area:2 / 3}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .hud{grid-area:3 / 1 / 4 / -1;height:94px}:where(body.tb-has-match-scene) .match-scene.match-scene--solo-pool:not(.match-scene--pool-open).tb-has-board-three .board-area,:where(body.tb-has-match-scene) .match-scene.match-scene--no-pool.tb-has-board-three .board-area{grid-area:2 / 1 / 3 / -1}}:where(body.tb-has-match-scene) .modal__instruction-art{display:block;width:min(100%,280px);max-height:32dvh;object-fit:contain;margin:12px auto}@media(min-width:1000px){:where(body.tb-has-match-scene) .match-scene.tb-has-board-three,:where(body.tb-has-match-scene) .match-scene.match-scene--pool-open.tb-has-board-three{--source-side-w: clamp(220px, 21vw, 296px);--source-header-h: 70px;grid-template-columns:minmax(0,1fr) var(--source-side-w);grid-template-rows:70px minmax(0,1fr) 96px;gap:12px;padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overflow:hidden;background:#122022}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .board-area{grid-area:2 / 1 / 4 / 2;min-width:0;min-height:0;border:1px solid #aa894b;border-radius:0}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool{grid-area:2 / 2;justify-content:start;min-width:0;min-height:0;padding:10px;border:10px solid transparent;border-image:var(--source-panel) 45 50 47 45 fill / 10px / 0 stretch;border-radius:0;background:transparent;overflow-x:hidden;overflow-y:auto}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .pool__grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(64px,1fr));height:100%;gap:6px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three .hud,:where(body.tb-has-match-scene) .match-scene.match-scene--pool-open.tb-has-board-three .hud{position:relative;inset:auto;grid-area:3 / 2;width:100%;height:96px;border-radius:0;background:#302319}:where(body.tb-has-match-scene) .match-scene.match-scene--solo-pool:not(.match-scene--pool-open).tb-has-board-three .board-area,:where(body.tb-has-match-scene) .match-scene.match-scene--no-pool.tb-has-board-three .board-area{grid-area:2 / 1 / 3 / -1}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls{grid-template-columns:clamp(160px,16vw,220px) minmax(0,1fr) clamp(160px,16vw,220px);grid-template-rows:70px minmax(0,1fr) 96px}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .board-area{grid-area:2 / 2}:where(body.tb-has-match-scene) .match-scene.tb-has-board-three.tb-has-replay-controls .hud{grid-area:3 / 1 / 4 / -1;width:100%;height:96px}}.load-veil__actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.load-veil__actions:empty{display:none}.battle-resource-status{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);z-index:120;max-width:min(90vw,540px);padding:8px 12px;border-radius:8px;background:#30251eef;color:#fff2d5;font-size:13px;box-shadow:0 2px 12px #0005}.battle-resource-status[hidden]{display:none}.battle-resource-status__actions{display:inline-flex;gap:8px;margin-left:10px}:where(body.tb-has-match-scene).tut-active .match-scene.tb-has-board-three{height:calc(100dvh - var(--tut-h))}html.tb-native-pip-preview :where(body.tb-has-match-scene){width:var(--tb-pip-w, 100%);height:var(--tb-pip-h, 100%);transform-origin:top left;transform:scale(var(--tb-pip-scale, 1));overflow:hidden}html.tb-native-pip-preview :where(body.tb-has-match-scene) .match-scene,html.tb-native-pip-preview :where(body.tb-has-match-scene) .match-scene.tb-has-board-three{height:100%}html.tb-native-pip-preview :where(body.tb-has-match-scene).tut-active .match-scene.tb-has-board-three{height:calc(100% - var(--tut-h))}body:not(.tb-has-match-scene) .modal-backdrop:where(:not(:has(.native-challenge-dialog))){position:fixed;top:0;right:0;bottom:0;left:0;background:#281a0c8c;z-index:100;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s var(--ease-default);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}body:not(.tb-has-match-scene) .modal:where(:not(.native-challenge-dialog)){background:linear-gradient(#fffaebb3,#fffaebb3),url(/img/parchment_tile.webp) repeat,#f7ead0;background-size:auto,920px 920px,auto;border:none;border-radius:8px;padding:32px;min-width:480px;max-width:600px;display:flex;flex-direction:column;gap:16px;color:var(--parchment-dark);box-shadow:0 1px #fffadcd9 inset,0 -2px 8px #46280f1a inset,0 6px 14px #28140873,0 20px 60px #28140880;animation:scaleIn .2s var(--ease-default);position:relative}body:not(.tb-has-match-scene) .modal--wide{min-width:min(720px,90vw);max-width:min(900px,92vw)}body:not(.tb-has-match-scene) .modal-backdrop--top{z-index:120}body:not(.tb-has-match-scene) .modal__title{font-family:var(--font-display);font-size:var(--fs-lg);font-weight:700;letter-spacing:.18em;color:var(--parchment-dark);margin:0;text-align:center}body:not(.tb-has-match-scene) .avatar-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:10px;max-height:60vh;overflow-y:auto;padding:4px}body:not(.tb-has-match-scene) .avatar-picker-cell{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px;background:#fffadc66;border:1px solid var(--parchment-rule-soft);border-radius:6px;cursor:pointer;transition:transform var(--t-fast) var(--ease-default),box-shadow var(--t-fast) var(--ease-default),border-color var(--t-fast) var(--ease-default)}body:not(.tb-has-match-scene) .avatar-picker-cell:hover{transform:translateY(-2px);border-color:var(--gold-line);box-shadow:0 0 12px var(--gold-glow),0 4px 8px #46280f40}body:not(.tb-has-match-scene) .avatar-picker-cell__circle{width:56px;height:76px;border-radius:0;overflow:hidden;background:var(--parchment-mid);border:2px solid var(--gold-line);flex-shrink:0}body:not(.tb-has-match-scene) .avatar-picker-cell__circle--white{background:linear-gradient(180deg,#fbf2d6,#f1e6c4)}body:not(.tb-has-match-scene) .avatar-picker-cell__circle--gold{background:linear-gradient(180deg,#e3efc6,#b9d889)}body:not(.tb-has-match-scene) .avatar-picker-cell__circle--purple{background:linear-gradient(180deg,#f0e3f4,#d6bce0)}body:not(.tb-has-match-scene) .avatar-picker-cell__circle--rainbow{background:linear-gradient(180deg,#fccdb0,#f4a26b)}body:not(.tb-has-match-scene) .avatar-picker-cell__img{width:100%;height:100%;object-fit:cover;display:block}.avatar-preview-frame{position:relative;width:64px;aspect-ratio:140 / 190;margin:24px 20px;flex:0 0 auto}.avatar-preview-frame>.avatar-preview{display:block;clip-path:polygon(12% 0,88% 0,100% 9%,100% 91%,88% 100%,12% 100%,0 91%,0 9%)}.avatar-preview-frame:after{content:"";position:absolute;left:-29.571429%;top:-25.810526%;width:162%;height:137.936842%;pointer-events:none;background:url(/asset/original-ui/HeaderBox1-58ace000-1.webp) center / 100% 100% no-repeat}body:not(.tb-has-match-scene) .avatar-picker-cell__name{font-size:var(--fs-xs);color:var(--parchment-dark);text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body:not(.tb-has-match-scene) .modal__title:before{content:"❦ ";color:var(--wax-red);font-size:.8em;margin-right:4px}body:not(.tb-has-match-scene) .modal__title:after{content:" ❦";color:var(--wax-red);font-size:.8em;margin-left:4px}body:not(.tb-has-match-scene) .modal__tabs{display:flex;gap:0;position:relative;border-bottom:1px solid var(--parchment-rule)}body:not(.tb-has-match-scene) .modal__tab{background:transparent;border:none;color:var(--parchment-ink-soft);padding:10px 18px;font-family:var(--font-display);font-size:var(--fs-sm);font-weight:600;letter-spacing:.14em;cursor:pointer;position:relative;transition:color var(--t-fast) var(--ease-default)}body:not(.tb-has-match-scene) .modal__tab:after{content:"";position:absolute;left:18px;right:18px;bottom:-1px;height:2px;background:transparent;transition:background var(--t-fast) var(--ease-default)}body:not(.tb-has-match-scene) .modal__tab:hover{color:var(--parchment-dark)}body:not(.tb-has-match-scene) .modal__tab.active{color:var(--wax-red)}body:not(.tb-has-match-scene) .modal__tab.active:after{background:var(--wax-red)}body:not(.tb-has-match-scene) .modal__tab:disabled{opacity:.35;cursor:not-allowed}body:not(.tb-has-match-scene) .modal__content{min-height:120px;display:flex;flex-direction:column;gap:16px;padding:8px 0}body:not(.tb-has-match-scene) .modal__actions{display:flex;justify-content:flex-end;gap:8px}body:not(.tb-has-match-scene) .modal--dialog{min-width:min(360px,88vw);max-width:min(440px,92vw);gap:12px}body:not(.tb-has-match-scene) .modal__body{margin:0;text-align:center;font-size:var(--fs-sm);line-height:1.6;color:var(--parchment-ink);overflow-wrap:anywhere}body:not(.tb-has-match-scene) .modal--dialog .modal__actions{justify-content:center;gap:12px;margin-top:4px}body:not(.tb-has-match-scene) .form-row{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}body:not(.tb-has-match-scene) .form-row__label{font-family:var(--font-display);font-size:var(--fs-sm);color:var(--parchment-ink);font-weight:700}body:not(.tb-has-match-scene) .form-row__hint{font-size:var(--fs-xs);color:var(--parchment-ink-soft);font-style:italic}body:not(.tb-has-match-scene) .resume-modal__summary{display:flex;flex-direction:column;gap:6px;padding:14px 18px;background:#46280f0d;border:1px solid var(--parchment-rule);border-radius:4px}body:not(.tb-has-match-scene) .resume-modal__row{display:flex;justify-content:space-between;align-items:baseline;font-size:var(--fs-sm)}body:not(.tb-has-match-scene) .resume-modal__key{color:var(--parchment-ink-soft);letter-spacing:.14em;text-transform:uppercase;font-size:var(--fs-xs)}body:not(.tb-has-match-scene) .resume-modal__val{color:var(--parchment-dark);font-weight:600;font-family:var(--font-display)}body:not(.tb-has-match-scene) .resume-modal__error{padding:0 4px}body:not(.tb-has-match-scene) .field{display:flex;flex-direction:column;gap:8px}body:not(.tb-has-match-scene) .field__label{font-size:var(--fs-xs);letter-spacing:.14em;color:var(--parchment-ink-soft);font-family:var(--font-display);font-weight:600}body:not(.tb-has-match-scene) .field__hint{font-size:var(--fs-sm);color:var(--parchment-ink-soft);font-style:italic}body:not(.tb-has-match-scene) .ai-tier{display:flex;flex-wrap:wrap;gap:4px}body:not(.tb-has-match-scene) .ai-tier__btn{flex:1 1 auto;min-width:3.6em;padding:5px 6px;border-radius:4px;border:1px solid var(--parchment-rule-soft);background:#fffadc66;font-family:var(--font-display);font-size:var(--fs-sm);letter-spacing:.04em;color:var(--parchment-dark);cursor:pointer;transition:background var(--t-fast) var(--ease-default),border-color var(--t-fast) var(--ease-default),color var(--t-fast) var(--ease-default)}body:not(.tb-has-match-scene) .ai-tier__btn:hover{border-color:var(--gold-line);background:#c8a03c26}body:not(.tb-has-match-scene) .ai-tier__btn:focus-visible{outline:2px solid var(--gold-line);outline-offset:2px}body:not(.tb-has-match-scene) .ai-tier__btn--on{background:linear-gradient(180deg,#c44038,#8a241c);border-color:#8a241c;color:#fbf0c8;box-shadow:0 1px #ffdcb440 inset,0 2px 4px #46280f4d}body:not(.tb-has-match-scene) .ai-tier__btn--on:hover{background:linear-gradient(180deg,#d44840,#9a2820);border-color:#9a2820}@media(prefers-reduced-motion:reduce){body:not(.tb-has-match-scene) .ai-tier__btn{transition:none}}body:not(.tb-has-match-scene) .ai-team-picker{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}body:not(.tb-has-match-scene) .ai-team-picker__opt{padding:4px 12px;border-radius:20px;border:1px solid var(--parchment-rule-soft);background:#fffadc66;font-family:var(--font-display);font-size:var(--fs-sm);color:var(--parchment-dark);cursor:pointer;transition:background var(--t-fast) var(--ease-default),border-color var(--t-fast) var(--ease-default),color var(--t-fast) var(--ease-default)}body:not(.tb-has-match-scene) .ai-team-picker__opt:hover{border-color:var(--gold-line);background:#c8a03c26}body:not(.tb-has-match-scene) .ai-team-picker__opt--active{background:linear-gradient(180deg,#c44038,#8a241c);border-color:#8a241c;color:#fbf0c8;box-shadow:0 1px #ffdcb440 inset,0 2px 4px #46280f4d}body:not(.tb-has-match-scene) .ai-team-picker__opt--active:hover{background:linear-gradient(180deg,#d44840,#9a2820);border-color:#9a2820}body:not(.tb-has-match-scene) .gate{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:36px;padding:56px 24px}body:not(.tb-has-match-scene) .gate__brand{align-items:center;text-align:center}body:not(.tb-has-match-scene) .gate__brand .lobby__title{font-size:var(--fs-mega)}body:not(.tb-has-match-scene) .gate__brand .lobby__subtitle{text-align:center}body:not(.tb-has-match-scene) .gate__plaque{width:100%;max-width:380px;padding:32px 28px 24px;background:linear-gradient(180deg,#fbf0d2,#f3deaa);border-radius:6px;display:flex;flex-direction:column;gap:14px;position:relative;box-shadow:0 1px #fffadcd9 inset,0 -2px 6px #46280f24 inset,0 6px 16px #46280f47}body:not(.tb-has-match-scene) .gate__plaque:before,body:not(.tb-has-match-scene) .gate__plaque:after{content:"";position:absolute;top:10px;width:6px;height:6px;background:var(--wax-red);border-radius:50%;box-shadow:0 0 0 2px #f1e3bfe6,0 1px 1px #28080680}body:not(.tb-has-match-scene) .gate__plaque:before{left:12px}body:not(.tb-has-match-scene) .gate__plaque:after{right:12px}body:not(.tb-has-match-scene) .gate__btn{width:100%;text-align:center;text-decoration:none;padding:11px 22px;font-size:var(--fs-base);letter-spacing:.14em}body:not(.tb-has-match-scene) .gate__divider{display:flex;align-items:center;gap:10px;color:var(--parchment-ink-soft);font-family:var(--font-display);font-size:var(--fs-xs);letter-spacing:.32em;text-transform:uppercase;font-style:italic}body:not(.tb-has-match-scene) .gate__divider:before,body:not(.tb-has-match-scene) .gate__divider:after{content:"";flex:1;height:1px;background:var(--parchment-rule-soft)}body:not(.tb-has-match-scene) .gate__hint{margin:4px 0 0;text-align:center;font-size:var(--fs-xs);color:var(--parchment-ink-soft);font-style:italic;letter-spacing:.04em}body:not(.tb-has-match-scene) .gate__error{display:none;text-align:center;font-size:var(--fs-sm);color:var(--wax-red)}body:not(.tb-has-match-scene) .gate__error--show{display:block}body:not(.tb-has-match-scene) .gate--wide .gate__plaque{max-width:720px}body:not(.tb-has-match-scene) .gate__intro{text-align:center;color:var(--parchment-ink);font-size:var(--fs-base);margin:0 0 6px;line-height:1.55}body:not(.tb-has-match-scene) .gate__intro-strong{color:var(--wax-red);font-weight:700;font-family:var(--font-display);letter-spacing:.04em}body:not(.tb-has-match-scene) .gate__cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:8px}@media(max-width:640px){body:not(.tb-has-match-scene) .gate__cards{grid-template-columns:1fr}}body:not(.tb-has-match-scene) .gate__card{display:flex;flex-direction:column;gap:10px;padding:18px 18px 16px;background:linear-gradient(180deg,#faecc6,#ecd5a0);border-radius:5px;box-shadow:0 1px #fffadcb3 inset,0 -2px 5px #46280f24 inset,0 2px 5px #46280f33}body:not(.tb-has-match-scene) .gate__card-title{font-family:var(--font-display);font-size:var(--fs-md);color:var(--parchment-dark);letter-spacing:.1em;margin:0 0 2px}body:not(.tb-has-match-scene) .gate__card-row{font-size:var(--fs-sm);color:var(--parchment-ink);display:flex;align-items:baseline;gap:6px}body:not(.tb-has-match-scene) .gate__card-identity{display:flex;align-items:center;gap:12px;margin:4px 0 2px}body:not(.tb-has-match-scene) .gate__card-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;border:1px solid var(--parchment-line);background:var(--parchment-mid);flex-shrink:0}body:not(.tb-has-match-scene) .gate__card-name-block{display:flex;flex-direction:column;gap:2px;min-width:0}body:not(.tb-has-match-scene) .gate__card-name{font-family:var(--font-display);font-size:var(--fs-md);color:var(--parchment-dark);letter-spacing:.04em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body:not(.tb-has-match-scene) .gate__card-label{color:var(--parchment-ink-soft);font-size:var(--fs-xs);letter-spacing:.16em;text-transform:uppercase;font-family:var(--font-display);font-style:italic}body:not(.tb-has-match-scene) .gate__card-code{font-family:var(--font-num);color:var(--wax-red);letter-spacing:.14em;font-weight:700;font-size:var(--fs-sm)}body:not(.tb-has-match-scene) .gate__card-meta{font-size:var(--fs-xs);color:var(--parchment-ink-soft);font-style:italic}body:not(.tb-has-match-scene) .gate__card .btn{margin-top:auto;align-self:stretch;text-align:center;letter-spacing:.14em}@media(max-width:760px){body:not(.tb-has-match-scene) .modal-backdrop:where(:not(:has(.native-challenge-dialog))){align-items:flex-end}body:not(.tb-has-match-scene) .modal:where(:not(.native-challenge-dialog)){min-width:0;width:100%;max-width:100%;max-height:92dvh;overflow-y:auto;padding:20px 16px 24px;border-radius:12px 12px 0 0}body:not(.tb-has-match-scene) .modal--wide{min-width:0;max-width:100%}body:not(.tb-has-match-scene) .modal__title{font-size:var(--fs-md);letter-spacing:.12em}body:not(.tb-has-match-scene) .modal__tabs{gap:4px}body:not(.tb-has-match-scene) .modal__tab{padding:10px;font-size:var(--fs-sm)}body:not(.tb-has-match-scene) .modal__actions{gap:10px}body:not(.tb-has-match-scene) .modal__actions .btn{flex:1}body:not(.tb-has-match-scene) .ai-tier{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}body:not(.tb-has-match-scene) .ai-tier__btn{min-width:0;padding:9px 2px;font-size:12px;letter-spacing:0;white-space:nowrap}body:not(.tb-has-match-scene) .ai-team-picker{max-height:30dvh;overflow-y:auto}body:not(.tb-has-match-scene) .gate{padding:24px 14px}body:not(.tb-has-match-scene) .gate__plaque{padding:24px 18px}body:not(.tb-has-match-scene) .gate__brand .lobby__title{font-size:34px}body:not(.tb-has-match-scene) .editor__sidebar .field{gap:4px}body:not(.tb-has-match-scene) .editor__sidebar .field__label{font-size:var(--fs-xs)}}body:not(.tb-has-match-scene) .rules-page{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;background:var(--parchment-base)}body:not(.tb-has-match-scene) .rules-page__bar{flex:none;display:flex;align-items:center;padding:calc(6px + env(safe-area-inset-top)) calc(10px + env(safe-area-inset-right)) 6px calc(10px + env(safe-area-inset-left));border-bottom:1px solid var(--parchment-rule-soft);background:linear-gradient(180deg,#f3e2b6,#ebd7a3)}body:not(.tb-has-match-scene) .rules-page__frame{flex:1;width:100%;border:0;padding-bottom:env(safe-area-inset-bottom);background:var(--parchment-base)}body:not(.tb-has-match-scene) :is(.modal,.gate){--parchment-dark: #2c1d10;--parchment-ink: #4a3220;--parchment-ink-soft: #7a5a3a;--parchment-mid: #e6d09a;--parchment-rule: #8a6438;--parchment-rule-soft: rgba(110, 75, 40, .4);line-height:normal}body:not(.tb-has-match-scene) .modal-backdrop:where(:not(:has(.native-challenge-dialog))){padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}body:not(.tb-has-match-scene) .modal:where(:not(.native-challenge-dialog)){width:auto;min-width:min(480px,100%);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;scrollbar-gutter:auto;text-shadow:none}body:not(.tb-has-match-scene) .modal:where(:not(.native-challenge-dialog)).modal--wide{width:min(900px,100%);min-width:min(720px,100%)}body:not(.tb-has-match-scene) .modal:where(:not(.native-challenge-dialog)).modal--dialog{width:auto;min-width:min(360px,100%)}body:not(.tb-has-match-scene) .modal:where(:not(.native-challenge-dialog)) .modal__title:before,body:not(.tb-has-match-scene) .modal:where(:not(.native-challenge-dialog)) .modal__title:after{display:inline}body:not(.tb-has-match-scene) .modal:where(:not(.native-challenge-dialog)) .modal__actions .btn{max-width:none}body:not(.tb-has-match-scene) .gate{background:transparent;color:var(--parchment-dark);height:100dvh;min-height:0;overflow-y:auto}body:not(.tb-has-match-scene) .gate .lobby__title{color:var(--parchment-dark);text-shadow:none}body:not(.tb-has-match-scene) .gate .lobby__title-accent{color:var(--wax-red);text-shadow:none}body:not(.tb-has-match-scene) .gate .lobby__subtitle{color:var(--parchment-ink-soft)}body:not(.tb-has-match-scene) .gate__plaque{border:none;color:var(--parchment-dark)}body:not(.tb-has-match-scene) .rules-page__bar .btn{color:var(--parchment-dark);background:linear-gradient(180deg,#f3e2b4,#e3c890)}.lobby--2d .lobby__inner{grid-template-rows:auto;grid-auto-rows:max-content;align-content:start}.lobby--2d .lobby__footer{flex-wrap:wrap;align-items:center;gap:12px}.lobby--2d .lobby__sound{font-size:var(--fs-xs)}.editor--2d .editor__search{display:block;width:100%;min-height:44px;margin:0 0 8px;font-size:16px}.editor--2d .editor__search-count{display:block;color:var(--parchment-ink-soft);font-size:var(--fs-xs);margin-bottom:16px}.editor--2d .editor__empty{grid-column:1 / -1;color:var(--parchment-ink)}.editor--2d .hero-tile:focus-visible,.editor--2d .editor__slot:focus-visible{outline:2px solid var(--wax-red);outline-offset:3px}.editor--2d .editor__slot--filled:after{content:"详情";font-size:var(--fs-sm)}.campaign-menu--2d{height:100dvh;overflow-y:auto;overflow-x:hidden;color:var(--parchment-dark);background:var(--parchment-base)}.campaign-menu--2d .campaign-menu__header h1{color:var(--parchment-dark);font-family:var(--font-display)}.campaign-menu--2d .campaign-menu__header p{color:var(--parchment-ink-soft)}:is(.lobby--2d,.campaign-menu--2d) .campaign-card{border:1px solid var(--parchment-rule-soft);border-radius:var(--r-2);background:linear-gradient(180deg,#fbf2d6,#f4e3b4);box-shadow:0 1px #fffaddd9 inset,0 3px 6px #46280f2e;color:var(--parchment-ink);padding:12px 16px;text-decoration:none}:is(.lobby--2d,.campaign-menu--2d) .campaign-card:hover,:is(.lobby--2d,.campaign-menu--2d) .campaign-card:focus-visible{border-color:var(--parchment-rule);outline:2px solid var(--wax-red);outline-offset:2px}:is(.lobby--2d,.campaign-menu--2d) .campaign-card__text strong{color:var(--parchment-dark)}:is(.lobby--2d,.campaign-menu--2d) .campaign-card__state{color:var(--wax-red)}body .hero-detail-backdrop .hero-detail--2d{--parchment-dark: #2c1d10;--parchment-ink: #4a3220;--parchment-ink-soft: #7a5a3a;display:grid;grid-template-columns:minmax(0,1fr);width:min(600px,100%);min-width:0;gap:16px;padding:24px;border:none;border-radius:8px;background:linear-gradient(#fffaebb3,#fffaebb3),url(/img/parchment_tile.webp) repeat,#f7ead0;background-size:auto,920px 920px,auto;color:var(--parchment-dark)}body .hero-detail-backdrop .hero-detail--2d .hero-detail__heading{grid-column:1 / -1}body .hero-detail-backdrop .hero-detail--2d .modal__title{color:var(--parchment-dark)}body .hero-detail-backdrop .hero-detail--2d .hero-detail__portrait{display:block;width:auto;max-width:100%;height:min(32dvh,260px);object-fit:contain;justify-self:center}body .hero-detail-backdrop .hero-detail--2d .hero-detail__info{grid-column:auto;color:var(--parchment-ink);font-size:var(--fs-base)}body .hero-detail-backdrop .hero-detail--2d .hero-detail__stats{color:var(--parchment-dark)}body .hero-detail-backdrop .hero-detail--2d .modal__actions{grid-column:1 / -1;bottom:-24px;background:#f1e3bf}@media(min-width:761px){body .hero-detail-backdrop .hero-detail--2d{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}}@media(max-width:760px){body:not(.tb-has-match-scene) .modal:where(:not(.native-challenge-dialog)),body:not(.tb-has-match-scene) .modal:where(:not(.native-challenge-dialog)).modal--wide,body:not(.tb-has-match-scene) .modal:where(:not(.native-challenge-dialog)).modal--dialog{min-width:0;width:100%}body:not(.tb-has-match-scene) .modal-backdrop:where(:not(:has(.native-challenge-dialog))){padding:0}body .hero-detail-backdrop .hero-detail--2d{padding:20px 16px 24px;border-radius:12px 12px 0 0}}body .hero-detail-backdrop .hero-detail__heading{display:flex;align-items:center;gap:10px}body .hero-detail-backdrop .hero-detail__heading img{width:54px;height:54px;object-fit:contain}body .hero-detail-backdrop .hero-detail__info{line-height:1.6}body .hero-detail-backdrop .modal__actions .btn{min-height:44px;flex:1}.match-scene.tb-has-board-three .pool .pool__grid{flex:0 0 auto;min-width:0}.match-scene.tb-has-board-three .pool .hero-card{container-type:size;background-size:contain;background-position:center;background-repeat:no-repeat;overflow:visible}.match-scene.tb-has-board-three .pool .hero-card__tombstone{display:none}.match-scene:not(.tb-has-board-three) .pool .hero-card__native-death{display:none}.match-scene.tb-has-board-three .pool .hero-card__native-death{display:block;position:absolute;width:calc(100% * 170 / 136.8);height:calc(100% * 170 / 170.4);left:calc(50% - 100% * 3.8 / 136.8);top:calc(50% - 100% * 10.9 / 170.4);transform:translate(-50%,-50%);max-width:none;pointer-events:none;z-index:6}.match-scene.tb-has-board-three .pool .hero-card--dead .hero-card__img--head{filter:url(#native-reserve-death-gray);opacity:1}.match-scene.tb-has-board-three .pool .hero-card--dead .hero-card__stats{filter:none;opacity:1}.match-scene:not(.tb-has-board-three) .pool .hero-card__portrait{display:contents}.match-scene.tb-has-board-three .pool .hero-card__portrait{position:absolute;top:0;right:0;bottom:0;left:0;width:min(100cqw,calc(100cqh * 171 / 213));height:min(100cqh,calc(100cqw * 213 / 171));margin:auto}.match-scene.tb-has-board-three .pool .hero-card__img--head{position:absolute;inset:auto;width:var(--roster-head-width);height:var(--roster-head-height);left:var(--roster-head-left);top:var(--roster-head-top);margin:0;padding:0;max-width:none;object-fit:fill;object-position:center;pointer-events:none}.match-scene.tb-has-board-three .pool .hero-card__stats{position:absolute;top:0;right:0;bottom:0;left:0;width:min(100cqw,calc(100cqh * 171 / 213));height:min(100cqh,calc(100cqw * 213 / 171));margin:auto}.match-scene.tb-has-board-three .pool .hero-card__stat{width:calc(min(100cqw,100cqh * 171 / 213)*.4);height:calc(min(100cqw,100cqh * 171 / 213)*.4)}.match-scene.tb-has-board-three .pool .hero-card__stat-val{font-size:calc(min(100cqw,100cqh * 171 / 213)*.24)}@media(min-width:1000px){.match-scene.tb-has-board-three .pool{container-type:size}.match-scene.tb-has-board-three .pool .pool__grid{--reserve-card-gap: clamp(4px, 1.2cqh, 8px);--reserve-card-width: max( 0px, min( calc((100cqw - var(--reserve-card-gap)) * .85 / 2), calc((100cqh - var(--reserve-card-gap) * 3) * 171 * .85 / 852) ) );width:100%;height:100%;gap:var(--reserve-card-gap);grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);align-self:center;align-content:stretch;align-items:center;justify-items:center}.match-scene.tb-has-board-three .pool .hero-card{width:var(--reserve-card-width);height:auto;min-width:0;min-height:0;max-height:none;aspect-ratio:171 / 213;align-self:center}.match-scene.tb-has-board-three .pool .hero-card__stat{width:calc(100cqw * .224);height:calc(100cqw * .224)}.match-scene.tb-has-board-three .pool .hero-card__stat-val{font-size:12.8cqw}}.match-scene.tb-has-board-three .pool{background:url(/asset/original-ui/UnitListPanel_bg-22b641c9-1.webp) center / 100% 100% no-repeat,url(/asset/original-ui/UnitListPanel_bg2-4b4bdec6-1.webp) center / 100% 100% no-repeat}@media(min-width:1000px){.match-scene.tb-has-board-three .pool,.match-scene.tb-has-board-three.tb-has-replay-controls .pool{padding:10px;border-image:var(--source-panel) 45 50 47 45 fill / 10px / 0 stretch;background:none}.match-scene.tb-has-board-three .pool .pool__grid{position:relative;isolation:isolate}.match-scene.tb-has-board-three .pool .hero-card__stat{width:40cqw;height:40cqw}.match-scene.tb-has-board-three .pool .hero-card__stat-val{font-size:24cqw}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .hud__actions .hud__action--swap{left:calc(25% + 8px);top:44%}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .hud__actions .hud__action--end{left:calc(75% - 8px);top:44%}}@media(max-width:999px)and (orientation:portrait){.match-scene.tb-has-board-three:not(.tb-has-replay-controls){--native-reserve-unit: calc( (100dvw - env(safe-area-inset-left) - env(safe-area-inset-right)) / 1080 );--source-tray-h: max(103px, calc(369 * var(--native-reserve-unit)))}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool{background:url(/asset/original-ui/UnitListPanel_bg-22b641c9-1.webp) calc(-115 * var(--native-reserve-unit)) 0 / calc(1172 * var(--native-reserve-unit)) 100% no-repeat,url(/asset/original-ui/UnitListPanel_bg2-4b4bdec6-1.webp) 0 0 / calc(1055 * var(--native-reserve-unit)) 100% no-repeat}}.match-scene.tb-has-board-three .hud__action--confirm{background-image:url(/asset/original-ui/Btn_Confirm1-bcc7dd9e-1.webp);aspect-ratio:200 / 176}.match-scene.tb-has-board-three .hud__action--confirm:active:not(:disabled){background-image:url(/asset/original-ui/Btn_Confirm2-639d9dcc-1.webp)}.match-scene.tb-has-board-three .hud__action--confirm:disabled{background-image:url(/asset/original-ui/Btn_Confirm3-9beda4cc-1.webp);opacity:1;filter:none}@media(max-width:999px)and (orientation:portrait){.match-scene.tb-has-board-three .hud__actions:has(.hud__action--confirm) .hud__action--swap{display:none}.match-scene.match-scene--pool-open.tb-has-board-three .hud__action--confirm{left:90.509259%;top:50.271003%;width:max(44px,calc(200 * var(--native-reserve-unit)))}}@media(max-width:999px){.match-scene.tb-has-board-three:not(.tb-has-replay-controls),.match-scene.match-scene--pool-open.tb-has-board-three:not(.tb-has-replay-controls){grid-template-rows:max-content minmax(0,1fr) var(--source-action-h)}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool{position:absolute;inset:auto env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);height:var(--source-tray-h);max-height:none;opacity:1;transform:translate(0);transition:transform .333333s linear}.match-scene.match-scene--solo-pool.tb-has-board-three:not(.tb-has-replay-controls) .pool--collapsed{display:flex;max-height:none;padding:6px 18.5% 6px 16.2%;opacity:1;transform:translate(-118.148148%);pointer-events:none}.match-scene.match-scene--pool-open.tb-has-board-three:not(.tb-has-replay-controls) .hud__action--confirm.hud__action--reserve-enter{animation:native-reserve-confirm-in .333333s linear}}@keyframes native-reserve-confirm-in{0%{margin-left:-117.87037%}to{margin-left:0}}@media(prefers-reduced-motion:reduce){.match-scene.tb-has-board-three .pool{transition:none}.match-scene.tb-has-board-three .hud__action--confirm{animation:none}}.match-scene.match-scene--no-pool.tb-has-board-three.tb-has-replay-controls .board-area{grid-area:2 / 1 / 3 / -1}.match-scene.match-scene--no-pool.tb-has-board-three.tb-has-replay-controls .hud{grid-area:3 / 1 / 4 / -1;position:relative;inset:auto;transform:none;width:100%;height:98px}@media(max-width:999px)and (max-height:599px)and (orientation:landscape){.match-scene.match-scene--no-pool.tb-has-board-three.tb-has-replay-controls .hud{height:70px}}.match-scene.tb-has-board-three .pool .pool__recycle--native,.match-scene.tb-has-board-three .pool .pool__recycle--native:hover,.match-scene.tb-has-board-three .pool .pool__recycle--native.pool__recycle--hot{top:0;right:0;bottom:0;left:0;container-type:size;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.match-scene.tb-has-board-three .pool .pool__recycle--native:before{content:none}.match-scene.tb-has-board-three .pool.pool--armed{overflow:visible}.modal.native-withdraw-dialog{container-type:inline-size;position:relative;width:min(800px,92vw,110dvh);max-width:none;aspect-ratio:800 / 650;padding:0;border:12px solid transparent;border-image:url(/asset/original-ui/NormalPanelBg-e88e239b-2.webp) 45 50 47 45 fill / 12px / 0 stretch;border-radius:0;background:none;box-shadow:none}.modal.native-withdraw-dialog .modal__title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.native-withdraw-dialog__picture{position:absolute;left:50%;top:32.307692%;width:27.7875%;aspect-ratio:171 / 213;transform:translate(-50%,-50%);background:url(/asset/original-ui/Header_bg-24de6b73-1.webp) center / 100% 100% no-repeat}.native-withdraw-dialog__picture>img{position:absolute;max-width:none;pointer-events:none}.modal.native-withdraw-dialog .modal__body{position:absolute;left:9.375%;top:56.307692%;width:81.25%;height:16.615385%;display:grid;place-items:center;margin:0;padding:0;color:#fff;white-space:pre-line;text-align:center;font-size:4.5cqw;line-height:1.4}.modal.native-withdraw-dialog .modal__actions{position:absolute;inset:73.630769% 10.55% auto;display:flex;justify-content:space-between;gap:0;margin:0}.modal.native-withdraw-dialog .btn{flex:0 0 46.768061%;width:46.768061%;aspect-ratio:369 / 131;min-height:0;padding:0;border:0;border-radius:0;background:url(/asset/original-ui/NormalBrownBtnBg1-834a1fe7-1.webp) center / 100% 100% no-repeat;box-shadow:none;color:#fff;font-size:4.6cqw;text-shadow:1px 1px #000,-1px -1px #000}.modal.native-withdraw-dialog .btn--primary{background-image:url(/asset/original-ui/NormalGreenBtnBg1-2f849ec5-1.webp)}.modal.native-withdraw-dialog .btn:hover{filter:brightness(1.15)}.modal-backdrop:has(.native-withdraw-dialog){background:#00000080;-webkit-backdrop-filter:none;backdrop-filter:none}.native-reserve-drop{position:absolute;top:0;right:0;bottom:0;left:0;width:min(100cqw,calc(100cqh * 1055 / 369));height:min(100cqh,calc(100cqw * 369 / 1055));margin:auto;pointer-events:none}.native-reserve-drop>img{position:absolute;max-width:none;object-fit:fill;pointer-events:none}.native-reserve-drop__background,.native-reserve-drop__highlight{left:11.374408%;bottom:4.336043%;width:86.066351%;height:91.056911%}.native-reserve-drop__stone{left:50.521327%;top:51.761518%;width:11.943128%;height:50.948509%;transform:translate(-50%,-50%);animation:native-reserve-drop-stone 1.333333s ease-in-out infinite}.native-reserve-drop__highlight{mix-blend-mode:screen;animation:native-reserve-drop-glow 1.333333s ease-in-out infinite}.pool__recycle--native.pool__recycle--hot .native-reserve-drop__highlight{animation:none;opacity:1}.pool__recycle--native.pool__recycle--hot .native-reserve-drop__stone{animation:none;transform:translate(-50%,-50%) scale(1.160142)}@keyframes native-reserve-drop-stone{0%,to{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.160142)}}@keyframes native-reserve-drop-glow{0%,to{opacity:0}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.native-reserve-drop__stone,.native-reserve-drop__highlight{animation:none}.native-reserve-drop__highlight{opacity:.5}}.reserve-drop-presentation{display:contents}.desktop-reserve-drop{display:none}@media(min-width:1000px){.match-scene.tb-has-board-three .pool .pool__recycle--native{top:-10px;right:-10px;bottom:-10px;left:-10px}.pool__recycle--native .native-reserve-drop{display:none}.desktop-reserve-drop{position:absolute;top:0;right:0;bottom:0;left:0;container-type:size;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(4px,2.5cqh,14px);padding:12px;overflow:hidden;border:12px solid transparent;border-image:url(/asset/desktop-reserve-drop-v1.webp) 128 fill / 12px / 0 stretch;background:#211611;color:#f4dfb9;text-align:center;pointer-events:none}.desktop-reserve-drop__title{font-family:var(--font-display);font-size:clamp(14px,min(10cqw,7cqh),24px);line-height:1.2;text-shadow:0 2px 3px #000}.desktop-reserve-drop__stone{width:min(38cqw,26cqh,96px);height:auto;flex:none;object-fit:contain;opacity:.7;filter:brightness(.8)}.desktop-reserve-drop__hint{font-size:clamp(12px,min(7cqw,5cqh),17px);line-height:1.5}.desktop-reserve-drop__cost{font-size:clamp(11px,min(6cqw,4cqh),14px);line-height:1.4;color:#bb9d83}.desktop-reserve-drop__ready{display:none}.pool__recycle--hot .desktop-reserve-drop{box-shadow:inset 0 0 24px #e1592559}.pool__recycle--hot .desktop-reserve-drop__stone{opacity:1;filter:brightness(1.2) drop-shadow(0 0 8px #fa552c99)}.pool__recycle--hot .desktop-reserve-drop__idle{display:none}.pool__recycle--hot .desktop-reserve-drop__ready{display:inline;color:#fff0ce}}@media(max-width:999px){.match-scene:not(.match-scene--pool-open).tb-has-board-three:not(.tb-has-replay-controls) .hud:not(.hud--result){--native-reserve-action-unit: max(.27px, min( calc((100dvw - env(safe-area-inset-left) - env(safe-area-inset-right)) / 1080), calc(var(--source-action-h) / 221) ));width:auto;left:env(safe-area-inset-left);right:env(safe-area-inset-right);transform:none}.match-scene:not(.match-scene--pool-open).tb-has-board-three:not(.tb-has-replay-controls) .hud__action--swap{left:calc(55 * var(--native-reserve-action-unit));width:calc(216 * var(--native-reserve-action-unit))}}@media(min-width:1000px){.match-scene.tb-has-board-three .match-banner{width:min(100%,536px);max-width:536px;justify-self:center}.match-scene.tb-has-board-three .match-banner .match-banner__player-name{width:100%;height:auto;min-height:0;aspect-ratio:295 / 53;padding:0 12px;display:grid;align-items:center;background-size:contain;background-repeat:no-repeat}}.match-scene.tb-has-board-three .match-banner__player-avatar-wrap{container-type:inline-size;height:auto;aspect-ratio:140 / 190;padding:0;background:none;overflow:visible;clip-path:none;mask:none}.native-turn-clock{position:absolute;right:0;left:0;top:.789474%;bottom:-.789474%;background:#00000096;mask:url(/asset/original-round-orb/clock-mask.webp) center / 100% 100% no-repeat;pointer-events:none}.native-turn-clock[hidden]{display:none}.native-turn-clock-number{position:absolute;left:49.428571%;top:47.684211%;transform:translate(-50%,-50%);display:flex;pointer-events:none}.match-banner__player:last-child .native-turn-clock-number{left:49.857143%}.native-turn-clock-number img{display:block}.match-scene.tb-has-board-three .match-banner__player-avatar-wrap:after{content:"";position:absolute;left:-29.571429%;top:-25.810526%;width:162%;height:137.936842%;pointer-events:none;background:url(/asset/original-ui/HeaderBox1-58ace000-1.webp) center / 100% 100% no-repeat}.match-scene.tb-has-board-three .match-banner__player-avatar{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border-radius:0;object-fit:cover;object-position:center;background:transparent;clip-path:none;mask:none}.match-scene.tb-has-board-three .match-banner .match-banner__player-name{position:relative;isolation:isolate;overflow:visible;background:none;padding-inline:0;white-space:nowrap;color:#fff;font-family:Arial,sans-serif;font-weight:700;text-shadow:none}.match-scene.tb-has-board-three .match-banner__player-label{position:relative;z-index:1;display:block;width:84.745763%;margin-inline:auto;overflow:hidden;text-overflow:ellipsis}.match-scene.tb-has-board-three .match-banner__player-name:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url(/asset/original-ui/TopBar_NameBg_Blue-061c1a2c-1.webp) center / 100% 100% no-repeat}.match-scene.tb-has-board-three .match-banner__player:last-child .match-banner__player-name:before{background-image:url(/asset/original-ui/TopBar_NameBg_Red-ec57a297-1.webp);transform:scaleX(-1)}.match-scene.tb-has-board-three .match-banner__player[data-display-side=red] .match-banner__player-name:before{background-image:url(/asset/original-ui/TopBar_NameBg_Red-ec57a297-1.webp)}.match-scene.tb-has-board-three .match-banner__player[data-display-side=blue] .match-banner__player-name:before{background-image:url(/asset/original-ui/TopBar_NameBg_Blue-061c1a2c-1.webp)}.match-scene.tb-has-board-three .match-banner__player-name:after{content:"";position:absolute;pointer-events:none;z-index:0;left:-67.728814%;top:-89.245283%;width:202.033898%;height:486.792453%;background:url(/asset/original-ui/TopBar_Bg-b809f761-1.webp) center / 100% 100% no-repeat}.match-scene.tb-has-board-three .match-banner__player:last-child .match-banner__player-name:after{left:auto;right:-67.423729%;transform:scaleX(-1)}.native-death-slot{position:relative;display:inline-block;width:20px;aspect-ratio:92 / 116}.match-scene.tb-has-board-three .match-banner__player .match-banner__graveyard{max-width:100%}.match-scene.tb-has-board-three .match-banner__player .native-death-slot{max-width:33.333333%}.native-death-slot__cup,.native-death-slot__mask{position:absolute;left:5.978261%;top:4.741379%;width:88.043478%;height:87.931034%}.native-death-slot__death-bg{position:absolute;left:-7.065217%;top:4.741379%;width:114.130435%;height:90.517241%}.native-death-slot[data-fly-target] .native-death-slot__death-bg{visibility:hidden}.native-death-slot__mask{mask:url(/asset/original-ui/Score1-d8a91b3b-1.webp) center / 100% 100% no-repeat}.native-death-slot__hero-frame{position:absolute;left:-23.888889%;top:-11.323529%;width:147.777778%;height:146.176471%;object-fit:contain}.native-death-slot__portrait{position:absolute;left:-60.617284%;top:-26.078431%;width:221.234568%;height:175.686275%;object-fit:contain;filter:url(#battle-header-death-portrait-gray);opacity:1}.native-death-slot__ring{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.native-death-slot[data-fly-target] .native-death-slot__hero-frame,.native-death-slot[data-fly-target] .native-death-slot__portrait{visibility:hidden}.native-death-slot[data-native-casualty=playing]>:not(.native-casualty-badge){visibility:hidden}.native-casualty-badge{position:absolute;left:50%;top:50%;width:100px;height:100px;transform-origin:center;pointer-events:none}.native-casualty-node,.native-casualty-hero-frame,.native-casualty-hero-portrait{position:absolute;left:50%;top:50%;transform-origin:center}.native-casualty-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.native-casualty-hero--gray-all>.native-casualty-hero-frame{filter:url(#battle-header-death-gray)}.native-casualty-hero>.native-casualty-hero-portrait{filter:url(#battle-header-death-portrait-gray)}.native-casualty-hero-frame{width:171px;height:213px;transform:translate(-50%,-50%)}.native-casualty-hero-portrait{width:256px;height:256px;object-fit:contain;transform:translate(-50%,-50%)}.native-casualty-ghost{position:fixed;left:0;top:0;width:0;height:0;transform-origin:0 0;pointer-events:none;z-index:310}.match-scene.tb-has-board-three .actor-spotlight{display:none}.match-scene.tb-has-board-three .match-banner__turn-pill{background:none;container-type:inline-size}.match-scene.tb-has-board-three .match-banner__turn-pill:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#161418ae;mask:url(/asset/original-round-orb/background.webp) center / 100% 100% no-repeat;pointer-events:none;z-index:0}.match-scene.tb-has-board-three .match-banner__turn-pill:after{background:url(/asset/original-ui/TurnRingBox1-830b3519-1.webp) center / 100% 100% no-repeat,url(/asset/original-round-orb/inner-ring.webp) center / 83.850932% 83.850932% no-repeat}.match-scene.tb-has-board-three .match-banner__turn-pill-body{position:absolute;top:53%;transform:translateY(-50%);left:0;width:100%;justify-content:center;gap:0}.match-scene.tb-has-board-three .match-banner__turn-pill-label,.match-scene.tb-has-board-three .match-banner__turn-pill-skull{display:none}.match-scene.tb-has-board-three .match-banner__turn-pill-num{font-size:0;line-height:0;text-shadow:none;gap:0}.native-round-number,.match-scene.tb-has-board-three .legacy-round-number{display:none}.match-scene.tb-has-board-three .native-round-number{display:flex;align-items:center;justify-content:center}.native-round-number img{display:block;max-width:none}.match-scene.tb-has-board-three .match-banner__turn-pill--fatigue .native-round-number,.match-scene.tb-has-board-three .match-banner__turn-pill--fatigue .match-banner__turn-pill-bite{display:none}.match-scene.tb-has-board-three .match-banner__turn-pill--fatigue .match-banner__turn-pill-body{top:0;right:0;bottom:0;left:0;height:100%;transform:none}.match-scene.tb-has-board-three .match-banner__turn-pill--fatigue .match-banner__turn-pill-body:after{content:"";position:absolute;left:50%;top:50%;width:42.236025%;height:51.552795%;transform:translate(-50%,-50%);background:url(/asset/original-outcome/BloodModeIcon-f40b6889-1.webp) center / contain no-repeat}.match-scene.tb-has-board-three .match-banner__turn-pill--fatigue:after{background:url(/asset/original-ui/TurnRingBox1-830b3519-1.webp) center / 100% 100% no-repeat,url(/asset/original-outcome/TurnRingBox2_Red-bc1b7365-1.webp) center / 83.850932% 83.850932% no-repeat}.match-scene.tb-has-board-three .match-banner__turn-pill--fatigue-soon:after{background:url(/asset/original-outcome/TurnRingBoxBad-7e47c53b-1.webp) 52.42236% .559006% / 95.031056% 58.385093% no-repeat,url(/asset/original-ui/TurnRingBox1-830b3519-1.webp) center / 100% 100% no-repeat,url(/asset/original-round-orb/inner-ring.webp) center / 83.850932% 83.850932% no-repeat}.match-banner__player>.match-banner__player-avatar-wrap,.match-banner__player>.match-banner__player-name{transition:filter .2s ease}.match-banner__player--inactive>.match-banner__player-avatar-wrap,.match-banner__player--inactive>.match-banner__player-name{filter:brightness(.5)}.hero-preview.hero-preview--native{width:440px;min-width:0;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);right:auto;padding:0;gap:0;border-radius:0;background:none;color:#fff;box-shadow:none;overflow:hidden;font-family:Arial,sans-serif}.native-hero-info{display:grid;grid-template-columns:156px minmax(0,1fr);gap:10px;align-items:start;padding:5px;filter:drop-shadow(0 3px 5px #0008)}.native-hero-info__card{position:relative;width:100%;aspect-ratio:444 / 512;background-size:100% 100%}.native-hero-info__portrait{position:absolute;left:8%;top:7%;width:84%;height:73%;object-fit:contain}.native-hero-info__stat{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.native-hero-info__stat>svg{display:block;width:100%;height:100%;overflow:visible}.native-hero-info__stat strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.native-hero-info__summary{background:url(/asset/original-hero-info/info.webp) top / 100% 100% no-repeat;min-height:120px;padding:0 12px 12px}.native-hero-info__name{min-height:31px;padding:6px 0;color:#111;text-align:center;font-size:16px;line-height:19px;font-weight:700;overflow-wrap:anywhere}.native-hero-info__description{padding-top:8px;font-size:13px;line-height:1.6}.native-hero-info__description .kw{color:#fffc89}.native-hero-info__values{padding-top:7px;color:#d3d3c9;font-size:11px;line-height:1.6}.native-hero-info__effects{margin-top:6px;padding:6px 10px;background:#050505eb}.native-hero-info__effect{display:grid;grid-template-columns:4em minmax(0,1fr);gap:6px;font-size:12px;line-height:1.55}.native-hero-info__effect+.native-hero-info__effect{margin-top:6px}.native-hero-info__effect strong{color:#fffc89}.native-hero-info__effect span{color:#f0f0e9}.native-hero-info__section-title{margin-bottom:5px;color:#bbb;font-size:11px}@media(max-width:860px){.hero-preview.hero-preview--native{width:min(440px,calc(100vw - 16px))}.native-hero-info{grid-template-columns:minmax(90px,35%) minmax(0,1fr);gap:6px}.native-hero-info__summary{padding-inline:8px}.native-hero-info__name{font-size:14px}.native-hero-info__description{font-size:12px}.native-hero-info__effect{font-size:11px;gap:4px}}.match-scene.tb-has-board-three{grid-template-rows:max-content minmax(0,1fr) var(--source-action-h)}.match-scene.match-scene--pool-open.tb-has-board-three{grid-template-rows:max-content minmax(0,1fr) var(--source-tray-h)}.match-scene.match-scene--no-pool.tb-has-board-three.tb-has-replay-controls{grid-template-columns:minmax(0,1fr);grid-template-rows:max-content minmax(0,1fr) 98px}@media(max-width:999px)and (max-height:599px)and (orientation:landscape){.match-scene.match-scene--no-pool.tb-has-board-three.tb-has-replay-controls{grid-template-rows:max-content minmax(0,1fr) 70px}}.match-scene.tb-has-board-three .match-banner{--native-header-reference-width: 1080;--native-header-origin-y: 115.5;position:relative;display:block;container-type:inline-size;transform-origin:center;width:100%;max-width:none;height:auto;min-height:0;aspect-ratio:1080 / 228.2;align-self:start;overflow:visible;clip-path:inset(-100vmax 0 -100vmax)}.match-scene.tb-has-board-three .match-banner .match-banner__player{display:contents}.match-scene.tb-has-board-three .match-banner .match-banner__player-avatar-wrap{position:absolute;left:1.111111%;top:4.163015%;width:12.962963%;height:83.260298%;margin:0;z-index:1}.match-scene.tb-has-board-three .match-banner .match-banner__player:last-child .match-banner__player-avatar-wrap{left:auto;right:1.111111%}.match-scene.tb-has-board-three .match-banner .match-banner__player-name{position:absolute;left:15.787037%;top:7.668712%;width:27.314815%;height:23.225241%;min-height:0;max-width:none;aspect-ratio:295 / 53;padding:0;margin:0;display:flex;align-items:center;justify-content:center;clip-path:inset(-33.018868% -100vmax -100vmax);font-size:3.333333cqw;line-height:1;z-index:0}.match-scene.tb-has-board-three .match-banner .match-banner__player:last-child .match-banner__player-name{left:auto;right:15.722222%}.match-scene.tb-has-board-three .match-banner .match-banner__player .match-banner__graveyard{position:absolute;left:16.666667%;top:40.096407%;width:25.648148%;height:50.832603%;max-width:none;display:flex;flex-direction:row;justify-content:space-between;align-items:start;gap:0;z-index:1}.match-scene.tb-has-board-three .match-banner .match-banner__player:last-child .match-banner__graveyard{flex-direction:row-reverse;left:auto;right:16.666667%}.match-scene.tb-has-board-three .match-banner .match-banner__player .native-death-slot{width:33.212996%;max-width:none;height:100%;flex:0 0 auto}.match-scene.tb-has-board-three .match-banner .match-banner__turn-pill{position:absolute;left:42.546296%;top:0%;width:14.907407%;height:70.552147%;margin:0;z-index:2}@media(min-width:1000px){.match-scene.tb-has-board-three,.match-scene.match-scene--pool-open.tb-has-board-three,.match-scene.tb-has-board-three.tb-has-replay-controls{grid-template-rows:max-content minmax(0,1fr) 96px}.match-scene.tb-has-board-three .match-banner{top:-12px;width:min(100%,536px);max-width:536px;justify-self:center}}@media(orientation:landscape)and (max-height:600px){.match-scene.tb-has-board-three .match-banner{width:min(100%,calc(var(--source-header-h) * 4.732691));max-width:536px;justify-self:center}}.match-banner__turn-pill--thinking .match-banner__turn-pill-label{color:#f5d989}.spectator-banner,.takeover-banner{top:auto;bottom:max(8px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:max-content;max-width:calc(100% - 24px)}.spectator-banner{pointer-events:none}.takeover-banner__text{min-width:0;line-height:1.4;overflow-wrap:anywhere}.takeover-banner__dot,.takeover-banner__btn{flex-shrink:0}.takeover-banner__btn{white-space:nowrap}.original-audio-settings{--audio-button-art: url(/asset/original-audio-ui/button.webp);--audio-panel-art: url(/asset/original-audio-ui/panel.webp);--audio-ink: #fffbc6;--audio-focus: #f0c878;position:relative;color:var(--audio-ink);font:16px var(--font-display);z-index:40}.original-audio-settings summary{position:relative;z-index:2;display:grid;place-items:center;box-sizing:border-box;width:52px;height:48px;padding:2px;border:8px solid transparent;border-image:var(--audio-button-art) 40 50 fill / 8px / 0 stretch;border-radius:0;background:transparent;cursor:pointer;list-style:none}.original-audio-settings summary::-webkit-details-marker{display:none}.original-audio-settings__icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;width:28px;height:28px;object-fit:contain;pointer-events:none}.original-audio-settings summary:hover{filter:brightness(1.12)}.original-audio-settings summary:active{filter:brightness(.9)}.original-audio-settings summary:focus-visible,.original-audio-settings__switch:focus-visible{outline:2px solid var(--audio-focus);outline-offset:3px}.original-audio-settings__dismiss{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1}.original-audio-settings__panel{position:absolute;z-index:2;right:0;top:calc(100% + 6px);box-sizing:border-box;width:260px;max-width:calc(100vw - 24px);padding:8px;max-height:calc(100dvh - 84px);overflow-y:auto;overscroll-behavior:contain;border:22px solid transparent;border-image:var(--audio-panel-art) 88 80 84 80 fill / 22px / 0 stretch;clip-path:polygon(13px 5px,calc(100% - 13px) 5px,calc(100% - 12px) 7px,calc(100% - 10px) 10px,calc(100% - 7px) 12px,calc(100% - 5.5px) 13px,calc(100% - 5.5px) calc(100% - 14px),calc(100% - 7px) calc(100% - 13px),calc(100% - 10px) calc(100% - 11px),calc(100% - 12px) calc(100% - 8px),calc(100% - 13px) calc(100% - 6px),13px calc(100% - 6px),12px calc(100% - 8px),10px calc(100% - 11px),7px calc(100% - 13px),5.5px calc(100% - 14px),5.5px 13px,7px 12px,10px 10px,12px 7px);text-shadow:0 1px 2px #211e1a}.original-audio-settings__switch{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;width:100%;min-height:44px;padding:4px 10px;border:7px solid transparent;border-image:var(--audio-button-art) 40 50 fill / 7px / 0 stretch;border-radius:0;background:transparent;color:inherit;font:inherit;text-shadow:inherit;cursor:pointer}.original-audio-settings__switch:hover{filter:brightness(1.12)}.original-audio-settings__switch[aria-checked=true]{border-image-source:url(/asset/original-ui/NormalGreenBtnBg1-2f849ec5-1.webp)}.original-audio-settings__switch+.original-audio-settings__switch{margin-top:8px}.original-audio-settings__sound-icon{width:26px;height:24px;object-fit:contain}.graphics-settings{min-width:0;margin:14px 0 0;padding:10px 0 0;border:0;border-top:1px solid #9c814960}.graphics-settings legend{padding:0 8px 0 0}.graphics-settings__heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px}.graphics-settings__slider{display:block;margin:0 0 14px}.original-audio-settings__volume{display:block;margin-top:14px}.original-audio-settings__volume output,.graphics-settings output{color:#ffe28a}.original-audio-settings__volume input[type=range],.graphics-settings input[type=range]{display:block;width:100%;height:36px;margin:0;accent-color:#caa653;cursor:pointer}.graphics-settings__ends{display:flex;justify-content:space-between;margin-top:-4px;color:#e1d1a7;font-size:11px}.graphics-settings__antialias{min-width:76px;min-height:40px;border:1px solid #bfa465;border-radius:20px;background:#30271b;color:#fffbc6;font:inherit;cursor:pointer}.graphics-settings__antialias[aria-checked=true]{background:#627d2d}.original-audio-settings__volume input:focus-visible,.graphics-settings :is(input,button):focus-visible{outline:2px solid var(--audio-focus);outline-offset:2px}.graphics-settings__hint{margin:10px 0;font-size:12px;line-height:1.5}.graphics-settings__hint:empty{display:none}.graphics-settings>button{justify-content:center}.lobby__footer .original-audio-settings__panel{top:auto;bottom:calc(100% + 6px)}.original-audio-settings__heading{display:none}.original-audio-settings__fullscreen{--settings-header-top: max(24px, env(safe-area-inset-top));--settings-header-height: calc(var(--settings-header-top) + 44px + 16px);position:fixed;top:0;right:0;bottom:0;left:0;box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#373023;color:var(--audio-ink);font:inherit;isolation:isolate;overflow-y:auto;overscroll-behavior:contain}.original-audio-settings__fullscreen:before,.original-audio-settings__fullscreen .original-audio-settings__heading:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;box-sizing:border-box;background:#373023;border:22px solid transparent;border-image:var(--audio-panel-art) 88 80 84 80 fill / 22px / 0 stretch;pointer-events:none}.original-audio-settings__fullscreen::backdrop{background:#373023}.original-audio-settings dialog.original-audio-settings__fullscreen>.original-audio-settings__panel{position:static;display:block;width:100%;height:auto;min-height:100%;max-width:none;max-height:none;padding:max(32px,env(safe-area-inset-top)) max(32px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(32px,env(safe-area-inset-left));border:0;background:none;overflow:visible;clip-path:none}.original-audio-settings__fullscreen .original-audio-settings__heading{position:sticky;top:0;z-index:2;display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;margin:calc(-1*max(32px,env(safe-area-inset-top))) calc(-1*max(32px,env(safe-area-inset-right))) 24px calc(-1*max(32px,env(safe-area-inset-left)));padding:var(--settings-header-top) max(24px,env(safe-area-inset-right)) 16px max(32px,env(safe-area-inset-left))}.original-audio-settings__fullscreen .original-audio-settings__heading:before{clip-path:inset(0 0 calc(100% - var(--settings-header-height)) 0)}.original-audio-settings__fullscreen .original-audio-settings__heading h2{margin:0;font-size:28px;line-height:1.3;font-weight:600}.original-audio-settings__fullscreen .settings-tab-panel{overflow:visible}.original-audio-settings__close,.ladder-picker>.ladder-picker__close{min-width:44px;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-size:32px;line-height:1;cursor:pointer}@media(min-width:1000px){.match-scene.tb-has-board-three .board__overlay{position:fixed;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));z-index:40}}.match-scene.match-scene--result :is(.original-audio-settings,.native-tutorial-controls,.battle-context-controls,.battle-chat-layer),.match-scene--watching-result .replay-controls__timeline,body:has(.match-scene--result) :is(.conn-status,.spectator-banner,.takeover-banner,.notice,.hero-preview,.log-panel){display:none}.match-scene.match-scene--result :is(button,summary,a[href],input,select,textarea,[role=button],[role=slider],[tabindex]):not(.hud__actions--result *,.ladder-result,.ladder-result *){visibility:hidden;pointer-events:none}.match-scene .hud.hud--result,.match-scene.tb-has-board-three .hud.hud--result,.match-scene.match-scene--pool-open.tb-has-board-three .hud.hud--result{position:absolute;inset:auto max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));width:auto;height:auto;transform:none;grid-area:auto;background:transparent;z-index:2201}.match-scene .hud--result .hud__actions--result{max-width:452px}.match-scene .hud__actions--result:empty{display:none}.match-scene .hud__actions--result{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%;container-type:inline-size;--result-button-width: min( clamp(128px, 20vw, 220px), calc((100cqw - 12px)/2) , calc((100vw - 44px)/2) );gap:clamp(7px,.8vw,12px)}.match-scene .hud__actions--result .hud__action--result,.match-scene.tb-has-board-three .hud__actions--result .hud__action--result{box-sizing:border-box;flex:0 0 auto;width:var(--result-button-width);height:calc(var(--result-button-width) * 131 / 369);min-width:0;min-height:0;padding:0;white-space:nowrap;display:flex;align-items:center;justify-content:center;border:calc(var(--result-button-width) * 8 / 220) solid transparent;border-image:url(/asset/original-audio-ui/button.webp) 40 50 fill / calc(var(--result-button-width) * 8 / 220) / 0 stretch;border-radius:0;background:transparent;color:#fffbc6;font:600 calc(var(--result-button-width) * .14) var(--font-display);letter-spacing:.08em;text-shadow:0 1px 2px #3a2717;cursor:pointer;pointer-events:auto}.match-scene .hud__actions--result .hud__action--result.hud__action--primary,.match-scene.tb-has-board-three .hud__actions--result .hud__action--result.hud__action--primary{border-image-source:url(/asset/original-ui/NormalGreenBtnBg1-2f849ec5-1.webp)}.match-scene.tb-has-board-three .hud__actions--result{display:flex}.match-scene.tb-has-board-three .hud__actions--result .hud__action--result{position:static;transform:none;background:transparent;box-shadow:none}.match-scene .hud__action--result:hover{filter:brightness(1.12)}.match-scene .hud__action--result:active{filter:brightness(.9)}.match-scene .hud__action--result:disabled{opacity:.6;cursor:wait}.match-scene .hud__action--result:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}.native-tutorial-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:260;display:grid;place-items:center;background:#000000b8}.native-tutorial-panel{position:absolute;width:1080px;height:1920px;transform:scale(var(--tutorial-scale, .4));transform-origin:center}.native-tutorial-panel__background{position:absolute;left:60px;top:204px;width:960px;height:1200px;border:46px solid transparent;border-image:url(/asset/original-tutorial/panel.webp) 45 50 47 45 fill stretch}.native-tutorial-panel__frame{position:absolute;left:140px;top:274px;width:800px;height:770px;border:60px solid transparent;border-image:url(/asset/original-tutorial/frame.webp) 60 119 141 134 fill stretch}.native-tutorial-panel__picture{position:absolute;left:140px;top:282px;width:800px;height:750px;object-fit:contain}.native-tutorial-panel__text{position:absolute;left:140px;top:1056px;width:800px;height:300px;align-content:center;text-align:center;color:#e9df9e;font-size:56px;line-height:1.25;white-space:pre-line}.native-tutorial-panel__close{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;padding:0;background:transparent;cursor:pointer}.native-tutorial-panel__close:focus-visible{outline:6px solid #f1db80;outline-offset:-60px}.native-tutorial-chat{position:fixed;z-index:85;left:50%;top:max(100px,17vh);transform:translate(-50%);width:min(360px,88vw);min-height:82px;border:22px solid transparent;border-width:31px 0 36px;border-image:url(/asset/original-tutorial/chat.webp) 31 0 36 0 fill stretch;font-size:clamp(16px,2vw,21px);line-height:1.45;color:#3b2517;text-align:center;pointer-events:none;white-space:pre-line}.native-tutorial-chat[hidden]{display:none}.native-tutorial-chat[data-side="0"]{left:18px;right:auto;top:108px;transform:none}.native-tutorial-chat[data-side="1"]{left:auto;right:18px;top:108px;transform:none}.native-tutorial-chat__speaker{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:.85em}.native-tutorial-chat__speaker img{width:40px;height:48px;object-fit:contain}.native-tutorial-controls .native-tutorial-controls__back{top:calc(max(120px,19.11979dvh) + max(44px,7.1875dvh) + 8px);width:44px;height:44px;font-size:24px}.native-tutorial-controls{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;pointer-events:none}.native-tutorial-controls>.original-audio-settings{position:fixed;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));pointer-events:auto}.native-tutorial-controls .original-audio-settings__panel{right:calc(max(52px,9.921875dvh) + 8px);top:0;max-width:calc(100dvw - max(52px,9.921875dvh) - 24px - env(safe-area-inset-left) - env(safe-area-inset-right))}@media(max-width:999px){.native-tutorial-controls{inset:calc(max(74px,11.848958dvh) + env(safe-area-inset-top)) max(0px,env(safe-area-inset-right)) auto auto;width:max(52px,9.921875dvh);display:flex;flex-direction:column;align-items:flex-end;gap:4px}.native-tutorial-controls>.battle-context-controls{display:contents}.native-tutorial-controls .battle-context-controls>button{position:relative;top:auto;right:0;flex:none}.native-tutorial-controls>.original-audio-settings{position:relative;inset:auto;width:100%;order:1}.native-tutorial-controls .original-audio-settings summary{margin-left:auto}.native-tutorial-controls .native-tutorial-controls__back{order:2}.native-tutorial-controls .original-audio-settings__panel{top:auto;bottom:0}}.native-tutorial-result{position:fixed;z-index:90;inset:auto 20px 30px;display:flex;justify-content:center;gap:10px}.native-tutorial-result:empty{display:none}body .modal.native-tutorial-hero-dialog{width:min(650px,94vw);padding:0;border:0;background:transparent;box-shadow:none;color:#fffc89;text-align:center}.native-tutorial-hero-dialog .native-hero-info{text-align:left;grid-template-columns:36% minmax(0,1fr)}.native-tutorial-hero-dialog h2{font-size:28px;margin-bottom:12px}.native-tutorial-hero-dialog>button{margin-top:16px}.native-tutorial-chat{isolation:isolate;box-sizing:border-box;border:0;padding:26px 18px 32px;transform-origin:top left}.native-tutorial-chat:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border:solid transparent;border-width:31px 0 36px;border-image:url(/asset/original-tutorial/chat.webp) 31 0 36 0 fill stretch}.native-tutorial-chat[data-side="1"]:not([data-anchor]):before,.native-tutorial-chat[data-anchor=right]:before{transform:scaleX(-1)}.native-tutorial-chat[data-side="1"]:not([data-anchor]),.native-tutorial-chat[data-anchor=right]{transform-origin:top right}body .modal.native-tutorial-hero-dialog>button{color:#fffc89;background:#141414cc;border:1px solid #c5ba76;width:auto;min-width:140px;max-width:220px;padding:10px 18px}.match-scene .board__overlay:has(>.original-audio-settings),.match-scene .native-tutorial-controls>.original-audio-settings{position:fixed;inset:auto;top:max(var(--practice-tools-top, 12px),env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));z-index:40;width:auto;pointer-events:auto}.match-scene .native-tutorial-controls>.original-audio-settings summary{margin-left:0}@media(min-width:1000px){.match-scene .board__overlay:has(>.original-audio-settings),.match-scene .native-tutorial-controls>.original-audio-settings{top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left))}.match-scene .native-tutorial-controls.practice-tools{top:max(12px,env(safe-area-inset-top));right:max(0px,env(safe-area-inset-right))}.match-scene .original-audio-settings>.original-audio-settings__panel{left:0;right:auto;top:calc(100% + 6px);bottom:auto;max-width:calc(100dvw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));max-height:calc(100dvh - 84px - env(safe-area-inset-top))}}.desktop-reserve-confirm,.desktop-reserve-end-underlay{display:none}@media(min-width:1000px){.match-scene.tb-has-board-three:not(.tb-has-replay-controls){--desktop-reserve-width: clamp(340px, 34vw, 500px);--desktop-reserve-height: calc(var(--desktop-reserve-width) * 369 / 1055);--desktop-action-height: 96px;--desktop-reserve-slide-duration: .333333s}.match-scene.match-scene--solo-pool.tb-has-board-three:not(.tb-has-replay-controls) .board-area{grid-area:2 / 1 / 4 / 2}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool{position:absolute;inset:auto max(0px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) auto;width:var(--desktop-reserve-width);height:var(--desktop-reserve-height);max-height:none;padding:6px calc(var(--desktop-reserve-width) * .162) 6px calc(var(--desktop-reserve-width) * .185);border:0;background:none;z-index:10;isolation:isolate;justify-content:center;overflow:visible;transform:translate(0);transition:transform var(--desktop-reserve-slide-duration) linear}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url(/asset/original-ui/UnitListPanel_bg-22b641c9-1.webp) calc(var(--desktop-reserve-width) * -115 / 1055) 0 / calc(var(--desktop-reserve-width) * 1172 / 1055) 100% no-repeat,url(/asset/original-ui/UnitListPanel_bg2-4b4bdec6-1.webp) 0 0 / 100% 100% no-repeat;transform:scaleX(-1);pointer-events:none}.match-scene.match-scene--solo-pool.tb-has-board-three:not(.tb-has-replay-controls) .pool--collapsed{display:flex;max-height:none;padding:6px calc(var(--desktop-reserve-width) * .162) 6px calc(var(--desktop-reserve-width) * .185);opacity:1;transform:translate(118.148148%);pointer-events:none}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool .pool__grid{width:100%;height:100%;gap:3px;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));align-items:center;justify-items:center}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool .hero-card{width:min(100%,calc((var(--desktop-reserve-height) - 15px) * 171 / 426));height:auto;min-height:0;max-height:none;aspect-ratio:171 / 213}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .hud:not(.hud--result),.match-scene.match-scene--pool-open.tb-has-board-three:not(.tb-has-replay-controls) .hud:not(.hud--result){position:absolute;inset:auto max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) auto;width:200px;height:var(--desktop-action-height);display:flex;z-index:9}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .hud__actions .hud__action--swap{left:25%;top:50%}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .hud__actions .hud__action--end{left:75%;top:50%}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .hud .hud__action--confirm{display:none}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .hud .desktop-reserve-end-underlay{display:block;pointer-events:none}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool>.desktop-reserve-confirm{display:block;position:absolute;z-index:21;left:6.5%;top:50%;width:clamp(66px,9.9dvh,92.4px);aspect-ratio:200 / 176;transform:translate(-50%,-50%);padding:0;border:0;background:url(/asset/original-ui/Btn_Confirm1-bcc7dd9e-1.webp) center / contain no-repeat;cursor:pointer;pointer-events:auto}.desktop-reserve-confirm:hover:not(:disabled){filter:brightness(1.15)}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool>.desktop-reserve-confirm:active:not(:disabled){background-image:url(/asset/original-ui/Btn_Confirm2-639d9dcc-1.webp)}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool>.desktop-reserve-confirm:disabled{background-image:url(/asset/original-ui/Btn_Confirm3-9beda4cc-1.webp)}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool .pool__recycle--native{top:0;right:0;bottom:0;left:0}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool__recycle--native .native-reserve-drop{display:block;transform:scaleX(-1)}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .desktop-reserve-drop{display:none}}@media(min-width:1000px)and (prefers-reduced-motion:reduce){.match-scene.tb-has-board-three:not(.tb-has-replay-controls){--desktop-reserve-slide-duration: 0s}.match-scene.tb-has-board-three:not(.tb-has-replay-controls) .pool{transition:none}}.main-menu{position:relative;isolation:isolate;height:100dvh;min-height:0;overflow:hidden;color:#f4e3ba;background:#17201b;font-family:var(--font-display)}.main-menu__gallery{position:absolute;top:0;right:30%;bottom:0;left:0;overflow:hidden;z-index:-2}.main-menu__art{position:absolute;width:108%;height:108%;left:-4%;top:-4%;object-fit:cover;object-position:40% center;opacity:0;z-index:0;--art-x-start: var(--drift-start, 0%);--art-x-end: var(--drift-end, 0%)}.main-menu__art:is(.is-active,.is-outgoing){animation:main-menu-camera 15s linear both}.main-menu__art.is-active{opacity:1;z-index:2;transition:opacity 2.4s ease-in-out}.main-menu__art.is-outgoing{opacity:1;z-index:1}.main-menu:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,transparent 40%,rgba(26,34,29,.18) 57%,#18201c 70%)}.main-menu__topbar{position:absolute;inset:24px 36px auto;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;z-index:3;pointer-events:none}.main-menu__crest{display:block;width:clamp(112px,11vw,160px);height:auto;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 3px 3px #07120c99);pointer-events:none;-webkit-user-select:none;user-select:none}.main-menu__profile{display:flex;align-items:center;gap:12px;font-size:13px}.main-menu__login{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;box-sizing:border-box;border:1px solid #9c8149;border-radius:2px;background:#17221dde;color:#ead5a7;text-decoration:none}.main-menu__offline-account{display:flex;align-items:center;gap:12px;padding:6px 10px;border:1px solid #9c814945;border-radius:2px;background:#17221dde;color:#ead5a7;white-space:nowrap}.main-menu__top-actions{display:flex;align-items:center;gap:18px;pointer-events:auto}.main-menu__status:empty{display:none}.main-menu__profile .lobby__id{min-width:0;background:#17221dde;color:#ead5a7;padding:7px 13px;border:1px solid #9c814945;border-radius:2px;box-shadow:none}.main-menu__profile .lobby__avatar{width:36px;height:36px}.main-menu__profile .lobby__id-name{font-size:14px;color:#f4e3ba}.main-menu__profile :is(.lobby__id-github,.lobby__id .btn){font-size:11px}.main-menu__profile .lobby__id-auth-row{min-height:14px}.settings-page__account .btn--ghost{color:#f4e3ba;border:1px solid #9c814960}.main-menu__profile .lobby__id--compact{display:block;padding:0;border:0;background:none}.lobby__id--compact .presence__avatar-btn{display:flex;align-items:center;gap:9px;min-height:44px;border-radius:0;color:#f4e3ba}.lobby__id--compact .presence__dot{left:25px;right:auto;bottom:4px;width:8px;height:8px;box-shadow:0 0 0 2px #17221d}.main-menu__profile .lobby__id--compact .presence__menu{left:auto;right:0}.main-menu__profile .presence__menu .btn{font-size:var(--fs-sm)}.lobby__id--compact .lobby__id-name{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-menu__chevron{font-size:15px;color:#c6a66b}.main-menu__panel{position:relative;margin-left:auto;width:38%;min-width:420px;height:100%;min-height:0;box-sizing:border-box;padding:100px 42px 76px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:none}.main-menu__panel:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;opacity:.35;background:url(/asset/original-ui/MainBg-6126f238-1.webp) right center / cover;-webkit-mask-image:linear-gradient(90deg,transparent,#000 45%);mask-image:linear-gradient(90deg,transparent,#000 45%)}.main-menu__brand{text-align:center;margin-bottom:26px;width:100%}.main-menu__eyebrow{color:#c6a66b;font-size:11px;letter-spacing:.38em}.main-menu__brand h1{font-size:clamp(42px,4.2vw,64px);margin:7px 0 14px;letter-spacing:.08em;line-height:1.15;color:#f3dfb4;text-shadow:0 3px 0 #141a16,0 0 24px #b3996540}.main-menu__brand h1 span{color:#d3aa5f}.main-menu__brand-rule{color:#b99755;font-size:8px;display:flex;align-items:center;gap:10px;width:190px;margin:auto}.main-menu__brand-rule:before,.main-menu__brand-rule:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#b9975570)}.main-menu__brand-rule:after{transform:rotate(180deg)}.main-menu__brand p{margin:13px 0 0;color:#cab68c;font-size:13px;letter-spacing:.2em}.main-menu__modes{width:min(100%,400px);display:flex;flex-direction:column;gap:12px}.main-menu .main-menu__mode{position:relative;display:flex;align-items:center;gap:14px;box-sizing:border-box;width:100%;height:86px;padding:12px 36px;text-decoration:none;background:url(/asset/original-ui/Main_battle_button-25f742bc-1.webp) center / 100% 100% no-repeat;border:0;border-radius:0;color:#f8e4ad;cursor:pointer;text-align:left;filter:saturate(.65);transition:filter .18s ease,transform .18s ease;font-family:var(--font-display);text-shadow:0 2px 2px #111b17}.main-menu__mode:hover{filter:saturate(.9) brightness(1.2);transform:translate(-5px)}.main-menu__mode:active{transform:translate(-3px) scale(.98);filter:brightness(.94)}.main-menu .main-menu__mode-icon{width:42px;height:48px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 2px 2px #08110d80)}.main-menu__mode-text{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.main-menu__mode-text strong{font-size:23px;font-weight:700;letter-spacing:.16em}.main-menu__mode-text small{color:#c1c0a6;font-family:var(--font-body);font-size:11px;letter-spacing:.03em}.main-menu__mode-arrow{margin-left:auto;font-family:var(--font-body);font-size:28px;color:#c6aa6d}.main-menu__mode--locked{cursor:default;filter:saturate(.15);opacity:.52}.main-menu__mode--locked:hover{transform:none;filter:saturate(.15)}.main-menu__mode--locked .main-menu__mode-arrow{font-size:10px;white-space:nowrap;writing-mode:vertical-rl;letter-spacing:.12em}.main-menu__links{display:flex;gap:14px;justify-content:center;align-items:center;margin-top:22px;font-size:12px;color:#8f805f}.main-menu__links a{color:#c0ac85;text-decoration:none}.main-menu__links a:hover{color:#ffe0a2}.main-menu__links .lobby__subtitle-link{font-size:inherit;letter-spacing:0}.main-menu__links .lobby__subtitle-link-icon{display:none}.main-menu__footer{position:absolute;bottom:20px;left:36px;right:36px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:.06em}.main-menu__connection{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:168px;min-height:44px;box-sizing:border-box;padding:8px 14px;border:0;background:#ad915a;color:#ebd9b2;clip-path:polygon(6px 0,calc(100% - 6px) 0,100% 6px,100% calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,0 calc(100% - 6px),0 6px);text-decoration:none;white-space:nowrap}.main-menu__connection:before,.main-menu__connection:after{content:"";position:absolute;pointer-events:none;clip-path:inherit;z-index:-1}.main-menu__connection:before{top:1px;right:1px;bottom:1px;left:1px;background:linear-gradient(135deg,#2b4031,#15281e);box-shadow:inset 0 1px #e4cb9620}.main-menu__connection:after{top:4px;right:4px;bottom:4px;left:4px;border:1px solid #baa16a29}.main-menu__download-platform,.main-menu__download-action{flex:0 0 auto;width:20px;height:20px;background:#bba474;-webkit-mask:url(/icons/android.svg) center / contain no-repeat;mask:url(/icons/android.svg) center / contain no-repeat}.main-menu__download-copy{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.main-menu__download-edition{color:#baa571;font:8px/1 var(--font-num);letter-spacing:.16em}.main-menu__download-label{font:400 12px/1.2 var(--font-display);letter-spacing:.08em}.main-menu__download-action{width:15px;height:15px;margin-left:3px;background:#d0b880;-webkit-mask-image:url(/icons/download.svg);mask-image:url(/icons/download.svg)}.main-menu__connection:hover{background:#ddc28a;color:#fff0cc;text-decoration:none}.main-menu__connection:hover:before{background:linear-gradient(135deg,#354e3b,#20372a)}.main-menu__connection:active:before{background:#15271d}.main-menu__connection:focus-visible:after{border-color:#fff0bd;border-width:2px}.main-menu__connection[hidden]{display:none}.main-menu__status{color:#a6926c}.main-menu :is(a,button,summary):focus-visible{outline:2px solid #f4c970;outline-offset:4px}.mission-menu{height:100dvh;overflow:auto;background:linear-gradient(#faf0d9e8,#efdfbde8),url(/img/parchment_tile.webp) repeat;color:#493720;padding:40px max(24px,calc((100vw - 1200px)/2));box-sizing:border-box;font-family:var(--font-display)}.mission-menu__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid #93774a50}.mission-menu__header h1{font-size:36px;margin:7px 0 10px}.mission-menu__eyebrow{color:#8b6840;font-size:11px;letter-spacing:.22em}.mission-menu__header p{margin:0;font-size:14px;color:#7c6445}.mission-menu__back{color:#6e4f2a;font-size:14px;text-decoration:none;white-space:nowrap}.mission-menu__continue{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;margin:24px 0;padding:20px 24px;background:#5e715a14;border-left:3px solid #827246}.mission-menu__continue strong{display:block;font-size:20px;margin-bottom:5px}.mission-menu__continue p{margin:0;font-size:13px;color:#7c6445}.mission-menu__start{display:grid;place-items:center;min-width:170px;min-height:48px;padding:3px 20px;box-sizing:border-box;color:#f9e6b6;background:url(/asset/original-ui/Main_battle_button-25f742bc-1.webp) center / 100% 100%;text-decoration:none}.mission-menu__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}.mission-menu__card{position:relative;display:flex;align-items:center;gap:12px;min-height:156px;padding:20px;text-decoration:none;color:inherit;border:1px solid #91734750;background:#fbf1d75c;box-shadow:0 3px 8px #5735170d;transition:transform .2s,background .2s}.mission-menu__card:hover{transform:translateY(-3px);background:#fff5de;color:#493720}.mission-menu__card img{width:102px;height:132px;object-fit:contain}.mission-menu__number{font-size:11px;color:#957143;letter-spacing:.12em}.mission-menu__card h2{font-size:22px;margin:7px 0 10px}.mission-menu__card p{color:#836e50;font-size:12px;margin:0 0 12px}.mission-menu__progress{color:#526047;font-size:12px}.mission-menu__story{max-width:780px;line-height:1.9;margin:26px 0;font-size:15px;white-space:pre-line}.mission-menu__stages{display:grid;gap:16px;margin:24px 0}.mission-menu__stage{display:grid;grid-template-columns:44px 1fr auto;gap:20px;align-items:center;padding:24px;border:1px solid #91734750;background:#fbf1d75c}.mission-menu__stage-number{font:24px var(--font-display);color:#997547}.mission-menu__stage h2{margin:0 0 10px;font-size:22px}.mission-menu__stage p{margin:0;line-height:1.7;white-space:pre-line;font-size:14px}.mission-menu__note{color:#8b7658;font-size:12px;line-height:1.7}.mission-menu :is(a,button):focus-visible{outline:2px solid #896530;outline-offset:4px}@media(min-width:861px)and (max-height:800px){.main-menu__panel{padding-top:80px;padding-bottom:50px}.main-menu__brand{margin-bottom:20px}.main-menu__brand h1{font-size:48px}.main-menu .main-menu__mode{height:70px}.main-menu__mode-text strong{font-size:21px}.main-menu .main-menu__mode-icon{height:40px;width:36px}.main-menu__modes{gap:10px}.main-menu__links{margin-top:18px}}@media(max-width:1100px)and (min-width:861px){.main-menu__panel{width:45%;min-width:400px;padding-inline:28px}.main-menu .main-menu__mode{padding-inline:30px}}@media(max-width:860px){.main-menu{background:#17201b;display:flex;flex-direction:column}.main-menu__gallery{position:fixed;top:0;right:0;bottom:0;left:0;height:100dvh}.main-menu__art{width:max(108vw,162dvh);left:0;object-position:center;--art-x-start: calc((100vw - 100%) * var(--crop-start, .4));--art-x-end: calc((100vw - 100%) * var(--crop-end, .45))}.main-menu:before{position:fixed;background:linear-gradient(#131e18a8,#1a251c99 35%,#151d18da)}.main-menu__panel{order:1;flex:1;width:100%;min-width:0;min-height:0;padding:76px 28px 16px;background:none}.main-menu__panel:before{display:none}.main-menu__brand{margin-bottom:24px}.main-menu__brand h1{font-size:52px}.main-menu__modes{width:min(100%,360px);gap:10px}.main-menu .main-menu__mode{height:78px;padding:10px 30px}.main-menu .main-menu__mode-icon{width:36px;height:42px}.main-menu__mode-text strong{font-size:22px}.main-menu__mode-text small{font-size:10px}.main-menu__topbar{inset:max(16px,env(safe-area-inset-top)) 20px auto;justify-content:flex-end}.main-menu__crest{display:none}.main-menu__profile>.lobby__id>.lobby__id-auth-row{display:none}.main-menu__profile .lobby__id{padding:5px 8px;gap:8px}.main-menu__profile .presence{grid-row:auto}.main-menu__profile .lobby__avatar{width:30px;height:30px}.main-menu__profile .lobby__id--compact{padding:0}.lobby__id--compact .presence__avatar-btn{gap:6px}.account-menu__chevron{font-size:12px}.lobby__id--compact .presence__dot{left:21px;bottom:6px}.main-menu__footer{order:3;flex:none;position:relative;left:auto;right:auto;top:auto;bottom:auto;padding:18px 20px max(16px,env(safe-area-inset-bottom));font-size:9px;letter-spacing:0}.mission-menu{padding:24px 20px}.mission-menu__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mission-menu__card{display:block;padding:14px}.mission-menu__card img{width:100%;height:115px}.mission-menu__card h2{font-size:18px}.mission-menu__stage{grid-template-columns:28px 1fr;gap:14px;padding:18px}.mission-menu__stage .mission-menu__start{grid-column:2;justify-self:start}}@media(prefers-reduced-motion:reduce){.main-menu__art,.main-menu__art:is(.is-active,.is-outgoing),.main-menu__mode,.mission-menu__card{transition:none;animation:none}}@keyframes main-menu-camera{0%{transform:translate(var(--art-x-start),var(--drift-y-start, 0%)) scale(var(--zoom-start, 1.02))}to{transform:translate(var(--art-x-end),var(--drift-y-end, 0%)) scale(var(--zoom-end, 1.04))}}.battle-menu__nav{display:flex;justify-content:space-between;align-items:center;color:#806643;font:13px var(--font-display)}.battle-menu__nav a{color:#654a28;text-decoration:none}.mode-page{height:100dvh;overflow:auto;box-sizing:border-box;padding:36px max(24px,calc((100vw - 1100px)/2)) 48px;color:#eed9ad;background:linear-gradient(#17251eee,#18231bef),url(/asset/original-ui/MainBg-6126f238-1.webp) center / cover fixed;font-family:var(--font-display)}.mode-page__header{display:flex;align-items:center;justify-content:space-between;gap:24px;border:0;padding-bottom:24px;margin-bottom:26px}.mode-page__eyebrow{font-size:10px;letter-spacing:.3em;color:#b39358}.mode-page__header h1{font-size:36px;margin:8px 0 10px;letter-spacing:.12em}.mode-page__header p{color:#b6a786;font-size:13px;margin:0;line-height:1.7}.mode-page__back{color:#d7bb81;text-decoration:none;font-size:13px;white-space:nowrap}.mode-page__navigation{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:8px}.go-online{border:1px solid #a88a52;border-radius:4px;padding:5px 12px;background:#18231bef;color:#e5d8bd;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}.go-online:disabled{opacity:.7;cursor:wait}.mode-page__primary{border:0;background:url(/asset/original-ui/Main_battle_button-25f742bc-1.webp) center / 100% 100% no-repeat;color:#ffe7ad;font:24px var(--font-display);letter-spacing:.25em;width:270px;height:72px;cursor:pointer}.mode-page__primary:hover{filter:brightness(1.2)}.mode-page__primary:disabled{opacity:.55;cursor:wait}.mode-page :is(button,input,a):focus-visible{outline:2px solid #f4c970;outline-offset:3px}.mode-page__empty{text-align:center;padding:70px 0;color:#c1ad84}.mode-page__empty img{width:96px;height:110px;object-fit:contain}.settings-page{width:min(100%,420px);margin:28px auto}.settings-page .original-audio-settings__panel{position:static;width:100%;max-width:100%;max-height:none;overflow:visible;padding:24px 18px}.settings-page .original-audio-settings__switch{min-height:60px}.settings-page__account{padding:24px 18px;border-top:1px solid #9c814960;color:#ead5a7}.settings-page__account h2{margin:0 0 16px;font-size:20px}.settings-page__account p{overflow-wrap:anywhere}.settings-page__account .lobby__id-auth-row{flex-wrap:wrap}.settings-page__account .lobby__id-github{color:inherit;overflow-wrap:anywhere}.settings-page__account .btn{min-height:44px}.ladder-page__status{color:#ba8;font-size:12px;min-height:20px;line-height:1.7}.mode-page.ladder-page{position:relative;isolation:isolate;width:100%;color:#e5d8bd;background:#181613}.has-menu-backdrop{position:relative;isolation:isolate;background:#181613}.has-menu-backdrop>.main-menu__gallery{position:fixed;top:0;right:0;bottom:0;left:0;height:100dvh}.has-menu-backdrop:before{content:"";position:fixed;z-index:-1;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(110deg,#15130fe0,#171510bc 55%,#14120ede)}.mission-menu.has-menu-backdrop{color:#e5d8bd}.mission-menu.has-menu-backdrop :is(.mission-menu__header p,.mission-menu__continue p,.mission-menu__card p,.mission-menu__number,.mission-menu__stage-number,.mission-menu__note){color:#b6a88c}.mission-menu.has-menu-backdrop :is(.mission-menu__back,.mission-menu__eyebrow,.mission-menu__progress){color:#ceb889}.mission-menu.has-menu-backdrop :is(.mission-menu__card,.mission-menu__stage,.mission-menu__continue){background:#2c2821d9;border:0}.mission-menu.has-menu-backdrop .mission-menu__card:hover{color:#f1dfb7;background:#393227eb}.has-menu-backdrop :is(.mode-page__header,.mission-menu__header){border:0}.ladder-page .mode-page__header h1{color:#e5d8bd}.ladder-page .mode-page__header p,.ladder-page__status{color:#ac9f87}.ladder-page__pool-host,.ladder-page__desktop-hint{display:none}.ladder-page__team-panel{min-width:0;overflow-x:hidden}.ladder-picker__target,.ladder-picker__total{color:#b7a375;font:12px var(--font-body)}.ladder-page__tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 0 12px;border-bottom:0;margin-bottom:0}.ladder-page__tabs button{min-width:0;position:relative;isolation:isolate;height:60px;border:0;border-radius:0;background:transparent;color:#b9ae98;font:13px var(--font-display);padding:6px 16px;white-space:normal;overflow:hidden;overflow-wrap:anywhere;cursor:pointer}.ladder-page__tabs button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border:8px solid transparent;border-image:url(/asset/original-ui/NormalPanelBg-e88e239b-2.webp) 28 fill / 8px / 0 stretch;filter:brightness(.47) saturate(.55)}.ladder-page__tabs button[aria-selected=true]{color:#f7e3b4;text-shadow:0 1px 3px #000}.ladder-page__tabs button[aria-selected=true]:before{filter:brightness(.72) sepia(.3) saturate(.8)}.ladder-page__tabs button:hover:not(:disabled){filter:brightness(1.2)}.ladder-page__roster,.original-menu-panel{position:relative;isolation:isolate;padding:22px;border:0;background:#302b24;box-shadow:0 12px 24px #0003}.ladder-page__roster:before,.ladder-picker:before,.original-menu-panel:before{content:"";position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;pointer-events:none;border:12px solid transparent;border-image:url(/asset/original-ui/NormalPanelBg-e88e239b-2.webp) 28 fill / 12px / 0 stretch;filter:brightness(.48) saturate(.4)}.ladder-page__roster .ladder-page__name{color:#e5d8bd}.ladder-page__roster .ladder-page__count,.ladder-page__roster .ladder-page__hint{color:#b6a88c}.ladder-page__roster-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:20px}.ladder-page__name{background:transparent;border:0;color:#e4cd97;font:22px var(--font-display);padding:8px 2px;min-width:0;width:100%}.ladder-page__count{color:#b7a375;font-size:13px;white-space:nowrap}.ladder-page__slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;justify-items:center}.ladder-page__slot{position:relative;width:100%;max-width:171px;aspect-ratio:171 / 213;display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;background:url(/asset/original-roster/Header_bg-24de6b73.webp) center / 100% 100% no-repeat;color:#bda97e;cursor:pointer;padding:10px}.ladder-page__slot:hover{filter:brightness(1.2)}.ladder-page__slot.is-filled{background-image:url(/asset/original-roster/Header_bg-24de6b73.webp)}.ladder-page__name-row{display:flex;align-items:center;gap:12px;width:min(85%,430px);min-width:0}.ladder-page__name[readonly]{border-color:transparent}.ladder-page__rename,.mode-page__secondary{flex:none;border:0;background:url(/asset/original-ui/NormalBrownBtnBg1-834a1fe7-1.webp) center / 100% 100%;padding:8px 14px;color:#ead2a1;font:12px var(--font-display);cursor:pointer}.ladder-page__slot:disabled{cursor:default}.ladder-page__slot img{position:absolute;width:88%;height:72%;top:6%;object-fit:contain}.ladder-page__slot-number{position:absolute;left:15%;top:15%;font-size:10px;opacity:.6}.ladder-page__slot-name{font:13px var(--font-display);letter-spacing:.08em;position:absolute;bottom:11%;text-shadow:0 1px 3px #000}.ladder-page__hint{color:#9a8e71;text-align:center;font-size:12px;margin:18px 0;line-height:1.7}.ladder-page__actions{display:flex;justify-content:center;margin-top:32px}.ladder-picker-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#08120dd9;display:grid;place-items:center;padding:20px}.ladder-picker{position:relative;isolation:isolate;display:flex;flex-direction:column;width:min(1080px,100%);height:min(880px,92dvh);overflow:hidden;box-sizing:border-box;padding:24px;background:#302b24;border:0;color:#e5d8bd;font-family:var(--font-display);box-shadow:0 18px 70px #0008}.ladder-picker header{display:flex;align-items:center;justify-content:space-between;gap:20px}.ladder-picker h2{font-size:22px;margin:0 0 18px}.ladder-picker header button{background:none;border:0;color:#cbb78a;font-size:28px;cursor:pointer}.ladder-picker__search{box-sizing:border-box;width:100%;padding:12px;background:#18161280;border:0;color:#e5d8bd;font:14px var(--font-body);flex-shrink:0}.ladder-picker__search::placeholder{color:#a69880}.ladder-picker__pool{flex:1;min-height:0;overflow-y:auto;overflow-anchor:none;overscroll-behavior:contain;scrollbar-color:#746653 #201d18;scrollbar-width:thin;margin:16px 0;padding:3px}.ladder-picker__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:start}.ladder-picker__group-header{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:6px 10px;margin:4px 0 2px;border-radius:4px;border-left:3px solid #c69a50;background:#ffe09e14;color:#ebd5a7}.ladder-picker__group-header--expansion{margin-top:10px;border-left-color:#d97642;background:#d976421f}.ladder-picker__group-header--expansion.is-locked{border-left-color:#8f7e69;background:#8f7e691f}.ladder-picker__group-title{font-family:var(--font-display);font-size:13px;letter-spacing:.04em}.ladder-picker__group-badge{font-size:11px;padding:2px 8px;border-radius:999px;background:#70ba802e;color:#a8e4b6}.ladder-picker__group-header--expansion.is-locked .ladder-picker__group-badge{background:#d26c5c38;color:#f3b5a8}.ladder-picker__card.is-env-locked .ladder-picker__hero{filter:grayscale(.85) brightness(.68);opacity:.65;cursor:not-allowed}.ladder-picker__card.is-env-locked .ladder-picker__hero:hover{filter:grayscale(.75) brightness(.78)}.ladder-picker__card{position:relative;display:inline-block;vertical-align:top;break-inside:avoid;width:100%;margin:0 0 14px;text-align:center}.ladder-picker__hero{display:block;position:relative;width:88px;max-width:100%;aspect-ratio:171 / 213;margin:0 auto;padding:0;border:0;background:transparent center / 100% 100% no-repeat;color:#e9d3a4;cursor:pointer;font-family:var(--font-display);transition:filter .15s}.ladder-picker__hero img{position:absolute;left:6%;top:8%;width:88%;height:82%;object-fit:contain}.ladder-picker__selected{display:block;color:#f2ca75;font-size:10px}.ladder-picker__hero:hover{filter:brightness(1.22)}.ladder-picker__hero:disabled{cursor:default;opacity:.5}.ladder-picker__toolbar{display:flex;align-items:center;gap:10px;margin-top:12px;flex-shrink:0}.ladder-picker__sort,.ladder-picker__direction{padding:7px 10px;border:0;background:#201c17;color:#c9bca3;font:12px var(--font-body);cursor:pointer}.ladder-picker__direction:disabled{opacity:.4;cursor:default}.ladder-picker :is(button,input,select):focus-visible{outline:2px solid #f4c970;outline-offset:2px}@media(max-width:600px){.mode-page{padding:24px 18px 40px}.mode-page__header{align-items:flex-start;gap:12px}.mode-page__header h1{font-size:28px}.mode-page__header p{font-size:11px}.mode-page__back{font-size:11px;padding-top:6px}.main-menu__top-actions{gap:8px;min-width:0}.main-menu__topbar{gap:12px}.main-menu__profile{min-width:0}.main-menu__profile .lobby__id-name{max-width:64px}.ladder-page__tabs{gap:3px}.ladder-page__tabs button{height:46px;font-size:12px;padding:6px 14px}.ladder-page__roster{padding:12px 4px}.ladder-page__slots{gap:7px}.ladder-page__slot{height:auto;padding:6px 3px}.ladder-page__slot img{height:72%}.ladder-page__slot-name{font-size:10px;letter-spacing:0}.ladder-page__name{font-size:18px}.ladder-page__hint{font-size:10px}.ladder-picker-backdrop{padding:12px}.ladder-picker{height:calc(100dvh - 24px);padding:14px}.ladder-picker__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ladder-picker__hero{width:72px}.ladder-picker__card{margin-bottom:10px}}@media(min-width:601px)and (max-width:820px){.ladder-picker__grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(min-width:1024px){.mode-page.ladder-page{padding:28px max(32px,calc((100vw - 1440px)/2));height:100dvh;box-sizing:border-box;display:flex;flex-direction:column}.ladder-page .mode-page__header{flex-shrink:0;padding-bottom:16px;margin-bottom:14px}.ladder-page .mode-page__header h1{font-size:30px;margin:6px 0 8px}.ladder-page__status{margin:0 0 14px}.ladder-page__workspace{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:24px;flex:1;min-height:0}.ladder-page__pool-host{display:flex;min-width:0;min-height:0}.ladder-picker.ladder-picker--inline{width:100%;height:100%;border:0;box-shadow:0 12px 24px #0003;padding:24px}.ladder-picker--inline h2{margin:0 0 16px}.ladder-picker--inline .ladder-picker__total,.ladder-picker--inline .ladder-picker__target,.ladder-picker--inline .ladder-picker__selected{color:#b6a88c}.ladder-picker--inline .ladder-picker__pool{scrollbar-color:#746653 #201d18}.ladder-picker--inline .ladder-picker__grid{grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:12px}.ladder-picker--inline .ladder-picker__hero{width:84px}.ladder-picker--inline .ladder-picker__pool{margin:0}.ladder-picker__target{margin:14px 0;flex-shrink:0}.ladder-page__team-panel{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#a68c53 #17231b}.ladder-page__tabs{padding-top:0;gap:4px}.ladder-page__tabs button{font-size:13px}.ladder-page__roster{padding:22px 18px}.ladder-page__slots{gap:12px}.ladder-page__slot{max-width:84px}.ladder-page__slot.is-target{filter:brightness(1.15) drop-shadow(0 2px 5px #d4b87855)}.ladder-page__name-row{width:min(85%,430px);gap:8px}.ladder-page__name{font-size:20px}.ladder-page__mobile-hint{display:none}.ladder-page__desktop-hint{display:inline}}.main-menu .main-menu__mode{height:clamp(48px,9dvh,86px);flex-shrink:0}.main-menu__modes{gap:clamp(6px,1.2dvh,12px)}.main-menu__brand{margin-bottom:clamp(10px,2dvh,24px)}.main-menu__brand h1{font-size:clamp(34px,6.2dvh,64px)}.main-menu__links{margin-top:clamp(10px,2dvh,22px)}@media(max-height:620px){.main-menu__panel{padding-block:52px 30px}.main-menu__brand p,.main-menu__brand-rule,.main-menu__mode-text small{display:none}.main-menu .main-menu__mode{height:clamp(42px,9dvh,56px);padding-block:4px}.main-menu .main-menu__mode-icon{height:30px;width:28px}.main-menu__mode-text strong{font-size:18px}.main-menu__footer{padding-block:6px;bottom:6px}}.ladder-picker__pool,.ladder-picker--inline .ladder-picker__pool{overflow-x:hidden;padding:22px 14px 12px}.ladder-page__slots{padding-top:16px;row-gap:24px}.mission-menu--overview .mission-menu__workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;max-width:1200px;margin:30px auto 0}.mission-menu--overview .mission-menu__continue{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;margin:0;padding:28px 20px;background:transparent;text-align:center}.mission-menu--overview .mission-menu__continue:before,.mission-menu--overview .mission-menu__card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;border:10px solid transparent;border-image:url(/asset/original-ui/NormalPanelBg-e88e239b-2.webp) 28 fill / 10px / 0 stretch;filter:brightness(.42) saturate(.4)}.mission-menu__feature-label{color:#b9a172;font-size:12px;letter-spacing:.12em}.mission-menu__continue h2{margin:12px 0 8px;font-size:30px;letter-spacing:.12em}.mission-menu__feature-hero{width:220px;max-width:100%;height:260px;object-fit:contain;filter:drop-shadow(0 12px 12px #0006)}.mission-menu__feature-copy{margin:auto 0 22px}.mission-menu__feature-copy strong{font-size:17px}.mission-menu--overview .mission-menu__continue .mission-menu__start{width:100%;min-height:58px}.mission-menu--overview .mission-menu__grid{margin:0;gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}.mission-menu--overview .mission-menu__card{isolation:isolate;padding:22px 16px;min-height:160px;display:flex;align-items:center;gap:6px;background:transparent;box-shadow:none}.mission-menu--overview .mission-menu__card img{width:78px;height:110px;margin-left:-4px;object-fit:contain;flex:none;transform:scale(1.24)}.mission-menu__card-copy{position:relative;flex:1;min-width:0}.mission-menu--overview .mission-menu__card h2{font-size:20px;margin:5px 0 8px;white-space:nowrap}.mission-menu--overview .mission-menu__card p{font-size:11px;line-height:1.6}.mission-menu--overview .mission-menu__card:hover{background:transparent;transform:translateY(-2px)}.mission-menu--overview .mission-menu__card:hover:before{filter:brightness(.54) saturate(.5)}.mission-menu--overview .mission-menu__card.is-current:before{filter:brightness(.5) saturate(.5)}.mission-menu__progress{display:flex;align-items:center;gap:5px}.mission-menu__progress-mark{color:#817666;font-size:9px}.mission-menu__progress-mark.is-complete{color:#e0bd74}.mission-menu__progress>span:last-child{margin-left:5px;font-size:10px}.mission-menu--overview .mission-menu__note{max-width:1200px;margin:20px auto 0;text-align:right}@media(max-width:1100px){.mission-menu--overview .mission-menu__workspace{grid-template-columns:230px minmax(0,1fr);gap:20px}.mission-menu--overview .mission-menu__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.mission-menu--overview .mission-menu__workspace{display:block;margin-top:20px}.mission-menu--overview .mission-menu__continue{display:grid;grid-template-columns:108px minmax(0,1fr);gap:8px 14px;padding:18px;margin-bottom:22px;text-align:left;align-items:center}.mission-menu__feature-hero{grid-column:1;grid-row:1 / 5;width:108px;height:156px}.mission-menu__feature-label,.mission-menu__continue h2,.mission-menu__feature-copy,.mission-menu--overview .mission-menu__continue .mission-menu__start{grid-column:2;margin:0}.mission-menu__continue h2{font-size:24px}.mission-menu__feature-label{font-size:10px}.mission-menu__feature-copy strong{font-size:12px}.mission-menu__feature-copy p{font-size:10px}.mission-menu--overview .mission-menu__continue .mission-menu__start{min-width:0;min-height:44px;font-size:12px}.mission-menu--overview .mission-menu__grid{gap:12px}.mission-menu--overview .mission-menu__card{flex-direction:column;padding:20px 12px 16px;min-height:212px;text-align:center;gap:0}.mission-menu--overview .mission-menu__card img{width:86px;height:100px;margin:0}.mission-menu--overview .mission-menu__card h2{font-size:18px}.mission-menu--overview .mission-menu__progress{justify-content:center}}.ladder-page__status:empty{display:none}.ladder-picker__card.is-in-team .ladder-picker__hero{filter:none}.ladder-picker__card.is-in-team:after{content:"";position:absolute;pointer-events:none;width:32px;height:32px;left:calc(50% - 16px);bottom:-7px;background:url(/asset/original-roster/Icon_Header1-0ee54307.webp) center / contain no-repeat;filter:drop-shadow(0 2px 2px #0008)}.ladder-page__status{position:fixed;z-index:120;left:50%;top:18px;transform:translate(-50%);max-width:calc(100vw - 40px);margin:0;padding:10px 18px;background:#1d1915ed;box-shadow:0 6px 24px #0005}.ladder-picker header{flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:8px;flex-shrink:0}.ladder-picker header h2,.ladder-picker--inline header h2{margin:0;white-space:nowrap}.ladder-picker header .ladder-picker__toolbar{margin:0 0 0 auto;gap:6px;min-width:0}.ladder-picker header .ladder-picker__search{width:clamp(132px,15vw,190px);padding:8px 10px;font-size:12px}.ladder-picker header .ladder-picker__sort,.ladder-picker header .ladder-picker__direction{padding:8px;font-size:12px}.ladder-picker header .ladder-picker__direction{min-width:50px}.ladder-picker header>button{padding:0}@media(max-width:600px){.ladder-picker header .ladder-picker__toolbar{order:2;width:100%}.ladder-picker header .ladder-picker__search{flex:1;min-width:0;width:auto}.ladder-picker header>button{margin-left:auto}}.ladder-page__tab{position:relative;min-width:0}.ladder-page__tab>button{width:100%;line-height:1.3}.ladder-page__tab .ladder-page__name{position:absolute;top:8px;right:12px;bottom:8px;left:12px;width:calc(100% - 24px);height:calc(100% - 16px);padding:0 4px;font-size:14px;text-align:center;background:#292722;color:#f7e3b4}.ladder-page__tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding-bottom:18px}.ladder-page__tabs button{height:42px;padding:5px 10px;font-size:12px}.ladder-page__tab-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;line-height:14px}.ladder-page__tab .ladder-page__name{top:7px;right:7px;bottom:7px;left:7px;width:calc(100% - 14px);height:calc(100% - 14px);font-size:12px}@media(max-width:600px){.ladder-page__roster{padding:24px 18px}.ladder-page__slots{gap:24px 9px}.ladder-picker{padding:24px 20px;max-width:calc(100vw - 24px);min-width:0}.ladder-picker header h2{font-size:20px}.ladder-picker__pool{padding-inline:18px}}.ladder-picker header{padding-inline:14px}@media(max-width:600px){.ladder-picker header{padding-inline:18px}}.mission-menu__chapter-workspace{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:48px;margin-top:24px}.mission-menu__introduction{min-width:0}.mission-menu__chapter-hero{display:block;width:min(100%,330px);height:260px;object-fit:contain;margin:0 auto 20px;filter:drop-shadow(0 14px 16px #0007)}.mission-menu--chapter .mission-menu__story{margin:0;font-size:14px;line-height:1.95;color:#c7bba3}.mission-menu--chapter .mission-menu__stages{align-content:start;gap:22px;margin:0}.mission-menu--chapter .mission-menu__stage{position:relative;isolation:isolate;grid-template-columns:40px minmax(0,1fr);gap:12px 18px;padding:28px 30px;background:transparent;border:0}.mission-menu--chapter .mission-menu__stage:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;border:10px solid transparent;border-image:url(/asset/original-ui/NormalPanelBg-e88e239b-2.webp) 28 fill / 10px / 0 stretch;filter:brightness(.42) saturate(.4)}.mission-menu--chapter .mission-menu__stage-number{align-self:start;color:#b99b67;font-size:28px;line-height:1.2}.mission-menu--chapter .mission-menu__stage h2{font-size:23px;margin-bottom:10px}.mission-menu--chapter .mission-menu__stage p{color:#c0b399;font-size:14px}.mission-menu--chapter .mission-menu__stage .mission-menu__start{grid-column:2;justify-self:end;width:185px;min-width:0;min-height:48px;margin-top:6px}.settings-page .original-audio-settings__panel{background:transparent;box-shadow:none}@media(max-width:700px){.mission-menu__chapter-workspace{grid-template-columns:minmax(0,1fr);gap:28px}.mission-menu__chapter-hero{height:190px}.mission-menu--chapter .mission-menu__stage{padding:24px;grid-template-columns:30px minmax(0,1fr);column-gap:12px}.mission-menu--chapter .mission-menu__stage h2{font-size:20px}}.mission-menu--chapter .mission-menu__stage{padding:22px 28px;row-gap:10px}.mission-menu--chapter .mission-menu__stage h2{font-size:22px;line-height:1.3;margin-bottom:8px}.mission-menu--chapter .mission-menu__stage p{white-space:normal;line-height:1.65}@media(max-width:700px){.mission-menu--chapter .mission-menu__stage{padding:24px}.mission-menu--chapter .mission-menu__stage h2{font-size:20px}}.ladder-rank{display:flex;align-items:center;gap:12px;margin:0 0 12px;min-height:76px}.ladder-rank__avatar{position:relative;flex:0 0 64px;aspect-ratio:180 / 208}.ladder-rank__portrait{position:absolute;width:63.888889%;height:73.557692%;left:17.222222%;top:18.269231%;object-fit:cover;clip-path:polygon(12% 0,88% 0,100% 9%,100% 91%,88% 100%,12% 100%,0 91%,0 9%)}.ladder-rank__frame{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain}.ladder-rank__badge{width:60px;height:66px;object-fit:contain}.ladder-rank strong{font-size:20px}.ladder-rank p{margin:4px 0 0;font-size:12px;opacity:.75}.ladder-leaderboard{padding:12px 16px;background:#28231dcc;border:1px solid #81704b55;border-radius:8px}.ladder-leaderboard h2{font-size:16px;margin:0}.ladder-leaderboard__hint,.ladder-leaderboard__empty{font-size:12px;color:#b6a88c;margin:6px 0}.ladder-leaderboard__scroll{max-height:144px;overflow:auto}.ladder-leaderboard table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.ladder-leaderboard th{color:#b6a88c;font-weight:400;position:sticky;top:0;background:#28231d}.ladder-leaderboard td,.ladder-leaderboard th{padding:5px 6px}.ladder-leaderboard td:nth-child(2){max-width:160px;overflow-wrap:anywhere}.ladder-leaderboard .is-me{color:#f2d68d}.ladder-page--slot-editor .ladder-page__workspace{display:grid;grid-template-areas:"team" "pool";gap:16px}.ladder-page--slot-editor .ladder-page__team-panel{grid-area:team}.ladder-page--slot-editor .ladder-page__pool-host{grid-area:pool;display:flex;position:relative;min-width:0;height:clamp(280px,55dvh,560px)}.ladder-page__leaderboard-host{display:flex;flex:1;min-width:0;min-height:0}.ladder-page--slot-editor .ladder-leaderboard{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;padding:24px;box-sizing:border-box}.ladder-page--slot-editor .ladder-leaderboard__scroll{flex:1;min-height:0;max-height:none}.ladder-page--slot-editor .ladder-picker--inline{width:100%;height:100%;box-shadow:none}.ladder-page--slot-editor .ladder-picker header{display:grid;grid-template-columns:minmax(0,1fr) auto 28px;gap:8px}.ladder-page--slot-editor .ladder-picker .ladder-picker__toolbar{grid-column:1 / -1;grid-row:2;width:100%;margin:0;gap:6px}.ladder-page--slot-editor .ladder-picker .ladder-picker__search{min-width:0;flex:1;width:0;height:44px;padding:0 12px;font-size:13px}.ladder-picker__sort-control{position:relative;display:flex;flex:0 0 106px;color:#c9bca3}.ladder-page--slot-editor .ladder-picker .ladder-picker__sort{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;width:100%;height:44px;padding:0 30px 0 12px;border-radius:0;background:#18161280;font-size:13px}.ladder-picker__sort-control>svg{position:absolute;right:10px;top:50%;width:16px;height:16px;transform:translateY(-50%);pointer-events:none}.ladder-page--slot-editor .ladder-picker .ladder-picker__direction{display:grid;place-items:center;flex:0 0 44px;min-width:44px;height:44px;padding:0;background:#18161280}.ladder-picker__direction>svg{width:22px;height:22px}.ladder-picker__direction:enabled:hover,.ladder-picker__sort-control:hover .ladder-picker__sort{background:#15130fc4}.ladder-page--slot-editor .ladder-picker__back{font:13px var(--font-body);padding:8px;white-space:nowrap}.ladder-page--slot-editor .ladder-picker h2{margin:0}.ladder-page--slot-editor .ladder-page__slot.is-target{filter:brightness(1.15) drop-shadow(0 2px 5px #d4b87888);outline:2px solid #d4b878;outline-offset:2px}@media(min-width:1024px){.mode-page.ladder-page--slot-editor{height:100dvh;box-sizing:border-box;display:flex;flex-direction:column}.ladder-page--slot-editor>:not(.ladder-page__workspace){flex-shrink:0}.ladder-page--slot-editor .ladder-page__workspace{grid-template-areas:"pool team";grid-template-columns:minmax(0,1fr) minmax(260px,390px);flex:1;min-height:0}.ladder-page--slot-editor .ladder-page__pool-host{height:auto;min-height:0}.ladder-page--slot-editor .ladder-page__team-panel{overflow-y:auto}}.practice-opponent{width:100%;min-width:0;min-height:0;overflow-y:auto;scrollbar-width:none;padding:0;box-sizing:border-box;color:#e5d8bd}.practice-opponent::-webkit-scrollbar{display:none}.practice-opponent__header{width:100%;max-width:390px;margin:0 auto 16px}.practice-opponent h2{margin:0;font:22px var(--font-display)}.practice-opponent__hint{max-width:390px;margin:12px auto;color:#b6a88c;font:13px var(--font-body);line-height:1.6}.practice-opponent__roster{width:100%;max-width:390px;box-sizing:border-box;margin:16px auto}.ladder-page--practice .ladder-page__pool-host{height:clamp(420px,65dvh,620px);min-height:0}.ladder-page__team-panel.is-picking{height:clamp(280px,55dvh,560px)}.ladder-page__team-panel.is-picking .ladder-picker{height:100%}.ladder-page--practice .ladder-page__workspace{grid-template-areas:"team" "controls" "pool"}.practice-controls{grid-area:controls;align-self:center;justify-self:center;display:grid;grid-template-columns:44px 124px 44px;grid-template-areas:"title title title" "down badge up";align-items:center;justify-items:center;justify-content:center;gap:6px 10px;width:auto;min-width:0;padding:12px 2px;color:#e5d8bd;box-sizing:border-box}.practice-controls h2{grid-area:title;margin:0 0 2px;font:15px var(--font-display);letter-spacing:.14em;color:#dfc88f;text-shadow:0 2px 4px #000a;text-align:center}.practice-opponent__friend{width:100%;margin-top:14px;padding:9px 2px;border:1px solid #89754b88;border-radius:4px;background:#302b24bb;color:#d4c6a8;font:13px var(--font-display);cursor:pointer}.practice-difficulty__badge{grid-area:badge;position:relative;width:120px;padding:10px 4px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;touch-action:none;user-select:none;-webkit-user-select:none;cursor:ew-resize;border-radius:14px;background:radial-gradient(circle at 50% 45%,#d9ae5826,#26201780 58%,#1a161000);transition:background .18s ease}.practice-difficulty__badge:hover,.practice-difficulty__badge.is-dragging{background:radial-gradient(circle at 50% 45%,#f0ca7836,#2c241999 60%,#1a161000)}.practice-difficulty__badge:focus-visible{outline:2px solid #d4b878;outline-offset:2px}.practice-difficulty__badge-inner{width:112px;height:104px;display:grid;place-items:center;transform:translate(var(--drag-offset, 0px));transition:transform .14s ease}.practice-difficulty__badge.is-dragging .practice-difficulty__badge-inner,.practice-difficulty__badge.is-dragging .practice-difficulty__meter-fill{transition:none}.practice-difficulty__rank-badge{width:112px;height:104px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 6px 12px #000b);animation:practiceBadgePop .18s cubic-bezier(.22,.9,.3,1)}@keyframes practiceBadgePop{0%{opacity:.65;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.practice-difficulty__meter{width:76px;height:3px;border-radius:999px;background:#8f784844;overflow:hidden;box-shadow:inset 0 1px 2px #0008}.practice-difficulty__meter-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#b88a44,#f5d887);transition:width .18s ease}.practice-difficulty__arrow{width:44px;height:44px;padding:0;display:grid;place-items:center;border:1px solid #9c8149aa;border-radius:8px;background:linear-gradient(180deg,#3a3022ee,#231d15ee);box-shadow:inset 0 1px #fff2cf22,0 3px 8px #0006;color:#f0d797;cursor:pointer;transition:border-color .14s ease,color .14s ease,transform .1s ease,filter .14s ease}.practice-difficulty__arrow--up{grid-area:up}.practice-difficulty__arrow--down{grid-area:down}.practice-difficulty__arrow:hover:not(:disabled){border-color:#e6c678;color:#fff3c9;filter:brightness(1.12)}.practice-difficulty__arrow:active:not(:disabled){transform:scale(.94)}.practice-difficulty__arrow:disabled{opacity:.28;cursor:default;box-shadow:none}.practice-difficulty__icon{width:18px;height:18px;display:block}.practice-controls button:focus-visible{outline:2px solid #d4b878;outline-offset:2px}.ladder-page--practice:is(.is-editing-player,.is-editing-opponent) .practice-controls{visibility:hidden;pointer-events:none}@media(min-width:1024px){.ladder-page--practice .ladder-page__workspace{grid-template-columns:minmax(0,1fr) 236px minmax(0,1fr);grid-template-areas:"pool controls team";gap:16px}.ladder-page--practice .ladder-page__team-panel{width:100%;max-width:390px;justify-self:center}.ladder-page--practice .ladder-page__pool-host{height:auto;min-height:0}.ladder-page__team-panel.is-picking{height:100%}.ladder-page--practice.is-editing-player .ladder-page__pool-host{grid-area:1 / 1 / 2 / 3;z-index:2}.ladder-page--practice.is-editing-opponent .ladder-page__team-panel{grid-area:1 / 2 / 2 / 4;max-width:none;z-index:2}}@media(max-width:1023px){.practice-controls{width:100%}.practice-controls .practice-opponent__friend{grid-column:1 / -1;width:auto;justify-self:center;padding:8px 20px}.ladder-page--practice:is(.is-editing-player,.is-editing-opponent) .practice-controls{display:none}}@media(prefers-reduced-motion:reduce){.practice-difficulty__badge-inner{transition:none;transform:none}.practice-difficulty__rank-badge{animation:none}.practice-difficulty__meter-fill{transition:none}}.practice-friends{max-width:390px;margin:22px auto 0}.practice-friends h3{margin:0 0 10px;font:17px var(--font-display)}.practice-friends__list{display:grid;gap:8px;color:#c6b995;font:13px var(--font-body)}.practice-friends__list p{margin:0}.practice-friends__player{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:1px solid #89754b66;border-radius:4px;background:#211e19cc;color:#e5d8bd;text-align:left;font:14px var(--font-body);cursor:pointer}.practice-friends__player img{width:32px;height:32px;object-fit:cover;border-radius:3px}.practice-friends__player>span:first-of-type{min-width:0;flex:1;overflow-wrap:anywhere}.practice-friends__action{color:#e4c67b}.practice-friends__cancel{justify-self:start;padding:7px 14px;border:1px solid #89754b88;background:#302b24;color:#e5d8bd;cursor:pointer}.practice-friends__player:disabled{opacity:.5;cursor:default}.practice-friends__challenge{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;flex:1;padding:5px 0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.practice-friends__challenge:disabled{opacity:.5;cursor:default}.practice-friends__challenge>span:first-child{min-width:0;overflow-wrap:anywhere}.practice-friends__avatar{width:32px;height:32px;object-fit:cover}.practice-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(100%,640px);margin:0 auto 24px}.practice-rules__option{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;min-height:76px;padding:12px;border:1px solid #6f5d40;background:linear-gradient(140deg,#302b23ee,#1c1b17ee);box-shadow:inset 0 1px #ffffff0b,0 4px 12px #0003;color:#b8ad98;text-align:left;cursor:pointer}.practice-rules__option img{width:38px;height:38px;object-fit:contain;opacity:.65}.practice-rules__option span{display:grid;gap:5px}.practice-rules__option strong{font:18px var(--font-display)}.practice-rules__option small{font:12px var(--font-body);color:#a99c81}.practice-rules__option[aria-pressed=true]{border-color:#d1ad68;color:#ffe3a3;background:linear-gradient(140deg,#5b4930ee,#30281dee);box-shadow:inset 0 0 0 1px #d1ad6838,0 5px 16px #0005}.practice-rules__option[aria-pressed=true]:after{content:"";position:absolute;left:20%;right:20%;bottom:0;height:2px;background:#ebc87c}.practice-rules__option[aria-pressed=true] img{opacity:1}.practice-rules__option:hover:not(:disabled){border-color:#d1ad68}.practice-rules__option:disabled{cursor:wait;opacity:.7}.is-arena-practice .ladder-page__workspace{display:block;width:min(100%,760px);margin:0 auto}.ladder-page--practice.is-arena-practice .ladder-page__team-panel{max-width:none}.is-arena-practice .ladder-page__pool-host{display:none}.is-arena-practice .practice-controls{gap:6px 12px;margin:8px auto 12px}.practice-arena__ai[hidden],.practice-arena__friends[hidden]{display:none}.practice-arena__opponents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0 16px;border-bottom:1px solid #79633e}.practice-arena__opponent{padding:14px 8px;border:0;border-bottom:3px solid transparent;background:transparent;color:#b7ad98;font:18px var(--font-display);cursor:pointer}.practice-arena__opponent[aria-pressed=true]{color:#f5d99c;border-bottom-color:#d7ad60;background:linear-gradient(transparent,#b3894226)}.practice-arena__intro{padding:28px;color:#f1dcb1;line-height:1.7}.practice-arena__intro h2{margin:0;font:26px var(--font-display);text-align:center}.practice-arena__description{text-align:center;margin:10px 0 22px;color:#c4b79e;font:13px/1.7 var(--font-body)}.practice-arena__facts{display:grid;grid-template-columns:repeat(3,1fr);text-align:center}.practice-arena__facts>div{display:grid;gap:3px}.practice-arena__facts>div+div{border-left:1px solid #a98a5140}.practice-arena__facts strong{font-size:22px;color:#f6db9f}.practice-arena__facts span{font:12px var(--font-body);color:#b6a98e}.practice-arena__friends>p{font:13px/1.7 var(--font-body);color:#b6a98e}.practice-arena__ai>.mode-page__primary{display:block;margin:12px auto 0;max-width:100%}@media(max-width:600px){.ladder-page--practice .mode-page__header{margin-bottom:18px;padding-bottom:8px}.practice-rules{gap:8px;margin-bottom:18px}.practice-rules__option{gap:8px;padding:10px 6px;min-height:72px}.practice-rules__option img{width:30px;height:30px}.practice-rules__option strong{font-size:16px}.practice-rules__option small{font-size:11px}.practice-arena__intro{padding:24px 18px}}[data-roster-kind]{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}[data-roster-kind] img{pointer-events:none;-webkit-user-drag:none}[data-roster-kind].is-dragging{opacity:.4}.is-drag-over{outline:3px solid #e3c176!important;outline-offset:2px}.roster-drag-ghost{position:fixed!important;z-index:20000;transform:translate(-50%,-50%) scale(1.12);pointer-events:none!important;opacity:.85;max-width:120px;filter:drop-shadow(0 4px 8px #000b)}.roster-remove-zone{display:none;position:fixed;z-index:15000;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);padding:18px 28px;border:2px dashed #cd936a;background:#392722ee;color:#ffe6ca;font:16px var(--font-body);pointer-events:auto}.is-roster-dragging .roster-remove-zone{display:block}.practice-opponent__mode{display:flex;gap:8px;margin-top:12px}.practice-opponent__mode button{padding:8px 14px;border:1px solid #8f7a53;background:#29251f;color:#e4d7b9;font:14px var(--font-body);cursor:pointer}.practice-opponent__mode button[aria-pressed=true]{border-color:#dfc184;background:#5a4930}.practice-opponent__random{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#e4d7b9;text-align:center}.practice-opponent__random>span{font:64px sans-serif;color:#d8b468}.practice-opponent__random p{margin:0;font:14px var(--font-body)}.practice-opponent__random[hidden],.practice-opponent__slots[hidden]{display:none}.ladder-page--slot-editor .ladder-picker__target{display:block;font-size:12px;line-height:1.5;margin:4px 0 8px}.hero-detail__error:empty{display:none}.hero-detail__error{color:#edb58c}.ladder-picker{position:relative}.ladder-picker>.ladder-picker__close{position:absolute;top:8px;right:8px}.ladder-page--slot-editor .ladder-picker header{padding-right:0}.roster-gesture-hint{color:#c4b38e;font:12px/1.5 var(--font-body);text-align:center;margin:8px 0}.ladder-page__pick-heroes{display:block;min-height:44px;margin:4px auto 0;padding:6px 18px;border:0;background:transparent;color:#dfc88f;font:14px var(--font-display);text-decoration:underline;text-underline-offset:4px;cursor:pointer}.ladder-page__pick-heroes:hover{color:#fff0ba}.ladder-page__pick-heroes:disabled{opacity:.4;cursor:default}.ladder-page__pick-heroes[hidden]{display:none}.roster-gesture-bar{display:flex;align-items:center;justify-content:center;gap:8px}.roster-gesture-bar .ladder-page__pick-heroes{flex-shrink:0;margin:0;padding-inline:8px}.roster-gesture-bar .roster-gesture-hint{text-align:left}.roster-gesture-bar+.ladder-page__actions{margin-top:12px}.resource-download-progress{position:fixed;right:max(12px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));z-index:30;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;margin:0;border:1px solid rgba(185,152,92,.32);border-radius:999px;padding:6px 12px;background:#141d17db;color:#cbb890;font-family:var(--font-num);font-size:12px;line-height:1.1;font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 2px 10px #00000059;cursor:pointer;transition:border-color .16s ease,color .16s ease,background-color .16s ease,transform .12s ease}.resource-download-progress[hidden]{display:none}.resource-download-progress__label{position:relative;z-index:1;white-space:nowrap}.resource-download-progress__bar{position:absolute;left:0;bottom:0;height:2px;width:0;background:linear-gradient(90deg,#b89451,#f3d284);transition:width .22s ease}.resource-download-progress.is-retryable{border-color:#e2926699;color:#f0be9c;cursor:pointer}.resource-download-progress.is-ready{border-color:#f0ce80d9;background:linear-gradient(180deg,#40321af0,#261e11f5);color:#ffefc2;font-family:var(--font-display);font-weight:600;letter-spacing:.08em;padding:7px 16px;box-shadow:0 0 0 1px #f0ce8038,0 4px 14px #00000073}.resource-download-progress.is-ready:hover{border-color:#ffe29a;color:#fff8de;transform:translateY(-1px)}.resource-download-progress.is-applying{opacity:.78;cursor:wait}.resource-download-progress:focus-visible{outline:1px solid var(--gold-line);outline-offset:2px}.auth-login-options{display:flex;align-items:center;justify-content:center;gap:18px}.login-page__android{position:fixed;left:max(24px,env(safe-area-inset-left));bottom:max(20px,env(safe-area-inset-bottom));color:#ceb889;font:13px var(--font-display);text-decoration:none}.login-page__android:hover{text-decoration:underline}.auth-provider-link{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;flex:0 0 56px;border:1px solid #b99b6099;border-radius:50%;background:linear-gradient(145deg,#303a31,#1a241f);box-shadow:0 2px 5px #0003,inset 0 1px #fff1;text-decoration:none}.auth-provider-link:hover{background:#3b483b;border-color:#d5b87b}.auth-provider-link:focus-visible,.account-binding--link:focus-visible{outline:2px solid #d5b87b;outline-offset:3px}.auth-provider-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:28px;height:28px}.auth-provider-icon img,.auth-provider-icon svg{display:block;width:24px;height:24px}.auth-provider-icon--github img{filter:brightness(0) invert(1)}.gate__login-label{margin:0;color:var(--parchment-ink-soft);text-align:center;font:var(--fs-sm) var(--font-display);letter-spacing:.12em}body .login-page .gate{justify-content:flex-start;padding:max(32px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(48px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}body .login-page .gate__brand{flex-shrink:0;margin-top:auto}body .login-page .gate__plaque{flex-shrink:0;margin-bottom:auto}body .login-page .gate .lobby__title,body .login-page .gate .lobby__title-accent{color:#f4e3ba;text-shadow:0 2px 12px #0008}body .login-page .gate .lobby__subtitle{color:#ceb889}body .login-page .gate__plaque{--audio-panel-art: url(/asset/original-audio-ui/panel.webp);position:relative;inset:auto;max-width:380px;max-height:none;overflow:visible;padding:24px 18px;border:22px solid transparent;border-image:var(--audio-panel-art) 88 80 84 80 fill / 22px / 0 stretch;border-radius:0;background:transparent;box-shadow:none;color:#ead5a7}body .login-page .gate__plaque:before,body .login-page .gate__plaque:after{display:none}body .login-page .gate__login-label,body .login-page .gate__divider,body .login-page .gate__hint{color:#d6c49c}body .login-page .gate__divider:before,body .login-page .gate__divider:after{background:#b99b6055}body .login-page .gate__btn{min-height:48px;padding:8px 14px;border:7px solid transparent;border-image:url(/asset/original-audio-ui/button.webp) 40 50 fill / 7px / 0 stretch;border-radius:0;background:transparent;box-shadow:none;color:#fff0bc;text-shadow:0 1px 2px #211e1a}body .login-page .gate__btn:hover:not(:disabled){filter:brightness(1.12)}body .login-page .gate__error{color:#ffb0a0}.account-actions{display:grid;justify-items:start;align-items:start;gap:12px;min-width:0}.account-bindings{display:grid;gap:10px;width:100%;max-width:360px}.account-binding{display:flex;align-items:center;gap:12px;min-width:0;padding:10px 12px;border:1px solid #b99b6038;border-radius:8px;background:#ffffff05;color:inherit;text-decoration:none}.account-binding .auth-provider-icon{width:36px;height:36px;border-radius:8px;background:#202a23}.account-binding .lobby__id-github{min-width:0;font-size:14px;font-style:normal;overflow-wrap:anywhere}.account-binding--link:hover{background:#b99b6018}.resource-snapshot-guard{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12000}.native-resource-gate{display:grid;place-items:center;width:100%;height:100dvh;box-sizing:border-box;overflow:auto;padding:max(32px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));color:#efdfb9;font-family:var(--font-display)}.native-resource-gate__content{width:min(100%,360px);padding:24px 0}.native-resource-gate__brand{margin-bottom:40px;text-align:center}.native-resource-gate__brand>span{color:#bda06a;font-size:11px;letter-spacing:.32em}.native-resource-gate__brand h1{margin:12px 0 0;color:#f4e3ba;font-size:clamp(36px,11vw,46px);font-weight:500;letter-spacing:.08em;text-shadow:0 3px 12px #0008}.native-resource-gate__brand h1 span{color:#cba757}.native-resource-gate__panel{position:relative;padding:28px 24px 24px;border:1px solid #a88b4f;border-radius:3px;background:linear-gradient(145deg,#27382df5,#121f1bf5);box-shadow:0 14px 40px #0006,inset 0 0 0 4px #17231ccc,inset 0 0 0 5px #a88b4f22}.native-resource-gate__ornament{position:absolute;top:-8px;left:calc(50% - 16px);width:32px;height:16px;line-height:16px;color:#cba757;font-size:13px;text-align:center}.native-resource-gate h2{margin:0 0 8px;color:#f4e3ba;font-size:23px;font-weight:500;text-align:center}.native-resource-gate__hint{margin:0;color:#b9b49c;font-size:12px;text-align:center}.native-resource-gate__summary{display:flex;align-items:baseline;justify-content:space-between;margin:28px 0 10px;color:#d6c49c;font-size:13px}.native-resource-gate__percentage{color:#f0d28a;font-family:var(--font-num);font-size:25px;font-weight:500;font-variant-numeric:tabular-nums}.native-resource-gate__bar{height:8px;padding:2px;border:1px solid #9c814977;border-radius:2px;background:#0b1511;box-shadow:inset 0 1px 3px #0005}.native-resource-gate__fill{height:100%;border-radius:1px;background:linear-gradient(90deg,#8b6a31,#d8b763 65%,#f1d994);box-shadow:0 0 8px #d8b76325;transition:width .3s ease-out}.native-resource-gate__detail{display:block;margin-top:10px;color:#b9b49c;font:11px var(--font-num);text-align:right}.native-resource-gate__notice{margin:24px 0 0;color:#87968a;font-size:11px;text-align:center}.native-resource-gate.is-interrupted .native-resource-gate__notice{color:#e0bc83}.native-resource-gate__retry{display:block;min-height:44px;width:100%;margin-top:20px;border:1px solid #a88b4f;border-radius:2px;background:linear-gradient(#344637,#24362b);color:#f4e3ba;font:15px var(--font-display);cursor:pointer}.native-resource-gate__retry[hidden]{display:none}.native-resource-gate__retry:focus-visible{outline:2px solid #f0d28a;outline-offset:3px}@media(max-height:500px){.native-resource-gate__brand{margin-bottom:24px}.native-resource-gate__brand h1{font-size:32px}}.player-profile-link{display:inline-flex;flex-shrink:0;position:relative;color:inherit;text-decoration:none;cursor:pointer}.player-profile-link:focus-visible{outline:2px solid #e5c982;outline-offset:3px}.player-profile-link:hover{filter:brightness(1.12)}.player-rank-avatar{position:relative;display:inline-block;flex-shrink:0;height:auto!important;aspect-ratio:180 / 208;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible!important}.player-rank-avatar:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--player-rank-frame) center / 100% 100% no-repeat;pointer-events:none}.player-rank-avatar>.player-rank-avatar__portrait{position:absolute;width:63.888889%;height:73.557692%;left:17.222222%;top:18.269231%;border:0;border-radius:0;object-fit:cover;clip-path:polygon(12% 0,88% 0,100% 9%,100% 91%,88% 100%,12% 100%,0 91%,0 9%)}.practice-friends__player>.player-rank-avatar{width:32px;flex:0 0 32px}.practice-friends__player>span:first-of-type{flex:1}.match-banner__player-avatar-wrap[data-rank-grade]:after,.avatar-preview-frame[data-rank-grade]:after,.battle-record__avatar[data-rank-grade]:before{background-image:var(--player-rank-frame)!important}.match-scene:not(.tb-has-board-three) .match-banner__player-avatar-wrap[data-rank-grade]{aspect-ratio:180 / 208;height:auto}.match-scene:not(.tb-has-board-three) .match-banner__player-avatar-wrap[data-rank-grade]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--player-rank-frame) center / 100% 100% no-repeat;pointer-events:none}.match-banner__player-avatar-wrap[data-rank-grade]>.match-banner__player-avatar{clip-path:polygon(12% 0,88% 0,100% 9%,100% 91%,88% 100%,12% 100%,0 91%,0 9%)}.match-scene:not(.tb-has-board-three) .match-banner__player-avatar-wrap[data-rank-grade]>.match-banner__player-avatar{position:absolute;width:63.888889%;height:73.557692%;left:17.222222%;top:18.269231%;border:0;border-radius:0}.ladder-leaderboard{position:relative;isolation:isolate;color:#efdfba;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 0%,#d7a84214,transparent 65%),#181711a6}.ladder-leaderboard:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;border:10px solid transparent;border-image:url(/asset/original-ui/NormalPanelBg-e88e239b-2.webp) 28 fill / 10px / 0 stretch;filter:brightness(.42) saturate(.5)}.ladder-page--slot-editor .ladder-leaderboard{padding:24px;gap:18px}.ladder-leaderboard__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ladder-leaderboard__eyebrow{display:block;margin-bottom:7px;color:#b7a17b;letter-spacing:.16em;font-size:11px}.ladder-leaderboard h2{font:24px var(--font-display);letter-spacing:.1em;color:#f5e3b0;text-shadow:0 2px 3px #000}.ladder-leaderboard__standing{flex-shrink:0;font-size:12px;color:#bbae91;padding:8px 12px;border:1px solid #81704b66;background:#17160f55}.ladder-leaderboard__standing.is-qualified{color:#f1d58e;border-color:#bda15d66}.ladder-leaderboard__qualification{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding-bottom:16px;border-bottom:1px solid #b3955433;color:#bdae91;font-size:12px}.ladder-leaderboard__seals{display:flex;gap:6px}.ladder-leaderboard__seals i{width:9px;height:9px;transform:rotate(45deg);border:1px solid #7b6c4a;background:#12110c}.ladder-leaderboard__seals .is-lit{background:linear-gradient(135deg,#f8e9b2,#b98a30);border-color:#e1c26f;box-shadow:0 0 8px #e7ba4833}.ladder-leaderboard__list{list-style:none;padding:0 2px 8px;margin:0;display:grid;gap:10px}.ladder-leaderboard__entry{--honor: #9d927b;position:relative;display:grid;grid-template-columns:44px 52px minmax(0,1fr) minmax(96px,118px);gap:14px;align-items:center;min-height:90px;box-sizing:border-box;padding:10px 16px 10px 8px;border:1px solid #a18a532b;border-left:3px solid var(--honor);background:linear-gradient(105deg,#a18a5313,#11120f99 65%);box-shadow:inset 0 1px #e7d19b0c,0 3px 8px #0002}.ladder-leaderboard__entry[data-place="1"]{--honor: #e8c56f;background:radial-gradient(ellipse at 8% 50%,#e9ba4c20,transparent 70%),linear-gradient(105deg,#65512640,#15150fa6);border-color:#d9ad4766}.ladder-leaderboard__entry[data-place="2"]{--honor: #c6d5e0}.ladder-leaderboard__entry[data-place="3"]{--honor: #d09565}.ladder-leaderboard__place{position:relative;display:grid;place-items:center;align-self:stretch;color:var(--honor);font:26px / 1 var(--font-display);text-shadow:0 2px 2px #000}.ladder-leaderboard__entry.is-podium .ladder-leaderboard__place{background:url(/asset/original-ladder/LevelBlackBg-56631a26.webp) center / 40px 46px no-repeat}.ladder-leaderboard__entry.is-podium .ladder-leaderboard__place:before{content:"";position:absolute;width:39px;height:28px;left:50%;top:4px;transform:translate(-50%);background:url(/asset/original-ladder/Level_Goldline-a584dbf7.webp) center / contain no-repeat}.ladder-leaderboard__entry[data-place="2"] .ladder-leaderboard__place:before{background-image:url(/asset/original-ladder/Level_Silverline-328a84c3.webp)}.ladder-leaderboard__entry[data-place="3"] .ladder-leaderboard__place:before{background-image:url(/asset/original-ladder/Level_Bronzeline-dca621ab.webp)}.ladder-leaderboard__avatar{width:52px}.ladder-leaderboard__identity{min-width:0}.ladder-leaderboard__identity>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:17px var(--font-display);color:#eddfbf}.ladder-leaderboard__identity>span{display:block;margin-top:7px;font-size:11px;color:#a99c80}.ladder-leaderboard .is-me .ladder-leaderboard__identity>span{color:#efcf80}.ladder-leaderboard__rank{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}.ladder-leaderboard__rank .rank-badge{width:64px;height:54px;object-fit:contain;filter:drop-shadow(0 3px 3px #0008)}.ladder-leaderboard__rank strong{font-size:12px;color:#c9def0;text-align:center;line-height:1.3}.ladder-leaderboard__entry.is-me{box-shadow:inset 0 0 22px #d5af3020,0 0 0 1px #bc984d55}.ladder-leaderboard__empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:230px;text-align:center}.ladder-leaderboard__empty .rank-badge{width:100px;height:90px;object-fit:contain;opacity:.4;filter:saturate(.45)}.ladder-leaderboard__empty strong{color:#d6bf8d;font:22px var(--font-display);letter-spacing:.15em}.ladder-leaderboard__empty p{margin:0;color:#bdae91}.ladder-leaderboard__empty>span{font-size:11px;color:#8e836c}@media(max-width:700px){.ladder-page--slot-editor .ladder-leaderboard{padding:18px 12px;gap:14px}.ladder-leaderboard h2{font-size:20px}.ladder-leaderboard__standing{padding:6px 8px;font-size:11px}.ladder-leaderboard__entry{grid-template-columns:28px 42px minmax(0,1fr) 74px;gap:9px;padding:9px 7px;min-height:84px}.ladder-leaderboard__place{font-size:22px}.ladder-leaderboard__entry.is-podium .ladder-leaderboard__place{background-size:30px 37px}.ladder-leaderboard__entry.is-podium .ladder-leaderboard__place:before{width:31px;height:23px;top:6px}.ladder-leaderboard__avatar{width:42px}.ladder-leaderboard__identity>strong{font-size:15px}.ladder-leaderboard__rank .rank-badge{width:55px;height:45px}.ladder-leaderboard__rank strong{font-size:11px}}@media(prefers-reduced-motion:no-preference){.ladder-leaderboard__entry{animation:ladder-honor-arrive .35s ease-out both}@keyframes ladder-honor-arrive{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}}.ladder-leaderboard__scroll{scrollbar-width:thin;scrollbar-color:#8c744a transparent;overscroll-behavior:contain;padding-right:4px}.ladder-leaderboard__scroll::-webkit-scrollbar{width:4px;height:4px}.ladder-leaderboard__scroll::-webkit-scrollbar-track{background:transparent}.ladder-leaderboard__scroll::-webkit-scrollbar-thumb{background:#8c744a99;border-radius:4px}.ladder-leaderboard__scroll::-webkit-scrollbar-thumb:hover{background:#c2a367}@media(pointer:coarse){.ladder-leaderboard__scroll{scrollbar-width:none;padding-right:0}.ladder-leaderboard__scroll::-webkit-scrollbar{display:none}}.ladder-result{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2300;overflow:hidden;background-color:#0b1014;background-image:var(--rank-background);background-position:center;background-size:cover;background-repeat:no-repeat;pointer-events:auto;outline:none}.ladder-result[data-ready=true]{cursor:pointer}.ladder-result__canvas{position:absolute;left:50%;top:50%;width:720px;height:1000px;transform-origin:center}.ladder-result__title{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;color:#fff;font-family:Arial,sans-serif;font-weight:400;text-align:center;line-height:1.3}@media(min-aspect-ratio:1 / 1){.ladder-result{background-image:url(/asset/rank-background/MainBg-landscape-v1.webp)}}@font-face{font-family:RankChaparral;src:url(/asset/original-ladder/ChaparralPro-Bold.ttf) format("truetype");font-display:block}.rank-badge{display:block;flex-shrink:0}.rank-badge--native{position:absolute;left:50%;top:50%;width:100px;height:100px;transform:translate(-50%,-50%);overflow:visible;pointer-events:none}.main-menu__records-link{display:inline-flex;align-items:center;gap:8px;min-height:30px}.main-menu__records-link img{width:24px;height:24px;object-fit:contain}.battle-records-page{overflow-x:hidden}.battle-records__tabs{display:flex;gap:12px;margin-bottom:32px}.battle-records__tabs button,.battle-records__more{position:relative;isolation:isolate;border:0;border-radius:0;background:none;font:16px var(--font-display);color:#b9ae98;padding:14px 28px;min-width:150px;cursor:pointer;text-decoration:none}.battle-records__tabs button:before,.battle-records__more:before,.battle-record:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;border:8px solid transparent;border-image:url(/asset/original-ui/NormalPanelBg-e88e239b-2.webp) 28 fill / 8px / 0 stretch;filter:brightness(.45) saturate(.45)}.battle-records__tabs button[aria-selected=true]{color:#f4e3ba}.battle-records__tabs button[aria-selected=true]:before{filter:brightness(.7) sepia(.3)}.battle-records__section{margin-bottom:36px;min-width:0}.battle-records__section:empty{display:none}.battle-records__section h2{font-size:19px;letter-spacing:.08em;margin:0 0 18px;color:#d4bf91}.battle-records__list{display:grid;gap:10px}.battle-records__list>.battle-record{content-visibility:auto;contain-intrinsic-size:auto 128px}.battle-record{position:relative;isolation:isolate;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 190px 96px;align-items:center;gap:14px;padding:6px 18px;color:#e8dbbd;text-decoration:none}.battle-record:before{border-image-source:url(/asset/original-records/record-panel-bg.webp);border-image-width:10px;border-image-repeat:round;filter:none}.battle-record__duel{display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);gap:14px;align-items:center}.battle-record__player{min-width:0;display:flex;align-items:center;gap:12px}.battle-record__player--right{flex-direction:row-reverse;text-align:right}.battle-record__avatar{flex:0 0 72px;width:72px;aspect-ratio:180 / 208;position:relative;transform:translateY(-5.048077%)}.battle-record__avatar:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:url(/asset/original-ui/HeaderBox1-58ace000-1.webp) center / 100% 100% no-repeat}.battle-record__avatar img{position:absolute;left:18.253968%;top:18.712607%;width:61.728395%;height:72.497711%;object-fit:cover;object-position:center}.battle-record__identity{min-width:0}.battle-record__undo-count{display:block;margin-top:0;color:#b9aa8c;font-family:LXGW WenKai Screen,LXGW WenKai,sans-serif;font-size:11px;font-weight:400;line-height:1.35}.battle-record__identity strong{font-size:15px;font-weight:400;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.battle-record__versus{width:28px;height:22px;object-fit:contain;opacity:.8}.battle-record__heroes{display:flex;flex-wrap:wrap;gap:2px;align-items:center;margin-block:4px}.battle-record__player--right .battle-record__heroes{justify-content:flex-end}.battle-record__heroes img{flex:0 0 26px;width:26px;height:26px;object-fit:contain}.battle-record__name{display:flex;align-items:center;gap:6px;min-width:0}.battle-record__player--right .battle-record__name{justify-content:flex-end}.battle-record__outcome-icon{flex:0 0 20px;width:20px;height:22px;object-fit:contain}.battle-record__outcome-icon--loss{filter:brightness(1.8)}.battle-record__meta{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;font-size:11px;white-space:nowrap;color:#a99e85}.battle-record__source{display:inline-flex;align-items:center;gap:5px;color:#d4bf91;font-size:12px}.battle-record__source-line{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px}.battle-record__mode-icon{width:var(--record-mode-icon-size, 22px);height:var(--record-mode-icon-size, 22px);flex:0 0 var(--record-mode-icon-size, 22px);object-fit:contain}.battle-record__details{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px}.battle-record__live{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#c8d6a4;box-shadow:0 0 5px #c8d6a455}.battle-record__open{grid-column:3;align-self:center;display:flex;flex-direction:row;align-items:center;gap:6px;color:#dfc78f;text-decoration:none;padding:6px;font-size:14px}.battle-record__open img{width:26px;height:24px;object-fit:contain}a.battle-record{cursor:pointer}a.battle-record:focus-visible{outline:2px solid #dfc78f;outline-offset:2px}a.battle-record:hover:before,a.battle-record:focus-visible:before{filter:brightness(1.25) saturate(1.25)}a.battle-record:hover .battle-record__open,a.battle-record:focus-visible .battle-record__open{color:#ffedbe;filter:brightness(1.2)}.battle-record__unavailable{grid-column:3;align-self:center;text-align:center;font-size:12px;color:#998c76}.battle-records__status{color:#b0a38b;font-size:14px;padding-block:18px;margin:0}.battle-records__status button{color:#dec38b;border:0;background:none;font:inherit;cursor:pointer}.battle-records__more{display:inline-block;min-width:0;font-size:13px;margin-top:20px}.battle-records-page [hidden]{display:none}.battle-records__more:disabled{opacity:.6;cursor:wait}@media(max-width:900px){.battle-record{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}.battle-record__duel{grid-column:1 / -1}.battle-record__meta{grid-column:1;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}.battle-record__details{display:contents}.battle-record__source,.battle-record__source-line{order:1}.battle-record__source-line{flex-direction:row;align-items:center;gap:6px}.battle-record__details>span{order:2}.battle-record__open,.battle-record__unavailable{grid-column:2;grid-row:2}}@media(max-width:700px){.battle-records-page.mode-page{padding-inline:18px}.battle-records__tabs{gap:10px;margin-bottom:26px}.battle-records__tabs button{min-width:0;flex:1;padding:13px 16px;font-size:15px}.battle-record{padding:6px 14px}.battle-record__duel{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:6px}.battle-record__player{gap:5px}.battle-record__avatar{flex-basis:56px;width:56px}.battle-record__identity strong{font-size:12px}.battle-record__name{gap:3px}.battle-record__outcome-icon{flex-basis:16px;width:16px;height:18px}.battle-record__heroes img{flex-basis:22px;width:22px;height:22px}.battle-record__versus{width:20px;height:18px}.battle-record__meta{font-size:10px}.battle-record__source{font-size:11px}.battle-record__details{gap:4px 8px}.battle-record__open{padding:0;gap:5px;font-size:12px}.battle-record__open img{width:20px;height:18px}}.battle-records__list:has(>.battle-record--native,>.battle-record-group){container-type:inline-size}.battle-record--native{--record-avatar-size: 96px;--record-mode-icon-size: 22px;--record-meta-font-size: 13px;width:100%;max-width:960px;justify-self:center;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;padding:14px 16px 12px;color:#fff1d7}.battle-record--native.battle-record--shareable{grid-template-columns:minmax(0,1fr) auto auto}.battle-record--native .battle-record__link{display:contents;color:inherit}.battle-record__link-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.battle-record--native:has(.battle-record__link){cursor:pointer}.battle-record--native:has(.battle-record__link:focus-visible){outline:2px solid #dfc78f;outline-offset:2px}a.battle-record--native:hover:before,a.battle-record--native:focus-visible:before{filter:brightness(1.12)}.battle-record--native .battle-record__duel{grid-column:1 / -1;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);gap:0;align-items:stretch;padding-block:4px}.battle-record--native .battle-record__player{position:relative;isolation:isolate;display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;padding:0 18px 0 6px;height:108px;min-height:0;align-items:center}.battle-record--native .battle-record__player:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;border-radius:9px;background:url(/asset/original-arena/Bg_FriendBattle_Flag1-85184fdb.webp) 11.27% 48.6% / 140% 133.04% no-repeat}.battle-record--native .battle-record__player--right{grid-template-columns:minmax(0,1fr) 96px;padding:0 6px 0 18px}.battle-record--native .battle-record__player--right:before{background-image:url(/asset/original-arena/Bg_FriendBattle_Flag2-46a83dd6.webp);background-position:86.66% 52.9%}.battle-record--native .battle-record__avatar{grid-column:1;grid-row:1;width:96px;flex:none;z-index:2}.battle-record--native .battle-record__player--right>.battle-record__avatar{grid-column:2}.battle-record--native .battle-record__identity{grid-column:2;grid-row:1;align-self:center;width:100%;max-width:245px;justify-self:start;padding-top:24px}.battle-record--native .battle-record__player--right .battle-record__identity{grid-column:1;justify-self:end}.battle-record--native .battle-record__name{--record-name-height: 20px;position:absolute;left:54px;right:auto;top:16px;width:min(240px,calc(100% - 58px));z-index:1;isolation:isolate;justify-content:center;gap:4px;padding:2px 12px 2px 48px;margin:0;min-height:23px}.battle-record--native .battle-record__name:before{content:"";position:absolute;left:0;top:0;bottom:0;margin-block:auto;z-index:-1;width:100%;height:var(--record-name-height);box-sizing:border-box;pointer-events:none;border:0 solid transparent;border-left-width:calc(var(--record-name-height) * .442308);border-right-width:calc(var(--record-name-height) * .403846);border-image:url(/asset/original-roster/Favoritespanel_unlock_bg-74f41434.webp) 0 21 0 23 fill stretch}.battle-record--native .battle-record__player--right .battle-record__name{left:auto;right:54px;padding:2px 48px 2px 12px}.battle-record--native .battle-record__identity strong{font-size:15px;line-height:1.3;color:#fff7e6;text-shadow:0 1px 2px #241609;text-align:center}.battle-record--native .battle-record__heroes{display:grid;position:relative;z-index:1;grid-template-columns:repeat(8,minmax(0,1fr));align-items:center;gap:3px;margin:0;padding-top:2px;width:100%;max-width:245px}.battle-record--native .battle-record__hero{display:block;position:relative;width:100%;aspect-ratio:171 / 213;background-position:center;background-size:100% 100%;background-repeat:no-repeat}.battle-record--native .battle-record__hero img{position:absolute;max-width:none}.battle-record--native .battle-record__hero--unknown img{top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain}.battle-record--native .battle-record__versus{width:58px;height:42px;max-width:none;margin-inline:-21px;margin-top:22px;align-self:start;z-index:2;opacity:1}.battle-record--native .battle-record__winner{position:absolute;z-index:3;pointer-events:none;left:0;bottom:0;width:calc(var(--record-avatar-size) * .9185);height:calc(var(--record-avatar-size) * .819751);background:url(/asset/original-records/Corner_Winner-b2bf702d.webp) center / 100% 100% no-repeat}.battle-record--native .battle-record__winner>.battle-record__outcome-icon--win{position:absolute;left:-1.3%;top:31.2%;width:75.5%;height:29.27%;object-fit:fill;transform:rotate(26deg)}.battle-record--native .battle-record__player--right .battle-record__winner{left:auto;right:0;transform:scaleX(-1)}.battle-record--native .battle-record__player--right .battle-record__winner>.battle-record__outcome-icon--win{transform:scaleX(-1) rotate(-26deg)}.battle-record--native .battle-record__undo-count{position:absolute;right:0;top:0;z-index:4;display:flex;align-items:center;gap:5px;margin:0;padding:3px 6px;border-radius:0 9px 0 7px;background:linear-gradient(135deg,#16364bd9,#132733eb);box-shadow:-2px 2px 4px #0d263233,inset 0 -1px #b9e7ff20;color:#f0d8a7;font:11px / 1.2 var(--font-display);font-variant-numeric:tabular-nums}.battle-record--native .battle-record__player--right .battle-record__undo-count{left:0;right:auto;border-radius:9px 0 7px;background:linear-gradient(225deg,#542a2bd9,#3c1d20eb);box-shadow:2px 2px 4px #32131833,inset 0 -1px #ffc4c220}.battle-record--native .battle-record__undo-count>span{display:inline-flex;align-items:center;gap:2px}.battle-record--native .battle-record__undo-count img{width:13px;height:13px;object-fit:contain}.battle-record--native .battle-record__undo-count [data-assist=guidance] img{width:9px;height:14px}.battle-record--native .battle-record__meta{grid-column:1;grid-row:2;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px;min-height:36px;padding:3px 0;width:fit-content;max-width:100%;background:none;color:#c8baa2;font-size:var(--record-meta-font-size);white-space:nowrap}.battle-record--native .battle-record__source{color:#dfc38d;font-size:var(--record-meta-font-size);font-weight:400;border-right:1px solid #c1a67144;padding-right:8px;order:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.battle-record--native .battle-record__source-line{order:0}.battle-record--native .environment-indicator{border-right:1px solid #c1a67144;padding-right:8px;font-size:var(--record-meta-font-size)}.battle-record--native .battle-record__details{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;flex-shrink:0}.battle-record--native .battle-record__details>*{order:initial}.battle-record--native .battle-record__details>span:not(.battle-record__live){color:#eee0c3}.battle-record--native .battle-record__details time{font-variant-numeric:tabular-nums}.battle-record--native .battle-record__live{display:none}.battle-record--native .battle-record__open{grid-column:2;grid-row:2;align-self:center;display:flex;justify-content:center;align-items:center;gap:8px;padding:10px 24px;min-width:108px;min-height:44px;color:#fff5da;font-size:14px;text-shadow:0 1px 2px #283710;background:url(/asset/original-ui/NormalGreenBtnBg1-2f849ec5-1.webp) center / 100% 100% no-repeat}.battle-record--native .battle-record__share{grid-column:3;grid-row:2;display:inline-flex;align-items:center;justify-content:center;align-self:center;gap:7px;width:96px;min-height:44px;padding:8px 14px;border:0;border-radius:0;color:#fff0cf;background:url(/asset/original-ui/NormalBrownBtnBg1-834a1fe7-1.webp) center / 100% 100% no-repeat;font:14px var(--font-display);cursor:pointer;white-space:nowrap}.battle-record--native .battle-record__share img{width:20px;height:18px;object-fit:contain}.battle-record--native .battle-record__share:disabled{cursor:wait}.battle-record--native .battle-record__open img{width:25px;height:20px}.battle-record--native .battle-record__open--watch{position:relative;isolation:isolate;background:none;text-shadow:0 1px 2px #123b50}.battle-record--native .battle-record__open--watch:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url(/asset/original-ui/NormalGreenBtnBg1-2f849ec5-1.webp) center / 100% 100% no-repeat;filter:hue-rotate(112deg) saturate(.82)}.battle-record--native .battle-record__open--resume{background-image:url(/asset/original-ui/NormalBrownBtnBg1-834a1fe7-1.webp);text-shadow:0 1px 2px #59401e}.battle-record--native .battle-record__unavailable{grid-column:2;grid-row:2;align-self:center;justify-self:end;color:#ad9d83;font-size:12px;white-space:nowrap}@media(min-width:701px){.battle-record--native .battle-record__source-line{flex-direction:column;align-items:flex-start}.battle-record--native .environment-indicator{padding-right:0;border-right:0}.battle-record--native,.battle-record--native.battle-record--shareable{width:1100px;max-width:1100px;zoom:calc(min(100cqw,1100px)/1100px);grid-template-columns:minmax(0,1fr) 128px 80px;grid-template-rows:1fr 1fr;gap:8px 10px;padding-block:10px}.battle-record--native .battle-record__duel{grid-column:1;grid-row:1 / 3}.battle-record--native .battle-record__player{grid-template-columns:96px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:2px;padding-inline:4px;height:100px}.battle-record--native .battle-record__player--right{grid-template-columns:minmax(0,1fr) 96px}.battle-record--native .battle-record__avatar{width:96px;justify-self:center;transform:translateY(-5.048077%)}.battle-record--native .battle-record__identity,.battle-record--native .battle-record__heroes{max-width:280px}.battle-record--native .battle-record__identity{align-self:end;padding-bottom:4px}.battle-record--native .battle-record__meta{grid-column:2;grid-row:1 / 3;flex-direction:column;align-items:flex-start;gap:6px;width:100%}.battle-record--native .battle-record__source{padding:0;border:0;font-size:var(--record-meta-font-size)}.battle-record--native .battle-record__details{flex-direction:row;align-items:center;gap:6px}.battle-record--native .battle-record__open,.battle-record--native .battle-record__share{grid-column:3;width:80px;min-width:0;min-height:38px;padding:6px 8px;font-size:13px;gap:5px}.battle-record--native .battle-record__open{grid-row:1 / 3}.battle-record--native.battle-record--shareable .battle-record__open{grid-row:1;align-self:end}.battle-record--native .battle-record__share{grid-row:2;align-self:start}.battle-record--native .battle-record__unavailable{grid-column:3;grid-row:1 / 3}.battle-record--native .battle-record__name{--record-name-height: 26px;left:58px;top:12px;width:min(184px,calc(100% - 58px));padding-left:52px}.battle-record--native .battle-record__identity strong{font-size:17px}.battle-record--native .battle-record__player--right .battle-record__name{left:auto;right:58px;padding-left:12px;padding-right:52px}}@media(max-width:700px){.battle-record--native{--record-unit: calc(100cqw / 600);--record-mode-icon-size: calc(var(--record-unit) * 22);--record-meta-font-size: calc(var(--record-unit) * 13);gap:calc(var(--record-unit) * 10) calc(var(--record-unit) * 8);padding:calc(var(--record-unit) * 10) calc(var(--record-unit) * 10) calc(var(--record-unit) * 12)}.battle-record--native:before{border-width:calc(var(--record-unit) * 8);border-image-width:calc(var(--record-unit) * 10)}.battle-record--native .battle-record__duel{--record-avatar-size: calc(var(--record-unit) * 112);--record-team-width: calc(var(--record-unit) * 140);--record-name-width: calc(var(--record-unit) * 156);grid-template-columns:minmax(0,1fr) calc(var(--record-unit) * 10) minmax(0,1fr);padding:0}.battle-record--native .battle-record__player{grid-template-columns:var(--record-avatar-size) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:calc(var(--record-unit) * 2);padding:0 calc(var(--record-unit) * 3);height:calc(var(--record-unit) * 132.42272);min-height:0;align-content:center}.battle-record--native .battle-record__player--right{grid-template-columns:minmax(0,1fr) var(--record-avatar-size)}.battle-record--native .battle-record__player:before{border-radius:calc(var(--record-unit) * 9)}.battle-record--native .battle-record__identity{display:block;padding-top:calc(var(--record-avatar-size) * .35)}.battle-record--native .battle-record__avatar{width:var(--record-avatar-size)}.battle-record--native .battle-record__name{--record-name-height: calc(var(--record-unit) * 20);left:calc(var(--record-avatar-size) * .47);right:auto;top:calc(var(--record-avatar-size) * .135);width:min(var(--record-name-width),calc(100% - var(--record-avatar-size) * .5));margin:0;padding:calc(var(--record-unit) * 2) calc(var(--record-unit) * 4) calc(var(--record-unit) * 2) calc(var(--record-avatar-size) * .48);min-height:calc(var(--record-unit) * 21);gap:calc(var(--record-unit) * 3)}.battle-record--native .battle-record__player--right .battle-record__name{left:auto;right:calc(var(--record-avatar-size) * .47);padding:calc(var(--record-unit) * 2) calc(var(--record-avatar-size) * .48) calc(var(--record-unit) * 2) calc(var(--record-unit) * 4)}.battle-record--native .battle-record__identity strong{font-size:calc(var(--record-unit) * 14)}.battle-record--native .battle-record__heroes{grid-template-columns:repeat(4,minmax(0,1fr));gap:calc(var(--record-unit) * 2);max-width:var(--record-team-width);width:100%;margin-inline:0;padding:0}.battle-record--native .battle-record__player--right .battle-record__heroes{margin-left:auto}.battle-record--native .battle-record__undo-count{margin:0;font-size:calc(var(--record-unit) * 10);gap:calc(var(--record-unit) * 5);padding:calc(var(--record-unit) * 3) calc(var(--record-unit) * 6);border-radius:0 calc(var(--record-unit) * 9) 0 calc(var(--record-unit) * 7)}.battle-record--native .battle-record__player--right .battle-record__undo-count{border-radius:calc(var(--record-unit) * 9) 0 calc(var(--record-unit) * 7) 0}.battle-record--native .battle-record__undo-count>span{gap:calc(var(--record-unit) * 2)}.battle-record--native .battle-record__undo-count img{width:calc(var(--record-unit) * 13);height:calc(var(--record-unit) * 13)}.battle-record--native .battle-record__undo-count [data-assist=guidance] img{width:calc(var(--record-unit) * 9);height:calc(var(--record-unit) * 14)}.battle-record--native .battle-record__player:has(.battle-record__undo-count) .battle-record__name{top:calc(var(--record-unit) * 18)}.battle-record--native .battle-record__versus{width:calc(var(--record-unit) * 40);height:calc(var(--record-unit) * 31);margin-inline:calc(var(--record-unit) * -15);align-self:start;margin-top:calc(var(--record-unit) * 22)}.battle-record--native .battle-record__meta{flex-wrap:nowrap;flex-direction:row;align-items:center;justify-content:flex-start;gap:calc(var(--record-unit) * 6);font-size:var(--record-meta-font-size);padding:calc(var(--record-unit) * 3) 0;min-height:calc(var(--record-unit) * 34)}.battle-record--native .battle-record__source-line{flex-direction:row;align-items:center;gap:calc(var(--record-unit) * 6)}.battle-record--native .environment-indicator{gap:calc(var(--record-unit) * 5);padding-right:calc(var(--record-unit) * 8);border-right-width:calc(var(--record-unit) * 1)}.battle-record--native .battle-record__source{font-size:var(--record-meta-font-size);padding-right:calc(var(--record-unit) * 8);border-right-width:calc(var(--record-unit) * 1)}.battle-record--native .battle-record__details{gap:calc(var(--record-unit) * 6)}.battle-record--native .battle-record__open{min-width:calc(var(--record-unit) * 60);min-height:calc(var(--record-unit) * 36);padding:calc(var(--record-unit) * 7) calc(var(--record-unit) * 10);font-size:var(--record-meta-font-size);gap:calc(var(--record-unit) * 5)}.battle-record--native .battle-record__open img{width:calc(var(--record-unit) * 17);height:calc(var(--record-unit) * 16)}.battle-record--native .battle-record__share{width:calc(var(--record-unit) * 72);min-height:calc(var(--record-unit) * 36);padding:calc(var(--record-unit) * 7) calc(var(--record-unit) * 8);gap:calc(var(--record-unit) * 4);font-size:var(--record-meta-font-size)}.battle-record--native .battle-record__share img{width:calc(var(--record-unit) * 16);height:calc(var(--record-unit) * 15)}.battle-record--native .battle-record__unavailable{font-size:var(--record-meta-font-size)}}.battle-record--native .battle-record__meta,.battle-record--native .battle-record__meta .battle-record__source,.battle-record--native .battle-record__meta .environment-indicator,.battle-record--native .battle-record__meta .battle-record__details>:is(time,span),.battle-record--native .battle-record__open,.battle-record--native .battle-record__share,.battle-record--native .battle-record__unavailable{font:400 var(--record-meta-font-size) / 1.5 var(--font-display);font-variant-numeric:tabular-nums;letter-spacing:0;color:#e5d6b8;text-shadow:0 1px 2px #241609}.battle-record--native.battle-review{grid-template-rows:auto auto auto}.battle-review .battle-review__reviewer{grid-column:1 / -1;grid-row:1;display:flex;align-items:center;gap:7px;min-width:0;padding-bottom:6px;border-bottom:1px solid #bca06a26;color:#e5d6b8;text-decoration:none;font:400 var(--record-meta-font-size) / 1.5 var(--font-display)}.battle-review__reviewer strong{min-width:0;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.battle-review__status{display:inline-flex;flex-shrink:0;align-items:center;gap:5px;color:#c8d6a4}.battle-review__icon{width:22px;height:22px;flex-shrink:0;object-fit:contain}.battle-record--native.battle-review .battle-record__duel{grid-row:2}.battle-record--native.battle-review .battle-record__meta,.battle-record--native.battle-review .battle-record__open,.battle-record--native.battle-review .battle-review__source{grid-row:3}.battle-review a:focus-visible{outline:2px solid #dfc78f;outline-offset:2px}.battle-review__source:hover,.battle-review__reviewer:hover{filter:brightness(1.15)}@media(min-width:701px){.battle-record--native.battle-review{grid-template-rows:auto 1fr 1fr}.battle-record--native.battle-review .battle-record__duel,.battle-record--native.battle-review .battle-record__meta{grid-row:2 / 4}.battle-record--native.battle-review .battle-record__open{grid-row:2}}@media(max-width:700px){.battle-review .battle-review__reviewer{gap:calc(var(--record-unit) * 7);padding-bottom:calc(var(--record-unit) * 6)}.battle-review__status{gap:calc(var(--record-unit) * 5)}.battle-review__icon{width:calc(var(--record-unit) * 22);height:calc(var(--record-unit) * 22)}}.mode-page.arena-challenge{padding:36px clamp(20px,4vw,52px) 48px;color:#e5d8bd}.arena-challenge__header{max-width:1000px;margin:0 auto 32px}.arena-challenge__content{display:grid;grid-template-columns:340px minmax(0,1fr);align-items:start;gap:32px;max-width:1000px;margin:0 auto}.arena-challenge__overview,.arena-challenge__past-runs{min-width:0;padding:24px}.arena-challenge__overview-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.arena-challenge__overview-heading img{width:48px;height:48px;object-fit:contain}.arena-challenge__overview-heading h2{margin:0 0 5px;color:#e5d8bd;font-size:20px}.arena-challenge__overview-heading p{margin:0;font-size:12px;color:#b6a88c}.arena-challenge__overview>h3,.arena-challenge__welcome h3{margin:0 0 8px;font-size:16px}.arena-challenge__overview>p,.arena-challenge__welcome p{margin:0 0 16px;color:#b6a88c;font-size:13px;line-height:1.7}.arena-challenge__overview>.arena-challenge__run-state{margin-bottom:6px;font-size:12px}.arena-challenge__score{display:flex;align-items:baseline;gap:16px;font-variant-numeric:tabular-nums}.arena-challenge__score strong{color:#edc674;font-size:40px;line-height:1.25;font-weight:400}.arena-challenge__score span{color:#e6a795;font-size:15px}.arena-challenge__wins{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:4px;margin:12px 0 16px}.arena-challenge__wins span{display:grid;place-items:center;aspect-ratio:1;border:1px solid #89724c;color:#b6a88c;font-size:10px;background:#211d1740}.arena-challenge__wins .is-won{border-color:#d3ad54;background:#8e6427;color:#fff3ce}.arena-challenge__actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:16px}.arena-challenge .arena-challenge__actions{flex-direction:column;gap:8px;margin-top:16px}.arena-challenge__button{box-sizing:border-box}.arena-challenge .mode-page__primary{width:100%;max-width:270px;height:64px;font-size:20px;letter-spacing:.16em}.arena-challenge .mode-page__secondary{min-height:40px;padding:8px 16px;font-size:13px}.arena-challenge .mode-page__secondary:hover:not(:disabled){filter:brightness(1.2)}.arena-challenge__button:disabled{opacity:.55;cursor:wait}.arena-challenge summary:focus-visible{outline:2px solid #f4c970;outline-offset:3px}.arena-challenge__rules,.arena-challenge__history{margin-top:16px;padding-top:16px;border-top:1px solid #89724c66;font-size:13px;color:#b6a88c}.arena-challenge :is(.arena-challenge__rules,.arena-challenge__history) summary{cursor:pointer}.arena-challenge__rules p{margin:12px 0 0;line-height:1.8}.arena-challenge__reports{display:grid;gap:8px;margin-top:12px}.arena-challenge__reports a{color:#d7bb81;text-decoration:none}.arena-challenge__past-runs h3{margin:0;color:#e5d8bd;font-size:22px}.arena-challenge__history-intro{margin:6px 0 22px;color:#b6a88c;font-size:13px}.arena-challenge__past-runs table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;font-variant-numeric:tabular-nums}.arena-challenge__past-runs :is(th,td){padding:16px 8px;border-bottom:1px solid #89724c66}.arena-challenge__past-runs th{padding-top:0;padding-bottom:12px;color:#b6a88c;font-size:12px;font-weight:400}.arena-challenge__past-runs :is(th,td):first-child{padding-left:0}.arena-challenge__past-runs :is(th,td):last-child{padding-right:0;text-align:right}.arena-challenge__past-runs time{color:#b6a88c;font-size:13px;white-space:nowrap}.arena-challenge__past-score{color:#edc674;white-space:nowrap}.arena-challenge__past-status{color:#b6a88c;font-size:12px}.arena-challenge__past-status[data-perfect]{color:#fff3ce}.arena-challenge__history-more{margin-top:22px}.arena-challenge__error{max-width:1000px;margin:0 auto 20px;color:#ffc4a5;font-size:14px}.arena-challenge__error:empty{display:none}.arena-challenge>[role=status]{max-width:1000px;margin:20px auto 0;color:#b6a88c}.arena-challenge>[role=status]:empty{display:none}@media(max-width:760px){.mode-page.arena-challenge{padding:24px 20px 36px}.arena-challenge__header{margin-bottom:24px}.arena-challenge__content{grid-template-columns:minmax(0,1fr);gap:24px}.arena-challenge__overview,.arena-challenge__past-runs{padding:20px}.arena-challenge__past-runs :is(th,td){padding-right:6px;padding-left:6px}}.mode-page.arena-challenge.is-drafting{position:fixed;top:0;right:0;bottom:0;left:0;padding:0;margin:0;max-width:none;overflow:hidden;background:#211e18}.practice-draft__controls{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;color:#f3dfbb;font-size:var(--fs-sm)}.practice-draft__controls p{margin:0;flex-basis:100%;text-align:center}.is-drafting .practice-draft__controls{position:absolute;z-index:3;top:max(88px,env(safe-area-inset-top));left:8px;max-width:calc(100% - 100px);gap:6px}.is-drafting .practice-draft__controls p{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.arena-challenge.is-drafting:before,.arena-challenge.is-drafting>.main-menu__gallery,.arena-challenge.is-drafting>.arena-challenge__header,.arena-challenge.is-drafting .arena-challenge__content:before{display:none}.arena-challenge.is-drafting .arena-challenge__content{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;padding:0;isolation:auto;display:block;max-width:none;margin:0}.original-arena-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.original-arena-backdrop canvas{width:100%;height:100%}.original-arena-draft{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background:#00000080}.original-arena-draft__canvas{position:absolute;width:1080px;height:1920px;left:50%;top:50%;transform-origin:center}.original-arena-draft__canvas>*,.original-arena-draft__team-layer>*{position:absolute;box-sizing:border-box}.original-arena-draft__team-layer{top:0;right:0;bottom:0;left:0}.original-arena-draft__team-layer--enemy{transform:translateY(calc(-1 * var(--arena-edge-offset, 0px)))}.original-arena-draft__team-layer--own{transform:translateY(var(--arena-edge-offset, 0px))}.original-arena-draft__image,.original-arena-draft__text{pointer-events:none}.original-arena-draft__text{display:flex;align-items:center;white-space:nowrap;font-weight:400;line-height:1;text-shadow:-2px -2px 0 #000,2px -2px 0 #000,-2px 2px 0 #000,2px 2px 0 #000}.original-arena-draft__stat{font-family:Arial,sans-serif}.original-arena-draft__portrait{position:relative;width:100%;height:100%;background-size:100% 100%}.original-arena-draft__portrait>img{position:absolute;pointer-events:none}.original-arena-draft__unknown{width:100%;height:100%}.original-arena-draft__candidate{border:0;padding:0;margin:0;background:none;border-radius:0;cursor:pointer}.original-arena-draft__candidate:disabled{cursor:wait}.original-arena-draft__candidate-group{top:0;right:0;bottom:0;left:0;pointer-events:none;animation:arena-candidates-enter .26s ease-out both}.original-arena-draft__candidate-group>*{position:absolute;box-sizing:border-box}.original-arena-draft__candidate-group>.original-arena-draft__candidate{pointer-events:auto}.original-arena-draft__canvas--settled .original-arena-draft__candidate-group{animation:none}.arena-draft-flying-card{box-sizing:border-box}@keyframes arena-candidates-enter{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.original-arena-draft__candidate-group{animation:none}}.original-arena-draft__user{object-fit:fill;pointer-events:none}.original-arena-draft__user-frame{pointer-events:none}.original-arena-draft__first-icon{object-fit:contain;pointer-events:none}.original-arena-draft__first-icon.is-hidden{opacity:0!important}.arena-challenge.is-drafting .arena-challenge__error:not(:empty){position:absolute;z-index:2;top:0;left:0;right:0;margin:0;padding:8px;text-align:center;background:#211e18}@font-face{font-family:NativeArena-font-64e0799e;src:url(/asset/original-arena/font-64e0799e.ttf);font-display:swap}@font-face{font-family:NativeArena-font-ba693a5f;src:url(/asset/original-arena/font-ba693a5f.ttf);font-display:swap}.original-arena-draft--shared{background:transparent}.original-arena-draft--shared .original-arena-draft__canvas>:not(.arena-shared-canvas):not(.arena-shared-clock),.original-arena-draft--shared .original-arena-draft__canvas>:not(.arena-shared-canvas):not(.arena-shared-clock)>*{opacity:0}.original-arena-draft--shared .original-arena-draft__candidate-group{animation:none}.original-arena-draft__candidate:focus,.original-arena-draft__candidate:focus-visible{outline:none;box-shadow:none}@font-face{font-family:NativeSurrenderGillSans;src:url(/asset/original-surrender-dialog/GillSans.ttf);font-display:swap}@font-face{font-family:NativeSurrenderChaparral;src:url(/asset/original-surrender-dialog/ChaparralPro-Bold.ttf);font-display:swap}.modal.native-surrender-dialog{--surrender-unit: min(calc(100dvh / 1920), .125vw );position:relative;isolation:isolate;display:block;flex:none;width:calc(800 * var(--surrender-unit));height:calc(525 * var(--surrender-unit));min-width:0;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;animation:none}.modal.native-surrender-dialog:before{content:"";position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;pointer-events:none;border-style:solid;border-width:calc(45.128864 * var(--surrender-unit)) calc(49.907215 * var(--surrender-unit)) calc(46.721649 * var(--surrender-unit)) calc(45.128864 * var(--surrender-unit));border-image:url(/asset/original-ui/NormalPanelBg-e88e239b-2.webp) 45.128864 49.907215 46.721649 45.128864 fill stretch}.modal.native-surrender-dialog .modal__title{position:absolute;left:calc(75 * var(--surrender-unit));top:calc(58.5 * var(--surrender-unit));width:calc(650 * var(--surrender-unit));height:calc(300 * var(--surrender-unit));display:grid;place-items:center;margin:0;padding:0;color:#fff;font-family:NativeSurrenderGillSans,sans-serif;font-size:calc(46 * var(--surrender-unit));font-weight:400;line-height:calc(52.828125 * var(--surrender-unit));letter-spacing:0;text-align:center;text-shadow:none}.modal.native-surrender-dialog .modal__title:before,.modal.native-surrender-dialog .modal__title:after{content:none}.modal.native-surrender-dialog--with-option .modal__title{height:calc(215 * var(--surrender-unit))}.modal.native-surrender-dialog .native-undo-always{position:absolute;left:calc(75 * var(--surrender-unit));top:calc(272 * var(--surrender-unit));width:calc(650 * var(--surrender-unit));display:flex;align-items:center;justify-content:center;gap:calc(14 * var(--surrender-unit));color:#fffbc6;font-family:NativeSurrenderGillSans,sans-serif;font-size:calc(32 * var(--surrender-unit));cursor:pointer;-webkit-user-select:none;user-select:none}.modal.native-surrender-dialog .native-undo-always input{width:calc(32 * var(--surrender-unit));height:calc(32 * var(--surrender-unit));margin:0;accent-color:#8bc34a;cursor:pointer}.modal.native-surrender-dialog .modal__actions{position:absolute;top:0;right:0;bottom:0;left:0;display:block;margin:0;padding:0;pointer-events:none}.modal.native-surrender-dialog .btn{position:absolute;left:calc(84.4 * var(--surrender-unit));top:calc(364.1 * var(--surrender-unit));width:calc(295.2 * var(--surrender-unit));height:calc(104.8 * var(--surrender-unit));min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:url(/asset/original-ui/NormalBrownBtnBg1-834a1fe7-1.webp) center / 100% 100% no-repeat;box-shadow:none;color:#fff;font-family:NativeSurrenderChaparral,sans-serif;font-size:calc(38.4 * var(--surrender-unit));font-weight:400;line-height:calc(46.08 * var(--surrender-unit));letter-spacing:0;text-shadow:calc(2.4 * var(--surrender-unit)) calc(2.4 * var(--surrender-unit)) rgb(0 0 0 / 19.607843%),calc(-2.4 * var(--surrender-unit)) calc(-2.4 * var(--surrender-unit)) rgb(0 0 0 / 19.607843%),calc(2.4 * var(--surrender-unit)) calc(-2.4 * var(--surrender-unit)) rgb(0 0 0 / 19.607843%),calc(-2.4 * var(--surrender-unit)) calc(2.4 * var(--surrender-unit)) rgb(0 0 0 / 19.607843%);transform:none;transition:filter .1s linear;pointer-events:auto}.modal.native-surrender-dialog .btn--primary{left:calc(420.4 * var(--surrender-unit));background-image:url(/asset/original-ui/NormalGreenBtnBg1-2f849ec5-1.webp)}.modal.native-surrender-dialog .modal__button-label{position:absolute;left:calc(19.6 * var(--surrender-unit));top:calc(21.2 * var(--surrender-unit));width:calc(256 * var(--surrender-unit));height:calc(64 * var(--surrender-unit));display:grid;place-items:center}.modal.native-surrender-dialog .btn:hover{filter:brightness(.960784)}.modal.native-surrender-dialog .btn:active{filter:brightness(.784314)}.modal-backdrop:has(.native-surrender-dialog){align-items:center;justify-content:center;padding:0;background:#00000080;-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}.modal.native-surrender-dialog.native-challenge-dialog--waiting .btn--primary{left:calc(252.4 * var(--surrender-unit))}.modal.native-challenge-dialog .modal__title{display:flex;flex-direction:column;justify-content:center;gap:calc(18 * var(--surrender-unit))}.native-challenge-dialog__description{width:100%;overflow-wrap:anywhere}.native-challenge-dialog__details,.native-challenge-dialog__error{font-family:NativeSurrenderGillSans,sans-serif;font-size:calc(30 * var(--surrender-unit));line-height:1.4}.native-challenge-dialog__details:empty,.native-challenge-dialog__error:empty{display:none}.native-challenge-dialog__error{color:#ffb7a1}.native-challenge-dialog__countdown{position:absolute;top:calc(18 * var(--surrender-unit));right:calc(28 * var(--surrender-unit));color:#c4b79f;font-size:calc(28 * var(--surrender-unit))}.native-challenge-dialog .challenge-invite__team-select{margin:0;width:calc(480 * var(--surrender-unit));min-height:calc(54 * var(--surrender-unit));padding:calc(6 * var(--surrender-unit)) calc(10 * var(--surrender-unit));background:#28231c;color:#eee1c8;border:1px solid #8c7955;border-radius:0;font-size:calc(30 * var(--surrender-unit))}.original-audio-settings__panel{display:flex;flex-direction:column;overflow:hidden}.settings-tabs{display:flex;flex:none;gap:4px;margin-bottom:16px;border-bottom:1px solid #9c814960}.settings-tabs>button{flex:1;min-width:0;min-height:46px;padding:6px 2px 8px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#e1d1a7;font:inherit;font-size:14px;cursor:pointer;opacity:.65}.settings-tabs>button[aria-selected=true]{border-bottom-color:#e5cf81;opacity:1;filter:drop-shadow(0 0 2px #ffe9a555)}.settings-tabs>button:hover,.practice-hint-settings__choices>button:hover{filter:brightness(1.12)}.settings-tabs>button>svg{display:block;width:28px;height:28px;margin:auto}.settings-tab-panel__title{margin:0 0 14px;color:#ffe28a;font-size:16px;font-weight:400}.settings-tabs>button:focus-visible,.practice-hint-settings__choices>button:focus-visible{outline:2px solid var(--audio-focus, #f0c878);outline-offset:2px}.settings-tab-panel[hidden]{display:none!important}.settings-tab-panel{min-height:0;overflow-y:auto;overscroll-behavior:contain}.settings-tab-panel>.graphics-settings{margin:0;padding:0;border:0}.settings-tab-panel>.graphics-settings>legend{display:none}.practice-hint-settings h3{margin:0 0 14px;font-size:16px;font-weight:400}.practice-hint-settings__choices{display:flex;gap:4px}.practice-hint-settings__choices>button{flex:1;min-width:0;min-height:44px;padding:4px 2px;border:7px solid transparent;border-image:var(--audio-button-art) 40 50 fill / 7px / 0 stretch;border-radius:0;background:transparent;color:#fffbc6;font:inherit;font-size:14px;cursor:pointer}.practice-hint-settings__choices>button[aria-pressed=true]{border-image-source:url(/asset/original-ui/NormalGreenBtnBg1-2f849ec5-1.webp)}details.original-audio-settings>.original-audio-settings__panel:has([data-tier="8"]){width:360px}.practice-hint-settings__choices:has(>[data-tier="8"])>button{flex-basis:auto}.settings-tab-panel>.settings-page__account>h2{display:none}.settings-tab-panel>.settings-page__account{width:auto;margin:0;padding:0;border:0}.opponent-difficulty-settings{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #9c814960}.opponent-difficulty-settings[hidden]{display:none!important}.opponent-difficulty-settings h3{margin:0 0 14px;font-size:16px;font-weight:400}.opponent-difficulty-settings__choices{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.ai-grade-stepper{display:inline-flex;align-items:center;gap:10px;flex:1 1 200px}.ai-grade-stepper__btn{width:44px;height:44px;flex:0 0 44px;padding:0;border:1px solid #9c8149aa;border-radius:8px;background:linear-gradient(180deg,#3a3022ee,#231d15ee);box-shadow:inset 0 1px #fff2cf22,0 3px 8px #0006;color:#f4dfab;font:22px/1 var(--font-display);cursor:pointer;transition:border-color .14s ease,color .14s ease,transform .1s ease,filter .14s ease}.ai-grade-stepper__btn:hover:not(:disabled){border-color:#e6c678;color:#fff3c9;filter:brightness(1.12)}.ai-grade-stepper__btn:active:not(:disabled){transform:scale(.94)}.ai-grade-stepper__btn:disabled{opacity:.3;cursor:default;box-shadow:none}.ai-grade-stepper__display{flex:1 1 auto;min-width:96px;min-height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:6px 12px 8px;border:1px solid #9c814966;border-radius:10px;background:radial-gradient(circle at 50% 42%,#d9ae5822,#231d16cc 72%);color:#fff0ba;touch-action:none;user-select:none;-webkit-user-select:none;cursor:ew-resize;transition:border-color .14s ease,background .18s ease}.ai-grade-stepper__display.is-dragging{border-color:#e6c678;background:radial-gradient(circle at 50% 42%,#f0ca7836,#2c2419dd 72%)}.ai-grade-stepper__display:focus-visible{outline:2px solid #f0c878;outline-offset:2px}.ai-grade-stepper__badge{position:relative;width:64px;height:58px;display:grid;place-items:center;transform:translate(var(--drag-offset, 0px));transition:transform .14s ease}.ai-grade-stepper__display.is-dragging .ai-grade-stepper__badge,.ai-grade-stepper__display.is-dragging .ai-grade-stepper__meter-fill{transition:none}.ai-grade-stepper__badge[hidden],.ai-grade-stepper__label[hidden],.ai-grade-stepper__meter[hidden]{display:none}.ai-grade-stepper__rank{width:64px;height:58px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 4px 8px #000a)}.ai-grade-stepper__meter{width:64px;height:3px;border-radius:999px;background:#8f784844;overflow:hidden}.ai-grade-stepper__meter-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#b88a44,#f5d887);transition:width .18s ease}.ai-grade-stepper__label{font:15px var(--font-display);white-space:nowrap}.ai-grade-stepper__manual{min-width:64px;height:44px;padding:0 12px;border:1px solid #9c8149aa;border-radius:8px;background:linear-gradient(180deg,#3a3022ee,#231d15ee);color:#d4c6a8;font:14px var(--font-display);cursor:pointer}.ai-grade-stepper__manual[aria-pressed=true]{background:#6d5324;border-color:#f0cf82;color:#fff6d4}.opponent-difficulty-settings__invite{width:100%;min-height:44px;margin-top:12px;padding:6px 10px;border:7px solid transparent;border-image:var(--audio-button-art) 40 50 fill / 7px / 0 stretch;border-radius:0;background:transparent;color:#fffbc6;font:inherit;font-size:14px;cursor:pointer}.opponent-difficulty-settings__invite:hover:not(:disabled){filter:brightness(1.12)}.opponent-difficulty-settings__invite:disabled{opacity:.5;cursor:default}.opponent-difficulty-settings__invite-hint{margin-top:6px}.opponent-difficulty-settings [hidden]{display:none!important}.battle-input-settings{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #9c814960}.battle-input-settings button:disabled{opacity:.5;cursor:default}.battle-input-settings[hidden],.ai-execution-settings[hidden]{display:none}.ai-execution-settings{margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #9c814960}.ai-execution-settings .original-audio-settings__switch>span:first-child{min-width:0;white-space:normal;text-align:left}@media(prefers-reduced-motion:reduce){.ai-grade-stepper__badge{transition:none;transform:none}.ai-grade-stepper__meter-fill{transition:none}}.match-mode-icon--practice{transform:scale(1.9) translateY(2%)}.ladder-progress{box-sizing:border-box;position:relative;width:220px;max-width:100%;height:28px;padding:2px 3px;border:3px solid #38291e;border-radius:11px 10px 11px 9px;background:#d4a45b;box-shadow:0 3px #211c19,inset 0 3px #ffe6a2,inset 0 -3px #98602e}.ladder-progress__track{box-sizing:border-box;position:relative;height:100%;overflow:hidden;border:2px solid #493323;border-radius:6px;background:#3a3530;box-shadow:inset 0 3px #292722,inset 0 -2px #655342}.ladder-progress__fill,.ladder-progress__trail{position:absolute;left:0;top:0;height:100%;border-radius:5px 8px 7px 5px}.ladder-progress__fill{overflow:hidden;background:#f2bc42;box-shadow:inset 0 4px #ffe38a,inset 0 -4px #c48424}.ladder-progress__fill:before{content:"";position:absolute;top:2px;left:5px;right:6px;height:3px;border-radius:8px 5px 6px 4px;background:#fff0b6;opacity:.8}.ladder-progress__fill:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(112deg,transparent 18%,#fff3ac45 18%,#fff3ac45 23%,transparent 23%,transparent 53%,#fff3ac25 53%,#fff3ac25 59%,transparent 59%)}.ladder-progress__trail{background:#c78955;box-shadow:inset 0 4px #dfa774,inset 0 -4px #955a3e}.ladder-progress__sweep{position:absolute;top:0;bottom:0;width:32%;left:-40%;transform:translateZ(0) skew(-20deg);background:linear-gradient(90deg,transparent,#fff4ba99 35%,#fffce5 52%,#fff4ba88 68%,transparent);opacity:0}.ladder-progress--arrived .ladder-progress__sweep{animation:ladder-progress-sweep .7s ease-in-out both}@keyframes ladder-progress-sweep{0%{transform:translateZ(0) skew(-20deg);opacity:0}16%{opacity:.9}76%{opacity:.85}to{transform:translate3d(500%,0,0) skew(-20deg);opacity:0}}.ladder-rank__details{min-width:0}.ladder-rank__details>.ladder-progress{margin-top:9px}.ladder-result__progress{position:absolute;top:calc(50% + 153px);width:357px;height:44px;padding:4px 5px;border-width:4px;border-radius:17px 15px 16px 14px;box-shadow:0 5px #211c19,inset 0 4px #ffe6a2,inset 0 -4px #98602e;transform:translate(-50%)}.ladder-result__progress .ladder-progress__track{border-radius:8px}.ladder-result__progress .ladder-progress__fill{box-shadow:inset 0 5px #ffe38a,inset 0 -5px #c48424}.ladder-result__progress .ladder-progress__fill:before{top:3px;left:7px;right:9px;height:5px}@media(prefers-reduced-motion:reduce){.ladder-progress--arrived .ladder-progress__sweep{animation:none}}.arena-page{--paper: #efdfb6;--ink: #2c1d10;--muted: #7a5a3a;--line: rgba(110, 75, 40, .25);--gold: #c9a04f;--red: #d05050;--blue: #6088c0;--night: #211e1a;--font: "EB Garamond", "LXGW WenKai Screen", Georgia, serif;--mono: "JetBrains Mono", monospace}.arena-page *{box-sizing:border-box}.arena-page{margin:0;color:var(--ink);background:#f2e6ca;font:16px/1.65 var(--font);background-image:radial-gradient(ellipse at 10% 25%,#fff7e36b,transparent 60%),radial-gradient(ellipse at 90% 85%,#c8a86833,transparent 70%)}.arena-page button,.arena-page input,.arena-page select{font:inherit}.arena-page button,.arena-page a,.arena-page select{-webkit-tap-highlight-color:transparent}.arena-page button{cursor:pointer}.arena-page button:disabled{cursor:not-allowed;opacity:.48}.arena-page a{color:inherit;text-underline-offset:4px}.arena-page button:focus-visible,.arena-page a:focus-visible,.arena-page select:focus-visible,.arena-page input:focus-visible{outline:3px solid #6088c0;outline-offset:4px}.arena-page button{border:0}.arena-page h1,.arena-page h2,.arena-page h3,.arena-page p{margin:0}.arena-page small{font-size:13px}.arena-page button,.arena-page select,.arena-page input{min-height:44px}.arena-page button{transition:background .16s,transform .16s}.arena-page button:active:not(:disabled){transform:translateY(1px)}.arena-page .mono{font-family:var(--mono);font-size:12px;letter-spacing:.04em}.arena-page .previewbar{background:#322c23;color:#ebddc3;min-height:37px;padding:3px 5%;display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:10px}.arena-page .previewbar select{background:transparent;color:#ebddc3;border:0;min-height:30px;font-size:12px}.arena-page .previewbar option{background:#322c23}.arena-page .topbar{max-width:1280px;margin:auto;padding:22px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.arena-page .brand{font-size:23px;font-weight:700;display:flex;align-items:center;gap:11px;letter-spacing:2px}.arena-page .brandmark{font:28px Cinzel,serif;color:#91692e}.arena-page .nav{display:flex;gap:25px;align-items:center}.arena-page .nav a{font-size:14px;text-decoration:none;color:var(--muted)}.arena-page .outline{border:1px solid #9e8057;background:transparent;color:var(--ink);padding:8px 18px;border-radius:3px;font-size:14px}.arena-page .outline:hover{background:#ffffff40}.arena-page .shell{max-width:1280px;padding:38px 40px 24px;margin:auto}.arena-page .heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px;gap:20px}.arena-page .eyebrow{font:11px var(--mono);letter-spacing:.22em;color:#876f48;margin-bottom:9px}.arena-page .heading h1{font-size:43px;line-height:1.35;font-weight:600;letter-spacing:6px}.arena-page .heading p{margin-top:10px;color:var(--muted);font-size:15px}.arena-page .live-count{display:flex;align-items:center;gap:9px;font-size:14px;margin-bottom:5px;white-space:nowrap}.arena-page .dot{display:inline-block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:#447958;box-shadow:0 0 0 3px #44795814;margin-right:6px}.arena-page .dot.offline{background:#998f80;box-shadow:none}.arena-page .dot.busy{background:#b78629;box-shadow:none}.arena-page .errorbox{display:none;padding:16px 20px;border:1px solid #a5483b;background:#f6e0d3;margin-bottom:20px;color:#81362d}.arena-page .errorbox.show{display:flex;justify-content:space-between;align-items:center;gap:15px}.arena-page .stage{background:var(--night);color:#ede0c8;border:1px solid #685538;border-radius:5px;position:relative;box-shadow:0 13px 32px #382a1317;overflow:visible}.arena-page .stage-head{padding:17px 28px;border-bottom:1px solid #ffffff12;display:flex;justify-content:space-between;align-items:center;color:#b6a58a;font-size:13px}.arena-page .stage-head span:first-child{letter-spacing:2px;color:#d9c6a5}.arena-page .stage-head .mono{font-size:10px;color:#8b7e6a}.arena-page .duel{display:grid;grid-template-columns:1fr 120px 1fr;padding:30px 28px 28px;position:relative;background:radial-gradient(ellipse at 20% 65%,#9a393918,transparent 50%),radial-gradient(ellipse at 80% 65%,#42639222,transparent 50%)}.arena-page .fighter{text-align:center;min-width:0;position:relative}.arena-page .fighter.picker-open{z-index:30}.arena-page .side-label{font-size:12px;letter-spacing:3px;color:#df9b93}.arena-page .fighter.blue .side-label{color:#9fb9dc}.arena-page .crest{width:94px;height:104px;margin:17px auto 13px;display:grid;place-items:center;position:relative;background:#bd51451c;clip-path:polygon(50% 0,95% 17%,88% 77%,50% 100%,12% 77%,5% 17%)}.arena-page .crest:before{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;background:#2a2220;clip-path:inherit}.arena-page .crest span{position:relative;font:45px Cinzel,Georgia,serif;color:#dd8d7e}.arena-page .crest .barrel-icon{position:relative;width:86px;height:86px;object-fit:contain}.arena-page .blue .crest{background:#6088c060}.arena-page .blue .crest:before{background:#222731}.arena-page .blue .crest span{color:#96b0d8}.arena-page .fighter h2{font-size:25px;font-weight:500;letter-spacing:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 8px}.arena-page .fighter-meta{color:#a79983;font-size:12px;margin:5px 0 11px;min-height:23px}.arena-page .fighter-state{font-size:12px;color:#c7c0aa;min-height:24px;margin-bottom:12px}.arena-page .fighter-state .dot{background:#8cb58c}.arena-page .choose{color:#d7c2a0;border:1px solid #8c77534f;background:#ffffff05;padding:7px 21px;min-height:38px;font-size:13px;border-radius:3px}.arena-page .choose:hover{background:#ffffff10;border-color:#a38b5d}.arena-page .versus{align-self:center;text-align:center;padding-bottom:25px}.arena-page .versus .v{font:italic 33px EB Garamond,Georgia,serif;color:#a38c66}.arena-page .versus:before,.arena-page .versus:after{content:"";display:block;width:1px;height:39px;background:#ac916135;margin:15px auto}.arena-page .swap{display:block;background:none;color:#c1ae8d;font-size:12px;width:100%;padding:0;min-height:32px}.arena-page .stage-foot{border-top:1px solid #ffffff14;background:#1816128c;display:flex;align-items:center;justify-content:space-between;padding:20px 28px;gap:20px}.arena-page .settings{display:flex;align-items:center;gap:27px;flex-wrap:wrap}.arena-page .setting label,.arena-page .setting small{display:block;color:#ad9d84;font-size:11px;margin-bottom:2px}.arena-page .setting select{color:#e5d4b6;background:#211e1a;border:1px solid #584b36;padding:5px 28px 5px 10px;font-size:13px;border-radius:3px;min-height:36px}.arena-page .setting p{color:#e5d4b6;font-size:13px}.arena-page .setting.lineup select{max-width:13em}.arena-page .setting.mirror{display:flex;align-items:center;gap:6px;min-height:44px;color:#e5d4b6;font-size:13px;cursor:pointer;accent-color:#cfaa65}.arena-page .startgroup{display:flex;flex-direction:column;align-items:end;gap:5px;min-width:200px}.arena-page .primary{color:#251c10;background:#cfaa65;border:1px solid #dec18b;border-radius:3px;padding:11px 25px;font-weight:700;letter-spacing:1px;min-height:45px}.arena-page .primary:hover{background:#ddbd80}.arena-page .startgroup .primary{width:220px}.arena-page .startgroup small{font-size:11px;color:#b5a388;text-align:right;min-height:17px}.arena-page .below{display:grid;grid-template-columns:1.22fr 1fr;gap:40px;margin-top:35px}.arena-page .section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:13px}.arena-page .section-head h2{font-size:20px;font-weight:600}.arena-page .section-head small{font-size:12px;color:var(--muted)}.arena-page .engine-row{display:flex;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);gap:12px}.arena-page .engine-symbol{height:41px;width:41px;flex-shrink:0;border:1px solid #ad90624f;display:grid;place-items:center;font:19px Cinzel,serif;color:#795738;background:#eee0c0}.arena-page .engine-symbol .barrel-icon{width:38px;height:38px;object-fit:contain}.arena-page .engine-info{flex:1;min-width:0}.arena-page .engine-title{font-size:15px;line-height:1.35;font-weight:600}.arena-page .engine-info small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.arena-page .engine-status{font-size:12px;white-space:nowrap;color:#547454;min-width:52px}.arena-page .engine-status.offline{color:#847565}.arena-page .engine-status.busy{color:#986c20}.arena-page .mini{background:none;font-size:11px;padding:5px 9px;min-height:36px;border:1px solid #b89b7355;color:var(--muted);border-radius:3px}.arena-page .mini:hover{background:#fff4dd80}.arena-page .engine-actions{display:flex;gap:5px}.arena-page .builtin-list-toggle,.arena-page .picker-group,.arena-page .picker-option{width:100%;display:flex;align-items:center;gap:12px;text-align:left;color:var(--ink);background:transparent}.arena-page .builtin-list-toggle{padding:13px 0;border-bottom:1px solid var(--line)}.arena-page .builtin-list .engine-row{padding-left:12px;background:#fff6e943}.arena-page .picker-chevron{color:var(--muted);font-size:18px;padding:0 7px}.arena-page .seat-picker{position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%);z-index:40;width:min(340px,calc(100vw - 36px));text-align:left;background:#f7edd7;border:1px solid #af9265;border-radius:5px;box-shadow:0 16px 40px #0c0908a8;padding:5px 11px}.arena-page .picker-root,.arena-page .picker-submenu{max-height:min(440px,65vh);overflow-y:auto}.arena-page .picker-submenu{position:absolute;top:-1px;width:100%;padding:5px 11px;background:#f7edd7;border:1px solid #af9265;border-radius:5px;box-shadow:0 16px 40px #0c0908a8}.arena-page .picker-submenu.open-right{left:calc(100% + 8px)}.arena-page .picker-submenu.open-left{right:calc(100% + 8px)}.arena-page .submenu-head{position:sticky;top:-5px;z-index:1;display:flex;align-items:center;min-height:44px;padding:6px 3px;color:var(--muted);background:#f7edd7;border-bottom:1px solid var(--line);font-size:12px}.arena-page .submenu-back{display:none;color:var(--muted);background:transparent;font-size:22px}.arena-page .seat-picker .picker-group,.arena-page .seat-picker .picker-option{padding:9px 3px;border-bottom:1px solid var(--line)}.arena-page .picker-group:hover,.arena-page .picker-option:hover:not(:disabled),.arena-page .builtin-list-toggle:hover{background:#fff7e489}.arena-page .picker-option:disabled{opacity:.55}.arena-page .picker-option-state{color:var(--muted);font-size:12px;white-space:nowrap}.arena-page .picker-caption{font-size:11px;color:var(--muted);letter-spacing:1px;padding:13px 4px 6px}.arena-page .picker-empty{font-size:13px;color:var(--muted);padding:9px 4px 13px}.arena-page .history-row{padding:15px 0;border-bottom:1px solid var(--line)}.arena-page .history-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px}.arena-page .history-teams{min-width:0;overflow-wrap:anywhere}.arena-page .vs-small{color:#9c8666;font:italic 13px Georgia,serif;margin:0 7px}.arena-page .history-meta{display:flex;align-items:center;justify-content:space-between;margin-top:7px;color:var(--muted);font-size:11px}.arena-page .textbtn{background:none;color:#725027;padding:2px 0;min-height:26px;font-size:12px;text-decoration:underline;text-underline-offset:4px}.arena-page .result{font-size:11px;padding:2px 8px;background:#d0505010;color:#994c40;white-space:nowrap}.arena-page .result.running{color:#38634b;background:#47775212}.arena-page .empty{padding:34px 20px;text-align:center;color:var(--muted);font-size:14px}.arena-page .empty p{font-size:12px;margin-top:6px}.arena-page .footer{margin-top:30px;border-top:1px solid var(--line);padding-top:16px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted);gap:15px}.arena-page .footer a{font-size:12px}.arena-page dialog{padding:0;max-width:560px;width:calc(100% - 32px);border:1px solid #a48a61;background:#f4e8ce;color:var(--ink);border-radius:5px;box-shadow:0 25px 100px #0005}.arena-page dialog::backdrop{background:#19160fb0;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.arena-page .dialog-head{display:flex;align-items:center;justify-content:space-between;padding:21px 25px 13px;gap:20px;border-bottom:1px solid var(--line)}.arena-page .dialog-head h2{font-size:22px;font-weight:600}.arena-page .close{background:none;font-size:24px;color:var(--muted);min-width:44px}.arena-page .dialog-body{padding:23px 25px;max-height:70vh;overflow-y:auto}.arena-page .dialog-intro{font-size:14px;color:var(--muted);margin-bottom:20px}.arena-page .field{display:block;font-size:13px;margin:17px 0}.arena-page .field input,.arena-page .field select{display:block;width:100%;background:#fff8e8;border:1px solid #b89f76;color:var(--ink);padding:10px 12px;border-radius:3px;margin-top:6px}.arena-page .dialog-foot{padding-top:10px;display:flex;justify-content:space-between;align-items:center;gap:20px}.arena-page .dialog-foot a{font-size:12px;color:var(--muted)}.arena-page .notice{font-size:12px;padding:12px 14px;background:#e5d6b9;border-left:2px solid #9c7b42;margin:15px 0}.arena-page .codeblock{font:11px/1.8 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;background:#242019;color:#ddc9a5;padding:17px;border-radius:3px}.arena-page .copyrow{display:flex;justify-content:space-between;align-items:center;margin:16px 0 7px;font-size:12px}.arena-page .dialog-body .primary{width:100%}.arena-page .toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);background:#2b241b;color:#f3e4c7;border:1px solid #a78a59;padding:12px 23px;max-width:calc(100% - 30px);font-size:13px;border-radius:4px;box-shadow:0 8px 30px #0002;z-index:10}.arena-page .toast[hidden]{display:none}@media(max-width:950px){.arena-page .settings{gap:15px}.arena-page .shell,.arena-page .topbar{padding-left:25px;padding-right:25px}.arena-page .below{gap:25px}.arena-page .engine-actions .mini{padding:5px 6px}.arena-page .stage-foot{align-items:start}.arena-page .startgroup{min-width:170px}.arena-page .startgroup .primary{width:180px}.arena-page .duel{grid-template-columns:1fr 85px 1fr}}@media(max-width:760px){.arena-page .topbar{padding:16px 20px}.arena-page .brand{font-size:19px}.arena-page .nav{gap:14px}.arena-page .nav .back{display:none}.arena-page .nav a{font-size:12px}.arena-page .outline{padding:6px 11px;font-size:12px}.arena-page .shell{padding:26px 18px 20px}.arena-page .heading{align-items:start}.arena-page .heading h1{font-size:34px}.arena-page .heading p{max-width:220px;font-size:13px}.arena-page .live-count{font-size:12px;margin-top:31px}.arena-page .duel{grid-template-columns:1fr;padding:25px 20px}.arena-page .fighter{display:grid;grid-template-columns:80px 1fr;gap:0 17px;text-align:left;align-items:center}.arena-page .crest{grid-column:1;grid-row:1/6;width:74px;height:90px;margin:0}.arena-page .crest span{font-size:33px}.arena-page .crest .barrel-icon{width:70px;height:70px}.arena-page .fighter h2{font-size:23px;padding:0}.arena-page .side-label{font-size:11px}.arena-page .fighter-meta{margin:3px 0}.arena-page .fighter-state{margin:0;font-size:11px}.arena-page .choose{grid-column:2;justify-self:start;margin-top:8px;padding:4px 12px;min-height:32px}.arena-page .seat-picker{left:0;transform:none}.arena-page .seat-picker.submenu-open .picker-root{display:none}.arena-page .picker-submenu,.arena-page .picker-submenu.open-left,.arena-page .picker-submenu.open-right{position:static;width:100%;padding:0;border:0;box-shadow:none}.arena-page .submenu-back{display:inline-grid;place-items:center;width:38px;margin-right:4px}.arena-page .versus{padding:7px 0;display:flex;align-items:center;justify-content:center;gap:15px}.arena-page .versus:before,.arena-page .versus:after{height:1px;width:40px}.arena-page .versus .v{font-size:22px}.arena-page .swap{width:auto}.arena-page .stage-head{padding:14px 19px}.arena-page .stage-head .mono{font-size:9px}.arena-page .stage-foot{flex-direction:column;padding:18px 20px;gap:20px}.arena-page .settings{width:100%;justify-content:space-between;gap:8px}.arena-page .setting p{font-size:12px}.arena-page .startgroup{width:100%;align-items:center}.arena-page .startgroup .primary{width:100%}.arena-page .startgroup small{text-align:center}.arena-page .below{grid-template-columns:1fr;gap:28px;margin-top:26px}.arena-page .footer{flex-direction:column;gap:6px}.arena-page .previewbar{padding-left:16px;padding-right:16px;font-size:10px}.arena-page .engine-actions .mini{padding:5px 9px}.arena-page .dialog-body{padding:18px 20px}.arena-page .dialog-head{padding:15px 20px}.arena-page .dialog-foot{align-items:start}}@media(prefers-reduced-motion:reduce){.arena-page *{transition:none!important}}.arena-page{height:100dvh;overflow-y:auto;width:100%}.arena-page .brand{text-decoration:none}.arena-page .engine-actions{flex-wrap:wrap;justify-content:end}.arena-page .mini,.arena-page .choose,.arena-page .swap,.arena-page .textbtn,.arena-page .setting select{min-height:44px}.arena-page .engine-status{max-width:110px;white-space:normal}.arena-page .codeblock{-webkit-user-select:text;user-select:text}.replay-export{position:fixed;z-index:100000;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));box-sizing:border-box;color:#f3e3bf;font-family:var(--font-display, "PingFang SC", serif);font-size:14px;line-height:1.5;pointer-events:none}.replay-export *,.replay-export *:before,.replay-export *:after{box-sizing:border-box}.replay-export__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0b0907a8;pointer-events:auto}.replay-export__card{position:relative;isolation:isolate;width:min(420px,100%);max-height:100%;overflow:auto;padding:26px 30px 24px;text-align:center;pointer-events:auto;box-shadow:0 20px 50px #0007;animation:export-panel-enter .18s ease-out}.replay-export__card:before{content:"";position:absolute;z-index:-2;top:0;right:0;bottom:0;left:0;border:14px solid transparent;border-image:url(/asset/original-ui/NormalPanelBg-e88e239b-2.webp) 45 50 47 45 fill / 14px / 0 stretch;filter:brightness(.66) saturate(.75);pointer-events:none}.replay-export__card:after{content:"";position:absolute;z-index:-1;top:12px;right:12px;bottom:12px;left:12px;background:linear-gradient(140deg,#241f19ed,#2e281eeb 55%,#211b15ee);box-shadow:inset 0 1px #e5c38422;pointer-events:none}.replay-export button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}.replay-export button:focus{outline:none}.replay-export__art{display:block;width:58px;height:58px;object-fit:contain;margin:0 auto 10px;filter:drop-shadow(0 3px 9px #0009)}.replay-export__title{margin:0;color:#f6e5bd;font-size:25px;font-weight:600;line-height:1.4;letter-spacing:.025em;text-shadow:0 2px 2px #0007}.replay-export__match{margin:7px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#c8b590}.replay-export__description{margin:10px 0 0;min-height:20px;color:#bdb097;font-size:12px;line-height:1.75;overflow-wrap:anywhere}.replay-export__meter{display:flex;align-items:baseline;justify-content:center;gap:4px;height:83px;padding-top:13px}.replay-export__number{color:#f1cf85;font-family:var(--font-num, ui-monospace, monospace);font-size:54px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.04em;line-height:1.2}.replay-export__suffix{color:#c4aa71;font-family:system-ui,sans-serif;font-size:20px}.replay-export__bar{height:11px;padding:2px;border:1px solid #ae8e4e77;border-radius:2px;background:#100e0b;box-shadow:inset 0 1px 3px #0009,0 1px #ffffff08;overflow:hidden}.replay-export__fill{width:0;height:100%;border-radius:1px;background:linear-gradient(90deg,#98713b,#d9b56b 65%,#f8df9f);box-shadow:0 0 9px #ecc47a30;transition:width .25s ease-out}.replay-export__timing{display:flex;justify-content:space-between;gap:8px;margin:10px 0 0;color:#b9ac92;font-size:11px}.replay-export__elapsed{color:#8e826d;font-variant-numeric:tabular-nums}.replay-export__actions{display:flex;align-items:stretch;gap:12px;margin-top:25px}.replay-export__actions button{min-width:0;min-height:47px;padding:10px 14px;border:7px solid transparent;border-image:url(/asset/original-ui/NormalBrownBtnBg1-834a1fe7-1.webp) 40 50 fill / 7px / 0 stretch;background:none;color:#f5ead3;font-size:15px;font-weight:600;text-shadow:0 1px 2px #0008;line-height:1.2}.replay-export__primary{flex:1.3;border-image-source:url(/asset/original-ui/NormalGreenBtnBg1-2f849ec5-1.webp)!important}.replay-export__secondary{flex:1}.replay-export__actions button:hover:not(:disabled){filter:brightness(1.12)}.replay-export__actions button:active:not(:disabled){filter:brightness(.9)}.replay-export__actions button:disabled{cursor:default;opacity:.6}.replay-export__hint{margin:14px 0 0;color:#8f826c;font-size:11px}.replay-export__dock{display:none}.replay-export[data-phase=loading] .replay-export__fill{width:32%;animation:export-progress-prepare 1.8s ease-in-out infinite}.replay-export[data-phase=notice] .replay-export__meter,.replay-export[data-phase=notice] .replay-export__bar,.replay-export[data-phase=notice] .replay-export__timing,.replay-export[data-phase=error] .replay-export__meter,.replay-export[data-phase=error] .replay-export__bar,.replay-export[data-phase=error] .replay-export__timing,.replay-export[data-phase=complete] .replay-export__actions,.replay-export[data-phase=complete] .replay-export__hint{display:none}.replay-export[data-phase=complete] .replay-export__timing{visibility:hidden}.replay-export.is-minimized{inset:auto max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) auto;display:block;padding:0;width:min(320px,calc(100vw - 32px))}.replay-export.is-minimized .replay-export__backdrop,.replay-export.is-minimized .replay-export__card{display:none}.replay-export.is-minimized .replay-export__dock{display:grid;grid-template-columns:28px 1fr auto 12px;align-items:center;gap:10px;width:100%;min-height:56px;padding:10px 15px;border:1px solid #a88a58;border-radius:6px;background:linear-gradient(135deg,#342e24f5,#201a14fa);box-shadow:0 5px 24px #0007,inset 0 1px #f0d5a41a;color:#ebd6ac;text-align:left;pointer-events:auto;font-size:13px}.replay-export__dock img{width:28px;height:28px;object-fit:contain}.replay-export__dock strong{color:#f0d28f;font:13px var(--font-num, ui-monospace, monospace)}.replay-export [hidden]{display:none!important}@keyframes export-progress-prepare{0%{transform:translate(-110%)}to{transform:translate(420%)}}@keyframes export-panel-enter{0%{transform:translateY(7px) scale(.985);opacity:0}to{transform:none;opacity:1}}@media(max-width:380px){.replay-export__card{padding:22px 24px}.replay-export__title{font-size:23px}.replay-export__timing{font-size:10px}}@media(max-height:500px){.replay-export__art{display:none}.replay-export__meter{height:68px;padding-top:8px}.replay-export__number{font-size:46px}}@media(prefers-reduced-motion:reduce){.replay-export__card,.replay-export__fill{animation:none!important;transition:none}}.battle-record__export{position:relative;z-index:2;flex-shrink:0;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:0}.battle-record__export:hover{filter:brightness(1.12)}.battle-record__export:active{filter:brightness(.9)}.match-scene--canvas-replay .replay-probability{opacity:0}.match-scene--canvas-replay .match-banner{visibility:hidden;z-index:26}.match-scene.match-scene--canvas-replay.tb-has-board-three .match-banner{z-index:26}.match-scene--canvas-replay .match-banner__player-avatar-wrap{visibility:visible}.match-scene--canvas-replay .match-banner__player-avatar-wrap>*,.match-scene--canvas-replay .match-banner__player-avatar-wrap:before,.match-scene--canvas-replay .match-banner__player-avatar-wrap:after{visibility:hidden}.match-scene--canvas-replay .match-banner__player-avatar-wrap>.native-turn-clock,.match-scene--canvas-replay .match-banner__player-avatar-wrap>.native-turn-clock-number,.match-scene--canvas-replay .match-banner__player-avatar-wrap>.battle-chat-portrait-icon{visibility:visible}.match-scene--canvas-replay .native-turn-clock,.match-scene--canvas-replay .native-turn-clock-number{opacity:0}.match-scene--canvas-replay .match-banner__turn-pill{visibility:visible;opacity:0}.match-scene--canvas-replay .arena-replay-draft>:not(.original-arena-backdrop){visibility:hidden}.match-scene--canvas-replay.tb-has-replay-controls .native-turn-countdown{display:none}.replay-probability{position:relative;--chart-red: #f28b80;--chart-blue: #7fc4ed;width:100%;box-sizing:border-box;padding:0;color-scheme:dark;text-shadow:0 1px 3px #000;color:#d7ccb4;font:11px/1.4 system-ui,sans-serif}.replay-probability__progress{position:absolute;top:5px;left:50%;transform:translate(-50%);font-size:10px;color:#d7ccb4;white-space:nowrap}.replay-probability__heading,.replay-probability__legend,.replay-probability__player{display:flex;align-items:center;justify-content:space-between}.replay-probability__heading{font-size:10px;letter-spacing:.08em}.replay-probability__status{color:#928e85;letter-spacing:0}.replay-probability__legend{gap:22px;margin:4px 0 5px}.replay-probability__player{min-width:0;flex:1;justify-content:flex-start;gap:5px}.replay-probability__player strong{margin-left:2px;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.replay-probability__player i{flex:0 0 6px;height:6px;border-radius:50%;background:currentColor}.replay-probability--flipped{--chart-red: #7fc4ed;--chart-blue: #f28b80}.replay-probability__player--red{color:var(--chart-red)}.replay-probability__player--blue{color:var(--chart-blue);justify-content:flex-end}.replay-probability__plot{position:relative;height:64px}.replay-probability__plot svg{width:100%;height:100%;display:block;overflow:visible}.replay-probability__grid{stroke:#d7ccb410}.replay-probability__midline{stroke:#d7ccb435;stroke-dasharray:3 5}.replay-probability__axis{position:absolute;top:50%;right:3px;transform:translateY(-105%);font-size:8px;color:#8f918d}.replay-probability__line{fill:none;stroke-width:1.8;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}.replay-probability__line--red{stroke:var(--chart-red)}.replay-probability__line--blue{stroke:var(--chart-blue)}.replay-probability__dot--red{fill:var(--chart-red)}.replay-probability__dot--blue{fill:var(--chart-blue)}.replay-probability__cursor{stroke:#ead6a0aa;stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:2 3}.replay-probability__note{padding-top:5px;color:#8f918d;font-size:9px;text-align:center}.match-scene.match-scene--no-pool.tb-has-board-three:has(.replay-controls--with-probability .replay-probability){--replay-footer-height: 192px;grid-template-rows:max-content minmax(0,1fr) var(--replay-footer-height)}.match-scene.match-scene--no-pool.tb-has-board-three:has(.replay-controls--with-probability .replay-probability) .hud{height:var(--replay-footer-height)}.match-scene.tb-has-board-three .replay-controls.replay-controls--with-probability{width:min(100%,500px);max-width:500px;box-sizing:border-box;gap:7px}@media(max-height:599px)and (orientation:landscape){.match-scene.match-scene--no-pool.tb-has-board-three:has(.replay-controls--with-probability .replay-probability){--replay-footer-height: 136px}.replay-probability__plot{height:34px}.replay-probability__note{padding-top:2px}.replay-probability__legend{margin:1px 0 3px}}.replay-probability__area{stroke:none;fill-opacity:.25}.replay-probability__area--red{fill:var(--chart-red)}.replay-probability__area--blue{fill:var(--chart-blue)}.replay-probability__heading,.replay-probability__note,.replay-controls--ended .replay-controls__row{display:none}.match-scene.tb-has-board-three:has(.replay-probability) .hud.hud--result{flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.replay-controls__timeline{width:100%;min-width:0}.match-scene.tb-has-board-three .replay-controls--with-probability .replay-controls__progress{height:28px;margin-top:-14px}.replay-controls--with-probability .replay-controls__progress-fill,.replay-controls--with-probability .replay-controls__progress-knob{transition:none}.match-scene.tb-has-board-three .replay-controls--with-probability .replay-controls__progress:focus-visible{outline:none}.replay-controls--with-probability .replay-controls__progress:focus-visible .replay-controls__progress-knob{outline:2px solid var(--gold-bright);outline-offset:3px}.match-scene.tb-has-board-three .replay-controls.replay-controls--native{display:grid;grid-template-rows:var(--replay-button-size) auto;align-content:center;position:relative}.replay-controls--native .replay-controls__timeline{grid-area:2 / 1}.replay-controls--native .replay-controls__row,.match-scene .replay-controls--native>.hud__actions--result{grid-area:1 / 1;height:var(--replay-button-size);align-items:center;justify-content:center;align-self:center;justify-self:center}.replay-controls--native.replay-controls--ended .replay-controls__row{display:flex;visibility:hidden;pointer-events:none}.match-scene .replay-controls--native>.hud__actions--result{--result-button-width: calc(var(--replay-button-size) * 369 / 131);max-width:100%}.match-scene.match-scene--no-pool.tb-has-board-three.tb-has-replay-controls .hud.hud--result{position:relative;inset:auto;width:100%;height:var(--replay-footer-height, 98px);transform:none;grid-area:3 / 1 / 4 / -1;justify-content:center;align-items:center;gap:0}.replay-controls--native .replay-controls__progress-fill{transition:width var(--replay-progress-duration, 0ms) linear}.replay-controls--native .replay-controls__progress-knob{transition:left var(--replay-progress-duration, 0ms) linear}.replay-controls--native .replay-probability__cursor{transition:transform var(--replay-progress-duration, 0ms) linear}@media(prefers-reduced-motion:reduce){.replay-controls--native{--replay-progress-duration: 0ms !important}}@media(min-width:1000px){.match-scene.match-scene--no-pool.tb-has-board-three:has(.replay-controls .replay-probability){grid-template-rows:max-content minmax(0,1fr) 0px}.match-scene.match-scene--no-pool.tb-has-board-three.tb-has-replay-controls .hud.tb-has-replay-controls:not(.hud--result){position:absolute;inset:auto max(0px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) auto;width:min(clamp(340px,34vw,500px),max(280px,calc((100dvw - 56.25dvh)/2 - 16px)));height:auto;padding:8px 12px;border:0;background:#12161ecc;border-radius:12px 0 0 12px;z-index:73}.match-scene.match-scene--no-pool.tb-has-board-three.tb-has-replay-controls .hud.hud--result{position:absolute;inset:auto max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));width:auto;height:auto;padding:0;grid-area:auto;background:transparent;border-radius:0;z-index:2201}.match-scene.tb-has-board-three .replay-controls.replay-controls--native{--replay-button-size: clamp(38px, 3.75vw, 54px)}.match-scene.match-scene--draft-replay.tb-has-board-three .replay-controls__timeline{visibility:visible;pointer-events:auto}.match-scene.match-scene--draft-replay .native-tutorial-controls.replay-tools{top:max(12px,env(safe-area-inset-top))}}.replay-probability--canvas>:not(.probability-shared-canvas):not(.replay-probability__progress){opacity:0}.native-tutorial-controls.practice-tools{position:fixed;inset:auto max(0px,env(safe-area-inset-right)) auto auto;top:max(var(--practice-tools-top, 12px),env(safe-area-inset-top));width:max(52px,9.921875dvh);display:flex;flex-direction:column;align-items:flex-end;gap:4px}.native-tutorial-controls.practice-tools>.battle-context-controls{display:contents}.native-tutorial-controls.practice-tools .battle-context-controls>button{position:relative;inset:auto;flex:none}.practice-tools [hidden]{display:none!important}.battle-chat-coach .battle-chat-text{white-space:normal;overflow-wrap:anywhere}.practice-hint-pool-target,.practice-hint-action-target{outline:3px solid #ffe866;outline-offset:-3px;filter:drop-shadow(0 0 5px #ffe866aa)}.match-scene .replay-tools .battle-context-controls__review{--review-button-height: max(44px, 7.1875dvh);width:calc(var(--review-button-height) * 171 / 138);height:var(--review-button-height)}.match-scene .replay-tools .battle-context-controls__review img{width:calc(var(--review-button-height) * 240 / 140);height:var(--review-button-height);min-height:0;max-width:none;object-fit:contain}.replay-practice button:hover:not(:disabled){filter:brightness(1.15)}.replay-practice button:active:not(:disabled){filter:brightness(.88)}.replay-sandbox-actions{position:relative;z-index:45;display:flex;width:100%;flex-direction:column;gap:4px;pointer-events:auto}.replay-sandbox-actions .btn{min-height:30px;padding:4px;font-size:12px}.replay-sandbox-actions [role=status]{color:#fffbc6;font-size:12px;text-align:right}.battle-chat-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:420}.battle-chat-portrait-icon{position:absolute;right:-3px;bottom:1px;width:23px;height:23px;object-fit:contain;z-index:5;pointer-events:none}.match-banner__player-avatar-wrap[role=button]{cursor:pointer;touch-action:manipulation}.match-banner__player-avatar-wrap[role=button]:focus-visible{outline:2px solid #e9c36d;outline-offset:3px}.battle-chat-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;pointer-events:auto}.battle-chat-menu{position:absolute;display:flex;flex-direction:column;align-items:stretch;padding:0;overflow-y:auto;overscroll-behavior:contain;pointer-events:auto;scrollbar-width:thin}.battle-chat-paper{position:relative;isolation:isolate;color:#282013;font-family:Arial,sans-serif;font-weight:700;text-shadow:none}.battle-chat-paper:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border-style:solid;border-width:calc(31px * var(--chat-scale, 1)) 0 calc(36px * var(--chat-scale, 1));border-image:url(/asset/original-battle-chat/SpeakBtnBg1.webp) 31 0 36 0 fill stretch;pointer-events:none}.battle-chat-paper--right:before{transform:scaleX(-1)}.battle-chat-choice{border:0;background:none;border-radius:0;position:absolute;padding:0;cursor:pointer}.battle-chat-menu-row{position:relative;flex-shrink:0}.battle-chat-text{position:absolute;white-space:nowrap}.battle-chat-choice:hover:not(:disabled){filter:brightness(1.08)}.battle-chat-choice:disabled{opacity:.48;cursor:default}.battle-chat-choice:focus-visible,.battle-chat-surrender:focus-visible{outline:2px solid #e9c36d;outline-offset:-2px}.battle-chat-surrender{display:flex;align-items:center;justify-content:center;border:0;border-radius:0;border-image:url(/asset/original-battle-chat/NormalRedBtnBg1.webp) 40 56 40 57 fill stretch;border-style:solid;border-width:calc(32px * var(--chat-scale, 1)) calc(45px * var(--chat-scale, 1));background:none;color:#fff;line-height:1;position:absolute;padding:0;text-shadow:0 1px 2px #441808;cursor:pointer}.battle-chat-bubble{position:absolute;padding:0;animation:battle-chat-appear .333333s ease-out both}.battle-chat-notice{position:absolute;top:115px;left:50%;transform:translate(-50%);color:#fff4da;font-size:13px;text-shadow:0 1px 3px #000;text-align:center}.battle-chat-notice:empty{display:none}@keyframes battle-chat-appear{0%{opacity:0;transform:translateY(-5px) scale(.9)}to{opacity:1;transform:none}}@media(max-width:600px){.battle-chat-portrait-icon{width:19px;height:19px}}@media(prefers-reduced-motion:reduce){.battle-chat-bubble{animation:none}}.match-scene .board-area:has(>.board--full-scene){overflow:visible!important;border:0!important;border-radius:0!important;background:transparent}.match-scene .board-area>.board--full-scene{position:absolute;max-width:none;max-height:none;border-radius:0}.board--full-scene .match-scene-selector{left:calc(var(--scene-frame-left) + 8px);top:calc(var(--scene-frame-top) + 8px)}.board--full-scene .match-three-status{bottom:calc(var(--scene-frame-bottom) + 8px)}.match-scene:has(.board--full-scene) .hud{background:transparent!important}.match-scene--draft-replay .match-banner,.match-scene--draft-replay .board-area,.match-scene--draft-replay .pool{visibility:hidden}.arena-replay-draft{position:absolute;top:0;right:0;bottom:0;left:0;z-index:65}.arena-replay-draft[hidden]{display:none}.arena-replay-draft .original-arena-draft__user.is-inactive,.arena-replay-draft .original-arena-draft__user-frame.is-inactive{filter:brightness(.45)}.arena-replay-draft .original-arena-draft__candidate.is-gifted{filter:brightness(.55)}.match-scene.match-scene--draft-replay .native-tutorial-controls.replay-tools{top:max(var(--practice-tools-top, 12px),env(safe-area-inset-top));z-index:71}.replay-probability[hidden]{display:none}.match-scene.match-scene--draft-replay.tb-has-board-three.tb-has-replay-controls .hud{z-index:auto}.match-scene--draft-replay .replay-controls__row{position:relative;z-index:72}.match-scene--draft-replay .replay-controls__timeline{visibility:hidden;pointer-events:none}.replay-controls.replay-controls--native{--replay-button-size: 54px;width:min(100%,340px);gap:6px;padding:4px 8px 2px;align-self:center}.replay-controls--native .replay-controls__row{gap:16px}.match-scene .replay-controls.replay-controls--native .replay-controls__btn,.match-scene .replay-controls.replay-controls--native .replay-controls__btn:hover,.match-scene .replay-controls.replay-controls--native .replay-controls__btn--active,.match-scene .replay-controls.replay-controls--native .replay-controls__btn--speed.replay-controls__btn--active{position:relative;flex:0 0 var(--replay-button-size);width:var(--replay-button-size);height:var(--replay-button-size);min-width:var(--replay-button-size);min-height:var(--replay-button-size);padding:0;border:0;border-radius:0;background:url(/asset/original-ui/Btn_Speed1-f54ff6a7-1.webp) center / contain no-repeat;box-shadow:none;transition:filter .12s ease,transform .12s ease}.match-scene .replay-controls.replay-controls--native .replay-controls__btn:hover:not(:disabled){filter:brightness(1.15)}.match-scene .replay-controls.replay-controls--native .replay-controls__btn:active:not(:disabled){transform:scale(.94)}.match-scene .replay-controls.replay-controls--native .replay-controls__btn:disabled{filter:grayscale(1) brightness(.5);cursor:default}.replay-controls--native .replay-controls__icon{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.match-scene .replay-controls.replay-controls--native .replay-controls__btn--prev .replay-controls__icon{transform:scaleX(-1)}@media(max-height:599px)and (orientation:landscape){.replay-controls.replay-controls--native{--replay-button-size: 40px}.replay-controls.replay-controls--native{gap:2px;padding-top:0;padding-bottom:0}}
