.battle-fx{z-index:40;pointer-events:none;contain:layout style;position:fixed;inset:0;overflow:hidden}.battle-fx>div{pointer-events:none;position:absolute;inset:0}.fx-projectiles{z-index:1}.fx-particles{z-index:2}.fx-floating-text{z-index:4}.fx-screen{z-index:0}.fx-tone-damage,.fx-tone-debuff{color:#ff8294}.fx-tone-heal{color:#85ffc1}.fx-tone-shield{color:#9adbff}.fx-tone-armor{color:#ffdc9d}.fx-tone-poison{color:#c4ff73}.fx-tone-buff{color:#a4daff}.fx-tone-legacy{color:#e7caff}.fx-tone-neutral{color:#ffe5a6}.battle-fx .fx-number.battle-popup{white-space:nowrap;text-overflow:clip;font-variant-numeric:tabular-nums;letter-spacing:.01em;text-shadow:0 1px 2px #000;background:#091424e8;border:0;border-radius:5px;max-width:160px;height:auto;padding:2px 5px;font-size:clamp(18px,3.7vw,24px);font-weight:900;line-height:1.15;animation:none;position:absolute;overflow:visible;transform:translate(-50%);box-shadow:0 1px 4px #0007;display:block!important}.battle-fx .fx-connection{opacity:.65;width:100%;height:100%;animation:none;position:absolute;inset:0}.fx-orb{background:radial-gradient(circle,#fff 0 20%,currentColor 45%);border-radius:50%;width:9px;height:9px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 5px,0 0 11px}.fx-contact{opacity:0;border:2px solid;border-radius:50%;width:15px;height:15px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 6px}.fx-slash{width:48px;height:48px;position:absolute;transform:translate(-50%,-50%)}.fx-crack{pointer-events:none;position:absolute}.battle-fx .fx-ghost{pointer-events:none;opacity:1;position:absolute;overflow:hidden;animation:none!important}.battle-arena .cue-source,.battle-arena .cue-target,.battle-arena .cue-death,.battle-arena .cue-rotate,.battle-arena .cue-entry,.battle-arena .cue-legacy{filter:none;box-shadow:none!important;outline:none!important;animation:none!important}.battle-arena .cue-source{border-color:#ffe1a0!important}.battle-arena .cue-target{border-color:#bcecff!important}.battle-arena .fx-hit-damage{background:linear-gradient(#da456944,#da456944),#26364b!important}.battle-arena .fx-hit-shield{background:linear-gradient(#63baff44,#63baff44),#26364b!important}.battle-arena .fx-hit-armor{background:linear-gradient(#e6c38c33,#e6c38c33),#26364b!important}.battle-arena .fx-feedback-heal{border-color:#83efb3!important}.battle-arena .fx-feedback-poison{border-color:#bbde79!important}.battle-arena .fx-feedback-legacy{border-color:#d4b8ef!important}.battle-arena .fx-commander-impact{border-radius:8px;box-shadow:inset 0 0 12px #ff67792b}.battle-arena [data-flash]{animation:none!important}.battle-arena [data-flash=armor]{background:#ddc29b;color:#241a0d!important}.battle-arena [data-flash=shield]{background:#80d4ff;color:#071b2c!important}.battle-arena .card-silenced .ability-icons{opacity:.42;filter:grayscale()}.battle-arena .fx-silence{opacity:.35}.battle-arena .health-core,.battle-arena .duel-attack{transform-origin:50%;font-variant-numeric:tabular-nums}.battle-result{animation:fx-result-in var(--fx-ability,.38s) ease-out}.live-battle:has(.battle-result) .battle-arena{opacity:.65}.battle-result[data-outcome=WIN]{border-color:#8de5b7}.battle-result[data-outcome=LOSS]{border-color:#df9aab}@keyframes fx-result-in{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.battle-arena .fx-ghost-holder{pointer-events:none;z-index:39;display:block;position:fixed;inset:0}.battle-arena .fx-ghost{pointer-events:none;filter:none;position:fixed;overflow:hidden}.battle-arena .fx-ghost-holder .card{min-height:0}.fx-popup-overlay{z-index:41}.battle-fx .fx-number[data-older]{box-shadow:none;background:#091424aa;opacity:.45!important}.fx-particle{pointer-events:none;background:currentColor;border-radius:50%;width:4px;height:4px;position:absolute}.fx-tone-armor.fx-particle{border-radius:0;transform:rotate(45deg)}.fx-ring{pointer-events:none;opacity:.7;border:2px solid;border-radius:50%;position:absolute;transform:translate(-50%,-50%)}.offers .card[data-choice]:enabled{transition:transform var(--fx-micro,.1s) ease-out,border-color var(--fx-impact,.16s) ease-out;touch-action:manipulation;border-color:#88b7dd}.offers .card[data-choice]:enabled:active{border-color:#ffe1a0;transform:translateY(2px)scale(.97)}.offers .card[data-choice]:enabled:focus-visible{outline-offset:1px;outline:2px solid #ffe1a0}@media (hover:hover){.offers .card[data-choice]:enabled:hover{border-color:#ffe1a0;transform:translateY(-2px)}}@media (prefers-reduced-motion:reduce){.battle-result,.offers .card[data-choice]{transition:none!important;animation:none!important}.offers .card[data-choice]:hover,.offers .card[data-choice]:active{transform:none!important}}.skin-picker{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;font-size:.9rem;display:flex!important}.skin-picker select{max-width:100%;min-height:44px;font:inherit;color:#edf3fa;background:#162334;border:1px solid #718ba7;border-radius:8px;padding:8px 10px;width:auto!important;margin:0!important}.skin-picker>span{font-weight:600}.battle-menu .skin-picker{border-top:1px solid #40536a;padding-top:12px}:root[data-skin]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e9f4ff;--ink:#e9f4ff;--muted:#afc4da;--cyan:#79eff0;--gold:#ffd486;--rose:#ff9bab;--green:#92f5c6;--violet:#d1b3ff;--rotation-color:#e9b8ff;--rotation-glow:#cc84f84d;background:#101626}:root[data-skin] body{background-color:#0000;background-image:radial-gradient(at 10% 0,#183c485c,#0000 55%),radial-gradient(at 100% 45%,#37265380,#0000 65%),linear-gradient(165deg,#101e2e,#141727 70%,#1a1d35);background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:auto,auto,auto;background-attachment:fixed;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;min-height:100dvh}:root[data-skin] h1,:root[data-skin] h2{color:#e1faff;letter-spacing:.015em}:root[data-skin] a{color:#86eff3;text-underline-offset:3px;text-decoration-color:#527e97}:root[data-skin] :is(.notice,.footnote,.log span,.slot-number){color:var(--muted)}:root[data-skin] :is(.status,.controls,details,dialog,.world-pack,.faction-collection-item,.supply-panel,.economy-rules){color:var(--ink);background:linear-gradient(145deg,#203047ef,#1c253bef);border-color:#47677e;box-shadow:inset 0 1px #89cfdf12,0 6px 20px #08102030}:root[data-skin] dialog{border-color:#77b7c0;box-shadow:0 18px 70px #07101bbb,inset 0 1px #b4f1ff22}:root[data-skin] dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#081021bf}:root[data-skin] button{color:#e3faff;background:linear-gradient(155deg,#254e63,#273b57);border-color:#6094a8;transition:border-color .16s,background-color .16s,box-shadow .16s;box-shadow:inset 0 1px #bcfaff18}:root[data-skin] button:hover:not(:disabled){border-color:#8befed;box-shadow:inset 0 1px #c8ffff26,0 0 12px #66dddd20}:root[data-skin] :is(button,a,input,select,summary):focus-visible{outline-offset:2px;outline:2px solid #ffe3a2}:root[data-skin] button[aria-pressed=true]{color:#e9ffff;background:linear-gradient(145deg,#2e6870,#345163);border-color:#89f3dc;box-shadow:inset 0 -2px #85e8d6,0 0 12px #60e4d21f}:root[data-skin] :is(select,input:not([type=checkbox]),textarea){color:var(--ink);accent-color:var(--cyan);background:#14243a;border-color:#5b829a}:root[data-skin] .profile-tabs{border-bottom:1px solid #476479;padding-bottom:5px}:root[data-skin] :is(progress,.ranked-progress progress){accent-color:#84e9d9}:root[data-skin] .stage{color:#bfd6e7;opacity:.78;background:#1b2b42;border-color:#496078}:root[data-skin] .stage.complete{color:#c1ffe0;opacity:1;background:linear-gradient(140deg,#225448,#233e47);border-color:#5f9d83}:root[data-skin] .stage.current{color:#fff1c5;opacity:1;background:#384454;outline-color:#ffcf82}:root[data-skin] .error{color:#ffb1ba}:root[data-skin] :is(.result,.card-level,.setup [role=status]){color:var(--gold)}:root[data-skin] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item,dialog:has(>.creature-art)){--card-top:#394440;--card-base:#272f36;--card-edge:#b3ab83;--card-accent:#ecdaa3;--card-texture:repeating-linear-gradient(0deg,#e6d6a007 0 1px,transparent 1px 7px);--set-texture:linear-gradient(transparent,transparent);color:#eff5ff;background:var(--set-texture),var(--card-texture),radial-gradient(ellipse at 15% 0%,#fff3 0,transparent 65%),linear-gradient(135deg,var(--card-top),var(--card-base));border-color:var(--card-edge);box-shadow:inset 0 1px #fff2,inset 3px 0 color-mix(in srgb,var(--card-accent) 32%,transparent),0 3px 9px #06101d44}:root[data-skin] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item,dialog):has(.creature-art[data-faction=iron]){--card-top:#244355;--card-base:#1c293f;--card-edge:#629dad;--card-accent:#a5f5ef;--card-texture:repeating-linear-gradient(130deg,#a5e3eb09 0 1px,transparent 1px 6px)}:root[data-skin] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item,dialog):has(.creature-art[data-faction=life]){--card-top:#254d42;--card-base:#203139;--card-edge:#619e87;--card-accent:#acfac1;--card-texture:radial-gradient(ellipse at 90% 10%,#a0e6b310 0 20%,transparent 21%),repeating-radial-gradient(ellipse at 95% 105%,transparent 0 12px,#a0e6b308 13px 14px,transparent 15px 23px)}:root[data-skin] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item,dialog):has(.creature-art[data-faction=ash]){--card-top:#583837;--card-base:#34283b;--card-edge:#b27b71;--card-accent:#ffba95;--card-texture:repeating-linear-gradient(155deg,transparent 0 16px,#f9b07f0d 17px 18px,transparent 19px 30px)}:root[data-skin] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item,dialog):has(.creature-art[data-faction=storm]){--card-top:#293f64;--card-base:#262d4c;--card-edge:#788fcb;--card-accent:#a9d4ff;--card-texture:repeating-linear-gradient(90deg,#a0c8ff0a 0 1px,transparent 1px 19px),repeating-linear-gradient(0deg,#a0c8ff08 0 1px,transparent 1px 19px)}:root[data-skin] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item,dialog):has(.creature-art[data-faction=void]){--card-top:#4a365c;--card-base:#2d2946;--card-edge:#a487bb;--card-accent:#e2beff;--card-texture:radial-gradient(circle at 18% 35%,#e8c6ff25 0 1px,transparent 2px),radial-gradient(circle at 78% 68%,#e8c6ff1f 0 1px,transparent 2px)}:root[data-skin] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item,dialog):has(.creature-art[data-card-set=core]){--set-texture:linear-gradient(180deg,#fff1,transparent 30%)}:root[data-skin] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item,dialog):has(.creature-art[data-card-set=pilot]){--set-texture:repeating-linear-gradient(45deg,transparent 0 29px,#ffffff07 30px 31px,transparent 32px 60px)}:root[data-skin] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item,dialog):has(.creature-art[data-card-set=worlds]){--set-texture:radial-gradient(ellipse at 50% 120%,transparent 45%,#ffffff0a 46% 47%,transparent 48%)}:root[data-skin] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item,dialog):has(.creature-art[data-card-set=factions]){--set-texture:repeating-linear-gradient(0deg,transparent 0 17px,#fff1 18px,transparent 19px 36px)}:root[data-skin] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item,dialog):has(.creature-art[data-card-set=edition]){--set-texture:radial-gradient(circle at 95% 50%,#ffffff0d,transparent 60%)}:root[data-skin] :is(.card,.collection-card,.deck-mini) :is(strong,.card-name){color:#f0f8ff}:root[data-skin] :is(.card small,.collection-card small,.deck-mini small,.card-abilities){color:#d1e1ed}:root[data-skin] .collection-card[aria-pressed=true]{color:#eff5ff;background:var(--set-texture),var(--card-texture),radial-gradient(ellipse at 15% 0%,#fff3 0,transparent 65%),linear-gradient(135deg,var(--card-top),var(--card-base));border-color:#b2ffe3;box-shadow:inset 0 0 0 1px #b2ffe3,0 0 12px #67e0c72b}:root[data-skin] .collection-card[aria-pressed=true]>small:last-child{color:#b2ffe3}:root[data-skin] .collection-card:disabled{opacity:.83;border-style:dashed}:root[data-skin] .battle-screen .card-waiting{background:var(--set-texture),var(--card-texture),linear-gradient(135deg,color-mix(in srgb,var(--card-top) 70%,#202c40),var(--card-base));border-color:color-mix(in srgb,var(--card-edge) 65%,#64758a)}:root[data-skin] .battle-screen .card-waiting :is(.card-name,.card-abilities){color:#bacdda}:root[data-skin] .battle-screen .battle-art{opacity:.18}:root[data-skin] .battle-screen .card:has(.legacy-badge){border-color:#a4a1dc;box-shadow:inset 0 -2px #bda9eb66}:root[data-skin] .battle-screen .duel-attack{color:#ffdaa3;text-shadow:0 0 10px #ffcb5d22}:root[data-skin] .battle-screen :is(.duel-hp,.health-core){color:#a0ffca;text-shadow:0 0 10px #77f0bc18}:root[data-skin] .battle-screen .health-protection{color:#b7eaff;background:#172941;border-color:#70a8be}:root[data-skin] .battle-screen .card-timer{color:#91e9f4}:root[data-skin] .battle-screen .card-timer.waiting{color:#ffe0a5}:root[data-skin] :is(.ability-chip,.effect-badge){color:#d6f5ff;background:#17263ccf;border-color:#698ea6;box-shadow:inset 0 1px #fff1}:root[data-skin] :is(.ability-chip.category-passive,.effect-badge.category-aura){color:#ebd3ff;border-color:#ba97db}:root[data-skin] .ability-chip.category-trigger{color:#ffe5b5;border-color:#cbab78}:root[data-skin] .ability-chip.category-on_play{color:#c6f6ff;border-color:#7cb8ce}:root[data-skin] .effect-badge.category-status{color:#d3f1d0;border-color:#92b59a}:root[data-skin] .battle-arena{background:radial-gradient(at 0%,#4c9fa312,#0000 60%),radial-gradient(at 100%,#c081ba12,#0000 60%);padding:0;position:relative}:root[data-skin] .battle-arena .commander{color:#cfe7f6;background:linear-gradient(125deg,#203c4b,#222c43);border-color:#50738a;box-shadow:inset 0 1px #8be0e91f}:root[data-skin] .battle-arena .player-side .commander{border-top-color:#87eee2}:root[data-skin] .battle-arena .opponent-side .commander{background:linear-gradient(235deg,#423547,#242d43);border-top-color:#f1afcb}:root[data-skin] .live-battle .empty{color:#9ab5ca;background:linear-gradient(145deg,#1c31402b,#272d472b);border-color:#426075}:root[data-skin] .live-battle .hand-panel{background:linear-gradient(120deg,#22364a,#292c45);border-color:#527284}:root[data-skin] .fx-tone-neutral{color:#ffe7b2}:root[data-skin] .battle-fx .fx-number.battle-popup{text-shadow:0 0 8px;background:#15233af0;border:1px solid #66869b60;box-shadow:0 3px 10px #08101d70}:root[data-skin] .fx-feedback-legacy{border-color:#e4c2ff!important}@media (prefers-reduced-motion:reduce){:root[data-skin] button{transition:none}}:root[data-skin=neon]{--ink:#ddfaff;--muted:#91b5cb;--cyan:#40ffee;--gold:#ffe080;--green:#64ffc1;background:#080d19}:root[data-skin=neon] body{background:radial-gradient(at 0 0,#12354070,#0000 55%),radial-gradient(at 100% 65%,#25174290,#0000 65%),linear-gradient(160deg,#080f1b,#0c1020 70%,#171027)}:root[data-skin=neon] :is(.controls,details,dialog,.faction-collection-item){background:linear-gradient(135deg,#111f30f5,#13192df5);border-color:#38556e}:root[data-skin=neon] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item):not([data-ignore-skin]){background:var(--set-texture),var(--card-texture),radial-gradient(ellipse at 10% 0%,color-mix(in srgb,var(--card-accent) 12%,transparent),transparent 65%),linear-gradient(135deg,color-mix(in srgb,var(--card-top) 55%,#060c18),color-mix(in srgb,var(--card-base) 55%,#090b19));border-color:var(--card-accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--card-accent) 18%,transparent),0 0 9px color-mix(in srgb,var(--card-accent) 14%,transparent)}:root[data-skin=neon] button{color:#c6ffff;background:linear-gradient(145deg,#132c3b,#1a2039);border-color:#4aa6b0}:root[data-skin=neon] button[aria-pressed=true]{background:linear-gradient(145deg,#174549,#202c46);border-color:#59ffe0;box-shadow:inset 0 -2px #59ffe0,0 0 12px #59ffe02f}:root[data-skin=neon] :is(h1,h2,a){color:#a4fff5}:root[data-skin=neon] .battle-screen .duel-attack{color:#ffe280}:root[data-skin=neon] .battle-screen :is(.duel-hp,.health-core){color:#70ffb7}:root[data-skin=neon] .battle-screen .card-timer{color:#68efff}:root[data-skin=neon] .battle-arena .commander{background:linear-gradient(120deg,#102a34,#141e34);border-color:#47989e}:root[data-skin=neon] .battle-arena .opponent-side .commander{background:linear-gradient(235deg,#30203d,#141b30);border-color:#aa69b7}:root[data-skin=neon] .live-battle .hand-panel{background:linear-gradient(130deg,#102835f5,#201a36f5);border-color:#72ded8}:root[data-skin=obsidian]{--ink:#e7f5f6;--muted:#9caeb8;--cyan:#5cffe1;--gold:#ffda80;color:#e7f5f6;background:#030405}:root[data-skin=obsidian] body{background:#030405}:root[data-skin=obsidian] :is(.controls,details,dialog,.faction-collection-item,.commander,.hand-panel){box-shadow:none;border-color:#29343b;background:#0b0e12!important}:root[data-skin=obsidian] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item):not([data-ignore-skin]){border-color:color-mix(in srgb,var(--card-accent) 65%,#172024);box-shadow:none;background:#090c10}:root[data-skin=obsidian] button{color:#d8fff5;box-shadow:none;background:#0c1116;border-color:#355c58}:root[data-skin=obsidian] button[aria-pressed=true]{background:#101f1e;border-color:#65ffe4;box-shadow:inset 0 -2px #65ffe4}:root[data-skin=obsidian] :is(h1,h2,a){color:#7fffe7}:root[data-skin=obsidian] :is(input:not([type=checkbox]),select,textarea){background:#080b0e;border-color:#375355}:root[data-skin=obsidian] :is(.event-banner,.event-hero){box-shadow:none;background:#0c0e11;border-color:#b99954}:root[data-skin=obsidian] .live-battle .empty{background:#06090c;border-color:#26333b}:root[data-skin=obsidian] .battle-art{opacity:.1}:root[data-skin=obsidian] .home-destination{border-color:#29423f}:root[data-skin=obsidian] .profile-tabs [data-page=home]{background:#0c1716}:root[data-skin=rainbow]{--ink:#f5efff;--muted:#c5bddf;--cyan:#7effef;--gold:#ffe289;background:#17112d}:root[data-skin=rainbow] body{background-color:#0000;background-image:radial-gradient(at 0 0,#ee557653,#0000 48%),radial-gradient(at 100% 15%,#eea73e49,#0000 45%),radial-gradient(at 5% 65%,#38d9b749,#0000 50%),radial-gradient(at 100% 90%,#568bfa70,#0000 55%),linear-gradient(140deg,#271731,#321c43 45%,#1b2950);background-position:0 0,0 0,0 0,0 0,0 0;background-repeat:repeat,repeat,repeat,repeat,repeat;background-size:auto,auto,auto,auto,auto;background-attachment:fixed;background-origin:padding-box,padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box,border-box}:root[data-skin=rainbow] :is(.controls,details,dialog,.faction-collection-item){background:linear-gradient(145deg,#28243eee,#1e2740ee);border-color:#8b83bc}:root[data-skin=rainbow] button{color:#f1ffff;background:linear-gradient(130deg,#4c355e,#26475d);border-color:#a7a4da}:root[data-skin=rainbow] button[aria-pressed=true]{background:linear-gradient(110deg,#654574,#286970);border-color:#96ffe9;box-shadow:inset 0 -2px #96ffe9,0 0 14px #93e6ec2b}:root[data-skin=rainbow] :is(h1,h2){color:#fff0d8}:root[data-skin=rainbow] .home-destination{background:linear-gradient(135deg,#413452ed,#27465ded)}:root[data-skin=rainbow] :is(.event-banner,.event-hero){background:radial-gradient(at 10% 0,#ffd0832b,#0000 65%),linear-gradient(140deg,#513546,#35335f,#23495b);border-color:#ffe5a0}:root[data-skin=rainbow] .battle-arena .commander{background:linear-gradient(130deg,#304752,#30334f)}:root[data-skin=rainbow] .battle-arena .opponent-side .commander{background:linear-gradient(235deg,#593850,#34354f)}:root[data-skin=parchment]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#253631;--muted:#58675c;--cyan:#176457;--gold:#8c531b;--rotation-color:#7a468f;--rotation-glow:#84509533;color:#253631;background:#e9dfcd}:root[data-skin=parchment] body{color:#253631;background:radial-gradient(at 10% 0,#fff9e8,#0000 65%),linear-gradient(140deg,#eee5d2,#e3d9c8)}:root[data-skin=parchment] :is(h1,h2,a){color:#234d41}:root[data-skin=parchment] :is(.controls,details,dialog,.faction-collection-item,.commander,.hand-panel){color:#253631;background:linear-gradient(145deg,#faf3e4,#eae1d1);border-color:#a8977d;box-shadow:inset 0 1px #fff8,0 4px 12px #79654b10}:root[data-skin=parchment] button{color:#253f36;background:linear-gradient(145deg,#f4ebd8,#e6dcc8);border-color:#9d8f78;box-shadow:inset 0 1px #fff9}:root[data-skin=parchment] button[aria-pressed=true]{color:#153b2c;background:#cfdfcf;border-color:#457d65;box-shadow:inset 0 -2px #457d65}:root[data-skin=parchment] :is(select,input:not([type=checkbox]),textarea){color:#253631;background:#fff9ed;border-color:#998b74}:root[data-skin=parchment] :is(.card,.collection-card,.deck-mini,.reveal-card,.pack-item):not([data-ignore-skin]){color:#24362f;background:var(--set-texture),var(--card-texture),linear-gradient(135deg,color-mix(in srgb,var(--card-top) 18%,#faf4e4),color-mix(in srgb,var(--card-base) 14%,#e9ddc6));border-color:color-mix(in srgb,var(--card-edge) 65%,#625540);box-shadow:inset 0 1px #fff7}:root[data-skin=parchment] :is(.card,.collection-card,.deck-mini) :is(strong,.card-name){color:#223a30}:root[data-skin=parchment] :is(.card small,.collection-card small,.deck-mini small,.card-abilities){color:#46544b}:root[data-skin=parchment] :is(.ability-chip,.effect-badge){color:#334c40;box-shadow:none;background:#f8f1df;border-color:#89967c}:root[data-skin=parchment] .battle-screen :is(.duel-hp,.health-core){color:#21643e;text-shadow:none}:root[data-skin=parchment] .battle-screen .duel-attack{color:#925119;text-shadow:none}:root[data-skin=parchment] .battle-screen :is(.card-timer,.card-timer.waiting,.card-level){color:#525d45}:root[data-skin=parchment] .battle-screen .health-protection{color:#29566d;background:#f7f0e0;border-color:#759aa3}:root[data-skin=parchment] .live-battle .empty{color:#687265;background:#e9e1d333;border-color:#a99d88}:root[data-skin=parchment] .battle-arena .opponent-side .commander{background:linear-gradient(235deg,#e5d9d5,#f1e7da);border-color:#a79183}:root[data-skin=parchment] :is(.event-banner,.event-hero){color:#493b27;background:radial-gradient(at 0 0,#fff8dba0,#0000 65%),linear-gradient(135deg,#efe3ca,#e3d9c5);border-color:#b08948}:root[data-skin=parchment] :is(.event-banner h2,.event-hero h2,.event-banner .event-eyebrow,.event-time,.event-kicker){color:#714819}:root[data-skin=parchment] .home-destination span{color:#58675c}:root[data-skin=parchment] .profile-tabs [data-page=home]{background:#dae4d4}:root[data-skin=parchment] .stage{color:#4e5b4e;background:#ede5d5;border-color:#b3a48c}:root[data-skin=parchment] .stage.complete{color:#245031;background:#cce0c6;border-color:#6d9475}:root[data-skin=parchment] .stage.current{color:#5c4118;background:#f7e2ad;outline-color:#af7934}:root[data-skin=parchment] :is(button,a,input,select,summary):focus-visible{outline-color:#97652d}:root[data-skin=parchment] .error{color:#a62c35}:root[data-skin=parchment] .battle-arena .commander{color:#253631;background:linear-gradient(135deg,#dce6d5,#f1e9d8);border-color:#81977b}:root[data-skin=parchment] .live-battle .hand-panel{color:#253631;background:linear-gradient(130deg,#faf2df,#e6dfcf);border-color:#8e9b80}:root[data-skin=parchment] .collection-card[aria-pressed=true]{background:var(--set-texture),var(--card-texture),linear-gradient(135deg,color-mix(in srgb,var(--card-top) 18%,#faf4e4),color-mix(in srgb,var(--card-base) 14%,#e9ddc6));border-color:#477759;box-shadow:inset 0 0 0 1px #477759}:root[data-skin=parchment] .collection-card[aria-pressed=true]>small:last-child{color:#275b3b}:root[data-skin=obsidian] :is(.event-prize,.event-rewards article,.event-briefing,.event-targets li){background:#0b0e12;border-color:#354045}:root[data-skin=parchment] .event-banner-progress{color:#6d6048}:root[data-skin=parchment] :is(.event-prize,.event-rewards article,.event-briefing,.event-targets li){color:#253631;background:linear-gradient(140deg,#f6eddc,#e6dcc9);border-color:#aa9472}:root[data-skin=parchment] .event-rewards span{color:#785222}:root[data-skin=parchment] .event-rewards .reward-earned{background:#dae7d3;border-color:#64845d}:root[data-skin=parchment] .event-targets li small{color:#566559}:root[data-skin=parchment] .event-targets .locked{color:#667061}:root[data-skin=parchment] .event-targets .current{background:#f3e1b8}:root[data-skin=parchment] .event-target-number{color:#674c22;background:#dfd3b8}:root[data-skin=parchment] .event-clock{color:#785222;background:#f1e0ba}:root[data-skin=parchment] .stat-equation{color:#325d4a}:root[data-skin=parchment] .action-feed p{color:#4b442e!important}:root[data-skin=parchment] .battle-screen .card-waiting :is(.card-name,.card-abilities){color:#566256}:root[data-skin=parchment] .battle-screen :is(.card-defense,.armor-value,.shield-value){color:#485b52}:root[data-skin=parchment] .battle-arena .commander>span:last-child{color:#566256}:root[data-skin] .pack-reveal{--reveal-color:#a7b8c5;--reveal-rgb:167,184,197;padding:16px;overflow-x:hidden}:root[data-skin] .pack-reveal.rarity-rare{--reveal-color:#73b9ff;--reveal-rgb:115,185,255}:root[data-skin] .pack-reveal.rarity-epic{--reveal-color:#d39aff;--reveal-rgb:211,154,255}:root[data-skin] .pack-reveal.rarity-legendary{--reveal-color:#ffda78;--reveal-rgb:255,218,120}:root[data-skin] .pack-reveal .reveal-card{border:2px solid var(--reveal-color);box-shadow:0 0 18px rgba(var(--reveal-rgb),.13),inset 0 0 0 1px rgba(var(--reveal-rgb),.15);isolation:isolate;animation:none;position:relative;overflow:hidden}:root[data-skin] .pack-reveal .reveal-card:disabled{opacity:1}:root[data-skin] .pack-reveal .reveal-card:before{display:none}:root[data-skin] .pack-reveal .card-back{background:radial-gradient(ellipse at center,rgba(var(--reveal-rgb),.12),transparent 65%),repeating-linear-gradient(45deg,#192433,#192433 12px,#1c293c 12px,#1c293c 24px);color:var(--reveal-color);transition:color .3s}:root[data-skin] .pack-reveal .reveal-rarity{text-transform:uppercase;letter-spacing:.16em;min-height:25px;color:var(--reveal-color);margin:6px 0 12px;font-size:.9rem;font-weight:800}:root[data-skin] .pack-reveal .reveal-caption{min-height:22px;color:var(--muted,#b6c7d6);margin:14px 0 2px;font-size:.8rem;line-height:1.4}:root[data-skin] .pack-reveal .reveal-halo{background:radial-gradient(ellipse,rgba(var(--reveal-rgb),.25),transparent 68%);opacity:0;pointer-events:none;z-index:-1;border-radius:50%;display:block;position:absolute;inset:12%}:root[data-skin] .pack-reveal :is(#pack-next,#pack-close){width:100%;min-height:44px;margin-top:10px}:root[data-skin] .pack-reveal #pack-summary-now{box-shadow:none;color:var(--muted,#b6c7d6);text-underline-offset:3px;background:0 0;border:0;min-height:36px;margin-top:4px;font-size:.75rem;text-decoration:underline}:root[data-skin] .pack-reveal .revealed-content{z-index:2;position:relative}:root[data-skin] .pack-reveal .revealed-content small{letter-spacing:.08em;color:var(--reveal-color);font-size:.85rem;font-weight:800}:root[data-skin] .pack-reveal .reveal-particles{letter-spacing:.65rem;pointer-events:none;color:var(--reveal-color);z-index:3;font-size:1.1rem;animation:none;position:absolute;inset:auto 8px 15%}:root[data-skin] .pack-reveal:is(.rarity-epic,.rarity-legendary) .reveal-card{box-shadow:0 0 20px rgba(var(--reveal-rgb),.25),0 0 45px rgba(var(--reveal-rgb),.12),inset 0 0 0 1px rgba(var(--reveal-rgb),.35);border-width:3px}:root[data-skin] .pack-reveal:is(.rarity-epic,.rarity-legendary).charging .reveal-halo{opacity:1}:root[data-skin] .pack-reveal:is(.rarity-epic,.rarity-legendary).revealing .reveal-particles{display:block}:root[data-skin] .pack-reveal.rarity-legendary .reveal-rarity{letter-spacing:.19em;font-size:1rem}@media (prefers-reduced-motion:no-preference){:root[data-skin] .pack-reveal:is(.rarity-epic,.rarity-legendary).charging .reveal-card{animation:1.1s ease-in-out both pack-anticipation}:root[data-skin] .pack-reveal.rarity-legendary.charging .reveal-card{animation-duration:1.8s}:root[data-skin] .pack-reveal:is(.rarity-epic,.rarity-legendary).revealing .reveal-card{animation:1.5s cubic-bezier(.2,.65,.25,1) both pack-unveil}:root[data-skin] .pack-reveal.rarity-legendary.revealing .reveal-card{animation-duration:2s}:root[data-skin] .pack-reveal.revealing .revealed-content{animation:.7s ease-out both pack-content-arrival}:root[data-skin] .pack-reveal.revealing .reveal-particles{animation:1.5s ease-out both pack-sparks}}@keyframes pack-anticipation{0%{box-shadow:0 0 8px rgba(var(--reveal-rgb),.15);transform:translateY(0)scale(1)}65%{box-shadow:0 0 35px rgba(var(--reveal-rgb),.5),inset 0 0 32px rgba(var(--reveal-rgb),.16);transform:translateY(-5px)scale(.985)}to{box-shadow:0 0 26px rgba(var(--reveal-rgb),.35);transform:translateY(-2px)}}@keyframes pack-unveil{0%{box-shadow:0 0 45px rgba(var(--reveal-rgb),.6);transform:translateY(-2px)scale(.985)}32%{box-shadow:0 0 60px rgba(var(--reveal-rgb),.4);transform:translateY(-6px)scale(1.012)}to{box-shadow:0 0 20px rgba(var(--reveal-rgb),.25),0 0 45px rgba(var(--reveal-rgb),.12);transform:none}}@keyframes pack-content-arrival{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes pack-sparks{0%{opacity:0;transform:translateY(12px)scale(.9)}35%{opacity:.9}to{opacity:0;transform:translateY(-45px)scale(1.1)}}:root[data-skin=parchment] .pack-reveal{--reveal-color:#6a6d62;--reveal-rgb:106,109,98}:root[data-skin=parchment] .pack-reveal.rarity-rare{--reveal-color:#246997;--reveal-rgb:36,105,151}:root[data-skin=parchment] .pack-reveal.rarity-epic{--reveal-color:#874399;--reveal-rgb:135,67,153}:root[data-skin=parchment] .pack-reveal.rarity-legendary{--reveal-color:#98631a;--reveal-rgb:152,99,26}:root[data-skin=parchment] .pack-reveal .card-back{background:repeating-linear-gradient(45deg,#e9dfc9,#e9dfc9 12px,#f1e7d1 12px 24px)}:root[data-skin] .pack-reveal.rarity-common.revealing .revealed-content{animation-duration:.3s}:root[data-skin] .pack-reveal.rarity-rare.revealing .revealed-content{animation-duration:.5s}:root[data-skin=parchment] .pack-reveal .pack-position{color:#596b61}:root{color:#e8eef6;background:#101722;font-family:system-ui,sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0}main{max-width:1120px;padding:16px;padding-bottom:calc(20px + env(safe-area-inset-bottom));margin:auto}header{justify-content:space-between;align-items:center;gap:16px;display:flex}h1{margin:0;font-size:1.4rem}h2{font-size:1.05rem}.notice,.footnote{color:#a9bacd}.notice{margin:6px 0}.status,.commander,.controls,details{background:#1c2939;border:1px solid #40536a;border-radius:12px;margin:12px 0;padding:12px}.commander{flex-wrap:wrap;justify-content:space-between;gap:6px;display:flex}.board{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}.slot{border:1px dashed #526780;border-radius:10px;min-height:132px;padding:5px;position:relative}.slot-number{color:#96aec7;font-size:.7rem}.card{text-align:left;width:100%;min-height:105px;color:inherit;background:#304862;border:1px solid #7592b0;border-radius:9px;flex-direction:column;gap:9px;padding:10px;display:flex}.card strong{font-size:.9rem}.card small{color:#c9d8e7}.stats{font-size:.84rem;line-height:1.5}.empty{text-align:center;color:#8ca1b6;margin-top:30px;display:block}button{cursor:pointer;color:#fff;font:inherit;background:#346b96;border:1px solid #7aaccd;border-radius:8px;padding:10px}button:hover,button:focus-visible{outline:2px solid #f5c469}.offers{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.offer{min-height:120px}.result{color:#f5c469;font-size:1.3rem}.error{color:#ffb8aa}.log{max-height:260px;padding-left:30px;overflow:auto}.log li{padding:3px}.log span{color:#a6b8c9}summary{cursor:pointer}@media (width<=680px){main{padding:10px}header{align-items:flex-start}header button{max-width:140px}.board{gap:3px}.slot{min-height:102px;padding:2px}.card{gap:5px;min-height:85px;padding:4px}.card strong{overflow-wrap:anywhere;font-size:.69rem}.card small{display:none}.stats{font-size:.67rem}.slot-number{font-size:.6rem}.commander{font-size:.85rem}.offers{gap:5px}.offers .card strong{font-size:.82rem}.offers .card .stats{font-size:.75rem}}.playback-controls{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;display:flex}.button-group{gap:4px;display:flex}button[aria-pressed=true]{color:#182331;background:#f5c469;border-color:#f5c469;font-weight:700}button:disabled{opacity:.5;cursor:default}button:disabled:hover{outline:none}.offer-item{flex-direction:column;gap:4px;display:flex}.inspect{background:0 0;padding:6px;font-size:.8rem}.slot>.card{height:calc(100% - 16px)}dialog{color:#e8eef6;background:#1c2939;border:1px solid #7592b0;border-radius:12px;max-width:min(90vw,440px);padding:24px}dialog::backdrop{background:#050b14b8}@media (prefers-reduced-motion:no-preference){.status{transition:background-color .15s}}@media (width<=400px){.playback-controls{justify-content:space-between;gap:6px}.playback-controls button{padding:9px 8px}}.collection-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;display:grid}.collection-card{text-align:left;flex-direction:column;gap:10px;min-height:125px;display:flex}.collection-card span,.collection-card small{font-size:.8rem}.setup label{margin:10px 0 5px;display:block}.setup input,.setup select{font:inherit;color:#e8eef6;background:#101722;border:1px solid #7592b0;border-radius:6px;max-width:100%;margin-right:10px;padding:10px}.setup [role=status]{color:#f5c469}.battle-nav{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.stage-grid{grid-template-columns:repeat(5,1fr);gap:.4rem;display:grid}.stage{text-align:center;opacity:.55;border:1px solid #64748b;border-radius:.4rem;padding:.6rem}.stage.complete{opacity:1;background:#14532d}.stage.current{opacity:1;outline:2px solid #fbbf24}.deck-list{flex-wrap:wrap;gap:.5rem;margin:.8rem 0;display:flex}.battle-screen{max-width:900px}.battle-screen header{flex-wrap:wrap;gap:10px}.battle-screen header h1{overflow-wrap:anywhere;font-size:1.15rem}.battle-arena{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.battle-arena .side{flex-direction:column;gap:8px;min-width:0;display:flex}.battle-arena .commander{overflow-wrap:anywhere;flex-direction:column;align-content:start;gap:6px;min-height:110px;margin:0;padding:10px}.battle-arena .player-side .commander{border-top:3px solid #65b9ef}.battle-arena .opponent-side .commander{border-top:3px solid #ed9a91}.battle-arena .board{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(var(--field-slots,5),minmax(112px,1fr));flex:1;gap:8px}.battle-arena .slot{flex-direction:column;gap:4px;min-width:0;min-height:112px;padding:5px;display:flex}.battle-arena .slot>.card{flex:1;height:auto;min-height:88px}.battle-screen .card{overflow-wrap:anywhere;gap:6px;padding:9px}.battle-screen .card strong{font-size:.9rem;line-height:1.25}.battle-screen .card small{font-size:.78rem;line-height:1.4;display:block}.battle-screen .stats{font-size:.82rem;line-height:1.6}.battle-screen .slot-number{font-size:.7rem}.battle-screen .empty{color:#9fb2c8;margin:auto;font-size:.85rem}.battle-screen .hand-panel{margin-top:14px}.battle-screen .hand-panel h2{margin:0 0 10px}.battle-screen .offers{scroll-snap-type:x proximity;grid-template-columns:repeat(3,minmax(148px,1fr));gap:8px;padding:3px 3px 10px;overflow-x:auto}.battle-screen .offers>.card,.battle-screen .offer-item{scroll-snap-align:start}.battle-screen .offers>.card{height:100%}.battle-screen .offer-item>.card{flex:1;height:auto}.battle-screen .playback-controls{gap:6px}.battle-screen .playback-controls button{min-height:44px}@supports (grid-template-rows:subgrid){.battle-arena .side{grid-template-rows:subgrid;grid-row:span 6;gap:8px;display:grid}.battle-arena .board{display:contents}}@media (width<=480px){.battle-screen{padding:8px}.battle-arena{gap:6px}.battle-arena .commander{min-height:104px;padding:8px;font-size:.8rem}.battle-screen .card{padding:7px}.battle-screen .hand-panel{padding:9px}.battle-screen .battle-nav{justify-content:flex-start}}.collection-item{flex-direction:column;gap:5px;min-width:0;display:flex}.collection-item[hidden]{display:none}.collection-item>.collection-card{flex:1;width:100%}.collection-filters{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:12px 0;display:grid}.collection-filters input,.collection-filters select{width:100%}.card-attributes{grid-template-columns:1fr auto;gap:10px;display:grid}.card-attributes dd{margin:0}.ability-text{white-space:pre-wrap;line-height:1.6}.history-dialog{width:min(94vw,960px);max-width:960px;max-height:94dvh;padding:14px;overflow:auto}.history-entry{border-bottom:1px solid #526780;padding:14px 0}.history-dialog input[type=range]{width:100%;margin:12px 0}#card-detail-dialog{max-height:90dvh;overflow:auto}.ranked-progress{gap:16px;margin:16px 0;display:grid}.ranked-progress>div{min-width:0}.ranked-progress label{font-weight:700;line-height:1.5;display:block}.ranked-progress progress{accent-color:#f5c469;width:100%;height:18px;margin:10px 0;display:block}.ranked-progress p{overflow-wrap:anywhere;line-height:1.5}.ranked-progress .footnote{font-size:.85rem}[hidden]{display:none!important}.profile-shell{max-width:900px;height:100dvh;padding:10px;padding-bottom:max(8px,env(safe-area-inset-bottom));flex-direction:column;gap:8px;display:flex}.profile-shell header{flex:none;gap:6px;min-width:0}.profile-shell header .notice{margin:3px 0;font-size:.8rem}.profile-tabs{flex:none;gap:4px;display:flex}.profile-tabs button{flex:1;min-width:0;padding:9px 3px;font-size:.85rem}.profile-body{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.profile-body>.controls{margin:0}.profile-body .controls{margin:0 0 8px;padding:10px}.profile-body p{margin:7px 0;font-size:.9rem;line-height:1.35}.profile-body h2,.profile-body h3{margin:5px 0 8px}.profile-body select{width:100%;margin:0 0 6px}.profile-body .stage{padding:.4rem}.profile-body .ranked-progress{gap:8px;margin:8px 0}.profile-body footer{align-items:center;gap:12px;margin:12px 0;display:flex}.profile-messages:empty{display:none}.profile-messages{flex:none;max-height:18dvh;font-size:.8rem;overflow:auto}.profile-messages p{margin:3px}.live-battle{max-width:850px;height:100dvh;padding:6px;padding-bottom:max(6px,env(safe-area-inset-bottom));flex-direction:column;gap:6px;font-size:clamp(11px,1.7dvh,15px);display:flex}.live-battle>header{flex-wrap:nowrap;flex:none;gap:5px;min-height:32px}.live-battle header h1{font-size:1em}.live-battle header .notice{margin:2px 0;font-size:.72em}.live-battle button{font-size:inherit;padding:6px}.live-battle .battle-nav{flex-wrap:nowrap}.live-battle header button{min-height:32px;font-size:.8em}.live-battle .battle-arena{flex:1;grid-template-rows:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-height:0}.live-battle .battle-arena .side{grid-row:auto;gap:4px;min-height:0;display:flex}.live-battle .battle-arena .commander{flex:none;gap:1px;min-height:0;padding:4px 6px;font-size:.8em;line-height:1.25}.live-battle .battle-arena .board{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(var(--field-slots,5),minmax(0,1fr));flex:1;gap:4px;min-height:0;display:grid}.live-battle .battle-arena .slot{border:0;gap:0;min-height:0;padding:0}.live-battle .slot-number{opacity:.6;pointer-events:none;z-index:1;font-size:8px;position:absolute;bottom:1px;left:2px}.live-battle .opponent-side .slot-number{left:auto;right:2px}.live-battle .empty{border:1px dashed #40536a;border-radius:7px;place-content:center;width:100%;height:100%;margin:0;font-size:.75em;display:grid}.battle-screen .card{color:#edf3fa;grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) auto;gap:2px 5px;min-width:0;min-height:0;padding:5px 6px;display:grid;position:relative;overflow:hidden}.battle-screen .card-heading{grid-area:1/1;align-items:start;gap:3px;min-width:0;display:flex}.battle-screen .card-name{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;line-height:1.15;display:-webkit-box;overflow:hidden;font-size:.84em!important}.battle-screen .card-timer{white-space:nowrap;color:#b6e5ff;font-size:.8em}.battle-screen .card-timer.waiting{color:#f8d394}.battle-screen .duel-values{white-space:nowrap;grid-area:1/2/4;grid-template-rows:1fr 1fr;place-items:center end;gap:2px;font-size:1.12em;font-weight:750;display:grid}.battle-screen .duel-attack{color:#ffdba0;grid-row:1}.battle-screen .duel-hp{color:#a3efbd;grid-row:2}.battle-screen .card-abilities{-webkit-line-clamp:2;color:#d4e2f0;-webkit-box-orient:vertical;grid-area:2/1;align-self:center;line-height:1.2;overflow:hidden;font-size:.72em!important;display:-webkit-box!important}.battle-screen .card-defense{color:#b8cadd;white-space:nowrap;grid-area:3/1;padding-left:7px;font-size:.65em}.battle-screen .card-waiting{background:#34404e;border-color:#637183}.battle-screen .card-waiting .card-name,.battle-screen .card-waiting .card-abilities{color:#c5cbd2}.battle-screen .opponent-side .card{text-align:right;grid-template-columns:auto minmax(0,1fr)}.battle-screen .opponent-side .card-heading{flex-direction:row-reverse;grid-column:2}.battle-screen .opponent-side .duel-values{grid-column:1;justify-items:start}.battle-screen .opponent-side .card-abilities,.battle-screen .opponent-side .card-defense{grid-column:2}.battle-screen .opponent-side .card-defense{padding:0 7px 0 0}.live-battle .hand-panel{flex:none;min-height:0;margin:0;padding:5px}.live-battle .hand-panel h2{margin:3px 0;font-size:.8em}.live-battle .offers{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:0;overflow:visible}.live-battle .offer-item{gap:2px;min-width:0}.live-battle .offers .card{gap:2px;height:clamp(66px,12dvh,112px);padding:4px}.live-battle .inspect{min-height:22px;padding:2px;font-size:.75em}.live-battle .playback-controls{flex-wrap:nowrap;flex:none;gap:4px;margin:0 0 3px}.live-battle .playback-controls button{min-height:30px;padding:5px 8px}.live-battle .playback-controls .button-group{gap:3px}.live-battle .status{flex:none;margin:0;padding:3px 6px;font-size:.8em}.live-battle .result{margin:2px 0;font-size:1.15em}.live-battle .hand-panel p{margin:4px 0;font-size:.82em;line-height:1.2}.live-battle #combat-log{flex:none;margin:0;padding:3px 6px;font-size:.7em}.live-battle #combat-log[open]{z-index:4;background:#1c2939;max-height:45dvh;position:absolute;bottom:8px;left:8px;right:8px;overflow:auto}#inspection{max-height:90dvh;overflow:auto}.ability-text,dialog li{line-height:1.5}dialog li{margin-bottom:12px}#app>[role=alert]{z-index:5;background:#532c32;border-radius:8px;max-height:25dvh;padding:10px;position:fixed;bottom:8px;left:8px;right:8px;overflow:auto}#retry-request{z-index:6;position:fixed;bottom:4px;right:8px}@media (height<=600px){.live-battle{gap:3px}.live-battle .commander span:last-child{font-size:.85em}.live-battle .offers .card{height:60px}.live-battle .card{padding:3px}.profile-body p{margin:4px 0;font-size:.8rem}.profile-body .controls{padding:7px}.profile-body .stage{padding:.25rem}}@media (height<=420px){.live-battle{height:auto;min-height:100dvh}.live-battle .battle-arena{min-height:300px}}.history-dialog:has(.replay-screen){width:min(100vw,900px);max-width:100vw;height:100dvh;max-height:100dvh;margin:auto;padding:6px;overflow:hidden}.history-dialog:has(.replay-screen)>button{padding:5px;font-size:.8rem}.replay-screen{height:calc(100dvh - 50px);padding:3px}.replay-screen>h2,.replay-screen>p{flex:none;margin:1px;font-size:.8em}.replay-screen>label{flex:none;font-size:.75em}.replay-screen input[type=range]{margin:1px 0}.replay-screen .playback-controls{flex-wrap:wrap;gap:3px}.replay-screen .playback-controls button{padding:3px;font-size:.8em}.replay-screen .hand-panel h3{margin:3px 0;font-size:.75em}.replay-screen .replay-events{margin:3px 0;padding:3px;font-size:.8em}.replay-screen .replay-events[open]{z-index:4;max-height:35dvh;position:absolute;bottom:4px;left:4px;right:4px;overflow:auto}.live-battle .battle-arena .slot>.card{flex:1;height:100%;min-height:0}:root{--field-name:clamp(1rem,.78rem + 1vw,1.2rem);--field-copy:clamp(.9rem,.68rem + .95vw,1.08rem);--field-value:clamp(1.35rem,1rem + 1.3vw,1.65rem)}a,a:visited{color:#a6d9ff;text-underline-offset:3px}.live-battle .battle-arena .card-name{line-height:1.15;font-size:var(--field-name)!important}.live-battle .battle-arena .card-abilities{color:#e0eaf5;line-height:1.25;font-size:var(--field-copy)!important}.live-battle .battle-arena .duel-values{font-size:var(--field-value);font-variant-numeric:tabular-nums}.live-battle .battle-arena .card-defense{color:#d5e2f0;font-size:clamp(.8rem,.58rem + .9vw,.95rem)}.live-battle .battle-arena .card-waiting .card-name,.live-battle .battle-arena .card-waiting .card-abilities{color:#e0e4ea}.live-battle .battle-arena .commander{font-size:clamp(.9rem,.68rem + 1vw,1.08rem)}.live-battle .offers .card-abilities{line-height:1.2;font-size:clamp(.8rem,.58rem + .9vw,.95rem)!important}.live-battle .offers .card-timer{font-size:clamp(.75rem,.55rem + .8vw,.9rem)}.live-battle .offers .card-defense{color:#d5e2f0;font-size:clamp(.72rem,.52rem + .8vw,.87rem)}.live-battle .offers .duel-values{font-size:clamp(1rem,.75rem + 1vw,1.2rem)}.live-battle .inspect{min-height:26px;font-size:.88rem}.live-battle .hand-panel h2,.live-battle .status{font-size:.9rem}.collection-card{font-size:clamp(1rem,.85rem + .6vw,1.15rem);line-height:1.35}.collection-card span,.collection-card small{font-size:clamp(.93rem,.76rem + .7vw,1.06rem);line-height:1.4}.collection-card:disabled{opacity:1;color:#e1e9f2;background:#293c52;border-style:dashed}.collection-card:disabled[aria-pressed=true]{color:#182331;background:#f5c469}.collection-item .inspect{min-height:32px;font-size:.95rem}.profile-body p{font-size:clamp(.95rem,.82rem + .55vw,1.08rem)}.profile-tabs button{font-size:clamp(.9rem,.77rem + .55vw,1.03rem)}.profile-messages{font-size:.93rem}@media (width<=360px){.live-battle .battle-arena .card{column-gap:3px;padding:4px}.live-battle .offers .card{column-gap:2px;padding:3px}.live-battle .offers .card-heading{flex-wrap:wrap;gap:1px}.live-battle .offers .card{height:100px}}.battle-screen .health-shell{border:2px solid #0000;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:0;min-width:2.3em;padding:2px;line-height:1.05;display:inline-flex}.battle-screen .health-core{border:2px solid #0000;border-radius:5px;padding:1px 3px}.battle-screen .has-armor .health-core{background:#414d58;border-color:#c3cbd3;box-shadow:inset 0 0 0 1px #71808e}.battle-screen .has-shield{background:#6fcfff18;border-color:#7bd6ff99;box-shadow:0 0 5px #77d5ff55}.battle-screen .health-protection{gap:4px;font-size:clamp(.85rem,.7rem + .5vw,1rem);font-weight:750;line-height:1.1;display:flex}.battle-screen .armor-value{color:#f0f3f6}.battle-screen .shield-value{color:#a9e8ff}.battle-screen .card-defense.active-statuses{white-space:normal;flex-wrap:wrap;align-self:end;gap:2px;padding:0;display:flex}.battle-screen .opponent-side .active-statuses{justify-content:flex-end}.battle-screen .effect-badge{border:1px solid;border-radius:4px;padding:1px 3px;font-size:clamp(.72rem,.62rem + .35vw,.9rem);line-height:1.15}.effect-poison{color:#dcf4a1;background:#304423}.effect-burn{color:#ffd1aa;background:#63351e}.effect-hot{color:#b5f5d6;background:#194b3c}.battle-screen .offers .health-protection{font-size:.78rem}.battle-screen .offers .health-shell{min-width:0;padding:1px}.battle-screen .offers .health-core{padding:1px}.deck-slots{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:8px 0 16px;display:grid}.deck-mini,.deck-empty{text-align:left;border-radius:7px;flex-direction:column;justify-content:space-between;gap:4px;min-width:0;min-height:84px;padding:5px;display:flex}.deck-mini{background:#304862;border:2px solid #f5c469;font-size:.78rem}.deck-mini strong{overflow-wrap:anywhere;line-height:1.15}.deck-mini span{font-size:.72rem;line-height:1.15}.deck-empty{color:#becbdb;border:1px dashed #8293a7;justify-content:center;align-items:center}.deck-empty small{font-size:.75rem}.collection-card[aria-pressed=true]{background:#4e492f;border:2px solid #f5c469}.collection-card[aria-pressed=true]>small:last-child{color:#ffe1a2;font-weight:700}@media (width<=380px){.deck-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.deck-mini,.deck-empty{min-height:74px}}.creature-art{flex:none;width:100%;max-width:130px;height:auto;margin:auto;display:block}.collection-card>.creature-art{height:90px}.deck-mini>.creature-art{display:none}#card-detail-dialog>.creature-art{float:right;width:min(32vw,150px);margin:0 0 .5rem .5rem}.battle-art{pointer-events:none;opacity:.16;position:absolute;inset:20% 25% 8%;overflow:hidden}.battle-art .creature-art{max-width:100%;height:100%}.card-heading,.duel-values,.card-abilities,.active-statuses{z-index:1;position:relative}.world-shop{gap:.8rem;display:grid}.world-pack{background:#142334;border:1px solid #66829e;border-radius:12px;padding:.75rem}.world-pack>.creature-art{float:right;width:84px}.world-pack details{clear:both;padding-top:.7rem}.world-pack summary,.economy-rules summary,.supply-panel summary{cursor:pointer;padding:.5rem 0;font-weight:600}.craft-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.craft-card{overflow-wrap:anywhere;background:#243b52;border-radius:10px;flex-direction:column;gap:.4rem;padding:.6rem;display:flex}.craft-card .creature-art{height:85px}.craft-card button{width:100%}.pack-receipt{border:2px solid #f1cb7d;border-radius:12px;margin-top:1rem;padding:.7rem}.pack-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.pack-cards>div{overflow-wrap:anywhere;min-width:0}.pack-cards .creature-art{height:80px}.pack-cards p{font-size:.95rem}.pilot-shop{overflow-wrap:anywhere}@media (width<=359px){.craft-list,.pack-cards{grid-template-columns:1fr}}#inspection>.creature-art{float:right;width:min(32vw,150px);margin:0 0 .5rem .5rem}.pack-cards small{color:#d2deed;margin-top:.3rem;display:block}.world-pack[hidden]{display:none}.craft-direct{overflow-wrap:anywhere;min-height:44px;font-size:.92rem}.encounter{border-left:3px solid #f5c469;margin:10px 0;padding-left:9px}.encounter details{margin:4px 0;padding:6px 8px}.ability-list{flex-direction:column;gap:3px;width:100%;min-width:0;display:flex}.ability-row{align-items:baseline;gap:5px;min-width:0;line-height:1.25;display:flex}.ability-row>span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ability-symbol{text-align:center;color:#b9e9ff;flex:0 0 1.3em}.card-rarity{color:#aebccc;margin-top:auto;font-weight:400;line-height:1.2;font-size:.7rem!important}.collection-card>.ability-list{flex:1}.collection-card .card-rarity{margin-top:8px}.live-battle{gap:4px;height:100dvh;min-height:0;overflow:hidden}.live-battle .battle-arena{flex:1;min-height:0}.live-battle .battle-arena .board{grid-template-rows:repeat(var(--field-slots,5),minmax(0,1fr));flex:1}.live-battle .slot-number{display:none}.live-battle .battle-arena .commander{grid-template-columns:auto 1fr;gap:1px 5px;padding:3px 5px;font-size:.7rem;line-height:1.15;display:grid}.live-battle .commander>span:last-child{color:#bdccdc;grid-column:2;font-size:.65rem}.live-battle .commander .deck-empty{font-weight:700;color:#ffbc86!important}.battle-screen .card{grid-template-rows:15px minmax(0,1fr) 13px 9px;grid-template-columns:minmax(0,1fr) 43px;gap:1px 3px;padding:3px 4px}.battle-screen .card-heading{grid-area:1/1/auto/-1;align-items:center;flex-wrap:nowrap!important}.battle-screen .card-name{white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal;flex:1;min-width:0;overflow:hidden;font-size:.72rem!important;line-height:15px!important;display:block!important}.live-battle .battle-arena .card-timer{flex:none;font-size:.65rem}.battle-screen .card-abilities{grid-area:2/1;align-self:start;min-width:0;max-height:24px;overflow:hidden;display:block!important}.battle-screen .card-abilities .ability-list{gap:0}.battle-screen .card-abilities .ability-row{height:12px;font-size:.65rem;line-height:12px}.battle-screen .duel-values{grid-area:2/2/4;align-self:stretch;gap:0;max-width:43px;line-height:1;font-size:.85rem!important}.battle-screen .health-shell{border-width:1px;min-width:0;padding:0}.battle-screen .health-core{border-width:1px;padding:0 1px}.battle-screen .health-protection{gap:2px;font-size:.55rem}.battle-screen .card-defense.active-statuses{flex-wrap:nowrap;grid-area:3/1;align-self:stretch;gap:2px;padding:0;display:flex;overflow:hidden}.battle-screen .effect-badge{white-space:nowrap;flex:none;height:13px;padding:0 2px;font-size:.55rem;line-height:11px}.battle-screen .status-more{color:#dfebf7;font-size:.55rem;position:absolute;bottom:2px;right:4px}.battle-screen .card-rarity{color:#b5c5d6;text-align:left;grid-area:4/1/auto/-1;margin:0;line-height:9px;font-size:.5rem!important}.battle-screen .opponent-side .card{grid-template-columns:43px minmax(0,1fr)}.battle-screen .opponent-side .card-heading{grid-column:1/-1}.battle-screen .opponent-side .card-abilities,.battle-screen .opponent-side .active-statuses{grid-column:2}.battle-screen .opponent-side .duel-values{grid-column:1}.battle-screen .opponent-side .duel-hp{grid-row:2}.battle-screen .opponent-side .duel-attack{grid-row:1}.battle-screen .opponent-side .card-rarity{text-align:right}.battle-screen .ability-emblems{display:none}.battle-screen .combat-fx{pointer-events:none;z-index:7;place-items:center;display:grid;position:absolute;inset:43px 50px 27px 4px;overflow:hidden}.battle-screen .opponent-side .combat-fx{left:50px;right:4px}.live-battle .offers .card{grid-template-rows:15px minmax(0,1fr) 13px 9px;height:88px!important}.live-battle .offers .card-heading{grid-column:1/-1}.live-battle .offers .duel-values{grid-row:2/4}.live-battle .offers .card-name{font-size:.62rem!important}.live-battle .hand-panel{margin:0;padding:3px}.live-battle .playback-controls{flex-wrap:nowrap;gap:4px;margin:0 0 3px;padding:0;display:flex}.live-battle .playback-controls button{min-height:30px;padding:3px 10px;font-size:.75rem}.live-battle .inspect{color:#c5dff3;background:0 0;border:0;min-height:20px;padding:1px;font-size:.65rem}.live-battle #combat-log{z-index:9;max-width:45%;position:absolute;top:8px;bottom:auto;right:8px}.live-battle #combat-log[open]{max-width:none;max-height:70dvh;top:45px;bottom:auto}.battle-result{z-index:30;color:#edf4ff;text-align:center;background:#182b40;border:1px solid #e6bb64;border-radius:16px;width:min(88vw,340px);height:fit-content;margin:auto;padding:24px;position:fixed;inset:0;box-shadow:0 0 0 100vmax #050b16bb}.battle-result .result{margin:0 0 18px;font-size:1.6rem}.battle-result button{width:100%;margin-top:10px;padding:12px;display:block}.battle-result button:first-of-type{color:#19202c;background:#e3b45e}.battle-result p:not(.result){font-size:.75rem}.history-dialog{max-height:94dvh;padding:10px;overflow:hidden}.history-dialog>header{height:36px}.history-dialog>header button{background:0 0;border:0;padding:5px 10px}.history-body{max-height:calc(94dvh - 60px);overflow:auto}.history-entry{grid-template-columns:1fr auto;gap:3px 8px;padding:10px 0;display:grid}.history-entry strong{font-size:.9rem}.history-entry p{color:#c0d1e3;grid-column:1;margin:0;font-size:.75rem}.history-entry button{grid-area:1/2/4;align-self:center;padding:6px;font-size:.75rem}.pack-cards{flex-direction:column;gap:6px;display:flex!important}.pack-cards .pack-item{text-align:left;grid-template-columns:48px 1fr;gap:2px 10px;min-width:0;padding:8px;display:grid}.pack-cards .pack-item svg{grid-area:1/1/4;width:48px;height:56px}.pack-cards .pack-item strong,.pack-cards .pack-item small,.pack-cards .pack-item p{grid-column:2;margin:0;font-size:.8rem}@media (height<=700px){.battle-screen .card-abilities .ability-row:nth-child(n+2){display:none}.battle-screen .combat-fx{top:30px}.live-battle .offers .card{height:72px!important}.battle-screen .card{grid-template-rows:14px minmax(0,1fr) 12px 8px}}[data-entity]{position:relative}.battle-popup{z-index:8;text-align:center;pointer-events:none;background:#142238f5;border:1px solid #ffd575;border-radius:6px;max-width:100%;padding:1px 3px;font-size:.65rem;font-weight:700;animation:.3s ease-out cue-pop;position:relative}.popup-damage{color:#ffbdc6;border-color:#ff8b9d}.popup-heal{color:#afffca;border-color:#70e4a0}.battle-arena{position:relative}.battle-link{pointer-events:none;z-index:6;width:100%;height:100%;position:absolute;inset:0}.cue-source{outline-offset:-3px;animation:.28s ease-in-out cue-strike;outline:3px solid #ffd575!important}.cue-target{box-shadow:inset 0 0 0 3px #8bddff!important}.cue-death{filter:saturate(.25);box-shadow:inset 0 0 0 3px #ff8b9d!important}@keyframes cue-pop{0%{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes cue-strike{50%{transform:translate(4px)}}@media (prefers-reduced-motion:reduce){.cue-source,.battle-popup{animation:none}}.lab-intro{max-width:850px;margin:10px auto;padding:12px}.lab-intro label{margin:8px 0;display:block}.lab-intro select{max-width:100%;padding:8px}.lab-intro button{margin:4px}.lab-note{color:#ffe0a3}.ranking-list{padding:0;list-style:none}.ranking-list li{border-bottom:1px solid #43566b;justify-content:space-between;gap:8px;padding:9px 0;display:flex}.profile-shell{overflow:hidden}.profile-tabs{z-index:2;background:#101722;flex-shrink:0;position:relative}.profile-body{isolation:isolate;overscroll-behavior:contain;min-height:0;scroll-padding-top:8px}.battle-screen .commander .battle-popup{max-width:70%;height:14px;line-height:12px;position:absolute;bottom:0;left:auto;right:2px}.battle-link{opacity:.6}.battle-popup{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.history-dialog:has(.replay-screen) .history-body{max-height:none;overflow:hidden}.history-dialog .replay-screen{height:calc(100dvh - 60px);min-height:0}.live-battle .battle-arena .card-name{font-size:.72rem!important}.live-battle .battle-arena .card-timer{font-size:.65rem}.live-battle .battle-arena .commander strong{white-space:nowrap;text-overflow:ellipsis;max-width:75px;overflow:hidden}.battle-result::backdrop{background:#050b16bb}.live-battle.local-battle header{padding-right:0}.battle-menu{color:#edf4ff;background:#17283a;border:1px solid #6e91b3;border-radius:12px;width:min(92vw,440px);max-height:85dvh;overflow:auto}.battle-menu header{margin-bottom:14px}.battle-menu header button{background:0 0;border:0}.battle-menu::backdrop{background:#050b16bb}.live-battle .hand-panel{min-height:126px}.live-battle.local-battle .hand-panel{min-height:112px}.live-battle:has(.battle-result) .hand-panel{min-height:0}.live-battle .commander{padding-bottom:16px!important}@media (height<=700px){.live-battle .hand-panel{min-height:110px}.live-battle.local-battle .hand-panel{min-height:96px}}.battle-screen .opponent-side .status-more{left:4px;right:auto}.live-battle .offers .health-protection{font-size:.55rem}.live-battle.compact-chrome>header{align-items:center;gap:4px;height:36px;min-height:36px;display:flex}.live-battle.compact-chrome header>div:empty,.live-battle.compact-chrome .battle-nav{display:none}.live-battle.compact-chrome header h1{max-width:130px;font-size:.64rem;line-height:1.2}.live-battle.compact-chrome header>.playback-controls{flex:none;justify-content:flex-end;gap:3px;margin:0 0 0 auto;display:flex}.live-battle.compact-chrome .playback-controls button{border-radius:7px;width:32px;min-width:32px;height:32px;min-height:32px;padding:2px;font-size:.85rem}.live-battle.compact-chrome .playback-controls button[aria-pressed=true]{color:#17202c;background:#d9ad5a;border-color:#f7d48f}.live-battle .battle-arena .card,.live-battle .offers .card{grid-template-rows:17px minmax(0,1fr) 17px;grid-template-columns:minmax(0,1fr) 58px;gap:2px 4px;padding:4px}.live-battle .battle-arena .opponent-side .card{grid-template-columns:58px minmax(0,1fr)}.live-battle .battle-arena .card-heading,.live-battle .offers .card-heading{grid-area:1/1/auto/-1}.live-battle .battle-arena .card-name{font-size:.78rem!important;line-height:17px!important}.live-battle .battle-arena .duel-values,.live-battle .offers .duel-values{z-index:8;grid-row:2/4;max-width:58px;font-weight:800;line-height:1;font-size:1.4rem!important}.live-battle .battle-arena .card-abilities,.live-battle .offers .card-abilities{z-index:8;grid-row:2;align-self:start;max-height:none;position:relative}.ability-icons{flex-wrap:wrap;gap:2px;display:flex}.ability-chip{white-space:nowrap;color:#e5f4ff;background:#132b3b99;border-radius:3px;padding:0 2px;font-size:.72rem;line-height:16px}.opponent-side .ability-icons{justify-content:flex-end}.live-battle .card-defense.active-statuses{z-index:8;grid-row:3;max-width:calc(100% - 18px);height:17px;position:relative}.live-battle .effect-badge{height:17px;padding:0 2px;font-size:.65rem;line-height:15px}.live-battle .status-more{font-size:.65rem;bottom:4px;right:66px}.live-battle .opponent-side .status-more{left:66px;right:auto}.live-battle .health-protection,.live-battle .offers .health-protection{gap:3px;font-size:.65rem}.live-battle .combat-fx{inset:55px 66px 25px 4px}.live-battle .opponent-side .combat-fx{left:66px;right:4px}.live-battle.compact-chrome .combat-fx .battle-popup{display:none}.live-battle .hand-panel,.live-battle.local-battle .hand-panel{flex:none;height:116px;min-height:116px;max-height:116px;overflow:hidden}.live-battle .offers .card{height:88px!important}.live-battle .offers .duel-values{max-width:44px;font-size:1.15rem!important}.live-battle .offers .card{grid-template-columns:minmax(0,1fr) 44px}.live-battle .offers .ability-chip{font-size:.62rem;line-height:14px}.action-feed{flex-direction:column;justify-content:center;height:100%;padding:10px 12px;display:flex;overflow:auto}.action-feed small{color:#b9cadd;font-size:.7rem}.action-feed p{color:#f2e2bb;overflow-wrap:anywhere;margin:4px 0!important;font-size:.9rem!important;line-height:1.4!important}[data-flash]{background:#60caff;border-radius:4px;animation:.65s ease-out value-change;color:#071b2c!important}[data-flash=hp-loss]{background:#d92c48;animation:.65s ease-out hp-loss;color:#fff!important}[data-flash=hp-heal]{background:#30b868;animation:.65s ease-out hp-heal;color:#fff!important}@keyframes value-change{0%{box-shadow:0 0 9px 3px #85dfff}to{box-shadow:none}}@keyframes hp-loss{0%{box-shadow:0 0 9px 3px #ff4866}to{box-shadow:none}}@keyframes hp-heal{0%{box-shadow:0 0 9px 3px #6aff9c}to{box-shadow:none}}@media (prefers-reduced-motion:reduce){[data-flash]{animation:none}}.live-battle .ability-icons{max-height:34px;overflow:hidden}.live-battle .battle-arena .card-abilities{max-height:100%;overflow:hidden}.live-battle .commander .deck-empty{background:0 0;border:0;gap:0;min-width:0;min-height:0;margin:0;padding:0;line-height:1.1;display:inline}.chapter-navigation{grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:5px;margin:5px 0;display:grid}.chapter-navigation button{min-height:32px;padding:2px;font-size:1.4rem}.chapter-navigation select{width:100%;min-width:0}.action-feed{cursor:pointer;justify-content:flex-start;padding:4px 8px}.action-feed p{margin:2px 0!important;font-size:.8rem!important}.action-feed:focus-visible{outline:2px solid #ffd575}.battle-menu details[open]{max-height:60dvh;overflow:auto}.lab-intro{flex-wrap:wrap;align-items:center;gap:4px;margin:0 auto;padding:6px;display:flex}.lab-intro h1{margin:3px;font-size:1rem}.lab-intro button,.lab-intro select{min-height:28px;margin:0;padding:3px 5px;font-size:.75rem}.lab-intro label{margin:2px;font-size:.75rem}.lab-intro p{margin:2px;font-size:.7rem}.lab-home{font-weight:700}.lab-note{flex-basis:100%}.stat-breakdown{font-size:.85rem}.stat-breakdown h3{margin:10px 0 4px}.stat-calculation h4{margin:6px 0 2px}.stat-calculation ul{margin:2px 0;padding-left:18px}.stat-equation{color:#d8e8ff;overflow-wrap:anywhere;font-weight:700}.legacy-badge{color:#9dbae1;pointer-events:none;letter-spacing:.05em;font-size:.5rem;position:absolute;bottom:1px;left:3px}.card:has(.legacy-badge){background:linear-gradient(135deg,#192e43,#253750);border-color:#52728b}.effect-badge.category-status{color:#c5efc6;border-style:dashed}.effect-badge.category-aura{color:#d7b4ff;border-color:#b594d6}.battle-screen .card.rotate-next{outline:2px solid var(--rotation-color,#deb7fa);outline-offset:-3px;border-color:var(--rotation-color,#deb7fa);box-shadow:inset 0 0 13px var(--rotation-glow,#be88e737),0 0 8px var(--rotation-glow,#be88e737)}.rotate-hint{border:1px solid var(--rotation-color,#deb7fa);color:#f2ddff;letter-spacing:.045em;white-space:nowrap;pointer-events:none;z-index:3;background:#322640e8;border-radius:4px;padding:1px 5px;font-size:.52rem;font-weight:800;line-height:1.1;display:block;position:absolute;bottom:3px;left:50%;transform:translate(-50%)}@media (prefers-reduced-motion:no-preference){.battle-screen .card.rotate-next:not(.cue-rotate){animation:2.1s ease-in-out infinite rotation-ready}}@keyframes rotation-ready{0%,to{box-shadow:inset 0 0 8px var(--rotation-glow,#be88e737),0 0 3px var(--rotation-glow,#be88e737)}50%{box-shadow:inset 0 0 20px var(--rotation-glow,#be88e737),0 0 10px var(--rotation-glow,#be88e737)}}.battle-arena .card.cue-rotate{outline-offset:-3px;outline:2px solid var(--rotation-color,#deb7fa)!important;border-color:var(--rotation-color,#deb7fa)!important;box-shadow:inset 0 0 24px var(--rotation-glow,#be88e737)!important}.battle-arena .card.cue-rotate:after{content:"↩ ROT";color:#f2ddff;pointer-events:none;background:#322640ed;border:1px solid #deb7fa;border-radius:4px;padding:1px 5px;font-size:.52rem;font-weight:800;position:absolute;bottom:3px;left:50%;transform:translate(-50%)}.cue-rotate{outline:2px dashed #a99acc;box-shadow:none!important;animation:.9s ease-in both rotate-release!important}.cue-shift{animation:.9s ease-in-out both formation-shift}.cue-entry{animation:.4s ease-out field-entry}.cue-legacy{animation:.8s ease-out legacy-arrival;box-shadow:inset 0 0 0 2px #81b6c9!important}.legacy-energy path{stroke-dasharray:12 10;animation:.7s linear infinite legacy-flow}@keyframes rotate-release{0%{opacity:1;filter:none}55%{opacity:.6;filter:blur(.5px);transform:translate(-8px)}to{opacity:0;filter:blur(3px);transform:translate(-28px)}}@keyframes formation-shift{0%,35%{transform:translateY(0)}to{transform:translateY(calc(-1 * var(--shift-distance,0px)))}}@keyframes field-entry{0%{opacity:.25;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes legacy-flow{to{stroke-dashoffset:-66px}}@keyframes legacy-arrival{0%,to{filter:none}45%{filter:brightness(1.35)}}.cue-death{animation:.7s ease-in both card-collapse}@keyframes card-collapse{0%{opacity:1;transform:scale(1)}to{opacity:.15;filter:grayscale();transform:scale(.65)}}.cue-source{border-color:#ffd575!important}.cue-target{border-color:#8bddff!important}:is(.card.cue-source:has(.legacy-badge),.card.cue-target:has(.legacy-badge)){background:#28364b}@media (prefers-reduced-motion:reduce){.cue-rotate,.cue-shift,.cue-entry,.cue-legacy,.cue-death,.legacy-energy path{animation:none!important}}.pack-reveal{text-align:center;color:#edf3ff;background:#142136;border:1px solid #637087;border-radius:16px;width:min(90vw,380px);max-height:92dvh;padding:16px;overflow:auto}.pack-reveal::backdrop{background:#07101cdd}.pack-position{color:#b7c7da;margin:0 0 8px;font-size:.8rem}.reveal-card{isolation:isolate;color:#edf3ff;background:#203249;border:2px solid #61748b;border-radius:14px;width:100%;height:min(58dvh,420px);min-height:220px;padding:12px;display:block;position:relative;overflow:visible}.reveal-card:disabled{opacity:1}.card-back{color:#8d9ab1;background:repeating-linear-gradient(45deg,#203249,#203249 12px,#243851 12px 24px);border-radius:8px;place-items:center;height:100%;font-size:6rem;display:grid}.revealed-content{flex-direction:column;justify-content:center;gap:8px;height:100%;display:flex}.revealed-content[hidden],.card-back[hidden]{display:none}.revealed-content svg{width:100%;height:min(30dvh,230px)}.revealed-content strong{font-size:1.1rem}.revealed-content p{margin:2px;font-size:.8rem}.pack-reveal #pack-next,.pack-reveal #pack-close{width:100%;margin-top:14px}.reveal-particles{pointer-events:none;letter-spacing:.9rem;color:#ffe4a0;font-size:1.4rem;display:none;position:absolute;inset:4px}.pack-reveal.rarity-common .reveal-card{border-color:#8194a6;box-shadow:0 0 8px #93a5b120}.pack-reveal.rarity-rare .reveal-card{border-color:#60a5ff;box-shadow:0 0 18px #3686f45c}.pack-reveal.rarity-epic .reveal-card{border-color:#bd84fa;animation:.65s ease-out epic-reveal;box-shadow:0 0 32px #a45af6a0}.pack-reveal.rarity-legendary .reveal-card{border-color:#ffd573;animation:1.1s ease-out legendary-reveal;box-shadow:0 0 28px #ffc343,0 0 65px #ef9f399c,0 0 95px #ffe0a84d}.pack-reveal.rarity-legendary .reveal-particles{animation:1.1s ease-out reveal-particles;display:block}.pack-reveal.rarity-legendary .reveal-card:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(#ffcb6155,#0000 70%);border-radius:50%;position:absolute;inset:-20px}.pack-summary{width:min(94vw,650px)}.pack-summary .pack-item{border:1px solid #637087;padding:8px}.pack-summary .rarity-rare{border-color:#60a5ff}.pack-summary .rarity-epic{border-color:#bd84fa}.pack-summary .rarity-legendary{border-color:#ffd573;box-shadow:0 0 12px #ffc34366}@keyframes epic-reveal{0%{filter:brightness(2);transform:scale(.96)}to{filter:brightness();transform:scale(1)}}@keyframes legendary-reveal{0%{filter:brightness(3);transform:scale(.9)}35%{filter:brightness(1.8);transform:scale(1.02)}to{filter:brightness();transform:scale(1)}}@keyframes reveal-particles{0%{opacity:0;transform:scale(.8)}35%{opacity:1}to{opacity:.5;transform:scale(1.05)}}@media (prefers-reduced-motion:reduce){.pack-reveal .reveal-card,.pack-reveal .reveal-particles{animation:none!important}}.ability-chip{border:1px solid #6a8eaa}.ability-chip.category-passive{border-color:#b594d6}.ability-chip.category-passive_trigger{border-style:dotted;border-color:#c197e9}.ability-chip.category-trigger{border-color:#d6b670}.ability-chip.category-on_play{border-color:#83bce8}.legacy-badge{flex:none;align-self:center;min-width:18px;margin-left:auto;line-height:12px;position:static}.opponent-side .legacy-badge{margin-left:0;margin-right:auto}#app:has(>.lab-intro){flex-direction:column;height:100dvh;display:flex;overflow:hidden}#app>.lab-intro{flex:none;width:100%;max-height:35dvh;overflow:auto}#app>.lab-intro+.live-battle{flex:1;width:100%;height:auto;min-height:0;margin:0 auto}.lab-economy{flex:none;width:100%;max-width:850px;max-height:28dvh;margin:2px auto;padding:6px;overflow:auto}.lab-economy h2{margin:2px;font-size:.9rem}.lab-economy p{margin:3px 0;font-size:.75rem}.lab-economy button,.lab-economy select{min-height:32px;margin:2px;padding:4px 7px;font-size:.8rem}.lab-economy label,.lab-economy summary,.lab-economy>a{font-size:.8rem}.lab-economy [role=status]:empty{display:none}#app>.lab-economy+.live-battle{flex:1;width:100%;height:auto;min-height:0;margin:0 auto}.pending-legacy{color:#a9d6ff;z-index:2;pointer-events:none;font-size:.6rem;position:absolute;top:2px;left:20px}.slot:has(.pending-legacy){outline-offset:-2px;outline:1px dashed #52728b}.faction-profile select{max-width:100%;min-height:44px}.faction-profile label{margin-top:12px;display:block}.faction-collection-item{border:1px solid #40516a;border-radius:12px;flex-direction:column;gap:6px;min-width:0;padding:8px;display:flex}.faction-collection-item[hidden]{display:none}.faction-collection-item .collection-card{flex:1;width:100%}.faction-collection-item .upgrade-preview{margin:0;font-size:.8rem}.faction-profile .deck-slots{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:6px;display:grid}.faction-profile .error{white-space:normal}.faction-profile progress{width:100%}.commander-identity{font-size:.72rem;line-height:1.15}.card-level{color:#ead496;font-size:.6rem}.live-battle .battle-arena:has(.board[style*="7"]){min-height:630px}.live-battle .battle-arena .board[style*="7"]{grid-template-rows:repeat(7,minmax(76px,1fr))}@media (height<=740px){.live-battle:has(.board[style*="7"]){height:auto;min-height:100dvh;overflow:visible}.live-battle:has(.board[style*="7"]) .battle-arena{flex:none;height:650px}}.live-battle .battle-arena:has(.board[style*="7"]) .commander{flex:none;grid-template-rows:16px 16px 14px;grid-template-columns:max-content minmax(0,1fr);align-content:center;align-items:center;height:56px;min-height:56px;padding:3px 5px;overflow:hidden;padding-bottom:3px!important}.live-battle .battle-arena:has(.board[style*="7"]) .commander>strong{grid-area:1/1}.live-battle .battle-arena:has(.board[style*="7"]) .commander-identity{white-space:nowrap;text-overflow:ellipsis;grid-area:1/2;min-width:0;overflow:hidden}.live-battle .battle-arena:has(.board[style*="7"]) .commander>span:has(.health-core){white-space:nowrap;grid-area:2/1/auto/-1}.live-battle .battle-arena:has(.board[style*="7"]) .commander>span:last-child{grid-area:3/1/auto/-1}#deck-tester-dialog{width:min(96vw,850px);max-width:850px;max-height:92dvh;padding:14px;overflow:auto}#deck-tester-dialog header{z-index:2;background:inherit;padding:8px 0;position:sticky;top:-14px}#deck-tester-dialog .tester-fields{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;display:grid}#deck-tester-dialog label{flex-direction:column;gap:5px;display:flex}#deck-tester-dialog :is(select,input){width:100%;min-width:0;min-height:44px;font:inherit;color:inherit;background:#162334;border:1px solid #718ba7;border-radius:6px;padding:8px}#deck-tester-dialog progress{width:100%;margin-top:12px}.tester-results{overflow:auto}.tester-results table{border-collapse:collapse;width:100%;font-size:.85rem}.tester-results :is(th,td){text-align:left;vertical-align:top;border-bottom:1px solid #536b82;padding:8px}.tester-results td small{color:#b9ccdf;margin-top:4px;display:block}.tester-results caption{text-align:left;margin:8px 0;font-weight:700}.tester-results th{white-space:nowrap}.tester-results table{min-width:560px}.tester-results td:nth-child(2){min-width:115px}.tester-card-list{margin:6px 0;padding-left:18px;line-height:1.5}.tester-results details{margin:6px 0;padding:8px}.tester-results details strong{margin-top:6px;display:block}.event-banner{color:#fff0d5;isolation:isolate;background:radial-gradient(at 10% 30%,#69482088,#0000 55%),linear-gradient(120deg,#253445,#302b3c 60%,#44302b);border:1px solid #c89b4f;border-radius:16px;grid-template-columns:66px minmax(0,1fr) auto;align-items:center;gap:16px;margin:12px 0;padding:18px 22px;display:grid;position:relative;overflow:hidden}.event-banner:before{content:"";border-radius:inherit;pointer-events:none;z-index:-1;position:absolute;inset:0;box-shadow:inset 0 0 24px #ffbd4620}.event-live:before{animation:4s ease-in-out infinite event-breathe}.event-banner h2{margin:2px 0;font-size:1.55rem}.event-banner p{margin:4px 0;line-height:1.35}.event-banner button{color:#211a18;white-space:nowrap;background:#eac078;border-color:#f8dbab;min-height:44px}.event-banner-progress{color:#d9c6a9;font-size:.85rem}.event-eyebrow{letter-spacing:.13em;color:#f3cb89;font-size:.73rem;font-weight:800}.event-emblem{color:#f6c66a;text-shadow:0 0 24px #ffac4455;text-align:center;font-size:3.6rem}.event-page{padding-bottom:20px}.event-hero{color:#f6e7d1;background:radial-gradient(at 85% 20%,#b96f2d33,#0000 60%),linear-gradient(135deg,#253143,#392d35);border:1px solid #886541;border-radius:18px;padding:26px}.event-hero h2{margin:10px 0;font-size:clamp(1.65rem,4vw,2.5rem)}.event-hero p{max-width:65ch}.event-clock{color:#ffe0a6;background:#372c29;border:1px solid #c59b5b;border-radius:24px;padding:8px 14px;display:inline-block}.event-hero progress{accent-color:#edbc6c;width:100%;margin-top:18px;display:block}.event-layout{grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr);gap:18px;margin:18px 0;display:grid}.event-prize{color:#f3e8d9;background:linear-gradient(150deg,#283947,#302b38);border:1px solid #bf955b;border-radius:14px;padding:20px}.event-prize .card-art{width:170px;max-width:100%;height:auto;margin:14px auto;display:block}.event-prize h3{font-size:1.25rem}.event-card-stats{letter-spacing:.04em;font-size:1.2rem}.event-prize button{width:100%;min-height:44px}.event-rewards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.event-rewards article{background:#202e40;border:1px solid #676b7c;border-radius:12px;padding:14px}.event-rewards :is(span,strong,small){line-height:1.5;display:block}.event-rewards span{color:#f3cb89;font-size:.85rem}.event-rewards strong{margin:7px 0;font-size:.95rem}.event-rewards .reward-earned{background:#203a3a;border-color:#68bba4}.event-briefing{background:#25313f;border:1px solid #536879;border-radius:14px;margin-top:14px;padding:20px}.event-briefing button{min-height:44px;margin:4px}.event-briefing [data-action=event-start]{color:#171d26;background:#cf9d56;border-color:#f1cf95;font-weight:700}.event-targets{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0;padding:0;list-style:none;display:grid}.event-targets li{background:#263344;border:1px solid #526578;border-radius:12px;align-items:center;gap:12px;padding:12px;display:flex}.event-targets li small{color:#b7c9d8;margin-top:5px;display:block}.event-targets .current{background:#443728;border-color:#e5b464}.event-targets .complete{border-color:#5f9b88}.event-targets .locked{color:#c0c7cf}.event-target-number{color:#f4d097;background:#1b2636;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;font-weight:800;display:grid}@keyframes event-breathe{50%{box-shadow:inset 0 0 38px #ffbd4655}}@media (width<=600px){.event-banner{grid-template-columns:42px minmax(0,1fr);gap:10px;padding:14px}.event-emblem{font-size:2.8rem}.event-banner button{grid-column:1/-1;width:100%}.event-layout{grid-template-columns:1fr}.event-hero{padding:18px}.event-rewards{grid-template-columns:1fr}.event-rewards article{grid-template-columns:100px 1fr;align-items:center;gap:4px 10px;display:grid}.event-rewards strong{margin:0}.event-rewards small{grid-column:2}.event-targets{grid-template-columns:1fr}.event-prize .card-art{width:145px}.profile-tabs:has([data-page=event]){overflow-x:auto}.profile-tabs:has([data-page=event]) button{min-width:65px}}@media (prefers-reduced-motion:reduce){.event-live:before{animation:none}}[data-skin=neon] .event-hero,[data-skin=neon] .event-banner{background:radial-gradient(at 15% 10%,#b6743238,#0000 55%),linear-gradient(135deg,#172e3c,#29253f 65%,#432f39);border-color:#ffcc80}.profile-tabs:has([data-page=event]){gap:6px;display:flex;overflow-x:auto}.profile-tabs:has([data-page=event]) button{flex:1 0 auto;min-width:70px}.profile-shell .profile-tabs{background:0 0}.home-intro{padding:8px 4px 12px}.home-intro h2{margin:4px 0!important;font-size:1.35rem!important}.home-kicker{letter-spacing:.14em;color:var(--cyan,#86ddd5);font-weight:700;font-size:.65rem!important}#panel-home .event-banner{flex:none;margin:0 0 14px}.home-destinations{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.home-destination{text-align:left;border-radius:12px;grid-template-columns:1fr auto;gap:6px;min-height:108px;display:grid;padding:14px!important}.home-destination span{color:var(--muted,#b6cbd8);grid-column:1;font-size:.78rem;line-height:1.4}.home-destination b{color:var(--cyan,#a0eada);grid-area:1/2/3;align-self:center;font-size:1.25rem}:is(.live-battle.compact-chrome,.live-battle.compact-chrome:has(.board[style*="7"])){height:100dvh;min-height:0;position:relative;overflow:hidden}:is(.live-battle.compact-chrome .battle-arena,.live-battle.compact-chrome:has(.board[style*="7"]) .battle-arena){flex:1;height:auto;min-height:0}.live-battle.compact-chrome .battle-arena .board[style*="7"]{grid-template-rows:repeat(7,minmax(0,1fr))}.live-battle.compact-chrome .battle-arena .slot{min-height:0}.live-battle.compact-chrome .hand-panel,.live-battle.compact-chrome.local-battle .hand-panel{height:30px;min-height:30px;max-height:30px;padding:2px 6px;overflow:hidden}.live-battle.compact-chrome .hand-panel.floating-hand{z-index:25;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:14px;height:auto;min-height:0;max-height:min(280px,50dvh);padding:10px;position:absolute;overflow:auto;box-shadow:0 -8px 35px #050b19a6}.live-battle .hand-heading{justify-content:space-between;align-items:center;gap:8px;margin:0 0 8px;display:flex}.live-battle .hand-heading strong{font-size:.85rem}.live-battle .hand-heading span{color:var(--muted,#b1c4d5);font-size:.65rem}.live-battle.compact-chrome .floating-hand .offers .card{height:112px!important}.live-battle.compact-chrome .floating-hand .inspect{height:36px;min-height:36px;padding:4px;font-size:.8rem}.live-battle.compact-chrome .action-feed{white-space:nowrap;padding:0;display:block;overflow:hidden}.live-battle.compact-chrome .action-feed small{display:none}.live-battle.compact-chrome .action-feed p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:2px 0!important;font-size:.72rem!important}.live-battle.compact-chrome .playback-controls #hand-toggle{font-size:1.2rem}.live-battle.compact-chrome .hand-visible{border-color:var(--cyan,#91e8de)}@media (width<=400px){.live-battle.compact-chrome header h1{max-width:106px;font-size:.58rem}.live-battle.compact-chrome .playback-controls button{width:30px;min-width:30px}.live-battle .hand-heading span{text-align:right;max-width:130px}.live-battle.compact-chrome .battle-arena .duel-values{font-size:1.25rem!important}}@media (height<=620px){.live-battle.compact-chrome .battle-arena .card,.live-battle.compact-chrome .battle-arena .opponent-side .card{grid-template-rows:14px minmax(0,1fr) 12px;grid-template-columns:minmax(0,1fr) 42px;padding:2px}.live-battle.compact-chrome .battle-arena .opponent-side .card{grid-template-columns:42px minmax(0,1fr)}.live-battle.compact-chrome .battle-arena .card-name{font-size:.66rem!important;line-height:14px!important}.live-battle.compact-chrome .battle-arena .duel-values{font-size:1.05rem!important}.live-battle.compact-chrome .battle-arena .ability-chip{font-size:.6rem;line-height:12px}.live-battle.compact-chrome .battle-arena .card-defense.active-statuses{height:12px}.live-battle.compact-chrome .battle-arena .effect-badge{height:12px;font-size:.54rem;line-height:10px}}.live-battle.compact-chrome .battle-arena{margin-bottom:34px}.live-battle.compact-chrome .hand-panel:not(.floating-hand){left:6px;right:6px;bottom:max(6px,env(safe-area-inset-bottom));position:absolute}.profile-tabs [data-page=home]{z-index:2;background:#203f50;position:sticky;left:0}.audio-settings [data-audio-panel]{font-size:.85rem}.audio-enable{align-items:center;gap:10px;min-height:44px;font-weight:700;display:flex!important}.audio-enable input{width:22px;height:22px;accent-color:var(--cyan,#6bdbc7)}.audio-settings .audio-volume{grid-template-columns:minmax(0,1fr) 55px;gap:6px 12px;margin:14px 0;display:grid}.audio-volume>span{grid-column:1}.audio-volume output{text-align:right;font-variant-numeric:tabular-nums;grid-area:1/2}.audio-volume input[type=range]{width:100%;height:36px;accent-color:var(--cyan,#6bdbc7);cursor:pointer;background:0 0;border:0;grid-column:1/-1;margin:0;padding:0}.audio-previews{flex-wrap:wrap;gap:6px;display:flex}.audio-previews button{min-height:40px;font-size:.8rem}.audio-settings .footnote{font-size:.75rem;line-height:1.5}.audio-settings [data-audio-status]{color:var(--muted,#a9bacd);font-size:.8rem}.battle-menu .audio-settings[open]{max-height:60dvh;overflow:auto}.goal-grid,.recipe-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;display:grid}.goal-grid>article,.deck-recipe{border:1px solid var(--line,#3d526a);background:color-mix(in srgb,currentColor 4%,transparent);border-radius:12px;min-width:0;padding:12px}.goal-grid h3,.deck-recipe h3{margin:0 0 8px}.deck-recipe p,.goal-grid p{overflow-wrap:anywhere}.deck-guide>p,.release-goals>p{max-width:80ch}.recipe-grid{margin-top:12px}.recipe-grid [hidden]{display:none}.deck-recipe small{display:block}.deck-recipe details{margin:10px 0}.deck-recipe li{overflow-wrap:anywhere}.goal-grid button{margin:4px 4px 4px 0}.release-goals>details{margin-top:12px}.tutorial-launch{text-align:left;color:#fff;background:linear-gradient(120deg,#192c3e,#304037);border:2px solid #d9b65a;border-radius:18px;grid-template-columns:auto 1fr;gap:.4rem 1rem;width:100%;min-height:90px;padding:1.2rem;display:grid}.tutorial-launch>span:first-child{color:#ffe39b;grid-row:span 2;align-self:center;font-size:2rem}.tutorial-launch>strong{font-size:1.2rem}.tutorial-launch>span:last-child{color:#f6e9c5;font-size:.9rem}.tutorial-glow{animation:3s ease-in-out infinite tutorial-glow;box-shadow:0 0 18px #ecc46770}@keyframes tutorial-glow{50%{box-shadow:0 0 27px #ecc467a0}}.tutorial-hub progress{accent-color:#d9b65a;width:100%;margin:.4rem 0 1rem}.tutorial-modules{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:.8rem;margin-bottom:1rem;display:grid}.tutorial-modules>button{text-align:left;grid-template-columns:2rem 1fr;gap:.35rem .7rem;min-height:120px;padding:1rem;display:grid}.tutorial-module-number{color:#b18420;grid-row:span 3;font-size:1.2rem}.tutorial-modules small{opacity:.8}.tutorial-dialog{box-sizing:border-box;background:var(--panel,#182637);width:min(860px,100vw - 20px);max-height:calc(100dvh - 24px);color:var(--text,#f5f7fb);border:1px solid #aaa;border-radius:20px;padding:1.2rem;overflow:auto}.tutorial-dialog::backdrop{background:#000b}.tutorial-dialog header,.tutorial-dialog footer{justify-content:space-between;align-items:center;gap:1rem;display:flex}.tutorial-dialog header{font-size:.9rem}.tutorial-dialog h2{margin:.5rem 0 1rem}.tutorial-step{opacity:.8;font-size:.85rem}.tutorial-dialog footer{background:var(--panel,#182637);z-index:2;padding:.9rem 0;position:sticky;bottom:-1.2rem}.tutorial-dialog button{min-height:44px}.tutorial-dialog #tutorial-next{font-weight:700}.tutorial-lesson{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:1.5rem;display:grid}.tutorial-lesson figure{min-width:0;margin:0}.tutorial-explanation p{font-size:1.05rem;line-height:1.6}.tutorial-explanation aside{background:#a7892512;border-left:3px solid #d9b65a;padding:.6rem 1rem}.tutorial-explanation aside p{margin:.3rem 0;font-size:.95rem}.tutorial-box{outline-offset:2px;background:#c4972718;border-radius:7px;outline:3px solid #d9b65a}.tutorial-card{box-sizing:border-box;color:#fff;background:#223346;border:2px solid #768695;border-radius:14px;flex-direction:column;gap:.9rem;width:100%;max-width:320px;min-height:310px;margin:8px auto 14px;padding:12px;display:flex;position:relative;overflow:visible}.tutorial-card .battle-art{opacity:1;height:145px;display:block;position:relative;inset:auto}.tutorial-card .battle-art svg{width:100%;height:100%}.tutorial-card .card-heading{flex-wrap:wrap;align-items:center;gap:.7rem;display:flex;position:relative;inset:auto}.tutorial-card .card-name{font-size:1rem}.tutorial-card .duel-values{justify-content:space-between;display:flex;position:relative;inset:auto}.tutorial-card .card-abilities{max-height:none;padding:.5rem;font-size:.85rem;display:block;position:relative;inset:auto;overflow:visible}.tutorial-card .ability-emblems{display:none}.tutorial-card .card-timer,.tutorial-card .card-level{position:relative;inset:auto}.tutorial-card .card-defense{display:none}.tutorial-card[data-focus=name] .card-name,.tutorial-card[data-focus=timer] .card-timer,.tutorial-card[data-focus=attack] .duel-attack,.tutorial-card[data-focus=health] .duel-hp,.tutorial-card[data-focus=abilities] .card-abilities{outline-offset:5px;border-radius:4px;outline:3px solid #ffe099;box-shadow:0 0 15px #ffe09960}.tutorial-card-figure figcaption,.tutorial-field figcaption,.tutorial-offer figcaption{text-align:center;margin:.7rem 0;font-size:.85rem}.tutorial-ability-text{padding-left:1.2rem;font-size:.85rem;line-height:1.5}.tutorial-offer>div{grid-template-columns:repeat(3,1fr);gap:.7rem;padding:.5rem;display:grid}.tutorial-offer>div>span{text-align:center;border:1px solid #8a969c;border-radius:12px;place-content:center;min-height:110px;display:grid}.tutorial-offer small{margin-top:1rem;font-size:.8rem;display:block}.tutorial-field-head,.tutorial-field-row{grid-template-columns:1fr 1fr;gap:.6rem;margin:.4rem 0;padding:.5rem;font-size:.85rem;display:grid}.tutorial-field-row>span{border:1px solid #7d8b9570;border-radius:5px;padding:.4rem}.tutorial-field-head{font-weight:700}.tutorial-field p,.tutorial-offer p{text-align:center;font-size:.85rem}.tutorial-topic-map{gap:1rem;margin:.5rem;padding:0;list-style:none;display:grid}.tutorial-topic-map li{align-items:center;gap:.8rem;padding:.8rem;font-size:.95rem;display:flex}.tutorial-topic-map li>span{border:1px solid #a89a70;border-radius:50%;flex-shrink:0;place-items:center;width:1.7rem;height:1.7rem;display:grid}@media (width<=600px){.tutorial-lesson{grid-template-columns:1fr;gap:.6rem}.tutorial-dialog{padding:1rem}.tutorial-dialog footer{bottom:-1rem}.tutorial-card{max-width:290px;min-height:270px}.tutorial-card .battle-art{height:110px}.tutorial-explanation p{font-size:1rem}.tutorial-field-row{margin:.2rem 0;padding:.2rem}.tutorial-card-figure .tutorial-ability-text{max-height:150px;overflow:auto}}@media (prefers-reduced-motion:reduce){.tutorial-glow{animation:none}}.tutorial-card small.card-abilities{color:#e7eef7;display:block}.tutorial-card .health-shell{flex-direction:column;align-items:center;gap:.2rem;display:inline-flex}.tutorial-card .health-protection{color:#d2eaf8;gap:.4rem;font-size:.8rem;display:flex}.profile-shell{gap:6px;height:100dvh;min-height:0;padding:8px}.profile-shell header{align-items:center;min-height:40px}.profile-shell header h1{font-size:1.08rem}.profile-shell header .notice{font-size:.72rem;line-height:1.2}.profile-shell header a{font-size:.72rem}.profile-shell .profile-tabs{scrollbar-width:none;gap:5px;min-height:44px;padding:1px;display:flex;overflow-x:auto}.profile-tabs::-webkit-scrollbar{display:none}:is(.profile-shell .profile-tabs button,.profile-shell .profile-tabs:has([data-page=event]) button){z-index:auto;flex:none;min-width:64px;min-height:42px;padding:8px 10px;font-size:.82rem;position:static}.profile-body{touch-action:pan-y;scrollbar-gutter:stable}.profile-body>[data-panel]{min-width:0}.profile-shell .profile-messages:empty{display:none}.profile-messages{max-height:15dvh;overflow:auto}.profile-messages p{margin:2px 0;font-size:.8rem}.profile-thumb-nav{padding:5px 0 max(2px,env(safe-area-inset-bottom));border-top:1px solid var(--line,#40536a);background:var(--surface,#142334);flex:none;gap:4px;display:flex}.profile-thumb-nav button{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;min-width:0;min-height:48px;padding:3px;font-size:.68rem;display:flex}.profile-thumb-nav button>span:first-child{font-size:1.1rem;line-height:1.15}.profile-thumb-nav button[aria-pressed=true]{border-color:var(--cyan,#85e8d8)}.profile-body .launch-actions{flex-wrap:wrap;gap:6px;margin:8px 0;display:flex}.launch-actions .primary-action{flex:1 0 100%;min-height:48px;font-size:1rem;font-weight:700}.launch-actions>button:not(.primary-action){min-height:44px}.launch-actions .launch-meta{color:var(--muted,#b9cadb);flex:1 0 100%;font-size:.78rem;margin:0!important}.profile-body .launch-meta{font-size:.78rem;line-height:1.3}.profile-body .resource-strip{margin:4px 0;font-size:.8rem}.profile-body .launch-details{margin:8px 0 0}.profile-body details>summary{align-content:center;min-height:36px;display:list-item}.profile-body .campaign-launch>h2:first-child{font-size:1.05rem}.profile-body .pvp-launch .ranked-progress{grid-template-columns:1fr 1fr;font-size:.8rem}.profile-body .ranked-progress label{font-size:.8rem}.profile-body .ranked-progress p{font-size:.75rem}.profile-body .pvp-launch>details{margin-bottom:0}.profile-body .event-hero{padding:12px}.profile-body .event-hero h2{font-size:1.05rem}.profile-body .event-hero .event-clock{font-size:.9rem}.profile-body .event-briefing{margin:8px 0;padding:10px}.profile-body .event-briefing h3{font-size:1rem}.event-page>.event-layout{margin-top:8px}.profile-body .event-page>details{margin:8px 0}.profile-body .event-rewards article{padding:10px}.profile-body .event-rewards strong{font-size:.85rem}.profile-body .home-intro{padding:2px 0 5px}.profile-body .home-intro h2{font-size:1.05rem!important}.home-play{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:8px;display:grid}.home-play article{border:1px solid var(--line,#40536a);border-radius:12px;flex-direction:column;gap:6px;min-width:0;padding:10px;display:flex}.home-play strong{font-size:.8rem}.home-play button,.home-play a{text-align:center;align-content:center;width:100%;min-height:48px;font-size:.85rem}.home-play a{color:var(--cyan,#9edbdc)}.home-destinations{gap:6px;margin-bottom:8px}.home-destinations .home-destination{flex-direction:column;justify-content:center;gap:2px;min-height:60px;display:flex;padding:8px 10px!important}.home-destination strong{font-size:.85rem}.home-destination span{font-size:.68rem;line-height:1.2}.profile-body #panel-home .event-banner{grid-template-columns:28px minmax(0,1fr) auto;gap:6px;margin-bottom:8px;padding:9px}.profile-body #panel-home .event-emblem{font-size:1.7rem}.profile-body #panel-home .event-banner h2{margin:0;font-size:.95rem}.profile-body #panel-home .event-banner p{margin:2px 0;font-size:.7rem}.profile-body #panel-home .event-eyebrow,.profile-body #panel-home .event-banner-progress{display:none}.profile-body #panel-home .event-banner button{grid-column:auto;max-width:90px;min-height:44px;padding:5px;font-size:.7rem}.home-progress-details{margin:8px 0}.home-progress-details .release-goals{margin-bottom:0}.profile-body .tutorial-invitation{margin-top:8px}.profile-body .tutorial-launch{padding:9px}.profile-body .tutorial-launch>span:last-child{font-size:.72rem}.collection-view-switch{z-index:3;background:var(--surface,#142334);align-items:center;gap:4px;margin:5px 0 8px;padding:4px 0;display:flex;position:sticky;top:0}.collection-view-switch>span{margin-right:auto;font-size:.75rem}.collection-view-switch>button{min-height:44px;padding:7px 12px;font-size:.82rem}.collection-grid[data-card-view=battle]{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.collection-grid:not([data-card-view=large]) .faction-collection-item,.collection-grid:not([data-card-view=large]) .collection-item{gap:4px;padding:4px}.collection-grid[data-card-view=battle] .collection-battle-card{isolation:isolate;text-align:left;grid-template-rows:18px 24px 18px 14px;grid-template-columns:minmax(0,1fr) 58px;gap:2px;height:90px;min-height:0;max-height:90px;padding:5px;display:grid;position:relative;overflow:hidden}.collection-battle-card .battle-art{z-index:-1;opacity:.13;pointer-events:none;position:absolute;inset:0}.collection-battle-card .ability-emblems{display:none}.collection-battle-card .card-heading{grid-column:1/-1;align-items:center;gap:3px;min-width:0;display:flex}.collection-battle-card .card-name{white-space:nowrap;text-overflow:ellipsis;font-size:.76rem;line-height:18px;overflow:hidden}.collection-battle-card .card-timer{flex:none;font-size:.67rem}.collection-battle-card .card-level{flex:none;margin-left:auto;font-size:.6rem}.collection-battle-card .duel-values{flex-direction:column;grid-area:2/2/4;justify-content:center;align-items:center;gap:2px;font-size:1.12rem;line-height:1.12;display:flex}.collection-battle-card .duel-values span{font-size:inherit}.collection-battle-card .health-protection{font-size:.6rem!important}.collection-battle-card .card-abilities{flex-direction:column;grid-area:2/1/4;justify-content:center;gap:1px;font-size:.64rem;display:flex;overflow:hidden}.collection-battle-card .ability-chip{white-space:nowrap;text-overflow:ellipsis;font-size:.64rem;line-height:14px;overflow:hidden}.collection-battle-card .collection-membership{white-space:nowrap;text-overflow:ellipsis;grid-area:4/1/auto/-1;font-size:.58rem;line-height:14px;overflow:hidden}.collection-battle-card .combat-fx,.collection-battle-card .card-defense{display:none}.collection-extra{border-radius:7px;margin:0;padding:5px}.collection-extra>summary{font-size:.72rem;min-height:44px!important}.collection-extra[open]>:not(summary){margin-top:6px}.collection-extra button{width:100%;min-height:44px;font-size:.75rem}.collection-grid[data-card-view=mini]{grid-template-columns:1fr;gap:4px}.collection-grid[data-card-view=mini] article{grid-template-columns:minmax(0,1fr) 76px;align-items:start;display:grid}.collection-grid[data-card-view=mini] .collection-card{justify-content:center;gap:1px;height:60px;min-height:60px;padding:5px;display:flex}.collection-grid[data-card-view=mini] .collection-card strong{white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;overflow:hidden}.collection-grid[data-card-view=mini] .collection-card span{font-size:.78rem}.collection-grid[data-card-view=mini] .collection-card small{font-size:.65rem}.collection-grid[data-card-view=mini] .collection-extra[open]{grid-column:1/-1}.collection-grid[data-card-view=mini] .collection-extra>summary{font-size:.67rem;min-height:44px!important}.deck-slots[data-card-view=battle],.deck-slots[data-card-view=mini]{grid-template-columns:repeat(3,minmax(0,1fr))!important}.deck-slots:not([data-card-view=large]) .deck-mini{min-height:60px;padding:5px}.deck-slots:not([data-card-view=large]) .creature-art{display:none}.deck-slots:not([data-card-view=large]) .deck-mini strong{font-size:.72rem}.deck-slots:not([data-card-view=large]) .deck-mini span,.deck-slots:not([data-card-view=large]) .deck-mini small{font-size:.65rem}.profile-body .deck-settings,.profile-body .selected-deck{margin:6px 0;padding:8px}.deck-settings>summary,.selected-deck>summary{font-size:.85rem;min-height:36px!important}.profile-body .mission-board>p,.profile-body .mission-board li p{font-size:.78rem}.mission-board>ul{margin:8px 0;padding-left:20px}.mission-board li{margin:5px 0}.mission-board li strong{font-size:.9rem}.mission-board li p{margin:3px 0}.mission-board progress{height:8px}.mission-board .mission-actions{flex-wrap:wrap;gap:5px;display:flex}.mission-actions button{min-height:44px;font-size:.78rem}.mission-actions [data-action=missions]{width:100%}@media (width>=700px){.profile-thumb-nav{max-width:900px}.collection-grid[data-card-view=battle]{grid-template-columns:repeat(4,minmax(0,1fr))}.collection-grid[data-card-view=mini]{grid-template-columns:repeat(2,minmax(0,1fr))}.home-destinations{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=360px){.home-destination strong{font-size:.78rem}.home-destination span{font-size:.64rem}.collection-view-switch>span{display:none}.collection-view-switch>button{flex:1}.collection-battle-card .card-name{font-size:.68rem}}.deck-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:6px 0;display:grid}.profile-body .deck-tools>details{min-width:0;margin:0;padding:4px 6px}.deck-tools>details[open]{grid-column:1/-1}.deck-tools>details>summary{font-size:.78rem;min-height:44px!important}.profile-body #deck-count{margin:0 0 8px;font-size:1rem}.profile-body #save-deck,.profile-body #deck-tester{min-height:44px;font-size:.78rem}.profile-body .event-hero>p{margin:5px 0;font-size:.78rem}.profile-body .event-hero>progress{height:8px;margin:5px 0}.profile-body .event-hero .event-clock{margin:4px 0}.profile-body .event-hero .event-eyebrow{margin-bottom:5px;font-size:.68rem}@media (height<=650px) and (width<=699px){.profile-body .home-intro{display:none}.home-destinations .home-destination{min-height:52px;padding:6px 8px!important}.home-play article{padding:8px}}.profile-menu-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 0 10px;display:grid}.profile-menu-links button{min-height:44px}.card-actions{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:4px;display:grid}.card-actions>button{min-width:0;min-height:44px;padding:5px 2px;font-size:.68rem;line-height:1.2}.card-actions>small{padding:4px;font-size:.62rem;line-height:1.25}.card-actions>small:only-child{grid-column:1/-1}.cost-dialog{border:1px solid var(--line,#66819b);width:min(94vw,720px);max-width:min(94vw,720px);max-height:88dvh;color:var(--text,#e8eef6);background:var(--surface,#142334);border-radius:14px;padding:14px;overflow:auto}.cost-dialog::backdrop{background:#000b}.cost-dialog h2{margin:0 0 12px;font-size:1.2rem}.cost-dialog h3{margin:8px 0;font-size:.9rem}.cost-dialog p,.cost-abilities{font-size:.85rem;line-height:1.4}.cost-dialog .cost-total{font-size:1rem}.cost-dialog-actions{background:var(--surface,#142334);grid-template-columns:1fr 1fr;gap:8px;padding:8px 0;display:grid;position:sticky;bottom:-14px}.cost-dialog-actions button{min-height:48px;padding:8px;font-size:.85rem}.upgrade-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.upgrade-comparison>section{min-width:0}.cost-card{isolation:isolate;border:1px solid var(--line,#6a839a);border-radius:10px;grid-template-rows:20px 30px 30px;grid-template-columns:minmax(0,1fr) 58px;gap:2px;height:96px;padding:6px;display:grid;position:relative;overflow:hidden}.cost-card .card-abilities{font-size:.68rem}.cost-abilities{padding-left:18px}.cost-card .card-heading{grid-column:1/-1}.cost-card .collection-membership{display:none}.cost-card .battle-art .creature-art{width:100%;height:100%}.collection-grid .card-actions:empty{display:none}
