.booster-reveal-layer{z-index:1000;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.booster-reveal-layer__backdrop{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#03050aeb;position:absolute;inset:0}.booster-reveal{--card-height:clamp(240px, calc(100dvh - 330px), 470px);background:radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--rarity-color) 9%, transparent), transparent 65%), #0e121a;scrollbar-width:thin;overscroll-behavior:contain;border:1px solid #343b48;border-radius:20px;gap:12px;width:min(820px,100%);max-height:calc(100dvh - 32px);padding:22px;animation:.3s ease-out both booster-arrive;display:grid;position:relative;overflow-y:auto;box-shadow:0 30px 100px #0009}.booster-reveal__header{justify-content:space-between;align-items:center;gap:12px;display:flex}.booster-reveal__eyebrow{color:#9ea9ba;letter-spacing:.16em;text-transform:uppercase;font-size:10px;font-weight:700}.booster-reveal__header h3{letter-spacing:-.025em;margin:6px 0 0;font-size:clamp(17px,3vw,23px)}.booster-reveal__header .button{flex-shrink:0;min-height:44px}.booster-reveal__carousel{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-width:0;display:grid}.booster-reveal__viewport{touch-action:pan-y;min-width:0;overflow:clip}.booster-reveal__track{height:calc(var(--card-height) + 36px);isolation:isolate;position:relative}.booster-reveal__slide{--slide-scale:.82;width:min(calc(var(--card-height) * .7), calc(100% - 88px));height:var(--card-height);perspective:1200px;min-width:0;transform:translateX(calc(-50% + var(--slide-offset) * 78%)) scale(var(--slide-scale));filter:brightness(.45);opacity:1;z-index:1;place-items:center;transition:transform .48s cubic-bezier(.22,1,.36,1),filter .48s,opacity .48s;display:grid;position:absolute;top:18px;left:50%}.booster-reveal__slide.is-active{--slide-scale:1;filter:brightness();z-index:3}.booster-reveal__slide.is-neighbor{z-index:2}.booster-reveal__slide.is-distant{opacity:0;pointer-events:none}.booster-reveal__preview-select{cursor:pointer;background:0 0;border:0;border-radius:16px;padding:0;position:absolute;inset:0}.booster-reveal__slide.is-neighbor:has(.booster-reveal__preview-select:hover){filter:brightness(.6)}.booster-reveal__card{width:100%;height:var(--card-height);isolation:isolate;position:relative}.booster-card__turn{width:100%;height:100%;transform-style:preserve-3d;transition:transform .76s cubic-bezier(.2,.7,.15,1);position:relative}.is-revealed .booster-card__turn{transform:rotateY(180deg)}.booster-card__back,.booster-card__front{border:1px solid color-mix(in srgb, var(--rarity-color) 70%, #fff2);backface-visibility:hidden;box-shadow:0 0 0 4px #ffffff05, 0 0 24px color-mix(in srgb, var(--rarity-color) 20%, transparent), 0 12px 28px #0008;border-radius:16px;position:absolute;inset:0}.booster-card__back{color:#edf2fa;background:repeating-linear-gradient(45deg, transparent 0 16px, #ffffff03 16px 17px), radial-gradient(ellipse at 50% 45%, color-mix(in srgb, var(--rarity-color) 20%, transparent), transparent 65%), #101724;cursor:pointer;flex-direction:column;justify-content:space-between;align-items:center;padding:22px 12px;display:flex;overflow:hidden}.booster-card__back:before{content:"";border:1px solid color-mix(in srgb, var(--rarity-color) 24%, transparent);pointer-events:none;border-radius:10px;position:absolute;inset:8px}.booster-card__back:after{content:"";pointer-events:none;background:linear-gradient(110deg,#0000 40%,#ffffff0e 48%,#ffffff1c 50%,#0000 58%);animation:4s ease-in-out 3 booster-sheen;position:absolute;inset:-50%;transform:translate(-80%)}.booster-card__back:hover,.booster-card__back:focus-visible{border-color:var(--rarity-color);box-shadow:0 0 34px color-mix(in srgb, var(--rarity-color) 38%, transparent)}.booster-card__back-brand,.booster-card__back-number{letter-spacing:.16em;color:#b9c4d6;font-size:9px}.booster-card__sigil{aspect-ratio:1;border:1px solid color-mix(in srgb, var(--rarity-color) 35%, transparent);width:56%;color:var(--rarity-color);text-shadow:0 0 30px var(--rarity-color);background:#ffffff03;border-radius:28%;place-items:center;margin-block:auto;font-size:clamp(48px,8vw,90px);display:grid;transform:rotate(-8deg)}.booster-card__back-prompt{margin:0 0 10px;font-size:12px}.booster-card__front{color:#fff;background:#17202c;flex-direction:column;display:flex;overflow:visible;transform:rotateY(180deg)}.booster-card__art{background:radial-gradient(ellipse at 70% 15%, color-mix(in srgb, var(--rarity-color) 70%, transparent), transparent 65%), linear-gradient(155deg, #233447, #111725 75%);border-radius:15px;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.booster-card__art img{object-fit:cover;object-position:center 35%;width:100%;height:100%}.is-revealed .booster-card__art{animation:1.2s cubic-bezier(.2,.7,.2,1) both booster-art-settle}.booster-card__monogram{color:color-mix(in srgb, var(--rarity-color) 75%, white);text-shadow:0 8px 40px #0006;align-self:start;margin-top:17%;font:900 clamp(70px,16vw,160px)/1 Georgia,serif;transform:rotate(-8deg)}.booster-card__orbit{aspect-ratio:1;border:1px solid #ffffff28;border-radius:50%;width:90%;position:absolute;top:8%;transform:rotate(-25deg)scaleX(.75);box-shadow:0 0 0 18px #ffffff03,0 0 0 40px #ffffff03}.booster-card__topline{justify-content:flex-end;align-items:start;gap:8px;padding:14px;display:flex;position:relative}.booster-card__rarity{border:1px solid color-mix(in srgb, var(--rarity-color) 45%, transparent);color:var(--rarity-color);background:#0b1022dd;border-radius:20px;padding:6px 8px;font-size:10px;font-weight:700}.booster-card__cost{z-index:4;color:#fff;background:#315d91;border:3px solid #b8dbff;border-radius:50%;place-items:center;width:44px;height:44px;font-size:20px;font-weight:950;display:grid;position:absolute;top:-12px;left:-12px;box-shadow:0 5px 16px #0000008c}.booster-card__details{scrollbar-width:thin;background:linear-gradient(#0b111ee8,#0b111e);border-top:1px solid #ffffff20;max-height:58%;margin-top:auto;padding:18px;position:relative;overflow-y:auto}.booster-card__front:not([data-card-type=spell]) .booster-card__details{padding-bottom:52px}.booster-card__type{overflow-wrap:anywhere;color:var(--rarity-color);font-size:10px;line-height:1.4}.booster-card__details h4{overflow-wrap:anywhere;margin:6px 0;font-size:clamp(17px,2.5vw,23px);line-height:1.15}.booster-card__details p{color:#d6dfed;overflow-wrap:anywhere;margin:8px 0 12px;font-size:12px;line-height:1.5}.booster-card__frame-stats{z-index:4;pointer-events:none;justify-content:space-between;align-items:flex-end;display:flex;position:absolute;bottom:-12px;left:-12px;right:-12px}.booster-card__frame-stats b{color:#fff;text-shadow:0 1px 2px #0000008c;border:3px solid #ffffffa8;border-radius:50%;place-items:center;width:48px;height:48px;font-size:23px;font-weight:950;display:grid;box-shadow:0 5px 16px #0009}.booster-card__power{background:#97642c}.booster-card__health{background:#9f3946}.booster-card__availability{color:#abb8ca;margin-top:10px;font-size:10px;display:block}.booster-card__bloom{z-index:-1;background:radial-gradient(ellipse, color-mix(in srgb, var(--rarity-color) 45%, transparent), transparent 72%);opacity:0;pointer-events:none;border-radius:24px;position:absolute;inset:-12px}.is-revealed .booster-card__bloom{animation:1s ease-out both booster-bloom}.booster-card__sparkles{pointer-events:none;position:absolute;inset:0}.booster-card__sparkles i{background:var(--rarity-color);width:4px;height:4px;box-shadow:0 0 10px var(--rarity-color);opacity:0;border-radius:50%;position:absolute;top:40%;left:50%}.is-revealed .booster-card__sparkles i{animation:booster-spark .9s calc(.24s + var(--spark-delay)) ease-out both}.booster-reveal__arrow{color:#ecf1f9;cursor:pointer;background:#182131e6;border:1px solid #414c5e;border-radius:14px;place-items:center;width:44px;height:48px;padding:0;font-size:32px;transition:background .18s,opacity .18s;display:grid}.booster-reveal__arrow:hover:not(:disabled){background:#2b384d}.booster-reveal__arrow:disabled{opacity:.25;cursor:default}.booster-reveal__caption{text-align:center;gap:5px;min-height:42px;display:grid}.booster-reveal__caption strong{font-size:14px}.booster-reveal__caption span{color:#b0bdce;font-size:11px}.booster-reveal__footer{border-top:1px solid #ffffff12;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;padding-top:8px;display:flex}.booster-reveal__pagination{align-items:center;gap:12px;display:flex}.booster-reveal__pagination>strong{color:#b0bdce;font-variant-numeric:tabular-nums;font-size:12px}.booster-reveal__dots{gap:2px;display:flex}.booster-reveal__dots button{cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:36px;padding:0;display:grid}.booster-reveal__dots span{border:1px solid #8996a9;border-radius:50%;width:7px;height:7px;transition:transform .18s}.booster-reveal__dots .is-revealed span{background:var(--rarity-color);border-color:var(--rarity-color)}.booster-reveal__dots .is-active span{border-color:#fff;transform:scale(1.4);box-shadow:0 0 0 3px #ffffff12}.booster-reveal__footer .button{min-height:40px}.booster-reveal__footer>small{color:#8e9aae;text-align:center;flex-basis:100%;font-size:10px}@keyframes booster-arrive{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:none}}@keyframes booster-sheen{0%,30%{transform:translate(-80%)}65%,to{transform:translate(80%)}}@keyframes booster-bloom{0%{opacity:0;transform:scale(.7)}35%{opacity:1}to{opacity:.35;transform:scale(1.15)}}@keyframes booster-spark{0%{opacity:1;transform:translate(0)scale(1.6)}to{opacity:0;transform:translate(var(--spark-x), var(--spark-y)) scale(0)}}@keyframes booster-art-settle{0%{transform:scale(1.12)}to{transform:scale(1)}}@media (width<=600px){.booster-reveal-layer{padding:10px}.booster-reveal{--card-height:clamp(225px, calc(100dvh - 280px), 470px);border-radius:16px;gap:8px;max-height:calc(100dvh - 20px);padding:12px}.booster-reveal__header{align-items:start}.booster-reveal__header h3{max-width:210px;font-size:17px}.booster-reveal__header .button{min-height:36px;padding-inline:8px;font-size:11px}.booster-reveal__carousel{display:block;position:relative}.booster-reveal__arrow{z-index:2;width:36px;position:absolute;top:calc(50% - 24px)}.booster-reveal__arrow:first-child{left:0}.booster-reveal__arrow:last-child{right:0}.booster-card__topline{padding:10px}.booster-card__details{padding:12px}.booster-reveal__pagination{gap:6px}.booster-reveal__dots button{width:24px}.booster-reveal__footer .button{padding-inline:8px;font-size:11px}}@media (height<=520px) and (width>=601px){.booster-reveal{--card-height:265px;grid-template-columns:minmax(0,1.3fr) minmax(230px,1fr);gap:8px 22px;padding:14px 20px}.booster-reveal__header{grid-area:1/2}.booster-reveal__header h3{font-size:18px}.booster-reveal__carousel{grid-area:1/1/4}.booster-reveal__caption{text-align:left;grid-area:2/2;align-content:center}.booster-reveal__footer{grid-area:3/2;align-self:end}.booster-card__details{padding:10px}.booster-card__details h4{font-size:17px}}@media (height<=650px){.booster-card__details{padding:10px;line-height:1.35}.booster-card__details h4{margin:4px 0;font-size:16px}.booster-card__details p{margin:6px 0 8px;font-size:11px;line-height:1.35}.booster-card__frame-stats b{border-width:2px;width:42px;height:42px;font-size:20px}}@media (prefers-reduced-motion:reduce){.booster-reveal,.booster-reveal .booster-card__back:after,.booster-reveal .booster-card__art,.booster-reveal .booster-card__bloom,.booster-reveal .booster-card__sparkles i{animation:none}.booster-reveal *{transition-property:none}}:root{color:#f7f4ed;font-synthesis:none;text-rendering:optimizelegibility;background:#090b0f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}button{font:inherit}img{-webkit-user-drag:none;pointer-events:none;-webkit-user-select:none;user-select:none}button:focus-visible{outline-offset:3px;outline:3px solid #ffe084}html,body,#root{min-width:min(320px,100%);min-height:100%;margin:0}body{background:radial-gradient(circle at 16% 0,#ff685224,#0000 34rem),radial-gradient(circle at 84% 18%,#44e2b51f,#0000 38rem),#090b0f;min-height:100vh}body.match-viewport,body.match-viewport #root{overscroll-behavior:none;height:100dvh;min-height:0;overflow:hidden}.app-shell{width:min(1480px,100%);min-height:100vh;margin:0 auto;padding:24px}.topbar{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px;display:flex}.eyebrow,.turn-kicker{color:#c8ad61;letter-spacing:.16em;text-transform:uppercase;margin:0 0 6px;font-size:11px;font-weight:800}h1{letter-spacing:-.04em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(28px,4vw,46px);font-weight:500;line-height:1}.status-group{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.status,.engine-version{color:#a6a8ad;background:#0f1116d1;border:1px solid #30343d;border-radius:999px;align-items:center;gap:7px;min-height:30px;padding:0 11px;font-size:12px;display:inline-flex}.status__dot{background:#666a72;border-radius:50%;width:7px;height:7px}.status--online .status__dot{background:#45dfb2;box-shadow:0 0 10px #45dfb2b3}.game-loading{color:#a6a8ad;background:#111319;border:1px solid #2b2e35;border-radius:22px;place-items:center;min-height:68vh;display:grid}.game-loading__spinner{border:2px solid #353942;border-top-color:#ffe084;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.match{background:linear-gradient(90deg,#0000 49.8%,#ffffff08 50%,#0000 50.2%),linear-gradient(#171a20,#0f1116);border:1px solid #30343d;border-radius:24px;width:min(1320px,100%);margin:0 auto;padding:clamp(14px,2vw,26px);position:relative;overflow:hidden;box-shadow:0 32px 90px #00000073}.match:before{content:"";pointer-events:none;background-image:radial-gradient(#ffffff0f .7px,#0000 .7px);background-size:8px 8px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#0000,#000 25% 75%,#0000);mask-image:linear-gradient(#0000,#000 25% 75%,#0000)}.match__meta,.player-hud,.hand,.battlefield,.error-banner,.victory-banner{z-index:1;position:relative}.match__meta{justify-content:space-between;align-items:center;gap:20px;padding-bottom:18px;display:flex}.match__meta>div:first-child{gap:2px;display:grid}.match__meta strong{font-family:Georgia,Times New Roman,serif;font-size:23px;font-weight:500}.hot-seat-note{color:#8e929b;font-size:12px}.match__controls{flex-wrap:wrap;justify-content:flex-end;gap:9px;display:flex}.button{color:#d9d9d5;cursor:pointer;background:#1b1e24;border:1px solid #3b3f48;border-radius:10px;min-height:39px;padding:0 15px;font-size:13px;font-weight:700}.button:hover:not(:disabled){border-color:#656b76;transform:translateY(-1px)}.button--primary{color:#211b09;background:#f1cf67;border-color:#d8b54f}.button--danger{color:#fff1f1;background:#8f303a;border-color:#b94f59}.button--danger:hover:not(:disabled){background:#a93b46;border-color:#e77881}.button:disabled,.board-slot button:disabled,.creature button:disabled,.game-card:disabled{cursor:not-allowed;opacity:.45}.error-banner{color:#ffd8d8;cursor:pointer;text-align:left;background:#3c1c21;border:1px solid #923f46;border-radius:10px;justify-content:space-between;align-items:center;width:100%;margin:0 0 12px;padding:10px 14px;display:flex}.error-banner span{color:#e9a6a9;text-transform:uppercase;font-size:11px}.victory-banner{text-align:center;background:linear-gradient(110deg,#322a13,#191813);border:1px solid #d8b54f;border-radius:14px;gap:6px;width:min(430px,100%);margin:0;padding:18px;display:grid}.victory-modal{z-index:640;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#050608c7;place-items:center;padding:16px;display:grid;position:absolute;inset:0}.victory-banner span{color:#d4bd7d;letter-spacing:.14em;text-transform:uppercase;font-size:11px;font-weight:800}.victory-banner strong{margin-top:3px;font-family:Georgia,Times New Roman,serif;font-size:28px;font-weight:500}.victory-banner p{color:#aaa69b;margin:4px 0 0;font-size:13px}.victory-banner .button{justify-self:center;min-width:140px;margin-top:8px}.concede-confirmation{z-index:650;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#050608c7;place-items:center;padding:16px;display:grid;position:absolute;inset:0}.concede-confirmation__dialog{background:#171a20;border:1px solid #4b4f58;border-radius:10px;gap:8px;width:min(420px,100%);padding:22px;display:grid;box-shadow:0 20px 54px #0000008c}.concede-confirmation__dialog h2{margin:0;font-size:24px}.concede-confirmation__dialog p{color:#a5a8ae;margin:0 0 8px;font-size:13px;line-height:1.45}.concede-confirmation__dialog>div{justify-content:flex-end;gap:8px;display:flex}.player-hud{background:#121419eb;border:1px solid #32363f;border-radius:14px;grid-template-columns:100px minmax(120px,1fr) minmax(180px,1.4fr) repeat(3,minmax(64px,auto));align-items:center;gap:12px;padding:12px 14px;transition:border-color .16s,box-shadow .16s;display:grid}.leader-card{aspect-ratio:5/7;color:#28200d;background:linear-gradient(145deg,#f1df9a,#a98a39);border:1px solid #c3a94f;border-radius:7px;grid-template-rows:auto 1fr auto auto;gap:3px;width:90px;padding:5px;display:grid;position:relative;box-shadow:0 5px 13px #00000052}.leader-card.is-hit{z-index:5;animation:.62s ease-out leader-combat-hit}.leader-card.is-hit:after,.creature.is-hit:after{z-index:75;color:#fff0b0;content:"✦";pointer-events:none;text-shadow:0 0 7px #fff,0 0 20px #ff643f,0 0 38px #ff2e22;font-size:58px;line-height:1;animation:.62s ease-out both combat-impact;position:absolute;top:50%;left:50%}.leader-card__type{letter-spacing:.12em;text-align:center;text-transform:uppercase;font-size:8px;font-weight:900}.leader-card__art{color:#211c0ebd;background:radial-gradient(circle at 66% 28%,#fff4a2,#0000 20%),linear-gradient(145deg,#db9d60,#8fba88);border-radius:4px;place-items:center;height:53px;min-height:53px;font:900 22px/1 Georgia,serif;display:grid;overflow:hidden}.leader-card__art img,.game-card__art img,.creature__art img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.leader-card>strong{text-align:center;text-overflow:ellipsis;white-space:nowrap;font-family:Georgia,Times New Roman,serif;font-size:10px;line-height:1;overflow:hidden}.leader-card>small{text-align:center;font-size:7px;line-height:1.2}.leader-card__health{color:#fff;background:#a9363d;border:2px solid #ffc4c7;border-radius:50%;place-items:center;min-width:27px;height:27px;padding:0 4px;font-size:9px;font-weight:900;display:grid;position:absolute;bottom:-6px;right:-6px;box-shadow:0 2px 7px #0006}.player-hud--coral.is-active{border-color:#e46f63;box-shadow:inset 4px 0 #e46f63}.player-hud--mint.is-active{border-color:#4ad8ad;box-shadow:inset 4px 0 #4ad8ad}.leader-token{color:#111318;background:#e8e1d1;border:1px solid #555a64;border-radius:50%;place-items:center;width:42px;height:42px;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:800;display:grid}.player-hud--coral .leader-token{background:#e9897f}.player-hud--mint .leader-token{background:#65d9b6}.player-hud__identity,.leader-health,.stat-pill{gap:2px;display:grid}.player-hud__identity span,.leader-health span,.stat-pill span{color:#838791;letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:700}.player-hud__identity strong{font-size:15px}.leader-health strong{font-size:13px}.health-track{background:#33363e;border-radius:999px;height:4px;margin-top:4px;overflow:hidden}.health-track i{border-radius:inherit;background:#e56e68;height:100%;transition:width .22s;display:block}.player-hud--mint .health-track i{background:#48d2a8}.stat-pill{border-left:1px solid #343840;min-width:64px;padding:7px 9px}.stat-pill strong{font-size:16px}.stat-pill--button{color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-left:1px solid #343840}.stat-pill--button:hover{color:#f1cf67;background:#ffffff0a}.stat-pill--button small{color:#777c86;letter-spacing:.08em;text-transform:uppercase;font-size:8px;font-weight:800}.player-hud__piles{display:contents}.hand{grid-template-columns:145px 1fr;align-items:center;gap:12px;min-height:152px;padding:10px 4px;display:grid}.hand__label{gap:3px;display:grid}.hand__label span{letter-spacing:.08em;text-transform:uppercase;font-size:13px;font-weight:800}.hand__label small{color:#777b84;font-size:11px;line-height:1.35}.hand.is-active .hand__label span{color:#f0d06f}.hand__cards{scrollbar-color:#444954 transparent;gap:8px;padding:5px 4px 8px;display:flex;overflow-x:auto}.empty-hand{color:#737780;border:1px dashed #30343c;border-radius:10px;flex:1;place-items:center;min-height:96px;font-size:12px;display:grid}.game-card{color:#242016;cursor:pointer;text-align:left;background:linear-gradient(145deg,#ede4c9,#cfc3a3);border:1px solid #5c5749;border-radius:9px;grid-template-rows:72px auto 1fr auto;gap:2px;width:132px;min-width:132px;height:185px;min-height:185px;padding:7px;transition:border-color .15s,transform .15s,box-shadow .15s;display:grid;position:relative;overflow:visible;box-shadow:0 6px 14px #00000047}.game-card--static{cursor:default}.game-card:hover:not(:disabled),.game-card.is-selected{border-color:#ffe47f;transform:translateY(-5px);box-shadow:0 0 0 2px #d9b849,0 9px 22px #0000006b}.game-card__cost,.creature__cost{z-index:1;color:#fff;background:#315d91;border:2px solid #b8dbff;border-radius:50%;place-items:center;width:27px;height:27px;font-weight:900;display:grid;position:absolute;top:-6px;left:-6px;box-shadow:0 2px 7px #0006}.game-card__art{color:#2a2314;background:radial-gradient(circle at 72% 28%,#f8ec90,#0000 18%),linear-gradient(145deg,#90c7a2,#d1b66b);border-radius:5px;place-items:center;height:72px;display:grid;overflow:hidden}.game-card__art span{color:#ffffff73;font-size:44px;position:absolute;transform:rotate(-18deg)}.game-card__art b{letter-spacing:.15em;font:900 13px/1 system-ui,sans-serif;position:relative}.game-card>strong{color:#fff6cf;letter-spacing:.025em;text-align:center;text-overflow:ellipsis;white-space:nowrap;background:linear-gradient(135deg,#62502c,#3f3523);border:1px solid #493d233d;border-radius:5px;padding:4px 5px;font-family:Impact,Arial Narrow,system-ui,sans-serif;font-size:14px;font-weight:900;line-height:1.05;overflow:hidden}.game-card--leader>strong{color:#fff5c6;background:linear-gradient(135deg,#8a681e,#513a10);border-color:#ffe18557}.game-card--spell>strong{color:#f3edff;background:linear-gradient(135deg,#684d9d,#352651);border-color:#cab5ff5c}.game-card--object>strong,.game-card--artifact>strong{color:#edf9fb;background:linear-gradient(135deg,#4f737b,#293f45);border-color:#bedee552}.game-card>small{text-align:center;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:10px;line-height:1.3;display:-webkit-box;overflow:hidden}.game-card__stats{justify-content:space-between;font-size:13px;display:flex}.battlefield{border-top:1px solid #2b2e35;border-bottom:1px solid #2b2e35;grid-template-columns:repeat(3,minmax(200px,1fr));gap:clamp(8px,1.4vw,18px);width:min(980px,100%);margin-inline:auto;padding:14px 0;display:grid}.lane{background:#090b0f85;border:1px solid #2f333b;border-radius:14px;grid-template-rows:minmax(230px,auto) 32px minmax(230px,auto);min-width:0;display:grid;position:relative}.lane__marker{color:#6f737c;letter-spacing:.12em;text-transform:uppercase;align-items:center;gap:10px;padding:0 10px;font-size:9px;font-weight:800;display:flex}.lane__marker i{background:#343840;flex:1;height:1px}.board-position{place-items:center;min-width:0;min-height:230px;display:grid;position:relative}.board-position.is-position-action{cursor:pointer}.board-position.is-position-action:hover,.board-position.is-position-action:focus-visible{background:#3a341f3d;box-shadow:inset 0 0 0 1px #8f7b3b}.board-position.is-position-action:focus-visible{outline-offset:-4px;outline:2px solid #ffe084}.battlefield.is-choosing-target .board-position:not(.is-ability-target,.is-ability-source){opacity:.36}.board-position.is-ability-source:after{z-index:82;content:"";pointer-events:none;border:2px solid #76bfff;border-radius:13px;position:absolute;inset:5px;box-shadow:inset 0 0 18px #52a7ec2e,0 0 20px #52a7ec47}.ability-target-button{z-index:90;color:#fff4be;cursor:pointer;pointer-events:none;text-shadow:0 2px 5px #000;background:linear-gradient(#0000 48%,#1e190ae0);border:2px solid #f0d260;border-radius:13px;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;padding:16px 10px;animation:1.25s ease-in-out infinite alternate ability-target-pulse;display:flex;position:absolute;inset:5px;box-shadow:inset 0 0 28px #e9c4482e,0 0 22px #e9c4485c}.ability-target-button:hover:not(:disabled),.ability-target-button:focus-visible{background:linear-gradient(#0000 35%,#45370df0);border-color:#fff0a5;outline:none}.ability-target-button:disabled{cursor:wait;opacity:.65}.ability-target-button>span{letter-spacing:.12em;text-transform:uppercase;font-size:8px;font-weight:900}.ability-target-button>strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;overflow:hidden}@keyframes ability-target-pulse{to{filter:brightness(1.22);box-shadow:inset 0 0 0 2px #ffeca6a6,0 0 25px #ecc44db3}}.board-slot{aspect-ratio:5/7;color:#777c86;text-align:center;background:#1d202773;border:1px dashed #3d424c;border-radius:10px;align-content:center;place-self:center;justify-items:center;gap:5px;width:154px;margin:10px;padding:12px;display:grid}.board-slot>span{font-size:22px}.board-slot>strong{letter-spacing:.06em;text-transform:uppercase;font-size:12px}.board-slot>small{color:#8e939c;font-size:10px;line-height:1.3}.board-slot button,.creature button{color:#d7d9dc;cursor:pointer;background:#242831;border:1px solid #4b505b;border-radius:7px;min-height:29px;padding:0 9px;font-size:11px;font-weight:800}.board-slot--open button:not(:disabled),.creature button:not(:disabled){color:#201b0b;background:#e8c65d;border-color:#c7a844}.board-slot--locked{opacity:.68}.creature{aspect-ratio:5/7;color:#262116;background:linear-gradient(145deg,#e9dfbf,#bcad83);border:1px solid #ae9f70;border-radius:10px;grid-template-rows:auto auto minmax(28px,auto) auto auto;grid-template-columns:1fr;align-content:start;place-self:center;gap:5px 8px;width:154px;margin:8px;padding:10px;display:grid;position:relative;box-shadow:0 8px 18px #00000052}.creature.is-attacking-up,.creature.is-attacking-down{z-index:60;will-change:transform, filter}.creature.is-attacking-up{animation:.72s cubic-bezier(.2,.8,.25,1) creature-attack-up}.creature.is-attacking-down{animation:.72s cubic-bezier(.2,.8,.25,1) creature-attack-down}.creature.is-hit{z-index:50;animation:.62s ease-out creature-combat-hit}.death-animation{--death-delay:.1s;z-index:65;aspect-ratio:5/7;pointer-events:none;width:154px;position:absolute}.death-animation--attacker-up,.death-animation--attacker-down{--death-delay:.44s;will-change:transform}.death-animation--attacker-up{animation:.72s cubic-bezier(.2,.8,.25,1) both defeated-attacker-up}.death-animation--attacker-down{animation:.72s cubic-bezier(.2,.8,.25,1) both defeated-attacker-down}.death-animation__card{color:#262116;transform-origin:50% 72%;animation:creature-death 1.15s var(--death-delay) ease-in both;background:linear-gradient(145deg,#e9dfbf,#bcad83);border:1px solid #ae9f70;border-radius:10px;grid-template-rows:1fr auto auto;gap:6px;padding:10px;display:grid;position:absolute;inset:0;overflow:hidden;box-shadow:0 8px 18px #00000052}.death-animation__cost{z-index:2;color:#fff;background:#315d91;border:2px solid #b8dbff;border-radius:50%;place-items:center;width:27px;height:27px;font-weight:900;display:grid;position:absolute;top:-1px;left:-1px}.death-animation__art{color:#1e241fa6;background:radial-gradient(circle at 60% 35%,#f4e78e,#0000 20%),linear-gradient(135deg,#81b896,#cfad5e);border-radius:6px;place-items:center;min-height:120px;font:900 34px/1 Georgia,serif;display:grid;overflow:hidden}.death-animation__art img{object-fit:cover;width:100%;height:100%;display:block}.death-animation__card>strong{text-overflow:ellipsis;white-space:nowrap;font-family:Georgia,Times New Roman,serif;font-size:14px;overflow:hidden}.death-animation__stats{justify-content:space-between;font-size:14px;display:flex}.death-animation__crack{z-index:3;opacity:0;filter:drop-shadow(0 0 5px #ff3d36);animation:death-crack .82s calc(var(--death-delay) + 80ms) ease-out both;background:linear-gradient(113deg,#0000 47%,#fff 48% 49%,#0000 50%),linear-gradient(68deg,#0000 52%,#ff625d 53% 54%,#0000 55%);position:absolute;inset:-20%}.death-animation__burst{z-index:5;color:#ff7065;text-shadow:0 0 32px #ff2d24;animation:death-burst .72s calc(var(--death-delay) + .1s) ease-out both;font-size:78px;line-height:1;position:absolute;top:50%;left:50%}.death-animation__particles,.death-animation__particles i{z-index:4;position:absolute;top:50%;left:50%}.death-animation__particles i{--particle-delay:0s;--particle-x:-55px;--particle-y:-70px;width:9px;height:9px;animation:death-particle .76s calc(var(--death-delay) + .15s + var(--particle-delay)) ease-out both;background:#ff7668;border-radius:2px;box-shadow:0 0 10px #ff3d32}.death-animation__particles i:nth-child(2){--particle-delay:35ms;--particle-x:62px;--particle-y:-58px}.death-animation__particles i:nth-child(3){--particle-delay:80ms;--particle-x:-72px;--particle-y:8px}.death-animation__particles i:nth-child(4){--particle-delay:20ms;--particle-x:74px;--particle-y:18px}.death-animation__particles i:nth-child(5){--particle-delay:95ms;--particle-x:-38px;--particle-y:74px}.death-animation__particles i:nth-child(6){--particle-delay:55ms;--particle-x:42px;--particle-y:82px}@keyframes creature-attack-up{0%,to{filter:brightness();transform:translateY(0)rotate(0)scale(1)}18%{transform:translateY(12px)rotate(1.5deg)scale(.98)}48%{filter:brightness(1.3);transform:translateY(-82px)rotate(-2deg)scale(1.06)}62%{transform:translateY(-65px)rotate(1deg)scale(1.03)}}@keyframes creature-attack-down{0%,to{filter:brightness();transform:translateY(0)rotate(0)scale(1)}18%{transform:translateY(-12px)rotate(-1.5deg)scale(.98)}48%{filter:brightness(1.3);transform:translateY(82px)rotate(2deg)scale(1.06)}62%{transform:translateY(65px)rotate(-1deg)scale(1.03)}}@keyframes creature-combat-hit{0%,to{filter:brightness();transform:translate(0)rotate(0)}16%{filter:brightness(1.9)saturate(1.5);transform:translate(-9px,2px)rotate(-2deg)}32%{transform:translate(8px,-1px)rotate(2deg)}48%{transform:translate(-5px,1px)rotate(-1deg)}64%{transform:translate(3px)rotate(.5deg)}}@keyframes leader-combat-hit{0%,to{filter:brightness();transform:translate(0)rotate(0)}20%{filter:brightness(1.8)saturate(1.5);transform:translate(-7px)rotate(-3deg)scale(1.04)}40%{transform:translate(6px)rotate(2deg)}60%{transform:translate(-3px)rotate(-1deg)}}@keyframes combat-impact{0%{opacity:0;transform:translate(-50%,-50%)rotate(-24deg)scale(.15)}24%{opacity:1;transform:translate(-50%,-50%)rotate(8deg)scale(1.25)}to{opacity:0;transform:translate(-50%,-50%)rotate(38deg)scale(2.2)}}@keyframes defeated-attacker-up{0%,to{transform:translateY(0)rotate(0)scale(1)}18%{transform:translateY(12px)rotate(1.5deg)scale(.98)}48%{transform:translateY(-82px)rotate(-2deg)scale(1.06)}62%{transform:translateY(-65px)rotate(1deg)scale(1.03)}}@keyframes defeated-attacker-down{0%,to{transform:translateY(0)rotate(0)scale(1)}18%{transform:translateY(-12px)rotate(-1.5deg)scale(.98)}48%{transform:translateY(82px)rotate(2deg)scale(1.06)}62%{transform:translateY(65px)rotate(-1deg)scale(1.03)}}@keyframes creature-death{0%,16%{opacity:1;clip-path:inset(0);filter:brightness();transform:translate(0)rotate(0)scale(1)}30%{opacity:1;filter:brightness(2.1)saturate(2);transform:translate(-4px,1px)rotate(-1.5deg)scale(1.03)}44%{filter:grayscale(.7)brightness(.85);transform:translate(4px,-1px)rotate(1.5deg)scale(.99)}68%{opacity:.82;clip-path:inset(0 0 18%);filter:grayscale()brightness(.58);transform:translateY(6px)rotate(-2deg)scale(.92)}to{opacity:0;clip-path:inset(0 0 82%);filter:grayscale()brightness(.25)blur(3px);transform:translateY(28px)rotate(7deg)scale(.62)}}@keyframes death-crack{0%,15%{opacity:0;transform:scale(.6)}28%,60%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.2)}}@keyframes death-burst{0%{opacity:0;transform:translate(-50%,-50%)rotate(-20deg)scale(.1)}28%{opacity:1;transform:translate(-50%,-50%)rotate(8deg)scale(1.2)}to{opacity:0;transform:translate(-50%,-50%)rotate(38deg)scale(2.4)}}@keyframes death-particle{0%{opacity:0;transform:translate(-50%,-50%)rotate(0)scale(.2)}20%{opacity:1}to{opacity:0;transform:translate(calc(-50% + var(--particle-x)), calc(-50% + var(--particle-y))) rotate(150deg) scale(.7)}}.mulligan-panel{z-index:1;background:radial-gradient(circle at 50% 42%,#e3bf531a,#0000 42%);border-top:1px solid #2b2e35;border-bottom:1px solid #2b2e35;align-content:center;gap:18px;min-height:490px;padding:clamp(24px,4vw,48px) 18px;display:grid;position:relative}.mulligan-panel>header{justify-content:space-between;align-items:end;gap:24px;width:min(780px,100%);margin:0 auto;display:flex}.mulligan-panel h2,.modal h2{margin:0;font-family:Georgia,Times New Roman,serif;font-size:28px;font-weight:500}.mulligan-panel header p{color:#92969f;max-width:580px;margin:7px 0 0;font-size:12px;line-height:1.55}.mulligan-summary{background:#15181e;border:1px solid #343840;border-radius:12px;gap:5px;padding:7px;display:flex}.mulligan-warning{color:#e8cd82;text-align:center;background:#302714;border:1px solid #8d7136;border-radius:9px;width:min(780px,100%);margin:-5px auto 0;padding:9px 12px;font-size:12px}.mulligan-cards{flex-wrap:wrap;justify-content:center;gap:14px;display:flex}.mulligan-option{background:#0c0e12a3;border:1px solid #0000;border-radius:12px;justify-items:stretch;gap:6px;padding:8px;display:grid;position:relative}.mulligan-option.is-discarding{background:#551c2261;border-color:#d35c65;box-shadow:0 0 24px #d35c6529}.mulligan-option .game-card{width:132px;min-width:132px}.mulligan-option>button{color:#e0e2e5;cursor:pointer;background:#292d35;border:1px solid #535965;border-radius:7px;min-height:30px;font-size:10px;font-weight:800}.mulligan-option>button:hover:not(:disabled){color:#211b09;background:#e7c760;border-color:#d5b753}.mulligan-option>button:disabled{cursor:not-allowed;opacity:.45}.mulligan-option .mulligan-option__discard[aria-pressed=true]{color:#ffe1e2;background:#81333a;border-color:#d35c65}.mulligan-confirm{justify-self:center;min-width:260px}.modal-layer{z-index:100;justify-items:end;display:grid;position:fixed;inset:0}.modal-backdrop{cursor:default;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000a8;border:0;width:100%;height:100%;position:absolute;inset:0}.modal{background:#14171d;border:1px solid #414650;border-radius:18px;width:min(560px,100% - 24px);height:calc(100% - 24px);margin:12px;padding:22px;animation:.18s ease-out both modal-enter;position:relative;overflow-y:auto;box-shadow:-24px 0 70px #00000070}@keyframes modal-enter{0%{opacity:0;transform:translate(24px)}}.modal>header{border-bottom:1px solid #30343c;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding-bottom:15px;display:flex}.modal__close{color:#d6d8dc;cursor:pointer;background:#24272e;border:1px solid #444953;border-radius:8px;min-height:34px;padding:0 12px;font-size:11px;font-weight:800}.modal-copy{color:#8c9099;margin:0 0 16px;font-size:12px;line-height:1.5}.pile-grid{grid-template-columns:repeat(auto-fill,132px);justify-content:start;align-items:start;gap:12px;display:grid}.pile-grid .game-card{width:132px;min-width:132px}.empty-pile{color:#777c86;border:1px dashed #393e47;border-radius:12px;grid-column:1/-1;place-items:center;min-height:220px;font-size:13px;display:grid}.journal-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.journal-list li{border-bottom:1px solid #292d34;grid-template-columns:34px 1fr;gap:10px;padding:11px 0;display:grid}.journal-list li>span{color:#c5a94f;font-size:10px;font-weight:800}.journal-list p{color:#c7c9cc;margin:0;font-size:12px;line-height:1.45}.burn-effect{z-index:200;color:#fff0dc;filter:drop-shadow(0 15px 32px #000000a6);pointer-events:none;text-align:center;justify-items:center;gap:5px;animation:3.2s both burn-notice;display:grid;position:fixed;top:50%;left:50%}.burn-effect__card{position:relative}.burn-effect__card .game-card{width:132px;min-width:132px;animation:2.3s ease-in .35s both card-burn}.burn-effect__flame{color:#ff943d;text-shadow:0 -12px 20px #ffcf55,0 5px 18px #e33c23;font-size:58px;animation:1.6s ease-out .25s both flame-rise;position:absolute;bottom:-4px;right:-18px}.burn-effect>strong{font-family:Georgia,Times New Roman,serif;font-size:20px}.burn-effect>span{color:#efba86;font-size:11px}@keyframes burn-notice{0%{opacity:0;transform:translate(-50%,-44%)scale(.9)}12%,72%{opacity:1;transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-58%)scale(.96)}}@keyframes card-burn{0%,28%{opacity:1;filter:sepia(0);transform:rotate(0)}68%{opacity:.72;filter:sepia()saturate(3)brightness(.72);transform:rotate(-4deg)scale(.96)}to{opacity:0;filter:sepia()saturate(4)brightness(.25);transform:translateY(-28px)rotate(7deg)scale(.72)}}@keyframes flame-rise{0%{opacity:0;transform:translateY(18px)scale(.5)}35%{opacity:1}to{opacity:0;transform:translateY(-70px)scale(1.35)rotate(9deg)}}:where(.creature.is-exhausted)>.creature__art{filter:saturate(.58)brightness(.7)}.creature__art{color:#1e241fa6;background:radial-gradient(circle at 60% 35%,#f4e78e,#0000 20%),linear-gradient(135deg,#81b896,#cfad5e);border-radius:6px;grid-column:1/-1;place-items:center;height:95px;min-height:95px;font:900 34px/1 Georgia,serif;display:grid;overflow:hidden}.creature__art img{border-radius:6px}.creature>strong{grid-column:1/-1;align-self:center;font-family:Georgia,Times New Roman,serif;font-size:14px}.creature__ability{text-align:center;-webkit-line-clamp:2;-webkit-box-orient:vertical;grid-column:1/-1;font-size:8px;line-height:1.25;display:-webkit-box;overflow:hidden}.creature__stats{grid-column:1/-1;justify-content:space-between;align-items:center;gap:8px;font-size:14px;font-weight:900;display:flex}.creature__actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.creature[role=button]{cursor:pointer}.creature.is-actions-open{z-index:90}@media (width>=901px){.app-shell--match .creature__actions{z-index:95;background:#12151af7;border:1px solid #756230;border-radius:7px;grid-template-columns:1fr;gap:3px;width:98px;padding:4px;position:absolute;top:50%;left:calc(100% + 5px);transform:translateY(-50%);box-shadow:0 7px 20px #0000007a}.app-shell--match .creature__actions--left{left:auto;right:calc(100% + 5px)}.app-shell--match .creature__actions button{min-height:25px;padding:3px;font-size:8px;line-height:1.1}}@media (width<=900px){.app-shell--match .creature__actions{z-index:150;right:8px;bottom:calc(76px + env(safe-area-inset-bottom));background:#12151afa;border:1px solid #756230;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:auto;padding:6px;position:fixed;left:8px;box-shadow:0 10px 26px #0000008c}.app-shell--match .creature__actions button{min-height:30px;padding:4px;font-size:9px;line-height:1.15}}.creature__actions button:only-child{grid-column:1/-1}.creature__actions button{min-width:0;padding-inline:5px;font-size:9px}.stat-value--positive{color:#15733a;text-shadow:0 0 8px #2ccf632e}.stat-value--negative{color:#a51f2a;text-shadow:0 0 8px #dc2a342e}.game-card__cost.stat-value--positive,.creature__cost.stat-value--positive,.death-animation__cost.stat-value--positive{color:#91f3aa;text-shadow:0 0 7px #5aff858c;background:#17613a;border-color:#a5f4b6}.game-card__cost.stat-value--negative,.creature__cost.stat-value--negative,.death-animation__cost.stat-value--negative{color:#ff9a94;text-shadow:0 0 7px #ff4f4a8c;background:#752c35;border-color:#ffc0bd}.leader-card__health.stat-value--positive{color:#9af2ac;text-shadow:0 0 7px #58ff7f7a;background:#25683e;border-color:#b5f7c2}.leader-card__health.stat-value--negative{color:#ff8d88;text-shadow:0 0 7px #ff3a3499;background:#4d171d;border-color:#ffaaa6}.leader-health .stat-value--positive{color:#74e69a}.leader-health .stat-value--negative{color:#ff7771}.game-card__cost,.creature__cost,.death-animation__cost,.game-card__stats b,.creature__stats span,.death-animation__stats b,.leader-card__health,.leader-health strong{transition:color .18s,border-color .18s,background-color .18s,text-shadow .18s}.card-effect{--effect-color:#f6d36c;z-index:70;border:2px solid var(--effect-color);border-radius:inherit;color:var(--effect-color);background:radial-gradient(circle, color-mix(in srgb, var(--effect-color) 32%, transparent), transparent 64%);box-shadow:0 0 18px var(--effect-color), inset 0 0 22px color-mix(in srgb, var(--effect-color) 38%, transparent);pointer-events:none;place-items:center;animation:1.45s ease-out both card-effect-shell;display:grid;position:absolute;inset:-7px;overflow:hidden}.card-effect:before,.card-effect:after{content:"";border:2px solid;width:28px;height:28px;animation:1.15s ease-out both card-effect-particle;position:absolute;transform:rotate(45deg)}.card-effect:after{animation-delay:90ms;transform:rotate(15deg)scale(.7)}.card-effect>i{text-shadow:0 0 18px;font-size:46px;font-style:normal;line-height:1;animation:1.2s ease-out both card-effect-icon}.card-effect>b{color:#fff;letter-spacing:.05em;text-transform:uppercase;background:#0a0c10d6;border:1px solid;border-radius:999px;padding:4px 8px;font-size:10px;position:absolute;bottom:14px;box-shadow:0 3px 12px #00000073}.card-effect--compact>i{font-size:30px}.card-effect--compact>b{font-size:7px;bottom:8px;right:-12px}.card-effect--damage{--effect-color:#ff665e}.card-effect--heal,.card-effect--buff{--effect-color:#74e69a}.card-effect--debuff{--effect-color:#c27aeb}.card-effect--summon,.card-effect--draw,.card-effect--move{--effect-color:#6fc9ff}.card-effect--mana{--effect-color:#7ba9ff}.ability-effect-feed{z-index:90;pointer-events:none;gap:6px;width:min(460px,100% - 32px);display:grid;position:absolute;top:47%;left:50%;transform:translate(-50%,-50%)}.ability-effect-feed>div{color:#f5f2e7;animation:ability-feed 2.35s calc(var(--effect-index,0) * 90ms) ease-out both;background:#0f1217f0;border:1px solid #c9aa51;border-radius:10px;grid-template-columns:32px 1fr;align-items:center;gap:9px;padding:8px 12px;display:grid;box-shadow:0 10px 30px #00000085}.ability-effect-feed i{color:#f2d36f;border:1px solid #c9aa51;border-radius:50%;place-items:center;width:29px;height:29px;font-size:17px;font-style:normal;display:grid}.ability-effect-feed span{font-size:10px;line-height:1.35}@keyframes card-effect-shell{0%{opacity:0;filter:brightness(1.8);transform:scale(.72)}18%{opacity:1;transform:scale(1.06)}70%{opacity:.92}to{opacity:0;filter:brightness();transform:scale(1.12)}}@keyframes card-effect-icon{0%{opacity:0;transform:translateY(16px)scale(.35)rotate(-20deg)}35%{opacity:1;transform:translateY(0)scale(1.15)rotate(4deg)}to{opacity:0;transform:translateY(-24px)scale(.8)rotate(12deg)}}@keyframes card-effect-particle{0%{opacity:0;transform:rotate(45deg)scale(.2)}30%{opacity:1}to{opacity:0;transform:rotate(135deg)scale(5.5)}}@keyframes ability-feed{0%{opacity:0;transform:translateY(16px)scale(.96)}12%,72%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-18px)scale(.98)}}.ability-builder__checkbox{flex-direction:row;align-self:end;align-items:center;gap:8px;min-height:38px;display:flex}.ability-builder__checkbox input{width:auto}.creature button{grid-column:1/-1}@media (width<=900px){.app-shell{padding:14px}.player-hud{grid-template-columns:auto 1fr repeat(3,auto)}.leader-health{grid-area:2/1/auto/-1}.battlefield{grid-template-columns:repeat(3,minmax(240px,1fr));overflow-x:auto}}@media (width<=640px){.topbar,.match__meta{flex-direction:column;align-items:flex-start}.status-group,.match__controls{justify-content:flex-start}.match{border-radius:15px;padding:10px}.match__controls,.match__controls .button{width:100%}.player-hud{grid-template-columns:auto 1fr auto;gap:8px}.player-hud .stat-pill{border-top:1px solid #343840;border-left:0}.player-hud .stat-pill:nth-last-child(3){grid-column:1}.hand{grid-template-columns:1fr}.hand__label{grid-template-columns:auto 1fr;align-items:baseline;gap:8px}}@media (prefers-reduced-motion:reduce){.game-loading__spinner{animation:none}.death-animation{display:none}.creature.is-attacking-up,.creature.is-attacking-down,.creature.is-hit,.leader-card.is-hit,.creature.is-hit:after,.leader-card.is-hit:after{animation:none}.game-card,.health-track i,.player-hud{transition:none}}.main-menu{background:radial-gradient(circle at 50% 32%,#e3bf531f,#0000 34%),linear-gradient(145deg,#171a20,#0e1015);border:1px solid #30343d;border-radius:24px;align-content:center;justify-items:center;gap:28px;width:min(1040px,100%);min-height:670px;margin:0 auto;padding:clamp(28px,6vw,72px);display:grid;position:relative;overflow:hidden;box-shadow:0 32px 90px #00000073}.main-menu:before,.main-menu:after{content:"";pointer-events:none;border:1px solid #e1c26017;border-radius:50%;width:380px;height:380px;position:absolute}.main-menu:before{top:-230px;left:-150px}.main-menu:after{bottom:-240px;right:-170px}.main-menu__crest{color:#28200d;background:linear-gradient(145deg,#f3dd8b,#9e7b28);border:1px solid #c2a74f;border-radius:50% 50% 42% 42%;place-items:center;width:74px;height:92px;font:900 35px/1 Georgia,serif;display:grid;box-shadow:0 0 0 7px #cfb04a14,0 12px 32px #0000006b}.main-menu__intro{z-index:1;text-align:center;position:relative}.main-menu__intro h2,.screen-heading h2,.deck-editor h2{letter-spacing:-.035em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(30px,5vw,48px);font-weight:500}.main-menu__intro p,.screen-heading p{color:#92969f;margin:9px 0 0;font-size:13px}.main-menu__actions{z-index:1;grid-template-columns:repeat(2,1fr);gap:14px;width:min(660px,100%);display:grid;position:relative}.glossary-modal{z-index:800;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#05070ad1;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.glossary-modal__dialog{background:#14181e;border:1px solid #4a505a;border-radius:16px;width:min(820px,100%);max-height:min(760px,100vh - 36px);padding:22px;overflow:auto;box-shadow:0 28px 90px #0000009e}.glossary-modal__dialog>header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.glossary-modal__dialog h2{margin:3px 0 0}.keyword-glossary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.keyword-glossary>div{background:#1b2027;border:1px solid #343a44;border-radius:10px;padding:12px 14px}.keyword-glossary dt{color:#f1d570;font-weight:900}.keyword-glossary dd{color:#b5bac2;margin:5px 0 0;font-size:13px;line-height:1.45}.game-card--spell,.collection-card--spell{color:#ece9ff;background:radial-gradient(circle at 50% 18%,#ab8bff59,#0000 34%),linear-gradient(150deg,#302852,#151424 68%);border-color:#8473d8;box-shadow:inset 0 0 24px #9a78ff2e,0 8px 20px #0000005c}.game-card__spell-mark,.collection-card__spell-mark{color:#e9e1ff;letter-spacing:.08em;text-transform:uppercase;background:#3a2a67bd;border:1px solid #9c88ec;border-radius:999px;justify-self:center;padding:4px 8px;font-size:8px;font-weight:900}.game-card--spell .game-card__art{background:radial-gradient(circle at 50% 45%,#bda8ff,#0000 30%),linear-gradient(145deg,#6450a1,#231d42);border-color:#a18eea}.board-position__lock{z-index:82;pointer-events:none;background:#1f1b11eb;border:1px solid #d8b95b;border-radius:50%;place-items:center;width:28px;height:28px;font-size:14px;display:grid;position:absolute;top:6px;right:7px;box-shadow:0 3px 12px #0000008c}.lane-unlock-control{color:#f4dd8e;cursor:pointer;background:#1f1b11f0;border:1px solid #b89b42;border-radius:7px;flex:none;min-height:20px;padding:1px 6px;font-size:8px;font-weight:900;box-shadow:0 3px 12px #0000008c}.lane-unlock-control:disabled{color:#858991;cursor:not-allowed;border-color:#555861}.spell-effect{z-index:620;color:#f2edff;filter:drop-shadow(0 16px 35px #000000a6);pointer-events:none;background:radial-gradient(circle,#6345a757,#0000 48%);place-items:center;animation:2.45s ease-out both spell-effect-overlay;display:grid;position:fixed;inset:0}.spell-effect__flare{color:#d8c4ff;text-shadow:0 0 38px #a678ff;font-size:min(70vw,620px);line-height:1;animation:1.5s ease-out both spell-effect-flare;position:absolute}.spell-effect__card{text-align:center;background:linear-gradient(150deg,#34275c,#141321);border:2px solid #b8a1ff;border-radius:18px;gap:8px;width:min(330px,100vw - 40px);max-height:min(570px,100vh - 90px);padding:14px;animation:2.25s ease-out both spell-effect-card;display:grid;position:relative;box-shadow:0 0 65px #a074ffb8}.spell-effect__card>div{background:#09080e;border-radius:11px;place-items:center;max-height:330px;display:grid;overflow:hidden}.spell-effect__card img{object-fit:contain;width:100%;height:100%;max-height:330px;display:block}.spell-effect__card>span{color:#c6b2ff;letter-spacing:.14em;text-transform:uppercase;font-size:9px;font-weight:900}.spell-effect__card>strong{font:700 25px/1.05 Georgia,serif}.spell-effect__card p,.spell-effect>strong{margin:0;font-size:12px;line-height:1.4}.spell-effect>strong{text-align:center;background:#0a0911d6;border-radius:999px;max-width:min(620px,100vw - 32px);padding:8px 12px;position:absolute;bottom:5vh}.card-effect--spell{--effect-color:#b89cff}@keyframes spell-effect-overlay{0%,to{opacity:0}10%,76%{opacity:1}}@keyframes spell-effect-flare{0%{opacity:0;transform:scale(.15)rotate(-40deg)}35%{opacity:.9}to{opacity:0;transform:scale(1.35)rotate(42deg)}}@keyframes spell-effect-card{0%{opacity:0;transform:translateY(34px)scale(.72)rotate(-4deg)}18%,74%{opacity:1;transform:translateY(0)scale(1)rotate(0)}to{opacity:0;transform:translateY(-28px)scale(1.08)rotate(2deg)}}@media (width<=700px){.keyword-glossary{grid-template-columns:1fr}.glossary-modal__dialog{padding:15px}.lane-unlock-control{max-width:54px;min-height:18px;padding:1px 3px;line-height:1.05}.board-position__lock{width:22px;height:22px;font-size:11px;top:3px;right:3px}.spell-effect__card{width:min(250px,100vw - 30px);max-height:calc(100vh - 70px)}.spell-effect__card>div,.spell-effect__card img{max-height:230px}}@media (prefers-reduced-motion:reduce){.spell-effect,.spell-effect__flare,.spell-effect__card{animation-duration:1ms}}.menu-card{color:#f1f0eb;cursor:pointer;text-align:left;background:linear-gradient(#1a1e24ad,#0c0e12f0),radial-gradient(circle at 70% 20%,#565d68,#0000 48%);border:1px solid #3d424c;border-radius:15px;align-content:end;gap:4px;min-height:170px;padding:22px;transition:border-color .16s,transform .16s,box-shadow .16s;display:grid}.menu-card--play{background:linear-gradient(#342b1094,#1c170af5),radial-gradient(circle at 70% 20%,#b49537,#0000 48%)}.menu-card:hover:not(:disabled){border-color:#d1b556;transform:translateY(-4px);box-shadow:0 15px 34px #00000057}.menu-card>span{color:#ba9e49;letter-spacing:.16em;font-size:10px;font-weight:900}.menu-card>small{color:#9699a0;font-size:11px}.deck-launcher{z-index:1;gap:7px;width:min(430px,100%);display:grid;position:relative}.deck-launcher label,.editor-field>span{color:#888c95;letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:800}.deck-launcher select,.editor-field input,.editor-field select,.editor-field textarea{color:#e8e9e7;background:#181b21;border:1px solid #414650;border-radius:9px;width:100%;min-height:42px;padding:0 12px}.editor-field textarea{resize:vertical;padding-block:10px}.editor-field>small{color:#777c85;font-size:9px}.deck-launcher__error,.collection-error{color:#ffd7d8;background:#3b1d21;border:1px solid #8b3e45;border-radius:9px;padding:10px 12px;font-size:12px}.collection-screen,.screen-loading,.screen-error{background:linear-gradient(145deg,#171a20,#0e1015);border:1px solid #30343d;border-radius:24px;width:min(1040px,100%);margin:0 auto;padding:clamp(18px,3vw,30px);box-shadow:0 32px 90px #00000073}.screen-loading,.screen-error{color:#9a9ea6;text-align:center;align-content:center;justify-items:center;gap:10px;min-height:520px;display:grid}.screen-heading{border-bottom:1px solid #30343c;justify-content:space-between;align-items:end;gap:24px;padding-bottom:24px;display:flex}.screen-heading>div:last-child{gap:9px;display:flex}.collection-error{margin-top:15px}.collection-mobile-tabs{display:none}.collection-section{border-bottom:1px solid #292d34;padding:26px 0}.collection-section:last-child{border-bottom:0}.section-title{justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:14px;display:flex}.section-title h3{margin:0;font-family:Georgia,Times New Roman,serif;font-size:21px;font-weight:500}.section-title>span{color:#797d86;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:800}.collection-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:20px;display:grid}.collection-card{color:#282116;width:210px;height:294px;min-height:294px;font:inherit;text-align:initial;background:linear-gradient(145deg,#eee4c7,#c6b992);border:2px solid #756b4d;border-radius:13px;grid-template-rows:145px 13px minmax(19px,auto) 11px minmax(0,1fr) 18px;gap:5px;padding:12px;display:grid;position:relative;overflow:visible;box-shadow:0 9px 22px #00000052}.collection-card--no-subtype{grid-template-rows:145px 13px auto minmax(0,1fr) 18px}.collection-card--leader{background:linear-gradient(145deg,#f2df9a,#a88935);border-color:#c3a348}.collection-card--artifact{background:linear-gradient(145deg,#dddde0,#8e9299)}.collection-card--object{background:linear-gradient(145deg,#d5e1df,#829da0);border-color:#638991}.collection-card--spell{background:linear-gradient(145deg,#d8cbec,#8972ad)}.collection-card--rare{border-color:#5894ce}.collection-card--epic{border-color:#9a63ce}.collection-card--legendary{border-color:#e09640}.collection-card--mythic{border-color:#df5367;box-shadow:0 0 22px #d6465e2b,0 9px 22px #00000052}.collection-card.is-selectable{cursor:pointer;transition:border-color .16s,filter .16s,opacity .16s,transform .16s,box-shadow .16s}.collection-card.is-selectable:not(.is-selected){opacity:.72}.collection-card.is-selectable:hover,.collection-card.is-selectable:focus-visible{opacity:1;border-color:#f4d671;outline:none;top:-3px}.collection-card.is-selected{opacity:1;border-color:#ffe590;top:-4px;box-shadow:0 0 0 3px #d9b94e,0 0 0 7px #e2c2532e,0 16px 32px #0000007a}.leader-choice__selected{z-index:3;color:#342707;letter-spacing:.08em;text-transform:uppercase;background:#e2c258;border:1px solid #ffe797;border-radius:999px;width:max-content;padding:4px 9px;font-size:8px;font-weight:900;position:absolute;bottom:-12px;left:50%;transform:translate(-50%);box-shadow:0 5px 13px #00000059}.collection-card__quantity{z-index:2;color:#fff;background:#16181cc7;border-radius:999px;padding:3px 6px;font-size:9px;font-weight:900;position:absolute;top:7px;right:7px}.collection-card__cost{z-index:2;color:#fff;background:#315d91;border:2px solid #b8dbff;border-radius:50%;place-items:center;width:31px;height:31px;font-weight:900;display:grid;position:absolute;top:-10px;left:-10px}.collection-card__art{color:#252013ad;background:radial-gradient(circle at 66% 28%,#f9eb8b,#0000 20%),linear-gradient(145deg,#8fc49e,#c7a653);border-radius:7px;place-items:center;height:100%;min-height:145px;font:900 36px/1 Georgia,serif;display:grid;overflow:hidden}.collection-card__art img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.collection-grid .collection-card{grid-template-rows:205px 13px auto 11px minmax(0,1fr) 18px;height:390px;min-height:390px}.collection-grid .collection-card--no-subtype{grid-template-rows:205px 13px auto minmax(0,1fr) 18px}.collection-grid .collection-card__art{min-height:205px}.collection-grid .collection-card>strong{font-size:15px;line-height:1.1}.collection-card.is-selectable:not(.is-selected) .collection-card__art{filter:saturate(.78)}.collection-card.is-selectable:hover .collection-card__art,.collection-card.is-selectable:focus-visible .collection-card__art{filter:none}.collection-card__taxonomy{letter-spacing:.08em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:6px;font-size:9px;font-weight:900;display:flex}.rarity-label{color:#564b32}.rarity-label--rare{color:#185991}.rarity-label--epic{color:#63308c}.rarity-label--legendary{color:#8b4f0d}.rarity-label--mythic{color:#941f36}.collection-card>strong{color:#fff8da;letter-spacing:.025em;text-align:center;-webkit-line-clamp:2;background:linear-gradient(135deg,#695832,#403620);border:1px solid #493d233d;border-radius:6px;-webkit-box-orient:vertical;padding:5px 7px;font-family:Impact,Arial Narrow,system-ui,sans-serif;font-size:16px;font-weight:900;line-height:1.1;display:-webkit-box;overflow:hidden}.collection-card--leader>strong{color:#fff7ce;background:linear-gradient(135deg,#927022,#553d12);border-color:#fff5be6b}.collection-card--spell>strong{color:#f5efff;background:linear-gradient(135deg,#7055a3,#3a2958);border-color:#e0d3ff6b}.collection-card--object>strong,.collection-card--artifact>strong{color:#f0fbfc;background:linear-gradient(135deg,#557981,#2c444a);border-color:#e2f5f766}.collection-card__subtype{color:#312817b3;letter-spacing:.06em;text-align:center;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:800;overflow:hidden}.collection-card__ability{text-align:center;-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:0;font-size:11px;line-height:1.35;display:-webkit-box;overflow:hidden}.collection-card__ability strong,.card-preview__details>p strong{font-weight:900}.collection-card__ability em,.card-preview__details>p em{font-family:Georgia,Times New Roman,serif}.collection-card__stats{justify-content:space-between;font-size:15px;display:flex}.collection-card__playability{z-index:2;color:#fff;letter-spacing:.07em;text-transform:uppercase;background:#311e23d1;border:1px solid #ffffff57;border-radius:999px;padding:3px 6px;font-size:7px;font-weight:900;position:absolute;top:135px;right:16px}.card-preview{z-index:300;visibility:hidden;width:min(var(--card-preview-width,360px), calc(100vw - 28px));height:auto;max-height:min(var(--card-preview-max-height,620px), calc(100vh - 28px));color:#e9e7df;opacity:0;pointer-events:none;text-align:left;flex-direction:column;gap:8px;transition:visibility .12s,opacity .12s,transform .12s;display:flex;position:fixed;top:14px;left:14px;overflow:visible;transform:translate(7px)scale(.98)}.card-preview__card{background:#11141a;border:2px solid #817453;border-radius:20px;flex-direction:column;flex:auto;min-height:0;display:flex;position:relative;overflow:visible;box-shadow:0 32px 100px #000000bf}.card-preview--spell .card-preview__card{background:#171329;border-color:#8e78e2}.collection-card:hover .card-preview,.collection-card:focus-visible .card-preview,.deck-editor__leader:hover .card-preview,.deck-editor__leader:focus-visible .card-preview,.editor-card-row:hover .card-preview,.card-preview.card-preview--visible{visibility:visible;opacity:1;transform:translate(0)scale(1)}.card-preview--rare .card-preview__card{border-color:#5894ce}.card-preview--epic .card-preview__card{border-color:#9a63ce}.card-preview--legendary .card-preview__card{border-color:#e09640}.card-preview--mythic .card-preview__card{border-color:#df5367}.card-preview__image{color:#64552e;background:#080a0e;border-bottom:1px solid #343942;border-radius:18px 18px 0 0;flex:none;place-items:center;min-height:0;max-height:min(360px,44vh);font:900 92px/1 Georgia,serif;display:grid;overflow:hidden}.card-preview__image img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:min(360px,44vh);display:block}.card-preview__image>span{padding:58px 0}.card-preview__details{background:#11141a;border-radius:0 0 18px 18px;flex-direction:column;flex:0 auto;min-height:0;padding:16px 18px 22px;display:flex;overflow:hidden}.card-preview:not(.card-preview--spell) .card-preview__details{padding-bottom:54px}.card-preview__kicker{color:#c9ad58;letter-spacing:.12em;text-transform:uppercase;font-size:9px;font-weight:900}.card-preview__details h3{margin:8px 0 3px;font-family:Georgia,Times New Roman,serif;font-size:clamp(28px,4vw,42px);font-weight:500;line-height:1}.card-preview__cost{z-index:4;color:#fff;background:#315d91;border:3px solid #b8dbff;border-radius:50%;place-items:center;width:44px;height:44px;font-size:20px;font-weight:950;display:grid;position:absolute;top:-12px;left:-12px;box-shadow:0 5px 16px #0000008c}.card-preview__subtype{color:#8f949d;letter-spacing:.08em;text-transform:uppercase;margin-top:7px;font-size:10px;font-weight:800}.card-preview__details>p{color:#d4d5d3;-webkit-line-clamp:5;-webkit-box-orient:vertical;flex-shrink:0;margin:18px 0 0;font-size:16px;line-height:1.55;display:-webkit-box;overflow:hidden}.card-preview__tags{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.card-preview__statuses{z-index:2;width:var(--card-preview-status-width,230px);max-height:min(var(--card-preview-max-height,620px), calc(100vh - 28px));background:#0f1217f5;border:1px solid #4a505a;border-radius:12px;gap:7px;padding:11px;display:grid;position:absolute;top:0;overflow:hidden;box-shadow:0 20px 55px #0000008c}.card-preview--status-right .card-preview__statuses{left:calc(100% + 14px)}.card-preview--status-left .card-preview__statuses{right:calc(100% + 14px)}.card-preview__statuses>header,.card-preview-status dl>div{justify-content:space-between;gap:12px;display:flex}.card-preview__statuses>header{z-index:1;color:#fff1af;letter-spacing:.06em;text-transform:uppercase;background:#15191f;align-items:center;margin:-11px -11px 0;padding:10px 11px 8px;font-size:10px;position:sticky;top:-11px}.card-preview__statuses>header span{color:#959ba5}.card-preview__statuses>div{gap:7px;display:grid;overflow:hidden}.card-preview-status{border:1px solid;border-radius:8px;gap:7px;padding:9px 10px;display:grid}.card-preview-status--buff{background:linear-gradient(135deg,#2b5937a8,#1c2421);border-color:#4f8e60}.card-preview-status--debuff{background:linear-gradient(135deg,#602b31a8,#281e21);border-color:#9b5056}.card-preview-status--neutral{background:linear-gradient(135deg,#475569a8,#20252d);border-color:#64748b}.card-preview-status p{color:#eef2ed;margin:0;font-size:10px;font-weight:750;line-height:1.35}.card-preview-status small{color:#aeb5bf;font-size:9px;font-weight:650;line-height:1.3}.card-preview__tags span{color:#9297a0;border:1px solid #3b4049;border-radius:999px;padding:4px 7px;font-size:8px}.card-preview__frame-stats{z-index:4;pointer-events:none;justify-content:space-between;align-items:flex-end;display:flex;position:absolute;bottom:-12px;left:-12px;right:-12px}.card-preview__frame-stats b{color:#fff;text-shadow:0 1px 2px #0000008c;border:3px solid #ffffffa8;border-radius:50%;place-items:center;width:48px;height:48px;font-size:23px;font-weight:950;display:grid;box-shadow:0 5px 16px #0009}.card-preview__power{background:#97642c}.card-preview__health{background:#9f3946}.card-preview__notice{color:#d59099;letter-spacing:.04em;text-transform:uppercase;margin-top:13px;font-size:9px}.card-preview--horizontal{width:min(var(--card-preview-horizontal-width,760px), calc(100vw - 28px));margin-left:var(--card-preview-horizontal-offset,0px)}.card-preview--horizontal .card-preview__card{flex:none;grid-template-columns:minmax(180px,38%) minmax(0,1fr);display:grid}.card-preview--horizontal .card-preview__image{border-bottom:0;border-right:1px solid #343942;border-radius:18px 0 0 18px;height:100%;max-height:none}.card-preview--horizontal .card-preview__image img{width:100%;height:100%;max-height:none}.card-preview--horizontal .card-preview__details{border-radius:0 18px 18px 0;padding-bottom:48px;overflow:visible}.card-preview--horizontal .card-preview__details>p{-webkit-line-clamp:unset;display:block;overflow:visible}.deck-library{gap:8px;display:grid}.deck-row{background:#16191f;border:1px solid #343840;border-radius:11px;grid-template-columns:auto minmax(150px,1fr) auto auto;align-items:center;gap:13px;padding:12px;display:grid}.deck-row__mark,.editor-card-row__art{color:#30260c;background:#d3b75c;border:1px solid #9b8442;border-radius:6px;place-items:center;width:42px;height:52px;font:900 18px/1 Georgia,serif;display:grid;overflow:hidden}.editor-card-row__art img{border-radius:inherit;object-fit:cover;object-position:center;width:100%;height:100%;display:block}.deck-row>div:nth-child(2),.editor-card-row>div:nth-child(2){gap:3px;display:grid}.deck-row>div:nth-child(2)>span,.editor-card-row>div:nth-child(2)>span{color:#858a93;font-size:10px}.deck-validity{color:#d58d96;letter-spacing:.07em;text-transform:uppercase;border:1px solid #574149;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900}.deck-validity.is-valid{color:#68ddb9;border-color:#356b5a}.deck-row__actions{gap:6px;display:flex}.deck-row__actions button,.quantity-control button{color:#d6d8db;cursor:pointer;background:#24272e;border:1px solid #434852;border-radius:7px;min-height:31px;padding:0 10px;font-size:10px;font-weight:800}.deck-row__actions button:last-child:hover{color:#ffc9cb;background:#432126;border-color:#8e4148}.empty-library{color:#7d818a;border:1px dashed #393e47;border-radius:11px;place-items:center;min-height:120px;font-size:12px;display:grid}.deck-editor-layer{z-index:120;place-items:center;display:grid;position:fixed;inset:0}.deck-editor{background:#14171d;border:1px solid #414650;border-radius:18px;flex-direction:column;width:min(1220px,100% - 24px);height:calc(100% - 24px);margin:12px;animation:.18s ease-out both modal-enter;display:flex;position:relative;overflow:hidden;box-shadow:0 28px 90px #00000094}.deck-editor>header{border-bottom:1px solid #30343c;justify-content:space-between;align-items:center;gap:18px;margin:0;padding:18px 22px;display:flex}.deck-editor h2{font-size:30px}.editor-field{gap:7px;margin-bottom:15px;display:grid}.editor-tabs{background:#0f1217;border:1px solid #343943;border-radius:12px;grid-template-columns:repeat(2,1fr);gap:5px;margin-top:0;padding:5px;display:grid}.editor-tabs button{color:#898e97;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-content:center;gap:3px;min-height:58px;padding:9px 13px;transition:border-color .15s,color .15s,background .15s;display:grid}.editor-tabs button:hover{color:#e8e9e7;background:#1b1f26}.editor-tabs button.is-active{color:#f1df9f;background:linear-gradient(145deg,#2e291a,#1b1c1d);border-color:#746536}.editor-tabs button>span{letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:900}.editor-tabs button>small{color:#777c85;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.editor-tabs button.is-active>small{color:#a99d76}.editor-tab-panel{margin-top:22px}.editor-tab-help{color:#858a93;max-width:480px;margin:-5px 0 20px;font-size:11px;line-height:1.5}.leader-choice-grid{flex-wrap:wrap;gap:25px 18px;padding:5px 6px 20px;display:flex}.deck-editor__workspace{flex:1;grid-template-columns:minmax(0,1fr) minmax(350px,410px);min-height:0;display:grid}.deck-editor__collection{padding:20px 22px 30px;overflow-y:auto}.editor-collection-grid{grid-template-columns:repeat(auto-fill,minmax(190px,210px));align-items:start;gap:24px 18px;display:grid}.editor-collection-grid .collection-card{width:100%}.deck-editor__deck{background:radial-gradient(circle at 100% 0,#cfb04a17,#0000 34%),#101319;border-left:1px solid #383d46;flex-direction:column;min-height:0;padding:20px;display:flex}.deck-editor__leader{color:#ece7d8;cursor:pointer;text-align:left;background:linear-gradient(145deg,#282416,#1b1c1e);border:1px solid #625737;border-radius:10px;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:10px;display:grid}.deck-editor__leader>span{gap:3px;display:grid}.deck-editor__leader small,.deck-editor__deck-heading span{color:#9b8d64;letter-spacing:.1em;text-transform:uppercase;font-size:8px;font-weight:900}.deck-editor__leader b{color:#cab35e;font-size:9px}.deck-editor__deck-heading{border-bottom:1px solid #30343c;justify-content:space-between;align-items:end;gap:12px;margin-top:20px;padding-bottom:10px;display:flex}.deck-editor__deck-heading>div{gap:3px;display:grid}.deck-editor__deck-heading>small{color:#7e838c;font-size:9px}.deck-editor__cards{flex:1;min-height:120px;padding-right:4px;overflow-y:auto}.deck-editor__empty{color:#787e88;text-align:center;border:1px dashed #3a3f48;border-radius:10px;place-items:center;min-height:160px;padding:20px;font-size:11px;line-height:1.5;display:grid}.editor-card-row{border-top:1px solid #2d3138;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:11px 0;display:grid}.quantity-control{grid-template-columns:32px 52px 32px;gap:4px;display:grid}.quantity-control button{padding:0;font-size:16px}.quantity-control input{color:#fff;text-align:center;background:#1d2026;border:1px solid #434852;border-radius:7px;min-width:0}.deck-editor__deck>footer{border-top:1px solid #30343c;justify-content:space-between;align-items:center;gap:18px;margin-top:26px;padding-top:17px;display:flex}.deck-total{color:#d89097;grid-template-columns:auto 1fr;align-items:center;gap:3px 9px;display:grid}.deck-total.is-valid{color:#63dab5}.deck-total strong{grid-row:1/3;font-size:28px}.deck-total span{color:#888d96;font-size:10px}.card-creator-layer{z-index:140;place-items:center;display:grid;position:fixed;inset:0}.card-creator{background:#14171d;border:1px solid #414650;border-radius:18px;width:min(920px,100% - 24px);max-height:calc(100% - 24px);padding:clamp(20px,3vw,30px);animation:.18s ease-out both modal-enter;position:relative;overflow-y:auto;box-shadow:0 28px 90px #00000094}.card-creator>header,.card-creator>footer{justify-content:space-between;align-items:center;gap:20px;display:flex}.card-creator>header{border-bottom:1px solid #30343c;margin-bottom:22px;padding-bottom:17px}.card-creator>header h2{margin:2px 0 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(28px,4vw,38px);font-weight:500}.card-creator>header p{color:#858a93;margin:7px 0 0;font-size:11px}.card-creator>.collection-error{margin:0 0 18px}.card-creator__layout{grid-template-columns:230px minmax(0,1fr);align-items:start;gap:clamp(24px,4vw,42px);display:grid}.card-picture-field{gap:10px;display:grid}.card-picture-preview{aspect-ratio:5/7;color:#777c85;text-transform:uppercase;background:#0d1015;border:1px dashed #555b65;border-radius:13px;place-items:center;width:100%;font-size:10px;display:grid;overflow:hidden}.card-picture-preview img{object-fit:contain;width:100%;height:100%}.card-picture-field .button{cursor:pointer;text-align:center}.card-picture-field input[type=file]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.card-picture-field>small{overflow-wrap:anywhere;color:#777c85;text-align:center;font-size:9px;line-height:1.35}.card-creator__fields{min-width:0}.ability-builder{background:#11141a;border:1px solid #363c45;border-radius:10px;gap:10px;margin:12px 0;padding:12px;display:grid}.ability-builder>header,.ability-builder__rule>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.ability-builder>header>div{gap:3px;display:grid}.ability-builder>header strong{font-size:12px}.ability-builder>header small,.ability-builder>p{color:#7f848d;margin:0;font-size:9px}.ability-builder__rule{background:#191d23;border:1px solid #414852;border-radius:8px;gap:8px;padding:10px;display:grid}.ability-builder__rule>header strong{color:#cfb257;letter-spacing:.08em;text-transform:uppercase;font-size:9px}.ability-builder__rule>header button{color:#d58b91;cursor:pointer;background:0 0;border:0;font-size:9px}.ability-builder__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.card-creator__field-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.card-creator__field-row--stats{max-width:430px}.card-creator>footer{border-top:1px solid #30343c;justify-content:flex-end;margin-top:8px;padding-top:18px}@media (width<=1050px){.deck-editor__workspace{grid-template-columns:minmax(0,1fr) minmax(300px,340px)}.deck-editor__collection{padding-inline:16px}.editor-collection-grid{grid-template-columns:repeat(auto-fill,minmax(165px,190px));column-gap:14px}}@media (width<=760px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.deck-editor{overflow-y:auto}.deck-editor__workspace{display:block}.deck-editor__collection{overflow:visible}.deck-editor__deck{border-top:1px solid #383d46;border-left:0;min-height:520px}}@media (width<=700px){.main-menu{min-height:600px;padding:28px 16px}.main-menu__actions{grid-template-columns:1fr}.menu-card{min-height:130px}.screen-heading,.deck-editor__deck>footer{flex-direction:column;align-items:stretch}.screen-heading>div:last-child,.screen-heading .button{width:100%}.deck-row{grid-template-columns:auto 1fr}.deck-validity,.deck-row__actions{grid-column:2;justify-self:start}.editor-card-row{grid-template-columns:auto 1fr}.quantity-control{grid-column:1/-1;justify-self:end}.card-creator>header,.card-creator>footer{flex-direction:column;align-items:stretch}.card-creator__layout{grid-template-columns:1fr}.card-picture-field{justify-self:center;width:min(230px,100%)}.card-creator__field-row{grid-template-columns:1fr;gap:0}.ability-builder__grid{grid-template-columns:1fr}.card-creator>footer .button{width:100%}}.lobby-browser,.lobby-room{background:linear-gradient(145deg,#171a20,#0e1015);border:1px solid #30343d;border-radius:22px;width:min(1120px,100%);margin:0 auto;padding:clamp(18px,3vw,34px);box-shadow:0 28px 80px #0000006b}.lobby-browser__layout{grid-template-columns:minmax(260px,340px) 1fr;gap:22px;margin-top:24px;display:grid}.lobby-create,.lobby-list,.lobby-loadout{background:#12151a;border:1px solid #343943;border-radius:14px;padding:18px}.lobby-create,.lobby-create label,.lobby-loadout label{gap:8px;display:grid}.lobby-create{align-content:start;gap:15px}.lobby-create label>span,.lobby-loadout label>span{color:#999ea7;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:800}.lobby-create input,.lobby-list__room input,.lobby-loadout select{color:#ecece7;background:#1c2027;border:1px solid #414650;border-radius:8px;width:100%;min-height:40px;padding:0 11px}.lobby-list{align-content:start;gap:9px;display:grid}.lobby-list>header{border-bottom:1px solid #30343c;justify-content:space-between;align-items:center;margin-bottom:4px;padding-bottom:12px;display:flex}.lobby-list>header span{color:#231c08;background:#e5c45d;border-radius:50%;place-items:center;min-width:25px;height:25px;font-size:10px;font-weight:900;display:grid}.lobby-list__empty{color:#777c85;border:1px dashed #393e47;border-radius:10px;place-items:center;min-height:180px;font-size:12px;display:grid}.lobby-list__room{background:#191d23;border:1px solid #353a43;border-radius:10px;grid-template-columns:minmax(150px,1fr) minmax(120px,190px) auto;align-items:center;gap:11px;padding:13px;display:grid}.lobby-list__room>div{gap:3px;display:grid}.lobby-list__room>div span{color:#858a93;font-size:10px}.lobby-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0 18px;display:grid}.lobby-player{background:radial-gradient(circle at 78% 20%,#44e2b51a,#0000 38%),#15181e;border:1px solid #3b414b;border-radius:16px;align-content:center;gap:8px;min-height:245px;padding:24px;transition:border-color .16s,box-shadow .16s;display:grid}.lobby-player.is-ready{border-color:#49cda7;box-shadow:inset 0 0 24px #43daac17}.lobby-player--empty{color:#747982;background:#111419;border-style:dashed}.lobby-player>span,.lobby-player>small{color:#858b94;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:800}.lobby-player>strong{font-family:Georgia,Times New Roman,serif;font-size:28px;font-weight:500}.lobby-player dl{gap:7px;margin:12px 0;display:grid}.lobby-player dl>div{justify-content:space-between;gap:18px;display:flex}.lobby-player dt{color:#777c85;font-size:10px}.lobby-player dd{text-align:right;margin:0;font-size:11px;font-weight:800}.lobby-player>b{color:#a5a9b0;letter-spacing:.08em;text-transform:uppercase;border:1px solid #555b65;border-radius:999px;justify-self:start;padding:4px 8px;font-size:9px}.lobby-player.is-ready>b{color:#83e8c8;border-color:#55cba9}.lobby-loadout{grid-template-columns:minmax(180px,1fr) minmax(150px,220px) auto auto;align-items:end;gap:12px;display:grid}.lobby-starting{color:#d7be70;text-align:center;padding:24px}.app-shell--match{width:100%;height:100svh;min-height:0;padding:8px;overflow:hidden}.app-shell--match>.topbar{display:none}.app-shell--match .match{border-radius:16px;flex-direction:column;width:min(1320px,100%);height:calc(100svh - 16px);padding:8px;display:flex;overflow:hidden}.app-shell--match .match--mulligan .player-hud{display:none}.app-shell--match .match__meta{flex:none;gap:8px;min-height:48px;padding-bottom:4px}.app-shell--match .match__meta strong{font-size:19px}.app-shell--match .turn-kicker,.app-shell--match .hot-seat-note{margin:0;font-size:10px}.app-shell--match .match__controls{gap:5px}.app-shell--match .button{min-height:34px;padding-inline:11px;font-size:11px}.app-shell--match .player-hud{border-radius:9px;flex:none;grid-template-columns:52px minmax(95px,.8fr) minmax(155px,1.4fr) repeat(3,minmax(54px,auto));align-self:center;gap:6px;width:min(1080px,100%);min-height:72px;padding:4px 7px}.app-shell--match .leader-card{border-radius:5px;gap:1px;width:46px;padding:3px}.app-shell--match .leader-card__type,.app-shell--match .leader-card>small{display:none}.app-shell--match .leader-card__art{height:32px;min-height:32px}.app-shell--match .leader-card>strong{font-size:9px}.app-shell--match .leader-card__health{min-width:24px;height:24px;font-size:8px;bottom:-4px;right:-5px}.app-shell--match .player-hud__identity span,.app-shell--match .leader-health>span,.app-shell--match .stat-pill span,.app-shell--match .stat-pill--button small{font-size:8px}.app-shell--match .player-hud__identity strong,.app-shell--match .leader-health strong,.app-shell--match .stat-pill strong{font-size:13px}.app-shell--match .hand{flex:0 0 clamp(165px,21dvh,205px);grid-template-columns:98px minmax(0,1fr);gap:5px;min-height:0;padding:2px}.app-shell--match .hand--hidden{flex-basis:52px}.app-shell--match .hand__label span{font-size:11px}.app-shell--match .hand__label small{font-size:9px}.app-shell--match .hand__cards{gap:5px;padding:3px;overflow:hidden}.app-shell--match .game-card{border-radius:8px;grid-template-rows:clamp(65px,8.5dvh,88px) auto 1fr auto;gap:3px;width:clamp(118px,15dvh,148px);min-width:clamp(118px,15dvh,148px);height:clamp(165px,21dvh,207px);min-height:clamp(165px,21dvh,207px);padding:5px}.app-shell--match .game-card__art{height:clamp(65px,8.5dvh,88px)}.app-shell--match .game-card>strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.app-shell--match .game-card>small{-webkit-line-clamp:2;font-size:8px;line-height:1.2}.app-shell--match .game-card__stats{font-size:11px}.app-shell--match .game-card__cost,.app-shell--match .creature__cost{width:24px;height:24px;font-size:10px}.card-back{aspect-ratio:5/7;color:#d6b852;background:repeating-linear-gradient(45deg,#0000 0 5px,#e1c25b17 5px 7px),#171b23;border:1px solid #72633a;border-radius:5px;place-items:center;width:38px;min-width:38px;display:grid;position:relative;overflow:hidden;box-shadow:0 4px 10px #00000059}.card-back:before{content:"";border:1px solid #ddbe546b;border-radius:3px;position:absolute;inset:4px}.card-back i{font-family:Georgia,Times New Roman,serif;font-size:15px;font-style:normal;font-weight:900}.app-shell--match .battlefield{flex:auto;grid-template-columns:repeat(3,minmax(0,1fr));align-self:center;gap:3px;width:min(1040px,100%);min-height:290px;padding:3px 0;overflow:visible}.app-shell--match .battlefield.is-spell-drop-target{background:radial-gradient(circle,#8767de24,#0000 64%);border-color:#9178d5;box-shadow:inset 0 0 0 1px #a083f54d}.app-shell--match .lane{border-radius:9px;grid-template-rows:minmax(128px,1fr) 20px minmax(128px,1fr);min-width:0;min-height:0}.app-shell--match .lane__marker{gap:3px;padding-inline:5px;font-size:8px}.app-shell--match .board-position{min-height:0}.app-shell--match .creature,.app-shell--match .board-slot,.app-shell--match .death-animation{width:clamp(108px,14dvh,152px);margin:0}.app-shell--match .creature{border-radius:7px;grid-template-rows:auto auto minmax(0,1fr) auto;gap:2px 4px;padding:5px}.app-shell--match .creature__art{height:clamp(72px,8dvh,96px);min-height:clamp(72px,8dvh,96px)}.app-shell--match .creature>strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.app-shell--match .creature__ability{align-self:start;font-size:9px;line-height:1.2}.app-shell--match .creature__stats{align-self:end;gap:4px;font-size:13px}.app-shell--match .creature.is-ready-to-attack:not(.is-exhausted){border-color:#69ce96;box-shadow:0 0 0 1px #69ce9657,0 0 14px #4fcf8b42,0 6px 14px #00000052}@media (width>=701px){.app-shell--match .battlefield-layout{min-height:280px;margin-block:5px}.app-shell--match .hand--local{flex-basis:clamp(150px,19dvh,192px);margin-block:5px}}.app-shell--match .creature__actions{gap:2px}.app-shell--match .board-slot{gap:3px;padding:5px;font-size:10px}.app-shell--match .board-slot button,.app-shell--match .creature button{border-radius:5px;min-height:25px;padding-inline:4px;font-size:9px}.opponent-turn-notice{color:#d6d6d2;text-align:center;background:radial-gradient(circle,#e2c25317,#0000 44%);border-top:1px solid #2d3138;border-bottom:1px solid #2d3138;flex:auto;place-content:center;justify-items:center;gap:8px;min-height:0;display:grid}.opponent-turn-notice p{color:#858a93;margin:0;font-size:10px}.app-shell--match .mulligan-panel{flex:auto;gap:clamp(10px,1.8dvh,18px);min-height:0;padding:clamp(14px,2.5dvh,28px) 12px;overflow:hidden}.app-shell--match .mulligan-panel>header{align-items:center;width:min(900px,100%)}.app-shell--match .mulligan-panel h2{font-size:clamp(23px,2.2dvw,30px)}.app-shell--match .mulligan-panel header p{margin-top:5px;font-size:12px}.app-shell--match .mulligan-option .game-card{width:clamp(138px,14vw,168px);min-width:clamp(138px,14vw,168px)}.app-shell--match .mulligan-option>button{min-height:34px;font-size:11px}.board-position.is-card-drop-target:before{z-index:70;content:"Drop creature";color:#caffec;letter-spacing:.08em;text-transform:uppercase;pointer-events:none;background:#40d3a41f;border:3px solid #77e5bd;border-radius:11px;place-items:center;font-size:11px;font-weight:900;animation:.7s ease-in-out infinite alternate card-drop-pulse;display:grid;position:absolute;inset:4px;box-shadow:inset 0 0 26px #4ee1b32e,0 0 24px #4ee1b359}.board-position.is-card-drop-blocked{filter:saturate(.45)brightness(.72)}.game-card.is-dragging{opacity:.28}.drag-card-ghost{z-index:500;pointer-events:none;opacity:.92;width:112px;min-width:112px;position:fixed;transform:translate(-50%,-72%)rotate(2deg)scale(1.04);box-shadow:0 0 0 3px #77e5bd,0 22px 50px #000000ad}@keyframes card-drop-pulse{0%{opacity:.68}to{opacity:1}}@media (width<=760px){.lobby-browser__layout,.lobby-seats,.lobby-loadout{grid-template-columns:1fr}.lobby-list__room{grid-template-columns:1fr auto}.lobby-list__room input{grid-column:1/-1}.app-shell--match .player-hud{grid-template-columns:44px minmax(70px,1fr) repeat(3,42px)}.app-shell--match .leader-health{display:none}.app-shell--match .hand{grid-template-columns:78px minmax(0,1fr)}}@media (width<=700px) and (orientation:portrait){.app-shell--match{height:100dvh;padding:max(3px, env(safe-area-inset-top)) max(3px, env(safe-area-inset-right)) max(3px, env(safe-area-inset-bottom)) max(3px, env(safe-area-inset-left))}.app-shell--match .match{border-radius:10px;height:100%;padding:4px}.app-shell--match .match__meta{grid-template-columns:minmax(0,1fr);align-items:center;gap:3px;min-height:62px;padding-bottom:3px;display:grid}.app-shell--match .match__meta>div:first-child{justify-content:space-between;align-items:baseline;gap:7px;min-width:0;display:flex}.app-shell--match .match__meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.app-shell--match .hot-seat-note{display:none}.app-shell--match .match__controls{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:3px;width:100%;display:grid}.app-shell--match .match__controls .button{text-overflow:ellipsis;white-space:nowrap;border-radius:5px;width:auto;min-height:28px;padding-inline:5px;font-size:9px;overflow:hidden}.app-shell--match .player-hud{border-radius:6px;grid-template-columns:40px minmax(62px,1fr) repeat(3,minmax(36px,auto));gap:3px;min-height:56px;padding:3px 4px}.app-shell--match .leader-card{width:37px;padding:2px}.app-shell--match .leader-card__art{height:27px;min-height:27px}.app-shell--match .leader-card__health{border-width:1px;min-width:20px;height:20px;font-size:7px;bottom:-3px;right:-4px}.app-shell--match .player-hud__identity{min-width:0}.app-shell--match .player-hud__identity strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.app-shell--match .player-hud__identity span,.app-shell--match .stat-pill span,.app-shell--match .stat-pill--button small{letter-spacing:.04em;font-size:7px}.app-shell--match .stat-pill{border-top:0;border-left:1px solid #343840;min-width:0;padding:3px}.app-shell--match .stat-pill strong{font-size:11px}.app-shell--match .hand--local{z-index:8;flex-basis:50px;grid-template-rows:17px minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:3px;padding:2px;transition:flex-basis .16s;overflow:visible}.app-shell--match .hand--local.hand--expanded{flex-basis:108px}.app-shell--match .hand--hidden{z-index:1;flex-basis:39px;grid-template-rows:minmax(0,1fr);grid-template-columns:58px minmax(0,1fr);overflow:hidden}.app-shell--match .hand__label{grid-template-columns:1fr;gap:1px;display:grid}.app-shell--match .hand__label span{font-size:8px;line-height:1.2}.app-shell--match .hand__label small{display:none}.app-shell--match .hand__toggle{width:100%;min-height:17px;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0 4px;display:flex}.app-shell--match .hand__toggle b{color:#d4b958;font-size:13px;line-height:1}.app-shell--match .hand__cards{justify-content:center;gap:0;padding:2px 1px;overflow:visible}.app-shell--match .hand--expanded .hand__cards>.game-card{aspect-ratio:auto;touch-action:none;-webkit-user-select:none;user-select:none;flex:0 0 min(22vw,74px);grid-template-rows:36px auto 1fr auto;width:min(22vw,74px);min-width:min(22vw,74px);max-width:74px;height:91px;padding:3px}.app-shell--match .hand--expanded .hand__cards[data-hand-size="4"]>.game-card+.game-card{margin-left:0}.app-shell--match .hand--expanded .hand__cards[data-hand-size="5"]>.game-card+.game-card{margin-left:-12px}.app-shell--match .hand--expanded .hand__cards[data-hand-size="6"]>.game-card+.game-card{margin-left:-24px}.app-shell--match .hand--expanded .hand__cards[data-hand-size="7"]>.game-card+.game-card{margin-left:-31px}.app-shell--match .hand--expanded .hand__cards[data-hand-size="8"]>.game-card+.game-card{margin-left:-37px}.app-shell--match .hand--collapsed .hand__cards{align-items:flex-start;height:29px;padding:0 12px;overflow:hidden}.app-shell--match .hand--local.hand--collapsed .hand__cards>.game-card{border-radius:5px;flex:0 0 42px;grid-template-rows:1fr;width:42px;min-width:42px;max-width:42px;height:54px;margin-left:-27px;padding:2px}.app-shell--match .hand--local.hand--collapsed .hand__cards>.game-card:first-child{margin-left:0}.app-shell--match .hand--collapsed .game-card__art{height:48px}.app-shell--match .hand--collapsed .game-card>strong,.app-shell--match .hand--collapsed .game-card>small,.app-shell--match .hand--collapsed .game-card__stats{display:none}.app-shell--match .hand--collapsed .game-card__cost{border-width:1px;width:16px;height:16px;font-size:7px;top:-2px;left:-2px}.app-shell--match .hand--expanded .hand__cards>.game-card:hover,.app-shell--match .hand--expanded .hand__cards>.game-card:focus-visible,.app-shell--match .hand--expanded .hand__cards>.game-card.is-selected{z-index:40;transform:translateY(-8px)scale(1.03)}.app-shell--match .hand--expanded .hand__cards>.game-card.is-selected{border-color:#fff09d;box-shadow:0 0 0 3px #d8b84d,0 12px 28px #0000009e}.app-shell--match .hand--expanded .hand__cards>.game-card .game-card__art{height:36px}.app-shell--match .hand--expanded .hand__cards>.game-card>strong{font-size:9px}.app-shell--match .hand--expanded .hand__cards>.game-card>small{display:none}.app-shell--match .hand--expanded .hand__cards>.game-card .game-card__stats{font-size:9px}.app-shell--match .hand--expanded .hand__cards>.game-card .game-card__cost{border-width:1px;width:21px;height:21px;font-size:8px}.app-shell--match .hand--hidden .hand__cards{justify-content:flex-start;overflow:hidden}.app-shell--match .hand--hidden .card-back{width:25px;min-width:25px;height:34px;margin-left:-7px}.app-shell--match .hand--hidden .card-back i{font-size:10px}.app-shell--match .battlefield{gap:3px;width:min(350px,96%);min-height:clamp(220px,37dvh,300px);padding:2px 0}.app-shell--match .lane{border-radius:5px;grid-template-rows:minmax(92px,1fr) 22px minmax(92px,1fr)}.app-shell--match .lane__marker{letter-spacing:.04em;gap:2px;padding-inline:3px;font-size:7px}.app-shell--match .creature,.app-shell--match .board-slot,.app-shell--match .death-animation{width:clamp(78px,27vw,108px);margin:1px}.app-shell--match .creature{gap:1px 2px;padding:3px}.app-shell--match .creature__art{height:50px;min-height:50px}.app-shell--match .creature>strong{font-size:9px}.app-shell--match .creature__ability{min-height:12px;font-size:7px}.app-shell--match .creature__stats{font-size:9px}.app-shell--match .board-slot{padding:3px;font-size:8px}.app-shell--match .board-slot button,.app-shell--match .creature button{min-height:21px;padding-inline:2px;font-size:7px}.app-shell--match .error-banner{z-index:110;width:calc(100% - 10px);margin:0;padding:6px 8px;font-size:10px;position:absolute;top:58px;left:5px}.app-shell--match .victory-banner{z-index:100;width:calc(100% - 10px);margin:0;padding:12px;position:absolute;top:50%;left:5px;transform:translateY(-50%)}.app-shell--match .ability-effect-feed{width:calc(100% - 12px)}.app-shell--match .ability-effect-feed>div{grid-template-columns:24px 1fr;padding:5px 7px}.app-shell--match .ability-effect-feed i{width:22px;height:22px;font-size:12px}.app-shell--match .mulligan-panel{gap:7px;padding:9px 6px}.app-shell--match .mulligan-panel>header{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.app-shell--match .mulligan-panel h2{font-size:20px}.app-shell--match .mulligan-panel header p{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:10px;line-height:1.3;display:-webkit-box;overflow:hidden}.app-shell--match .mulligan-summary{gap:1px;padding:2px}.app-shell--match .mulligan-summary .stat-pill{padding:2px 3px}.app-shell--match .mulligan-warning{margin:0 auto;padding:4px 6px;font-size:9px}.app-shell--match .mulligan-cards{grid-template-columns:repeat(2,minmax(0,1fr));justify-self:center;gap:5px;width:min(360px,100%);display:grid}.app-shell--match .mulligan-option{border-radius:5px;gap:4px;min-width:0;padding:4px}.app-shell--match .mulligan-option .game-card{aspect-ratio:auto;width:100%;min-width:0;height:clamp(124px,22dvh,158px)}.app-shell--match .mulligan-option>button{min-height:25px;padding:2px;font-size:9px}.app-shell--match .mulligan-confirm{min-width:0;min-height:30px;font-size:11px}.app-shell--match .opponent-turn-notice{gap:4px;font-size:12px}.app-shell--match .board-position.is-card-drop-target:before{content:"Drop";border-width:2px;border-radius:6px;font-size:8px;inset:2px}.drag-card-ghost{grid-template-rows:36px auto 1fr auto;width:min(22vw,74px);min-width:min(22vw,74px);height:91px;padding:3px}.drag-card-ghost .game-card__art{height:36px}.drag-card-ghost>strong{font-size:9px}.drag-card-ghost>small{display:none}.card-preview{gap:6px}.card-preview__card{border-radius:14px}.card-preview__image{border-radius:12px 12px 0 0;max-height:min(170px,23dvh)}.card-preview__image img{max-height:min(170px,23dvh)}.card-preview__details{border-radius:0 0 12px 12px;padding:10px}.card-preview__details h3{margin-top:5px;font-size:22px}.card-preview__details>p{margin:11px 0;font-size:12px;line-height:1.35}.card-preview__tags{gap:3px}.card-preview--horizontal .card-preview__image{border-radius:12px 0 0 12px;max-height:none}.card-preview--horizontal .card-preview__image img{max-height:none}.card-preview--horizontal .card-preview__details{border-radius:0 12px 12px 0}.card-preview__statuses{gap:4px;padding:7px}.card-preview-status{gap:4px;padding:6px}.modal{border-radius:10px;width:calc(100% - 8px);height:calc(100% - 8px);margin:4px;padding:10px}.pile-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:5px}.pile-grid .game-card{width:100%;min-width:0}}@media (width>=360px) and (width<=700px) and (orientation:portrait){.app-shell--match .hand--expanded .hand__cards[data-hand-size="4"]>.game-card+.game-card{margin-left:0}.app-shell--match .hand--expanded .hand__cards[data-hand-size="5"]>.game-card+.game-card{margin-left:-8px}.app-shell--match .hand--expanded .hand__cards[data-hand-size="6"]>.game-card+.game-card{margin-left:-20px}.app-shell--match .hand--expanded .hand__cards[data-hand-size="7"]>.game-card+.game-card{margin-left:-29px}.app-shell--match .hand--expanded .hand__cards[data-hand-size="8"]>.game-card+.game-card{margin-left:-35px}}@media (width<=700px) and (orientation:portrait) and (height<=620px){.app-shell--match .match__meta{min-height:46px}.app-shell--match .player-hud{min-height:43px}.app-shell--match .leader-card{width:29px}.app-shell--match .leader-card__art{height:19px;min-height:19px}.app-shell--match .hand--local{flex-basis:44px}.app-shell--match .hand--local.hand--expanded{flex-basis:88px}.app-shell--match .hand--hidden{flex-basis:33px}.app-shell--match .hand--expanded .hand__cards>.game-card{grid-template-rows:28px auto 1fr auto;height:75px}.app-shell--match .hand--expanded .hand__cards>.game-card .game-card__art{height:28px}.app-shell--match .battlefield{min-height:184px}.app-shell--match .lane{grid-template-rows:minmax(78px,1fr) 11px minmax(78px,1fr)}.app-shell--match .creature__art{height:27px;min-height:27px}.app-shell--match .creature__ability{display:none}.app-shell--match .creature{grid-template-rows:auto auto minmax(0,1fr) auto}.app-shell--match .creature button{min-height:18px}.app-shell--match .mulligan-option .game-card{height:clamp(104px,19dvh,126px)}}@media (width>=701px) and (height<=740px){.app-shell--match .match__meta{min-height:42px}.app-shell--match .player-hud{min-height:64px}.app-shell--match .leader-card{width:40px}.app-shell--match .leader-card__art{height:27px;min-height:27px}.app-shell--match .hand{flex-basis:145px}.app-shell--match .hand--hidden{flex-basis:46px}.app-shell--match .game-card{grid-template-rows:58px auto 1fr auto;width:110px;min-width:110px}.app-shell--match .game-card__art{height:58px}.app-shell--match .battlefield{min-height:270px}.app-shell--match .lane{grid-template-rows:minmax(124px,1fr) 16px minmax(124px,1fr)}.app-shell--match .creature,.app-shell--match .board-slot,.app-shell--match .death-animation{width:clamp(96px,9vw,112px)}.app-shell--match .creature__art{height:45px;min-height:45px}.app-shell--match .board-slot button,.app-shell--match .creature button{min-height:20px;font-size:8px}}@media (width>=701px) and (height<=620px){.app-shell--match .match__meta{min-height:38px}.app-shell--match .player-hud{min-height:54px}.app-shell--match .leader-card{width:34px}.app-shell--match .leader-card__art{height:22px;min-height:22px}.app-shell--match .hand{flex-basis:116px}.app-shell--match .hand--hidden{flex-basis:36px}.app-shell--match .game-card{grid-template-rows:45px auto 1fr auto;width:92px;min-width:92px}.app-shell--match .game-card__art{height:45px}.app-shell--match .battlefield{min-height:235px}.app-shell--match .lane{grid-template-rows:minmax(108px,1fr) 13px minmax(108px,1fr)}.app-shell--match .creature,.app-shell--match .board-slot,.app-shell--match .death-animation{width:88px}.app-shell--match .creature__art{height:36px;min-height:36px}.app-shell--match .creature__ability{display:none}.app-shell--match .creature{grid-template-rows:auto auto minmax(0,1fr) auto}}body{background:#0b0d11}.app-shell:not(.app-shell--match){width:min(1280px,100%);padding:18px}.topbar{border-bottom:1px solid #252932;align-items:center;gap:16px;margin-bottom:14px;padding-bottom:12px}.eyebrow,.turn-kicker{letter-spacing:.1em;margin-bottom:4px;font-size:10px}h1,.main-menu__intro h2,.screen-heading h2,.deck-editor h2,.lobby-player>strong{letter-spacing:-.025em;font-family:inherit}h1{font-size:clamp(24px,3vw,34px);font-weight:750}.status-group{gap:5px}.status,.engine-version{background:#12151a;border-radius:6px;min-height:27px;padding-inline:9px;font-size:11px}.engine-version{display:none}.status--online .status__dot{box-shadow:none}.button,.deck-row__actions button,.quantity-control button,.board-slot button,.creature button{box-shadow:none;border-radius:6px;transition:border-color .12s,color .12s,background .12s}.button:hover:not(:disabled),.menu-card:hover:not(:disabled){box-shadow:none;transform:none}.main-menu,.collection-screen,.screen-loading,.screen-error,.lobby-browser,.lobby-room{box-shadow:none;background:#111419;border-color:#2b3038;border-radius:12px}.main-menu{gap:18px;min-height:500px;padding:clamp(24px,4vw,44px)}.main-menu:before,.main-menu:after,.main-menu__crest{display:none}.main-menu__intro h2,.screen-heading h2{font-size:clamp(27px,4vw,38px);font-weight:750}.main-menu__intro p,.screen-heading p{margin-top:5px;font-size:13px}.main-menu__actions{gap:10px;width:min(620px,100%)}.main-menu__wallet{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.main-menu__test-coins{min-height:44px}.main-menu__coin-status,.main-menu__coin-error{font-size:12px;display:block}.main-menu__coin-status{color:#a8cdb0}.main-menu__coin-error{color:#ffb7a5}.main-menu__help{color:#a6a8ad}.quick-rules{color:#cbd0d8;gap:12px;padding-left:22px;line-height:1.6;display:grid}.lobby-identity{color:#cbd0d8;gap:8px;width:min(360px,100%);margin-block:18px;display:grid}.lobby-identity input{min-width:0;min-height:44px;color:inherit;font:inherit;background:#0c1015;border:1px solid #414854;border-radius:6px;padding:10px 12px}.lobby-loadout__hint{color:#e1ca83;grid-column:1/-1;margin:0;font-size:13px}.connection-notice{color:#ffe4a1;background:#302917;border:1px solid #b09145;border-radius:6px;padding:12px 16px}.app-shell--match>.connection-notice{z-index:1200;text-align:center;position:fixed;bottom:8px;left:8px;right:8px}.menu-card,.menu-card--play{background:#181c22;border-radius:8px;align-content:center;gap:5px;min-height:116px;padding:18px;transition:border-color .12s,background .12s}.menu-card--play{background:#2b281c;border-color:#867438;grid-column:1/-1}.menu-card:hover:not(:disabled){background:#1d2128;border-color:#c4a94f}.menu-card>span{display:none}.menu-card>strong{font-family:inherit;font-size:23px;font-weight:800}.menu-card>small{font-size:12px}.collection-screen,.screen-loading,.screen-error,.lobby-browser,.lobby-room{padding:clamp(16px,2.5vw,26px)}.screen-heading{gap:16px;padding-bottom:16px}.collection-section{padding-block:19px}.section-title{margin-bottom:11px}.collection-grid{gap:14px}.deck-library{gap:6px}.deck-row,.lobby-list__room,.lobby-create,.lobby-list,.lobby-loadout,.lobby-player,.ability-builder,.ability-builder__rule,.editor-tabs,.deck-editor__leader,.deck-editor__empty{box-shadow:none;background:#15191f;border-radius:7px}.deck-row{padding:10px}.lobby-browser__layout{gap:12px;margin-top:16px}.lobby-create,.lobby-list,.lobby-loadout{padding:14px}.lobby-create{gap:11px}.lobby-list__empty{border-radius:7px;min-height:130px}.lobby-list__room{padding:10px}.lobby-seats{gap:12px;margin:16px 0 12px}.lobby-player{gap:6px;min-height:170px;padding:16px}.lobby-player.is-ready{box-shadow:none}.lobby-player dl{margin:7px 0}.lobby-player>strong{font-size:23px;font-weight:750}.deck-editor,.card-creator,.modal{background:#12161b;border-radius:10px;box-shadow:0 14px 38px #0000006b}.deck-editor>header,.card-creator>header,.card-creator>footer{padding:14px 18px}.deck-editor__collection,.deck-editor__deck{padding:16px}.editor-collection-grid{gap:16px 12px}.deck-editor__deck{background:#101318}.editor-tabs{gap:3px;padding:3px}.editor-tabs button{border-radius:5px;min-height:48px}.editor-tabs button.is-active{background:#292618}.deck-launcher select,.editor-field input,.editor-field select,.editor-field textarea,.lobby-create input,.lobby-list__room input,.lobby-loadout select,.quantity-control input{background:#181c22;border-radius:6px}.match{box-shadow:none;background:#101318;border-radius:10px}.match:before{display:none}.player-hud{background:#15191f;border-radius:7px}.player-hud--coral.is-active{box-shadow:inset 3px 0 #e46f63}.player-hud--mint.is-active{box-shadow:inset 3px 0 #4ad8ad}.battlefield,.lane,.board-slot,.victory-banner,.error-banner{border-radius:7px}.victory-banner{background:#242113}@media (width<=700px){.app-shell:not(.app-shell--match){padding:9px}.topbar{gap:8px;margin-bottom:9px;padding-bottom:9px}.eyebrow{display:none}h1{font-size:21px}.status{min-height:24px;padding-inline:7px;font-size:9px}.main-menu{gap:13px;min-height:0;padding:18px}.main-menu__actions{grid-template-columns:1fr;gap:7px}.menu-card,.menu-card--play{min-height:82px;padding:13px}.collection-screen,.screen-loading,.screen-error,.lobby-browser,.lobby-room{padding:12px}.screen-heading{padding-bottom:11px}.collection-section{padding-block:14px}.lobby-player{min-height:126px;padding:12px}.lobby-seats{gap:8px;margin-block:11px 8px}}@media (width<=700px) and (orientation:portrait){.app-shell--match .hand--local,.app-shell--match .hand--local.hand--expanded{z-index:120;flex-basis:50px;grid-template-rows:1fr;transition:none}.app-shell--match .hand--local .hand__label{z-index:80;background:#101318;height:44px;position:absolute;bottom:0;left:0;right:0}.app-shell--match .hand--local .hand__cards{z-index:70;position:absolute;bottom:44px;left:0;right:0}.app-shell--match .hand--local.hand--expanded .hand__cards{background:#101318f5;border:1px solid #343943;border-radius:8px 8px 0 0;align-items:flex-end;height:100px;padding:5px 3px 4px;box-shadow:0 -14px 30px #0000007a}.app-shell--match .hand--local.hand--collapsed .hand__cards{height:29px}.app-shell--match .player-hud{grid-template-columns:43px minmax(0,1fr) 38px 68px;gap:3px;height:64px;min-height:64px;padding:0 4px}.app-shell--match .player-hud--mint{grid-template-columns:46px minmax(0,1fr) 38px 68px;height:68px;min-height:68px}.app-shell--match .leader-card{aspect-ratio:auto;grid-template-rows:minmax(0,1fr) auto;align-self:center;gap:0;width:43px;height:60px}.app-shell--match .player-hud--mint .leader-card{width:46px;height:64px}.app-shell--match .leader-card__art{border-radius:3px 3px 0 0;align-self:stretch;width:100%;height:auto;min-height:0}.app-shell--match .leader-card__health{min-width:18px;height:18px;bottom:1px;right:1px}.app-shell--match .player-hud--mint .leader-card>strong{font-size:8px}.app-shell--match .player-hud__piles{grid-template-columns:30px 38px;place-self:center end;width:68px;max-width:68px;height:60px;max-height:60px;display:grid}.app-shell--match .player-hud__piles .stat-pill{align-content:center;height:auto;min-height:0;padding-block:2px;overflow:hidden}.app-shell--match .player-hud__piles .stat-pill--button small{display:none}.app-shell--match .player-hud--mint .stat-pill--deck{text-align:center;min-width:0;padding-inline:1px}.app-shell--match .player-hud--mint .stat-pill--deck small{display:none}.app-shell--match .player-hud--mint .stat-pill--deck span{font-size:6px}.app-shell--match .battlefield{--mobile-battlefield-height:clamp(248px, calc(77vw + 17px), 324px);width:min(330px,92%);height:var(--mobile-battlefield-height);min-height:0;max-height:var(--mobile-battlefield-height);flex:0 0 var(--mobile-battlefield-height);gap:2px;margin-block:auto;padding-block:0}.app-shell--match .lane{grid-template-rows:minmax(0,1fr) 15px minmax(0,1fr)}.app-shell--match .victory-modal{padding:8px}.app-shell--match .victory-banner{z-index:auto;width:min(390px,100%);margin:0;padding:16px;position:relative;top:auto;left:auto;transform:none}}@media (width>=701px){.app-shell--match .player-hud{grid-template-columns:64px minmax(110px,.8fr) minmax(180px,1.4fr) repeat(3,minmax(62px,auto));gap:9px;min-height:92px;padding:4px 10px}.app-shell--match .leader-card{grid-template-rows:minmax(0,1fr) auto;gap:0;width:58px}.app-shell--match .leader-card__art{border-radius:4px 4px 0 0;align-self:stretch;height:auto;min-height:0}.app-shell--match .player-hud__identity strong,.app-shell--match .leader-health strong,.app-shell--match .stat-pill strong{font-size:15px}}@media (width>=701px) and (height<=740px){.app-shell--match .player-hud{grid-template-columns:51px minmax(100px,.8fr) minmax(160px,1.4fr) repeat(3,minmax(56px,auto));gap:7px;min-height:76px}.app-shell--match .leader-card{width:46px}}@media (width>=701px) and (height<=620px){.app-shell--match .player-hud{grid-template-columns:43px minmax(90px,.8fr) minmax(145px,1.4fr) repeat(3,minmax(52px,auto));gap:6px;min-height:64px}.app-shell--match .leader-card{width:38px}}@media (width<=700px) and (orientation:portrait) and (height<=620px){.app-shell--match .player-hud{grid-template-columns:37px minmax(0,1fr) 34px 62px;height:56px;min-height:56px}.app-shell--match .leader-card{width:37px;height:52px}.app-shell--match .player-hud__piles{grid-template-columns:27px 35px;width:62px;max-width:62px;height:52px;max-height:52px}.app-shell--match .hand--local,.app-shell--match .hand--local.hand--expanded{flex-basis:44px}.app-shell--match .hand--local.hand--expanded .hand__cards{height:84px}.app-shell--match .player-hud--mint{grid-template-columns:40px minmax(0,1fr) 34px 62px;height:60px;min-height:60px}.app-shell--match .player-hud--mint .leader-card{width:40px;height:56px}}@media (width<=700px){.collection-screen .screen-heading>div:last-child{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%;display:grid}.collection-screen .screen-heading .button{white-space:normal;width:auto;min-width:0;min-height:38px;padding-inline:4px;font-size:10px;line-height:1.15}.collection-mobile-tabs{z-index:40;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#111419f5;border:1px solid #30353e;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;margin:10px -4px 0;padding:4px;display:grid;position:sticky;top:0}.collection-mobile-tabs button{color:#969ba4;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;min-width:0;min-height:40px;font-weight:800}.collection-mobile-tabs button.is-active{color:#f2dda0;background:#292618;border-color:#756536}.collection-mobile-tabs span{background:#22262d;border-radius:4px;place-items:center;min-width:20px;height:20px;margin-left:4px;font-size:9px;display:inline-grid}.collection-section.is-mobile-hidden{display:none}.collection-section:last-of-type{border-bottom:0}.collection-screen .section-title{flex-wrap:wrap;gap:5px 10px}.collection-grid{grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),210px));justify-content:center;display:grid}.deck-row{grid-template-columns:36px minmax(0,1fr);gap:7px 9px;min-width:0;padding:9px}.deck-row__mark{width:36px;height:44px}.deck-row>div:nth-child(2){min-width:0}.deck-row>div:nth-child(2)>strong,.deck-row>div:nth-child(2)>span{overflow-wrap:anywhere}.deck-validity,.deck-row__actions{grid-column:2;max-width:100%}.deck-row__actions{flex-wrap:wrap}.deck-row__actions button{min-width:64px}.deck-editor{width:calc(100% - 8px);height:calc(100% - 8px);margin:4px}.deck-editor>header{z-index:35;background:#12161b;padding:10px 12px;position:sticky;top:0}.deck-editor>header>div{min-width:0}.deck-editor h2{text-overflow:ellipsis;white-space:nowrap;font-size:23px;overflow:hidden}.deck-editor__collection,.deck-editor__deck{padding:10px}.deck-editor__leader{grid-template-columns:auto minmax(0,1fr) auto}.deck-editor__leader>span,.editor-card-row>div:nth-child(2){min-width:0}.deck-editor__leader strong,.editor-card-row>div:nth-child(2)>strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.ability-builder>header,.ability-builder__rule>header{flex-wrap:wrap}.card-creator{width:calc(100% - 8px);max-height:calc(100% - 8px);padding:14px 12px}}.app-shell--match .battlefield-layout{flex:auto;grid-template-columns:minmax(0,1fr) clamp(168px,16vw,216px);align-self:center;gap:10px;width:min(1280px,98%);min-height:290px;display:grid;position:relative;overflow:hidden}.ability-field-choice{z-index:96;color:#e9e6dc;background:#11141af0;border:1px solid #b59a49;border-radius:9px;align-items:center;gap:7px;max-width:calc(100% - 16px);min-height:34px;padding:5px 7px;display:flex;position:absolute;top:5px;left:50%;transform:translate(-50%);box-shadow:0 7px 24px #00000080}.ability-field-choice>div{gap:1px;min-width:0;display:grid}.ability-field-choice strong,.ability-field-choice span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ability-field-choice strong{color:#ffe291;font-size:10px}.ability-field-choice span{color:#c3c7ce;font-size:9px}.ability-field-choice .button{flex:none;min-height:26px;padding:3px 7px;font-size:9px}.ability-field-choice__fallback--aura{display:none}.leader-card.is-ability-target,.aura-slot.is-ability-target{cursor:pointer;border-color:#ffe084;animation:1.15s ease-in-out infinite alternate ability-target-pulse;box-shadow:inset 0 0 0 2px #ffe08473,0 0 18px #ecc44d7a}.app-shell--match .battlefield-layout>.battlefield{align-self:stretch;width:100%;height:100%;min-height:0;margin:0}.aura-rail{grid-template-rows:minmax(0,1fr) 18px minmax(0,1fr);gap:0;min-width:0;min-height:0;display:grid}.aura-slot-group{grid-template-rows:auto minmax(0,1fr);gap:3px;min-width:0;min-height:0;display:grid}.aura-slot-group>header{color:#808690;letter-spacing:.06em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:5px;min-width:0;padding:0 2px;font-size:7px;display:flex}.aura-slot-group>header span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.aura-slot-group>header strong{color:#d5ba64}.aura-slot-group>div{grid-template-columns:repeat(var(--aura-slot-count,1), minmax(0, 1fr));gap:3px;min-width:0;min-height:0;display:grid}.aura-rail__marker{color:#777e89;letter-spacing:.12em;text-transform:uppercase;place-items:center;font-size:7px;font-weight:900;display:grid}.aura-slot{background:#11151b;border:1px solid #3b414b;border-radius:7px;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;padding:5px;display:grid;overflow:hidden}.aura-slot--coral.is-occupied{border-color:#96544f}.aura-slot--mint.is-occupied{border-color:#3a8d75}.aura-slot.is-aura-drop-target{border-color:#ffe084;box-shadow:inset 0 0 0 1px #ffe08466,0 0 11px #ecc44d52}.aura-slot__card{color:#e8e4d7;cursor:help;background:#1b1d20;border:1px solid #625a40;border-radius:5px;grid-template-rows:minmax(32px,1fr) auto auto auto;gap:2px;min-height:0;padding:4px;display:grid;position:relative;overflow:hidden}.aura-slot__card:focus-visible{border-color:#ffe084;outline:1px solid #ffe084}.aura-slot__art{color:#dec45f;background:radial-gradient(circle,#45422b,#171a20 70%);border-radius:3px;place-items:center;min-height:0;font-size:22px;display:grid;overflow:hidden}.aura-slot__art img{object-fit:cover;width:100%;height:100%;display:block}.aura-slot__card>strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.aura-slot__card>p{color:#aeb4bc;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:7px;line-height:1.2;overflow:hidden}.aura-slot__duration{color:#dac167;font-size:8px;font-weight:900}.aura-slot__empty{color:#626975;text-align:center;border:1px dashed #353b45;border-radius:5px;place-content:center;justify-items:center;gap:3px;min-height:0;padding:5px;display:grid}.aura-slot__empty>span{font-size:22px}.aura-slot__empty>strong{text-transform:uppercase;font-size:8px}.aura-slot__empty>small{font-size:7px;line-height:1.2}.aura-mobile-toggle{display:none}.aura-dialog__slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.aura-dialog__slots .aura-slot-group{min-height:280px}.aura-dialog__slots .aura-slot{padding:5px}.aura-dialog__slots .aura-slot__card{grid-template-rows:minmax(100px,1fr) auto auto auto;padding:8px}.aura-dialog__slots .aura-slot__card>strong{font-size:14px}.aura-dialog__slots .aura-slot__card>p,.aura-dialog__slots .aura-slot__duration{font-size:10px}@media (width>=701px) and (height<=740px){.app-shell--match .battlefield-layout{min-height:270px}}@media (width>=701px) and (height<=620px){.app-shell--match .battlefield-layout{min-height:235px}}@media (width<=700px) and (orientation:portrait){.ability-field-choice{width:min(330px,94vw);top:-34px}.ability-field-choice__fallback--aura{display:inline-flex}.app-shell--match .battlefield-layout{--mobile-battlefield-height:clamp(248px, calc(77vw + 17px), 324px);width:min(330px,92%);height:var(--mobile-battlefield-height);min-height:0;max-height:var(--mobile-battlefield-height);flex:0 0 var(--mobile-battlefield-height);margin-block:auto;display:block;position:relative;overflow:visible}.app-shell--match .battlefield-layout>.battlefield{width:100%;height:100%;max-height:none;margin:0}.app-shell--match .battlefield-layout>.aura-rail{display:none}.aura-mobile-toggle{z-index:95;color:#f0dc91;background:#13161beb;border:1px solid #76683e;border-radius:5px;align-items:center;gap:3px;min-height:24px;padding:0 6px;font-size:8px;font-weight:900;display:flex;position:absolute;top:4px;right:4px;box-shadow:0 4px 12px #00000073}.aura-dialog__slots{grid-template-columns:1fr}.aura-dialog__slots .aura-slot-group{min-height:210px}}@media (width>=701px){.main-menu__actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.collection-card.collection-card--spell{color:#ece9ff;background:radial-gradient(circle at 50% 18%,#ab8bff59,#0000 34%),linear-gradient(150deg,#302852,#151424 68%);border-color:#8473d8}.collection-card--spell .collection-card__taxonomy,.collection-card--spell .collection-card__subtype,.collection-card--spell .collection-card__ability{color:#dad4f5}.card-preview--spell .card-preview__kicker{color:#c9b8ff}.collection-card-item{flex-direction:column;gap:8px;min-width:0;display:flex}.collection-card-item>.collection-card{overflow-wrap:anywhere;flex:none;grid-template-columns:minmax(0,1fr);width:100%;min-width:0}.collection-card-item .collection-card__art{min-width:0;position:relative}.collection-card-item .collection-card__art img{position:absolute;inset:0}.collection-card-item .collection-card>strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.collection-card-item .collection-card__subtype{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.collection-card-item__actions{flex-wrap:wrap;justify-content:space-between;gap:4px;display:flex}.collection-card-item__actions .button{min-height:40px;padding:8px 10px;font-size:12px}.card-delete-layer{z-index:150;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.card-delete-dialog{overflow-wrap:anywhere;background:#171b22;border:1px solid #464957;border-radius:18px;width:min(100%,480px);max-height:calc(100dvh - 32px);padding:24px;position:relative;overflow:auto;box-shadow:0 24px 90px #0009}.card-delete-dialog h2{margin-top:0}.card-delete-dialog p{line-height:1.6}.card-delete-dialog footer{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}@media (width>=1100px){.app-shell--match .player-hud{grid-template-columns:44px minmax(90px,.7fr) minmax(145px,1.2fr) repeat(3,minmax(52px,auto));gap:6px;min-height:66px;padding:3px 8px}.app-shell--match .leader-card{width:40px}.app-shell--match .leader-card__art{height:34px;min-height:34px}.app-shell--match .player-hud__identity span,.app-shell--match .leader-health>span,.app-shell--match .stat-pill span,.app-shell--match .stat-pill--button small{display:none}.app-shell--match .battlefield-layout{grid-template:"objects battlefield auras"minmax(0,1fr)/minmax(150px,190px) minmax(500px,600px) minmax(150px,200px);justify-content:center;gap:10px;width:min(1180px,100%);min-height:clamp(350px,48dvh,490px);overflow:visible}.app-shell--match .battlefield-layout>.battlefield{grid-area:battlefield;min-width:0;max-width:600px}.app-shell--match .battlefield-layout>.aura-rail{grid-area:auras}.app-shell--match .lane{grid-template-rows:minmax(0,1fr) 20px minmax(0,1fr)}.app-shell--match .board-position{min-height:0}.app-shell--match .board-slot{width:clamp(106px,12.5dvh,142px);margin:3px}.app-shell--match .creature,.app-shell--match .death-animation{width:clamp(106px,12.5dvh,142px);margin:3px;transition:transform .15s,border-color .15s,box-shadow .15s}.app-shell--match .creature.is-actions-open{transform:translateY(-17px)}.app-shell--match .creature__actions,.app-shell--match .creature__actions--left{z-index:95;background:#12151afa;border:1px solid #756230;border-radius:7px;grid-template-columns:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:3px;width:max(100%,174px);padding:4px;position:absolute;inset:calc(100% + 4px) auto auto 50%;transform:translate(-50%);box-shadow:0 7px 20px #00000085}.app-shell--match .creature__actions button,.app-shell--match .creature__actions button:only-child{grid-column:auto;justify-content:center;align-items:center;gap:3px;min-height:29px;padding:3px 4px;font-size:11px;line-height:1;display:flex}.app-shell--match .creature__actions button small{text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}}.card-rule-editor{min-width:0}.object-shelf{align-content:center;gap:8px;width:min(220px,18vw);display:grid}.object-shelf section{background:#111722d9;border:1px solid #ffffff24;border-radius:12px;padding:8px}.object-shelf header,.field-object{justify-content:space-between;gap:6px;display:flex}.object-shelf section>div{gap:5px;max-height:150px;display:grid;overflow:auto}.field-object{background:#202a3a;border-left:3px solid #74b9ff;border-radius:6px;flex-direction:column;padding:6px 8px;font-size:11px}.field-object--place{border-left-color:#78e08f}.field-object small{color:#c8d0dc}.field-object__actions{flex-wrap:wrap;gap:4px;display:flex}.field-object__actions button{color:inherit;background:#ffffff10;border:1px solid #ffffff2e;border-radius:5px;padding:3px 5px;font-size:10px}@media (width>=1100px){.app-shell--match .battlefield-layout>.object-shelf{grid-area:objects;grid-template-rows:repeat(2,minmax(0,1fr));align-content:stretch;width:auto;min-width:0;min-height:0}.app-shell--match .object-shelf section{grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid}.app-shell--match .object-shelf section>div{max-height:none}}.card-rule-item{min-width:0}.card-rule-order{justify-content:flex-end;gap:8px;margin-bottom:8px;display:flex}.card-rule-order .button{padding:8px;font-size:12px}.card-rule-editor>.button{margin-top:8px}.card-preview--anchored{z-index:400;height:auto;transition:opacity .12s;overflow:visible;transform:none}.card-preview--anchored .card-preview__card{min-height:0}.card-preview--anchored .card-preview__image{height:auto;min-height:0;max-height:min(360px, calc(var(--card-preview-max-height) * .55));flex:none}.card-preview--anchored .card-preview__image img{width:100%;height:auto;max-height:min(360px, calc(var(--card-preview-max-height) * .55));object-fit:contain}.card-preview--anchored .card-preview__details{overflow-wrap:anywhere;flex:1;min-height:0;overflow:hidden}.card-preview--anchored .card-preview__details h3{font-size:26px;line-height:1.1}.card-preview--anchored .card-preview__details>p{margin:12px 0;font-size:14px}.card-preview--anchored.card-preview--horizontal .card-preview__details{flex:none;overflow:visible}.card-preview--anchored.card-preview--horizontal .card-preview__details>p{-webkit-line-clamp:unset;display:block;overflow:visible}.deck-editor__feedback{color:#bad7bd;min-height:2.8em;margin:0;font-size:12px;line-height:1.4}.card-add-feedback{z-index:5;color:#142214;pointer-events:none;background:#d3f3c4;border:1px solid #c3e8b1;border-radius:24px;padding:8px 18px;font-size:28px;font-weight:800;animation:.85s ease-out both card-added;position:absolute;top:32%;left:50%}.deck-count-feedback{animation:.7s ease-out deck-count-added}@keyframes card-added{0%{opacity:0;transform:translate(-50%,12px)scale(.8)}20%,55%{opacity:1;transform:translate(-50%)scale(1)}to{opacity:0;transform:translate(-50%,-30px)}}@keyframes deck-count-added{20%{color:#d3f3c4;text-shadow:0 0 18px #99d87b}}@media (prefers-reduced-motion:reduce){.card-add-feedback{animation:none;transform:translate(-50%)}.deck-count-feedback{animation:none}.card-preview--anchored{transition:none}}.meme-coins{color:#f5d675;font-variant-numeric:tabular-nums;align-items:center;gap:7px;margin-top:14px;font-size:14px;display:inline-flex}.meme-coins>span{color:#fff0a7;text-shadow:0 0 14px #edc33e8c;font-size:19px;line-height:1}.meme-coins--large{background:#1b1911;border:1px solid #5d502a;border-radius:7px;min-height:38px;margin:0;padding:0 12px;font-size:15px}.shop-screen{background:#111419;border:1px solid #2b3038;border-radius:12px;width:min(1080px,100%);margin:0 auto;padding:clamp(18px,3vw,32px)}.shop-layout{grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr);gap:16px;margin-top:20px;display:grid}.booster-products{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.booster-product,.booster-odds{background:#171b21;border:1px solid #303741;border-radius:10px}.booster-product{grid-template-columns:160px minmax(0,1fr);align-items:center;gap:22px;padding:clamp(18px,3vw,30px);display:grid}.booster-product__pack{color:#fff1b3;letter-spacing:.12em;background:radial-gradient(circle,#ffde664d,#0000 38%),linear-gradient(145deg,#60441c,#191b20 72%);border:2px solid #d8b85a;border-radius:9px;align-content:space-between;justify-items:center;width:145px;min-height:210px;padding:17px 12px;display:grid;box-shadow:inset 0 0 0 5px #ffe07117}.booster-product__pack strong{color:#fff7cf;letter-spacing:-.08em;font:900 48px/1 Georgia,serif}.booster-product__pack small{color:#d7c88b;font-size:9px}.booster-product h3,.booster-odds h3{margin:4px 0 8px;font-size:22px}.booster-product p,.booster-odds p{color:#aeb4bd;margin:0;font-size:14px;line-height:1.5}.booster-product__buy{margin-top:16px}.booster-product__odds{color:#d2bd77;margin-top:9px;font-size:12px;line-height:1.45;display:block}.shop-muted{color:#e88989;margin-top:8px;display:block}.booster-odds{padding:20px}.booster-odds ul{gap:7px;margin:15px 0 13px;padding:0;list-style:none;display:grid}.booster-odds li{border-bottom:1px solid #2c323b;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.booster-odds li strong{color:#dde1e7;font-variant-numeric:tabular-nums}.booster-odds>small{color:#d7bd68;font-size:12px;line-height:1.4;display:block}@media (width<=700px){.shop-screen{padding:16px}.shop-screen .screen-heading>div:last-child{align-items:center;gap:8px;display:flex}.meme-coins--large{min-height:32px;padding-inline:8px;font-size:12px}.shop-layout,.booster-products{grid-template-columns:1fr}.booster-product{grid-template-columns:104px minmax(0,1fr);gap:14px;padding:16px}.booster-product__pack{width:98px;min-height:150px;padding:12px 7px;font-size:10px}.booster-product__pack strong{font-size:36px}.booster-product h3,.booster-odds h3{font-size:19px}}.app-shell--match .match__meta strong{font-family:inherit}.board-position.is-locked:not(.is-position-action):not(.is-ability-target){box-shadow:none;border-color:#353b44}@media (width>=701px) and (height<=620px){.app-shell--match .match{overflow-y:auto}.app-shell--match .match>*{flex-shrink:0}.app-shell--match .match__meta{z-index:60;background:#111419;padding-block:8px;position:sticky;top:0}.app-shell--match .battlefield-layout{flex:0 0 280px;min-height:280px}.app-shell--match .hand--local{flex:0 0 150px;min-height:150px}}:is(button,input,select,textarea,[tabindex="0"]):focus-visible{outline-offset:3px;outline:3px solid #ffe084}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.ability-builder__section{border:1px solid var(--line,#ffffff20);border-radius:10px;min-width:0;margin:12px 0;padding:12px}.ability-builder__section legend{padding:0 6px;font-weight:650}.ability-builder__hint{color:var(--muted,#adb4c5);font-size:12px;line-height:1.5}.ability-builder__row{align-items:end;gap:8px;margin-bottom:8px;display:flex}.ability-builder__row .editor-field{flex:1;min-width:0}.ability-builder__order{gap:6px;margin:6px 0 12px;display:flex}.ability-builder__order button{min-width:36px;min-height:36px}.ability-builder__target{border-bottom:1px solid #ffffff15;margin-bottom:10px;padding:10px 0}.ability-builder__types{border:0;flex-wrap:wrap;grid-column:1/-1;gap:12px;min-width:0;padding:8px 0;display:flex}.ability-builder__types label{align-items:center;gap:6px;min-height:36px;display:flex}.ability-builder__types input{width:18px;height:18px}.ability-builder__section>button{min-height:36px;margin-top:8px}@media (width<=480px){.collection-grid{grid-template-columns:1fr}.ability-builder__row{flex-wrap:wrap}.ability-builder__section{padding:8px}}.ability-builder__order button,.ability-builder__section>button{color:#dbe2ef;font:inherit;cursor:pointer;background:#ffffff08;border:1px solid #ffffff26;border-radius:7px;padding:6px 10px;font-size:12px}.ability-builder__order button:disabled,.ability-builder__section>button:disabled{opacity:.4;cursor:default}.ability-builder__order button:focus-visible,.ability-builder__section>button:focus-visible{outline-offset:2px;outline:2px solid #e2be6a}.ability-choice-layer{z-index:1500;padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));place-items:center;display:grid;position:fixed;inset:0}.ability-choice-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000ad;position:absolute;inset:0}.ability-choice-dialog{color:#edf0f5;background:#151a21;border:1px solid #89743c;border-radius:14px;grid-template-rows:auto minmax(0,1fr) auto;gap:18px;width:min(520px,100%);min-width:0;max-height:calc(100dvh - 32px);padding:clamp(16px,4vw,26px);display:grid;position:relative;box-shadow:0 24px 90px #0009}.ability-choice-dialog h2{overflow-wrap:anywhere;margin:6px 0 10px;font-size:22px}.ability-choice-dialog p{color:#bbc3d0;margin:0;font-size:14px;line-height:1.5}.ability-choice-dialog__choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:54px;padding:3px;display:grid;overflow-y:auto}.ability-choice-dialog__choices .button{white-space:normal;overflow-wrap:anywhere;gap:4px;min-width:0;height:auto;min-height:54px;padding:12px;font-size:14px;line-height:1.35;display:grid}.ability-choice-dialog__choices .button span{font-size:12px;font-weight:400}.ability-choice-dialog footer{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.ability-choice-dialog footer small{color:#a9b2c1;font-size:12px}.ability-choice-dialog .button:focus-visible{outline-offset:1px;outline:2px solid #efd579}@media (width<=380px){.ability-choice-dialog__choices{grid-template-columns:minmax(0,1fr)}}@media (height<=450px){.ability-choice-dialog{gap:10px;padding:14px}.ability-choice-dialog h2{margin:2px 0 4px;font-size:18px}}.collection-filters{flex-wrap:wrap;align-items:end;gap:10px;margin:14px 0 20px;display:flex}.collection-filters label{color:#acb2bd;flex:130px;gap:5px;min-width:0;font-size:12px;display:grid}.collection-filters label:first-child{flex-basis:210px}.collection-filters input,.collection-filters select{color:#f0efe8;width:100%;min-width:0;min-height:40px;font:inherit;background:#1b2028;border:1px solid #3c4450;border-radius:7px;padding:8px}.collection-economy{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.scraps-balance{color:#a9e8db;font-variant-numeric:tabular-nums}.collection-empty{text-align:center;color:#bbc3d0;padding:24px}.collection-card.is-unowned{filter:saturate(.28);border-style:dashed}.collection-card.is-unowned .collection-card__art{opacity:.65}.collection-card-item__actions>button{color:#d9dde3;cursor:pointer;background:#20252d;border:1px solid #424853;border-radius:6px;min-height:36px;padding:7px 10px;font-size:12px}.collection-card-item__actions .collection-scrap-button,.collection-card-item__actions .collection-craft-button{color:#b1eadf;border-color:#426f68;flex:calc(50% - 4px)}.collection-card-item__actions .collection-scrap-button:disabled,.collection-card-item__actions .collection-craft-button:disabled{cursor:not-allowed;opacity:.42}.unique-tag-toggle{color:#e7d5a2;align-items:center;gap:10px;font-size:14px;display:flex}.structured-rule-editor{gap:12px;display:grid}.structured-rule-editor__node,.structured-rule-editor__array{background:#08181b59;border:1px solid #84c6b53d;border-radius:12px;min-width:0;margin:8px 0;padding:12px}.structured-rule-editor__node>summary,.structured-rule-editor__array>summary{color:#b9e9dd;cursor:pointer;-webkit-user-select:none;user-select:none;margin:-4px 0;padding:6px;font-weight:700}.structured-rule-editor__node[open]>summary,.structured-rule-editor__array[open]>summary{border-bottom:1px solid #84c6b529;margin-bottom:10px}.structured-rule-editor__node>summary::marker{color:#70c7b2}.structured-rule-editor__array>summary::marker{color:#70c7b2}.structured-rule-editor__array-item{gap:6px;margin-bottom:8px;display:grid}.structured-rule-editor__checks{flex-wrap:wrap;gap:8px 14px;display:flex}.structured-rule-editor__activation-limit{background:#0b2a2e6b;border:1px solid #70c7b24d;border-radius:10px;grid-template-columns:minmax(150px,.7fr) minmax(180px,1fr);gap:10px 14px;margin:10px 0;padding:12px;display:grid}.structured-rule-editor__activation-limit>strong{color:#c8eee5;grid-column:1/-1}@media (width<=680px){.structured-rule-editor__activation-limit{grid-template-columns:1fr}}.structured-rule-editor__checks label,.rule-field-label{align-items:center;gap:6px;display:inline-flex}.rule-field-help{color:#a7ded1;cursor:help;text-transform:none;border:1px solid #70c7b285;border-radius:50%;flex:0 0 16px;place-items:center;width:16px;height:16px;min-height:16px;padding:0;font-size:11px;font-weight:900;line-height:1;display:inline-grid;position:relative}.rule-field-help:after{z-index:80;color:#e0f5f0;content:attr(data-help);opacity:0;pointer-events:none;text-align:left;text-transform:none;visibility:hidden;white-space:normal;background:#102b30;border:1px solid #70c7b285;border-radius:8px;width:min(300px,70vw);padding:8px 10px;font-size:12px;font-weight:500;line-height:1.4;transition:opacity .12s,transform .12s;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%,-4px);box-shadow:0 8px 24px #00000061}.rule-field-help:hover:after,.rule-field-help:focus:after{opacity:1;visibility:visible;transform:translate(-50%)}.rule-field-help:focus-visible{outline-offset:2px;outline:2px solid #70c7b2}.unique-tag-toggle input{accent-color:#d5bd79;width:20px;height:20px}.is-unique-card{outline-offset:3px;outline:2px solid #c9af72;box-shadow:0 0 0 5px #183c44,0 0 22px #b4e4d32e}.is-unique-card:before{content:"";pointer-events:none;z-index:2;border-radius:inherit;clip-path:polygon(0 0,24% 0,24% 3%,3% 3%,3% 24%,0 24%,0 0,100% 0,100% 24%,97% 24%,97% 3%,76% 3%,76% 0,100% 0,100% 100%,76% 100%,76% 97%,97% 97%,97% 76%,100% 76%,100% 100%,0 100%,0 76%,3% 76%,3% 97%,24% 97%,24% 100%,0 100%);border:1px solid #f2dc9eaa;position:absolute;inset:5px}.unique-card-mark{z-index:4;color:#fff0bb;white-space:nowrap;background:#22413f;border-radius:9px;padding:3px 6px;font-size:9px;font-weight:800;position:absolute;top:8px;left:50%;transform:translate(-50%)}.scrap-dialog-layer{z-index:160;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.scrap-dialog{overflow-wrap:anywhere;background:#131c21;border:1px solid #43675f;border-radius:16px;flex-direction:column;gap:12px;width:min(540px,100%);max-height:calc(100dvh - 24px);padding:24px;display:flex;position:relative;overflow:auto;box-shadow:0 24px 90px #000a}.scrap-dialog h2{margin:8px 0;font-size:25px}.scrap-dialog p{margin:0;line-height:1.6}.scrap-dialog footer{background:#131c21;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:12px 0;display:flex;position:sticky;bottom:-24px}.scrap-list{max-height:230px;margin:0;padding:0;list-style:none;overflow:auto}.scrap-list li{border-bottom:1px solid #304049;justify-content:space-between;gap:10px;padding:9px 0;font-size:13px;display:flex}.scrap-price,.scrap-result{color:#b7f1d8}.scrap-celebration{justify-content:center;align-items:center;gap:8px;min-height:160px;padding:14px;display:flex;position:relative;overflow:hidden}.scrap-fragment{min-width:0;height:125px;animation:scrap-dissolve 1.1s var(--scrap-delay,0s) ease-in both;background:#263c40;border:2px solid #b8a987;border-radius:9px;flex:0 90px;place-items:center;display:grid;position:relative}.scrap-fragment img{object-fit:cover;border-radius:inherit;width:100%;height:100%;position:absolute;inset:0}.scrap-fragment strong{color:#fff;text-align:center;background:#111b;align-self:end;padding:5px;font-size:10px;position:relative}.scrap-fragment>span{color:#c2fae9;font-size:36px}.scrap-fragment--rare{border-color:#74baff}.scrap-fragment--epic{border-color:#bd8cff}.scrap-fragment--legendary{border-color:#ffc060}.scrap-fragment--mythic{border-color:#ff8099}.scrap-spark{color:#adffe5;font-size:70px;animation:1.2s ease-out both scrap-sparks;position:absolute}.scrap-celebration--craft .scrap-fragment{animation:.9s ease-out both scrap-forge}@keyframes scrap-dissolve{0%,15%{opacity:1;transform:translateY(0)rotate(0)}45%{filter:brightness(2);clip-path:polygon(0 0,100% 0,100% 100%,0 100%);transform:translateY(-8px)rotate(-5deg)}to{opacity:0;filter:brightness(3)blur(3px);clip-path:polygon(30% 20%,70% 0,100% 65%,0 100%);transform:translateY(45px)rotate(12deg)scale(.3)}}@keyframes scrap-sparks{0%,25%{opacity:0;transform:scale(.3)}50%{opacity:1}to{opacity:0;transform:scale(2.4)rotate(80deg)}}@keyframes scrap-forge{0%{opacity:0;filter:brightness(3);transform:scale(.65)}to{opacity:1;filter:brightness();transform:scale(1)}}.unique-play-effect{--unique-rarity:#dfd7bb;z-index:110;border:2px solid var(--unique-rarity);color:#fff0ba;text-align:center;pointer-events:none;background:#11222aee;border-radius:24px;place-items:center;gap:12px;width:min(280px,65vw);padding:26px 18px;animation:1.4s ease-out both unique-arrival;display:grid;position:fixed;top:38%;left:50%}.unique-play-effect--rare{--unique-rarity:#71baff}.unique-play-effect--epic{--unique-rarity:#c392ff}.unique-play-effect--legendary{--unique-rarity:#ffc268}.unique-play-effect--mythic{--unique-rarity:#ff799b}.unique-play-effect>span{letter-spacing:.2em;font-size:10px}.unique-play-effect>strong{font-size:22px}.unique-play-effect img{object-fit:cover;border-radius:12px;width:100%;max-height:130px}.unique-play-effect__ring{border:1px solid var(--unique-rarity);border-radius:32px;animation:1.3s ease-out both unique-ring;position:absolute;inset:-18px}.unique-play-effect__rays{z-index:-1;background:repeating-conic-gradient(from 15deg,#0000 0deg 20deg,#c1fae329 22deg 25deg);border-radius:50%;animation:1.4s ease-out both unique-ring;position:absolute;inset:-55px}@keyframes unique-arrival{0%{opacity:0;transform:translate(-50%,-50%)scale(.65)}25%,65%{opacity:1;box-shadow:0 0 50px var(--unique-rarity);transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-60%)scale(1.06)}}@keyframes unique-ring{0%{opacity:1;transform:scale(.7)rotate(-8deg)}to{opacity:0;transform:scale(1.3)rotate(12deg)}}@media (width<=600px){.collection-filters{gap:8px}.collection-filters label{flex-basis:42%}.collection-filters label:first-child{flex-basis:100%}.scrap-dialog{padding:18px}.scrap-dialog footer{bottom:-18px}}@media (prefers-reduced-motion:reduce){.scrap-fragment,.scrap-spark,.unique-play-effect,.unique-play-effect__ring,.unique-play-effect__rays{animation:none}.scrap-spark,.unique-play-effect__ring,.unique-play-effect__rays{display:none}.unique-play-effect{box-shadow:0 0 12px var(--unique-rarity);transform:translate(-50%,-50%)}}.auth-screen{place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.auth-panel{background:#11141a;border:1px solid #343942;border-radius:16px;gap:16px;width:min(100%,440px);padding:clamp(20px,5vw,36px);display:grid}.auth-panel h1,.auth-panel p{margin:0}.auth-panel h1{font-size:clamp(26px,6vw,34px)}.auth-panel p,.auth-panel small{color:#aaaeb6;line-height:1.5}.auth-panel label{gap:8px;font-size:14px;display:grid}.auth-panel input{color:#f4f2eb;width:100%;min-width:0;min-height:44px;font:inherit;background:#1b2028;border:1px solid #404754;border-radius:7px;padding:10px 12px}.auth-panel input:focus-visible{outline-offset:2px;outline:2px solid #e5c65a}.auth-tabs{border:0;gap:6px;min-width:0;margin:0;padding:0;display:flex}.auth-tabs button{color:#aaaeb6;min-height:44px;font:inherit;cursor:pointer;background:0 0;border:1px solid #404754;border-radius:7px;flex:1}.auth-tabs button[aria-pressed=true]{color:#f5d779;background:#2a2619;border-color:#82703a}.auth-panel .auth-error{color:#f3a0a0}.account-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;display:flex}.account-bar>div{gap:5px;min-width:0;display:grid}.account-name{overflow-wrap:anywhere;font-size:20px}.status-eternal{color:#ffe2a3;flex-shrink:0;margin-left:4px;font-size:.9em}.card-preview__flavour{color:#c7cddd;overflow-wrap:anywhere;white-space:pre-wrap;background:#11141af5;border:1px solid #817453b8;border-radius:12px;flex-shrink:0;margin:0;padding:11px 15px;font-family:Georgia,Times New Roman,serif;font-size:12px;line-height:1.5;box-shadow:0 14px 38px #0000007a}.card-preview--rare .card-preview__flavour{border-color:#5894ceb8}.card-preview--epic .card-preview__flavour{border-color:#9a63ceb8}.card-preview--legendary .card-preview__flavour{border-color:#e09640b8}.card-preview--mythic .card-preview__flavour{border-color:#df5367b8}@media (height<=600px){.card-preview__image,.card-preview__image img,.card-preview--anchored .card-preview__image,.card-preview--anchored .card-preview__image img{height:74px;max-height:74px}.card-preview__image{flex-basis:74px}.card-preview__image>span{padding:0}.card-preview:not(.card-preview--spell) .card-preview__details{padding-bottom:42px}.card-preview__details>p{margin-top:7px;font-size:11px;line-height:1.3}.card-preview__frame-stats b{border-width:2px;width:38px;height:38px;font-size:18px}}
