.duel-shell{min-height:100svh;color:var(--paper);background:radial-gradient(circle at 8% 12%,#f15b351a,#0000 28rem),radial-gradient(circle at 92% 40%,#2fb5d614,#0000 30rem),#090b0c;overflow-x:hidden}.duel-topbar{z-index:4;border-bottom:1px solid var(--line);background:#090b0cf5;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;min-height:74px;padding:0 clamp(18px,4vw,58px);display:grid;position:relative}.duel-brand{align-items:center;width:max-content;display:inline-flex}.duel-brand .site-brand-logo{width:116px}.duel-exit,.duel-concede,.duel-mode-title span{font-family:var(--font-geist-mono), monospace;letter-spacing:.12em;text-transform:uppercase;font-size:8px}.duel-table-actions{justify-self:end;align-items:center;gap:8px;display:flex}.duel-concede{color:#ff9c7f;cursor:pointer;background:#f15b3517;border:1px solid #f15b3594;border-radius:999px;padding:9px 12px;font-weight:800}.duel-concede:hover,.duel-concede:focus-visible{color:#ffc0ae;background:#f15b352e;border-color:#ff8462}.duel-concede:disabled{opacity:.4;cursor:not-allowed}.duel-mode-title{flex-direction:column;align-items:center;gap:4px;display:flex}.duel-mode-title span{color:#706d67;font-size:6px}.duel-mode-title strong{font-size:12px;font-weight:560}.duel-exit{background:var(--orange);color:#120d0b;border:1px solid #ff8462;border-radius:999px;justify-self:end;padding:9px 12px;font-weight:800}.duel-exit:hover,.duel-exit:focus-visible{background:var(--orange-bright);color:#120d0b;border-color:#f15b358c}.duel-intro{grid-template-columns:1fr minmax(300px,.7fr);align-items:end;gap:42px;max-width:1600px;margin:0 auto;padding:38px clamp(18px,3vw,46px) 30px;display:grid}.duel-intro>div>p,.duel-intro>p{margin:0}.duel-intro>div>p{color:var(--orange);font-family:var(--font-geist-mono), monospace;letter-spacing:.14em;text-transform:uppercase;font-size:8px}.duel-intro h1{letter-spacing:-.06em;margin:12px 0 0;font-size:clamp(44px,6vw,82px);font-weight:590;line-height:.92}.duel-intro>p{color:#8c8982;font-size:13px;line-height:1.7}.duel-shell.is-match-active .duel-intro{display:none}.duel-shell.is-match-active{--duel-control-height:clamp(76px, 10dvh, 98px);--duel-hand-peek-height:clamp(58px, 7dvh, 68px);--duel-log-width:clamp(210px, 15vw, 250px);--duel-topbar-height:clamp(44px, 5.5dvh, 58px);height:100dvh;min-height:0;position:fixed;inset:0;overflow:hidden}.duel-shell.is-match-active .duel-topbar{height:var(--duel-topbar-height);min-height:0;padding-inline:clamp(14px,2vw,32px)}.duel-shell.is-match-active .duel-brand .site-brand-logo{width:clamp(82px,10dvh,104px)}.duel-play-layout{height:calc(100dvh - var(--duel-topbar-height));grid-template-columns:minmax(0, 1fr) var(--duel-log-width);align-items:stretch;gap:6px;min-width:0;min-height:0;padding:4px clamp(6px,1vw,12px);display:grid}.duel-table-column{width:100%;min-width:0;height:100%;min-height:0}.duel-table{grid-template-rows:minmax(0, 1fr) var(--duel-control-height) minmax(0, 1fr) var(--duel-hand-peek-height);background-color:#0e1112;background-image:linear-gradient(90deg,#ffffff05 1px,#0000 1px),linear-gradient(#ffffff05 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:48px 48px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #eee7da26;gap:2px;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;margin:0;padding:3px;display:grid;overflow:hidden;box-shadow:0 28px 70px #00000057}.duel-board{contain:layout paint;border:0;grid-template-rows:clamp(28px,4.5cqh,38px) minmax(0,1fr);height:100%;min-height:0;padding:3px 5px;display:grid;container-type:size}.duel-player-stage{grid-row:3/5;height:100%;min-height:0;position:relative}.duel-player-stage>.duel-board{inset:0 0 var(--duel-hand-peek-height);height:auto;position:absolute}.duel-board.is-opponent{background:linear-gradient(#2fb5d609,#0000 42%)}.duel-board.is-player{background:linear-gradient(#0000 58%,#f15b350a)}.duel-player-label{align-items:center;gap:9px;min-height:0;padding:0 2px 3px;display:flex}.duel-player-avatar{width:clamp(26px,3.2dvh,34px);height:clamp(26px,3.2dvh,34px);color:var(--orange);font-family:var(--font-geist-mono), monospace;border:1px solid #f15b3580;border-radius:50%;place-items:center;font-size:11px;font-weight:700;display:grid}.is-opponent .duel-player-avatar{color:#59c3d9;border-color:#2fb5d680}.duel-player-label>div{flex-direction:column;gap:3px;display:flex}.duel-player-label>div strong{font-size:clamp(14px,1.5dvh,17px);font-weight:560}.duel-player-label>div small,.duel-opponent-hand-count,.duel-turn-timer,.duel-time-bank,.duel-life{color:#6e6b65;font-family:var(--font-geist-mono), monospace;letter-spacing:.09em;text-transform:uppercase;font-size:clamp(9px,.9dvh,11px)}.duel-opponent-hand-count{color:#8dd6e4;background:#2fb5d612;border:1px solid #2fb5d64d;padding:4px 8px}.duel-opponent-hand-count b{color:#fff;margin-left:4px;font-size:1.2em}.duel-turn-timer{color:#8d8981;font-variant-numeric:tabular-nums;background:#eee7da09;border:1px solid #eee7da24;margin-left:auto;padding:4px 8px}.duel-turn-timer.is-running{color:#f0b09f;border-color:#f15b357a;box-shadow:0 0 14px #f15b351f}.is-opponent .duel-turn-timer.is-running{color:#8dd6e4;border-color:#2fb5d67a;box-shadow:0 0 14px #2fb5d61f}.duel-time-bank{color:#c9b988;font-variant-numeric:tabular-nums;white-space:nowrap;background:#12100cb8;border:1px solid #e5b24a61;border-radius:3px;flex:none;align-items:baseline;gap:5px;padding:4px 8px;display:inline-flex}.duel-time-bank b{color:#fff0c8;letter-spacing:.04em;font-size:1.16em}.duel-time-bank.is-running{color:#f2b879;background:#f191351a;border-color:#f19135a3;box-shadow:0 0 14px #f191351f}.is-opponent .duel-time-bank.is-running{color:#8dd6e4;background:#2fb5d614;border-color:#2fb5d68f;box-shadow:0 0 14px #2fb5d61a}.duel-time-bank.is-low,.is-opponent .duel-time-bank.is-low{color:#ffc169;background:#ff842424;border-color:#ffac30e0}.duel-time-bank-warning{top:calc(var(--duel-topbar-height) + 8px);z-index:92;color:#ffd28d;max-width:min(360px,100vw - 24px);font-family:var(--font-geist-mono), monospace;letter-spacing:.04em;text-align:center;pointer-events:none;background:#1d130af5;border:1px solid #ff9e2db8;border-radius:999px;padding:9px 14px;font-size:10px;font-weight:750;animation:5s forwards duel-time-bank-warning;position:fixed;left:50%;box-shadow:0 7px 22px #f15b3529}@keyframes duel-time-bank-warning{0%{opacity:0;transform:translate(-50%,-6px)}8%,84%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-4px)}}.duel-life{border:1px solid hsl(calc(var(--life-ratio,1) * 120deg) 56% 48% / .58);background:hsl(calc(var(--life-ratio,1) * 120deg) 48% 16% / .7);color:hsl(calc(var(--life-ratio,1) * 120deg) 62% 78%);box-shadow:inset 0 0 14px hsl(calc(var(--life-ratio,1) * 120deg) 62% 42% / .1);margin-left:0;padding:4px 8px;transition:background-color .24s,border-color .24s,color .24s}.duel-mat{--duel-card-width:min(187px, calc((100cqw - 74px) / 7), calc((100cqh - 88px) * .263566));--duel-card-height:calc(var(--duel-card-width) * 1.26471);--duel-stat-width:clamp(18px, calc(var(--duel-card-width) * .36), 36px);--duel-stat-height:clamp(17px, calc(var(--duel-card-width) * .34), 34px);--duel-stat-pad-block:clamp(1px, calc(var(--duel-card-width) * .03), 3px);--duel-stat-pad-inline:clamp(2px, calc(var(--duel-card-width) * .06), 6px);--duel-stat-label-size:clamp(4px, calc(var(--duel-card-width) * .08), 8px);--duel-stat-value-size:clamp(7px, calc(var(--duel-card-width) * .13), 13px);--duel-stat-edge:clamp(1px, calc(var(--duel-card-width) * .05), 5px);--duel-slot-gap:clamp(2px, .18cqw, 3px);--duel-row-height:calc(var(--duel-card-height) + 13px);isolation:isolate;grid-template-columns:minmax(0, 1fr) repeat(2, calc(var(--duel-card-width) + 8px));grid-template-rows:repeat(3, var(--duel-row-height));border-radius:5px;grid-template-areas:"characters.deck""support leader trash""chakra summon exclusion";place-content:center space-between;gap:2px 4px;min-width:0;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.duel-mat:before,.duel-mat:after{z-index:-2;pointer-events:none;content:"";position:absolute;inset:0}.duel-mat:before{background-image:var(--duel-playmat-image);opacity:.5;background-position:50%;background-repeat:no-repeat;background-size:cover}.duel-mat:after{z-index:-1;background-color:#0407084d;background-image:linear-gradient(90deg,#ffffff07 1px,#0000 1px),linear-gradient(#ffffff07 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:48px 48px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box}@media (max-width:1000px){.duel-mat:before{background-image:var(--duel-playmat-small-image,var(--duel-playmat-image))}}.duel-zone{background:linear-gradient(145deg,#ffffff05,#0000 48%),#080a0b75;border:1px solid #eee7da2e;flex-direction:column;min-width:0;padding:2px 3px;display:flex;position:relative;overflow:hidden}.duel-zone.is-legal-drop-zone{background:linear-gradient(145deg,#ff913e1a,#0000 54%),#080a0b94;border-color:#ff913ed1;box-shadow:inset 0 0 18px #ff79251f}.is-player .duel-zone{border-color:#f15b3538}.is-opponent .duel-zone{border-color:#2fb5d633}.duel-zone-characters{grid-area:characters}.duel-zone-support{grid-area:support}.duel-zone-chakra{grid-area:chakra}.duel-zone-deck{grid-area:deck}.duel-zone-leader{grid-area:leader}.duel-zone-summon{grid-area:summon}.duel-zone-trash{grid-area:trash}.duel-zone-exclusion{grid-area:exclusion}.duel-zone-heading{color:#8b8881;height:9px;font-family:var(--font-geist-mono), monospace;letter-spacing:.07em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:4px;padding-bottom:1px;font-size:clamp(9px,.72cqw,11px);display:flex}.duel-zone-heading small{color:#53514d;font-size:6.5px}.duel-slot-row{grid-template-columns:repeat(5, var(--duel-card-width));justify-content:start;gap:var(--duel-slot-gap);flex:1;grid-template-rows:1fr;min-height:0;display:grid}.duel-card-slot,.duel-single-slot{background:#ffffff04;border:1px dashed #eee7da29;place-items:center;min-width:0;display:grid;position:relative;overflow:hidden}.duel-card-slot{width:var(--duel-card-width);height:var(--duel-card-height);border-radius:4px;align-self:center}.duel-card-slot.is-occupied,.duel-single-slot.is-occupied{border:0}.duel-card-slot:not(.is-occupied):before{aspect-ratio:1;content:"";border:1px solid #eee7da12;border-radius:50%;width:38%}.duel-card-slot-index{color:#45433f;font-family:var(--font-geist-mono), monospace;font-size:5px;position:absolute;bottom:4px;right:5px}.duel-character-carousel-next{display:none}.duel-single-slot{width:var(--duel-card-width);height:var(--duel-card-height);min-height:var(--duel-card-height);flex:0 0 var(--duel-card-height);align-self:center}button.duel-single-slot{color:inherit;cursor:pointer;font:inherit;padding:0}.duel-zone-collection-trigger:focus-visible{outline:2px solid var(--orange);outline-offset:-2px}.is-opponent .duel-zone-collection-trigger:focus-visible{outline-color:#59c3d9}.duel-single-slot>span{aspect-ratio:1;color:#4d4b47;width:42px;font-family:var(--font-geist-mono), monospace;border:1px solid #eee7da1a;border-radius:50%;place-items:center;font-size:12px;display:grid}.duel-zone-collection-trigger>.duel-card-face{aspect-ratio:600/838;border:0;border-radius:4px;width:100%;max-width:100%;height:100%;position:relative;top:auto;bottom:auto;left:auto;overflow:hidden;transform:none}.duel-single-slot img{opacity:1;object-fit:contain;border-radius:4px;width:100%;height:100%}.duel-single-slot>strong{z-index:3;width:24px;height:24px;color:var(--paper);font-family:var(--font-geist-mono), monospace;background:#080a0bf0;border-radius:50%;place-items:center;font-size:7px;display:grid;position:absolute;bottom:6px;right:6px}.duel-field-controls{grid-template-columns:minmax(0,1fr);gap:4px;min-width:0;height:100%;min-height:0;padding:2px 0;display:grid;overflow:hidden}.duel-field-controls.has-detail{grid-template-columns:minmax(330px,.72fr) minmax(0,1.28fr)}.duel-console{background:#050708e6;border:1px solid #eee7da21;grid-template-columns:86px minmax(170px,.8fr) minmax(0,1.2fr);align-items:center;gap:10px;height:100%;min-height:0;margin:0;padding:5px 8px;display:grid}.duel-console>div:first-child{flex-direction:column;gap:4px;display:flex}.duel-console>div:first-child span,.duel-status small{color:#67645f;font-family:var(--font-geist-mono), monospace;letter-spacing:.11em;text-transform:uppercase;font-size:9px}.duel-console>div:first-child strong{font-size:clamp(18px,2.4dvh,24px);font-weight:520}.duel-status{align-items:center;gap:8px;display:flex}.duel-status>span{background:#76736d;border-radius:50%;width:11px;height:11px}.duel-status>span.is-ready{background:#62c58b;box-shadow:0 0 14px #62c58b66}.duel-status>div{flex-direction:column;gap:4px;display:flex}.duel-status strong{font-size:clamp(13px,1.8dvh,17px);font-weight:520}.duel-console button{min-height:36px;color:var(--paper);cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.09em;text-transform:uppercase;background:#f15b3514;border:1px solid #f15b356b;border-radius:999px;padding:0 13px;font-size:10px}.duel-console button:hover,.duel-console button:focus-visible{border-color:var(--orange);background:#f15b3524}.duel-console button.is-attention{animation:3.2s ease-in-out infinite duel-action-attention}@keyframes duel-action-attention{0%,18%,to{background:#f15b3514;border-color:#f15b356b}6%,12%{color:#fff8ea;background:#ff841c57;border-color:#ff9a36}}.duel-footer-note{color:#66635e;font-family:var(--font-geist-mono), monospace;letter-spacing:.09em;text-transform:uppercase;grid-template-columns:repeat(6,auto);justify-content:center;gap:10px 20px;padding:0 18px 42px;font-size:6px;display:grid}.duel-footer-note strong{color:#97938c;font-weight:520}.rotate-device-prompt{display:none}@media (max-width:760px){.duel-topbar{grid-template-columns:1fr auto;min-height:66px}.duel-mode-title{display:none}.duel-brand .site-brand-logo{width:102px}.duel-intro{grid-template-columns:1fr;gap:20px;padding-top:38px}.duel-intro h1{font-size:52px}.duel-intro>p{max-width:520px;font-size:11px}.duel-table{width:100%;min-width:0;padding:12px}.duel-board{padding:12px}.duel-mat{grid-template-rows:repeat(3,104px)}.duel-footer-note{grid-template-columns:repeat(2,auto)}}@media (max-width:1000px) and (orientation:landscape){.duel-topbar{min-height:52px}.duel-intro,.duel-footer-note{display:none}.duel-table{width:100%;min-width:0;padding:7px}.duel-board{padding:7px 9px 9px}.duel-player-label{min-height:36px;padding-bottom:5px}.duel-player-avatar{width:28px;height:28px}.duel-mat{grid-template-rows:repeat(3,74px);gap:5px}.duel-zone{padding:6px}.duel-zone-heading{padding-bottom:4px;font-size:5px}.duel-slot-row{gap:4px}.duel-single-slot img{width:38px}.duel-console{min-height:52px;margin-block:6px;padding:7px 10px}.duel-console button{min-height:32px}}@media (max-width:760px) and (orientation:portrait){.duel-shell.is-match-active .rotate-device-prompt{z-index:200;text-align:center;background:radial-gradient(circle,#f15b351a,#0000 38%),#090b0c;flex-direction:column;justify-content:center;align-items:center;padding:34px;display:flex;position:fixed;inset:0}.rotate-device-prompt>p{color:var(--orange);font-family:var(--font-geist-mono), monospace;letter-spacing:.14em;text-transform:uppercase;margin:28px 0 0;font-size:8px}.rotate-device-prompt h2{letter-spacing:-.055em;margin:12px 0 0;font-size:clamp(38px,12vw,56px);font-weight:580;line-height:.95}.rotate-device-prompt>span:last-child{color:#8c8982;max-width:300px;margin-top:18px;font-size:12px;line-height:1.65}.rotate-phone-mark{border:2px solid #eee7dab3;border-radius:13px;width:74px;height:116px;position:relative;transform:rotate(90deg)}.rotate-phone-mark:before{content:"";background:#eee7da73;border-radius:999px;width:22px;height:3px;position:absolute;top:7px;left:50%;transform:translate(-50%)}.rotate-phone-mark>span{border-right:2px solid var(--orange);border-bottom:2px solid var(--orange);border-radius:50%;width:42px;height:42px;position:absolute;bottom:-21px;right:-23px}.rotate-phone-mark>span:after{border-right:2px solid var(--orange);border-bottom:2px solid var(--orange);content:"";width:9px;height:9px;position:absolute;bottom:2px;right:-2px}}.preset-select{width:min(1180px,100% - 36px);margin:0 auto;padding:clamp(52px,8vw,104px) 0 70px}.preset-heading{gap:14px;max-width:760px;display:grid}.preset-heading>p,.preset-heading>h1,.preset-heading>span{margin:0}.preset-heading>p,.preset-option>div:last-child>span,.preset-option dt,.duel-log-heading span,.duel-hand-overlay header span,.selected-card-actions>div:first-child>span,.duel-choice-panel>div:first-child>span{color:var(--orange);font-family:var(--font-geist-mono), monospace;letter-spacing:.13em;text-transform:uppercase;font-size:7px}.preset-heading h1{letter-spacing:-.065em;font-size:clamp(52px,8vw,96px);font-weight:590;line-height:.92}.preset-heading>span{color:#96928b;max-width:680px;font-size:13px;line-height:1.75}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:42px;display:grid}.preset-option{background:linear-gradient(135deg,#ffffff06,#0000 58%),#0e1112;border:1px solid #eee7da26;grid-template-columns:minmax(150px,.72fr) minmax(0,1.2fr);gap:clamp(18px,3vw,34px);padding:clamp(18px,2.5vw,28px);display:grid;overflow:hidden}.preset-option.is-red{border-color:#ef3e8952}.preset-option.is-blue{border-color:#2fb5d64d}.preset-card-art{align-self:center}.preset-card-art img{object-fit:contain;border-radius:8px;width:100%;height:auto;max-height:400px;display:block;box-shadow:0 22px 40px #00000052}.preset-option>div:last-child{flex-direction:column;justify-content:center;min-width:0;display:flex}.preset-option.is-blue>div:last-child>span{color:#59c3d9}.preset-option h2{letter-spacing:-.045em;margin:10px 0 0;font-size:clamp(28px,3vw,44px);font-weight:570}.preset-option p{color:#89867f;margin:12px 0 0;font-size:11px;line-height:1.65}.preset-option dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:22px 0 0;display:grid}.preset-option dl>div{border:1px solid var(--line);min-width:0;padding:9px}.preset-option dt{color:#625f59;text-overflow:ellipsis;white-space:nowrap;font-size:5px;overflow:hidden}.preset-option dd{margin:6px 0 0;font-size:18px;font-weight:560}.preset-option button{width:max-content;min-height:40px;color:var(--paper);cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.1em;text-transform:uppercase;background:#f15b351a;border:1px solid #f15b3580;border-radius:999px;margin-top:22px;padding:0 17px;font-size:7px}.preset-option.is-blue button{background:#2fb5d617;border-color:#2fb5d685}.preset-deck-builder-link{color:#aaa69e;width:max-content;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;text-transform:uppercase;margin-top:18px;font-size:9px;display:inline-flex}.duel-card{outline-offset:-2px;width:100%;min-width:0;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;outline:2px solid #0000;place-items:center;padding:0;transition:outline-color .14s,box-shadow .14s,transform .14s;display:grid;position:relative;overflow:hidden}.duel-card-face{aspect-ratio:600/838;transform-origin:50%;width:auto;max-width:100%;height:100%;transition:transform .14s;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.duel-card-face>img{opacity:1;object-fit:contain;border-radius:5px;width:100%;height:100%;display:block}.card-rarity-overlay{z-index:2;opacity:.82;pointer-events:none;contain:strict;border-radius:5px;position:absolute;inset:0;overflow:hidden}.card-rarity-overlay:before,.card-rarity-overlay:after,.card-rarity-overlay>i{pointer-events:none;content:"";position:absolute}.card-rarity-overlay:before{border:2px solid var(--rarity-edge,#ffffff7a);box-shadow:inset 0 0 8px var(--rarity-glow,#ffffff24);border-radius:4px;inset:1px}.card-rarity-overlay:after{background:linear-gradient(110deg, transparent 38%, var(--rarity-sheen,#ffffff3d) 49%, transparent 60%);opacity:.72;inset:-45% -80%;transform:translate(-36%)rotate(8deg)}.card-rarity-overlay>i{border-radius:3px;display:block;inset:3px;overflow:hidden}.card-rarity-overlay.is-etched{--rarity-edge:#d8925abf;--rarity-glow:#ae5d2c38;--rarity-sheen:#ffd2a124}.card-rarity-overlay.is-etched>i{background:repeating-linear-gradient(135deg,#ffddbb12 0 1px,#0000 1px 7px),radial-gradient(circle,#0000 56%,#7737162e)}.card-rarity-overlay.is-silver-foil{--rarity-edge:#e1edf4eb;--rarity-glow:#b9deee4f;--rarity-sheen:#e5faff66}.card-rarity-overlay.is-silver-foil>i{background:linear-gradient(135deg,#0000 30%,#bddfef21,#0000 70%)}.card-rarity-overlay.is-gold-foil{--rarity-edge:#ffd657f5;--rarity-glow:#ffa82261;--rarity-sheen:#ffed9480}.card-rarity-overlay.is-gold-foil>i{background:radial-gradient(circle at 12% 14%,#fff1aa80 0 1px,#0000 2px) 0 0/24px 31px,radial-gradient(circle at 78% 32%,#ffda5f6b 0 1px,#0000 2px) 0 0/29px 37px,radial-gradient(circle at 36% 82%,#fff1aa7a 0 1px,#0000 2px) 0 0/33px 27px}.card-rarity-overlay.is-chakra-prism{--rarity-edge:#6de1fff0;--rarity-glow:#6370ff6b;--rarity-sheen:#ffffff7a;opacity:.88}.card-rarity-overlay.is-chakra-prism>i{background:conic-gradient(from 35deg,#0000,#3ad3ff30,#ae59ff2e,#ff61c224,#0000 62%);inset:-34%}.card-rarity-overlay.is-six-paths>i{background:radial-gradient(circle at 50% 46%,#0000 0 42%,#ff84231f 43% 45%,#0000 46%),radial-gradient(circle at 14% 18%,#ffde85d1 0 1px,#0000 2px) 0 0/27px 35px,radial-gradient(circle at 84% 26%,#ff8125b3 0 1.5px,#0000 2.5px) 0 0/34px 29px,radial-gradient(circle at 72% 84%,#ffdf86c2 0 1px,#0000 2px) 0 0/31px 39px}@keyframes rarity-sheen{0%,16%{transform:translate(-38%)rotate(8deg)}54%,to{transform:translate(38%)rotate(8deg)}}@keyframes rarity-prism{to{transform:rotate(360deg)}}@keyframes rarity-six-paths{0%,to{opacity:.52;transform:scale(.98)}50%{opacity:.96;transform:scale(1.02)}}:is(.duel-card-face:has(.is-silver-foil)>img,.duel-hover-preview-art:has(.is-silver-foil)>img){filter:grayscale()contrast(1.16)brightness(.94)}.card-rarity-overlay.is-silver-foil{--rarity-edge:#e0dccfdb;--rarity-glow:#14120f33;opacity:.94}.card-rarity-overlay.is-silver-foil>i{mix-blend-mode:multiply;background:repeating-radial-gradient(circle at 18% 27%,#26221c24 0 .6px,#0000 .8px 3px),linear-gradient(118deg,#0000 10%,#00000029 44%,#0000 48%),repeating-linear-gradient(8deg,#2d28220d 0 1px,#0000 1px 5px);inset:0}.card-rarity-overlay.is-silver-foil:after{aspect-ratio:1;opacity:.9;background:#ac161226;border:2px solid #bc1e18db;width:13%;inset:auto 5% 4% auto;transform:rotate(-4deg)}.card-rarity-overlay.is-gold-foil{--rarity-edge:#d3e1fff5;--rarity-glow:#7557ff8c;--rarity-sheen:#efe7ff94;opacity:.96}.card-rarity-overlay.is-gold-foil>i{filter:blur(.2px);background:radial-gradient(circle at 21% 19%,#fff 0 1px,#0000 2px) 0 0/23px 29px,radial-gradient(circle at 73% 29%,#b2defff2 0 1px,#0000 2.5px) 0 0/31px 37px,radial-gradient(circle at 37% 77%,#ffd3ffe6 0 1.5px,#0000 3px) 0 0/41px 33px,radial-gradient(#7a5cff4d,#0000 56%),conic-gradient(#0000,#bedaff2e,#0000 34%,#ffb0f726,#0000 68%);inset:-18%}.card-rarity-overlay.is-six-paths{--rarity-edge:#eef7ff;--rarity-glow:#bce0ff9e;--rarity-sheen:#ffffffad;opacity:.96}.card-rarity-overlay.is-six-paths>i{filter:drop-shadow(0 0 4px #cceaffeb);background:linear-gradient(118deg,#0000 0 44%,#ffffffb8 45% 46%,#0000 47% 100%),linear-gradient(62deg,#0000 0 55%,#cce8ff9e 56% 57%,#0000 58% 100%),repeating-linear-gradient(133deg,#0000 0 17px,#e1f2ff40 18px 19px,#0000 20px 34px);inset:0}@keyframes rarity-sumi-paper{0%,to{opacity:.72;transform:translate(0,0)}50%{opacity:.9;transform:translate(-1.5%,1%)}}@keyframes rarity-quasar{to{transform:rotate(360deg)scale(1.04)}}@keyframes rarity-chidori{0%,to{opacity:.62;transform:translate(-3%)}24%{opacity:1;transform:translate(2%)translateY(-1%)}52%{opacity:.76;transform:translate(-1%)translateY(2%)}78%{opacity:.96;transform:translate(3%)}}@media (prefers-reduced-motion:no-preference){.card-rarity-overlay.is-etched:after{animation:4.8s linear infinite rarity-sheen}.card-rarity-overlay.is-silver-foil>i{animation:6s ease-in-out infinite rarity-sumi-paper}.card-rarity-overlay.is-gold-foil:after{animation:3.2s linear infinite rarity-sheen}.card-rarity-overlay.is-gold-foil>i{animation:8s linear infinite rarity-quasar}.card-rarity-overlay.is-chakra-prism:after{animation:3.5s linear infinite rarity-sheen}.card-rarity-overlay.is-chakra-prism>i{animation:5s linear infinite rarity-prism}.card-rarity-overlay.is-six-paths:after{animation:2.1s linear infinite rarity-sheen}.card-rarity-overlay.is-six-paths>i{animation:1.35s steps(4,end) infinite rarity-chidori}}@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.duel-card:is(:hover,:focus-visible,.is-selected,.is-attacking) .card-rarity-overlay:is(.is-silver-foil,.is-gold-foil,.is-chakra-prism,.is-six-paths):after{animation:3.2s linear infinite rarity-sheen}.duel-card:is(:hover,:focus-visible,.is-selected,.is-attacking) .card-rarity-overlay.is-chakra-prism>i{animation:5s linear infinite rarity-prism}.duel-card:is(:hover,:focus-visible,.is-selected,.is-attacking) .card-rarity-overlay.is-six-paths>i{animation:1.35s steps(4,end) infinite rarity-chidori}}.duel-card.is-rested .duel-card-face{transform:translate(-50%)rotate(90deg)scale(.78)}.duel-card.is-selected{outline-color:var(--orange);box-shadow:inset 0 0 0 1px #f15b3561}.is-opponent .duel-card.is-selected{outline-color:#59c3d9}.duel-card.is-choice-candidate{outline-color:#e9ca6b;box-shadow:0 0 0 1px #e9ca6b61}.duel-card.is-actionable-response:not(.is-choice-candidate){background:#2e9ede24;outline-color:#65c9ff;box-shadow:0 0 0 2px #65c9ff85,0 0 18px #2e9ede6b,inset 0 0 18px #47b5f429}@media (prefers-reduced-motion:no-preference){.duel-card.is-actionable-response:not(.is-choice-candidate){animation:1.8s ease-in-out infinite duel-response-option}}@keyframes duel-response-option{0%,to{filter:brightness()}50%{filter:brightness(1.18)}}.duel-card.is-choice-selected{outline-color:#74d89c;box-shadow:0 0 16px #55cf8947}.duel-card.is-attacking{animation:.56s ease-out duel-card-attacking}.duel-card.is-being-attacked{animation:.52s ease-out duel-card-attacked}@keyframes duel-card-attacking{0%,to{box-shadow:none;background:0 0;transform:translate(0)rotate(0)}18%{background:#eeca4a33;transform:translate(-3px)rotate(-1.5deg);box-shadow:inset 0 0 0 2px #f7d652e0}36%{transform:translate(4px)rotate(1.8deg)}54%{background:#eeca4a1f;transform:translate(-2px)rotate(-.8deg)}72%{transform:translate(2px)rotate(.7deg)}}@keyframes duel-card-attacked{0%,to{box-shadow:none;background:0 0}24%,62%{background:#dd3e373d;box-shadow:inset 0 0 0 3px #ef4c42e6}43%{background:#77111021;box-shadow:inset 0 0 0 1px #ef4c4280}}.duel-card-set-mark,.duel-card-damage,.duel-card-stat{z-index:3;color:var(--paper);font-family:var(--font-geist-mono), monospace;text-transform:uppercase;background:#07090ae6;border-radius:999px;place-items:center;font-size:7px;display:grid;position:absolute}.duel-card-stat{box-sizing:border-box;background:#050708e6;border:1px solid #ffffff3d;border-radius:5px;grid-template-rows:minmax(0,.72fr) minmax(0,1.28fr);min-width:36px;min-height:34px;padding:3px 6px;line-height:1}.duel-card-stat-label{color:#bbb7af;letter-spacing:.08em;align-self:start;font-size:5px;line-height:1}.duel-card-stat-value{color:#fff;align-self:center;margin-top:2px;font-size:13px;line-height:1}.duel-card-stat.is-damage{border-color:#eb5752a3;top:5px;left:5px}.duel-card-stat.is-power{border-color:#54bcdd9e;top:5px;right:5px}.duel-card-stat.is-hp{border-color:#5dca85a3;bottom:5px;right:5px}.duel-card-set-mark{padding:5px 7px;bottom:5px;left:5px}.duel-card-damage{background:#be3e39;width:28px;height:28px;font-size:10px;font-weight:700;bottom:5px;left:5px}.duel-card.is-known-set .duel-card-damage{left:42px}.duel-single-slot>.duel-card,.duel-card-slot>.duel-card{width:100%;height:100%;position:absolute;inset:0}.duel-hover-preview{display:none}@media (hover:hover) and (pointer:fine){.duel-hover-preview{z-index:90;opacity:0;pointer-events:none;visibility:hidden;contain:layout paint;background:#080a0b;border:1px solid #eee7da38;gap:0;width:clamp(250px,20vw,320px);max-height:calc(100dvh - 24px);transition:opacity .16s,transform .18s,visibility 0s linear .18s;display:grid;position:fixed;top:50%;left:clamp(10px,1.5vw,28px);overflow:hidden;transform:translate(-10px,-50%);box-shadow:0 20px 50px #0000007a}.duel-hover-preview.is-visible{opacity:1;visibility:visible;transition-delay:0s;transform:translateY(-50%)}.duel-hover-preview-art{background:#101415;place-items:center;max-height:min(49dvh,430px);padding:8px;display:grid;position:relative}.duel-hover-preview-art .card-rarity-overlay{inset:8px}.duel-hover-preview-art img{object-fit:contain;border-radius:6px;width:100%;height:100%;max-height:min(47dvh,414px);display:block}.duel-hover-preview-info{background:#0b0e0f;border-top:1px solid #eee7da29;gap:7px;min-width:0;padding:10px 12px 12px;display:grid}.duel-hover-preview-info>strong{color:#fff;font-size:15px;font-weight:600}.duel-hover-preview-stats{flex-wrap:wrap;gap:5px;display:flex}.duel-hover-preview-stats span{color:#aaa69f;font-family:var(--font-geist-mono), monospace;text-transform:uppercase;border:1px solid #eee7da24;padding:5px 7px;font-size:9px}.duel-hover-preview-stats b{color:#fff;margin-left:4px;font-size:13px}.duel-hover-preview-types,.duel-hover-preview-text{margin:0;font-size:11px;line-height:1.45}.duel-hover-preview-types{color:#6fe29b;font-family:var(--font-geist-mono), monospace}.duel-hover-preview-text{color:#fff;-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}.duel-life b{color:var(--paper);font-size:clamp(17px,2.3dvh,22px)}.duel-turn-phase{flex-direction:column;gap:4px;display:flex}.duel-turn-phase strong{text-transform:capitalize}.duel-console-actions,.selected-card-buttons,.duel-choice-options,.duel-choice-buttons{scrollbar-width:thin;justify-content:flex-end;align-items:center;gap:7px;min-width:0;display:flex;overflow-x:auto}.duel-choice-card-controls{justify-content:space-between;align-items:center;gap:16px;min-width:0;display:flex}.duel-choice-buttons{flex:none}.duel-console-actions button,.selected-card-actions button,.duel-choice-panel button{min-height:34px;color:var(--paper);cursor:pointer;font-family:var(--font-geist-mono), monospace;letter-spacing:.07em;text-transform:uppercase;background:#f15b3512;border:1px solid #f15b3561;border-radius:999px;flex:none;padding:0 12px;font-size:10px}.selected-card-actions,.duel-choice-panel{background:#0b0e0f;border:1px solid #eee7da1f;grid-template-columns:minmax(130px,.36fr) minmax(0,1.64fr);align-items:center;gap:10px;height:100%;min-height:0;margin:0;padding:5px 8px;display:grid;overflow:hidden}.selected-card-heading,.duel-choice-panel>div:first-child{flex-direction:column;gap:3px;min-width:0;display:flex}.selected-card-heading strong,.duel-choice-panel strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:560;overflow:hidden}.selected-card-heading>small,.selected-card-buttons>span,.duel-choice-panel>small{color:#74716b;font-family:var(--font-geist-mono), monospace;font-size:9px}.selected-card-heading>small{text-transform:capitalize}.selected-card-clear{width:max-content;margin-top:1px}.selected-card-detail{gap:4px;min-width:0;display:grid}.selected-card-statline{flex-wrap:wrap;gap:4px;display:flex}.selected-card-statline>span{color:#fff;border:1px solid #eee7da1f;align-items:baseline;gap:5px;min-width:54px;padding:3px 6px;display:flex}.selected-card-statline small{color:#aaa69f;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;text-transform:uppercase;font-size:7px}.selected-card-statline b{color:#fff;font-size:13px}.selected-card-types,.selected-card-text{margin:0;font-size:10px;line-height:1.35}.selected-card-types{color:#6fe29b;font-family:var(--font-geist-mono), monospace;letter-spacing:.04em;font-size:9px}.selected-card-text{color:#fff;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.selected-card-buttons{justify-content:flex-start;padding-top:2px}.duel-choice-panel{border-color:#e9ca6b52}.duel-choice-panel button:disabled{cursor:not-allowed;opacity:.4}.mobile-log-toggle{display:none}.duel-log{background:#0b0e0f;border:1px solid #eee7da24;grid-template-rows:auto minmax(0,1fr) auto;align-items:stretch;gap:10px;width:auto;height:100%;min-height:0;max-height:none;margin:0;padding:12px 10px;display:grid;position:relative;top:auto;overflow:hidden}.duel-log-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.duel-log-heading>div{flex-direction:column;gap:5px;display:flex}.duel-log-heading strong{font-size:15px;font-weight:560}.duel-log-heading-actions{flex:none;align-items:center;flex-direction:row!important;gap:5px!important;display:flex!important}.duel-log-clear{color:#d8d2ca;cursor:pointer;min-height:28px;font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;text-transform:uppercase;background:#f15b3514;border:1px solid #f15b356b;border-radius:999px;padding:0 9px;font-size:7px}.duel-log-clear:disabled{cursor:default;opacity:.35}.duel-log-close{display:none}.duel-log ol{scrollbar-width:thin;scrollbar-gutter:stable;overscroll-behavior:contain;align-content:start;gap:4px;height:100%;min-height:0;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.duel-log li{background:#ffffff06;grid-template-columns:34px minmax(0,1fr);gap:8px;padding:8px;display:grid}.duel-log li>span{color:#66625c;font-family:var(--font-geist-mono), monospace;font-size:8px}.duel-log li p{color:#b0aca4;margin:0;font-size:11px;line-height:1.5}.duel-log li p.is-system{color:#efd36f}.duel-log-card-name{font-weight:650}.duel-log-card-name.is-character{color:#7ce8a6}.duel-log-card-name.is-support{color:#76dcf2}.duel-log-preset,.duel-log-close{border:1px solid var(--line);color:#aaa69f;cursor:pointer;min-height:38px;font-family:var(--font-geist-mono), monospace;text-transform:uppercase;background:0 0;border-radius:999px;padding:0 12px;font-size:8px}.duel-action-bubbles{display:none}.duel-target-trails{z-index:142;pointer-events:none;width:100vw;height:100dvh;position:fixed;inset:0;overflow:visible}.duel-target-trails marker path{fill:#fff}.duel-target-trails #duel-target-arrow-blue path{fill:#5fc7ff}.duel-target-trails g.is-blue .duel-target-trail-glow{stroke:#3fb2ff52}.duel-target-trails g.is-blue .duel-target-trail-line{stroke:#5fc7fffa}.duel-target-trail-glow,.duel-target-trail-line{fill:none;stroke-linecap:round;stroke-linejoin:round}.duel-target-trail-glow{stroke:#fff3;stroke-width:10px}.duel-target-trail-line{stroke:#fffffff2;stroke-width:2.5px;stroke-dasharray:9 7;animation:.72s linear infinite duel-target-flow}.duel-match-end-banner{top:50%;right:calc(var(--duel-log-width) + 14px);z-index:165;color:#170d08;pointer-events:none;text-align:center;background:linear-gradient(90deg,#0000,#ff6f1ef5 18%,#ff8f39fa 50%,#ff6f1ef5 82%,#0000);border-block:1px solid #ffd3acc7;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:clamp(78px,12dvh,118px);animation:.68s cubic-bezier(.16,1,.3,1) both duel-winner-banner;display:flex;position:fixed;left:8px;transform:translateY(-50%)}.duel-turn-cut-in{top:50%;right:calc(var(--duel-log-width) + 14px);z-index:164;color:#170d08;pointer-events:none;background:linear-gradient(90deg,#0000,#ff6f1ef0 18%,#ff8f39fa 50%,#ff6f1ef0 82%,#0000);border-block:1px solid #ffd3acc7;place-items:center;min-height:clamp(64px,10dvh,92px);animation:4s cubic-bezier(.16,1,.3,1) both duel-turn-banner;display:grid;position:fixed;left:8px;transform:translateY(-50%)}.duel-turn-cut-in strong{letter-spacing:-.035em;font-size:clamp(24px,3.2vw,48px)}.duel-mulligan-prompt{z-index:175;background:#090c0df7;border:1px solid #ff8447b8;border-radius:14px;flex-direction:column;gap:8px;width:min(390px,100vw - 28px);padding:20px;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 22px 70px #000000a3,0 0 28px #f15b352e}.duel-mulligan-prompt>span{color:var(--orange);font:700 8px var(--font-geist-mono), monospace;letter-spacing:.14em;text-transform:uppercase}.duel-mulligan-prompt>strong{font-size:22px}.duel-mulligan-prompt>small{color:#aaa69e;font-size:11px}.duel-mulligan-prompt>div{gap:8px;margin-top:6px;display:flex}.duel-mulligan-prompt button,.duel-card-context-actions button{color:#fff;font:700 8px var(--font-geist-mono), monospace;text-transform:uppercase;background:#f15b3521;border:1px solid #ff844794;border-radius:999px;padding:8px 11px}.duel-card-context-actions{display:none}.duel-match-end-banner span{font-family:var(--font-geist-mono), monospace;letter-spacing:.16em;text-transform:uppercase;font-size:clamp(9px,1.1vw,14px);font-weight:800}.duel-match-end-banner strong{letter-spacing:-.04em;font-size:clamp(28px,4vw,58px);font-weight:780;line-height:.95}.duel-ryo-reward{font-family:var(--font-geist-mono), monospace;letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:8px;margin-top:4px;font-size:clamp(12px,1.35vw,18px);font-weight:850;display:flex}.duel-ryo-reward i{border:2px solid #3b1909;border-radius:50%;place-items:center;width:26px;height:26px;font-style:normal;display:grid;box-shadow:0 0 18px #ffe8b1b8}.duel-ryo-reward small{opacity:.72;letter-spacing:.04em;font-size:.62em}@media (prefers-reduced-motion:no-preference){.duel-ryo-reward{animation:.76s cubic-bezier(.16,1,.3,1) .48s both duel-ryo-earned}.duel-ryo-reward i{animation:1.2s ease-out .52s both duel-ryo-coin}}@keyframes duel-ryo-earned{0%{opacity:0;transform:translateY(18px)scale(.9)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes duel-ryo-coin{0%{transform:rotateY(0)scale(.6)}70%{transform:rotateY(540deg)scale(1.18)}to{transform:rotateY(720deg)scale(1)}}@keyframes duel-target-flow{to{stroke-dashoffset:-32px}}@keyframes duel-target-recent{0%,72%{opacity:1}to{opacity:0}}@keyframes duel-turn-banner{0%{opacity:0;transform:translateY(-50%)scaleX(.42)}12%,78%{opacity:1;transform:translateY(-50%)scaleX(1)}to{opacity:0;transform:translateY(-50%)scaleX(.7)}}@keyframes duel-winner-banner{0%{opacity:0;transform:translateY(-50%)scaleX(.42)}to{opacity:1;transform:translateY(-50%)scaleX(1)}}.duel-zone-viewer{z-index:180;min-width:0;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));isolation:isolate;place-items:center;display:grid;position:fixed;inset:0}.duel-zone-viewer-backdrop{z-index:-1;cursor:default;background:#050708f5;border:0;position:absolute;inset:0}.duel-zone-viewer>section{contain:layout paint;background:#0b0e0f;border:1px solid #eee7da33;grid-template-rows:auto minmax(0,1fr) auto;width:min(860px,100%);min-height:0;max-height:min(76dvh,690px);display:grid;overflow:hidden;box-shadow:0 24px 60px #0000007a}.duel-zone-viewer>section>header,.duel-zone-viewer>section>footer{border-bottom:1px solid #eee7da1f;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.duel-zone-viewer>section>footer{border-top:1px solid #eee7da1f;border-bottom:0}.duel-zone-viewer header>div{min-width:0}.duel-zone-viewer header span{color:var(--orange);font-family:var(--font-geist-mono), monospace;letter-spacing:.13em;text-transform:uppercase;font-size:7px}.duel-zone-viewer h2,.duel-zone-viewer header p{margin:0}.duel-zone-viewer h2{margin-top:4px;font-size:clamp(20px,3vw,32px);font-weight:570}.duel-zone-viewer header p,.duel-zone-viewer footer>span{color:#99958e;margin-top:4px;font-size:10px;line-height:1.45}.duel-zone-viewer header button,.duel-zone-viewer footer button{min-height:36px;color:var(--paper);cursor:pointer;font-family:var(--font-geist-mono), monospace;text-transform:uppercase;background:#f15b3514;border:1px solid #f15b3573;border-radius:999px;flex:none;padding:0 13px;font-size:8px}.duel-zone-viewer footer button:disabled{cursor:not-allowed;opacity:.42}.duel-zone-viewer-grid{overscroll-behavior:contain;scrollbar-gutter:stable;grid-template-columns:repeat(auto-fill,minmax(86px,124px));place-content:start center;gap:10px;min-height:0;padding:14px;display:grid;overflow-y:auto}.duel-zone-viewer-grid article{gap:5px;min-width:0;display:grid}.duel-zone-viewer-grid article>.duel-card{aspect-ratio:170/215;width:100%;height:auto}.duel-zone-viewer-grid article>span{color:#b7b2aa;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.3;overflow:hidden}.duel-zone-viewer-empty{color:#8c8982;text-align:center;grid-column:1/-1;margin:0;padding:32px}.has-zone-viewer .duel-console button.is-attention{animation-play-state:paused}.duel-notice{z-index:80;color:#edb0a8;background:#171010;border:1px solid #de5b4e73;max-width:min(380px,100vw - 36px);margin:0;padding:11px 14px;font-size:10px;line-height:1.5;position:fixed;bottom:82px;right:300px}.duel-hand-overlay{--hand-card-width:clamp(110px, 14dvh, 142px);--hand-card-height:calc(var(--hand-card-width) * 1.26471);z-index:100;height:clamp(120px,20dvh,190px);min-height:0;box-shadow:none;opacity:1;pointer-events:none;contain:layout paint;background:0 0;border:0;padding:0;transition:transform .22s,opacity .18s;position:absolute;bottom:-20px;left:2%;right:28%;transform:translateY(22px)}@keyframes duel-hand-idle-fade{0%,72%{opacity:1}to{opacity:.5}}@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.duel-hand-overlay:not(:hover):not(:focus-within){animation:4s forwards duel-hand-idle-fade}.duel-hand-overlay:hover,.duel-hand-overlay:focus-within{animation:none}}.duel-hand-overlay:hover,.duel-hand-overlay:focus-within,.duel-hand-overlay.is-open{opacity:1;transform:translateY(0)}.duel-hand-overlay header{z-index:40;pointer-events:auto;background:#0b0e0ff0;border:1px solid #f15b354d;justify-content:space-between;align-items:center;gap:10px;min-height:0;padding:5px 7px;display:flex;position:absolute;top:12px;left:4px}.duel-hand-overlay header>div{flex-direction:column;gap:2px;display:flex}.duel-hand-overlay header strong{font-size:13px;font-weight:550}.duel-hand-overlay header button{border:1px solid var(--line);color:#aaa69f;cursor:pointer;min-height:28px;font-family:var(--font-geist-mono), monospace;text-transform:uppercase;background:0 0;border-radius:999px;padding:0 9px;font-size:7px}.duel-hand-cards{pointer-events:none;min-height:0;position:absolute;inset:0;overflow:visible}.duel-hand-card-shell{z-index:var(--hand-layer);width:var(--hand-card-width);height:var(--hand-card-height);opacity:.96;pointer-events:auto;transform:translateX(calc(-50% + var(--hand-idle-x))) translateY(var(--hand-fan-offset)) rotate(var(--hand-fan-angle));transform-origin:50% 100%;transition:transform .18s,opacity .18s;display:block;position:absolute;bottom:0;left:50%}.duel-hand-overlay:hover .duel-hand-card-shell,.duel-hand-overlay:focus-within .duel-hand-card-shell,.duel-hand-overlay.is-open .duel-hand-card-shell{transform:translateX(calc(-50% + var(--hand-open-x))) translateY(var(--hand-fan-offset)) rotate(var(--hand-fan-angle))}.duel-hand-card-shell:hover,.duel-hand-card-shell:focus-within{z-index:50;opacity:1;transform:translateX(calc(-50% + var(--hand-open-x))) translateY(-24px) rotate(0deg) scale(1.08)}.duel-hand-card-shell .duel-card{width:var(--hand-card-width);height:var(--hand-card-height);background:#111516}.duel-hand-card-shell[draggable=true]{cursor:grab}.duel-hand-card-shell[draggable=true]:active{cursor:grabbing}.duel-hand-card-shell .duel-card-stat{display:none}.duel-hand-empty{color:#8c8982;text-align:center;margin:0;font-size:12px;position:absolute;bottom:26px;left:0;right:0}@media (min-width:1001px){.duel-board.is-opponent .duel-mat{grid-template-areas:"chakra summon exclusion""support leader trash""characters.deck"}.duel-shell.is-match-active{--duel-control-height:clamp(108px, 13dvh, 128px)}.duel-slot-row{box-sizing:border-box;padding-left:var(--duel-card-width);justify-content:center;align-items:center}.duel-zone-characters .duel-slot-row.has-character-overflow{grid-template-columns:repeat(5, var(--duel-card-width));width:100%;position:relative}.duel-zone-characters .has-character-overflow .duel-card-slot{width:var(--duel-card-width);height:var(--duel-card-height)}.duel-zone-characters .has-character-overflow .duel-card-slot.is-field-overflow{z-index:calc(12 + var(--field-edge-index));border:0;position:absolute;top:50%;transform:translateY(-50%)}.duel-zone-characters .has-character-overflow .duel-card-slot.is-field-left{left:calc(50% - (3 * var(--duel-card-width)) - (3 * var(--duel-slot-gap)) - (var(--field-edge-index) * (var(--duel-card-width) + var(--duel-slot-gap))))}.duel-zone-characters .has-character-overflow .duel-card-slot.is-field-right{right:auto;left:calc(50% + (3 * var(--duel-card-width)) + (3 * var(--duel-slot-gap)) + (var(--field-edge-index) * (var(--duel-card-width) + var(--duel-slot-gap))))}.duel-card-context-actions{z-index:145;pointer-events:none;display:block;position:fixed;inset:0}.duel-card-context-actions>div{left:var(--context-left);pointer-events:auto;flex-wrap:wrap;justify-content:center;gap:4px;max-width:min(480px,42vw);display:flex;position:fixed;transform:translate(-50%)}.duel-card-context-actions .is-above{top:var(--context-top);transform:translate(-50%,calc(-100% - 5px))}.duel-card-context-actions .is-below{top:var(--context-bottom);transform:translate(-50%,5px)}.duel-card-context-actions button{background:#090c0df5;padding:clamp(5px,.6vw,8px) clamp(7px,.8vw,11px);box-shadow:0 5px 18px #00000080}.selected-card-actions,.duel-choice-panel{scrollbar-width:none;align-items:start;padding-block:8px;overflow-y:auto}.selected-card-actions::-webkit-scrollbar{width:0;height:0}.duel-choice-panel::-webkit-scrollbar{width:0;height:0}.selected-card-buttons{flex-wrap:wrap;overflow-x:visible}.duel-card-stat{width:var(--duel-stat-width);height:var(--duel-stat-height);min-width:0;min-height:0;padding:var(--duel-stat-pad-block) var(--duel-stat-pad-inline)}.duel-card-stat-label{font-size:var(--duel-stat-label-size)}.duel-card-stat-value{margin-top:clamp(1px, calc(var(--duel-card-width) * .02), 2px);font-size:var(--duel-stat-value-size)}.duel-card-stat.is-damage,.duel-card-stat.is-power{top:var(--duel-stat-edge)}.duel-card-stat.is-damage{left:var(--duel-stat-edge)}.duel-card-stat.is-power,.duel-card-stat.is-hp{right:var(--duel-stat-edge)}.duel-card-stat.is-hp{bottom:var(--duel-stat-edge)}.duel-hand-overlay{--hand-card-width:clamp(121px, 15.4dvh, 156px);width:min(76vw,1100px);height:clamp(132px,22dvh,209px);position:fixed;bottom:-20px;left:50%;right:auto;transform:translate(-50%,22px)}.duel-hand-overlay:hover,.duel-hand-overlay:focus-within,.duel-hand-overlay.is-open{transform:translate(-50%)}.duel-action-bubbles{top:calc(var(--duel-topbar-height) + 10px);left:calc((100vw - var(--duel-log-width)) / 2);z-index:145;width:min(380px, calc(100vw - var(--duel-log-width) - 32px));pointer-events:none;gap:6px;display:grid;position:fixed;transform:translate(-50%)}.duel-action-bubble{background:#0b0e0ff5;border:1px solid #eee7da2e;padding:9px 12px;animation:7.7s both duel-action-bubble}.duel-action-bubble[data-event-type=ATTACK_DECLARED],.duel-action-bubble[data-event-type=ATTACK_INTERRUPTED]{animation-duration:10.5s}.duel-action-bubble p{color:#e8e3db;margin:0;font-size:11px;line-height:1.45}.duel-action-bubble p.is-system{color:#efd36f}}@keyframes duel-action-bubble{0%{opacity:0;transform:translateY(-7px)}7%,82%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.duel-card-context-actions button.is-attack-action,.selected-card-actions button.is-attack-action{color:#ffd8c8;background:#f15b352e;border-color:#ff7742b8}.duel-card-context-actions button.is-effect-action,.selected-card-actions button.is-effect-action{color:#f2f8ff;background:#1f6fc675;border-color:#4fa9ffd6;box-shadow:0 0 14px #2f97ff33}@media (max-width:1000px){.duel-play-layout{padding:0;display:block}.duel-console .mobile-log-toggle{align-items:center;display:inline-flex}.duel-log{top:max(6px, env(safe-area-inset-top));right:max(6px, env(safe-area-inset-right));bottom:max(6px, env(safe-area-inset-bottom));z-index:150;opacity:0;pointer-events:none;visibility:hidden;width:min(330px,100vw - 12px);height:auto;max-height:none;transition:transform .18s,opacity .18s,visibility .18s;position:fixed;transform:translate(18px)}.duel-log.is-open{opacity:1;pointer-events:auto;visibility:visible;transform:translate(0)}.duel-log-close{display:block}.duel-match-end-banner{left:5px;right:5px}.duel-zone-characters .has-character-overflow .is-carousel-hidden{display:none}.duel-zone-characters .duel-character-carousel-next{z-index:28;aspect-ratio:1;color:#0000;cursor:pointer;background:#0c0e0fe6;border:1px solid #ff9d52cc;border-radius:50%;place-items:center;width:clamp(24px,4.5vw,34px);padding:0;font-size:0;display:grid;position:absolute;top:50%;right:3px;transform:translateY(-50%);box-shadow:0 0 14px #ff772359}.duel-zone-characters .duel-character-carousel-next:before{color:#fff;content:"›";font-family:Arial,sans-serif;font-size:21px;line-height:1}.duel-notice{bottom:12px;right:12px}.duel-hand-overlay{--hand-card-width:clamp(82px, 13dvh, 118px);opacity:1;pointer-events:none;visibility:visible;width:auto;height:clamp(108px,20dvh,160px);position:absolute;bottom:-16px;left:2%;right:20%;transform:translateY(18px)}.duel-zone-viewer{padding:max(6px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));place-items:end center}.duel-zone-viewer>section{width:100%;max-height:calc(100dvh - max(12px, env(safe-area-inset-top)))}.duel-zone-viewer>section>header,.duel-zone-viewer>section>footer{padding:8px 10px}.duel-zone-viewer h2{font-size:18px}.duel-zone-viewer header p,.duel-zone-viewer footer>span{font-size:8px}.duel-zone-viewer-grid{grid-template-columns:repeat(auto-fill,minmax(62px,88px));gap:7px;padding:9px}.duel-zone-viewer-grid .duel-card-stat{display:none}.duel-hand-overlay.is-open{opacity:1;visibility:visible;transform:translateY(0)}.duel-hand-card-shell{opacity:1;transform:translateX(calc(-50% + var(--hand-mobile-x))) translateY(var(--hand-fan-offset)) rotate(var(--hand-fan-angle))}.duel-hand-overlay:hover .duel-hand-card-shell,.duel-hand-overlay:focus-within .duel-hand-card-shell,.duel-hand-overlay.is-open .duel-hand-card-shell{transform:translateX(calc(-50% + var(--hand-mobile-x))) translateY(var(--hand-fan-offset)) rotate(var(--hand-fan-angle))}.duel-hand-card-shell:hover,.duel-hand-card-shell:focus-within{transform:translateX(calc(-50% + var(--hand-mobile-x))) translateY(-18px) rotate(0deg) scale(1.06)}.preset-grid{grid-template-columns:1fr}.preset-option{min-height:310px}}@media (max-width:620px){.preset-select{width:min(100% - 24px,520px);padding-top:44px}.preset-heading h1{font-size:52px}.preset-option{grid-template-columns:112px minmax(0,1fr);min-height:0;padding:14px}.preset-card-art img{max-height:240px}.preset-option dl{grid-template-columns:repeat(2,minmax(0,1fr))}.preset-option dl>div:last-child{display:none}.duel-log{grid-template-columns:1fr}}@media (max-width:1000px) and (orientation:landscape){.duel-shell.is-match-active .duel-topbar{display:none}.duel-shell.is-match-active .duel-table{width:100%;min-width:0;padding:0 3px}.duel-shell.is-match-active .duel-board{padding:3px 6px}.duel-shell.is-match-active .duel-player-label{min-height:34px;padding-bottom:3px}.duel-shell.is-match-active .duel-opponent-hand-count{padding:3px 5px}.duel-shell.is-match-active .duel-mat{--duel-card-width:min(126px, calc((100cqw - 56px) / 7));--duel-card-height:calc(var(--duel-card-width) * 1.26471);--duel-row-height:calc(var(--duel-card-height) + 16px);grid-template-columns:minmax(0, 1fr) repeat(2, calc(var(--duel-card-width) + 6px));grid-template-rows:repeat(3, var(--duel-row-height));gap:3px}.duel-shell.is-match-active .duel-zone-heading{height:10px;padding-bottom:1px;font-size:5px}.duel-shell.is-match-active .duel-slot-row{grid-template-columns:repeat(5, minmax(0, var(--duel-card-width)));gap:3px}.duel-shell.is-match-active .duel-zone-characters .duel-slot-row.has-character-overflow{grid-template-columns:repeat(5, var(--duel-card-width))}.duel-shell.is-match-active .duel-card-slot{width:var(--duel-card-width);height:var(--duel-card-height);align-self:center}.duel-shell.is-match-active .duel-single-slot{width:var(--duel-card-width);height:var(--duel-card-height);min-height:var(--duel-card-height);flex:0 0 var(--duel-card-height)}.duel-shell.is-match-active .duel-card-stat{border-radius:2px;min-width:22%;min-height:17%;padding:1px 2px}.duel-shell.is-match-active .duel-card-stat small{display:none}.duel-shell.is-match-active .duel-card-stat b{margin:0;font-size:6px}.duel-shell.is-match-active .duel-card-stat.is-damage,.duel-shell.is-match-active .duel-card-stat.is-power{top:1px}.duel-shell.is-match-active .duel-card-stat.is-damage,.duel-shell.is-match-active .duel-card-set-mark,.duel-shell.is-match-active .duel-card-damage{left:1px}.duel-shell.is-match-active .duel-card-stat.is-power,.duel-shell.is-match-active .duel-card-stat.is-hp{right:1px}.duel-shell.is-match-active .duel-card-stat.is-hp,.duel-shell.is-match-active .duel-card-set-mark,.duel-shell.is-match-active .duel-card-damage{bottom:1px}.duel-shell.is-match-active .duel-card-set-mark{padding:2px 3px;font-size:4px}.duel-shell.is-match-active .duel-card-damage{width:13px;height:13px;font-size:5px}.duel-shell.is-match-active .duel-console{grid-template-columns:60px minmax(140px,.7fr) minmax(0,1.5fr);gap:8px;min-height:44px;margin-block:2px;padding:3px 6px}.duel-shell.is-match-active .duel-choice-panel{grid-template-columns:130px minmax(0,1fr);min-height:32px;margin:2px 6px;padding:3px 6px}.duel-shell.is-match-active .selected-card-actions{right:max(5px, env(safe-area-inset-right));bottom:max(5px, env(safe-area-inset-bottom));left:max(5px, env(safe-area-inset-left));z-index:95;grid-template-columns:112px minmax(0,1fr);max-height:min(190px,100dvh - 12px);margin:0;padding:8px;position:fixed;overflow-y:auto;box-shadow:0 14px 38px #00000094}.duel-shell.is-match-active .selected-card-heading{gap:4px}.duel-shell.is-match-active .selected-card-heading strong{white-space:normal;font-size:11px}.duel-shell.is-match-active .selected-card-heading>small,.duel-shell.is-match-active .selected-card-buttons>span,.duel-shell.is-match-active .selected-card-text{font-size:7px}.duel-shell.is-match-active .selected-card-detail{gap:4px}.duel-shell.is-match-active .selected-card-statline>span{gap:4px;min-width:48px;padding:3px 5px}.duel-shell.is-match-active .selected-card-statline small,.duel-shell.is-match-active .selected-card-types{font-size:6px}.duel-shell.is-match-active .selected-card-statline b{font-size:10px}.duel-shell.is-match-active .duel-hand-overlay{width:min(620px,100vw - 18px);padding:7px}.duel-shell.is-match-active .duel-hand-card-shell{flex-basis:48px;grid-template-rows:68px;width:48px}.duel-shell.is-match-active .duel-hand-cards .duel-card{flex-basis:48px;width:48px;height:68px}.duel-shell.is-match-active .duel-hand-overlay header{padding-bottom:5px}.duel-shell.is-match-active{--duel-control-height:clamp(40px, 11dvh, 48px);--duel-topbar-height:0px}.duel-shell.is-match-active .duel-play-layout{height:100dvh;padding:1px max(4px, env(safe-area-inset-right)) 1px max(4px, env(safe-area-inset-left));display:block}.duel-shell.is-match-active .duel-table{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:var(--duel-control-height) minmax(0, 1fr);gap:2px;width:100%;height:100%;padding:1px;display:grid}.duel-shell.is-match-active .duel-table>.duel-board{grid-area:2/1}.duel-shell.is-match-active .duel-field-controls{grid-area:1/1/auto/-1;grid-template-columns:minmax(0,1fr);padding:0}.duel-shell.is-match-active .duel-player-stage{grid-area:2/2}.duel-shell.is-match-active .duel-player-stage>.duel-board{height:100%;inset:0}.duel-shell.is-match-active .duel-board{grid-template-rows:24px minmax(0,1fr);padding:2px 3px}.duel-shell.is-match-active .duel-player-label{gap:5px;min-height:0;padding:0 1px 2px}.duel-shell.is-match-active .duel-player-avatar{width:22px;height:22px;font-size:7px}.duel-shell.is-match-active .duel-player-label>div strong{font-size:11px}.duel-shell.is-match-active .duel-player-label>div small,.duel-shell.is-match-active .duel-opponent-hand-count,.duel-shell.is-match-active .duel-turn-timer,.duel-shell.is-match-active .duel-time-bank,.duel-shell.is-match-active .duel-life{font-size:7px}.duel-shell.is-match-active .duel-turn-timer,.duel-shell.is-match-active .duel-time-bank{padding:2px 4px}.duel-shell.is-match-active .duel-time-bank{gap:3px;font-size:7px}.duel-shell.is-match-active .duel-life,.duel-shell.is-match-active .duel-opponent-hand-count{padding:2px 4px}.duel-shell.is-match-active .duel-life b{font-size:14px}.duel-shell.is-match-active .duel-mat{--duel-card-width:min(calc((100cqw - 58px) / 7), calc((100cqh - 70px) * .263566));--duel-card-height:calc(var(--duel-card-width) * 1.26471);--duel-slot-gap:2px;--duel-row-height:calc(var(--duel-card-height) + 12px);grid-template-columns:minmax(0, 1fr) repeat(2, calc(var(--duel-card-width) + 6px));grid-template-rows:repeat(3, var(--duel-row-height));gap:2px}.duel-shell.is-match-active .duel-zone{padding:2px}.duel-shell.is-match-active .duel-zone-heading{letter-spacing:.04em;height:8px;padding-bottom:0;font-size:7px}.duel-shell.is-match-active .duel-zone-heading small,.duel-shell.is-match-active .duel-card-slot-index{display:none}.duel-shell.is-match-active .duel-slot-row{grid-template-columns:repeat(5, var(--duel-card-width));justify-content:start;gap:var(--duel-slot-gap)}.duel-shell.is-match-active .duel-card-slot,.duel-shell.is-match-active .duel-single-slot{width:var(--duel-card-width);height:var(--duel-card-height);min-height:var(--duel-card-height)}.duel-shell.is-match-active .duel-single-slot img{width:100%}.duel-shell.is-match-active .duel-console{grid-template-columns:56px minmax(112px,.7fr) minmax(0,1.3fr);gap:6px;height:100%;min-height:0;margin:0;padding:2px 5px}.duel-shell.is-match-active .duel-console>div:first-child span,.duel-shell.is-match-active .duel-status small{font-size:7px}.duel-shell.is-match-active .duel-console>div:first-child strong,.duel-shell.is-match-active .duel-status strong{font-size:11px}.duel-shell.is-match-active .duel-console button,.duel-shell.is-match-active .selected-card-actions button,.duel-shell.is-match-active .duel-choice-panel button{min-height:30px;padding-inline:8px;font-size:8px}.duel-shell.is-match-active .selected-card-actions,.duel-shell.is-match-active .duel-choice-panel{right:max(5px, env(safe-area-inset-right));bottom:max(5px, env(safe-area-inset-bottom));left:max(5px, env(safe-area-inset-left));z-index:120;grid-template-columns:112px minmax(0,1fr);width:auto;height:auto;max-height:min(180px,100dvh - 10px);margin:0;padding:7px;position:fixed;overflow-y:auto;box-shadow:0 14px 38px #00000094}.duel-shell.is-match-active .duel-hand-overlay{--hand-card-width:clamp(54px, 16dvh, 68px);width:auto;height:clamp(80px,28dvh,112px);padding:0;bottom:-12px;left:0;right:0;transform:translateY(16px)}.duel-shell.is-match-active .duel-hand-overlay:hover,.duel-shell.is-match-active .duel-hand-overlay:focus-within,.duel-shell.is-match-active .duel-hand-overlay.is-open{transform:translateY(0)}.duel-shell.is-match-active .duel-hand-overlay header{padding:3px 4px;top:3px;left:2px}.duel-shell.is-match-active .duel-hand-overlay header strong{font-size:9px}.duel-shell.is-match-active .duel-hand-overlay header button{min-height:22px;padding-inline:6px;font-size:6px}.duel-shell.is-match-active .duel-hand-cards{min-height:0}.duel-shell.is-match-active .duel-hand-card-shell,.duel-shell.is-match-active .duel-hand-cards .duel-card{width:var(--hand-card-width);height:var(--hand-card-height)}}@media (hover:none),(pointer:coarse){.duel-hover-preview{display:none!important}.duel-card .card-rarity-overlay:before{box-shadow:none;border-width:1px}}@media (max-width:390px){.duel-topbar{padding-inline:14px}.duel-brand .site-brand-logo{width:94px}.duel-exit{padding-inline:10px;font-size:6px}.duel-concede{padding-inline:9px;font-size:6px}.duel-table-actions{gap:5px}.duel-intro{padding-inline:16px}.duel-intro h1{font-size:46px}}@media (prefers-reduced-motion:reduce){.duel-shell *,.duel-shell :before,.duel-shell :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.duel-action-bubble{opacity:1;transform:none}.duel-target-trail-line{stroke-dasharray:none}.duel-match-end-banner{opacity:1;transform:translateY(-50%)}.duel-card.is-attacking{outline-color:#f2cf55}.duel-card.is-being-attacked{outline-color:#ef584e}.duel-console button.is-attention{background:#ff841c38;border-color:#ff9a36}.duel-shell .duel-time-bank-warning{transform:translate(-50%);animation:5s linear forwards duel-time-bank-warning-static!important}}@keyframes duel-time-bank-warning-static{0%,84%{opacity:1}to{opacity:0}}
