:root{--bg-0: #07060f;--bg-1: #140f2b;--bg-2: #241a45;--line: rgba(150, 120, 255, .22);--line-strong: rgba(170, 140, 255, .45);--text: #eae6ff;--text-dim: #a79fc9;--me: #4ad7ff;--foe: #ff5c8a;--gold: #ffd479;--ok: #6ee7a8;--radius: 14px;--card-ratio: 720 / 1006}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%;background:var(--bg-0);color:var(--text);font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif;overscroll-behavior:none}body{background:radial-gradient(1200px 700px at 50% -10%,#33205e 0%,transparent 60%),radial-gradient(900px 600px at 100% 100%,#1b2450 0%,transparent 55%),linear-gradient(180deg,#0b0918,#07060f);background-attachment:fixed}button{font-family:inherit;color:inherit;cursor:pointer;border:none;background:none}#root,.screen-layer{height:100%}.btn{padding:10px 18px;border-radius:999px;border:1px solid var(--line-strong);background:linear-gradient(180deg,#785adc59,#46328c59);color:var(--text);font-size:14px;letter-spacing:.02em;text-align:center;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 6px 20px #8264ff59}.btn:active{transform:translateY(0)}.btn.primary{background:linear-gradient(180deg,#8b5cf6,#5b21b6);border-color:#c8b4ff99;box-shadow:0 6px 24px #8b5cf673}.btn.ghost{background:#ffffff0a}.btn:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}.conn{margin-top:16px;padding:16px;border-radius:var(--radius);border:1px solid var(--line);background:#00000047}.conn h3{margin:0 0 8px;font-size:14px;color:var(--gold);font-weight:600}.conn p{margin:0 0 10px;font-size:12px;color:var(--text-dim);line-height:1.7}.conn textarea{width:100%;height:88px;padding:10px;border-radius:10px;border:1px solid var(--line);background:#00000073;color:var(--text);font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11px;resize:vertical;word-break:break-all}.conn .row{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.conn .row .btn{flex:1;min-width:120px;padding:10px 12px;font-size:13px}.status{margin-top:10px;font-size:12px;color:var(--ok);min-height:18px}.app{height:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));overflow:hidden}.topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;border-radius:12px;border:1px solid var(--line);background:#0c091a99;min-width:0;overflow:hidden}.plyr{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-dim);min-width:0;white-space:nowrap}.plyr .tag{padding:2px 8px;border-radius:999px;font-size:11px;border:1px solid var(--line)}.plyr.foe .tag{color:var(--foe);border-color:#ff5c8a73}.plyr.me .tag{color:var(--me);border-color:#4ad7ff73}.turn-pill{display:flex;align-items:center;gap:8px;padding:6px 16px;border-radius:999px;border:1px solid var(--line-strong);background:#503ca04d;font-size:13px;letter-spacing:.06em}.turn-pill .dot{width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 12px var(--gold);animation:pulse 1.6s ease-in-out infinite}.turn-pill.foe .dot{background:var(--foe);box-shadow:0 0 12px var(--foe)}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.82)}}.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:0;align-items:center}.lane{position:relative;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:12px 10px;border-radius:var(--radius);border:1px solid var(--line);background:linear-gradient(180deg,#ffffff0b,#ffffff03);box-shadow:inset 0 1px #ffffff0f;min-height:0}.lane.leading{border-color:#6ee7a873;box-shadow:inset 0 0 24px #6ee7a814}.lane-name{position:absolute;bottom:4px;left:50%;transform:translate(-50%);font-size:10px;letter-spacing:.3em;color:#ffffff29;pointer-events:none}.slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.slots.foe{order:1}.slots.me{order:3}.slot{position:relative;aspect-ratio:var(--card-ratio);border-radius:8px;border:1px solid transparent;background:#0000002e;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.slot.valid{border-color:#67e8f9cc;background:#4ad7ff17;box-shadow:inset 0 0 16px #4ad7ff59;cursor:pointer}.slot.valid:after{content:"+";position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:20px;color:#67e8f9bf}.lane-mid{order:2;display:flex;align-items:center;justify-content:center;gap:10px;padding:2px 0}.power-pill{min-width:46px;text-align:center;padding:2px 10px;border-radius:999px;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;border:1px solid transparent}.power-pill.foe{color:#ffb3c8;background:#ff5c8a29;border-color:#ff5c8a59}.power-pill.ahead{box-shadow:0 0 16px #6ee7a873;border-color:#6ee7a8b3}.vs{font-size:10px;color:#ffffff40;letter-spacing:.2em}.card{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:8px;overflow:hidden;border:1px solid rgba(255,255,255,.16);background:#120d24;box-shadow:0 6px 14px #00000073;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;cursor:pointer;-webkit-user-select:none;user-select:none;container-type:size}.card-art{position:absolute;top:50%;left:50%;width:min(100cqw,calc(100cqh * (var(--card-ratio))));aspect-ratio:var(--card-ratio);transform:translate(-50%,-50%);container-type:inline-size}.card img{width:100%;height:100%;object-fit:fill;display:block;pointer-events:none}.card.foe{border-color:#ff5c8a66}.card:hover{transform:translateY(-2px);box-shadow:0 10px 22px #0009}.dock{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:12px;padding:8px 10px;border-radius:16px;border:1px solid var(--line);background:linear-gradient(180deg,#1e163ad9,#0c091ae6);box-shadow:0 -10px 40px #00000080}.energy{display:flex;flex-direction:column;align-items:center;gap:2px}.energy .orb{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-size:19px;font-weight:800;font-variant-numeric:tabular-nums;color:#eaf6ff;background:radial-gradient(circle at 35% 30%,#bef0fff2,#3898fff2 45%,#1e40aff2);border:2px solid rgba(190,230,255,.75);box-shadow:0 0 22px #4aaaff8c,inset 0 -6px 14px #00000059;transition:filter .2s ease}.energy.empty .orb{filter:grayscale(.65) brightness(.7)}.energy .cap{font-size:10px;letter-spacing:.18em;color:var(--text-dim)}.hand{display:flex;align-items:flex-end;justify-content:center;padding:4px 0 0;min-height:150px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.hand-card{position:relative;flex:0 0 auto;width:clamp(74px,9vw,116px);aspect-ratio:var(--card-ratio);margin-right:-14px;border-radius:8px;transition:transform .18s cubic-bezier(.2,.8,.3,1.2),box-shadow .18s ease;will-change:transform}.hand-card:last-child{margin-right:0}.hand-card .card{position:absolute;top:0;right:0;bottom:0;left:0}.hand-card:hover{transform:translateY(-14px) scale(1.04);z-index:5}.hand-card.selected{transform:translateY(-18px) scale(1.05);z-index:6}.hand-card.selected .card{border-color:var(--me);box-shadow:0 0 0 2px #4ad7ffbf,0 0 26px #4ad7ff99}.hand-card.disabled{filter:grayscale(.55) brightness(.72)}.hand-empty{color:#ffffff40;font-size:12px;padding-bottom:60px}.end-turn{padding:14px 20px;border-radius:14px;font-size:14px;font-weight:600;letter-spacing:.06em;color:#1a0f00;background:linear-gradient(180deg,#ffe8a3,#f0a92c);box-shadow:0 8px 24px #f0a92c73;white-space:nowrap}.end-turn:disabled{background:#ffffff14;color:var(--text-dim);box-shadow:none}.banner{position:fixed;left:50%;top:12px;transform:translate(-50%);z-index:40;max-width:min(680px,92vw);padding:10px 20px;border-radius:999px;border:1px solid rgba(255,212,121,.6);background:#281a0aeb;color:#ffe9b8;font-size:13px;text-align:center;box-shadow:0 10px 30px #0000008c;animation:bannerIn .22s ease-out}@keyframes bannerIn{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.banner.deck-flash{top:64px;bottom:auto;z-index:96}.banner.home-flash{top:14px;bottom:auto;z-index:96}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#04030ab8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:grid;place-items:center;padding:18px;animation:fadeIn .16s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal{width:min(420px,100%);max-height:86vh;overflow:auto;border-radius:20px;border:1px solid var(--line-strong);background:linear-gradient(180deg,#241a45,#100c22);box-shadow:0 30px 80px #000000b3}.modal .art{width:100%;display:block}.modal .body{padding:16px 18px 20px}.modal h2{margin:0;font-size:19px;letter-spacing:.04em}.modal .style{color:var(--gold);font-size:12px;margin-top:2px;letter-spacing:.08em}.modal .stats{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}.chip{padding:3px 10px;border-radius:999px;font-size:11px;border:1px solid var(--line);color:var(--text-dim)}.chip.cost{color:#ddd6fe;border-color:#a78bfa8c}.chip.power{color:#ffe9a8;border-color:#f5a6238c}.chip.token{color:#a7f3d0;border-color:#10b9818c}.modal .text{font-size:13px;line-height:1.85;color:#d8d2f5;white-space:pre-wrap;padding:12px;border-radius:12px;background:#0000004d;border:1px solid var(--line)}.modal .acts{display:grid;gap:8px;margin-top:14px}.modal .acts .btn{width:100%;text-align:left;font-size:13px}.modal .acts .hint{font-size:11px;color:var(--text-dim)}@media (max-width: 860px){.app{padding:6px 6px calc(6px + env(safe-area-inset-bottom));gap:6px}.board{display:flex;flex-direction:column;align-items:stretch;gap:8px;overflow-y:auto;padding-bottom:4px}.lane{flex:0 0 auto;width:100%}.hide-sm{display:none}.topbar{padding:4px 8px}.plyr{font-size:11px;gap:6px}.turn-pill{padding:5px 10px;font-size:11px;letter-spacing:.02em;flex:0 0 auto}.dock{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:6px 8px}.hand{min-height:116px;justify-content:flex-start}.hand-card{width:clamp(64px,21vw,84px);margin-right:-16px}.energy .orb{width:48px;height:48px;font-size:16px}.end-turn{padding:12px 14px;font-size:13px}.banner{top:auto;bottom:176px;font-size:12px;padding:8px 14px}}@media (max-height: 700px) and (min-width: 861px){.hand{min-height:118px}.hand-card{width:clamp(64px,7.6vw,96px)}.energy .orb{width:50px;height:50px;font-size:17px}}.dc-bar{position:fixed;left:50%;top:66px;transform:translate(-50%);z-index:62;display:flex;align-items:center;gap:10px;max-width:min(720px,94vw);padding:10px 14px;border-radius:14px;background:#40121ef5;border:1px solid rgba(255,92,138,.55);color:#ffd7e0;font-size:13px;box-shadow:0 14px 44px #0009}.dc-bar .btn{padding:7px 12px;font-size:12px;white-space:nowrap}@media (max-width: 860px){.dc-bar{top:52px;font-size:12px;padding:8px 10px;gap:6px}}.board-wrap{min-height:0;display:flex}@media (max-width: 860px){.board-wrap{display:block;min-height:0;overflow:hidden}@keyframes inspUp{0%{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}.topbar{flex-wrap:wrap;gap:2px 6px;padding:4px 8px;row-gap:2px}.plyr.foe{order:1}.plyr.me{order:2;margin-left:auto}.turn-pill{order:3;flex:1 0 100%;justify-content:center;padding:3px 10px;font-size:11px}.board-wrap{display:flex;min-height:0;height:100%}.banner{bottom:120px}}.log-tab{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:50;writing-mode:vertical-rl;letter-spacing:.2em;padding:14px 6px;font-size:11px;color:var(--text-dim);background:#1e163ae6;border:1px solid var(--line);border-left:none;border-radius:0 10px 10px 0}.log-tab:hover{color:#fff}.log-panel{position:fixed;left:0;top:62px;bottom:152px;width:300px;z-index:56;display:flex;flex-direction:column;border-radius:0 14px 14px 0;border:1px solid var(--line-strong);border-left:none;background:linear-gradient(180deg,#1e163af7,#0c091afa);box-shadow:0 20px 60px #0009;animation:logIn .18s ease-out}@keyframes logIn{0%{opacity:0;transform:translate(-14px)}to{opacity:1;transform:none}}.log-head{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid var(--line);font-size:13px;color:var(--gold)}.log-close{padding:2px 9px;font-size:11px}.log-body{flex:1;overflow-y:auto;padding:8px 12px;min-height:0}.log-line{font-size:11.5px;line-height:1.7;color:#b9b1d8;padding:2px 0;border-bottom:1px dashed rgba(255,255,255,.05)}.log-line.play{color:#cfe8ff}.log-line.result{color:var(--gold)}@media (max-width: 860px){.log-panel{width:84vw;top:46px;bottom:142px}.log-tab{top:96px;transform:none;padding:10px 4px;font-size:10px;opacity:.9}}.card.chosen{border-color:#22c55e!important;box-shadow:0 0 0 2px #22c55ed9,0 0 22px #22c55e99!important}.pick-bar{position:fixed;left:50%;bottom:156px;transform:translate(-50%);z-index:64;display:flex;align-items:center;gap:10px;max-width:92vw;padding:8px 10px 8px 16px;border-radius:999px;background:#102218f5;border:1px solid rgba(34,197,94,.55);color:#dcfce7;font-size:13px;box-shadow:0 12px 34px #0000008c}.pick-bar .btn{padding:7px 16px;font-size:13px}@media (max-width: 860px){.pick-bar{bottom:138px;font-size:12px;padding:6px 8px 6px 12px}}:root{--me: #4d8dff;--foe: #ff4d5f}.plyr.me .tag{color:var(--me);border-color:#4d8dff8c}.plyr.foe .tag{color:var(--foe);border-color:#ff4d5f8c}.card.me{border-color:#4d8dff80}.card.foe{border-color:#ff4d5f73}.power-pill.me{color:#d3e3ff;background:#4d8dff29;border-color:#4d8dff6b}.power-pill.foe{color:#ffcbd1;background:#ff4d5f29;border-color:#ff4d5f6b}.hand-card.selected .card{border-color:var(--me);box-shadow:0 0 0 2px #4d8dffbf,0 0 26px #4d8dff8c}:root{--me: #4ad7ff;--foe: #ff5c8a}.plyr.me .tag{color:#4ad7ff;border-color:#4ad7ff73}.plyr.foe .tag{color:#ff5c8a;border-color:#ff5c8a73}.card.me{border-color:#4ad7ff73}.card.foe{border-color:#ff5c8a6b}.power-pill.me{color:#b8f0ff;background:#4ad7ff24;border-color:#4ad7ff59}.power-pill.foe{color:#ffc9d6;background:#ff5c8a29;border-color:#ff5c8a59}.hand-card.selected .card{border-color:#4ad7ff;box-shadow:0 0 0 2px #4ad7ffbf,0 0 26px #4ad7ff8c}@media (max-width: 860px){.plyr{font-size:10.5px;gap:5px}.plyr .tag{padding:1px 6px;font-size:10px}}.dock{grid-template-areas:"left hint end" "left hand end";grid-template-rows:auto 1fr;align-items:center}.dock-left{grid-area:left;display:flex;flex-direction:column;align-items:center;gap:6px}.energy{grid-area:unset}.hand{grid-area:hand}.end-turn{grid-area:end}.hand-hint{grid-area:hint;text-align:center;font-size:10.5px;letter-spacing:.08em;color:#c8beff8c;padding-bottom:2px;pointer-events:none}.hand-hint.hidden{visibility:hidden}.hand{scrollbar-width:thin;scrollbar-color:rgba(150,120,255,.75) rgba(255,255,255,.07);padding-bottom:6px}.hand::-webkit-scrollbar{height:8px}.hand::-webkit-scrollbar-track{background:#ffffff12;border-radius:999px;margin:0 12px}.hand::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#8b5cf6,#4ad7ff);border-radius:999px;border:1px solid rgba(255,255,255,.25)}@media (max-width: 860px){.hand-hint{font-size:10px}}.dock{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"hand right";grid-template-rows:auto;column-gap:10px}.dock-right{grid-area:right;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}.end-turn{grid-area:unset}@media (max-width: 860px){.dock{column-gap:8px}.dock-right{gap:4px}.end-turn{padding:10px 12px;font-size:12px}}.modal-mask.no-anim{animation:none}.energy .orb{width:62px;height:62px;flex-direction:row;gap:1px;font-size:20px}.energy .orb b{font-weight:800}.energy .orb i{font-style:normal;font-size:12px;opacity:.85;font-weight:600}@media (max-width: 860px){.energy .orb{width:52px;height:52px;font-size:17px}.energy .orb i{font-size:10.5px}}.hand-card.new .card{border-color:var(--gold);box-shadow:0 0 0 1px #ffd47980,0 0 12px #ffd47966}.result-tab{position:fixed;right:14px;bottom:170px;z-index:60;padding:10px 16px;border-radius:999px;font-size:12.5px;color:#1a0f00;background:linear-gradient(180deg,#ffe8a3,#f0a92c);box-shadow:0 8px 24px #f0a92c73}@media (max-width: 860px){.result-tab{right:8px;bottom:150px;padding:8px 13px;font-size:11.5px}}.energy .orb{display:flex;align-items:center;justify-content:center;gap:2px;width:auto;min-width:66px;height:40px;padding:0 14px;border-radius:999px;font-size:18px;line-height:1;font-variant-numeric:tabular-nums}.energy .orb b{line-height:1}.energy .orb i{font-size:13px;line-height:1;opacity:.85;transform:translateY(.5px)}@media (max-width: 860px){.energy .orb{min-width:56px;height:34px;padding:0 12px;font-size:16px}.energy .orb i{font-size:12px}}.pick-drawer{position:fixed;left:50%;bottom:calc(232px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:66;width:min(560px,calc(100vw - 12px));max-height:50vh;display:flex;flex-direction:column;border-radius:16px;border:1px solid rgba(74,215,255,.45);background:linear-gradient(180deg,#12222cfa,#080e14fa);box-shadow:0 18px 50px #000000b8;overflow:hidden;animation:pickUp .18s ease-out}@keyframes pickUp{0%{opacity:0;transform:translate(-50%,14px)}to{opacity:1;transform:translate(-50%)}}.pick-head{padding:10px 13px 4px;flex:0 0 auto}.pick-title{font-size:13px;line-height:1.45;font-weight:600;color:#e7f6ff}.pick-sub{margin-top:2px;font-size:10.5px;letter-spacing:.02em;color:#7fa8bd}.pick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px;padding:8px 13px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.pick-card{position:relative;aspect-ratio:var(--card-ratio);border-radius:8px;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:transparent}.pick-card .card{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer}.pick-card .card:hover{transform:none}.pick-card.sel .card{border-color:#4ade80;box-shadow:0 0 0 2px #4ade80,0 0 18px #4ade8099}.pick-card.sel:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:8px;background:#4ade8024;pointer-events:none}.pick-empty{grid-column:1 / -1;text-align:center;color:var(--text-dim);font-size:12px;padding:18px 0}.pick-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 13px calc(9px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(255,255,255,.08);flex:0 0 auto}.pick-count{font-size:11px;color:#8fa8b8;white-space:nowrap}.pick-count.ok{color:#4ade80;font-weight:600}.pick-foot .btn{padding:9px 18px;font-size:13px;white-space:nowrap}@media (max-width: 860px){.pick-drawer{bottom:calc(172px + env(safe-area-inset-bottom,0px));width:calc(100vw - 8px);max-height:46vh;border-radius:14px}.pick-head{padding:8px 10px 2px}.pick-title{font-size:12px;line-height:1.4}.pick-sub{font-size:10px}.pick-grid{grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:5px;padding:6px 10px}.pick-foot{padding:6px 10px calc(8px + env(safe-area-inset-bottom,0px))}.pick-count{font-size:10.5px}.pick-foot .btn{padding:10px 16px;font-size:12.5px}}.option-panel{position:fixed;left:50%;bottom:calc(232px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:66;width:min(460px,calc(100vw - 12px));border-radius:16px;border:1px solid rgba(255,212,121,.5);background:linear-gradient(180deg,#261d46fa,#0c091afa);box-shadow:0 18px 50px #000000b8;overflow:hidden;animation:pickUp .18s ease-out}.option-title{padding:11px 13px 4px;font-size:13px;font-weight:600;line-height:1.45;color:#ffe9b8}.option-list{display:flex;flex-direction:column;gap:8px;padding:8px 12px 12px;max-height:42vh;overflow-y:auto;overscroll-behavior:contain}.option-btn{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;min-height:52px;padding:10px 12px;text-align:left;border-radius:12px;border:1px solid var(--line-strong);background:linear-gradient(180deg,#785adc66,#46328c66);color:var(--text);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:border-color .15s ease,box-shadow .15s ease}.option-btn:hover{border-color:#c8b4ffb3;box-shadow:0 6px 20px #8264ff4d}.option-btn.off{opacity:.45;filter:grayscale(.85);cursor:default;background:#ffffff0d;box-shadow:none}.option-name{font-size:13.5px;font-weight:600;line-height:1.4}.option-meta{display:flex;align-items:center;gap:10px;margin-top:1px;font-size:10.5px}.option-cost{color:var(--gold)}.option-go{color:#4ade80}.option-why{color:var(--text-dim)}.option-empty{text-align:center;color:var(--text-dim);font-size:12px;padding:18px 0}.option-reveal{padding:2px 12px 6px}.option-reveal-title{font-size:10.5px;letter-spacing:.04em;color:#7fa8bd;margin-bottom:5px}.option-reveal-row{display:flex;gap:6px;max-height:34vh;overflow-y:auto;overscroll-behavior:contain}.option-reveal-row .pick-card{flex:0 0 74px;width:74px;cursor:default}@media (max-width: 860px){.option-panel{bottom:calc(172px + env(safe-area-inset-bottom,0px));width:calc(100vw - 8px);border-radius:14px}.option-title{padding:9px 11px 2px;font-size:12px}.option-list{gap:6px;padding:6px 8px 10px;max-height:40vh}.option-reveal{padding:0 8px 4px}.option-reveal-row .pick-card{flex-basis:62px;width:62px}.option-btn{min-height:50px;padding:9px 11px}.option-name{font-size:12.5px}}.dice-fx{position:fixed;top:0;right:0;bottom:0;left:0;z-index:74;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#060410eb;animation:fadeIn .14s ease-out}.dice-title{max-width:88vw;font-size:13px;line-height:1.5;color:#ffe9b8;letter-spacing:.06em;text-align:center}.dice-board{display:flex;align-items:center;justify-content:center;gap:14px}.die{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:4px;width:76px;height:76px;padding:10px;border-radius:16px;background:linear-gradient(160deg,#fffdf4,#d9d3ea);border:1px solid rgba(255,255,255,.7);box-shadow:0 14px 34px #0000008c,inset 0 -4px 10px #3c28782e}.die i{border-radius:50%;background:transparent}.die i.on{background:#2a1f4a;box-shadow:inset 0 -1px 2px #00000059}.die.rolling{animation:dieShake .26s linear infinite}.die.settled{animation:dieLand .32s cubic-bezier(.2,1.5,.5,1)}@keyframes dieShake{0%{transform:rotate(-7deg) translateY(-3px)}30%{transform:rotate(5deg) translateY(2px) scale(1.04)}60%{transform:rotate(-4deg) translateY(-1px)}to{transform:rotate(-7deg) translateY(-3px)}}@keyframes dieLand{0%{transform:scale(1.16) rotate(7deg)}to{transform:none}}.dice-note{font-size:14px;font-weight:600;color:#d8d0f5;letter-spacing:.06em}.dice-note.done{color:#ffe9b8}@media (max-width: 860px){.dice-title{font-size:12px}.die{width:68px;height:68px;padding:9px}.dice-note{font-size:13px}}.deck-top-panel{position:fixed;left:50%;bottom:calc(232px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:70;width:min(560px,calc(100vw - 12px));border-radius:16px;border:1px solid rgba(74,215,255,.45);background:linear-gradient(180deg,#12222cfa,#080e14fa);box-shadow:0 18px 50px #000000b8;overflow:hidden;animation:pickUp .18s ease-out}.deck-top-sub{padding:0 12px 6px;font-size:10.5px;line-height:1.5;color:#7fa8bd}.deck-top-view{display:flex;justify-content:center;gap:10px;padding:8px 12px 12px}.deck-top-view .deck-top-card{flex:0 0 84px;width:84px}.deck-top-boxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:4px 12px 10px}.deck-top-box{min-height:146px;display:flex;flex-direction:column;padding:6px;border-radius:12px;border:1px dashed rgba(127,168,189,.5);background:#ffffff08;transition:border-color .12s ease,background .12s ease}.deck-top-box.bottom{border-color:#ffd47973}.deck-top-box.over{border-color:#4ade80;background:#4ade801a}.deck-top-label{margin-bottom:5px;font-size:10px;letter-spacing:.04em;color:#8fa8b8;text-align:center}.deck-top-slot{flex:1;display:flex;align-items:center;justify-content:center}.deck-top-card{position:relative;width:84px;aspect-ratio:var(--card-ratio);border-radius:8px;cursor:grab;touch-action:none;-webkit-tap-highlight-color:transparent}.deck-top-card .card{position:absolute;top:0;right:0;bottom:0;left:0;cursor:grab}.deck-top-card.sel .card{border-color:#4ade80;box-shadow:0 0 0 2px #4ade80,0 0 18px #4ade8099}.deck-top-empty{padding:18px 10px;font-size:10px;color:#7fa8bd8c;border:1px dashed rgba(127,168,189,.25);border-radius:8px}.deck-top-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(255,255,255,.08)}.deck-top-hint{font-size:10.5px;color:#8fa8b8}.deck-drag-ghost{position:fixed;z-index:90;width:84px;pointer-events:none;opacity:.92;transform:translate(-50%,-50%) rotate(4deg);filter:drop-shadow(0 12px 24px rgba(0,0,0,.6))}.deck-drag-ghost .card{position:absolute;top:0;right:0;bottom:0;left:0}@media (max-width: 860px){.deck-top-panel{bottom:calc(172px + env(safe-area-inset-bottom,0px));width:calc(100vw - 8px);border-radius:14px}.deck-top-boxes{gap:5px;padding:2px 8px 8px}.deck-top-box{min-height:128px;padding:4px}.deck-top-card,.deck-top-view .deck-top-card{flex-basis:68px;width:68px}.deck-top-view{gap:6px;padding:4px 8px 8px}.deck-top-foot{padding:6px 8px calc(8px + env(safe-area-inset-bottom,0px))}.deck-drag-ghost{width:68px}}.home-deck-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--text-dim)}.home-deck-head b{color:var(--gold);font-weight:600}.home-deck-links{display:flex;gap:6px;flex:0 0 auto}.home-deck-links .btn{padding:5px 10px;font-size:11px}.home-deck-note{margin-top:8px;font-size:10.5px;line-height:1.5;color:var(--text-dim)}.deck-chips{display:flex;gap:6px;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior:contain;padding-bottom:2px}.deck-chip{flex:0 0 auto;padding:5px 10px;border-radius:999px;border:1px solid var(--line);background:#785adc2e;color:var(--text-dim);font-size:11px;white-space:nowrap}.deck-chip:hover{border-color:var(--line-strong);color:var(--text)}.deck-chip.on{border-color:var(--gold);color:var(--gold);background:#ffd4791f}.deck-screen{height:100%;overflow-y:auto;padding:14px 14px 28px;max-width:1320px;margin:0 auto}.deck-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.deck-top .btn{padding:7px 12px;font-size:12px}.deck-modes{display:flex;gap:6px}.deck-modes .btn{padding:6px 14px;font-size:12px}.deck-title{margin-left:auto;font-size:14px;letter-spacing:.06em;color:var(--gold)}.deck-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:14px;align-items:start}.deck-screen.mode-browse .deck-layout{grid-template-columns:minmax(0,1fr)}.catalog-panel{min-width:0;padding:12px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,#1e163c8c,#0a0816bf)}.catalog-toolbar{display:flex;flex-direction:column;gap:7px;margin-bottom:10px}.catalog-search{position:relative}.catalog-search input{width:100%;padding:10px 34px 10px 12px;border-radius:12px;border:1px solid var(--line);background:#00000047;color:var(--text);font-size:13px;outline:none}.catalog-search input:focus{border-color:var(--me);box-shadow:0 0 0 2px #4ad7ff26}.catalog-search-clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;background:#ffffff14;color:var(--text-dim);font-size:14px}.filter-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.filter-label{margin-right:2px;font-size:10.5px;color:var(--text-dim);white-space:nowrap;flex:0 0 auto}.filter-label.kind{margin-left:8px}.filter-chip{padding:4px 8px;border-radius:999px;border:1px solid var(--line);background:#ffffff08;color:var(--text-dim);font-size:10.5px}.filter-chip.on{border-color:var(--me);color:var(--me);background:#4ad7ff1a}.filter-foot{justify-content:flex-start}.filter-check{display:flex;align-items:center;gap:5px;font-size:10.5px;color:var(--text-dim)}.filter-check input{accent-color:var(--me)}.catalog-count{margin-left:auto;font-size:10.5px;color:var(--text-dim)}.filter-foot .btn{padding:4px 8px;font-size:10.5px}.catalog-group{margin-bottom:12px}.catalog-group-head{width:100%;display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:9px;border:1px solid var(--line);background:#785adc24;color:var(--text);font-size:12px;text-align:left}.catalog-group-name{font-weight:600;letter-spacing:.04em}.catalog-group-count{font-size:10.5px;color:var(--text-dim)}.catalog-group-arrow{margin-left:auto;color:var(--text-dim)}.catalog-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:8px;padding:8px 2px 2px}.catalog-card{position:relative;aspect-ratio:var(--card-ratio);border-radius:9px;overflow:hidden;cursor:pointer;background:#0000004d}.catalog-card .card{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer}.catalog-card.in{outline:2px solid var(--ok);outline-offset:-2px}.catalog-card.unbuildable{opacity:.55;filter:grayscale(.5)}.catalog-badge{position:absolute;left:4px;bottom:4px;padding:1px 5px;border-radius:6px;border:1px solid rgba(255,255,255,.2);background:#000000b8;color:var(--text);font-size:9px;line-height:1.5}.catalog-badge.in{color:var(--ok);border-color:#6ee7a880}.catalog-badge.no{color:#ff9db8;border-color:#ff5c8a80}.catalog-badge.cap{color:var(--gold);border-color:#ffd47980}.catalog-badge.token{color:#c4b5fd;border-color:#c4b5fd80}.catalog-empty{padding:30px;text-align:center;color:var(--text-dim);font-size:12px}.deck-panel{position:sticky;top:14px;align-self:start;max-height:calc(100vh - 28px);overflow:auto;padding:12px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,#301e5099,#0c091ad1)}.deck-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.deck-panel-title{font-size:14px;font-weight:600;letter-spacing:.04em}.deck-chevron{display:none}.deck-panel-sub{margin-top:2px;font-size:10.5px;color:var(--text-dim)}.deck-count{font-size:20px;font-weight:700;color:var(--text-dim);font-variant-numeric:tabular-nums}.deck-count.ok{color:var(--ok)}.deck-name{width:100%;margin:10px 0;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:#00000047;color:var(--text);font-size:12.5px;outline:none}.deck-name:focus{border-color:var(--me)}.deck-draft-note{margin:-4px 0 8px;font-size:10.5px;line-height:1.5;color:var(--text-dim)}.deck-draft-note.on{color:var(--ok)}.deck-panel-right{display:flex;align-items:center;gap:8px}.deck-more-toggle{display:none;padding:5px 10px;font-size:11px}.deck-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:10px 0 8px}.deck-slot{position:relative;width:100%;aspect-ratio:var(--card-ratio);border-radius:8px}.deck-slot.empty{display:flex;align-items:center;justify-content:center;border:1px dashed rgba(167,159,201,.35);background:#ffffff05;color:#a79fc98c;font-size:9.5px}.deck-slot.filled{cursor:pointer}.deck-slot.filled.captain{box-shadow:inset 0 0 0 2px var(--gold),0 0 10px #ffd47952}.deck-slot.filled.member{box-shadow:inset 0 0 0 2px #4ad7ffd9}.deck-slot.filled .deck-mini{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:8px;overflow:hidden}.deck-mini .card{position:absolute;top:0;right:0;bottom:0;left:0}.deck-slot-tag{position:absolute;left:2px;top:2px;z-index:2;padding:0 4px;border-radius:5px;border:1px solid rgba(255,212,121,.55);background:#000000b8;color:var(--gold);font-size:8.5px;line-height:1.5;pointer-events:none}.deck-validate{margin:10px 0;padding:7px 9px;border-radius:9px;font-size:10.5px;line-height:1.5}.deck-validate.ok{color:var(--ok);border:1px solid rgba(110,231,168,.25);background:#6ee7a814}.deck-validate.bad{color:#ffb3c8;border:1px solid rgba(255,92,138,.25);background:#ff5c8a14}.deck-stats{padding:8px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.deck-total{display:flex;align-items:baseline;gap:6px;font-size:11px;color:var(--text-dim)}.deck-total b{color:var(--gold);font-size:16px}.deck-total span{margin-left:auto}.curve{display:flex;align-items:flex-end;gap:5px;height:60px;margin-top:6px}.curve-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:2px}.curve-col i{display:block;width:100%;min-height:3px;border-radius:3px 3px 0 0;background:linear-gradient(180deg,#7dd3fc,#4ad7ff)}.curve-col span{font-size:9px;color:var(--text-dim)}.deck-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.deck-actions .btn{padding:7px 11px;font-size:11.5px}.deck-more{margin-top:10px}.filter-reset{padding:4px 10px;font-size:10.5px}.catalog-hint{margin-top:-2px;font-size:10px;color:var(--text-dim);letter-spacing:.02em}.btn.danger{border-color:#ff5c8a80;color:#ffb3c8}.deck-presets,.deck-saved{margin-top:12px}.deck-section-title{margin-bottom:6px;font-size:10.5px;letter-spacing:.04em;color:var(--text-dim)}.deck-saved-list{display:flex;flex-direction:column;gap:4px;max-height:160px;overflow:auto}.deck-saved-row{display:flex;align-items:center;gap:4px;border-radius:8px;border:1px solid transparent}.deck-saved-row.on{border-color:var(--line-strong);background:#785adc1f}.deck-saved-name{flex:1;padding:6px 8px;overflow:hidden;color:var(--text);font-size:11.5px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.deck-saved-del{width:26px;height:26px;border-radius:7px;color:var(--text-dim);font-size:14px}.deck-saved-del:hover{color:#ffb3c8;background:#ff5c8a1f}.deck-empty-hint{padding:4px 0;font-size:10.5px;color:var(--text-dim)}.deck-lib{display:none;margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}.deck-lib.open{display:block}.deck-lib-head{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:4px 2px;color:var(--text-dim);font-size:11px;text-align:left}.deck-lib-head:hover{color:var(--text)}.deck-lib-title{letter-spacing:.04em}.deck-lib-chevron{font-size:10px}.deck-lib-count{padding:1px 8px;border-radius:999px;border:1px solid var(--line);font-size:10px;font-variant-numeric:tabular-nums}.deck-lib-tabs{display:flex;gap:6px;margin-bottom:8px}.deck-lib-tab{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 8px;border-radius:10px;border:1px solid var(--line);background:#785adc1a;color:var(--text-dim);font-size:11.5px;white-space:nowrap}.deck-lib-tab:hover{border-color:var(--line-strong);color:var(--text)}.deck-lib-tab.on{border-color:var(--gold);color:var(--gold);background:#ffd4791f}.deck-lib-badge{font-size:10px;font-variant-numeric:tabular-nums;opacity:.85}.deck-lib-pane{display:none}.deck-lib-pane.on{display:block}.deck-lib .deck-saved-list{max-height:190px}.deck-saved-acts{display:flex;flex:0 0 auto;gap:2px}.deck-saved-act{padding:3px 7px;border-radius:7px;color:var(--text-dim);font-size:10.5px;white-space:nowrap}.deck-saved-act:hover{color:var(--text);background:#785adc2e}.deck-saved-row.renaming{flex-wrap:wrap;gap:6px;padding:4px;border-color:var(--line-strong);background:#785adc1f}.deck-rename-input{flex:1 1 auto;min-width:0;padding:6px 8px;border-radius:8px;border:1px solid var(--line-strong);background:#0000004d;color:var(--text);font-size:12px}.deck-rename-input:focus{outline:none;border-color:var(--gold)}.deck-saved-row.renaming .btn{padding:5px 10px;font-size:11px}.deck-preset-list{display:flex;flex-direction:column;gap:4px;max-height:190px;overflow:auto}.deck-preset-row{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:6px 8px;border-radius:8px;border:1px solid transparent;text-align:left}.deck-preset-row:hover{border-color:var(--line-strong);background:#785adc24}.deck-preset-row.random{margin-top:4px;border-color:var(--line);border-style:dashed}.deck-preset-name{color:var(--text);font-size:11.5px}.deck-preset-sub{color:var(--text-dim);font-size:10px}@media (max-width: 860px){.deck-lib .deck-saved-list,.deck-preset-list{max-height:128px}.deck-saved-act{padding:3px 6px;font-size:10px}}@media (min-width: 861px){.deck-more{display:block}}@media (max-width: 860px){.home-deck-head{flex-direction:column;align-items:flex-start}.deck-screen{padding:10px 8px 24px}.deck-top{position:sticky;top:0;z-index:30;padding:6px 0;background:#07060ff0}.deck-title{display:none}.deck-layout{display:flex;flex-direction:column;align-items:stretch;gap:10px}.deck-panel{order:-1;position:sticky;top:58px;z-index:40;align-self:stretch;background:#201631;max-height:calc(100vh - 60px);overflow:auto;padding:10px;border-radius:14px;box-shadow:0 16px 36px #00000080}.deck-panel-head{cursor:pointer}.deck-chevron{display:inline-block;margin-left:2px;font-size:11px;color:var(--text-dim)}.deck-panel.collapsed{padding:8px 10px}.deck-panel.collapsed .deck-panel-sub,.deck-panel.collapsed .deck-grid,.deck-panel.collapsed .deck-validate,.deck-panel.collapsed .deck-actions,.deck-panel.collapsed .deck-lib,.deck-panel.collapsed .deck-more,.deck-panel.collapsed .deck-more-toggle{display:none}.deck-more-toggle{display:inline-block}.deck-more{display:none}.deck-more.open{display:block}.deck-panel-sub{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deck-name{margin:8px 0 4px;padding:6px 10px;font-size:12px}.deck-validate{margin:6px 0;min-height:32px;display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deck-actions{margin-top:6px}.deck-actions .btn{padding:7px 9px;font-size:11px}.deck-grid{gap:5px;margin:8px 0 6px}.catalog-panel{padding:8px;border-radius:14px}.catalog-toolbar{gap:5px}.filter-row{flex-wrap:wrap}.filter-chip{flex:0 0 auto}.catalog-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.catalog-count{margin-left:0}.filter-foot{flex-wrap:wrap}}.hand{padding-top:30px;margin-top:-30px}@media (max-width: 860px){.hand{padding-top:34px;margin-top:-34px}}.card.deck-marked{border-color:var(--gold);box-shadow:inset 0 0 0 2px #ffd479f2,inset 0 0 18px #ffd4794d,0 0 16px #ffd47973}.topbar-btn{padding:4px 10px;font-size:11px}.modal.settings{width:min(430px,100%)}.set-rows{display:flex;flex-direction:column;gap:8px;margin:14px 0 4px}.set-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border:1px solid var(--line);border-radius:12px;background:#ffffff08}.set-row .set-txt,.set-danger .set-txt{display:flex;flex-direction:column;gap:2px;min-width:0}.set-row .set-txt b,.set-danger .set-txt b{font-size:13px;font-weight:600;color:var(--text)}.set-row .set-txt span,.set-danger .set-txt span{font-size:11px;line-height:1.45;color:var(--text-dim)}.set-row .btn{flex:0 0 auto;padding:7px 14px;font-size:12px}.set-row .btn.on{color:var(--gold);border-color:#ffd4798c;background:#ffd4791a}.set-sep{height:1px;margin:14px 0;background:var(--line)}.set-danger{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border:1px solid rgba(229,72,77,.5);border-radius:12px;background:#e5484d1f}.set-danger .set-txt b{color:#ffb3c8}.set-danger-acts{display:flex;flex:0 0 auto;gap:8px}.btn.danger{padding:7px 14px;font-size:12px;color:#2b0000;background:linear-gradient(180deg,#ff8fa3,#e5484d);box-shadow:0 6px 18px #e5484d59}.btn.danger:disabled{opacity:.55;box-shadow:none}.set-foot{display:flex;justify-content:flex-end;margin-top:16px}@media (max-width: 860px){.topbar-btn{padding:3px 7px;font-size:10.5px}.set-rows{gap:6px;margin-top:12px}.set-row{flex-wrap:nowrap;gap:8px;padding:8px 10px}.set-row .set-txt{flex:1 1 auto;min-width:0}.set-row .btn{flex:0 0 auto;margin-left:auto;padding:6px 12px}.set-danger{flex-wrap:wrap;gap:8px;padding:8px 10px}.set-danger .set-txt{flex:1 1 100%}.set-danger-acts{margin-left:auto}.set-danger .btn,.btn.danger{padding:6px 12px}}.conn label,.conn .row .btn,.home-deck-head,.home-deck-links .btn,.deck-chip,.status,.deck-top .btn,.deck-actions .btn,.deck-panel-sub,.deck-panel-right .btn,.catalog-filters,.catalog-group-head,.option-name,.pick-title,.modal-message,.set-row .set-txt b,.set-danger .set-txt b{font-size:14px}.catalog-search input{font-size:16px}.conn label,.modal-message{display:block;color:var(--text-dim);margin:10px 0 6px;line-height:1.5}.status:empty{display:none}.controls-help,.catalog-filters{margin:10px 0}.controls-help summary,.catalog-filters summary{cursor:pointer}.controls-help p{margin:8px 0 0;font-size:14px;color:var(--text-dim);line-height:1.6}.catalog-filters[open] summary{margin-bottom:8px}.catalog-filters .catalog-count{margin-left:6px;font-size:13px;color:var(--text-dim)}.filter-row .btn,.filter-chip,.filter-check,.filter-label,.catalog-group-count,.deck-draft-note,.pick-count,.option-meta,.option-title,.log-close,.deck-section-title,.deck-empty-hint,.deck-total,.deck-lib-tab,.deck-preset-name,.deck-saved-name,.deck-saved-act{font-size:13px}.deck-preset-sub,.deck-lib-badge,.curve-col span{font-size:12px}.topbar .plyr,.topbar .topbar-btn,.log-line{font-size:13px}.topbar .topbar-btn{padding:5px 8px}.log-head,.banner{font-size:15px}@media (max-width: 860px){.topbar{flex-wrap:wrap;gap:5px 8px}.topbar .plyr{gap:5px}.topbar .topbar-btn{padding-inline:7px}}.end-turn{font-size:14px}.cover-intro{--cover-title-delay: 2.45s;position:fixed;top:0;right:0;bottom:0;left:0;isolation:isolate;display:block;width:100%;height:100%;padding:0;overflow:hidden;background:#101020;color:#fff1d3;touch-action:manipulation}.cover-intro:focus-visible{outline:2px solid #ffe1a7;outline-offset:-5px}.cover-intro-whiteout{position:fixed;z-index:200;top:0;right:0;bottom:0;left:0;background:#fff;opacity:0;touch-action:none}.cover-intro-backdrop,.cover-intro-frame,.cover-intro-frame>*{position:absolute;pointer-events:none}.cover-intro-backdrop,.cover-intro-frame>*{top:0;right:0;bottom:0;left:0;width:100%;height:100%}.cover-intro-backdrop{object-fit:cover;filter:blur(20px) brightness(.52);transform:scale(1.08)}.cover-intro-frame{top:50%;left:50%;width:min(100%,calc(100dvh * 16 / 9));aspect-ratio:16 / 9;transform:translate(-50%,-50%)}.cover-intro-cast,.cover-intro-title,.cover-intro-flare,.cover-intro-final{opacity:0}.cover-intro-cast[data-entrance=left]{--cover-offset: -13%}.cover-intro-cast[data-entrance=right]{--cover-offset: 13%}.cover-intro-screen{mix-blend-mode:screen}.cover-intro-glow{mix-blend-mode:screen;mix-blend-mode:plus-lighter}.cover-intro.is-playing .cover-intro-cast{animation:cover-cast-in .7s cubic-bezier(.18,.65,.3,1) var(--cover-delay) both}.cover-intro.is-playing .cover-intro-title{transform-origin:50% 78%;animation:cover-title-in .71s cubic-bezier(.16,.72,.26,1) var(--cover-title-delay) both}.cover-intro-flare{background:radial-gradient(ellipse at 50% 77%,#fff3d686,#ffb76945 20%,transparent 55%);mix-blend-mode:screen}.cover-intro.is-playing .cover-intro-flare{animation:cover-title-flare .64s ease-out var(--cover-title-delay) both}.cover-intro.is-complete :is(.cover-intro-cast,.cover-intro-title,.cover-intro-final){opacity:1}.cover-intro-prompt{position:absolute;inset:max(clamp(20px,7dvh,72px),calc(env(safe-area-inset-top) + 12px)) 0 auto;display:flex;align-items:center;justify-content:center;gap:clamp(10px,2vw,28px);opacity:0;font-size:clamp(14px,2.4vmin,28px);font-weight:650;line-height:1.3;letter-spacing:.26em;-webkit-text-stroke:clamp(2px,.36vmin,3.5px) #17101a;paint-order:stroke fill;text-shadow:0 2px 8px #0c101c,0 0 18px #f1b6639c}.cover-intro-prompt:before,.cover-intro-prompt:after{width:clamp(16px,4vw,66px);height:1px;background:linear-gradient(90deg,transparent,#ffe0a3);content:""}.cover-intro-prompt:after{transform:scaleX(-1)}.cover-intro.is-complete .cover-intro-prompt{opacity:1;animation:cover-prompt-pulse 2.7s ease-in-out infinite}@keyframes cover-cast-in{0%{opacity:0;transform:translate(var(--cover-offset))}to{opacity:1;transform:translate(0)}}@keyframes cover-title-in{0%{opacity:0;filter:blur(7px) brightness(2.2);transform:scale(1.25)}40%{opacity:1;filter:blur(0) brightness(1.55);transform:scale(.98)}70%{filter:brightness(1.12);transform:scale(1.02)}to{opacity:1;filter:brightness(1);transform:scale(1)}}@keyframes cover-title-flare{0%,to{opacity:0}20%{opacity:.8}}@keyframes cover-prompt-pulse{0%,to{opacity:1}50%{opacity:.45}}@media (orientation: portrait){:root{--portrait-cover-prompt-top: max(9dvh, calc(env(safe-area-inset-top) + 16px) );--portrait-cover-center: max(31dvh, calc(28.125vw + var(--portrait-cover-prompt-top) + 36px))}.cover-intro-frame{top:var(--portrait-cover-center)}.cover-intro-prompt{inset-block-start:calc((var(--portrait-cover-center) + 28.125vw + 100dvh) / 2);translate:0 -50%;padding-inline:10px;font-size:clamp(16px,4.5vw,23px);letter-spacing:.19em}}@media (prefers-reduced-motion: reduce){.cover-intro.is-complete .cover-intro-prompt{animation:none}}.card-art{--template-cost-cutout: linear-gradient(#fff 0 0) calc(100% * 336 / 2812) calc(100% * 309 / 3986) / calc(100% * 338 / 3150) calc(100% * 414 / 4400) no-repeat;--template-power-cutout: var(--template-power-ink) calc(100% * 2414 / 2708) calc(100% * 305 / 3981) / calc(100% * 442 / 3150) calc(100% * 419 / 4400) no-repeat}.card-art>.card-face-image{position:relative;z-index:1}.card-art:has(>.template-stat.cost)>.card-face-image{mask:linear-gradient(#fff 0 0),var(--template-cost-cutout);-webkit-mask-composite:xor;mask-composite:exclude}.card-art:has(>.template-stat.power)>.card-face-image{mask:linear-gradient(#fff 0 0),var(--template-power-cutout);-webkit-mask-composite:xor;mask-composite:exclude}.card-art:has(>.template-stat.cost):has(>.template-stat.power)>.card-face-image{mask:linear-gradient(#fff 0 0),var(--template-cost-cutout),var(--template-power-cutout);-webkit-mask-composite:xor,xor;mask-composite:exclude,exclude}.template-stat{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.template-stat.cost{--template-well-x: calc(100% * 336 / 3150);--template-well-y: calc(100% * 309 / 4400);--template-well-width: calc(100% * 338 / 3150);--template-well-height: calc(100% * 414 / 4400)}.template-stat.power{--template-well-x: calc(100% * 2414 / 3150);--template-well-y: calc(100% * 305 / 4400);--template-well-width: calc(100% * 442 / 3150);--template-well-height: calc(100% * 419 / 4400)}.card-art .template-stat-plate{position:absolute;z-index:0;left:var(--template-well-x);top:var(--template-well-y);width:var(--template-well-width);height:var(--template-well-height);object-fit:fill;border:0;outline:0;box-shadow:none;border-radius:0}.template-stat-glyphs{position:absolute;z-index:2;left:calc(var(--template-well-x) + var(--template-well-width) / 2);top:calc(var(--template-well-y) + var(--template-well-height) / 2);width:calc(100% * 442 / 3150);height:calc(100% * 419 / 4400);transform:translate(-50%,-50%)}.card-art .template-stat-glyphs img{width:100%;height:100%;object-fit:contain;border:0;outline:0;box-shadow:none;border-radius:0}.template-stat-glyphs.composed{display:flex;align-items:center;justify-content:center;width:var(--template-well-width);height:var(--template-well-height)}.card-art .template-stat-glyphs.composed img{flex:1 1 0;min-width:0;width:0}.template-stat-glyphs.composed b{flex:0 1 auto;font-size:clamp(5px,5cqw,23px);line-height:1;color:#fce9ff;text-shadow:0 0 3px #bb5aff,0 0 6px #507df7}.template-stat-glyphs.wide-power{display:grid;place-items:center;width:max-content;overflow:visible;color:#fce9ff;font-size:clamp(11px,21cqw,48px);font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap;text-shadow:0 1px 2px #191020,0 0 4px #191020,0 0 8px #a84dff}.card:has(.wide-power){overflow:visible}.board-camera .slot:has(.wide-power){z-index:5}.battle-table{--table-me: #91e9fc;--table-foe: #f5a2ba;--table-gold: #f7d993;--table-ink: #121426;--table-line: #73729263;--table-frame-gradient: linear-gradient(180deg, #e4829c, #a45675 36%, #615775 50%, #547da6 67%, #85dafa);--battle-back: url(./deck-back.png);--table-charge-art: url(./energy-chip.png);--energy-reserved-art: var(--table-charge-art);--table-hand-card-width: clamp(82px, min(calc(var(--battle-frame-inline) * .11), 15dvh), 166px);--table-hand-headroom: 14px;--table-hand-overlap: clamp(14px, calc(var(--table-hand-card-width) * .36), 58px);--table-hand-rack-height: clamp(80px, 22dvh, 196px);--foe-card-width: var(--table-hand-card-width);--foe-spacing: calc(var(--table-hand-card-width) - var(--table-hand-overlap));--table-seat-inset: calc(var(--table-hand-headroom) + 4px);--table-seat-height: calc(var(--table-resource-card-height) + var(--table-seat-inset) + 6px);--table-seat-gap: clamp(3px, calc(var(--battle-frame-inline) * .007), 10px);--table-seat-padding: clamp(4px, calc(var(--battle-frame-inline) * .007), 10px);--table-pile-block-padding: 3px;--table-pile-inline-padding: clamp(4px, calc(var(--battle-frame-inline) * .01), 14px);--table-pile-gap: clamp(4px, calc(var(--battle-frame-inline) * .01), 14px);--table-pile-card-width: var(--table-hand-card-width);--table-seat-piles-width: calc(2 * var(--table-pile-card-width) + 2 * var(--table-pile-inline-padding) + var(--table-pile-gap));--table-resource-card-height: calc(var(--table-pile-card-width) * 1006 / 720);--table-stack-step: .45px;--table-icon-size: clamp(26px, 2.5vw, 38px);--table-action-height: 56px;--table-action-font: 22px;--table-gem-width: clamp(18px, 1.8vw, 26px);--table-gem-gap: 4px;--table-energy-font: 26px;--table-power-size: clamp(46px, 4vw, 57px);--table-power-font: clamp(24px, 2.25vw, 34px);--table-hold-seal-size: clamp(36px, 3.6vw, 51px);--table-round-size: 60px;--table-turn-font: 24px;--table-turn-note-font: 16px;--table-dock-right-width: 214px;font-variant-numeric:tabular-nums}.battle-table .table-icon{display:block;flex:none;width:var(--table-icon-size);height:var(--table-icon-size)}.battle-table :is(.table-top,.battle-action-dock){position:relative;grid-template-columns:var(--table-seat-piles-width) minmax(0,1fr) var(--table-seat-piles-width) var(--table-seat-side-width);gap:var(--table-seat-gap);padding:3px var(--table-seat-padding);border:0;background:none;box-shadow:none}.battle-table :is(.table-top,.battle-action-dock):after{position:absolute;inset-block:0;inset-inline:0 calc(var(--table-seat-padding) + var(--table-seat-side-width) + var(--table-seat-gap) / 2);border:1px solid var(--table-line);border-radius:10px;pointer-events:none;content:""}.battle-table .table-top{display:grid;grid-template-areas:"resources hand piles tools";align-items:center}.table-foe-resources,.table-tools,.table-my-resources{display:flex;align-items:center;gap:8px;min-width:0}.table-foe-resources{grid-area:resources;color:var(--table-foe)}.table-my-resources{grid-area:resources;color:var(--table-me)}.table-resource,.table-energy,.table-action{display:inline-flex;align-items:center;gap:8px;min-height:var(--table-action-height);padding:6px 10px;color:inherit;white-space:nowrap}.table-resource b{font-size:var(--table-action-font);line-height:1}.table-pile[data-act]{min-width:var(--table-action-height);justify-content:center;padding-inline:5px;border:1px solid #83dafc45;border-radius:7px;background:#253451}.table-pile[data-act]:hover,.table-pile[data-act]:focus-visible{background:#334967}.foe-seat{grid-area:hand;display:grid;justify-items:center;align-items:start;min-width:0;height:var(--table-seat-height);padding-inline:4px;overflow:hidden}.foe-seat,.dock-stage:has(.table-player-hand){position:relative;isolation:isolate;z-index:110}.foe-seat:before,.dock-stage:has(.table-player-hand):before{position:absolute;z-index:-1;inset-inline:0;height:min(100%,var(--table-hand-rack-height));background:var(--hand-rack-art) center / 100% 100% no-repeat;pointer-events:none;content:""}.foe-seat:before{--hand-rack-art: url(./hand-rack-foe.png);top:0;transform:scaleY(-1)}.dock-stage:has(.table-player-hand):before{--hand-rack-art: url(./hand-rack-own.png);bottom:0}.battle-table[data-phase=main]:is([data-viewer="0"][data-active="1"],[data-viewer="1"][data-active="0"]) .table-top:after{border-block-start-color:#f5a2ba}.battle-table[data-phase=main]:is([data-viewer="0"][data-active="0"],[data-viewer="1"][data-active="1"]) .battle-action-dock:after{border-block-end-color:#9fe7f6}.foe-hand{position:relative;width:min(100%,calc(var(--foe-card-width) + (var(--fan-count) - 1) * var(--foe-spacing)));height:100%}.foe-hand:empty:after{position:absolute;left:50%;top:50%;width:clamp(27px,5vw,45px);aspect-ratio:var(--card-ratio);transform:translate(-50%,-50%);border:1px solid #edb3c64d;border-radius:5px;content:""}.foe-hand-card{position:absolute;bottom:calc(var(--table-seat-inset) - var(--rise));left:calc((100% - var(--foe-card-width)) * var(--position));width:var(--foe-card-width);aspect-ratio:var(--card-ratio);border:1px solid #be9ea9;border-radius:6px;background:#242031;box-shadow:0 3px 7px #0d0a16c9;transform:rotate(var(--tilt));transform-origin:center 9%}.foe-card-flight{position:fixed;z-index:64;pointer-events:none;aspect-ratio:var(--card-ratio);border:1px solid #ceb4c6;border-radius:6px;background:#242031;box-shadow:0 8px 14px #0d0a16dc}.foe-hand-card:before,.foe-card-flight:before{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:var(--battle-back) center / cover no-repeat;transform:rotate(180deg);content:""}.table-pile,.table-discard{position:relative;border:0;background:transparent}.table-pile[data-act]{border-color:#85dff939;background:#161f34}.table-stack,.table-discard img,.empty-discard{position:relative;width:var(--table-pile-card-width);height:var(--table-resource-card-height);flex:none;border-radius:7px}.table-stack i{--deck-layer-offset: calc((var(--deck-top-depth) - var(--depth)) * var(--table-stack-step));position:absolute;inset:var(--deck-layer-offset) 0 auto;height:var(--table-resource-card-height);border:1px solid #a392ad;border-radius:inherit;background:#272035 var(--battle-back) center / cover no-repeat}.table-hand-piles.foe .table-stack i{inset:auto 0 var(--deck-layer-offset);transform:rotate(180deg)}.table-stack.empty,.table-discard img,.empty-discard{border:1px solid color-mix(in srgb,currentColor 39%,transparent);background:#151827ad}.table-stack.empty,.empty-discard{display:grid;place-items:center}.table-discard img{object-fit:contain}.table-discard:hover,.table-discard:focus-visible{background:#80647855;border-radius:6px}.table-discard b,.table-station .table-pile b{position:absolute;right:0;bottom:0;min-width:1.2em;padding:3px 5px;border-radius:5px;background:#1b1728;color:#e6d5e3;font-size:clamp(14px,calc(var(--table-action-font) * .8),20px)}.table-energy{--charge: var(--table-foe);--table-gem-gap: 1px;--energy-icon-width: clamp(18px, 22cqi, 34px);position:relative;inline-size:100%;min-inline-size:0;padding:1px 3px;color:var(--charge);container-type:inline-size}.table-energy.me{--charge: var(--table-me)}.table-energy-status{display:grid;justify-items:start;min-inline-size:0;gap:3px}.table-energy b{color:#f4f6ff;font-size:clamp(14px,17cqi,var(--table-energy-font));line-height:1}.table-energy small{margin-left:1px;color:var(--charge);font-size:max(9px,.62em);font-weight:600}.table-charges{display:inline-flex;align-items:center;flex-wrap:wrap;min-inline-size:0;max-inline-size:calc(var(--energy-icon-width, var(--table-gem-width)) * 7 + var(--table-gem-gap) * 6);gap:var(--table-gem-gap)}.table-energy .table-charges{row-gap:0}.table-charges:empty{display:none}.table-charges i{flex:none;width:var(--energy-icon-width, var(--table-gem-width));aspect-ratio:1;border-radius:50%;background:var(--table-charge-art) center / contain no-repeat;filter:grayscale(1) brightness(.57)}.table-charges .charged{filter:none}.table-energy.foe .table-charges .charged{filter:hue-rotate(165deg)}.table-charges .charged.surplus{outline:1px solid #e5bc80}.table-tools{grid-area:tools;flex-wrap:wrap;justify-content:flex-end;gap:4px;color:#c1c4d9}.table-action{--action-light: #1a254347;justify-content:center;min-width:var(--table-action-height);border-radius:9px;background:linear-gradient(var(--action-light),var(--action-light)),url(./action-plate.png) center / 100% 100% no-repeat;color:inherit;font-size:var(--table-action-font)}.table-action:hover,.table-action:focus-visible,.table-action[aria-expanded=true]{--action-light: #accfff22;color:#fff}.table-action:disabled{opacity:.38}.battle-table .board-wrap{position:relative;isolation:isolate;border-radius:12px;background:#111b2c38}.table-station{--station-wash: #59243742;grid-area:piles;display:grid;grid-template-columns:repeat(2,var(--table-pile-card-width));justify-items:center;align-items:end;gap:var(--table-pile-gap);padding:var(--table-pile-block-padding) var(--table-pile-inline-padding);border-radius:7px;background:linear-gradient(var(--station-wash),var(--station-wash)),url(./station-rail-horizontal.png) center / 100% 100% no-repeat;box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 27%,transparent);color:var(--table-foe)}.table-hand-piles.foe{align-self:end;margin-block-end:calc(var(--table-seat-inset) - var(--table-pile-block-padding))}.table-hand-piles.me{align-self:start;margin-block-start:calc(var(--table-seat-inset) - var(--table-pile-block-padding))}.table-station.me{--station-wash: transparent;color:var(--table-me)}.table-station:has(.candidate-origin,[data-selection-destination],[aria-expanded=true]){box-shadow:0 0 10px color-mix(in srgb,currentColor,transparent 60%)}.table-station .table-resource{justify-content:center;min-width:0;min-height:0;padding:0}.table-station .table-pile[data-act]{background:transparent;border:0}.table-station .table-resource[aria-expanded=true]{outline:1px solid currentColor;border-radius:6px;box-shadow:0 0 9px color-mix(in srgb,currentColor,transparent 58%)}.battle-chronicle{z-index:113;width:min(350px,85vw);padding:14px 13px 16px 32px;border:0;border-radius:0;background:url(./chronicle-plate.png) center / 100% 100% no-repeat;box-shadow:none;filter:drop-shadow(0 16px 30px #05060fb3)}.battle-chronicle .log-head{padding:5px 4px 5px 10px;border:0;background:none;box-shadow:none}.battle-chronicle .log-close{min-width:46px;min-height:46px;font-size:25px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.battle-chronicle .log-body{padding:8px 6px 8px 4px;border:0;background:none;box-shadow:none}.battle-log-turn+.battle-log-turn{margin-top:12px}.battle-log-turn h3{margin:0 0 4px;padding:4px 7px;border-left:2px solid #c9b7cf;background:#9a8bb121;color:#eee1f3;font-size:12px}.battle-log-turn ol{margin:0 0 0 8px;padding:0;border-left:1px solid #9c8db756;list-style:none}.battle-log-step{--entry-color: #9f9aaf;--entry-art: url(./turn-seal.png);display:grid;grid-template-columns:21px minmax(0,1fr);align-items:start;gap:5px;padding:3px 4px;border-bottom:0}.battle-log-step.mine{--entry-color: var(--table-me)}.battle-log-step.foe{--entry-color: var(--table-foe)}.battle-log-step.play{--entry-art: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAALpElEQVR42u2de3BU1R3Hf+e+9+7dvTcvEx6BJAwgYjRDNjFTh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TAPHL9YaBrutyMAMKbMzV491r5gY1mW0R3R/hmJ6S2btreeyoq9imzbZGn2+3wekX1eEtkau2N7Ck0dgcSQ8kGJwtPVVYowkIJNOKq1haLaT5wU8HJSgMuC4nxF4n4p8LTtv+hq74xpnx0NJMIxfUDz8GAKNnHVOB0IqWs3bN2zORvbMWsFuDwoKh5uJctQcn/HmqZlHfs6rB080Z1Q9d4DwmAKNppuBgMh9TknB7ycF6CHB2bVeiSR+Z0icT+kKNLvnUWqZloHTwYTR8+E1Z6vTgjAQAs2pmklAmH1zXBUf/S1HXtD2d52OSHAFUHxRdnN3Qqk/zuew1HN3Hc0EAcAqK5SBNuCjQVmMKL+KxLTl2RLwMs7AS4Lijd63dw6t4uZnIzfF4npn3dH1GUbt7XuzrW2ykkBLg+KBR7uVzxHD+lPhBOqcaYrpK7J1oCX9wIAAMyfXkMXeLgnFIlbzDCUZyDvuXSv/YtdIfXJzbvajFxun5wXoJegOJ+iCNdHwFMDYXVzrgQ8FKAXmub4xntF5oVv/Q3DpXvtu6N6y5/eaz2UT+2RdwJcHhRliVsPABAMays2btvzYT62Q94KgFwEnxWMAiAoAIICICgAggIgKACCAiAoAIICIPnA/wCHViivY2u9BgAAAABJRU5ErkJggg==)}.battle-log-step.effect{--entry-art: url(./fx-cast.png)}.battle-log-step.combat{--entry-art: url(./fx-hit.png)}.battle-log-step.result{--entry-art: var(--result-art, url(./medal-draw.png))}.battle-log-step i{width:20px;height:20px;border-left:2px solid var(--entry-color);background:var(--entry-art) center / contain no-repeat}.battle-control-list{display:grid;gap:5px;margin:8px 0 0;padding:0;list-style:none}.battle-control-list li{display:grid;grid-template-columns:29px auto minmax(0,1fr);gap:6px;align-items:center;color:#c9d2df;font-size:13px}.battle-control-list li:before{width:28px;height:28px;background:var(--control-help-art) center / contain no-repeat;content:""}.battle-control-list b{color:#e9e5fb}.battle-control-list [data-control=view]{--control-help-art: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAv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rz25eH5u97hreJ4aCvmdFnq+rP3fg5MeGdWYDTXOBpkImhoJuhhPcAKyyQRni9Tdt+j9FcZLhhEkAjmQQ6ZNxADAZLc3rDTZ3tQ41mQw0lQBuywNNciZmAtOYuPwlHvzsf2rHMhjNqG1oxDb99vWmMkjw/Rs6UiZDpCPJzrd2tAMAvvj0M00Q2Qz1TQCcciYMRjP2dPfKLfG6Eo2EcW1kCOomrrWjHW2dhwAAn7suaILIuJCJoeAogB1yJvw+DwZaW9SnDSlryMCBd9XO3wUAivr3IKCt85CcDQfDCX15y8B/ZSMN+U06ShllOMEBoE/luKZM5KQXSs5GGgVRkN6BGAo6APSrHNaWCa2zbL4umuUdNMuT3o/OkzvhuHIdOe2UZ+W+rE8lChGioAAygSi4eWC9f0K1U1E534XyIerdSd6VAPRLgIUPoIaQTzCSnS94ABUEUjm/KQCKQ32hy987W8T3SLC6kgAAAABJRU5ErkJggg==)}.battle-control-list [data-control=place]{--control-help-art: url(./slot-legal.png)}.battle-control-list [data-control=ready]:before{justify-self:center;width:23px;height:12px;border:1px solid #d7a95e;border-block-start-color:#ffe3a3;border-radius:2px;box-shadow:0 0 4px #efb85a73}.battle-control-list [data-control=aim]{--control-help-art: url(./choice-target.png)}.battle-table .board-wrap:after,.battle-table .lane:not(.settled-mine,.settled-lost,.settled-tied):after{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:var(--table-frame-gradient);mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;content:""}.battle-table .board-wrap:after{padding:1px}.battle-table .lane{position:relative}.battle-table .lane>.slots.foe{margin-block-start:calc(var(--status-icon-size) + var(--status-edge-gap))}.battle-table .lane>.slots.me{margin-block-end:calc(var(--status-icon-size) + var(--status-edge-gap))}.battle-table .lane:not(.settled-mine,.settled-lost,.settled-tied){border-color:transparent}.battle-table .lane:not(.settled-mine,.settled-lost,.settled-tied):after{padding:2px;opacity:.72}.battle-table .lane.leading:not(.settled-mine,.settled-lost,.settled-tied):after{opacity:1}.battle-table .lane{--zone-base: linear-gradient(180deg, #842d497a, #17223436 50%, #1b527e7a);border-color:var(--table-line);background:var(--zone-target-own, none),var(--zone-target-foe, none),var(--zone-source-light, none),var(--zone-base);box-shadow:inset 0 1px #f5a2ba38,inset 0 -1px #91e9fc38}.board-wrap[data-selection] .lane:has(.slots.me .selection-target){--zone-target-own: linear-gradient(0deg, #7edfff45, transparent 50%)}.board-wrap[data-selection] .lane:has(.slots.foe .selection-target){--zone-target-foe: linear-gradient(180deg, #f0a5bf45, transparent 50%)}.board-wrap[data-selection] .lane:has(.selection-source){--zone-source-light: radial-gradient(ellipse at center, #a794e435, transparent 70%)}.battle-table .slot:not(:has(.card),.valid,.selection-target,.play-drop-target){background:var(--slot-art, url(./slot-frame.png)) center / 100% 100% no-repeat}.battle-table .slots.foe{--slot-art: url(./slot-frame-foe.png)}.battle-table .slot.valid[data-act=play]:not(.play-drop-target){border-color:#8ce3f5;background:url(./slot-legal.png) center / 100% 100% no-repeat,#30648150}.fine-pointer .battle-table .slot.valid[data-act=play]:not(.play-drop-target):hover,.battle-table .slot.valid[data-act=play]:not(.play-drop-target):focus-visible{border-color:#fff1c1;background:url(./slot-landing.png) center / 100% 100% no-repeat,#ba93504d}.card-status-rail{--status-badge-height: clamp(13px, 18cqw, 20px);--status-font-size: clamp(8px, 11cqw, 12px);position:absolute;z-index:3;inset:auto 2px 2px;display:grid;grid-template-columns:repeat(2,max-content);grid-template-rows:repeat(2,var(--status-badge-height));gap:2px;align-content:end;justify-content:start;direction:ltr;pointer-events:none}.slot.awaiting-entry .card-status-rail,.card-status-rail:empty{visibility:hidden}.card-status-badge{display:grid;place-items:center;min-width:0;height:var(--status-badge-height);padding:0 1px;border:1px solid #7bb6d5;border-radius:999px;background:linear-gradient(#245775ed,#12324ded);color:#e5f7ff;font-size:var(--status-font-size);font-weight:750;line-height:1;white-space:nowrap;text-shadow:0 1px 2px #061725;box-shadow:0 1px 3px #04101ba0}.card-status-badge>span{translate:0 -.05em}.card-status-badge.ready{border-color:#f0d18d;background:linear-gradient(#75572df2,#42331cf2);color:#fff0c2}.card-status-badge.used{border-color:#8c9ba8;background:linear-gradient(#455260ed,#25313bed);color:#d4dce3}.card-status-badge.silenced{border-color:#a6bdd0;background:linear-gradient(#4b6072ed,#26384bed)}.card-status-cycle{grid-column:2;grid-row:1;height:var(--status-badge-height);overflow:hidden;animation:status-badge-flash 1.8s ease-in-out infinite}.card-status-sequence{display:grid;grid-auto-rows:var(--status-badge-height);animation:status-badge-page var(--status-cycle) steps(var(--status-pages),end) infinite}@keyframes status-badge-page{to{transform:translateY(calc(-1 * var(--status-pages) * var(--status-badge-height)))}}@keyframes status-badge-flash{0%,to{opacity:.45}15%,85%{opacity:1}}@media (prefers-reduced-motion: reduce){.card-status-cycle{animation:none}.card-status-sequence{animation-duration:calc(var(--status-pages) * 3.2s)}}.table-meter{--control: #c4c9da;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;width:100%;min-width:0;padding:4px 7px;background:linear-gradient(90deg,transparent,#121321d8 20%,#121321d8 80%,transparent)}.table-meter.held-me{--control: var(--table-me)}.table-meter.held-foe{--control: var(--table-foe)}.table-power{--score-tone: var(--table-me);display:grid;place-items:center;justify-self:start;inline-size:min(100%,var(--table-power-size));aspect-ratio:1;padding-inline:2px;border:1px solid color-mix(in srgb,var(--score-tone) 65%,#454457);border-radius:7px;background:linear-gradient(160deg,color-mix(in srgb,var(--score-tone) 23%,#202132),#171b2b);font-size:min(var(--table-power-font),calc(var(--table-power-size) * .48));font-weight:800;line-height:1;color:var(--score-tone);text-shadow:0 1px 3px #101626}.table-power.foe{--score-tone: var(--table-foe);justify-self:end}.table-power.wide-score{position:relative;z-index:1;overflow:visible;font-size:min(calc(var(--table-power-font) * 1.25),calc(var(--table-power-size) * .62));white-space:nowrap}.table-power.ahead{border-color:currentColor;box-shadow:inset 0 0 7px color-mix(in srgb,currentColor 28%,transparent);text-shadow:0 0 8px currentColor}.table-sector{display:grid;place-items:center}.zone-hold-seal{display:grid;place-items:center;width:var(--table-hold-seal-size);aspect-ratio:1;border:1px solid currentColor;border-radius:50%;background:#182031;color:var(--control);font-size:calc(var(--table-hold-seal-size) * .44);font-style:normal;font-weight:700;line-height:1;box-shadow:inset 0 0 0 3px #131a27}.zone-hold-seal>span{translate:0 -.05em}.battle-table .battle-action-dock{grid-template-areas:"resources hand piles right";grid-template-rows:var(--dock-block);align-items:start;--dock-command-block: 0px;--dock-hand-headroom: var(--table-hand-headroom);--dock-hand-inline: var(--table-hand-card-width);--dock-block: var(--table-seat-height)}.table-end-confirm{display:grid;gap:var(--hud-gap)}.battle-table>:is(.modal-mask,.dc-bar){z-index:120}.battle-table .table-top :is(.table-foe-resources,.table-tools),.battle-table .battle-action-dock :is(.table-my-resources,.dock-right){align-self:center;max-block-size:var(--table-seat-height);overflow:auto;scrollbar-width:thin}.battle-table .battle-action-dock .dock-right>*{flex-shrink:0}.battle-table .dock-stage .table-player-hand{justify-content:safe center}@media (orientation: portrait),(min-width: 861px) and (min-height: 601px),(min-width: 861px) and (min-height: 521px) and (pointer: fine){.battle-table .dock-stage .hand-card:not(:last-child){margin-inline-end:calc(-1 * var(--table-hand-overlap))}}.battle-table .dock-stage>.table-player-hand{container-type:inline-size;align-items:flex-start;padding-block-start:var(--table-seat-inset);--hand-fit-overlap: calc((var(--hand-count, 1) * var(--dock-hand-inline) + 2 * var(--hand-fan-edge, 0px) - 100cqw) / max(var(--hand-count, 1) - 1, 1))}.battle-table .dock-stage>.table-player-hand .hand-card:not(:last-child){margin-inline-end:calc(-1*clamp(var(--table-hand-overlap),var(--hand-fit-overlap),var(--dock-hand-inline) * .76))}@media (orientation: landscape){.battle-table .dock-stage>.table-player-hand{--hand-fan-edge: calc(var(--dock-hand-inline) * .13 + 4px);padding-inline:0;scroll-padding-inline:var(--hand-fan-edge)}.battle-table .dock-stage>.table-player-hand:before,.battle-table .dock-stage>.table-player-hand:after{flex:0 0 var(--hand-fan-edge);pointer-events:none;content:""}}.table-player-hand .hand-card[data-playable=true]:not(.selected,.selection-target,.selection-source,.selection-chosen) .card{border-color:#b5f0ff;box-shadow:0 0 0 1px #7cdeff,0 0 20px 3px #5dc8eba6,0 6px 14px #070612b3}.table-player-hand .hand-empty{align-self:center;flex:none;width:clamp(27px,5vw,45px);aspect-ratio:var(--card-ratio);padding:0;border:1px solid #a6e9f54d;border-radius:5px}.battle-table .dock-right{min-width:var(--table-dock-right-width);align-items:stretch;gap:7px}.battle-table .battle-action-dock .dock-right{min-width:0}.table-turn{--team: var(--table-me);position:relative;display:flex;align-items:center;gap:10px;padding:5px 8px;border-left:2px solid var(--team);background:linear-gradient(90deg,#6ccae329,#19223645)}.table-turn.foe{--team: var(--table-foe);background:linear-gradient(90deg,#cf7a9c31,#19223645)}.table-turn.pending{border-color:var(--table-gold);background:#94724538}.table-round{display:grid;place-items:center;width:var(--table-round-size);height:var(--table-round-size);flex:none;color:var(--team);background:url(./turn-seal.png) center / contain no-repeat;font-size:calc(var(--table-round-size) * .5);font-weight:700}.table-phase{display:grid;gap:1px;line-height:1.15;white-space:nowrap}.table-phase small{font-size:var(--table-turn-note-font);color:var(--team)}.table-phase strong{font-size:var(--table-turn-font)}.table-turn.pending strong{color:var(--table-gold)}.table-turn.running{padding-bottom:15px}.table-running{position:absolute;inset:auto 4px 1px;height:12px;display:flex;align-items:center;justify-content:center;gap:4px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcAAAABACAYAAACN4qcfAAANTklEQVR42u3dXW8UV57H8d//nFPVD6aNG2xDiG1gY29syDI7IrkaaTTJZOZN5GrEZN7BstJucjXMXoR3sEy0F6u92Ju9GWlHw4w0Gp72IjLLoiE4AgHBBgI2dmODu11V5/z3otum/QB2+ymAfx/JUtK0u2y6xFf/qj5Vgs0nICIi2nz6KsVKGEIiIvoew7fuKG4kUrLkv+X5Y/2MHxERbaKb2hQ8XRK+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BHbAAAAABJRU5ErkJggg==) center / 100% 100% no-repeat}.table-running i{width:12px;height:12px;background:url(./action-beat.png) center / contain no-repeat;animation:table-running-beat 1s ease-in-out infinite alternate}.table-running i:nth-child(2){animation-delay:-.32s}.table-running i:nth-child(3){animation-delay:-.64s}@keyframes table-running-beat{0%,26%{opacity:.28}84%,to{opacity:1}}@media (prefers-reduced-motion: reduce){.table-running i{animation:none}}.battle-table .end-turn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:var(--table-action-height);padding:10px 14px;border-radius:9px;font-size:var(--table-action-font)}.battle-table .end-turn:not(:disabled){background:linear-gradient(180deg,#79533b36,#44252c3c),url(./action-plate.png) center / 100% 100% no-repeat;border-color:#cda377;color:#fff1ce;box-shadow:0 3px 12px #f0a92c61}.battle-table .board-wrap .lane.settled-mine{border-color:#a7eafd;box-shadow:inset 0 0 16px #69cce45b,0 0 4px #69cce446}.battle-table .board-wrap .lane.settled-lost{border-color:#f3a2b8;box-shadow:inset 0 0 16px #d677955b,0 0 4px #d6779546}.battle-table .board-wrap .lane.settled-tied{border-color:#c3b5d0}.table-player-hand .hand-card{bottom:var(--hand-rise, 0px);rotate:var(--hand-angle, 0deg);transform-origin:center 91%;transition:transform .18s cubic-bezier(.2,.8,.3,1.2),rotate .18s ease}.table-player-hand .hand-card:is(:hover,.selected,.is-play-dragging),.selection-dock .table-player-hand .hand-card{rotate:0deg}@media (prefers-reduced-motion: reduce){.table-player-hand .hand-card{transition:none}}@media (max-width: 1180px),(max-height: 664px){.table-action>span{display:none}}@media (max-width: 860px){.battle-table{--table-hand-card-width: clamp(82px, 28vw, 134px);--table-hand-headroom: 10px;--table-hand-rack-height: clamp(70px, 16dvh, 150px);--table-icon-size: clamp(21px, 6.5vw, 32px);--table-action-height: clamp(40px, 12vw, 52px);--table-action-font: clamp(16px, 4.7vw, 21px);--table-gem-width: clamp(14px, 4vw, 20px);--table-gem-gap: 3px;--table-energy-font: 23px;--table-power-size: clamp(34px, 10.5vw, 47px);--table-power-font: clamp(19px, 5.4vw, 25px);--table-hold-seal-size: clamp(25px, 7.7vw, 36px);--table-round-size: clamp(38px, 11vw, 52px);--table-turn-font: clamp(15px, 4.6vw, 19px);--table-turn-note-font: 13px;--table-dock-right-width: clamp(126px, 38vw, 176px)}.table-foe-resources,.table-my-resources{gap:4px}.table-tools{gap:1px}.table-action{padding-inline:4px}.table-foe-resources .table-resource,:is(.table-foe-resources,.table-my-resources) .table-energy{gap:5px;padding-inline:3px}}@media (orientation: landscape) and (max-height: 600px){.app.battle-table{--table-hand-card-width: clamp(28px, min(13dvh, calc(var(--battle-frame-inline) * .105)), 88px);--table-hand-headroom: clamp(2px, 1dvh, 6px);--table-hand-rack-height: clamp(35px, 12dvh, 60px);--table-icon-size: clamp(13px, 4dvh, 27px);--table-action-height: clamp(24px, 8dvh, 44px);--table-action-font: clamp(12px, 3.3dvh, 18px);--table-round-size: clamp(20px, 8dvh, 40px);--table-turn-font: clamp(12px, 3.3dvh, 18px);--table-turn-note-font: 11px;--table-dock-right-width: clamp(65px, calc(var(--battle-frame-inline) * .19), 150px)}.foe-seat:before{--hand-rack-art: url(./hand-rack-foe-mobile.png)}.dock-stage:has(.table-player-hand):before{--hand-rack-art: url(./hand-rack-own-mobile.png)}}@media (orientation: landscape) and (pointer: fine) and (min-height: 601px) and (min-width: 701px) and (max-width: 1060px){.app.battle-table{--table-hand-card-width: min(clamp(82px, 13vw, 134px), calc((100vw - 245px) / 5.4))}}@media (orientation: portrait) and (max-width: 520px){.table-meter{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"sector sector" "foe me";justify-items:center;gap:3px;padding-inline:3px}.table-meter .table-sector{grid-area:sector}.table-meter .table-power.foe{grid-area:foe}.table-meter .table-power.me{grid-area:me}}.game-lobby.tabletop-home{--lobby-cyan: #b2eaf1;--lobby-gold: #f0d29a;isolation:isolate;height:100%;overflow:auto;background:#101020}.lobby-art{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;overflow:hidden;pointer-events:none}.lobby-art .cover-intro-frame{-webkit-mask-image:linear-gradient(transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(transparent,#000 7%,#000 93%,transparent)}.lobby-art:after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#040c18b8,#08152213 56%,#09111f54),linear-gradient(0deg,#060e1bd9,#060e1b17 62%);content:""}.lobby-shell{display:grid;grid-template-columns:clamp(15rem,27vw,24rem) minmax(0,1fr);min-height:100%}.lobby-nav{display:flex;flex-direction:column;justify-content:center;gap:clamp(12px,3.2dvh,35px);padding:clamp(15px,3vw,44px);border-inline-end:1px solid #99bac963;background:linear-gradient(112deg,#07101af5 5%,#101d2de6 72%,#0b1c2acb);box-shadow:10px 0 28px #060c174f}.lobby-brand{display:flex;align-items:center;gap:clamp(7px,1.3vw,16px);padding-block-end:clamp(8px,2.4dvh,24px);border-block-end:1px solid #b3d9e65c}.lobby-brand .tabletop-unit-mark{width:clamp(35px,4.8vw,68px);height:auto;filter:drop-shadow(0 0 9px #a7dcf04b)}.lobby-brand h1{margin:0;color:#f0f9fa;font-size:clamp(23px,3.4vw,46px);line-height:1.07;letter-spacing:.12em}.lobby-brand p{margin:5px 0 0;color:#b1cad6;font-size:clamp(10px,1.2vw,14px);line-height:1.3}.lobby-nav-group{display:grid;gap:4px}.lobby-option{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) 7px;align-items:center;gap:clamp(6px,1.1vw,14px);min-height:clamp(35px,6dvh,54px);padding:4px 11px;border:1px solid transparent;text-align:start;color:#ccdde5;font-size:clamp(14px,1.5vw,20px);font-weight:600}.lobby-option .table-icon{width:21px;height:21px;color:#8daebe}.lobby-option i{width:6px;height:6px;border:1px solid #9fb0bd6d;transform:rotate(45deg)}.lobby-option[aria-expanded=true]{border-color:#c0deeb5c;border-inline-start-color:var(--lobby-gold);background:linear-gradient(90deg,#203c51d9,#294255a1),url(./action-plate.png) center / 100% 100% no-repeat;color:#f3faff;box-shadow:0 5px 16px #07101b70}.lobby-option[aria-expanded=true] :is(i,.table-icon){color:var(--lobby-gold)}.lobby-option[aria-expanded=true] i{border-color:currentColor;background:currentColor;box-shadow:0 0 7px currentColor}.lobby-option:focus-visible{outline:2px solid var(--lobby-cyan);outline-offset:2px}.lobby-content{display:grid;align-content:end;justify-items:end;gap:clamp(8px,1.8dvh,17px);min-width:0;padding:clamp(16px,5.4vw,92px) clamp(14px,5.4vw,92px) clamp(16px,5.2dvh,56px)}.lobby-panel{position:relative;width:min(100%,690px);min-width:0;padding:clamp(12px,2.6vmin,30px) clamp(12px,2.8vw,34px);border:1px solid #a3c1d182;border-block-start-color:#ead3a0b8;background:linear-gradient(120deg,#0a1523f5 5%,#172b3aee 65%,#0a1723cf);box-shadow:0 16px 45px #020712a6}.lobby-panel:before,.lobby-panel:after{position:absolute;width:14px;height:14px;border:solid #e9d3a4;pointer-events:none;content:""}.lobby-panel:before{inset:-1px auto auto -1px;border-width:2px 0 0 2px}.lobby-panel:after{inset:auto -1px -1px auto;border-width:0 2px 2px 0}.lobby-detail[hidden]{display:none}.lobby-detail:not([hidden]){animation:lobby-detail-reveal .16s ease-out both}@keyframes lobby-detail-reveal{0%{opacity:.45;transform:translate(4px)}}.lobby-panel-title{margin:0 0 .27em;font-size:clamp(23px,3.5vw,46px);line-height:1.16;color:#f2f8fb;letter-spacing:.06em}.lobby-panel-copy{margin:0 0 clamp(11px,2.2dvh,23px);color:#d3e2e8;font-size:clamp(14px,1.65vw,19px);line-height:1.55;overflow-wrap:anywhere}.lobby-deck-panel{padding-block:clamp(10px,2vmin,22px)}.lobby-deck-panel .lobby-panel-title{font-size:clamp(18px,2.2vw,28px);letter-spacing:.08em}.lobby-button{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:clamp(36px,6.5dvh,44px);padding:5px clamp(8px,1.3vw,14px);border:1px solid #a3c1d182;background:linear-gradient(105deg,#354c60,#243543);color:#e5eff4;font-size:clamp(13px,1.35vw,17px);font-weight:700;line-height:1.25}.lobby-button:hover{background:linear-gradient(105deg,#49677d,#314859)}.lobby-button:is(.primary,[aria-pressed=true]){border-color:#d6b47d;background:linear-gradient(105deg,#816345,#4e3e37);color:#fff1d5}.lobby-button:is(.primary,[aria-pressed=true]):hover{background:linear-gradient(105deg,#a17a52,#665143)}.lobby-button:focus-visible{outline:2px solid var(--lobby-cyan);outline-offset:-3px}.lobby-button .table-icon{width:15px;height:15px;flex:none}.lobby-deck-select{display:block;width:100%;margin-block-start:8px;color:var(--lobby-gold);color-scheme:dark;cursor:pointer}.game-lobby .lobby-detail .tabletop-link-panel{margin:0}@media (max-height: 590px) and (orientation: landscape){.lobby-nav{gap:8px;padding-block:12px}.lobby-brand{padding-block-end:8px}.lobby-brand .tabletop-unit-mark{width:37px}.lobby-brand h1{font-size:24px}.lobby-nav-group{gap:2px}.lobby-option{min-height:31px;font-size:14px}.lobby-content{padding-block:12px}}@media (max-width: 600px){.lobby-shell{grid-template-columns:clamp(112px,37vw,200px) minmax(0,1fr)}.lobby-nav{padding-inline:8px}.lobby-brand{align-items:start;flex-direction:column}.lobby-option{grid-template-columns:15px minmax(0,1fr);padding-inline:4px}.lobby-option .table-icon{width:14px;height:14px}.lobby-option i{display:none}.lobby-content{padding-inline:8px}.lobby-panel{padding-inline:10px}.lobby-button{gap:6px}}@media (orientation: portrait){.game-lobby{--lobby-inset-start: max(12px, env(safe-area-inset-left));--lobby-inset-end: max(12px, env(safe-area-inset-right));--lobby-hero-end: calc(var(--portrait-cover-center) + 28.125vw)}.game-lobby .lobby-shell{display:flex;flex-direction:column}.game-lobby .lobby-nav{position:relative;gap:5px;padding:max(calc(72px + env(safe-area-inset-top)),calc(var(--lobby-hero-end) + 8px)) var(--lobby-inset-end) 8px var(--lobby-inset-start);border-inline-end:0;background:linear-gradient(180deg,#09121ebc,transparent 75px,transparent calc(var(--lobby-hero-end) - 28px),#0c1827ee var(--lobby-hero-end));box-shadow:none}.game-lobby .lobby-shell:has(.lobby-detail:not([hidden]) .tabletop-link-panel) .lobby-nav{padding-block-start:calc(74px + env(safe-area-inset-top));background:#0c1827ee}.game-lobby .lobby-brand{position:absolute;inset:max(11px,env(safe-area-inset-top)) var(--lobby-inset-end) auto var(--lobby-inset-start);flex-direction:row;align-items:center;padding:0;border:0;text-shadow:0 2px 7px #07101b}.game-lobby .lobby-brand h1{font-size:clamp(23px,5.5vw,37px)}.game-lobby .lobby-brand p{font-size:clamp(12px,2.9vw,16px)}.game-lobby .lobby-nav-group{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.game-lobby .lobby-nav-group:last-child{grid-template-columns:repeat(3,minmax(0,1fr))}.game-lobby .lobby-option{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:52px;padding:5px 2px;border-color:#62899b60;border-radius:6px;background-color:#142638;font-size:clamp(12px,3.2vw,15px);line-height:1.15;text-align:center}.game-lobby .lobby-option[aria-expanded=true]{border-color:#d4b586}.game-lobby .lobby-option .table-icon{width:17px;height:17px}.game-lobby .lobby-option i{display:none}.game-lobby .lobby-content{justify-items:stretch;gap:9px;padding:7px var(--lobby-inset-end) max(14px,env(safe-area-inset-bottom)) var(--lobby-inset-start);background:linear-gradient(180deg,#0c1827ee,#0c1827a3)}.game-lobby .lobby-panel{width:100%;padding:12px}.game-lobby .lobby-panel-copy{margin-block-end:10px}.game-lobby .lobby-button{min-height:44px}.game-lobby .lobby-detail>.lobby-button{width:100%}.game-lobby .tabletop-link-panel textarea{font-size:16px}.game-lobby .tabletop-link-panel .row .btn{min-inline-size:min(112px,100%);min-block-size:44px}}@media (prefers-reduced-motion: reduce){.lobby-detail:not([hidden]){animation:none}}.card-hover-preview,.card-hover-preview *{pointer-events:none}.card-hover-preview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:230;display:grid;place-items:center}.card-hover-art,.card-preview-measure{width:min(calc(100vw - 2rem),31.2rem,66dvh,calc((100dvh - 2rem) * (var(--card-ratio))));aspect-ratio:var(--card-ratio)}.card-hover-art{position:relative}.card-preview-measure{position:fixed;visibility:hidden;pointer-events:none}.card-hover-art[data-positioned]{position:fixed;left:var(--hover-card-left);top:var(--hover-card-top);width:var(--hover-card-width)}.card-hover-art>.card{transform:none;border-color:#e2efff80;border-radius:clamp(.5rem,1.5vmin,1rem);box-shadow:0 16px 44px #000a,0 0 26px #9bbeff3d}.card-inspector{position:fixed;top:0;right:0;bottom:0;left:0;z-index:230;pointer-events:none;color:#e6f1f5}.inspector-backdrop{display:none}.card-inspector-panel{--inspector-rule-font: 15px;--inspector-info-font: calc(var(--inspector-rule-font) + 2px);position:fixed;left:var(--inspector-left, auto);top:var(--inspector-top, 16px);right:16px;display:flex;flex-direction:column;gap:8px;width:var(--inspector-width, min(320px, calc(100vw - 32px) ));max-height:var(--inspector-height, min(620px, calc(100dvh - 32px) ));padding:2px;border:12px solid transparent;border-image:url(./pile-spread-base.png) 48 / 12px / 0 stretch;background:linear-gradient(135deg,#14293bc4,#081321a8) padding-box;box-shadow:none;filter:drop-shadow(0 16px 22px #020811b8);pointer-events:auto;animation:inspector-reveal .16s ease-out}.inspector-head{display:flex;align-items:center;gap:8px;flex:none;padding-bottom:8px;border-bottom:1px solid #91bed449}.inspector-head>.tabletop-unit-mark{width:28px;height:28px}.inspector-heading{flex:1;min-width:0}.inspector-heading h2{margin:0;color:#f4f8fc;font-size:20px;font-weight:700;line-height:1.25}.inspector-heading p{margin:3px 0 0;color:#b8d6e3;font-size:13px;line-height:1.45}.inspector-close{flex:0 0 34px;display:grid;place-items:center;width:34px;height:34px;padding:0;align-self:flex-start;color:#e5f5ff;background:url(./turn-seal.png) center / contain no-repeat;font:24px/1 sans-serif}.inspector-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#7fb6cc #132331}.inspector-hero{display:grid;grid-template-columns:minmax(0,96px) minmax(0,1fr);align-items:start;gap:10px;padding:2px 3px 10px}.inspector-art{width:100%;max-width:152px;aspect-ratio:var(--card-ratio);justify-self:center}.inspector-card-image{display:block;width:100%;height:100%;object-fit:contain;border-radius:5px;box-shadow:0 6px 16px #02081180}.inspector-facts{display:grid;gap:10px;min-width:0}.inspector-stats{display:grid;gap:6px}.inspector-stat{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:var(--inspector-info-font);line-height:1.4}.inspector-stat-label{color:#b8d6e3;font-size:inherit;font-weight:650}.inspector-stat b{font-size:inherit;line-height:inherit;font-weight:700;font-variant-numeric:tabular-nums}.inspector-stat.changed b{color:#b2f9d6}.inspector-stat small{color:#a8c2cf;font-size:inherit}.inspector-tags{display:flex;flex-wrap:wrap;gap:6px}.inspector-tags>span{display:inline-flex;align-items:center;justify-content:center;min-height:27px;min-width:0;padding:3px 7px;border:1px solid #7199ae8c;border-radius:5px;color:#c7e4ed;background:linear-gradient(135deg,#315063,#192f40);font-size:var(--inspector-info-font);font-weight:600;line-height:1.35}.inspector-rules{padding:0 12px;background:#07121e40;border-radius:7px}.inspector-rules p{margin:0;padding:12px 0;border-top:1px solid #7fa7bd38;color:#e4eef5;font-size:var(--inspector-rule-font);line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}.inspector-rule-kind{color:#aee8f6;font-weight:700}.inspector-variable{font-weight:750;font-variant-numeric:tabular-nums}.inspector-variable.first{color:#8aefb0}.inspector-variable.second{color:#ff9292}.inspector-rules p:first-child{border-top:0}.inspector-actions{flex:none;display:flex;justify-content:center;flex-wrap:wrap;gap:8px;padding-top:8px;border-top:1px solid #91bed449}.inspector-actions .card-skill-actions{display:contents}.inspector-actions :is(.btn,.card-skill-button),.inspector-art-actions>.btn{display:flex;align-items:center;justify-content:center;width:126px;height:42px;min-height:42px;flex:0 0 126px;margin:0;padding:4px 10px;border:0;border-radius:0;background:url(./action-plate.png) center / contain no-repeat;color:#e4f6ff;font-family:inherit;font-size:14px;font-weight:650;line-height:1.25;text-align:center;text-shadow:0 1px 2px #071320;transform:none;box-shadow:none}.inspector-actions .card-skill-label{display:block;overflow:visible}.inspector-actions .card-skill-button:not(:disabled){position:relative;isolation:isolate;background:none;color:#ffe9a8;filter:drop-shadow(0 0 6px #edb846a0)}.inspector-actions .card-skill-button:not(:disabled):before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url(./action-plate.png) center / contain no-repeat;filter:sepia(1) saturate(3.2) hue-rotate(355deg) brightness(1.22);pointer-events:none}.inspector-actions :is(.btn,.card-skill-button):disabled{color:#a5aeb7;opacity:.58;filter:grayscale(1);cursor:default}.inspector-actions :is(.btn,.card-skill-button):not(:disabled):hover{filter:brightness(1.2)}.inspector-art-actions>.btn:hover{filter:brightness(1.2)}.inspector-art-actions>.btn{width:108px;height:36px;min-height:36px;font-size:13px}.card-inspector-panel button:focus-visible{outline:2px solid #b7f1ff;outline-offset:2px}@keyframes inspector-reveal{0%{opacity:0}to{opacity:1}}@keyframes inspector-rise{0%{opacity:.6;translate:0 100%}to{opacity:1;translate:0 0}}@media (orientation: portrait),(hover: none) and (pointer: coarse){.card-preview-measure{display:none}.card-inspector.is-open .inspector-backdrop{display:block;position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background:#030a135e;pointer-events:auto}.card-inspector-panel{left:50%;right:auto;top:auto;bottom:max(6px,env(safe-area-inset-bottom));width:min(600px,calc(100vw - 12px));max-height:min(420px,52dvh);transform:translate(-50%);gap:10px;animation:inspector-rise .22s cubic-bezier(.2,.8,.2,1)}.inspector-head{gap:8px;padding-bottom:9px}.inspector-head>.tabletop-unit-mark{width:28px;height:28px}.inspector-heading h2{font-size:20px}.inspector-heading p{margin-top:3px;font-size:13px}.inspector-hero{grid-template-columns:minmax(0,72px) minmax(0,1fr);gap:10px;padding-bottom:10px}.inspector-facts{gap:10px}.inspector-rules p{line-height:1.65;padding-block:10px}.inspector-actions{padding-top:9px}}@media (orientation: portrait){.card-hover-preview{width:var(--portrait-frame-width);height:var(--portrait-frame-height);margin:auto}.card-inspector-panel{width:min(360px,calc(var(--portrait-frame-width) - 12px));top:calc((100dvh - var(--portrait-frame-height)) / 2 + var(--portrait-frame-height) * .06);bottom:auto;max-height:min(420px,calc(var(--portrait-frame-height) * .44));animation:inspector-reveal .16s ease-out}}@media (orientation: landscape) and (hover: none) and (pointer: coarse){.inspector-body{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:18px;align-items:start}.inspector-hero{grid-template-columns:minmax(0,100px) minmax(0,1fr)}}@media (max-height: 650px) and (hover: hover) and (pointer: fine) and (orientation: landscape){.card-inspector-panel{--inspector-rule-font: 14px}.inspector-hero{grid-template-columns:100px minmax(0,1fr)}.inspector-heading h2{font-size:20px}}@media (prefers-reduced-motion: reduce){.card-inspector-panel{animation:none}}.inspect-card-btn{position:absolute;right:2px;bottom:2px;z-index:4;display:grid;place-items:center;width:30px;height:30px;padding:0;color:#f3f7ff;background:#11182b;border:1px solid #7386b3;border-radius:50%;cursor:pointer}.inspect-card-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;pointer-events:none}@media (any-hover: hover) and (any-pointer: fine){.fine-pointer :is(.inspect-card-btn,[data-act=detail],[data-act=catalog-card]),.fine-pointer :is([data-act=detail],[data-act=catalog-card],.hand-card[data-playable=false]:not(.selection-target)) .card{cursor:var(--cursor-inspect, zoom-in)}}@media (min-width: 861px) and (any-hover: hover) and (any-pointer: fine){.fine-pointer .inspect-card-btn:not(:focus-visible){opacity:0;pointer-events:none}}.battle-effects{position:fixed;top:0;right:0;bottom:0;left:0;z-index:59;overflow:hidden;pointer-events:none}.battle-arrivals{z-index:220}.battle-turn-transition{--turn-light: #e9d49d;--turn-entry: -72px;position:absolute;z-index:8;display:flex;align-items:center;justify-content:center;gap:clamp(12px,3vw,30px);min-height:118px;padding:16px 24px;border:16px solid transparent;border-image:url(./pile-spread-base.png) 48 fill / 16px / 0 stretch;color:var(--turn-light);transform:translate(-50%,-50%);filter:drop-shadow(0 5px 18px #030915b0) drop-shadow(0 0 16px color-mix(in srgb,var(--turn-light) 38%,transparent));animation:battle-turn-reveal var(--turn-duration) cubic-bezier(.15,.72,.28,1) both;pointer-events:none}.battle-turn-transition.foe{--turn-light: #f6b1c1;--turn-entry: 72px}.battle-turn-transition.final-round{--turn-light: #ffab87}.battle-turn-transition:after{content:"";position:absolute;top:3px;right:6px;bottom:3px;left:6px;border-block:1px solid color-mix(in srgb,var(--turn-light) 70%,transparent);background:linear-gradient(100deg,transparent 10%,color-mix(in srgb,var(--turn-light) 14%,transparent) 48%,transparent 80%);pointer-events:none}.battle-turn-emblem{display:grid;place-items:center;width:clamp(50px,8vw,88px);aspect-ratio:1;background:url(./turn-seal.png) center / contain no-repeat;font-size:clamp(26px,4vw,46px);font-weight:750;line-height:1;text-shadow:0 1px 3px #04111d,0 0 13px var(--turn-light)}.battle-turn-copy{display:grid;gap:7px;text-align:center}.battle-turn-copy strong{font-size:clamp(25px,4.2vw,46px);line-height:1.2;font-weight:750;letter-spacing:.12em;text-shadow:0 2px 5px #071324,0 0 10px color-mix(in srgb,var(--turn-light) 48%,transparent)}.battle-turn-copy small{color:#e6edf4;font-size:clamp(13px,1.7vw,20px);line-height:1.25;letter-spacing:.08em}@keyframes battle-turn-reveal{0%{opacity:0;transform:translate(calc(-50% + var(--turn-entry)),-50%) scale(.91)}18%{opacity:1;transform:translate(-50%,-50%) scale(1.035)}27%,72%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(calc(-50% - var(--turn-entry) * .45),-50%) scale(.98)}}@media (orientation: portrait){.battle-turn-transition{min-height:94px;padding:10px 8px;border-width:12px;border-image-width:12px;gap:11px}.battle-turn-copy strong{font-size:clamp(23px,7vw,32px)}}@media (prefers-reduced-motion: reduce){.battle-turn-transition{animation:none}}.battle-table.awaiting-settlement .table-result-crest{visibility:hidden}.battle-zone-fx-host{position:relative;isolation:isolate}.battle-zone-sweep{--sweep-color: #ffd089;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,transparent 25%,var(--sweep-color) 50%,transparent 75%) 100% center / 250% 100% no-repeat;animation:battle-zone-sweep-slide var(--sweep-duration) linear var(--sweep-delay) both,battle-zone-sweep-opacity var(--sweep-duration) linear var(--sweep-delay) both}.battle-zone-sweep.sweep-boost{--sweep-color: #75e5f3}.battle-zone-sweep.sweep-suppress{--sweep-color: #c698fa}.battle-zone-sweep.with-strip{background:var(--sweep-strip) 0% center / 800% 100% no-repeat;animation-name:battle-fx-frames,battle-zone-sweep-opacity;animation-timing-function:steps(8,end),linear}@keyframes battle-zone-sweep-slide{to{background-position-x:0%}}@keyframes battle-zone-sweep-opacity{0%,to{opacity:0}23%,67%{opacity:.49}}.battle-arrival-card{position:absolute;z-index:1;aspect-ratio:var(--card-ratio);object-fit:contain;border:1px solid rgba(255,222,162,.8);border-radius:6%;box-shadow:0 5px 19px #05060bd1,0 0 15px #ffd6827a}.battle-arrival-card.foe-back{scale:1 -1}.battle-reveal-pedestal{position:absolute;z-index:0;aspect-ratio:432 / 512;transform:translate(-50%);object-fit:contain;pointer-events:none;filter:drop-shadow(0 7px 10px rgba(7,9,16,.72))}.battle-fx-node.battle-reveal-halo{width:clamp(192px,30vw,314px)}.opening-card-pending{opacity:0!important}.slot.awaiting-entry{pointer-events:none}.slot.awaiting-entry>.card{opacity:0}.hand-card.awaiting-hand-return{opacity:0;pointer-events:none}.hand-card.awaiting-draw{opacity:0!important;pointer-events:none}.battle-fx-node.table-cue{width:clamp(88px,16vw,184px)}.table-cue .battle-fx-value{font-size:clamp(24px,3.2vw,32px)}.battle-fx-node,.battle-fx-card,.battle-fx-trace,.battle-pile-piece,.battle-entry-flight{position:absolute;animation-delay:var(--fx-delay);animation-duration:var(--fx-duration);animation-fill-mode:both}.battle-fx-node{--fx-color: #ffd78b;width:clamp(136px,20vw,268px);aspect-ratio:1;transform:translate(-50%,-50%)}.battle-fx-node.local-impact{width:clamp(96px,14vw,182px)}.battle-fx-weaken{--fx-color: #d6aeff}.battle-fx-discard{--fx-color: #ffa9c4}.battle-fx-gain{--fx-color: #9cecf8}.battle-fx-silence{--fx-color: #c7c5e7}.battle-fx-stack-top{--fx-color: #ffdd98}.battle-fx-stack-bottom{--fx-color: #b9e2f7}.battle-fx-reveal-halo{--fx-color: #d4fbff}.battle-fx-node:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;box-shadow:inset 0 0 15px var(--fx-color),0 0 17px var(--fx-color);background:radial-gradient(closest-side,transparent 60%,color-mix(in srgb,var(--fx-color),transparent 65%) 86%,transparent 100%);animation:battle-fx-pulse var(--fx-duration) ease-out var(--fx-delay) both}.battle-fx-node.with-art:before{background:var(--fx-art) center / contain no-repeat;box-shadow:none}.battle-fx-node.has-motion:before{visibility:hidden}.battle-fx-node.value-only:before{display:none}.battle-fx-motion{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--fx-strip) 0% center / 800% 100% no-repeat;animation:battle-fx-frames var(--fx-duration) steps(8,end) var(--fx-delay) both,battle-fx-strip-opacity var(--fx-duration) linear var(--fx-delay) both}@keyframes battle-fx-frames{to{background-position-x:114.285714%}}@keyframes battle-fx-strip-opacity{0%,to{opacity:0}17%,85%{opacity:.96}}.battle-fx-sigil{position:absolute;left:70%;top:3%;width:clamp(60px,8vw,112px);aspect-ratio:1;background:var(--fx-sigil) center / contain no-repeat;filter:drop-shadow(0 0 7px rgba(240,214,149,.58));animation:battle-fx-stamp var(--fx-duration) ease-out var(--fx-delay) both}@keyframes battle-fx-stamp{0%{opacity:0;scale:.78}21%,73%{opacity:1;scale:1}to{opacity:0;scale:1}}.battle-fx-value{position:absolute;left:50%;bottom:75%;color:var(--fx-color);font-size:clamp(28px,4vw,46px);font-variant-numeric:tabular-nums;text-shadow:0 2px 2px #171018,0 0 7px #171018,0 0 13px #171018;white-space:nowrap;animation:battle-fx-number var(--fx-duration) ease-out var(--fx-delay) both}.battle-fx-card{z-index:-1;aspect-ratio:var(--card-ratio);border-radius:6%;box-shadow:0 0 18px #faca7e85;transform:translate(-50%,-50%);animation-timing-function:ease-out}.battle-fx-card.moving{animation-name:battle-fx-move}.battle-fx-card.leaving{animation-name:battle-fx-leave}.battle-entry-flight{z-index:2;aspect-ratio:var(--card-ratio);perspective:250px;filter:drop-shadow(0 6px 9px rgba(6,8,14,.68));animation-name:battle-entry-cross;animation-timing-function:cubic-bezier(.22,.67,.27,1)}.battle-entry-spin{position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d}.battle-entry-flight.turn-over .battle-entry-spin{animation:battle-entry-turn var(--fx-duration) ease-in-out var(--fx-delay) both}.battle-entry-flight.turn-back .battle-entry-spin{animation:battle-entry-cover var(--fx-duration) ease-in-out var(--fx-delay) both}.battle-entry-spin>img,.battle-travel-face{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;border-radius:6%;backface-visibility:hidden}.battle-travel-face{overflow:hidden;transform:none}.battle-travel-face .card-face-image{display:block;width:100%;height:100%;object-fit:contain}.battle-travel-face>.card-status-rail{inset:auto 2px 2px;pointer-events:none}.battle-travel-face{container-type:size}.battle-entry-back{transform:rotateY(180deg) scaleY(-1)}@keyframes battle-entry-cross{0%{opacity:0;transform:translate(-50%,-50%) scale(.71) rotate(-9deg)}21%,91%{opacity:1}to{opacity:0;transform:translate(calc(-50% + var(--entry-x)),calc(-50% + var(--entry-y))) scale(1)}}@keyframes battle-entry-turn{0%,66%{transform:rotateY(180deg)}95%,to{transform:rotateY(0)}}@keyframes battle-entry-cover{0%,62%{transform:rotateY(0)}95%,to{transform:rotateY(180deg)}}.battle-pile-piece{z-index:1;aspect-ratio:var(--card-ratio);border-radius:6%;box-shadow:0 3px 11px #050810bf;animation-timing-function:cubic-bezier(.2,.7,.29,1)}.battle-pile-piece.cut-packet{animation-name:battle-pile-cut}.battle-pile-piece.pile-transfer{animation-name:battle-pile-transfer}.battle-pile-piece.foe-back{--pile-back-angle: 180deg}.battle-pile-piece.bottom{--pile-turn: -18deg}.battle-pile-piece.top{--pile-turn: 14deg}.battle-pile-piece.discard{--pile-turn: 26deg}@keyframes battle-pile-cut{0%{opacity:0;transform:translate(-50%,-50%) scale(.95) rotate(var(--pile-back-angle, 0deg))}32%{opacity:1;transform:translate(calc(-50% + var(--pile-cut-x)),-68%) rotate(calc(var(--pile-cut-angle) + var(--pile-back-angle, 0deg)))}58%{opacity:1;transform:translate(calc(-50% + var(--pile-cut-x)),-37%) rotate(calc(var(--pile-cut-angle) + var(--pile-back-angle, 0deg)))}to{opacity:0;transform:translate(-50%,-50%) scale(.96) rotate(var(--pile-back-angle, 0deg))}}@keyframes battle-pile-transfer{0%{opacity:0;transform:translate(-50%,calc(-50% + var(--pile-start-y))) scale(.72) rotate(var(--pile-back-angle, 0deg))}18%{opacity:.96}68%{opacity:.96;transform:translate(calc(-50% + var(--pile-dx)),calc(-50% + var(--pile-dy) + var(--pile-entry-y))) scale(.95) rotate(calc(var(--pile-turn) + var(--pile-back-angle, 0deg)))}to{opacity:0;transform:translate(calc(-50% + var(--pile-dx)),calc(-50% + var(--pile-dy))) scale(.86) rotate(var(--pile-back-angle, 0deg))}}.battle-fx-trace{width:var(--fx-length);height:4px;background:linear-gradient(90deg,transparent,var(--fx-trail));transform-origin:left center;box-shadow:0 0 10px var(--fx-trail);animation-name:battle-fx-trail}.battle-fx-trace.with-path{height:24px;margin-top:-12px;background:var(--fx-path) center / 100% 100% no-repeat;box-shadow:none}@keyframes battle-fx-pulse{0%{opacity:0;scale:.53}28%{opacity:.9}to{opacity:0;scale:1.12}}@keyframes battle-fx-number{0%{opacity:0;transform:translate(-50%,10px) scale(.87)}24%,72%{opacity:1}to{opacity:0;transform:translate(-50%,-10px)}}@keyframes battle-fx-move{0%{opacity:0}12%{opacity:.94}68%{opacity:.94}to{opacity:0;transform:translate(calc(-50% + var(--fx-dx)),calc(-50% + var(--fx-dy)))}}@keyframes battle-fx-leave{0%{opacity:.91}to{opacity:0;transform:translate(-50%,-75%) scale(.76);filter:saturate(.45)}}@keyframes battle-fx-trail{0%{opacity:0;transform:rotate(var(--fx-angle)) scaleX(.15)}36%{opacity:.74}to{opacity:0;transform:rotate(var(--fx-angle)) scaleX(1)}}.app .dice-fx.roll-fx{inset:auto;top:var(--roll-y, 50%);left:var(--roll-x, 50%);z-index:73;width:max-content;max-width:min(90vw,530px,calc(var(--roll-viewport-w, 100vw) - 14px));transform:translate(-50%,-50%);padding:0;gap:3px;background:none;pointer-events:none}.app .dice-fx.roll-fx.is-adjusting{max-width:min(94vw,636px,calc(var(--roll-viewport-w, 100vw) - 14px));max-height:calc(var(--roll-viewport-h, 100dvh) - 14px);justify-content:flex-start;overflow-y:auto;overscroll-behavior:contain;pointer-events:auto}.battle-dice-tray{position:relative;display:grid;place-items:center;box-sizing:border-box;width:clamp(232px,62vw,444px);max-width:100%;min-height:min(clamp(136px,36vw,256px),53dvh);padding:clamp(20px,6vw,40px);border-radius:16px;background:var(--dice-bed, none) center / 100% 100% no-repeat,radial-gradient(ellipse,rgba(31,43,59,.84),rgba(12,16,24,.86) 62%,transparent 74%);filter:drop-shadow(0 5px 9px rgba(0,0,0,.5))}.is-adjusting .battle-dice-tray{width:min(calc(56px + var(--dice-count) * 240px),612px,calc(var(--roll-viewport-w, 100vw) - 14px));padding:24px}.battle-dice-motion{inset:auto;left:50%;top:50%;width:clamp(190px,32vw,290px);aspect-ratio:1;transform:translate(-50%,-50%)}.roll-fx .dice-board{position:relative;width:100%;gap:8px;flex-wrap:wrap}.roll-fx .battle-die{display:grid;place-items:center;width:clamp(52px,12vw,86px);height:clamp(52px,12vw,86px);padding:0;border-radius:5px;font-size:clamp(30px,6vw,46px);font-weight:700;color:#282035}.roll-fx .battle-die.with-art{border:0;background:none;box-shadow:none}.battle-die-face{display:none}.battle-die.with-art .battle-die-face{display:block;width:100%;height:100%;object-fit:contain}.battle-die.with-art .battle-die-value{display:none}.battle-die-choice{--die-adjust-size: clamp(64px, 16vw, 76px);display:grid;grid-template-columns:var(--die-adjust-size) auto var(--die-adjust-size);align-items:center;gap:2px}.battle-die-choice>.battle-die{grid-area:1 / 2}.battle-die-adjust.minus{grid-area:1 / 1}.battle-die-adjust.plus{grid-area:1 / 3}.battle-die-adjust,.battle-dice-keep{min-height:64px;color:#fff0cc;border:1px solid #d8b274a6;border-radius:9px;background:linear-gradient(180deg,#382b2de8,#141825fa);touch-action:manipulation}.battle-die-adjust{width:var(--die-adjust-size);padding:0;font-size:26px;font-weight:750}.battle-die-adjust.minus{border-color:#bb9ae2ac;color:#ead6ff}.battle-die-adjust.plus{border-color:#83ddedae;color:#cdfaff}.battle-die-adjust:is(:hover,:focus-visible),.battle-dice-keep:is(:hover,:focus-visible){outline:1px solid currentColor;outline-offset:2px;filter:brightness(1.26)}.battle-dice-caption{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px}.battle-dice-keep{padding:6px 18px;font-size:22px;font-weight:650}.roll-fx .dice-note{border-radius:999px;background:#0c1018f0;border:1px solid rgba(237,196,118,.54);padding:6px 18px;font-size:24px;letter-spacing:.02em}@media (prefers-reduced-motion: reduce){.battle-table.awaiting-settlement .table-result-crest{visibility:visible}.battle-zone-sweep,.battle-zone-sweep.with-strip{background:none;box-shadow:inset 0 0 0 1px var(--sweep-color),inset 0 0 10px var(--sweep-color);animation:battle-fx-static var(--sweep-duration) linear var(--sweep-delay) both}.battle-fx-node:before{animation-name:battle-fx-static}.battle-fx-node.has-motion:before{visibility:visible}.battle-fx-motion{display:none}.battle-fx-sigil{animation-name:battle-fx-static}.battle-fx-value{animation-name:battle-fx-static;transform:translate(-50%)}.app .dice-fx.roll-fx,.roll-fx .die{animation:none}}@keyframes battle-fx-static{0%,92%{opacity:.9}to{opacity:0}}.hand-card[data-playable=true]{cursor:grab;touch-action:pan-x pinch-zoom;-webkit-user-select:none;user-select:none}.hand-card.is-play-dragging .card{visibility:hidden}.hand-drag-marker{position:fixed;z-index:110;width:39px;aspect-ratio:var(--card-ratio);transform:translate(-50%,-84%) rotate(7deg);pointer-events:none;border:1px solid rgba(173,234,255,.85);border-radius:6px;background:#10192a url(./deck-back.png) center / cover no-repeat;box-shadow:0 0 10px #5bc8f266,0 6px 16px #040915cc}.hand-drag-marker.can-place{border-color:var(--gold);box-shadow:0 0 14px #ffd37ea6,0 6px 16px #040915cc}.app .slot.play-drop-target{border:1px solid rgba(125,224,252,.8);background:url(./slot-legal.png) center / 100% 100% no-repeat,#1f8bbb38;box-shadow:inset 0 0 12px #56ccf366}.app .slot.play-drop-target:after{content:"";position:absolute;top:38%;right:38%;bottom:38%;left:38%;width:auto;height:auto;border:1px solid currentColor;border-radius:2px;color:#a4e9fdd9;pointer-events:none}.app .slot.play-drop-target.over-play-slot{border-color:#ffd888;background:url(./slot-landing.png) center / 100% 100% no-repeat,#f7b4403b;box-shadow:inset 0 0 16px #ffc96980,0 0 10px #ffc96999}.app .slot.play-drop-target.over-play-slot:after{color:#ffe6ac}.screen-layer:has(>.battle-table){--battle-cover-width: min(100%, calc(100dvh * 16 / 9));--battle-cover-height: min(100dvh, 56.25vw );--battle-cover-position: center;background:linear-gradient(#070d18d1,#070d18d1),url(./scene.webp) var(--battle-cover-position) / var(--battle-cover-width) var(--battle-cover-height) no-repeat,url(./background.webp) center / cover no-repeat,#101020}@media (orientation: portrait){.screen-layer:has(>.battle-table){--battle-cover-width: 100%;--battle-cover-height: calc(var(--portrait-frame-width) * 9 / 16);--battle-cover-position: center calc(var(--portrait-cover-center) - var(--battle-cover-height) / 2)}}.app.battle-table{--battle-frame-inline: min(100vw, calc(100dvh * 16 / 9));--board-slot-gap: clamp(2px, calc(var(--battle-frame-inline) * .0042), 8px);--board-lane-pad: clamp(3px, calc(var(--battle-frame-inline) * .006), 9px);--board-lane-gap: clamp(3px, calc(var(--battle-frame-inline) * .0065), 11px);--board-lane-block-pad: clamp(4px, 1.5dvh, 12px);--board-lane-row-gap: clamp(3px, 1.3dvh, 10px);--status-icon-size: clamp(16px, 3dvh, 28px);--status-edge-gap: 3px;inline-size:min(100%,var(--battle-frame-inline));block-size:100dvh;margin-inline:auto;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))}.app.battle-table .board-wrap{display:flex;block-size:auto;min-block-size:0;padding-inline:0;overflow:hidden}.board-camera{flex:1 1 0;min-inline-size:0;min-block-size:0;overflow:clip}.board-camera:focus-visible{outline:1px solid #93e4f0;outline-offset:-2px}.app.battle-table .board-camera>.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);align-items:stretch;gap:var(--board-lane-gap);inline-size:100%;block-size:100%;padding:3px;overflow:visible}.app.battle-table .board-camera .lane{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);gap:var(--board-lane-row-gap);padding-block:var(--board-lane-block-pad);padding-inline:var(--board-lane-pad);border-width:2px}.board-camera .slots{display:flex;container-type:size;align-items:center;justify-content:center;gap:var(--board-slot-gap)}.board-camera .slot{flex:none;inline-size:max(0px,min(calc((100cqw - 3 * var(--board-slot-gap)) / 4),calc(100cqh * (var(--card-ratio)))))}@media (orientation: landscape){.app.battle-table .board-camera .slots{gap:0}.app.battle-table .board-camera .slot{inline-size:max(0px,min(calc(100cqw / 3.7),calc(100cqh * (var(--card-ratio)))))}.app.battle-table .board-camera .slot:not(:first-child){margin-inline-start:calc(-.1*max(0px,min(100cqw / 3.7,100cqh * (var(--card-ratio)))))}}.app.battle-table .board-camera .slot:nth-child(1){z-index:4}.app.battle-table .board-camera .slot:nth-child(2){z-index:3}.app.battle-table .board-camera .slot:nth-child(3){z-index:2}.app.battle-table .board-camera .slot:nth-child(4){z-index:1}@media (orientation: portrait){.app.battle-table .board-camera .slots{column-gap:0}.app.battle-table .board-camera .slot{inline-size:max(0px,min(calc(100cqw / 1.9),calc((100cqh - var(--board-slot-gap)) / 2 * (var(--card-ratio)))))}.app.battle-table .board-camera .slot:nth-child(odd){justify-self:start}.app.battle-table .board-camera .slot:nth-child(2n){justify-self:end}}@media (orientation: landscape) and (max-height: 600px){.app.battle-table{--table-power-size: clamp(28px, 9dvh, 46px);--table-hold-seal-size: clamp(24px, 7dvh, 36px);--status-icon-size: clamp(12px, 3dvh, 18px);gap:5px}}.table-result{--result-accent: #f7d993;--result-own: #a7eafd;--result-foe: #f3a2b8;--result-medal: url(./medal-victory.png);position:fixed;z-index:116;top:0;right:0;bottom:0;left:0;display:grid;place-items:safe center;overflow:auto;overscroll-behavior:contain;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));background:radial-gradient(ellipse at center,#171c3973 12%,#080916b3 86%),#11101e43;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.awaiting-settlement+.table-result{visibility:hidden}.table-result.loss{--result-accent: #f3a2b8;--result-medal: url(./medal-loss.png)}.table-result.draw{--result-accent: #d3d5ed;--result-medal: url(./medal-draw.png)}.table-result-panel{position:relative;display:grid;grid-template-areas:"heading" "score" "actions" "note";align-content:center;gap:clamp(12px,3dvh,28px);inline-size:min(100%,40rem);padding:clamp(16px,4vmin,40px);border:1px solid color-mix(in srgb,var(--result-accent) 47%,#383552);border-radius:20px 5px;background:radial-gradient(ellipse at top,color-mix(in srgb,var(--result-accent) 17%,transparent),transparent 62%),linear-gradient(155deg,#242538d9,#121426eb 76%);box-shadow:0 18px 74px #0607139c,inset 0 0 0 3px #17182a9e;color:#f0edf9;text-align:center;font-variant-numeric:tabular-nums}.table-result-panel:focus-visible{outline:1px solid var(--result-accent);outline-offset:4px}.table-result-header{grid-area:heading;display:grid;justify-items:center;gap:8px}.table-result-crest{display:block;inline-size:clamp(72px,17dvh,132px);aspect-ratio:1;background:var(--result-medal) center / contain no-repeat;filter:drop-shadow(0 0 18px color-mix(in srgb,var(--result-accent),transparent 55%))}.table-result-copy>span{color:#d4cde2;font-size:.78rem;letter-spacing:.22em}.table-result-copy h1{margin:4px 0 8px;color:var(--result-accent);font-size:clamp(2rem,7dvh,4.5rem);line-height:1.05;letter-spacing:.14em;text-indent:.14em;text-shadow:0 2px 10px #0a0818}.table-result-copy p,.table-result-note{margin:0;color:#d9d4e5;font-size:clamp(.86rem,2.5dvh,1rem);line-height:1.45;overflow-wrap:anywhere}.table-result-score{grid-area:score;align-self:end;min-inline-size:0}.table-result-wins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:baseline;padding-block:2px 8px;color:#d9d4e5;font-size:clamp(.76rem,2.5dvh,.98rem)}.table-result-wins b{margin-inline:.24em;font-size:clamp(1.22rem,4.3dvh,1.95rem)}.table-result-wins .result-own,.table-result-zone b:nth-child(2){color:var(--result-own)}.table-result-wins .result-foe,.table-result-zone b:last-child{color:var(--result-foe)}.table-result-zones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(4px,1vw,10px);padding:0;margin:0;list-style:none}.table-result-zone{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 4px;padding:clamp(5px,1.4dvh,12px);border:1px solid #66637f8c;border-block-start:2px solid #a7a0bc;border-radius:7px;background:linear-gradient(180deg,#a7a0bc1c,#17182cc9)}.table-result-zone.own{border-block-start-color:var(--result-own)}.table-result-zone.foe{border-block-start-color:var(--result-foe)}.table-result-zone span{grid-column:1 / -1;font-size:clamp(.75rem,2.2dvh,.9rem)}.table-result-zone b{font-size:clamp(.92rem,3.1dvh,1.4rem)}.table-result-actions{grid-area:actions;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.table-result-actions .btn{min-block-size:44px;padding:6px clamp(12px,3vw,22px);border-radius:7px;font-size:clamp(.85rem,2.5dvh,1rem);white-space:nowrap}.table-result-actions .btn.primary{border-color:#cda377;background:linear-gradient(180deg,#79533b36,#44252c3c),url(./action-plate.png) center / 100% 100% no-repeat;color:#fff1ce}.table-result-note{grid-area:note;color:var(--result-accent)}.table-result-effects{position:fixed;z-index:1;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none}@media (orientation: landscape) and (max-height: 540px){.table-result-panel{grid-template-areas:"heading score" "heading actions" "note note";grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:clamp(12px,3vw,28px)}.table-result-header{align-content:center}.table-result-actions{align-self:start}}.selection-target{--selection-accent: #83efff;--selection-art: url(./fx-target.png)}.selection-source{--selection-accent: #c8acff}.selection-chosen{--selection-accent: #ffdc87;--selection-art: url(./fx-lock.png)}.selection-target>.card,.selection-source>.card,.selection-chosen>.card{border-color:var(--selection-accent);box-shadow:inset 0 0 0 1px var(--selection-accent),0 0 12px color-mix(in srgb,var(--selection-accent) 55%,transparent)}.selection-target>.card:before,.selection-chosen>.card:before,.slot.selection-target[data-act=pick]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background:var(--selection-art) center / 136% auto no-repeat;opacity:.54;mix-blend-mode:screen;pointer-events:none}.slot.selection-target[data-act=pick]{padding:0;cursor:pointer;border-color:var(--selection-accent);box-shadow:inset 0 0 12px color-mix(in srgb,var(--selection-accent) 29%,transparent)}.battle-table .slot.selection-target[data-act=pick]:after{content:none}.slot.selection-target[data-act=pick]:before{opacity:.92}.board-wrap[data-selection] .slot:not(.selection-target):not(.selection-source):not(.selection-chosen)>.card{filter:saturate(.68) brightness(.78)}.selection-hit{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;width:100%;padding:0;border:0;border-radius:inherit;background:none;cursor:pointer}.selection-hit:focus-visible,.slot.selection-target[data-act=pick]:focus-visible{outline:2px solid #e4fbff;outline-offset:-3px}.slot.selection-target>.inspect-card-btn{width:min(24px,38%);height:auto;aspect-ratio:1}.slot.selection-target>.inspect-card-btn svg{width:68%;height:68%}.fine-pointer .selection-target:hover .inspect-card-btn,.selection-target:has(:focus-visible) .inspect-card-btn{opacity:1;pointer-events:auto}.selection-mark,.selection-origin{position:absolute;z-index:5;display:grid;place-items:center;pointer-events:none}.selection-origin{bottom:2px;left:2px;padding:1px 4px;border-radius:4px;border:1px solid #bca5ff;background:#231341;color:#f1e8ff;font-size:clamp(9px,1.3vw,11px);line-height:1.35}.selection-origin.origin-beacon{width:clamp(15px,2vw,22px);aspect-ratio:1;padding:0;border-color:transparent;background:none;filter:drop-shadow(0 0 3px #b89cffb8)}.origin-beacon img{width:100%;height:100%;object-fit:contain}.origin-beacon b{display:grid;place-items:center;width:100%;aspect-ratio:1;border:1px solid #bca5ff;border-radius:5px;background:#231341}.selection-mark{top:3px;left:50%;min-width:1.26rem;min-height:1.26rem;padding:0 3px;transform:translate(-50%);border-radius:999px;border:1px solid #ffeeb3;background:#ffe09a;color:#301c00;box-shadow:0 2px 6px #130e06b5;font-size:12px;font-weight:800}.battle-action-dock{--dock-block: var(--table-seat-height, clamp(92px, 17dvh, 132px));--dock-hand-headroom: 17px;--dock-hand-face: calc(var(--dock-block) - var(--dock-hand-headroom) - 9px);--dock-hand-inline: calc(var(--dock-hand-face) * 720 / 1006);--dock-candidate-face: calc(var(--dock-block) - 24px);--dock-candidate-inline: calc(var(--dock-candidate-face) * 720 / 1006);--dock-order-face: calc(var(--dock-block) - 34px);--dock-order-inline: calc(var(--dock-order-face) * 720 / 1006)}.dock-stage{grid-area:hand;position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);block-size:var(--dock-block);min-width:0;min-block-size:0}.selection-hand-port{position:absolute;inset:auto auto -3px 5px;width:22px;height:15px;border-radius:4px;background:#112b2e url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAALpElEQVR42u2de3BU1R3Hf+e+9+7dvTcvEx6BJAwgYjRDNjFThfFBQR4rxqllfFQzRMECKY86UEX6R2vVPnRAq50qYKt2puhUEVCKpZ3OKGOVMJMpIiLvhxgIIbvZ9332D4hFTHLz2Mfd3d/nz+zd7N1zPvec7zm/mxtiWRYg+QuFTYACICgAggIgKACCAiAoAIICICgAkh8w6fiQRxrrny5WhGXY3APjQjDx6ktvf7IkJ0aAhfPqf1wsCy3YrQOn0Ms3PdJY/3TWC9Dsr/OXFPDPAMGpZlAQIMWy0LLozvqfpfyjUlUMavb7fCU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TwYTR8+E1Z6vTgjAQAs2pmklAmH1zXBUf/S1HXtD2d52OSHAFUHxRdnN3Qqk/zuew1HN3Hc0EAcAqK5SBNuCjQVmMKL+KxLTl2RLwMs7AS4Lijd63dw6t4uZnIzfF4npn3dH1GUbt7XuzrW2ykkBLg+KBR7uVzxHD+lPhBOqcaYrpK7J1oCX9wIAAMyfXkMXeLgnFIlbzDCUZyDvuXSv/YtdIfXJzbvajFxun5wXoJegOJ+iCNdHwFMDYXVzrgQ8FKAXmub4xntF5oVv/Q3DpXvtu6N6y5/eaz2UT+2RdwJcHhRliVsPABAMays2btvzYT62Q94KgFwEnxWMAiAoAIICICgAggIgKACCAiAoAIICIPnA/wCHViivY2u9BgAAAABJRU5ErkJggg==) center / contain no-repeat;opacity:0;pointer-events:none}.selection-hand-port[data-selection-destination]{opacity:1}.selection-exile-mark{position:absolute;bottom:2px;left:2px;z-index:5;display:grid;place-items:center;width:17px;height:17px;border:1px solid #c49ce7;border-radius:5px;background:#39264e;color:#f6e7ff;font-size:12px;pointer-events:none}.dock-stage>:is(.selection-dock,.selection-candidates,.selection-options,.selection-deck-stage){grid-area:1 / 1;min-width:0;min-block-size:0;max-block-size:none;block-size:100%}.selection-dock,.selection-deck-stage{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.dock-stage .hand{grid-area:1 / 1;min-width:0;min-height:0;margin:0;padding:var(--dock-hand-headroom) 4px 4px;justify-content:safe center;overscroll-behavior-inline:contain}.dock-stage .hand-card{width:var(--dock-hand-inline);margin-right:-7px}.dock-stage .hand-card:last-child{margin-right:0}.fine-pointer .dock-stage .hand-card:hover,.dock-stage .hand-card.selected{transform:translateY(calc(-.58 * var(--dock-hand-headroom))) scale(1.02)}.touch-input .dock-stage .hand-card:not(.selected,.selection-chosen,.is-play-dragging,.new):hover{transform:none;z-index:auto}.touch-input .dock-stage>.table-player-hand .hand-card:not(.selected,.is-play-dragging):hover{rotate:var(--hand-angle, 0deg)}.touch-input .card:hover{transform:none}.selection-dock .hand-card.selection-chosen{z-index:6;transform:translateY(-4px)}.selection-command,.selection-tray-head{position:absolute;inset-inline-end:calc(100% + var(--table-seat-gap, 6px));inset-block-start:50%;z-index:8;display:grid;align-content:start;gap:3px;inline-size:var(--table-seat-piles-width, 68px);max-inline-size:var(--table-seat-piles-width, 68px);max-block-size:100%;padding:4px;overflow:auto;scrollbar-width:thin;border:1px solid #6fb7cb78;border-radius:7px;background:linear-gradient(110deg,#162f40,#161a2e);transform:translateY(-50%)}.selection-command-ready{border-color:#ffdc8780}.selection-command-count{padding:1px 3px;border:1px solid #6fb7cb65;border-radius:4px;color:#b7e8f1;font-size:11px;font-variant-numeric:tabular-nums;line-height:1.25;text-align:center;white-space:nowrap}.selection-command-ready .selection-command-count{border-color:#ffdc8770;color:#ffdc87}.selection-command-actions{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:2px}.selection-command-actions>:only-child{grid-column:1 / -1}.selection-command-actions .btn,.selection-tray-head .btn{display:grid;place-items:center;min-inline-size:0;min-block-size:36px;padding:2px 1px;font-size:clamp(11px,1.2vw,14px);line-height:1.2}.selection-command-actions .btn svg{display:none}.selection-button-mark{display:block;width:18px;height:18px;max-inline-size:100%;object-fit:contain;line-height:18px;text-align:center;pointer-events:none}.selection-candidates.pick-drawer,.selection-options.option-panel{position:relative;inset:auto;z-index:auto;width:auto;max-height:none;padding:0;transform:none;animation:none;border-radius:7px;background:#101b2d}.selection-candidates.pick-drawer{display:grid;grid-template-rows:minmax(0,1fr);--candidate-card-width: var(--dock-candidate-inline);--candidate-opening: 0ms;overflow:visible}.selection-candidates.candidate-connected{--candidate-opening: 122ms;border-color:#97e5edaa}.candidate-origin{outline:1px solid #a3f2fb;outline-offset:2px;filter:drop-shadow(0 0 7px #79e2ed9e)}.candidate-connected:before{content:"";position:absolute;z-index:1;top:-5px;left:var(--candidate-port, 80%);width:8px;height:8px;transform:translate(-50%) rotate(45deg);border-top:1px solid #a3f2fb;border-left:1px solid #a3f2fb;background:#193345;pointer-events:none}.candidate-connector,.candidate-deal{position:absolute;pointer-events:none}.candidate-connector{top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;fill:none;stroke:#9deaf6;stroke-width:1.5;stroke-dasharray:4 4;opacity:.8}.candidate-deal{top:-12px;left:calc(var(--candidate-port, 80%) - 12px);z-index:5;width:24px;aspect-ratio:var(--card-ratio);opacity:0;box-shadow:0 2px 9px #020511b5,0 0 7px #9be6f46e}.candidate-tray{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;gap:4px;padding:4px}.candidate-tray:has(.candidate-selected){grid-template-columns:minmax(0,1fr) min(calc(var(--candidate-wells) * (var(--candidate-card-width) + 5px) + 10px),48%)}.selection-candidates .candidate-rail,.candidate-selected{grid-template-columns:none;display:grid;grid-auto-flow:column;grid-auto-columns:var(--candidate-card-width);justify-content:start;gap:5px;min-width:0;min-height:0;overflow:auto;padding:4px;scrollbar-width:thin}.candidate-selected{border:1px solid #8c7149;border-radius:6px;background:#141c2b url(./selection-count-rack.png) center / cover no-repeat}.candidate-well,.candidate-vacated{display:grid;place-items:center;width:100%;aspect-ratio:var(--card-ratio);border-radius:5px;font-size:15px;color:#e4c189}.candidate-well{position:relative;background:#121c2e url(./pile-tray.png) center / 100% 100% no-repeat}.candidate-well>.pick-card{width:calc(100% - 4px)}.candidate-vacated{border:1px dashed #9b815771;background:#a18c6218}.candidate-owner{border-color:#83adc0;background:#183040;color:#def4ff}.candidate-deal,.candidate-revealing .candidate-rail>.pick-card:before{border:1px solid #8db4d2;border-radius:6px;background:repeating-linear-gradient(135deg,#2e4567 0,#2e4567 2px,#13253e 2px,#13253e 7px)}.candidate-revealing .candidate-rail>.pick-card>.card,.candidate-revealing .candidate-rail>.pick-card:before{animation-delay:calc(var(--candidate-opening) + var(--candidate-index, 0) * 26ms);animation-fill-mode:both;animation-duration:.28s}.candidate-revealing .candidate-rail>.pick-card>.card{animation-name:candidate-face-up}.candidate-revealing .candidate-rail>.pick-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;animation-name:candidate-face-down;pointer-events:none}@keyframes candidate-face-up{0%,34%{opacity:0;transform:perspective(240px) rotateY(-90deg)}39%{opacity:1}to{opacity:1;transform:perspective(240px) rotateY(0)}}@keyframes candidate-face-down{0%{opacity:1;transform:perspective(240px) rotateY(0)}34%{opacity:1;transform:perspective(240px) rotateY(90deg)}39%,to{opacity:0}}.selection-option-body{display:flex;align-items:stretch;gap:5px;min-width:0;min-height:0;overflow:hidden}.dock-stage .selection-option-body{block-size:100%}.selection-options .option-list{display:grid;flex:1;grid-auto-flow:column;grid-auto-columns:minmax(8.4rem,1fr);min-width:0;padding:4px 7px 7px;overflow:auto;scrollbar-width:thin}.ability-choices{display:flex;flex:1;flex-direction:column;min-width:0;min-block-size:0}.ability-source-group{display:flex;flex:0 0 auto;align-items:flex-start;gap:5px;max-width:42%;min-width:0;padding:5px;overflow:auto;background:#142136}.ability-card-entry{display:grid;flex:0 0 min(var(--dock-candidate-inline),3.35rem);gap:3px;min-width:0}.ability-card-entry small{color:#f0dff9;font-size:10px;line-height:1.15;text-align:center;overflow-wrap:anywhere}.ability-public-card small{color:#d8e7f7}.ability-public-card{position:relative;isolation:isolate}.ability-public-card:before{content:"";position:absolute;top:-2px;right:-3px;bottom:0;left:-3px;z-index:-1;background:url(./card-reveal-pedestal.png) center top / 100% auto no-repeat;pointer-events:none}.option-reveal-flight,.option-reveal-flight *{pointer-events:none}.option-reveal-flight{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;overflow:hidden}.option-reveal-ghost{position:absolute;inset:0 auto auto 0;perspective:360px;opacity:0;filter:drop-shadow(0 3px 8px #080c19c9)}.option-reveal-flip{position:absolute;top:0;right:0;bottom:0;left:0;transform-style:preserve-3d}.option-reveal-back,.option-reveal-face{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border-radius:5px;backface-visibility:hidden}.option-reveal-back,.option-reveal-landing:after{background:#10192a url(./deck-back.png) center / cover no-repeat;scale:1 -1}.option-reveal-face{object-fit:cover;transform:rotateY(180deg)}.option-reveal-landing:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;border-radius:inherit;pointer-events:none;animation:option-reveal-uncover 445ms var(--option-reveal-delay, 0ms) linear both}@keyframes option-reveal-uncover{0%,62%{opacity:1}86%,to{opacity:0}}@media (prefers-reduced-motion: reduce){.option-reveal-flight,.option-reveal-landing:after{display:none}}.ability-card-entry .pick-card{width:100%}.ability-source{outline:1px solid #bfa4f0}.ability-source-seal{width:32px;aspect-ratio:1;background:url(./turn-seal.png) center / contain no-repeat}.ability-reveal-label{position:absolute;right:2px;bottom:2px;z-index:2;padding:1px 3px;border-radius:4px;background:#222c40;color:#ebf5ff;font-size:9px;pointer-events:none}.selection-options .ability-plaque{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;min-width:0;min-height:3rem;padding:5px 11%;border:1px solid #80a5b9;border-radius:9px;background:linear-gradient(110deg,#0d1b3158,#11172775),url(./choice-plaque-ready.png) center / 100% 100% no-repeat}.selection-options .ability-plaque.off{border-color:#6d6777;border-style:dashed;border-radius:5px;background:linear-gradient(110deg,#15192182,#16172996),url(./choice-plaque-locked.png) center / 100% 100% no-repeat;opacity:.82}.fine-pointer .selection-options .ability-plaque:not(:disabled):hover,.selection-options .ability-plaque:focus-visible{border-color:#d6e7fa;box-shadow:inset 0 0 8px #92bcde5e}.ability-plaque-copy{display:grid;gap:2px;min-width:0;text-align:left}.ability-plaque-copy .option-name{line-height:1.25}.ability-plaque-icon{display:grid;place-items:center;min-width:20px;min-height:20px;color:#c1dffa}.ability-plaque-cost.table-charges{display:flex;flex-wrap:wrap;gap:1px 2px;justify-content:flex-start}.ability-plaque-cost.table-charges i{width:11px;height:15px}.ability-plaque-cost.table-charges small{color:#a9dce6;font-size:9px}.selection-aim,.selection-aim *,.selection-target-aim,.selection-target-aim *{pointer-events:none}.selection-aim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:52;width:100%;height:100%;overflow:hidden}.selection-target-aim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:240;width:100%;height:100%;overflow:hidden}.target-arrow-rim,.target-arrow-dash,.target-arrow-glint{fill:none;stroke-linecap:butt}.target-arrow-rim{stroke:#55192b}.target-arrow-dash{stroke:#e45154}.target-arrow-glint{stroke:#ffad8b;opacity:.86}.target-arrow-head{fill:#55192b}.target-arrow-head-core{fill:#e95e59}.selection-destinations{position:fixed;top:0;right:0;bottom:0;left:0;z-index:52;overflow:hidden;pointer-events:none}[data-selection-destination]{outline:1px solid var(--destination-tint, #a3eef2);outline-offset:2px}[data-selection-destination~=hand],.destination-hand{--destination-tint: #a2f1c2;--destination-emblem: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAALpElEQVR42u2de3BU1R3Hf+e+9+7dvTcvEx6BJAwgYjRDNjFThfFBQR4rxqllfFQzRMECKY86UEX6R2vVPnRAq50qYKt2puhUEVCKpZ3OKGOVMJMpIiLvhxgIIbvZ9332D4hFTHLz2Mfd3d/nz+zd7N1zPvec7zm/mxtiWRYg+QuFTYACICgAggIgKACCAiAoAIICICgAkh8w6fiQRxrrny5WhGXY3APjQjDx6ktvf7IkJ0aAhfPqf1wsCy3YrQOn0Ms3PdJY/3TWC9Dsr/OXFPDPAMGpZlAQIMWy0LLozvqfpfyjUlUMavb7fCUFwt8ZmhKxR4eGZVlGR1di1cvvfvqHrBJggd83tlgWdnMsVYjdOGwJtHMX4otf2brnL1kxBTTNqZULPfxO7PwkXaGEsCUFwu+b/XV+x48ATXNqWUXiPpRE9rq+jjl8OpT47GgggV37bSZVyPzEMV6+r9d1w4x2dMV/sHFb678dOwJILvav/XX+6XNRbT92fq8cOB5MHDzZ3WfbMDQlFivC5ma/z+dIAR5prH9a8XCz+nr9bGdM33uwM4b3Hw1dApahPEWysKXZ77vaUQLYrfUvBBP6ni86Y3j32fAl4FiqsNDL71jg9411hAB2a/1QRDM+3n8+phvY/c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btvzYT62Q94KgFwEnxWMAiAoAIICICgAggIgKACCAiAoAIICIPnA/wCHViivY2u9BgAAAABJRU5ErkJggg==)}[data-selection-destination~=discard],.destination-discard{--destination-tint: #f2afd6;--destination-emblem: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAN6ElEQVR42u2da2wc1RXH7+y8dmZ27V2/EueBE3AeoFBKoyoxSaFCAkFISKEfSiEBkqJ+oICQ+FARteJDKwQVoqIolQghLUqaQIHQ4KQ1SSSeTpwXJMYJdpz1Oo7fr52d9+48bj84Tmyz9q53Z9Yz6/uXoliZjffMPb8595wzd+5gEEKANHvlQ0OAAEBCACAhAJAQAEgIACQEABICAAkBgIQAQJoFIvL5Zb/52cbtYTawBQ375Iop0j/f+erA0wUXAbauffAV5Pz0CrOBJ7euffCVggJgy9oN28Jc4Fnk3gwh4ALPblm7YVtBAPDEmvW/K+GC2zCAYci1mQkDGFbCBbc9uWaD4xcN5uTt4MfveODx8kDxdgzDcOTW6QtCaA7KwjPv1h9813MAbK554OGKYPE/MAwjkStzgkDvF+Nbdh8/tN8zAGyueeDe8mDR+z7MR6c6Hh3qSzT3diaQe69r+dwF9OLSOSnHy4JWYkAUfrX7+KHDrs8BNtesW1MaCO6dzPmd/GASOf+Hau7tTHTyg8mUTsJ8dGkguHdzzbo1rgbgsdX3317CBfcTPpxNdbxP4PWm7g4NuTu1mro7tD6B11MdI3w4W8IF92+qWfcTVwKwuWbd8tJAUS2JE8FUx4dkwTjb2aaiNYhTzvfgbGebOiQLRqrjJE4ES7ngJ5tr1i13FQCbatZVhdlAHYUTJamOx1XZPNMRUS3k/LSyIARnOiJqXJXNSSAoCbOBuk0166pckQT+etV9c0q54Nd+kpqf6riUUM2GaIuim6bnvI9hGChmOLyEKyJCbBAPs0EixAbxEBskhiRePxb5TuoXYoYT303iOLZ68TI2QDMpS2hNT3YNyeLafSfq+mYMgEdX31ccZgPHGJJenOq4kkxYJ9ovypqedLXzKZzAw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9XAZCuK2ZHMyhfSmerGzqArgPgUpqGkF3NoLwAkMbWyFCfawBwzXMBfQJvqHrSYkgq5eDRBOn720Nb5gCPS9WTVq+LHlhxzVUFAQCXY+4JjU7pcmxAd9OKUleF1fbhwgfAbefoKgAuDfYWPABumv/dFwFiAzos4J2ZIIQw6qIS0DYAllTMs2Xj/qRhwO4CfqK3R4gZdj1RZNeY2wJAdXklbZdBbrtC7FSbTee2pGIeXV1emX8AeFV6z2kI3HKXzAnZAXc650/lo5wB2Pnlga1OQ3DJZUmSvUlubueWifN3fnlg63R+J5ZNzvXUnRt3hZjAI5Oe6EBPorW/OwGQbJMTzs86B8hHJEBy3vk5JYEIAu87P+spYCangw23rOTuWfajgBuddaSlUaq9cEb2ivNtKQPzHQlqL5yRj7Q0Ssj5uTvftj7AbIfAq863ZQpA1YG35nxHIgBKDL3pfNsBQBB4y/m2TwHTmQ6QMpdTznckAmQaCZBm3vmOAoAgcL/zHQcAQeBu5+cFAASBe52fNwAQBO50vqNVAJI35ENDgABAQgAgIQCQEABICAAkBAASAgAJAYCEAEBCACAVuv4PfP3KEyKLjBQAAAAASUVORK5CYII=)}[data-selection-destination~=top],.destination-top{--destination-tint: #ffe09b;--destination-emblem: url(./fx-stack-top.png)}[data-selection-destination~=bottom],.destination-bottom{--destination-tint: #a8e2fa;--destination-emblem: url(./fx-stack-bottom.png)}.selection-destination-badge{position:absolute;display:flex;align-items:center;justify-content:center;gap:1px;width:26px;height:20px;border:1px solid var(--destination-tint);border-radius:5px;background:#102033;color:var(--destination-tint);font-size:10px;font-variant-numeric:tabular-nums}.selection-destination-badge i{flex:0 0 13px;height:14px;background:var(--destination-emblem) center / contain no-repeat}.selection-destination-route{fill:none;stroke:var(--destination-tint);stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:3 4;opacity:.74}.selection-near-confirm{position:fixed;z-index:53;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid transparent;border-radius:7px;background:url(./confirm-anchor.png) center / contain no-repeat,radial-gradient(circle,#121926c9 0 29%,transparent 53%);color:#fff0bd;text-shadow:0 1px 2px #050812,0 0 3px #050812;filter:drop-shadow(0 2px 4px #080705b0);font-size:17px;font-weight:800;cursor:pointer}.selection-near-confirm[hidden]{display:none}.fine-pointer .selection-near-confirm:hover,.selection-near-confirm:focus-visible{outline:2px solid #fff5c5;outline-offset:2px}.has-near-confirm .selection-command [data-act=confirm-pick]{visibility:hidden}.selection-announcement{position:absolute;inset:0 auto auto 0;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.selection-pulse{color:#ffe1a0}.selection-pulse.pulse-clear{color:#9cdef7}.selection-pulse circle,.selection-pulse path{fill:none;stroke:currentColor;stroke-width:1.5;filter:drop-shadow(0 0 3px currentColor)}.selection-pulse .selection-pulse-mote{fill:currentColor;stroke:none}.selection-aim-preview{color:#8feeff}.selection-aim-locked{color:#ffdc87}.selection-aim-trail,.selection-aim-tip,.selection-aim-origin{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;filter:drop-shadow(0 0 2px #050b14)}.selection-aim-preview .selection-aim-trail{stroke-dasharray:5 7;animation:selection-trace .95s linear infinite}.selection-aim-locked .selection-aim-trail{stroke-width:2.5}@keyframes selection-trace{to{stroke-dashoffset:-12}}.selection-current-zone{outline:1px solid #80deef89;outline-offset:-2px}.selection-current-zone.selection-current-zone-locked{outline-color:#ffd580c4}.selection-deck-origin{filter:drop-shadow(0 0 8px #ffd580bd)}.selection-deck-tray.deck-top-panel{position:relative;inset:auto;z-index:auto;grid-area:1 / 1;justify-self:end;width:min(100%,29rem);block-size:100%;min-block-size:0;min-width:0;overflow:visible;border-radius:8px;border-color:#8eaeca;background:linear-gradient(145deg,#202b43,#101a2c 70%);box-shadow:0 4px 16px #050711a3;transform:none;animation:none;display:grid;grid-template-rows:minmax(0,1fr)}.selection-deck-tray:after{content:"";position:absolute;top:-5px;left:var(--tray-origin-x, calc(100% - 18px) );width:8px;height:8px;transform:translate(-50%) rotate(45deg);border-top:1px solid #8eaeca;border-left:1px solid #8eaeca;background:#202b43;pointer-events:none}.selection-deck-tray .deck-top-boxes{grid-template-columns:repeat(var(--tray-slots, 3),minmax(0,1fr));padding:0 6px 6px;gap:4px;min-block-size:0}.selection-deck-tray .deck-top-box{min-height:0;align-items:stretch;padding:3px;border:1px solid #516b87;border-radius:6px;background:#0d1828 url(./pile-tray.png) center / 100% 100% no-repeat}.selection-deck-tray .deck-top-box.bottom{border-color:#96774c}.selection-deck-tray .deck-top-box.over,.fine-pointer .selection-deck-tray.tray-has-selection .deck-top-box:hover{border-color:#ffdc87;box-shadow:inset 0 0 10px #ffd58058}@media (any-hover: hover) and (any-pointer: fine){.fine-pointer :is(.selection-hit,.slot.selection-target[data-act=pick]){cursor:var(--cursor-aim, crosshair)}.fine-pointer .slot.valid[data-act=play]{cursor:var(--cursor-place, cell)}.fine-pointer:has(.is-play-dragging),.fine-pointer:has(.is-play-dragging) .screen-layer :is(.slot,.card,.hand-card){cursor:grabbing}.fine-pointer:has(.over-play-slot),.fine-pointer:has(.is-play-dragging) .screen-layer .slot.play-drop-target{cursor:var(--cursor-place, cell)}}.selection-deck-tray .deck-top-label{margin:0 0 3px;padding:1px 0;border-radius:3px;background:#111d32;color:#e1eeff;font-size:11px;font-weight:700;text-align:center}.selection-deck-tray .deck-top-label:not(:disabled):is(button){cursor:pointer;box-shadow:inset 0 0 0 1px #eec67996}.selection-deck-tray button.deck-top-label{min-height:21px}.selection-deck-tray .deck-top-card,.selection-deck-tray .deck-top-empty{width:min(100%,var(--dock-order-inline));aspect-ratio:var(--card-ratio)}.selection-deck-tray .deck-top-empty{display:grid;place-items:center;padding:0;border-color:#84a5c274;color:#adcbe8}.selection-deck-tray .deck-top-card[data-act=detail]{touch-action:auto;cursor:zoom-in}.selection-deck-tray.tray-revealing .deck-top-card{transform-style:preserve-3d;animation:selection-card-flip .34s ease-out both}.selection-deck-tray.tray-revealing .deck-top-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid #96b7d4;border-radius:6px;background:repeating-linear-gradient(135deg,#30486b 0,#30486b 2px,#172840 2px,#172840 7px);transform:rotateY(180deg);backface-visibility:hidden;pointer-events:none}.selection-deck-tray.tray-revealing .deck-top-card>.card{backface-visibility:hidden}@keyframes selection-card-flip{0%{transform:perspective(420px) rotateY(-165deg)}to{transform:perspective(420px) rotateY(0)}}@media (prefers-reduced-motion: reduce){.selection-aim-preview .selection-aim-trail,.selection-deck-tray.tray-revealing .deck-top-card,.candidate-revealing .candidate-rail>.pick-card>.card,.candidate-revealing .candidate-rail>.pick-card:before{animation:none}}@media (max-width: 860px){.battle-action-dock{--dock-hand-headroom: 13px}}@media (max-width: 560px){.selection-command,.selection-tray-head{padding:3px}.selection-target .inspect-card-btn,.selection-deck-tray .inspect-card-btn{width:24px;height:24px}.selection-target .inspect-card-btn svg,.selection-deck-tray .inspect-card-btn svg{width:15px;height:15px}}@media (max-width: 370px){.battle-action-dock{--dock-order-face: calc(var(--dock-block) - 30px)}.selection-deck-tray button.deck-top-label{min-height:17px}}@media (orientation: portrait) and (max-height: 620px){.battle-action-dock{--dock-hand-headroom: 10px}}@media (orientation: landscape) and (max-height: 520px){.battle-action-dock{--dock-hand-headroom: 8px}.battle-action-dock .dock-right{gap:2px;max-block-size:var(--dock-block);overflow:auto;overscroll-behavior:contain}.battle-action-dock .table-turn{padding-block:1px}.battle-action-dock .end-turn{padding:4px 8px}}@media (orientation: portrait){.app.battle-table{--portrait-strip: clamp(34px, calc(var(--portrait-frame-height) * .05), 46px);--portrait-rail: calc(var(--status-icon-size) + var(--status-edge-gap));--table-hand-card-width: clamp(40px, min(calc(var(--portrait-frame-width) * .16), calc(var(--portrait-frame-height) * .09)), 76px);--table-hand-headroom: 5px;--table-hand-overlap: clamp(8px, calc(var(--portrait-frame-width) * .03), 15px);--table-hand-rack-height: 100%;--table-seat-inset: 6px;--table-seat-height: calc(var(--table-hand-card-width) / (var(--card-ratio)) + 12px);--table-seat-gap: 3px;--table-seat-padding: 4px;--table-pile-card-width: clamp(24px, calc(var(--portrait-frame-width) * .084), 42px);--table-pile-inline-padding: 4px;--table-pile-gap: 4px;--table-icon-size: clamp(15px, calc(var(--portrait-frame-width) * .048), 23px);--table-action-height: var(--portrait-strip);--table-action-font: clamp(12px, calc(var(--portrait-frame-width) * .036000000000000004), 16px);--table-energy-font: clamp(12px, calc(var(--portrait-frame-width) * .038), 17px);--table-power-size: clamp(19px, calc(var(--portrait-frame-width) * .064), 32px);--table-power-font: clamp(12px, calc(var(--portrait-frame-width) * .038), 17px);--table-hold-seal-size: clamp(19px, calc(var(--portrait-frame-width) * .057999999999999996), 28px);--table-round-size: clamp(21px, calc(var(--portrait-frame-width) * .063), 31px);--table-turn-font: clamp(10px, calc(var(--portrait-frame-width) * .03), 14px);--table-turn-note-font: clamp(8px, calc(var(--portrait-frame-width) * .0255), 12px);--board-slot-gap: clamp(3px, calc(var(--portrait-frame-width) * .01), 8px);--board-lane-pad: clamp(2px, calc(var(--portrait-frame-width) * .006999999999999999), 5px);--board-lane-block-pad: clamp(3px, calc(var(--portrait-frame-height) * .008), 7px);--board-lane-row-gap: clamp(2px, calc(var(--portrait-frame-height) * .006500000000000001), 5px);--status-icon-size: clamp(9px, min(calc(var(--portrait-frame-width) * .0315), calc(var(--portrait-frame-height) * .019)), 17px);--status-edge-gap: 2px;gap:4px;padding:max(4px,env(safe-area-inset-top)) max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left))}.app.battle-table .board-camera>.board{padding:2px}.app.battle-table .board-camera .lane{border-width:1px;border-radius:8px}.battle-table .board-camera .slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));justify-items:center}.battle-table .board-camera .slot{inline-size:max(0px,min(100%,calc(((100cqh - var(--board-slot-gap)) / 2 - var(--portrait-rail)) * (var(--card-ratio)))));margin-block-end:var(--portrait-rail);border-radius:5px}.battle-table .board-camera .slots.foe .slot{margin-block:var(--portrait-rail) 0}.battle-table .slot>.card{border-radius:5px}.battle-table .card-status-rail{gap:1px}.battle-table .table-meter{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:none;justify-items:center;gap:2px;padding:2px 1px}.battle-table .table-meter>:is(.table-sector,.table-power){grid-area:auto;justify-self:center}.battle-table .table-top,.battle-table .battle-action-dock{padding-block:2px}.battle-table .table-hand-piles{align-self:center;justify-self:end;margin-block:0;padding-block:2px}.battle-table .table-station :is(.table-pile,.table-discard) b{padding:2px 3px;font-size:clamp(10px,calc(var(--portrait-frame-width) * .027000000000000003),13px)}.battle-table .foe-seat{align-self:stretch}.battle-table .foe-seat:before{--hand-rack-art: url(./hand-rack-foe-mobile.png)}.battle-table .dock-stage:has(.table-player-hand):before{--hand-rack-art: url(./hand-rack-own-mobile.png)}.battle-table .dock-stage .table-player-hand{align-items:flex-start;padding-block:var(--table-seat-inset) 3px}.battle-table .table-player-hand .hand-card{bottom:0;rotate:0deg}.battle-table .table-energy{--energy-icon-width: clamp(7px, 10cqi, 15px);min-block-size:0;padding-inline:2px}.battle-table .table-energy-status{gap:2px}.battle-table .table-energy b{font-size:var(--table-energy-font)}.battle-table .table-energy .table-charges{max-inline-size:100%}.battle-table .table-top :is(.table-foe-resources,.table-tools),.battle-table .battle-action-dock :is(.table-my-resources,.dock-right){max-block-size:none;overflow:visible}.battle-table .table-tools{flex-wrap:nowrap;gap:3px}.battle-table .table-action{padding:3px}.battle-table .battle-action-dock .dock-right{justify-self:end;flex-wrap:nowrap;gap:4px}.battle-table .table-turn{gap:3px;padding:2px 4px}.battle-table .table-turn.running{padding-block-end:9px}.battle-table .table-running{height:7px}.battle-table .table-running i{width:7px;height:7px}.battle-table .end-turn{gap:4px;padding:4px 6px;white-space:nowrap}.battle-table .end-turn .table-icon{width:13px;height:13px}}@media (orientation: portrait){.battle-table .dock-stage{--portrait-choice-bar: 44px;--portrait-choice-gap: 4px;--portrait-choice-card: max(26px, calc((var(--dock-block) - var(--portrait-choice-bar) - 20px) * (var(--card-ratio))))}.battle-table .dock-stage :is(.selection-dock:has(>.selection-command),.selection-candidates.pick-drawer,.selection-deck-stage){grid-template-columns:minmax(0,1fr);grid-template-rows:var(--portrait-choice-bar) minmax(0,1fr);gap:var(--portrait-choice-gap)}.battle-table .dock-stage :is(.selection-command,.selection-tray-head){position:static;grid-area:1 / 1;display:flex;align-items:center;justify-content:flex-end;gap:6px;inline-size:auto;max-inline-size:none;padding:2px 4px;overflow:visible;transform:none}.battle-table .selection-command-count{margin-inline-end:auto;padding:4px 7px;font-size:13px}.battle-table .selection-command-actions{display:flex;align-items:center;gap:4px}.battle-table :is(.selection-command-actions,.selection-tray-head) .btn{min-block-size:38px;min-inline-size:66px;padding-inline:9px;font-size:13px}.battle-table .selection-command-actions .selection-icon-button{min-inline-size:38px}.battle-table .selection-dock:has(>.selection-command) .hand{grid-area:2 / 1;padding-block:3px 1px;--dock-hand-inline: var(--portrait-choice-card)}.battle-table .selection-candidates.pick-drawer{--candidate-card-width: var(--portrait-choice-card);padding:3px}.battle-table .candidate-tray{grid-area:2 / 1;padding:0 2px 1px}.battle-table .candidate-tray:has(.candidate-selected){grid-template-columns:minmax(0,1fr) min(calc(var(--candidate-wells) * (var(--candidate-card-width) + 5px) + 10px),46%)}.battle-table :is(.selection-candidates .candidate-rail,.candidate-selected){align-items:start;padding:2px 3px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain}.battle-table .selection-deck-tray.deck-top-panel{grid-area:2 / 1;inline-size:100%}.battle-table .selection-deck-tray:after,.battle-table .candidate-connector{display:none}.battle-table .selection-deck-tray .deck-top-boxes{padding:3px}.battle-table .selection-deck-tray .deck-top-label{min-height:23px;margin-block-end:2px;font-size:12px}.battle-table .selection-deck-tray :is(.deck-top-card,.deck-top-empty){inline-size:min(100%,max(24px,calc((var(--dock-block) - var(--portrait-choice-bar) - 42px) * (var(--card-ratio)))))}.battle-table .selection-options.option-panel{padding:4px}.battle-table .ability-source-group{max-width:36%;align-items:flex-start;padding:4px;overscroll-behavior-inline:contain}.battle-table .ability-card-entry{flex-basis:min(52px,var(--dock-candidate-inline))}.battle-table .selection-options .option-list{grid-auto-flow:row;grid-auto-columns:minmax(0,1fr);grid-auto-rows:max-content;align-content:start;gap:3px;padding:2px;overscroll-behavior:contain}.battle-table .selection-options .ability-plaque{min-height:44px;padding:4px 7px;font-size:13px}.battle-table :is(.slot.selection-target,.selection-candidates .pick-card,.selection-deck-tray .deck-top-card)>.inspect-card-btn{inline-size:clamp(17px,calc(var(--portrait-frame-width) * .05),22px);max-inline-size:42%;block-size:auto;aspect-ratio:1;border-color:#a3c5de;background:#102238f5;box-shadow:0 1px 4px #0a1025b3}.battle-table :is(.slot.selection-target,.selection-candidates .pick-card,.selection-deck-tray .deck-top-card)>.inspect-card-btn svg{inline-size:64%;block-size:64%}.table-result-panel{gap:clamp(10px,calc(var(--portrait-frame-height) * .025),22px);padding:clamp(12px,calc(var(--portrait-frame-width) * .04),26px)}.table-result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.table-result-actions .btn.primary{grid-column:1 / -1}.app .roll-fx .battle-die{width:clamp(42px,calc(var(--portrait-frame-width) * .12),66px);height:clamp(42px,calc(var(--portrait-frame-width) * .12),66px)}.app .is-adjusting .battle-dice-tray{width:min(calc(30px + var(--dice-count) * 166px),calc(var(--roll-viewport-w, calc(var(--portrait-frame-width) * 1)) - 20px));min-height:min(112px,calc(var(--portrait-frame-height) * .28));padding:12px}.battle-die-choice{--die-adjust-size: 44px}:is(.battle-die-adjust,.battle-dice-keep){min-height:44px;font-size:18px}.app .roll-fx .dice-note{padding:5px 12px;font-size:17px}}@media (orientation: portrait) and (max-height: 620px){.battle-table .dock-stage{--portrait-choice-bar: 36px}.battle-table :is(.selection-command-actions,.selection-tray-head) .btn{min-block-size:31px}.battle-table .selection-deck-tray .deck-top-box{display:grid;grid-template-columns:minmax(2em,1fr) minmax(0,1.2fr);align-items:center;gap:2px}.battle-table .selection-deck-tray .deck-top-label{margin:0;padding:4px 1px;line-height:1.1}.battle-table .selection-deck-tray :is(.deck-top-card,.deck-top-empty){inline-size:min(100%,max(22px,calc((var(--dock-block) - var(--portrait-choice-bar) - 15px) * (var(--card-ratio)))))}}.portrait-play-cancel{display:none}@media (orientation: portrait){.portrait-play-cancel{position:absolute;z-index:112;inset-block-start:2px;inset-inline-end:4px;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:3px 8px;border:1px solid #b5e1eb8c;border-radius:7px;background:linear-gradient(#12223347,#0b132bb0),url(./action-plate.png) center / 100% 100% no-repeat,#19273e;color:#edf8fc;font-size:12px;font-weight:650;box-shadow:0 3px 9px #090e19aa}.portrait-play-cancel>span:last-child{font-size:19px;line-height:1}.portrait-play-cancel:focus-visible{outline:2px solid #f8d9a0;outline-offset:2px}}.card-skill-actions{display:grid;gap:3px}.card-skill-button{min-width:0;padding:3px 4px;border:1px solid #b9a792;border-radius:5px;background:linear-gradient(#43372580,#261d2280),url(./action-plate.png) center / 100% 100% no-repeat,#29232b;color:#ffedc4;font-family:inherit;font-size:clamp(9px,.8vw,12px);font-weight:650;line-height:1.15;text-shadow:0 1px 2px #17111c}.card-skill-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.card-skill-button:disabled{color:#a5a7b0;border-color:#696978;filter:grayscale(1);cursor:default}.card-skill-button:not(:disabled):is(:hover,:focus-visible){border-color:#ffe4a1;box-shadow:0 0 9px #e9b753a8;outline:none}@media (prefers-reduced-motion: reduce){.slot>.card.skill-ready{animation:none}}.effect-focus{position:fixed;z-index:170;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));background:#080b19c9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.effect-focus-panel{--focus-card-width: clamp(82px, min(13vw, 24dvh), 160px);display:flex;flex-direction:column;gap:14px;width:min(1060px,100%);max-height:100%;padding:clamp(12px,2vw,25px);border:1px solid #8bb9cf;border-top-color:#e8d6ac;border-radius:14px;background:linear-gradient(130deg,#12263ce8,#151726ec),url(./pile-spread-base.png) center / 100% 100% no-repeat;box-shadow:0 18px 60px #020611bf,inset 0 1px #d4ebfc36;color:#ecf4f8}.effect-focus-head,.effect-focus-actions{flex:none;display:flex;align-items:center;gap:10px}.effect-focus-head{justify-content:space-between}.effect-focus-head h2{margin:0;font-size:clamp(19px,2.4vw,29px)}.effect-focus-actions{justify-content:flex-end}.effect-focus-body{min-height:0;overflow:auto;overscroll-behavior:contain}.effect-focus .btn,.focus-return{min-height:42px;padding:7px 16px;border:1px solid #8aa9b8;border-radius:7px;color:#e6f7ff;background:linear-gradient(#17394b76,#101a298c),url(./action-plate.png) center / 100% 100% no-repeat;font-size:15px}.effect-focus .btn.primary{border-color:#94dfc2;color:#d8ffee}.effect-focus .btn:disabled{opacity:.4}.focus-return{position:fixed;z-index:171;right:14px;top:50%;transform:translateY(-50%)}.deck-drag-ghost{z-index:225}.effect-focus .selection-command,.effect-focus .selection-tray-head{position:static;display:flex;justify-content:flex-end;align-items:center;width:auto;max-width:none;max-height:none;padding:0;border:0;background:none;transform:none}.effect-focus .selection-command-count{margin-right:auto;font-size:16px}.effect-focus .selection-command-actions{display:flex;gap:8px}.effect-focus .selection-candidates,.effect-focus .selection-deck-stage{--candidate-card-width: var(--focus-card-width);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:15px;height:auto;padding:0;border:0;background:none}.effect-focus .candidate-tray{display:flex;flex-direction:column;gap:15px;padding:0;overflow:visible}.effect-focus .candidate-tray:has(.candidate-selected){grid-template-columns:none}.effect-focus .candidate-rail,.focus-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--focus-card-width)),var(--focus-card-width)));grid-auto-flow:row;grid-auto-columns:auto;justify-content:center;gap:10px;max-height:none;padding:5px;overflow:visible}.effect-focus .candidate-selected{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;padding:8px}.effect-focus .selection-chosen{--selection-accent: #83ecac;--selection-art: none}.effect-focus .selection-mark{color:#ddffec;border-color:#83ecac;background:#205e47}.effect-focus :is(.pick-card,.candidate-vacated,.candidate-well,.pile-card,.focus-card){position:relative;flex:0 0 var(--focus-card-width);width:var(--focus-card-width);height:auto;aspect-ratio:var(--card-ratio)}.effect-focus .candidate-well .pick-card{width:100%}.effect-focus .pile-card-inspect{position:absolute;z-index:3;top:0;right:0;bottom:0;left:0;border-radius:7px}.effect-focus .pile-card-inspect:focus-visible{outline:2px solid #b4edff;outline-offset:-2px}.effect-focus .candidate-connector,.effect-focus .candidate-deal,.effect-focus .selection-deck-tray:after{display:none}.effect-focus .inspect-card-btn{width:32px;height:32px;opacity:1;pointer-events:auto}.effect-focus .selection-options{height:auto;max-height:none;padding:0;border:0;background:none}.effect-focus .selection-option-body{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px}.effect-focus .ability-source-group{display:flex;justify-content:center;flex-wrap:wrap;max-width:none;overflow:visible}.effect-focus .ability-card-entry{flex:0 0 var(--focus-card-width);width:var(--focus-card-width)}.effect-focus .ability-source-seal{display:none}.effect-focus .option-list{display:grid;grid-auto-flow:row;grid-auto-columns:auto;gap:10px;max-height:none}.effect-focus .ability-plaque{min-height:58px;padding:10px 15px}.effect-focus .ability-plaque.is-chosen{border-color:#83ecac;box-shadow:0 0 12px #62d6a460}.effect-focus .option-name{font-size:16px;line-height:1.5}.effect-focus .selection-deck-tray{height:auto;max-height:none}.effect-focus .deck-top-boxes{display:flex;justify-content:center;gap:16px;padding:10px}.effect-focus .deck-top-box{width:var(--focus-card-width);flex:0 1 var(--focus-card-width)}.effect-focus :is(.deck-top-card,.deck-top-empty){width:100%;aspect-ratio:var(--card-ratio)}.effect-focus .deck-top-label{min-height:36px;font-size:15px}.effect-focus .roll-fx{position:static;width:auto;max-height:none;transform:none;background:none;padding:12px;pointer-events:auto}.effect-focus .battle-dice-tray{margin-inline:auto}.effect-focus .battle-dice-caption{justify-content:center}.focus-summary{margin:0 0 10px;color:#c4d3e0}.focus-feedback{margin:0;color:#ffdda1}.pile-focus-panel{--pile-content-inset: clamp(12px, 2vw, 24px)}.pile-focus-panel .effect-focus-head{padding:6px var(--pile-content-inset) 0;align-items:center}.pile-focus-panel .effect-focus-head h2{position:relative;top:4px}.pile-focus-panel .focus-summary{margin-inline:var(--pile-content-inset)}.pile-focus-panel .effect-focus-actions{padding:0 var(--pile-content-inset) 8px}.focus-activation{display:flex;align-items:center;gap:25px}.focus-activation p{font-size:17px;line-height:1.7;white-space:pre-line}.effect-focus .selection-options.source-free-options{width:min(760px,100%);margin-inline:auto}.effect-focus .source-free-options .selection-option-body{grid-template-columns:minmax(0,1fr)}.effect-focus .option-choice{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:stretch}.effect-focus .option-choice.has-pair-choice{grid-template-columns:minmax(0,1fr) 64px}.effect-focus .option-choice .ability-plaque{width:100%}.effect-focus .option-rules{display:block;margin-top:5px;color:#d1e3ee;font-size:15px;font-weight:450;line-height:1.5;white-space:normal}.effect-focus .option-pair-toggle{position:relative;display:grid;place-items:center;min-width:0;padding:5px;border:1px solid #789cab85;border-radius:7px;background:#142b3b;color:#f6f4dc;cursor:pointer}.effect-focus .option-pair-price{display:grid;place-items:center;width:46px;height:56px;background:url(./energy-chip.png) center / contain no-repeat;font-size:26px;font-weight:750;text-shadow:0 1px 3px #07111c}.effect-focus .option-pair-toggle.is-chosen{border-color:#9becba;background:#1d463e;box-shadow:inset 0 0 14px #85e8b32e}.effect-focus .option-pair-toggle:disabled{opacity:.4;filter:grayscale(1);cursor:default}.effect-focus .option-pair-tick{position:absolute;right:2px;bottom:3px;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;color:#d9ffe7;background:#20694f}.effect-focus .option-pair-tick .table-icon{width:15px;height:15px}.effect-focus .option-pair-toggle:focus-visible{outline:2px solid #b7efff;outline-offset:3px}.effect-focus .selection-candidates .candidate-tray{display:block}.effect-focus .option-reading{max-height:min(240px,35dvh);overflow:auto;margin:0 0 10px;padding:10px 12px;color:#e4eff5;background:#0c1927;font-size:15px;line-height:1.7}.effect-focus .pick-card.candidate-benefit:not(.selection-chosen)>.card{border-color:#a0e7ff;box-shadow:0 0 0 2px #61caf5,0 0 20px 4px #41b9ee99,inset 0 0 8px #8ae0ff44}.effect-focus .selection-candidates .pick-card{cursor:pointer}.fine-pointer .effect-focus .selection-candidates .pick-card:hover>.inspect-card-btn{opacity:1;pointer-events:auto}.effect-focus .battle-dice-current{margin:3px 0 12px;color:#f0e2c2;font-size:clamp(21px,3vw,30px);font-weight:700;text-align:center}.effect-focus .battle-die-select{display:grid;place-items:center;min-width:0;padding:5px;border:2px solid #7597aa70;border-radius:10px;background:#172b3c}.effect-focus .battle-die-select.is-chosen{border-color:#a9edff;background:#214b61;box-shadow:0 0 12px #5dc7eb70}.effect-focus .battle-dice-adjustments{--modifier-button-width: clamp(94px, 20vw, 150px);display:grid;grid-template-columns:repeat(3,var(--modifier-button-width));align-items:center;justify-content:center;gap:10px;margin:8px auto 0}.effect-focus .battle-dice-adjustments>button{position:relative;inset:auto;display:grid;place-items:center;width:var(--modifier-button-width);height:max(44px,calc(var(--modifier-button-width) / 3));min-height:44px;margin:0;padding:4px 8px;border:0;border-radius:0;color:#edf7fd;background:url(./action-plate.png) center / contain no-repeat;box-shadow:none;transform:none;font-size:clamp(13px,1.7vw,17px);font-weight:650;line-height:1.2;white-space:nowrap}.effect-focus .battle-dice-adjustments>button:disabled{opacity:.35;filter:grayscale(1);cursor:default}@media (orientation: portrait){.effect-focus-panel{--focus-card-width: clamp(68px, calc(var(--portrait-frame-width) * .255), 125px);gap:10px;padding:12px}.effect-focus-head{align-items:flex-start}.effect-focus-head h2{font-size:20px}.effect-focus-head .btn{padding:5px 9px;font-size:12px;white-space:nowrap}.effect-focus .selection-option-body{grid-template-columns:minmax(0,1fr)}.effect-focus .option-name{font-size:14px}.effect-focus .candidate-rail,.focus-card-grid{gap:7px}.effect-focus .deck-top-boxes{gap:7px;padding:2px}.focus-activation{flex-direction:column;gap:8px}.focus-activation p{margin:0;font-size:15px}.effect-focus .battle-die-choice{--die-adjust-size: 44px}.effect-focus .battle-die{width:58px;height:58px}.effect-focus .battle-die-adjust,.effect-focus .battle-dice-keep{min-height:44px}.effect-focus .option-choice{gap:8px}.effect-focus .option-choice.has-pair-choice{grid-template-columns:minmax(0,1fr) 54px}.effect-focus .option-pair-price{width:38px;height:46px;font-size:22px}.effect-focus .option-rules{font-size:14px}.effect-focus .battle-dice-adjustments{--modifier-button-width: min(94px, calc((var(--portrait-frame-width) - 84px) / 3));gap:6px}}.app.battle-table{--board-lane-pad: clamp(2px, .3vw, 5px);--board-lane-block-pad: clamp(2px, .45dvh, 5px);--board-lane-row-gap: 3px}.foe-card-flight,.option-reveal-flight{z-index:220}.card-skill-button:not(:disabled):is(:hover,:focus-visible){border-color:#ffe7a0;box-shadow:0 0 9px #edb846a8}.battle-table .lane>.slots.foe,.battle-table .lane>.slots.me{margin-block:0}.slot>.card.skill-ready{border-color:#fff0bc;box-shadow:0 0 0 2px #f5cf6e,0 0 16px 4px #e9ad39c0,0 0 32px 6px #d68a2666,inset 0 0 10px #ffe7aa70;animation:none}.battle-table .slot.selection-target>.card,.battle-table .slot.selection-target[data-act=pick]{border-color:#c1f2ff;box-shadow:0 0 0 2px #77d9ff,0 0 16px 4px #37b7f2b8,0 0 32px 6px #198ce666,inset 0 0 10px #b6f3ff70;animation:none}.battle-table .slot.selection-target:has(>.card),.effect-focus .pick-card.selection-target{--selection-accent: #83ddff;--selection-art: none}.battle-table .slot.selection-target[data-act=pick]{--selection-accent: #83ddff;--selection-art: none;background:#2a759c80}.battle-table .slot.selection-chosen,.effect-focus .pick-card.selection-chosen{--selection-accent: #7af2a8;--selection-art: none;border-color:#7af2a8;box-shadow:0 0 0 2px #8af8b5,inset 0 0 20px #51bf8a99,0 0 24px 5px #6ee5a2b0}.battle-table .slot.selection-target.selection-chosen[data-act=pick]{background:#20583f8c;border-color:#7af2a8;box-shadow:0 0 0 2px #8af8b5,inset 0 0 20px #51bf8a99,0 0 24px 5px #6ee5a2b0;animation:none}.battle-table .slot.selection-chosen>.card{border-color:#7af2a8;box-shadow:0 0 0 2px #9afac0,0 0 24px 5px #6ee5a2b8,inset 0 0 10px #9afac05c;animation:none}.battle-table .slot>.selection-mark{top:auto;left:50%;bottom:4px;right:auto;transform:translate(-50%);color:#e3ffed;background:#1e624de8;border-color:#9df6bd}.app.battle-table .slot.play-drop-target.over-play-slot{border-color:#7af2a8;box-shadow:0 0 0 2px #8af8b5,inset 0 0 20px #51bf8a99,0 0 24px 5px #6ee5a2b0}.app.battle-table .slot.play-drop-target:not(.over-play-slot),.battle-table .slot.valid[data-act=play]:not(.play-drop-target),.fine-pointer .battle-table .slot.valid[data-act=play]:is(:hover,:focus-visible):not(.over-play-slot){border-color:#b4efff;box-shadow:0 0 0 2px #77d9ff,inset 0 0 18px #5cc2ec99,0 0 24px 4px #47c2f4a0}.battle-table .selection-command{border:0;background:none;padding:3px}.battle-table .selection-command-actions .btn{min-height:40px;padding:6px 10px;border:1px solid #83c6ad;border-radius:6px;background:linear-gradient(#244b4666,#182d3555),url(./choice-plaque-ready.png) center / 100% 100% no-repeat}@media (orientation: portrait){.app.battle-table{--portrait-rail: 0px;--board-lane-block-pad: 2px;--board-lane-pad: 2px}.battle-table .board-camera .slots.me .slot,.battle-table .board-camera .slots.foe .slot{margin-block:0}.battle-table .dock-stage>.selection-dock{grid-template-rows:minmax(0,1fr);gap:0}.battle-table .dock-stage .selection-dock>.hand{--dock-hand-inline: var(--table-hand-card-width);grid-area:1 / 1;padding-block:var(--table-seat-inset) 3px}}.app.battle-table .dock-stage .selection-dock>.selection-command{position:absolute;z-index:112;inset:auto auto 2px 2px;width:auto;transform:none}.app.battle-table .table-player-hand .hand-card:not(.selection-target,.selection-source,.selection-chosen)>.card:is(.cost-changed,.hand-effect){box-shadow:0 0 0 2px #f6cf68,0 0 16px 4px #edb8459e,inset 0 0 10px #ffeb9e60;animation:none}.table-player-hand .hand-card.disabled:has(>.card:is(.cost-changed,.hand-effect)){filter:none}.table-player-hand .hand-card.disabled>.card.cost-changed:not(.hand-effect)>.card-art{filter:grayscale(.55) brightness(.72)}@media (orientation: portrait){:root{--portrait-frame-width: min(100vw, 56.25dvh );--portrait-frame-height: calc(var(--portrait-frame-width) * 16 / 9);--portrait-cover-center: calc(var(--portrait-frame-height) * .31)}.screen-layer{position:absolute;top:0;right:0;bottom:0;left:0;width:var(--portrait-frame-width);height:var(--portrait-frame-height);margin:auto}.app.battle-table{--battle-frame-inline: var(--portrait-frame-width);inline-size:100%;block-size:100%}.cover-intro,.cover-intro-whiteout,.lobby-art,.effect-focus,.table-result{top:0;right:0;bottom:0;left:0;width:var(--portrait-frame-width);height:var(--portrait-frame-height);margin:auto}.focus-return{top:50%;right:calc((100vw - var(--portrait-frame-width)) / 2 + 10px)}.battle-effects,.option-reveal-flight{clip-path:inset(calc((100dvh - var(--portrait-frame-height)) / 2) calc((100vw - var(--portrait-frame-width)) / 2))}.game-lobby.tabletop-home{--lobby-hero-end: calc(var(--portrait-cover-center) + var(--portrait-frame-width) * .28125)}}.app.battle-table{--hud-gap: 5px;--hud-preferred-width: min(168px, calc(var(--battle-frame-inline) * .115), calc(var(--table-seat-height) - 2 * var(--hud-gap)));--foe-card-height: calc(var(--table-hand-card-width) / (var(--card-ratio)));--foe-seat-lift: calc(var(--foe-card-height) * .75);--foe-seat-visible: max(0px, calc(var(--table-seat-height) - var(--foe-seat-lift)));--foe-control-band: calc(var(--hud-preferred-width) / 3);--foe-top-block: max( calc(var(--foe-seat-visible) + var(--table-seat-gap) + var(--foe-control-band)), calc(min(var(--hud-preferred-width), 48px) + 2 * var(--hud-gap)) );--hud-button-width: min(var(--hud-preferred-width), calc(var(--foe-top-block) - 2 * var(--hud-gap)));--hud-button-height: calc(var(--hud-button-width) / 3);--hud-font: clamp(10px, calc(var(--hud-button-width) * .11), 18px);--hud-weight: 650;--hud-icon: calc(var(--hud-font) * 1.25);--hud-text-gap: calc(var(--hud-font) * .4);--table-seat-side-width: var(--hud-button-width)}.app.battle-table .table-command{position:relative;isolation:isolate;display:inline-flex;flex:none;align-items:center;justify-content:center;gap:var(--hud-text-gap);inline-size:var(--hud-button-width);min-inline-size:var(--hud-button-width);max-inline-size:var(--hud-button-width);block-size:var(--hud-button-height);min-block-size:var(--hud-button-height);max-block-size:var(--hud-button-height);box-sizing:border-box;margin:0;padding:0 calc(var(--hud-button-width) * .075);border:0;border-radius:0;background:none;box-shadow:none;color:#e5f5ff;font-family:inherit;font-size:var(--hud-font);font-weight:var(--hud-weight);line-height:1.15;text-align:center;white-space:nowrap;text-shadow:0 1px 2px #101c29}.app.battle-table .table-command:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url(./action-plate.png) center / contain no-repeat;filter:var(--command-tint, none);pointer-events:none}.app.battle-table .table-command[data-act=end-turn],.app.battle-table .table-end-confirm [data-act=confirm-end]{--command-tint: sepia(1) saturate(4) hue-rotate(355deg) brightness(1.2);color:#fff0ae}.app.battle-table .table-command[data-act=undo]{--command-tint: sepia(1) saturate(5) hue-rotate(315deg) brightness(1.05);color:#ffe0d9}.app.battle-table .table-command:is([data-act=log],[data-act=open-settings]){--command-tint: sepia(1) saturate(1.25) brightness(.9);color:#f3dcc0}.app.battle-table .table-command>.table-icon,.app.battle-table .table-command>.table-round{flex:0 0 var(--hud-icon);inline-size:var(--hud-icon);block-size:var(--hud-icon);margin:0}.app.battle-table .table-action>span,.app.battle-table .table-command .table-phase,.app.battle-table .table-command .table-phase strong{display:block;margin:0;padding:0;font-size:inherit;font-weight:inherit;line-height:inherit;text-align:center}.app.battle-table .table-round{display:grid;place-items:center;padding:0;font-size:var(--hud-font);font-weight:var(--hud-weight);line-height:1}.app.battle-table .table-round>svg{display:block;width:100%;height:100%;overflow:visible;fill:currentColor;font-size:16px;font-weight:inherit}.app.battle-table .table-turn{cursor:default}.app.battle-table .table-turn.foe{color:#f5b4c6}.app.battle-table .table-turn.pending strong{color:#f2dfa8}.app.battle-table button.table-command:not(:disabled):hover{filter:brightness(1.18)}.app.battle-table button.table-command[aria-expanded=true]{filter:brightness(1.18) drop-shadow(0 0 4px #84dfff80)}.app.battle-table button.table-command:focus-visible{outline:2px solid #9ce8ff;outline-offset:2px}.app.battle-table button.table-command:disabled{opacity:.48;filter:grayscale(.7)}.app.battle-table .table-top .table-tools{display:grid;grid-template-columns:var(--hud-button-width);grid-auto-rows:var(--hud-button-height);inline-size:var(--hud-button-width);justify-content:end;justify-items:center;justify-self:end;align-content:center;align-items:center;gap:var(--hud-gap);max-block-size:none;overflow:visible}.app.battle-table .battle-action-dock .dock-right{display:grid;grid-template-columns:var(--hud-button-width);grid-auto-rows:var(--hud-button-height);justify-content:end;justify-items:center;justify-self:end;align-content:center;gap:var(--hud-gap);inline-size:var(--hud-button-width);min-inline-size:0;max-block-size:none;overflow:visible}.app.battle-table .table-energy b,.app.battle-table .table-energy small{font-size:var(--hud-font);font-weight:var(--hud-weight);line-height:1.15}.app.battle-table .table-turn.running{padding-block:0}.app.battle-table .table-running{inset:auto 28% calc(var(--hud-button-height) * .12);height:3px;gap:3px;background:none}.app.battle-table .table-running i{width:3px;height:3px}@media (orientation: portrait){.app.battle-table{--hud-preferred-width: clamp(40px, calc(var(--portrait-frame-width) * .175), 84px);--hud-gap: clamp(3px, calc(var(--portrait-frame-width) * .012), 6px);--hud-font: clamp(9px, calc(var(--portrait-frame-width) * .027), 14px);--hud-text-gap: 2px;--hud-icon: calc(var(--hud-font) * 1.1);--foe-control-band: var(--portrait-strip)}.app.battle-table .table-command{padding-inline:2px}}@media (orientation: landscape) and (max-height: 520px){.app.battle-table{--hud-gap: 3px;--hud-font: clamp(8px, calc(var(--hud-button-width) * .15), 13px);--hud-icon: calc(var(--hud-font) * 1.05);--hud-text-gap: 2px}.app.battle-table .table-command{padding-inline:2px}}.selection-confirm-mark,.app.battle-table .slot>.selection-mark{width:1.26rem;height:1.26rem;min-width:1.26rem;min-height:1.26rem;padding:0;font-size:12px;line-height:1;border-width:1px}.selection-confirm-mark .table-icon{width:12px;height:12px;stroke-width:2.4}.selection-confirm-mark{top:auto;bottom:4px}.app.battle-table .table-top{grid-template-rows:var(--foe-top-block);overflow:hidden}.app.battle-table .table-top .foe-seat,.app.battle-table .table-top .table-hand-piles{align-self:start;margin-block:0}.app.battle-table .table-top .foe-seat{transform:translateY(calc(-1 * var(--foe-seat-lift)))}.app.battle-table .table-top .table-hand-piles{transform:translateY(min(calc(var(--table-resource-card-height) / 3 - var(--foe-card-height) * .5),calc(var(--foe-top-block) - var(--table-resource-card-height) - 2 * var(--table-pile-block-padding))))}.app.battle-table .table-turn.final-round{color:#ffe0d1;--team: #ff8d76}.app.battle-table .table-turn.final-round:before{--final-round-tint: sepia(1) saturate(3) hue-rotate(315deg) brightness(1.12);filter:var(--final-round-tint) drop-shadow(0 0 6px #d65948a6)}@media (prefers-reduced-motion: no-preference){.app.battle-table .table-turn.final-round:before{animation:final-round-breathe 2s ease-in-out infinite alternate}}@keyframes final-round-breathe{to{filter:var(--final-round-tint) drop-shadow(0 0 11px #ff725bc7)}}.target-focus{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:140;visibility:hidden}.target-focus[data-positioned]{visibility:visible}.target-focus-shade{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.target-focus-title{position:absolute;left:var(--focus-title-x);top:var(--focus-title-y);transform:translate(-50%,-50%);display:grid;gap:2px;inline-size:min(var(--focus-title-width),42rem);color:#e4faff;font-size:clamp(13px,calc(var(--battle-frame-inline) * .017),24px);line-height:1.22;text-align:center;text-shadow:0 2px 4px #030611,0 0 12px #48bce6a0,0 0 26px #1879bd90}.target-focus-title strong{font-weight:750}.target-focus-rule{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#d5e8f3;font-size:clamp(11px,calc(var(--battle-frame-inline) * .0125),16px);overflow-wrap:anywhere}.battle-table:has(>.target-focus) .selection-dock .selection-command-actions{display:grid;grid-template-columns:repeat(2,minmax(44px,1fr))}.battle-table:has(>.target-focus) .selection-dock .selection-command-actions .btn{inline-size:100%;min-inline-size:0}.app.battle-table[inert]>.target-focus,.app.battle-table:has(>.modal-mask,>.dc-bar)>.target-focus{display:none}.battle-notice-stack{position:fixed;z-index:160;transform:translate(-50%);display:flex;flex-direction:column;gap:6px;pointer-events:none}.battle-notice-stack[hidden]{display:none}.battle-notice{flex:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;padding:5px 12px;border:11px solid transparent;border-image:url(./pile-spread-base.png) 48 fill / 11px / 0 stretch;color:#e4f0f7;text-align:center;font-size:15px;line-height:1.5;filter:drop-shadow(0 5px 9px #020811a0);animation:battle-notice-in .18s ease-out}@keyframes battle-notice-in{0%{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}@media (orientation: portrait){.battle-notice{padding:4px 8px;border-width:9px;border-image-width:9px;font-size:13px}}@media (prefers-reduced-motion: reduce){.battle-notice{animation:none}}.table-energy-value[data-preview-value]{position:relative;display:inline-block;color:transparent}.table-energy-value[data-preview-value]:after{position:absolute;inset-inline-start:0;top:0;content:attr(data-preview-value);color:#ffe082;text-shadow:0 0 8px #f7c45380}.table-energy.me .table-charges i[data-preview-charge=remaining]{filter:sepia(1) saturate(4) hue-rotate(352deg) brightness(1.18)}.table-energy.me .table-charges i[data-preview-charge=empty]{filter:grayscale(1) brightness(.57)}.hand-card[data-playable=true]:focus-visible{outline:2px solid #e7f8ff;outline-offset:2px}.tabletop-home,.tabletop-deck,.tabletop-settings{--menu-text: #e6f1f5;--menu-muted: #a8bec9;--menu-edge: #5f849a;--menu-ink: #101e2b;--menu-panel: #162b3a;--menu-cyan: #ade4e5;--menu-gold: #f0d499;--line: #7fa1ad4d;--line-strong: #9bc3d18c;--text: var(--menu-text);--text-dim: var(--menu-muted)}.deck-screen.tabletop-deck{color:var(--menu-text);background:linear-gradient(145deg,#102132ed,#08141feb),url(./board-surface.jpg) center / cover no-repeat fixed}.tabletop-deck :is(.catalog-panel,.deck-panel),.modal.tabletop-settings{border:1px solid var(--menu-edge);border-radius:10px;background:linear-gradient(145deg,#20394b,var(--menu-ink) 68%);box-shadow:0 12px 30px #05101b80,inset 0 1px #d1e4ed25}.tabletop-settings-title,.tabletop-deck .deck-title{display:flex;align-items:center;gap:9px}.tabletop-unit-mark{display:block;flex:0 0 auto;width:24px;height:24px;object-fit:contain}.tabletop-home .btn,.tabletop-deck .btn,.tabletop-settings .btn{border-color:#7999a8b8;border-radius:6px;background:linear-gradient(155deg,#273f4f,#13232f);color:var(--menu-text)}.tabletop-home .btn.primary,.tabletop-deck .btn.primary,.tabletop-settings .btn.on{border-color:#9bd2d6;background:linear-gradient(155deg,#3a6570,#204450);color:azure}.tabletop-settings .btn.danger{border-color:#c79295;background:linear-gradient(155deg,#6a3743,#35242d)}:is(.tabletop-home,.tabletop-deck,.tabletop-settings) .btn:not(:disabled):focus-visible{outline:2px solid var(--menu-cyan);outline-offset:2px}.tabletop-home .tabletop-link-panel{min-width:0;margin-top:12px;padding:10px;border-color:#739bac7a;border-radius:7px;background:#0e2131}.tabletop-link-panel h3,.tabletop-home .home-deck-head b{color:var(--menu-cyan)}.tabletop-link-panel textarea,.tabletop-deck :is(.catalog-search input,.deck-name){border-color:#6d8fa383;border-radius:6px;background:#0b1925;color:var(--menu-text)}.tabletop-link-panel textarea{min-height:55px;height:65px;resize:vertical}.tabletop-active-deck{display:flex;align-items:center;gap:7px;min-width:0}.tabletop-active-deck>span{display:grid;min-width:0}.tabletop-active-deck small{color:var(--menu-muted)}.tabletop-active-deck b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tabletop-home .deck-chip{display:inline-flex;align-items:center;gap:5px;border-color:#617f916b;border-radius:5px;background:#132a3a;color:var(--menu-text)}.tabletop-home .deck-chip.on{border-color:var(--menu-cyan);background:#285361}.tabletop-deck-chip-art{flex:0 0 auto;width:9px;height:13px;background:url(./deck-back.png) center / contain no-repeat}.deck-screen.tabletop-deck{max-width:none;padding-inline:max(14px,calc((100% - 1320px)/2))}.tabletop-deck .deck-title{color:var(--menu-cyan)}.tabletop-deck .catalog-group-head,.tabletop-deck .catalog-filters summary,.tabletop-settings-title{background:linear-gradient(90deg,#1e3a4a,#172f3f 55%,#13283a);box-shadow:inset 0 1px #d1e4ed1f;color:var(--menu-text)}.tabletop-deck .catalog-group-head{min-height:37px;border-color:#7fa1ad87}.tabletop-deck .catalog-group-count,.tabletop-deck .catalog-count{color:var(--menu-cyan)}.tabletop-deck .catalog-filters summary{padding:6px 9px;border-radius:5px}.tabletop-deck .filter-chip[data-squad]{display:inline-flex;align-items:center;gap:3px}.tabletop-deck .filter-chip .tabletop-unit-mark{width:15px;height:15px}.tabletop-deck .filter-chip.on{border-color:#9bd2d6;background:#285361;color:#efffff}.tabletop-deck .catalog-card.in{outline:2px solid var(--menu-cyan);outline-offset:-2px}.tabletop-deck .catalog-card.unbuildable{opacity:1;filter:none}.tabletop-deck.mode-build .catalog-card.unbuildable{outline:1px dashed #adc1cb;outline-offset:-2px}.tabletop-deck .deck-lib-tab{border-color:#617f916b;background:#132a3a}.tabletop-deck .deck-lib-tab.on{border-color:var(--menu-gold);background:#f0d4991a;color:var(--menu-gold)}.tabletop-deck :is(.deck-saved-row.on,.deck-saved-row.renaming,.deck-preset-row:hover),.tabletop-deck .deck-saved-act:hover{background:#1d3a4b}.tabletop-deck .deck-more{padding-top:10px;border-top:1px solid var(--line)}.tabletop-deck .deck-slot.empty{border-color:#8297a680;background:#0f2230;color:#b5c8d0}.tabletop-deck .deck-slot.empty.captain{border-color:#d4b47c;background:#0f2230 url(./frame-hq.png) center / 100% 100% no-repeat;color:var(--menu-gold)}.tabletop-slot-mark{display:grid;place-items:center}.tabletop-slot-mark .table-icon{width:19px;height:19px}.tabletop-settings-title{padding:6px 8px;border:1px solid #7da0b17a;border-radius:5px}.tabletop-settings .set-row{border-color:#7394a671;border-radius:7px;background:#142938}.tabletop-settings :is(.set-row,.set-danger)>.btn{min-inline-size:6.5em}@media (max-width: 860px){.deck-screen.tabletop-deck{padding-inline:10px}.tabletop-deck .deck-title{display:none}.tabletop-deck .deck-top{border-block-end:1px solid #5f849a;background:#111f2df5}.tabletop-deck :is(.catalog-card,.deck-slot) .inspect-card-btn{inset:auto 1px 1px auto;inline-size:30px;block-size:30px;border-color:#a4c7d58c;background:#0b1925c4}.tabletop-deck .deck-slot .inspect-card-btn{inline-size:24px;block-size:24px}.tabletop-deck .deck-slot .inspect-card-btn svg{width:13px;height:13px}}@media (min-width: 861px){.tabletop-deck .catalog-cards{grid-template-columns:repeat(auto-fill,minmax(clamp(94px,9vw,128px),1fr));gap:10px}}@media (max-width: 860px) and (orientation: landscape){.tabletop-deck .deck-grid{grid-template-columns:repeat(10,minmax(0,1fr))}.tabletop-deck .deck-panel{max-block-size:min(calc(100dvh - 60px),64dvh)}}@media (orientation: portrait){.deck-screen.tabletop-deck{--deck-portrait-top: 53px;padding:env(safe-area-inset-top) max(8px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.tabletop-deck .deck-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;inset-block-start:env(safe-area-inset-top);z-index:45;gap:4px;margin-block-end:7px;padding-block:4px 5px;border-block-end:1px solid #5f849a;background:#111f2df5}.tabletop-deck .deck-top .btn{min-inline-size:0;min-block-size:44px;padding:5px clamp(5px,1.7vw,12px);font-size:clamp(12px,3.4vw,15px);white-space:nowrap}.tabletop-deck .deck-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.tabletop-deck .deck-layout{gap:8px}.tabletop-deck .deck-panel{inset-block-start:calc(var(--deck-portrait-top) + env(safe-area-inset-top));max-block-size:min(54dvh,29rem);overscroll-behavior-block:contain}.tabletop-deck .deck-panel-head{min-block-size:42px;align-items:center}.tabletop-deck .deck-panel.collapsed{padding-block:2px}.tabletop-deck .deck-panel-title{font-size:16px}.tabletop-deck .deck-panel-sub{font-size:13px}.tabletop-deck :is(.deck-actions,.deck-panel-right,.deck-lib) .btn{min-block-size:42px;font-size:13px}.tabletop-deck :is(.catalog-search input,.deck-name,.deck-rename-input){min-block-size:44px;font-size:16px}.tabletop-deck .catalog-search input{padding-inline-end:48px}.tabletop-deck .catalog-search-clear{inline-size:40px;block-size:40px}.tabletop-deck :is(.catalog-group-head,.catalog-filters summary,.filter-foot .btn){min-block-size:44px;font-size:14px}.tabletop-deck .catalog-filters summary{padding-block:11px}.tabletop-deck .filter-chip{min-block-size:36px}.tabletop-deck .filter-row{margin-block-start:5px}.tabletop-deck .filter-check{min-block-size:38px}.tabletop-deck .filter-check input{inline-size:17px;block-size:17px}.tabletop-deck .catalog-cards{gap:clamp(6px,2vw,10px)}.modal-mask:has(>.tabletop-settings){place-items:end center;padding:max(8px,env(safe-area-inset-top)) max(0px,env(safe-area-inset-right)) 0 max(0px,env(safe-area-inset-left))}.modal.tabletop-settings{inline-size:min(100%,31rem);max-block-size:calc(100dvh - max(12px,env(safe-area-inset-top)));border-radius:16px 16px 0 0;overscroll-behavior-block:contain}.tabletop-settings>.body{padding:12px 12px max(12px,env(safe-area-inset-bottom))}.tabletop-settings .set-row .set-txt b{font-size:15px}.tabletop-settings .btn{min-block-size:44px}.tabletop-settings .controls-help summary{padding-block:9px}.tabletop-settings .set-foot>.btn{width:100%}}@media (orientation: portrait) and (max-width: 359px){.tabletop-deck .catalog-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}.deck-screen.deck-workbench{--workbench-edge: #6b91a6;--workbench-gold: #edcf94;--workbench-cyan: #aee4f0;--workbench-ink: #0c1925;display:flex;flex-direction:column;height:100%;max-width:none;padding:14px 18px 18px;overflow:hidden;background:linear-gradient(130deg,#102536f2,#07131fe8),url(./board-surface.jpg) center / cover no-repeat}.deck-workbench .deck-top{position:relative;top:auto;z-index:10;flex:none;display:grid;grid-template-columns:112px minmax(0,1fr) auto 112px 112px;grid-template-areas:"home title modes alt settings";align-items:center;gap:10px;width:min(100%,1560px);margin:0 auto 12px;padding:0;border:0;background:none}.deck-workbench .deck-home-control{grid-area:home}.deck-workbench .deck-alt-control{grid-area:alt}.deck-workbench .deck-settings-control{grid-area:settings}.deck-workbench .deck-title{grid-area:title;display:flex;align-items:center;gap:10px;min-width:0;margin:0;color:#eef6fa;font-size:22px;font-weight:700;line-height:1.2;letter-spacing:.06em;white-space:nowrap}.deck-workbench .deck-title .tabletop-unit-mark{width:32px;height:32px}.deck-workbench .deck-modes{grid-area:modes;display:flex;gap:6px}.deck-workbench .deck-modes .workbench-button{width:112px}.deck-workbench .btn.workbench-button{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:40px;padding:5px 10px;border:0;border-radius:0;background:none;color:#e7f4fc;font-size:14px;font-weight:650;line-height:1.2;white-space:nowrap;text-shadow:0 1px 2px #07101d;box-shadow:none;transform:none}.deck-workbench .workbench-button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url(./action-plate.png) center / contain no-repeat;filter:var(--button-tint, none);pointer-events:none}.deck-workbench .workbench-button.primary{--button-tint: sepia(1) saturate(2.5) hue-rotate(355deg) brightness(1.13);color:#fff0c2}.deck-workbench .workbench-button.deploy{--button-tint: hue-rotate(315deg) saturate(1.3) brightness(1.13);color:#d8ffec}.deck-workbench :is(.deck-home-control,.deck-alt-control,.deck-settings-control){--button-tint: sepia(1) saturate(1.1) brightness(.94)}.deck-workbench .btn.workbench-button:disabled{opacity:.48;filter:grayscale(.75);cursor:default}.deck-workbench .btn.workbench-button:not(:disabled):hover{filter:brightness(1.15)}.deck-workbench .workbench-button .table-icon{width:21px;height:21px}.deck-workbench button:focus-visible,.deck-workbench summary:focus-visible{outline:2px solid #acebf6;outline-offset:2px}.deck-workbench .deck-layout{flex:1 1 0;display:grid;grid-template-columns:minmax(0,1fr) clamp(340px,33%,460px);align-items:stretch;gap:18px;width:min(100%,1560px);min-height:0;margin-inline:auto}.deck-workbench.mode-browse .deck-layout{grid-template-columns:minmax(0,1fr)}.deck-workbench :is(.catalog-panel,.deck-panel){position:relative;inset:auto;align-self:stretch;min-width:0;min-height:0;max-height:none;padding:6px;border:18px solid transparent;border-image:url(./pile-spread-base.png) 48 fill / 18px / 0 stretch;border-radius:0;background:transparent;box-shadow:none;filter:drop-shadow(0 9px 15px #02081280)}.deck-workbench .catalog-panel{display:flex;flex-direction:column;overflow:hidden}.deck-workbench .catalog-toolbar{flex:none;gap:10px;margin-bottom:12px}.deck-workbench .catalog-toolbar-head{display:flex;align-items:center;gap:14px}.deck-workbench .catalog-search{flex:1;min-width:0}.deck-workbench .catalog-search input{height:44px;padding:8px 36px 8px 12px;border-color:#7196ac7a;border-radius:6px;font-size:16px;background:#091725}.deck-workbench .catalog-search-clear{width:32px;height:32px;right:3px;border-radius:0;font-size:22px;background:none}.deck-workbench .catalog-search:has(input:placeholder-shown) .catalog-search-clear{display:none}.deck-workbench .catalog-count{flex:none;margin:0;color:#b9dce9;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}.deck-workbench .catalog-filters{min-width:0}.deck-workbench .catalog-filters summary{display:flex;align-items:center;gap:8px;min-height:37px;padding:5px 10px;border:1px solid #7196ac59;border-radius:5px;background:linear-gradient(90deg,#203e51,#122b3c);box-shadow:inset 0 1px #d4e8f31a;font-size:15px;font-weight:600;list-style:none;cursor:pointer}.deck-workbench .catalog-filters summary::-webkit-details-marker{display:none}.deck-workbench .filter-active-count{min-width:22px;padding:1px 5px;border-radius:3px;color:#efdcaf;background:#6a54294d;font-size:12px;text-align:center}.deck-workbench .filter-fold-mark{margin-left:auto;font-size:20px;line-height:1}.deck-workbench .catalog-filters[open] .filter-fold-mark{transform:rotate(180deg)}.deck-workbench .filter-options{display:grid;gap:12px;max-height:min(35dvh,260px);padding:14px 6px 4px;overflow:auto;scrollbar-width:thin}.deck-workbench .filter-row{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:9px}.deck-workbench .filter-label{padding-top:7px;margin:0;font-size:13px;font-weight:650;color:#a8c7d5}.deck-workbench .filter-chips{display:flex;flex-wrap:wrap;gap:6px}.deck-workbench .filter-chip{min-height:34px;padding:5px 10px;border:1px solid #7196ac70;border-radius:5px;background:#102535;font-size:13px;color:#c7dce6}.deck-workbench .filter-chip[data-squad]{gap:5px}.deck-workbench .filter-chip .tabletop-unit-mark{width:21px;height:21px}.deck-workbench .filter-chip.on{border-color:#dfc591;background:linear-gradient(#5b523848,#283f4d);color:#fff0cd}.deck-workbench .filter-foot{display:flex;align-items:center;flex-wrap:wrap;gap:9px;border-top:1px solid #7196ac38;padding-top:10px}.deck-workbench .filter-check{margin-right:auto;font-size:13px;gap:6px}.deck-workbench .filter-check input{width:17px;height:17px}.deck-workbench .filter-reset{min-height:32px;padding:4px 8px;color:#bcdce8;font-size:13px}.deck-workbench .filter-reset:hover{color:#ffe5ab}.deck-workbench #catalog-grid{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 4px 4px}.deck-workbench .catalog-group{margin-bottom:18px}.deck-workbench .catalog-group-head{min-height:40px;gap:9px;padding:7px 10px;border-color:#6e92a671;border-radius:5px;background:linear-gradient(90deg,#27465a,#172e3e)}.deck-workbench .catalog-group-head .tabletop-unit-mark{width:26px;height:26px}.deck-workbench .catalog-group-name{font-size:17px}.deck-workbench .catalog-group-count{font-size:14px}.deck-workbench .catalog-cards{grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:12px;padding:12px 2px 4px}.deck-workbench.mode-browse .catalog-cards{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.deck-workbench .catalog-card{overflow:visible;box-shadow:0 5px 11px #020a1359}.deck-workbench .catalog-card .card{overflow:hidden;border-radius:7px}.deck-workbench .catalog-card-hit{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;width:100%;padding:0;border:0;border-radius:7px;background:none}.deck-workbench .catalog-card-hit:focus-visible{outline-offset:3px}.deck-workbench .catalog-card.in{outline:2px solid #99eed3;outline-offset:2px;box-shadow:0 0 13px #5cc5c141}.deck-workbench .catalog-card:has(.catalog-invested){margin-bottom:20px}.deck-workbench .catalog-invested{position:absolute;top:calc(100% + 4px);inset-inline:0;color:#afe6cd;font-size:12px;line-height:16px;text-align:center;pointer-events:none}.deck-workbench .catalog-card:hover>.inspect-card-btn,.deck-workbench .catalog-card:focus-within>.inspect-card-btn{opacity:1;pointer-events:auto}.deck-workbench .catalog-card .inspect-card-btn{z-index:4;right:4px;bottom:4px;width:30px;height:30px;background:#102738e8}.deck-workbench .catalog-empty{display:grid;justify-items:center;gap:18px;min-height:180px;align-content:center;padding:24px 10px;color:#c2d9e5;font-size:16px}.deck-workbench .catalog-empty .workbench-button{width:126px}.deck-workbench .deck-panel{display:flex;flex-direction:column;gap:12px;overflow:visible}.deck-workbench .deck-panel-head{display:flex;flex:none;align-items:center;gap:8px;min-height:36px;cursor:default}.deck-workbench .deck-panel-title{display:inline-flex;align-items:center;gap:7px;min-width:0;padding:0;color:#e5f4fb;font-size:17px;font-weight:700;white-space:nowrap}.deck-workbench .deck-panel-title .tabletop-unit-mark{width:25px;height:25px}.deck-workbench .deck-chevron{display:none;margin-left:0}.deck-workbench .deck-count{margin-right:auto;font-size:17px;white-space:nowrap}.deck-workbench .deck-count.ok{color:#afe6cd}.deck-workbench .deck-library-toggle{flex:none;min-height:34px;padding:5px 8px;color:#e7d5a5;font-size:14px;font-weight:600;border-bottom:1px solid #c7ae7263}.deck-workbench .deck-options,.deck-workbench .deck-entry-options{position:relative;flex:none}.deck-workbench :is(.deck-options,.deck-entry-options)>summary{display:grid;place-items:center;width:30px;height:34px;border:0;background:none;color:#c3dbe7;font-size:23px;line-height:1;list-style:none;cursor:pointer}.deck-workbench :is(.deck-options,.deck-entry-options)>summary::-webkit-details-marker{display:none}.deck-workbench :is(.deck-options,.deck-entry-options)[open]>summary{color:#ffe6b2}.deck-workbench .deck-options-menu{position:absolute;z-index:30;right:0;top:calc(100% + 5px);display:grid;gap:2px;min-width:126px;padding:8px;border:1px solid #8caabb;border-radius:6px;background:#112536;box-shadow:0 8px 22px #020912bb,inset 0 1px #d2e8f222}.deck-workbench .deck-options-menu>button{min-height:36px;padding:7px 12px;text-align:left;color:#deedf5;font-size:14px;white-space:nowrap}.deck-workbench .deck-options-menu>button:hover{background:#33546a80;color:#fff4d5}.deck-workbench .deck-options-menu>button.danger{color:#ecadb5}.deck-workbench .deck-options-menu>button:disabled{opacity:.4;cursor:default}.deck-workbench :is(.deck-options,.deck-entry-options):not([open])>.deck-options-menu{display:none}.deck-workbench .deck-editor-name{flex:none;display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid #7196ac50}.deck-workbench .deck-name{flex:1;min-width:0;margin:0;padding:8px 9px;border:1px solid #7196ac45;border-radius:5px;color:#edf6fc;background:#0d1d2b;font-size:18px;font-weight:650;line-height:1.4}.deck-workbench .deck-name:focus{border-color:#e2c387;outline:0;box-shadow:0 0 0 1px #e2c38766}.deck-workbench .deck-draft-note{flex:none;margin:0;font-size:12px;line-height:1.3;white-space:nowrap}.deck-workbench .deck-draft-note.on{color:#a8ddc8}.deck-workbench .deck-draft-note.pending{color:#dbbf8d}.deck-workbench .deck-panel-body{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:3px}.deck-workbench .deck-roster-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:3px 0 8px;padding-inline:2px;color:#a4c4d5;font-size:13px}.deck-workbench .deck-roster-heading>span{display:inline-flex;align-items:center;gap:6px}.deck-workbench .deck-roster-heading .table-icon{width:18px;height:18px}.deck-workbench .deck-roster-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.deck-workbench .deck-slot.deck-roster-slot{position:relative;width:100%;min-width:0;aspect-ratio:var(--card-ratio);border:1px solid #7096ac69;border-radius:5px;background:#0c1e2cb8}.deck-workbench .deck-slot.deck-roster-slot.captain{border-color:#d5b77ab8;background:linear-gradient(#74613d35,#0b1c2b)}.deck-workbench .deck-slot-open{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;padding:0;border-radius:inherit}.deck-workbench .deck-slot-open .card{border:0;border-radius:inherit;transform:none;pointer-events:none}.deck-workbench .deck-slot-open:hover .card{filter:brightness(1.12)}.deck-workbench .deck-slot-remove{position:absolute;bottom:2px;right:2px;z-index:2;display:grid;place-items:center;width:23px;height:23px;padding:0;border-radius:50%;background:#101d2ee8;color:#d5e6ee;font-size:19px;line-height:1}.deck-workbench .deck-slot-remove:hover{color:#ffb8bf;background:#5b2635}.deck-workbench .deck-slot.deck-roster-slot.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:2px;color:#8aafc3;font-size:clamp(9px,1.15vw,13px);text-align:center}.deck-workbench .deck-slot.deck-roster-slot.empty.captain{color:#d9bb7e}.deck-workbench .deck-empty-symbol .table-icon{display:block;width:20px;height:20px}.deck-workbench .deck-metrics-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:40px;margin-top:14px;padding:6px 4px;border-top:1px solid #7292a245;color:#b5cfdd;font-size:14px;text-align:left}.deck-workbench .deck-more{display:none;margin:0;padding:0;border:0}.deck-workbench .deck-more.open{display:block}.deck-workbench .deck-stats{padding:9px 4px;border:0}.deck-workbench .deck-total{color:#b8d1de;font-size:13px}.deck-workbench .deck-total b{font-size:17px}.deck-workbench .curve{height:68px;gap:8px}.deck-workbench .curve-col i{background:linear-gradient(#bddde7,#548ba2);border-radius:2px 2px 0 0}.deck-workbench .curve-col span{font-size:12px}.deck-workbench .deck-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:none;gap:7px;margin:0;padding-top:10px;border-top:1px solid #7196ac50}.deck-workbench .deck-actions .workbench-button{width:100%;min-height:44px;padding-inline:5px}.deck-workbench .deck-validate{flex:none;min-height:0;margin:0;padding:5px 8px;border:1px solid #bd77814d;border-radius:4px;background:#71344326;font-size:13px;line-height:1.4;white-space:normal;overflow:visible}.deck-workbench .deck-lib{display:block;margin:0;padding:0;border:0}.deck-workbench .deck-lib-tabs{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-bottom:10px;margin-bottom:3px;background:#1b3041}.deck-workbench .deck-lib-tab{min-height:40px;gap:7px;padding:6px;border-radius:5px;border-color:#7594a74d;background:#0d2333;font-size:14px}.deck-workbench .deck-lib-tab.on{border-color:#dbbf86;background:#67543537;color:#f2deaf}.deck-workbench .deck-lib-badge{font-size:12px}.deck-workbench :is(.deck-saved-list,.deck-preset-list){gap:9px;max-height:none;overflow:visible}.deck-workbench .deck-saved-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:2px;border:1px solid #7496aa4d;border-radius:6px;background:#102a3b}.deck-workbench .deck-saved-row.on{border-color:#d9bd82ad;background:linear-gradient(90deg,#a58b4721,#163243)}.deck-workbench .deck-saved-name,.deck-workbench .deck-preset-row{display:grid;grid-template-columns:45px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:7px;color:#e8f4fa;text-align:left;white-space:normal}.deck-workbench .deck-library-portrait{display:block;width:45px;aspect-ratio:var(--card-ratio);border-radius:4px;overflow:hidden;background:#081724}.deck-workbench .deck-library-portrait img{display:block;width:100%;height:100%;object-fit:contain}.deck-workbench .deck-library-copy{display:grid;align-content:center;gap:5px;min-width:0}.deck-workbench .deck-library-copy>strong{overflow-wrap:anywhere;color:#e4f1f8;font-size:16px;line-height:1.3;font-weight:650}.deck-workbench .deck-library-copy>small{color:#a7c7d6;font-size:12px;line-height:1.25}.deck-workbench .deck-equipped{justify-self:start;padding:1px 7px;border:1px solid #8ccdb26b;border-radius:3px;color:#bbe5cd;background:#3c795333;font-size:11px;line-height:1.5}.deck-workbench .deck-entry-options[open]{grid-column:1 / -1;display:flex;align-items:center;justify-content:end;gap:5px;padding:0 6px 6px}.deck-workbench .deck-entry-options[open]>summary{order:1}.deck-workbench .deck-entry-options[open] .deck-options-menu{position:static;display:flex;flex:1;gap:4px;min-width:0;padding:0;border:0;background:none;box-shadow:none}.deck-workbench .deck-entry-options[open] .deck-options-menu>button{flex:1;padding:5px 7px;min-height:34px;text-align:center;font-size:13px;background:#203e5066;border-radius:3px}.deck-workbench .deck-saved-row.renaming{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding:8px}.deck-workbench .deck-rename-input{width:100%;min-width:0;padding:7px;border-radius:4px;font-size:15px;background:#091a28}.deck-workbench .deck-saved-act{min-height:36px;padding:5px 7px;font-size:13px}.deck-workbench .deck-preset-row{border:1px solid #7496aa4d;border-radius:6px;background:#102a3b}.deck-workbench .deck-preset-row:hover{border-color:#c7b17c;background:#244253}.deck-workbench .deck-preset-row.random{margin-top:10px;border-style:solid}.deck-workbench .deck-random-mark{display:grid;place-items:center;width:45px;aspect-ratio:var(--card-ratio);background:url(./deck-back.png) center / contain no-repeat}.deck-workbench .deck-random-mark .table-icon{width:23px;height:23px;color:#e1d8bc;filter:drop-shadow(0 1px 2px #09101b)}.deck-workbench .deck-empty-hint{padding:26px 8px;text-align:center;color:#adc8d6;font-size:15px}@media (orientation: landscape) and (max-width: 1000px){.deck-screen.deck-workbench{padding:8px 10px 10px}.deck-workbench .deck-top{grid-template-columns:88px minmax(0,1fr) auto 88px 88px;gap:6px;margin-bottom:8px}.deck-workbench .deck-title{font-size:18px;gap:6px}.deck-workbench .deck-title .tabletop-unit-mark{width:24px;height:24px}.deck-workbench .deck-modes .workbench-button{width:82px}.deck-workbench .deck-top .workbench-button{min-height:36px;padding-inline:6px;font-size:13px}.deck-workbench .deck-layout{grid-template-columns:minmax(0,1fr) min(350px,45%);gap:10px}.deck-workbench :is(.catalog-panel,.deck-panel){border-width:13px;border-image-width:13px;padding:4px}.deck-workbench .catalog-cards{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:9px}.deck-workbench .deck-panel{order:0;gap:8px}.deck-workbench .deck-panel-title{font-size:15px;gap:4px}.deck-workbench .deck-panel-title .tabletop-unit-mark{width:20px;height:20px}.deck-workbench .deck-library-toggle{padding-inline:4px;font-size:12px}.deck-workbench .deck-count{font-size:15px}.deck-workbench .deck-name{font-size:16px;padding:6px}.deck-workbench .deck-draft-note{font-size:11px}.deck-workbench .deck-actions .workbench-button{font-size:12px}.deck-workbench .deck-panel.collapsed .deck-actions{display:grid}.deck-workbench .deck-panel.collapsed .deck-lib{display:block}}@media (orientation: portrait){.deck-screen.deck-workbench{padding:6px 7px 8px;overflow-y:auto}.deck-workbench .deck-top{position:sticky;top:0;z-index:30;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-areas:"home title title title title settings" "modes modes modes modes alt alt";gap:3px 6px;margin-bottom:8px;padding:2px 0 5px;background:#102331f5}.deck-workbench .deck-title{justify-content:center;gap:7px;font-size:19px}.deck-workbench .deck-title .tabletop-unit-mark{width:26px;height:26px}.deck-workbench .deck-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.deck-workbench .deck-modes .workbench-button{width:100%}.deck-workbench .deck-top .workbench-button{min-height:40px;padding-inline:4px;font-size:14px}.deck-workbench :is(.deck-home-control,.deck-settings-control)>span{display:none}.deck-workbench :is(.deck-home-control,.deck-settings-control):before{background-image:url(./turn-seal.png)}.deck-workbench .deck-top .table-icon{width:21px;height:21px}.deck-workbench .deck-layout{display:flex;flex:none;flex-direction:column;align-items:stretch;gap:10px;min-height:0}.deck-workbench :is(.catalog-panel,.deck-panel){border-width:12px;border-image-width:12px;padding:4px}.deck-workbench .catalog-panel{min-height:320px;overflow:visible}.deck-workbench .catalog-toolbar{gap:8px;margin-bottom:10px}.deck-workbench .catalog-toolbar-head{gap:8px}.deck-workbench .catalog-search input{font-size:15px;height:42px}.deck-workbench .catalog-count{font-size:13px}.deck-workbench .catalog-filters summary{min-height:38px;font-size:14px}.deck-workbench .filter-options{max-height:calc(var(--portrait-frame-height) * .34);padding:10px 1px 4px}.deck-workbench .filter-row{grid-template-columns:30px minmax(0,1fr);gap:6px}.deck-workbench .filter-label{font-size:12px}.deck-workbench .filter-chip{min-height:34px;padding:5px 7px;font-size:12px}.deck-workbench .filter-chip .tabletop-unit-mark{width:18px;height:18px}.deck-workbench .filter-foot{gap:5px}.deck-workbench .filter-check,.deck-workbench .filter-reset{font-size:12px}.deck-workbench #catalog-grid{flex:none;overflow:visible;padding:0 1px 2px}.deck-workbench .catalog-group{margin-bottom:12px}.deck-workbench .catalog-group-head{min-height:38px;padding:5px 7px}.deck-workbench .catalog-group-name{font-size:16px}.deck-workbench .catalog-cards,.deck-workbench.mode-browse .catalog-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding-top:10px}.deck-workbench .catalog-card .inspect-card-btn{width:28px;height:28px}.deck-workbench .deck-panel{order:-1;position:sticky;top:89px;z-index:20;max-height:min(52dvh,calc(var(--portrait-frame-height) * .52));gap:8px}.deck-workbench .deck-panel-head{min-height:34px;gap:5px}.deck-workbench .deck-panel-title{font-size:15px;gap:5px}.deck-workbench .deck-panel-title .tabletop-unit-mark{width:21px;height:21px}.deck-workbench .deck-chevron{display:inline;font-size:11px}.deck-workbench .deck-count{font-size:15px}.deck-workbench .deck-library-toggle{font-size:12px;padding:5px}.deck-workbench .deck-options>summary{width:25px}.deck-workbench .deck-editor-name{padding-bottom:7px;gap:8px}.deck-workbench .deck-name{padding:5px 7px;font-size:16px}.deck-workbench .deck-draft-note{font-size:11px}.deck-workbench .deck-panel-body{flex:1 1 auto;min-height:65px}.deck-workbench .deck-actions{gap:5px;padding-top:7px}.deck-workbench .deck-actions .workbench-button{min-height:40px;font-size:13px}.deck-workbench .deck-panel.collapsed{max-height:none;padding-block:3px}.deck-workbench .deck-panel.collapsed :is(.deck-editor-name,.deck-panel-body,.deck-actions,.deck-validate){display:none}.deck-workbench .deck-lib-tabs{margin-bottom:2px;padding-bottom:7px}.deck-workbench .deck-lib-tab{min-height:37px;font-size:13px}.deck-workbench .deck-library-copy>strong{font-size:14px}.deck-workbench .deck-library-copy>small{font-size:11px}}@media (orientation: portrait) and (max-width: 335px){.deck-workbench .deck-title{font-size:17px}.deck-workbench .deck-panel-title .tabletop-unit-mark{display:none}.deck-workbench .deck-count{font-size:14px}.deck-workbench .deck-actions .workbench-button{font-size:12px}}.deck-dialog-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:235;display:grid;place-items:center;padding:18px;background:#050c19b8}.deck-dialog-panel{width:min(520px,100%);max-height:100%;overflow:auto;padding:8px 14px;border:18px solid transparent;border-image:url(./pile-spread-base.png) 48 fill / 18px / 0 stretch;color:#e7f1f7;filter:drop-shadow(0 15px 22px #02070cc0)}.deck-dialog-panel header,.deck-dialog-panel footer{display:flex;align-items:center;gap:12px}.deck-dialog-panel header{justify-content:space-between;margin-bottom:18px}.deck-dialog-panel h2{margin:0;font-size:23px;font-weight:700}.deck-dialog-panel footer{justify-content:flex-end;flex-wrap:wrap;margin-top:20px}.deck-dialog-close{width:36px;height:36px;padding:0;font-size:26px;color:#dcf0fa}.deck-dialog-copy{font-size:17px;line-height:1.6}.deck-dialog-panel textarea{display:block;width:100%;height:150px;resize:vertical;padding:12px;border:1px solid #6993a6;border-radius:6px;background:#091622;color:#d2e9f6;font:14px/1.7 ui-monospace,monospace;overflow-wrap:anywhere}.deck-dialog-error{color:#ffa8a8;font-size:14px}.deck-dialog-button{position:relative;isolation:isolate;display:grid;place-items:center;width:126px;height:42px;padding:4px 10px;color:#e9f3fa;font-size:15px;font-weight:650}.deck-dialog-button:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url(./action-plate.png) center / contain no-repeat;pointer-events:none}.deck-dialog-button.primary:before{filter:sepia(1) saturate(2.2) brightness(1.15)}.deck-dialog-button.danger:before{filter:sepia(1) saturate(4) hue-rotate(315deg)}.deck-dialog-panel button:focus-visible,.deck-dialog-panel textarea:focus-visible{outline:2px solid #c6eafb;outline-offset:2px}@media (orientation: portrait){.deck-dialog-mask{padding-inline:calc((100vw - var(--portrait-frame-width)) / 2 + 8px)}.deck-dialog-panel{padding-inline:4px}.deck-dialog-panel h2{font-size:20px}}.play-setup{--play-line: #789eb565;--play-blue: #b6dce9;--play-gold: #f0d29a;display:grid;gap:clamp(8px,1.45dvh,15px);min-inline-size:0;color:#edf7fc;color-scheme:dark;font-size:14px}.play-setup[hidden],.play-setup [hidden]{display:none!important}.play-tabs,.play-actions,.play-pager{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.play-tabs{padding-block-end:6px;border-block-end:1px solid var(--play-line)}.play-tab{flex:1 1 5rem;min-block-size:35px;padding:6px 8px;border:1px solid #4d687d;background:#142434;color:var(--play-blue);font-size:14px;font-weight:650}.play-tab[aria-pressed=true]{border-color:#c9a972;background:linear-gradient(145deg,#614b32,#352b25);color:#ffefd3}.play-setup :is(button,input,select,summary):focus-visible{outline:2px solid #a9e5f2;outline-offset:-2px}.play-setup .lobby-button:disabled{cursor:default;opacity:.46;filter:saturate(.65)}.play-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9.5rem),1fr));gap:8px 11px;min-inline-size:0}.play-field{display:grid;min-inline-size:0;gap:4px}.play-field>span,.play-packs legend{color:var(--play-blue);font-size:12px;font-weight:650}.play-setup :is(input:not([type=checkbox]),select){inline-size:100%;min-inline-size:0;min-block-size:36px;padding:6px 8px;border:1px solid var(--play-line);border-radius:4px;background:#0c1724;color:#f0f8fc;font:inherit}.play-setup input::placeholder{color:#a1b2c2}.play-field input[name=roomId],.room-number strong,.play-record b,.play-pager>span{font-variant-numeric:tabular-nums}.play-field input[name=roomId]{text-transform:uppercase;letter-spacing:.12em}.play-setup input[type=checkbox]{flex:none;margin:0;accent-color:#d8b580}.play-record,.play-context{margin:0;line-height:1.5;color:var(--play-blue);overflow-wrap:anywhere}.play-context{grid-column:1 / -1}.play-record b{margin-inline-start:6px;font-size:1.25em;color:var(--play-gold)}.play-packs{display:flex;flex-wrap:wrap;gap:5px 12px;min-inline-size:0;margin:0;padding:4px 9px 6px;border:1px solid var(--play-line)}.play-packs legend{padding-inline:4px}.play-packs>label,.play-ban-items>label{display:flex;align-items:center;gap:7px;min-block-size:32px;cursor:pointer}.play-banlist{min-inline-size:0;padding:7px;border:1px solid var(--play-line);background:#0c1724b8}.play-banlist>summary{cursor:pointer;padding:4px;color:var(--play-gold);font-weight:650}.play-banlist[open]>input{margin-block:6px}.play-ban-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr));gap:3px;max-block-size:min(29dvh,230px);padding-inline-end:2px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.play-ban-items>label{padding:5px 7px;background:#162738;line-height:1.35;overflow-wrap:anywhere}.play-ban-items>label:has(input:checked){background:#392b29;color:#ffe7bc}.room-number{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px;border-block:1px solid var(--play-line);color:var(--play-blue)}.room-number strong{color:var(--play-gold);font-size:clamp(17px,3vw,25px);letter-spacing:.09em;overflow-wrap:anywhere}.room-number>.lobby-button{margin-inline-start:auto}.play-actions>.lobby-button{justify-content:center}.play-setup>.lobby-button{justify-self:start}.player-profile-preview{display:flex;align-items:center;gap:12px;min-inline-size:0;padding:3px 8px;border-inline-start:2px solid #c9a972;background:linear-gradient(90deg,#25394a,transparent);color:#ffe9b9}.player-profile-preview img{display:block;flex:none;inline-size:clamp(43px,7vmin,66px);aspect-ratio:1;object-fit:contain}.player-profile-preview strong{font-size:clamp(17px,2.8vmin,22px);overflow-wrap:anywhere}.player-avatar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,44px),1fr));gap:4px;max-block-size:min(32dvh,210px);min-inline-size:0;padding:4px;border:1px solid var(--play-line);background:#0a1625c9;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.player-avatar-grid button{min-inline-size:0;aspect-ratio:1;padding:3px;border:1px solid #62809667;border-radius:5px;background:#17293a}.player-avatar-grid button:is(:hover,[aria-pressed=true]){border-color:#d9b777;background:linear-gradient(145deg,#53503b,#253040)}.player-avatar-grid img{display:block;inline-size:100%;block-size:100%;object-fit:contain}.play-pager{justify-content:center;color:var(--play-blue)}.play-pager .lobby-button{min-block-size:33px}.draft-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:3px 10px;padding-block-end:6px;border-block-end:1px solid var(--play-line);color:var(--play-blue)}.draft-heading strong{color:#f8dfae;font-size:clamp(16px,2.2vw,23px)}.draft-grid{--draft-gap: clamp(5px, 1.3vw, 12px);display:flex;justify-content:center;gap:var(--draft-gap)}.draft-grid:empty{display:none}.draft-card{display:grid;flex:0 1 min(calc((100% - 2 * var(--draft-gap)) / 3),10rem);grid-template-rows:auto auto minmax(1.3em,auto);align-content:start;min-inline-size:0;gap:3px;padding:4px;border:1px solid #6e93a9;border-radius:7px;background:linear-gradient(145deg,#2a4257,#0c1827);text-align:center}.draft-card img{display:block;inline-size:100%;aspect-ratio:var(--card-ratio);max-block-size:40dvh;object-fit:contain;border-radius:4px}.draft-card strong{color:#f1f6fa;font-size:clamp(11px,2vw,15px);overflow-wrap:anywhere}.draft-card small{color:var(--play-blue);font-size:clamp(10px,1.8vw,12px);overflow-wrap:anywhere}.draft-card:is(:hover,:focus-visible){border-color:#eac68c;background:linear-gradient(145deg,#4e493c,#162536)}.draft-picked{display:flex;flex-wrap:wrap;gap:4px}.draft-picked-card{padding:2px 5px;border:1px solid var(--play-line);border-radius:3px;color:var(--play-blue);font-size:11px}.draft-picked-card:is(:hover,:focus-visible){border-color:#eac68c;color:#fff1d3}.hotseat-pass{display:grid;place-items:center;min-block-size:100%;padding:16px;background:#0b1727}.hotseat-pass .lobby-panel{width:min(100%,26rem)}.hotseat-pass .play-actions{margin-block-start:18px}.hotseat-handoff>:is(.battle-effects,.detail-layer,.battle-notice-stack){visibility:hidden}.battle-table :is(.table-foe-resources,.table-my-resources):has(>.room-seat){display:grid;align-content:center;gap:2px}.battle-table :is(.table-foe-resources,.table-my-resources):has(>.room-seat) .table-energy{min-block-size:0;padding-block:0}.table-foe-resources{--room-seat-accent: var(--table-foe)}.table-my-resources{--room-seat-accent: var(--table-me)}.room-seat{display:grid;min-inline-size:0;container-type:inline-size;gap:3px;padding:3px 4px;border:1px solid #6a92aa70;border-radius:4px;background:linear-gradient(120deg,#193043e6,#0d1823e6);color:#ebf6ff;line-height:1.15}.room-seat[data-active]{border-color:var(--room-seat-accent, #a6def0)}.room-seat-profile{display:flex;align-items:center;min-inline-size:0;gap:4px}.room-seat-avatar{display:block;flex:none;inline-size:clamp(16px,3.4dvh,34px);aspect-ratio:1;object-fit:contain}.room-seat-name{min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(10px,1.8dvh,16px);font-weight:650}.room-seat-connection{flex:none;inline-size:6px;block-size:6px;border-radius:50%;background:#e28e88}.room-seat-connection[data-online]{background:#93d5ac}.room-seat-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.room-seat-time{display:flex;align-items:baseline;justify-content:space-between;gap:3px;min-inline-size:0;padding:2px 3px;border-radius:3px;background:#0a1624bb;white-space:nowrap}.room-seat-time small{color:#abc5d5;font-size:clamp(8px,1.35dvh,12px)}.room-seat-time b{color:#e5f5ff;font-size:clamp(10px,1.8dvh,17px);font-variant-numeric:tabular-nums}.room-seat[data-active] .room-seat-time-main b{color:var(--room-seat-accent, #a6def0)}.room-seat[data-warning] .room-seat-time-main b{color:#ffc27e}.room-seat[data-reserve] .room-seat-time-reserve{background:#49252c}.room-seat[data-reserve] .room-seat-time-reserve b{color:#ffb48e}@container (max-width: 125px){.room-seat-time{flex-direction:column;gap:0;align-items:center;padding:1px 0}.room-seat-avatar{inline-size:clamp(14px,19cqi,22px)}}@media (orientation: portrait){.game-lobby .lobby-shell:has(.lobby-detail:not([hidden]) .play-setup) .lobby-nav{padding-block-start:calc(74px + env(safe-area-inset-top));background:linear-gradient(180deg,#0c1827f5,#0c1827dd)}.play-tab{min-block-size:38px;font-size:12px}.play-setup :is(input:not([type=checkbox]),select){min-block-size:40px;font-size:16px}.play-actions>.lobby-button{flex:1 1 8rem}.player-avatar-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,42px),1fr))}.room-seat{gap:2px;padding:2px}.room-seat-profile{gap:2px}.room-seat-name{font-size:clamp(8px,2.4vw,12px)}.room-seat-connection{inline-size:4px;block-size:4px}.room-seat-time b{font-size:clamp(9px,2.6vw,13px)}}@media (orientation: landscape) and (max-height: 520px){.play-setup{gap:7px}.play-field{gap:2px}.play-setup :is(input:not([type=checkbox]),select){min-block-size:32px;padding-block:4px}.play-ban-items{max-block-size:24dvh}.draft-card img{max-block-size:34dvh}.room-seat{gap:2px;padding:2px}.room-seat-profile{gap:2px}}
