:root{color-scheme:dark;--bg:#080d1b;--panel:#101a31;--panel2:#15223d;--line:#2b3956;--fg:#f3f7ff;--muted:#a5b2ce;--blue:#63b5ff;--gold:#ffd58a;--good:#61dfb5;--bad:#ff7d91;--radius:18px;--shadow:0 16px 50px rgba(0,0,0,.3)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 75% -25%,#202954 0,transparent 45%),radial-gradient(ellipse at -30% 50%,#11294d 0,transparent 42%),var(--bg);font:15px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--fg);min-width:280px}button,input,select{font:inherit}button{cursor:pointer;border:0;color:inherit}button:disabled{cursor:not-allowed;opacity:.46}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:3px}button:not(:disabled):active{transform:translateY(1px)}a{color:var(--blue)}.app{max-width:1200px;margin:auto;padding:18px 20px 100px}.top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}.brand{display:flex;align-items:center;gap:10px;min-width:0;white-space:nowrap}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#81d5ff,#6977ef);display:grid;place-items:center;color:#071222;font-size:25px;font-weight:1000;box-shadow:0 5px 25px #418ee066}.brand strong{font-size:19px;letter-spacing:1.5px;font-weight:1000}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:2px;font-weight:700}.wallet{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.wallet span{background:#1a2844;border:1px solid #34415a;border-radius:30px;padding:7px 10px;font-size:12px;white-space:nowrap}.wallet b{color:var(--gold)}.desktop-nav{display:flex;gap:7px;padding:7px;background:#111c33;border:1px solid var(--line);border-radius:17px;margin-bottom:22px}.desktop-nav button{flex:1;border-radius:11px;background:transparent;padding:11px 7px;color:var(--muted);font-weight:800;font-size:12px}.desktop-nav button.current,.desktop-nav button:hover{background:#263e63;color:white}.mobile-nav{display:none}.eyebrow{color:#8ac5ff;text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:900}.hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#152c55,#18204c 58%,#493870);border:1px solid #465987;border-radius:27px;padding:29px;min-height:260px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(200px,.9fr);align-items:center}.hero:before{content:"";position:absolute;width:360px;height:360px;right:4%;top:-70px;background:radial-gradient(circle,#6c9ce245,transparent 62%)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(27px,4vw,50px);line-height:1.04;letter-spacing:-2px;margin:10px 0 14px;font-weight:1000}h2{font-size:23px;letter-spacing:-.7px;margin-bottom:6px}h3{font-size:16px;margin-bottom:8px}.muted{color:var(--muted)}.hero p{max-width:430px;color:#c5d5ed}.hero-art{position:relative;display:grid;place-items:center;min-height:220px}.hero-art .creature-art{width:min(100%,300px);height:auto;filter:drop-shadow(0 15px 24px #030b2688)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 17px;border-radius:12px;background:#263a5b;border:1px solid #3d5477;font-weight:850;font-size:13px;text-align:center}.btn.primary{background:linear-gradient(120deg,#85d7ff,#788bfc);border-color:transparent;color:#08132b;box-shadow:0 4px 24px #74aaff44}.btn.secondary{background:#172744}.btn.gold{background:linear-gradient(125deg,#ffe5a3,#dca251);color:#271606;border-color:transparent}.btn.danger{color:#ffb4bf;border-color:#744356;background:#3b2037}.btn.ghost{border-color:transparent;background:transparent;color:var(--muted)}.btn.small{min-height:35px;padding:7px 11px;font-size:12px}.btn:disabled{box-shadow:none}.actions{display:flex;gap:9px;flex-wrap:wrap}.section-row{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:24px 0 13px}.section-row .muted{margin:0;font-size:12px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{background:linear-gradient(170deg,#17243e,#101a2e);border:1px solid #2b3d5c;border-radius:19px;padding:18px;min-width:0}.panel.soft{background:linear-gradient(160deg,#18253f,#111a2d)}.stat{font-size:27px;font-weight:950;line-height:1.1;margin-bottom:6px}.stat-label{font-size:12px;color:var(--muted)}.pill{display:inline-flex;gap:5px;align-items:center;border-radius:30px;background:#273957;border:1px solid #3b5274;padding:5px 9px;font-weight:850;font-size:10px;white-space:nowrap}.pill.gold{background:#4c3c25;color:#ffe09b;border-color:#79613a}.pill.good{color:var(--good);background:#1e4844;border-color:#32675e}.pill.red{color:#ffbdca;background:#4d2938;border-color:#854253}.stat-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.progress{height:9px;border-radius:40px;background:#050b18;overflow:hidden;border:1px solid #3c4c63}.progress>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5abcf9,#8689ff);width:0}.progress.hp>i{background:linear-gradient(90deg,#3cd5a2,#a0f5a2)}.progress.energy>i{background:linear-gradient(90deg,#ffba56,#ffe69a)}.creature-card{--type:#70b8ff;--type2:#5752ac;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 20%,color-mix(in srgb,var(--type) 25%,transparent),transparent 65%),linear-gradient(160deg,#1c2943,#0e172a);border:1px solid color-mix(in srgb,var(--type) 42%,#445069);border-radius:20px;padding:12px;min-width:0;transition:transform .15s,border-color .15s}.creature-card.clickable:hover{transform:translateY(-3px);border-color:var(--type)}.creature-card.missing{filter:saturate(.4);opacity:.65}.card-head,.card-foot{display:flex;justify-content:space-between;align-items:center;gap:6px}.card-head strong{font-size:13px;letter-spacing:.4px}.card-art{height:174px;display:grid;place-items:center;margin:5px 0 7px;position:relative}.card-art:after{content:"";position:absolute;bottom:3px;width:66%;height:13px;border-radius:50%;background:#050c2099;filter:blur(5px)}.creature-art{display:block;width:100%;height:100%;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 13px 12px #0006)}.card-name{font-size:17px;font-weight:950;letter-spacing:.2px}.card-desc{font-size:11px;color:#b9c7df;min-height:34px;margin:4px 0}.card-foot{margin-top:10px}.type-dot{display:inline-block;height:9px;width:9px;border-radius:50%;background:var(--type)}.card-locked{font-size:38px;text-align:center;margin:55px 0 45px;color:#77829c}.card-hover{border:0;background:transparent;text-align:left;width:100%;padding:0}.card-hover:focus-visible{border-radius:15px}.locked-label{color:var(--muted);font-size:12px}.squad-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.squad-slot{background:#101b31;border:1px dashed #586584;border-radius:17px;padding:11px;min-width:0}.squad-slot .card-art{height:112px}.squad-slot h3{margin-bottom:0}.squad-slot .btn{width:100%;margin-top:9px}.region{display:flex;gap:13px;align-items:center;padding:15px;background:linear-gradient(110deg,#152641,#182747);border:1px solid #364968;border-radius:17px;margin-bottom:12px}.region-index{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#345175;font-size:19px;font-weight:950;flex-shrink:0}.stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:13px 0 24px}.stage{border:1px solid #354666;border-radius:16px;padding:13px;background:#131f36;text-align:left;min-width:0;min-height:130px}.stage.selected{border-color:#9accff;background:#203858}.stage.locked{opacity:.47}.stage .num{font-weight:950;font-size:11px;color:var(--blue)}.stage strong{display:block;font-size:14px;margin:9px 0 5px}.stars{color:var(--gold);letter-spacing:1px;font-size:13px}.battle-shell{background:radial-gradient(circle at 50% 6%,#354b86,#18284a 43%,#0c172c 90%);border:1px solid #50628a;border-radius:25px;padding:17px;overflow:hidden}.battle-field{display:grid;grid-template-columns:1fr 1fr;gap:13px;min-height:330px}.fighter{min-width:0;background:#101a30ad;border:1px solid #537091;border-radius:19px;padding:13px;position:relative}.fighter.enemy{background:#251b38ad;border-color:#805d8b}.fighter .card-art{height:175px;margin:1px 0}.fighter .creature-art{max-width:220px;margin:auto}.fighter .fighter-name{font-weight:950;font-size:19px}.fighter .metrics{font-size:11px;color:#d5dff0;display:flex;justify-content:space-between;margin:8px 0 3px}.combat-actions{margin-top:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.move{border:1px solid #3d577e;border-radius:13px;padding:12px;background:#1a2b48;text-align:left;min-height:64px;display:flex;justify-content:space-between;gap:8px;align-items:center}.move strong{font-size:13px}.move small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.move .cost{color:var(--gold);font-weight:950;font-size:12px}.battle-log{padding:12px 14px;background:#091426;border:1px solid #2b3e60;border-radius:13px;font-size:12px;color:#c5d2e9;margin-top:12px;min-height:65px}.battle-log p{margin:0 0 4px}.reserve{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 4px}.reserve button{background:#273b5e;border:1px solid #4a5f84;border-radius:10px;padding:8px 11px;font-size:12px;font-weight:850;min-height:42px}.reserve button.active{background:#3f5482;border-color:#a4cdff}.combat-status{display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap;align-items:center;margin-bottom:14px}.filterbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.filterbar .btn.active{background:#334e75;border-color:#9bbbe5}.search{min-height:44px;background:#15233d;border:1px solid #3d516f;color:var(--fg);padding:10px 13px;border-radius:12px;min-width:0;flex:1}.pack{max-width:430px;margin:auto;text-align:center;padding:20px;background:radial-gradient(circle at 50% 30%,#4e5baf,#222a52 48%,#121c32 80%);border:1px solid #556ca0;border-radius:26px}.pack-art{width:170px;height:230px;border:2px solid #bdcbff;border-radius:18px;margin:18px auto;display:grid;place-items:center;background:linear-gradient(140deg,#305aa0,#5e44a0 55%,#1b315c);box-shadow:0 16px 30px #0007;transform:rotate(-4deg);position:relative;overflow:hidden}.pack-art:before{content:"";position:absolute;inset:-40px;background:repeating-linear-gradient(45deg,transparent 0 19px,#ffffff13 20px 24px)}.pack-art strong{font-size:62px;font-weight:1000;position:relative;line-height:1;color:#d8efff}.pack-art small{position:absolute;bottom:30px;font-weight:950;letter-spacing:3px;color:white}.modal-wrap{position:fixed;inset:0;z-index:30;overflow:auto;background:#050a18d9;display:flex;align-items:flex-start;justify-content:center;padding:24px 12px}.modal{width:min(580px,100%);margin:auto;background:linear-gradient(150deg,#1b2946,#10182b);border:1px solid #6380a4;border-radius:25px;padding:21px;box-shadow:var(--shadow)}.modal .closer{float:right;background:#304360;border-radius:9px;padding:7px 11px;min-height:38px}.detail-top{display:grid;grid-template-columns:180px 1fr;gap:18px;align-items:center}.detail-art{height:225px;border-radius:20px;display:grid;place-items:center;background:radial-gradient(circle at 50% 40%,color-mix(in srgb,var(--type) 35%,transparent),transparent 65%),#101f3c}.detail-art svg{height:200px}.feature-row{display:flex;justify-content:space-between;gap:9px;border-bottom:1px solid #33435f;padding:8px 0;font-size:12px}.feature-row span:last-child{font-weight:850}.pack-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}.pack-results .card-art{height:110px}.pack-results .creature-card{padding:7px}.pack-results .card-name{font-size:12px}.pack-results .card-desc{min-height:0}.toast{position:fixed;z-index:90;bottom:84px;left:50%;transform:translateX(-50%);padding:12px 18px;max-width:min(430px,calc(100% - 24px));text-align:center;background:#264867;border:1px solid #8dc5f4;border-radius:13px;color:white;box-shadow:var(--shadow);font-weight:750;font-size:12px;pointer-events:none}.boot{text-align:center;padding:100px 10px;font-size:25px;font-weight:950}.boot small{display:block;font-size:13px;margin-top:15px}.tiny{font-size:11px}.divider{height:1px;background:#3c4b67;margin:18px 0}.full{width:100%}.empty{text-align:center;padding:24px;color:var(--muted)}.notif{border-left:3px solid #79baff;background:#1a2945;padding:11px 14px;border-radius:8px;font-size:12px}.rarity-1{color:#c5d5e9}.rarity-2{color:#8ddfd0}.rarity-3{color:#b7adff}.rarity-4{color:#ffcd84}.onboarding{max-width:930px;margin:24px auto}.starter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:20px 0}.starter-grid .creature-card{min-width:0}.starter-grid .card-art{height:185px}.onboarding h1{max-width:720px}.onboarding .hero{display:block}.danger-zone{border-color:#664153;background:#261827}.credits{font-size:11px;color:#8fa2be;text-align:center;margin:25px 0 0}.milestone{display:flex;gap:9px;align-items:start;margin:10px 0;font-size:13px}.milestone .tick{color:#7ce5b2}.badge-count{font-weight:900;color:var(--gold)}@keyframes appear{from{opacity:.3;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.pack-results .creature-card{animation:appear .45s ease both}.pack-results .creature-card:nth-child(2){animation-delay:.1s}.pack-results .creature-card:nth-child(3){animation-delay:.2s}@media(max-width:800px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stages{grid-template-columns:repeat(2,minmax(0,1fr))}.app{padding:13px 12px 102px}.desktop-nav{display:none}.mobile-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;position:fixed;left:0;right:0;bottom:0;z-index:20;background:#0e182af5;border-top:1px solid #405070;padding:7px 5px calc(7px + env(safe-area-inset-bottom));backdrop-filter:blur(15px)}.mobile-nav button{padding:7px 1px;border-radius:10px;background:transparent;color:#97a8c5;font-weight:800;font-size:10px;min-width:0;min-height:42px}.mobile-nav button.current{background:#263d63;color:#dff1ff}.mobile-nav button .nav-ico{display:block;font-size:19px;line-height:1.3}.hero{padding:23px;grid-template-columns:1fr 140px}.hero-art{min-height:180px}.hero-art .creature-art{width:175px}}@media(max-width:520px){.brand strong{font-size:14px}.brand small{font-size:8px}.brand-mark{width:32px;height:32px;font-size:19px}.wallet span{font-size:10px;padding:5px 7px}.top{gap:5px}.hero{grid-template-columns:1fr;min-height:0}.hero-art{height:175px;min-height:175px;margin-top:2px;position:absolute;right:4px;top:14px;width:140px;opacity:.68}.hero>div:first-child{position:relative;z-index:2}.hero p{max-width:230px}.hero h1{max-width:250px;font-size:31px}.grid{gap:9px}.panel{padding:13px}.grid.two{grid-template-columns:1fr}.card-art{height:130px}.card-name{font-size:14px}.card-desc{font-size:10px;min-height:32px}.creature-card{padding:9px}.squad-list{gap:6px}.squad-slot{padding:5px}.squad-slot .card-art{height:90px}.squad-slot h3{font-size:11px}.squad-slot .btn{padding:5px;font-size:10px}.battle-shell{padding:10px;border-radius:17px}.battle-field{gap:7px;min-height:230px}.fighter{padding:8px}.fighter .card-art{height:125px}.fighter .fighter-name{font-size:14px}.fighter .metrics{font-size:10px}.combat-actions{gap:7px}.move{padding:9px;min-height:69px}.move strong{font-size:11px}.detail-top{grid-template-columns:105px 1fr;gap:12px}.detail-art{height:145px}.detail-art svg{height:130px}.modal{padding:13px}.pack-results .card-art{height:82px}.starter-grid{gap:7px}.starter-grid .card-art{height:115px}.starter-grid .card-desc{display:none}.starter-grid .card-name{font-size:13px}.starter-grid .btn{font-size:11px;padding:8px 3px}.stat{font-size:22px}}@media(max-width:340px){.wallet{gap:3px}.wallet span{font-size:9px}.brand strong{font-size:13px}.hero-art{opacity:.45}.battle-field{gap:4px}.fighter .card-art{height:110px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* V3 — arena and metagame */
.mission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.mission{border:1px solid #3b5473;border-radius:16px;background:linear-gradient(145deg,#172946,#111c33);padding:14px;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.mission strong{font-size:16px;margin:6px 0}.mission p{margin:0 0 14px;flex:1}.mission .btn{align-self:stretch}
.relic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.relic{display:flex;align-items:flex-start;gap:12px;border-radius:17px;border:1px solid #455a7b;background:linear-gradient(120deg,#172942,#101a2d);padding:15px;min-width:0}
.relic.selected{background:linear-gradient(120deg,#283957,#24304e);border-color:#ffd58a}.relic strong{font-size:14px;display:block}.relic p{margin:7px 0 12px}
.relic-icon{flex-shrink:0;display:grid;place-items:center;width:42px;height:42px;border:1px solid #b99160;border-radius:11px;color:#ffdda2;font-size:26px;background:radial-gradient(circle at 30% 20%,#80613e,#2f2c40)}
.battle-tactics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:9px 0 0}
.battle-tactics>div{background:#0e192e;border:1px solid #385073;border-radius:13px;padding:11px;min-width:0}
.battle-tactics .intent{background:#2b2136;border-color:#9e6c8a}
.battle-tactics strong{display:block;margin:4px 0;font-size:14px}.battle-tactics small{display:block;color:#b6c5dc;font-size:11px;line-height:1.4}
.arena-note{padding:11px 14px;color:#ffdfa2;background:#362d36;border-left:3px solid #e7b77b;border-radius:7px;font-size:13px}
.battle-shell:has(.battle-tactics) .fighter.enemy{background:linear-gradient(135deg,#252342ba,#39203aa3)}
@media(max-width:720px){.mission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.relic-grid{grid-template-columns:1fr}}
@media(max-width:390px){.battle-tactics{grid-template-columns:1fr}.mission-grid{grid-template-columns:1fr}}

/* ATHLONS V4: wild creature encounters and capture */
.explore-cta{border:1px solid #987945;background:linear-gradient(110deg,#3d3341,#1c2c4c);border-radius:19px;padding:19px;margin-top:18px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.explore-cta h2{font-size:20px;margin:4px 0}.explore-cta p{margin:0;flex:1;min-width:165px;color:#ced6e7;font-size:12px}.explore-cta .eyebrow{width:100%;color:#f7d3a0}
.explore-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #5c6a91;border-radius:23px;padding:22px;background:linear-gradient(130deg,#203962,#252347 70%,#44315b)}
.explore-banner p{max-width:470px;color:#c6d4ed}.explore-symbol{font-size:75px;font-weight:900;line-height:1;color:#f5dca9;text-shadow:0 12px 25px #060b20}
.biome-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.biome{position:relative;overflow:hidden;border:1px solid color-mix(in srgb,var(--biome),#42506b 55%);border-radius:20px;padding:20px;background:radial-gradient(circle at 100% 0%,color-mix(in srgb,var(--biome) 20%,transparent),transparent 53%),#15223a;min-width:0}
.biome-icon{display:grid;place-items:center;background:#2c3d5e;border:1px solid var(--biome);color:var(--biome);border-radius:16px;font-size:30px;width:55px;height:55px;margin-bottom:15px}
.biome h2{font-size:22px}.biome .btn{margin-top:16px}.biome .feature-row{color:#c0d2e9}
.capture-panel{border:1px solid #cbaa6b;border-radius:17px;background:linear-gradient(100deg,#393348,#23334b);margin-top:15px;padding:15px;display:flex;gap:12px;align-items:center;justify-content:space-between}
.capture-panel strong,.capture-panel small{display:block}.capture-panel strong{margin:5px 0}.capture-panel small{font-size:11px;color:#d1d9e8}.capture-panel .btn{flex-shrink:0}
.capture-reveal{max-width:200px;margin:12px auto;animation:appear .3s ease both}
@media(max-width:800px){.desktop-nav button{font-size:10px}.mobile-nav{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:520px){.biome-grid{grid-template-columns:1fr}.explore-banner{padding:15px}.explore-symbol{font-size:40px}.capture-panel{align-items:stretch;flex-direction:column}.capture-panel .btn{width:100%}.wallet{gap:3px}.wallet span{padding:4px 5px;font-size:9px}}

/* V5 generation cues and tactical combat */
.creature-card:has(.card-head .tiny){isolation:isolate}.creature-card .card-head .tiny{font-size:9px;color:#bdd6ef;font-weight:700}.combat-status h2{overflow-wrap:anywhere}.battle-log{word-break:normal}.move:focus-visible{outline-offset:2px}.fighter .muted.tiny{min-height:16px}.relic-grid .relic p{min-height:32px}@media(max-width:360px){.card-head{flex-wrap:wrap}.card-head strong{font-size:11px}.fighter-name{overflow-wrap:anywhere}.wallet span{font-size:9px}}


/* V6 — playable illustrated world and combat. No blocking animation timers. */
.world-select{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0 13px}
.world-tab{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;gap:1px 7px;align-items:center;min-height:59px;min-width:0;padding:9px;text-align:left;background:#172943;border:1px solid #395479;border-radius:12px}.world-tab>span{grid-row:1/3;display:grid;place-items:center;font-size:21px;color:#bed9ff}.world-tab strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.world-tab small{font-size:9px;color:#a4b9d8}.world-tab.active{border-color:#a9dfff;background:#294366}.world-tab:disabled{opacity:.37}
.scene{position:relative;isolation:isolate;aspect-ratio:800/450;min-height:310px;border:1px solid #597796;border-radius:23px;overflow:hidden;background:#112447}.zone-art{position:absolute;inset:0;width:100%;height:100%;display:block}.scene-vignette{position:absolute;inset:0;background:linear-gradient(180deg,#030a1b70,transparent 37%,#06102a50 65%,#060c1edb)}.scene-hud{position:absolute;left:19px;top:17px;right:16px;display:flex;flex-direction:column;gap:3px;text-shadow:0 2px 7px #000}.scene-label{font-size:9px;font-weight:950;color:#d9eaff;letter-spacing:1.7px}.scene-hud strong{font-size:clamp(20px,3vw,32px);font-weight:1000;letter-spacing:-.6px}.scene-hud small{font-size:11px;color:#dfecff;max-width:340px}.scene-avatar{position:absolute;bottom:6%;left:42%;width:17%;height:38%;opacity:.92;filter:drop-shadow(0 8px 6px #030714)}.scene-avatar svg{width:100%;height:100%}.scene-locations{position:absolute;inset:0;pointer-events:none}.hotspot{pointer-events:auto;position:absolute;display:flex;flex-direction:column;align-items:center;gap:5px;max-width:30%;min-width:0;border:0;background:transparent;filter:drop-shadow(0 3px 5px #000);font-weight:900;font-size:11px;text-align:center;line-height:1.2}.hotspot.h0{left:13%;top:48%}.hotspot.h1{right:9%;top:37%}.hotspot.h2{right:18%;bottom:10%}.hotspot-ping{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#172944;font-size:18px;background:#e2f9ff;border:3px solid #8ad8ff;box-shadow:0 0 0 7px #a8efff3c,0 0 24px #b9f6ff}.hotspot span:last-child{background:#0b1739df;border:1px solid #7895bc;padding:5px 8px;border-radius:10px}.hotspot:hover .hotspot-ping,.hotspot:focus-visible .hotspot-ping{background:#ffeab2;border-color:#ffc865}.scene-bottom{position:absolute;bottom:9px;left:10px;right:10px;text-align:center;font-size:10px;color:#e0e9ff;pointer-events:none}.scene-info,.explore-utility{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:13px;border:1px solid #3a5678;border-radius:16px;padding:15px;margin-top:11px;background:#111f36}.scene-info>div{flex:1;min-width:180px}.scene-info p{margin:4px 0 0}.explore-utility{background:#172541}.explore-utility small{display:block;color:#a5b7d4;font-size:11px;margin-top:3px}.world-chapter{margin-bottom:27px;border:1px solid #324763;border-radius:18px;padding:9px;background:#101b2f}.chapter-banner{height:137px;position:relative;border-radius:12px;overflow:hidden}.chapter-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071122e9,#08152d84 60%,#0a15262b)}.chapter-title{position:absolute;left:17px;top:13px;right:15px;z-index:2}.chapter-title h2{margin:2px 0 5px;font-size:22px}.chapter-title p{margin:0;color:#dae6f4;font-size:11px}.route-nodes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:15px 3px;position:relative}.route-nodes:before{content:"";position:absolute;top:39px;left:8%;right:8%;height:3px;background:linear-gradient(90deg,#487f9e,#9d8be5);opacity:.65}.route-node{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;min-width:0;min-height:117px;padding:6px;background:transparent;border:1px solid transparent;border-radius:12px}.route-node.selected{background:#213d61;border-color:#8acbff}.route-node.cleared .node-orb{background:#274e50;border-color:#82e4b6;color:#b8fbd8}.route-node.locked{opacity:.38}.route-node.boss-node .node-orb{border-color:#e8b777;color:#ffdb90}.node-orb{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;font-size:23px;background:#22395d;color:#d0edff;border:3px solid #7799c0;box-shadow:0 2px 15px #03081496}.node-no{font-size:9px;letter-spacing:.5px;color:#a2bad7;font-weight:800}.route-node strong{font-size:11px;line-height:1.25;overflow-wrap:anywhere}.route-node .stars{font-size:11px}.world-chapter>.btn{margin:0 4px 5px}
.cinematic-field{position:relative;isolation:isolate;overflow:hidden;min-height:340px;align-items:end;padding:10px;border-radius:17px;background:#132747}.cinematic-field>.zone-art{z-index:-2}.cinematic-field:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0000 24%,#07112aab 100%)}.cinematic-field .battle-ground{position:absolute;inset:auto 1% 10% 1%;height:23%;border:1px solid #cce7ff45;background:radial-gradient(ellipse,#9fdcfd28,transparent 70%);transform:perspective(120px) rotateX(60deg);border-radius:50%}.cinematic-field .fighter{background:#0c1930b4;border-color:#91bbdb77;backdrop-filter:blur(2px);align-self:end}.cinematic-field .fighter.enemy{background:#231a37b8;border-color:#da9ce877}.cinematic-field .fighter .card-art{height:173px}.cinematic-field .creature-art{animation:athlon-breathe 2.7s ease-in-out infinite}.cinematic-field .enemy .creature-art{animation-delay:-1.35s}.cinematic-field .fighter .pill{font-size:9px}.arena-effects{position:absolute;inset:0;pointer-events:none;z-index:6;display:grid;place-items:center}.spellfx{position:relative;display:grid;place-items:center;min-height:85px;max-width:90%;padding:14px 27px;border:2px solid #dcf1ff;border-radius:55%;font-size:clamp(17px,4vw,30px);font-weight:1000;letter-spacing:2px;text-transform:uppercase;text-shadow:0 4px 6px #060a23;background:radial-gradient(ellipse,#91d8ffb8,#203a8abc 52%,#1a154600 74%);box-shadow:0 0 45px #78c8ff80;animation:athlon-flash .76s ease-out both}.spellfx.fx-ultimate{color:#fff1c7;border-color:#ffe2a1;background:radial-gradient(ellipse,#ffb76cdb,#a04f9d92,transparent 75%);box-shadow:0 0 68px #f5ad82}.spellfx.fx-capture{border-radius:50%;aspect-ratio:1/1;background:radial-gradient(circle,#c1f6ffed,#526fe3cc,#161a5a00 78%);color:#fff}.spellfx.fx-heal{color:#bcffd1;border-color:#8affbf;background:radial-gradient(ellipse,#48b88abb,#104a4ebc,transparent 75%)}.spellfx.fx-shield{color:#dce6ff;border-color:#b4d4ff}.cinematic-field.arena-hit .fighter.enemy .card-art{animation:athlon-hit .42s ease-out}.cinematic-field .fighter .card-art{position:relative}.cinematic-field .fighter .card-art:after{z-index:0}.cinematic-field .fighter .card-art svg{z-index:1}.cinematic-field .fighter.enemy .card-art{transform:translateY(-16px)}@keyframes athlon-breathe{0%,100%{transform:translateY(2px) rotate(-1deg)}50%{transform:translateY(-5px) rotate(1deg)}}@keyframes athlon-hit{0%,100%{transform:translateX(0)}20%{transform:translateX(7px)}45%{transform:translateX(-8px)}70%{transform:translateX(3px)}}@keyframes athlon-flash{0%{opacity:0;transform:scale(.35) rotate(-15deg)}35%{opacity:1;transform:scale(1.18) rotate(1deg)}75%{opacity:.94;transform:scale(1)}100%{opacity:0;transform:scale(1.5)}}
@media(max-width:700px){.world-select{grid-template-columns:repeat(3,minmax(0,1fr))}.world-tab{grid-template-columns:1fr;grid-template-rows:auto auto auto;text-align:center;justify-items:center;gap:2px;padding:6px}.world-tab>span{grid-row:auto}.world-tab strong{max-width:100%;font-size:10px}.world-tab small{font-size:8px}.cinematic-field{min-height:275px}.cinematic-field .fighter .card-art{height:128px}.hotspot{font-size:10px}.hotspot-ping{width:38px;height:38px}}
@media(max-width:420px){.scene{min-height:325px;aspect-ratio:auto}.scene>.zone-art{width:100%;height:100%;object-fit:cover}.scene-avatar{width:24%;height:31%;left:38%;bottom:9%}.hotspot.h0{top:46%;left:3%}.hotspot.h1{right:2%;top:33%}.hotspot.h2{right:8%;bottom:13%}.hotspot-ping{width:34px;height:34px}.hotspot span:last-child{max-width:105px;padding:5px;font-size:9px}.route-nodes{gap:0}.node-orb{width:38px;height:38px}.route-node strong{font-size:10px}.cinematic-field{min-height:254px;padding:5px}.cinematic-field .fighter{padding:6px}.cinematic-field .fighter .card-art{height:124px}.cinematic-field .fighter .fighter-name{font-size:13px}}
@media(prefers-reduced-motion:reduce){.cinematic-field .creature-art,.spellfx,.cinematic-field.arena-hit .fighter.enemy .card-art{animation:none!important}}

/* V6 — foil frames for evolved and elite creature cards. */
.creature-card.rarity-stage-1:before,.creature-card.rarity-stage-2:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;background:linear-gradient(112deg,transparent 20%,#dbf8ff0f 42%,#e9b8ff21 48%,transparent 55%);mix-blend-mode:screen}.creature-card.rarity-stage-2{border:1px solid #d8b9f1;box-shadow:inset 0 0 0 1px #8b8ed2b0,inset 0 0 24px #5e4cc030;background:radial-gradient(circle at 50% 18%,color-mix(in srgb,var(--type) 34%,transparent),transparent 65%),linear-gradient(155deg,#29284d,#11192f)}.creature-card.rarity-stage-2 .card-head .pill{background:#6a4f37;color:#ffebba;border-color:#bda47b}.creature-card.rarity-stage-2:before{background:repeating-linear-gradient(128deg,transparent 0 19px,#b5efff10 20px 21px,transparent 23px 39px),linear-gradient(110deg,transparent 27%,#d8a6ff25 50%,transparent 68%)}

/* V7 — championship gauntlet and individual combat specialisms */
.league-cta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:22px;margin-top:18px;border:1px solid #8a6c9b;border-radius:20px;background:linear-gradient(115deg,#2d2850,#142849 70%,#1b3c56)}
.league-cta h2{font-size:20px;margin:6px 0}.league-cta p{color:#d0d7ea;font-size:12px;margin:0}.league-cta .btn{flex-shrink:0}
.league-progress{padding:21px;margin:16px 0;border:1px solid #dac08b;border-radius:20px;background:linear-gradient(145deg,#3a3348,#152840)}
.league-progress h2{font-size:26px;margin:6px 0}.league-progress p{color:#d2dff0}.league-progress>small{display:block;margin-top:13px}
.league-roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0}
.league-roster>div{min-width:0;border-radius:12px;border:1px solid #62718c;background:#101e36;padding:10px}.league-roster strong{display:block;font-size:12px;overflow-wrap:anywhere}.league-roster small{display:block;font-size:11px;color:#c1d0e9;margin:4px 0}
.league-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:17px 0}.league-card{min-width:0;overflow:hidden;border:1px solid #405a81;border-radius:18px;background:#15233c}.league-card.active{border-color:#e0bf85}.league-scenery{height:150px;position:relative;overflow:hidden}.league-scenery:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0d1935da,#0d193550)}.league-scenery>div{position:absolute;z-index:1;left:14px;right:10px;bottom:10px}.league-scenery h2{font-size:20px;line-height:1.1;margin:5px 0}.league-body{padding:15px}.league-body p{font-size:12px;color:#c0cee1;min-height:69px;margin:12px 0}.league-body .pill{white-space:normal}
.build-panel{margin:14px 0;padding:15px;border:1px solid #476789;border-radius:15px;background:#162741}.build-panel p{margin:8px 0 10px}.build-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.build-choice{min-height:76px;text-align:left;padding:10px;background:#101d34;border:1px solid #3d5578;border-radius:11px}.build-choice strong,.build-choice small{display:block;overflow-wrap:anywhere}.build-choice strong{font-size:13px}.build-choice small{font-size:10px;color:#b8c7df;margin-top:5px}.build-choice.chosen{border-color:#bde8ff;background:#234366;box-shadow:inset 0 0 0 1px #80b6dc}.build-choice:disabled{opacity:.42}
@media(max-width:760px){.league-cards{grid-template-columns:1fr}.league-card{display:grid;grid-template-columns:38% 1fr}.league-scenery{height:100%;min-height:156px}.league-body p{min-height:0}.league-scenery h2{font-size:18px}}
@media(max-width:410px){.league-card{grid-template-columns:1fr}.league-scenery{height:115px;min-height:0}.league-roster{gap:5px}.league-roster>div{padding:7px}.league-roster strong{font-size:10px}.build-options{grid-template-columns:1fr}.build-choice{min-height:50px}.league-cta{padding:16px}.league-cta .btn{width:100%}}
.trophy-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 3px}.trophy{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;border:1px solid #3c4e67;border-radius:13px;padding:12px 4px;background:#101e35;color:#a8b7cf}.trophy>span{font-size:30px;line-height:1}.trophy strong{font-size:11px}.trophy small{font-size:10px}.trophy.won{background:linear-gradient(150deg,#4b3b39,#2b304f);border-color:#d6b47b;color:#ffe4b1}@media(max-width:380px){.trophy{padding:9px 3px}.trophy strong{font-size:10px}}
/* Volume and card finish: SVG artwork with highlights, not 3D meshes. */
.creature-card .card-art{perspective:800px}.creature-card .creature-art{filter:drop-shadow(0 8px 10px #020b19a8);transform-origin:50% 72%}@media(hover:hover) and (pointer:fine){.creature-card.clickable:hover .creature-art{transform:rotateY(-7deg) rotateX(4deg) translateY(-3px);transition:transform .25s ease}}@media(prefers-reduced-motion:reduce){.creature-card .creature-art{transition:none!important}}
/* Origin League V8 — differentiated creature silhouettes and premium card treatment */
.creature-card{position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 28%,color-mix(in srgb,var(--type) 31%,transparent),transparent 64%),linear-gradient(155deg,#1e2e50,#0b1427 75%);border:1px solid color-mix(in srgb,var(--type) 45%,#57617f);box-shadow:inset 0 1px #ffffff28,0 7px 22px #00000036}
.creature-card .card-art{position:relative;overflow:hidden;border-radius:13px;background:radial-gradient(ellipse at 50% 48%,color-mix(in srgb,var(--type) 27%,transparent),transparent 69%),linear-gradient(140deg,#0e2141,#15142b);border:1px solid #e6efff24}
.creature-card .card-art:before{content:'';position:absolute;inset:-40%;background:conic-gradient(from 15deg,transparent 0deg,#ffffff0a 56deg,transparent 90deg,#ffffff13 167deg,transparent 210deg);animation:athlon-foil 8s linear infinite;pointer-events:none}
.creature-card .card-art:after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,#ffffff17,transparent 28%,transparent 68%,#ffffff0d);pointer-events:none}
.creature-card .creature-art{width:100%;height:100%;max-height:100%;position:relative;z-index:1;filter:drop-shadow(0 12px 6px #0009) drop-shadow(0 0 13px color-mix(in srgb,var(--type) 50%,transparent));transform-origin:50% 70%}
.creature-card.rarity-stage-2{border:1px solid #ffe9a8;background:radial-gradient(ellipse at 40% 28%,color-mix(in srgb,var(--type) 45%,transparent),transparent 65%),linear-gradient(145deg,#3b3158,#101525 80%);box-shadow:inset 0 0 0 1px #ffe2a766,0 0 20px #daa2fe1a}
.creature-card.rarity-stage-2:after{content:'✦';position:absolute;right:8px;top:49px;font-size:17px;color:#fff1af;text-shadow:0 0 10px #ffe9b4;z-index:2;pointer-events:none}
.creature-card.rarity-stage-2 .card-art:before{background:conic-gradient(from 20deg,transparent,#fff2a42c,transparent,#a9d8ff29,transparent,#e9b6ff2c,transparent);animation-duration:5s}
.fighter .card-art{overflow:visible}.fighter .card-art .creature-art{filter:drop-shadow(0 11px 8px #000a) drop-shadow(0 0 16px var(--type))}
.detail-art .creature-art{filter:drop-shadow(0 13px 13px #0009) drop-shadow(0 0 12px var(--type))}
@keyframes athlon-foil{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.creature-card .card-art:before{animation:none}}

/* V9 — character-first art direction. Procedural 2D artwork, never presented as 3D. */
.creature-card .card-art{height:clamp(162px,24vw,250px);isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 29%,color-mix(in srgb,var(--type) 32%,#112647) 0%,#0b1630 69%,#070f20 100%);}
.creature-card .card-art:before{opacity:.68;animation-duration:14s}
.creature-card .creature-art{position:absolute;width:112%;height:110%;left:-6%;top:-4%;max-height:none;filter:drop-shadow(0 10px 8px #0009) drop-shadow(0 0 13px color-mix(in srgb,var(--type) 30%,transparent))}
.art-edition{position:absolute;z-index:2;left:9px;top:9px;font-size:8px;font-weight:900;letter-spacing:1.1px;color:#f3f8ff;text-shadow:0 1px 4px #000;background:#08162f8c;border:1px solid #d5eaff4c;padding:4px 6px;border-radius:5px}
.art-crest{position:absolute;z-index:2;bottom:7px;right:9px;color:#fff9d6;font-size:21px;filter:drop-shadow(0 0 6px var(--type))}
.creature-card.rarity-stage-2 .card-art{height:clamp(175px,26vw,264px);background:radial-gradient(ellipse at 50% 35%,color-mix(in srgb,var(--type) 42%,#2a2d62),#18172f 66%,#080d1e)}
.creature-card.rarity-stage-2 .creature-art{width:119%;left:-9.5%;height:117%;top:-8%}
.creature-card.rarity-stage-2 .art-edition{background:#69472e;color:#fff2bd;border-color:#ffd891}
.creature-art .art-environment{transform-origin:110px 105px;animation:ambient-orbit 18s linear infinite}
@keyframes ambient-orbit{to{transform:rotate(360deg)}}
.detail-top.visual-detail{align-items:center;gap:20px;padding:14px;border-radius:18px;background:radial-gradient(circle at 30% 40%,color-mix(in srgb,var(--type) 23%,transparent),transparent 66%)}
.visual-detail .detail-art{position:relative;overflow:visible;min-height:240px;display:grid;place-items:center;background:radial-gradient(circle,color-mix(in srgb,var(--type) 23%,transparent),transparent 66%)}
.visual-detail .detail-art svg{width:100%;max-width:300px;min-height:210px;filter:drop-shadow(0 13px 12px #000c) drop-shadow(0 0 18px var(--type))}
.detail-signature{position:absolute;bottom:1px;font-size:9px;font-weight:900;letter-spacing:2px;color:#e8f5ff}
.evolution-reveal .detail-art svg{animation:ascension .8s cubic-bezier(.23,.88,.25,1.1) both}
@keyframes ascension{from{opacity:.1;transform:translateY(35px) scale(.67);filter:brightness(3)}65%{filter:brightness(2)}to{opacity:1;transform:translateY(0) scale(1)}}
.battle-field.cinematic-field{min-height:360px;background:linear-gradient(#101c3e,#071326)}
.cinematic-field .fighter .card-art{min-height:186px;height:186px;display:grid;place-items:center;overflow:visible}
.cinematic-field .fighter .card-art svg{width:110%;height:115%;max-height:none;filter:drop-shadow(0 9px 9px #000c) drop-shadow(0 0 17px var(--type))}
.cinematic-field .fighter.enemy .card-art{transform:translateY(-12px)}
.booster-ceremony{text-align:center}.booster-ceremony h2{font-size:26px;margin:9px 0}.sealed-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start;margin:20px 0 16px}
.sealed-slot{min-width:0;aspect-ratio:2/3.1;transition:transform .4s}.sealed-slot.turned{animation:card-pop .52s ease-out both}.sealed-slot .creature-card{height:100%;padding:6px}.sealed-slot .card-art{height:110px}.sealed-slot .card-name{font-size:11px}.sealed-slot .card-desc{display:none}.sealed-slot .card-head{font-size:9px}.sealed-slot .card-foot{font-size:9px}.sealed-slot .pill{font-size:8px;padding:4px}.card-back{height:100%;min-height:176px;border-radius:14px;border:2px solid #97bafb;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;position:relative;overflow:hidden;background:radial-gradient(circle at center,#274b8d,#0b1a3c 63%,#060e20);box-shadow:inset 0 0 0 5px #10274d,0 7px 13px #0009}.card-back:before{content:'';position:absolute;inset:12px;border:1px solid #c5e5ff73;border-radius:9px;pointer-events:none}.card-back .back-glyph{font-size:52px;color:#d8eaff;text-shadow:0 0 18px #78adff}.card-back strong{letter-spacing:1px;font-size:11px}.card-back small{letter-spacing:2px;font-size:7px;color:#ccdefb}.back-number{position:absolute;bottom:10px;right:12px;font-size:10px;color:#c7dfff}.sealed-slot.next .card-back{border-color:#f9d995;box-shadow:inset 0 0 0 5px #382c37,0 0 25px #b18dfc45;animation:sealed-pulse 2.5s ease-in-out infinite}.reveal-btn{font-size:16px;min-height:55px}.booster-ceremony .muted{color:#c3d2e8}
@keyframes card-pop{0%{opacity:0;transform:rotateY(90deg) scale(.78)}65%{opacity:1;transform:rotateY(-8deg) scale(1.035)}100%{transform:rotateY(0deg) scale(1)}}@keyframes sealed-pulse{50%{box-shadow:inset 0 0 0 5px #382c37,0 0 30px #f4bf85a0}}
@media(max-width:600px){.battle-field.cinematic-field{min-height:305px}.cinematic-field .fighter .card-art{min-height:150px;height:150px}.visual-detail .detail-art{min-height:200px}.sealed-cards{gap:5px}.card-back{min-height:143px}.card-back .back-glyph{font-size:34px}.sealed-slot .card-art{height:84px}.sealed-slot .card-head .tiny{display:none}}
@media(max-width:365px){.card-back strong{font-size:8px}.sealed-slot .card-art{height:73px}.sealed-slot .card-name{font-size:9px}.booster-ceremony h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.creature-art .art-environment,.evolution-reveal .detail-art svg,.sealed-slot.turned,.sealed-slot.next .card-back{animation:none!important}}


/* V10 — Creature Studio + enhanced presentation. Purely visual; game rules unchanged. */
.v10-hero{overflow:hidden;isolation:isolate;background:linear-gradient(105deg,#0b172af2,#0c1835cd 62%,#23385b63),#10203b;min-height:290px}
.v10-hero-keyart{position:absolute;inset:0 0 0 35%;background:url('./origin-keyart.webp') center 38%/cover no-repeat;opacity:.62;filter:saturate(1.12) contrast(1.12);mask-image:linear-gradient(90deg,transparent 0%,#000 26%,#000 100%);pointer-events:none;z-index:-1}
.v10-hero .hero-art{filter:drop-shadow(0 6px 20px #000a)}
.v10-hero .hero-art svg{filter:drop-shadow(0 9px 15px #071a2b)}
.v10-hero .keyart-note{position:absolute;right:12px;bottom:7px;font-size:9px;color:#e1ebffca;letter-spacing:.3px}
.v10-start-hero{display:block;padding:28px;min-height:275px}
.v10-start-hero .v10-hero-keyart{inset:0 0 0 39%;opacity:.8}
.v10-start-hero h1,.v10-start-hero p{max-width:62%;position:relative;z-index:1}
.v10-start-hero .eyebrow,.v10-start-hero .pill{position:relative;z-index:1}
.studio-top{margin-bottom:17px}.studio-top h1{margin:5px 0}.studio-top p{max-width:720px;color:#aebfd8;line-height:1.5;font-size:13px}
.studio-layout{display:grid;grid-template-columns:minmax(0,1.17fr) minmax(0,1fr);gap:17px;align-items:stretch}
.studio-stage{position:relative;overflow:hidden;min-height:470px;border-radius:23px;border:1px solid color-mix(in srgb,var(--type) 58%,#d1d9fa);background:radial-gradient(ellipse at 50% 31%,color-mix(in srgb,var(--type) 43%,#203354) 0%,#1c2850 36%,#091225 80%);isolation:isolate;display:flex;align-items:center;justify-content:center}
.studio-sky{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 48%,#e4f9ff1c,transparent 44%),repeating-conic-gradient(from 0deg at 50% 43%,#ffffff04 0 9deg,transparent 9deg 22deg);opacity:.8}
.studio-stage-ring{position:absolute;inset:11% 13% 26%;border:2px solid color-mix(in srgb,var(--type) 60%,#fff);border-radius:50%;box-shadow:0 0 40px color-mix(in srgb,var(--type) 20%,transparent),inset 0 0 30px #ffffff13;opacity:.43}
.studio-creature{width:92%;max-width:485px;position:relative;z-index:1;animation:studio-float 4.8s ease-in-out infinite;filter:drop-shadow(0 24px 13px #01061398)}
.studio-creature svg{width:100%;height:auto;overflow:visible}
.studio-stage-label{position:absolute;left:19px;bottom:18px;right:13px;z-index:2;text-shadow:0 3px 11px #020b19}
.studio-stage-label h2{margin:2px 0 8px;font-size:clamp(25px,3.5vw,42px);letter-spacing:-1.2px}
.studio-panel{border:1px solid #405773;border-radius:22px;padding:20px;background:linear-gradient(165deg,#1b2944,#0e192d);min-width:0}
.studio-panel h2{font-size:20px;margin:8px 0}.studio-panel>p{color:#bfcee0;font-size:12px;line-height:1.5}
.studio-evolutions{display:grid;gap:7px;margin:14px 0 19px}
.studio-phase{display:flex;gap:9px;width:100%;text-align:left;align-items:center;padding:6px;border:1px solid #3e506c;border-radius:13px;background:#121f35;color:#edf6ff;min-width:0}
.studio-phase.selected{border-color:var(--type);background:color-mix(in srgb,var(--type) 12%,#121f35)}
.studio-phase:disabled{opacity:.64;cursor:not-allowed}
.studio-phase-art{width:66px;height:63px;flex-shrink:0;display:grid;place-items:center;background:radial-gradient(circle,color-mix(in srgb,var(--type) 22%,#233c51),#0a1527);border-radius:9px;overflow:hidden}
.studio-phase-art svg{width:100%;height:100%}.studio-phase>span:last-child{min-width:0}.studio-phase b{display:block;font-size:13px;word-break:break-word}.studio-phase small{display:block;color:#9faec9;font-size:10px;margin-top:4px;letter-spacing:.2px}.studio-question{font-size:25px;color:#758ba9}
.studio-info{display:flex;justify-content:space-between;gap:8px;padding:9px 0;border-top:1px solid #ffffff17;font-size:12px}.studio-info span{color:#9fb1c9}.studio-panel .actions{margin-top:18px}
.studio-roster{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.studio-roster-unit{min-width:0;border:1px solid #435b76;border-radius:12px;background:#15223b;color:#f0f6ff;padding:5px;display:flex;flex-direction:column;gap:3px;align-items:center}.studio-roster-unit.selected{border-color:var(--type);background:color-mix(in srgb,var(--type) 16%,#15223b)}.studio-roster-unit span{display:block;width:100%;aspect-ratio:1.1/1;overflow:hidden;border-radius:7px;background:radial-gradient(circle,color-mix(in srgb,var(--type) 30%,#101f36),#091325)}.studio-roster-unit svg{width:100%;height:100%}.studio-roster-unit strong{font-size:10px;max-width:100%;overflow-wrap:anywhere}.studio-roster-unit small{font-size:9px;color:#aabbd0}
.creature-art .creature-particles{animation:studio-twinkle 4s ease-in-out infinite;transform-origin:50% 50%}
.studio-creature .creature-detail,.fighter .creature-detail{filter:drop-shadow(0 0 2px #fff9)}
.studio-creature .athlon-body{animation:studio-inhale 3.6s ease-in-out infinite;transform-box:fill-box;transform-origin:50% 67%}
/* Booster reveal takes center stage, rather than showing three tiny cards at once. */
.v10-pack-ceremony{text-align:center}.v10-pack-ceremony h2{font-size:clamp(22px,4.5vw,30px);letter-spacing:-.8px;margin:7px 0}
.v10-pack-spotlight{display:grid;place-items:center;position:relative;min-height:372px;max-height:500px;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at center,#3c5880,#132646 54%,#071429 100%);border:1px solid #6c83a5;margin:16px 0 10px;padding:14px}
.v10-pack-spotlight:before{content:'';position:absolute;inset:-45%;background:conic-gradient(from 0deg,transparent,#b8e8ff2a,transparent,#e5beff27,transparent);animation:athlon-foil 9s linear infinite;pointer-events:none}
.v10-pack-spotlight.elite-reveal{background:radial-gradient(ellipse,#624f8b 0%,#282c63 45%,#0a1128 100%);border-color:#ffe0a3;box-shadow:inset 0 0 55px #c59af42e}
.v10-pack-envelope{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;width:min(235px,76%);aspect-ratio:.73;border:3px solid #c5deff;border-radius:15px;background:radial-gradient(circle at 50% 28%,#5778c0,#172b64 45%,#0a1635 100%);box-shadow:inset 0 0 0 6px #162b56,0 16px 30px #0009;transform:rotate(-5deg);position:relative;animation:pack-breathe 2.5s ease-in-out infinite}
.v10-pack-envelope:before{content:'';position:absolute;inset:13px;border:1px solid #c5daff9a;border-radius:10px}.v10-pack-envelope span{font-size:87px;color:#f2eeff;text-shadow:0 0 24px #a1d5ff}.v10-pack-envelope strong{font-size:22px;letter-spacing:2px}.v10-pack-envelope small{font-size:8px;letter-spacing:1.5px}
.v10-pulled-card{width:min(256px,86%);position:relative;animation:v10-reveal .7s cubic-bezier(.1,.75,.18,1.15) both;transform-origin:50% 85%;filter:drop-shadow(0 16px 17px #0009)}
.v10-pulled-card .creature-card{min-height:335px;text-align:left}.v10-pulled-card .card-art{height:230px}.v10-pulled-card .card-desc{display:none}.v10-pulled-card .card-name{font-size:20px}
.v10-pull-tag{position:absolute;z-index:3;left:8px;right:8px;bottom:9px;display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}.v10-pull-tag strong{font-size:10px;letter-spacing:1.2px;color:#fff0b9;text-shadow:0 2px 4px #000}
.v10-pack-progress{display:flex;justify-content:center;gap:9px}.v10-pack-progress span{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#1c2942;border:1px solid #4e6483;font-size:12px;font-weight:950;color:#aec4d7}.v10-pack-progress .collected{background:#1c554b;border-color:#75dcc2;color:#dcfff0}.v10-pack-progress .current{border-color:#f6d48f;color:#ffe8b7;box-shadow:0 0 15px #e3b96b3b}
.v10-pack-ceremony .reveal-btn{margin:14px 0 0}.v10-recap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}.v10-recap>div{min-width:0;padding:6px;border:1px solid #47627e;border-radius:11px;background:#13223b;display:grid;justify-items:center}.v10-recap span{width:100%;height:80px}.v10-recap svg{width:100%;height:100%}.v10-recap strong{font-size:10px;overflow-wrap:anywhere}.v10-recap small{font-size:9px;color:#97a9ca}
/* Type-reactive attack VFX. */
.cinematic-field{isolation:isolate}.arena-effects{z-index:8;pointer-events:none}.spellfx{--spark:#bce9ff;border-color:var(--spark);box-shadow:0 0 65px color-mix(in srgb,var(--spark) 35%,transparent),inset 0 0 30px color-mix(in srgb,var(--spark) 27%,transparent);min-height:118px;aspect-ratio:2.2/1;max-width:85%;white-space:normal;text-align:center;animation:v10-attack 1.05s cubic-bezier(.13,.75,.22,1) both;background:radial-gradient(ellipse,color-mix(in srgb,var(--spark) 53%,#101833),#10203fbf 47%,transparent 72%)}
.spellfx strong{position:relative;z-index:3;font-size:clamp(15px,3vw,25px);line-height:1.1}.combat-damage{position:absolute;bottom:-20px;right:18px;font-size:27px;color:#ffdfb9;text-shadow:0 2px 8px #000}
.fx-type-0{--spark:#78d7ff}.fx-type-1{--spark:#ff9b66}.fx-type-2{--spark:#7ce0a1}.fx-type-3{--spark:#be9aff}.fx-type-4{--spark:#ffe28e}.fx-type-5{--spark:#ff849e}.fx-type-6{--spark:#a3f4f5}.fx-type-7{--spark:#e5a7fc}
.combat-particle{position:absolute;left:50%;top:50%;width:10px;height:10px;border:2px solid var(--spark);background:color-mix(in srgb,var(--spark) 80%,#fff);box-shadow:0 0 12px var(--spark);transform:rotate(var(--angle)) translateY(0);animation:v10-particle .8s ease-out both}
.fx-type-0 .combat-particle,.fx-type-4 .combat-particle{clip-path:polygon(50% 0,70% 38%,100% 50%,60% 65%,50% 100%,37% 60%,0 50%,40% 32%)}
.fx-type-2 .combat-particle,.fx-type-6 .combat-particle{border-radius:50%}.fx-type-3 .combat-particle,.fx-type-7 .combat-particle{transform:rotate(45deg)}
.boss-arena:after{content:'';position:absolute;inset:0;border:2px solid #e5b16b88;box-shadow:inset 0 0 50px #be6d5933;z-index:4;pointer-events:none}.boss-watermark{position:absolute;top:7px;left:50%;transform:translateX(-50%);z-index:6;font-size:10px;font-weight:950;color:#ffe1b1;letter-spacing:2px;text-shadow:0 1px 10px #070818}
@keyframes v10-attack{0%{opacity:0;transform:scale(.25) rotate(-16deg)}30%{opacity:1;transform:scale(1.32) rotate(4deg)}62%{opacity:1;transform:scale(.96)}100%{opacity:0;transform:scale(1.4)}}
@keyframes v10-particle{0%{opacity:0;transform:rotate(var(--angle)) translateY(0) scale(.2)}35%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateY(calc(-1 * var(--distance))) scale(.45)}}
@keyframes v10-reveal{0%{opacity:0;transform:translateY(76px) scale(.52) rotateY(85deg)}72%{opacity:1;transform:translateY(-5px) scale(1.08) rotateY(-8deg)}100%{opacity:1;transform:translateY(0) scale(1) rotateY(0)}}
@keyframes studio-float{0%,100%{transform:translateY(3px)}50%{transform:translateY(-8px)}}
@keyframes studio-inhale{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}
@keyframes studio-twinkle{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes pack-breathe{0%,100%{transform:rotate(-5deg) scale(1)}50%{transform:rotate(-3deg) scale(1.035)}}
@media(max-width:710px){.studio-layout{grid-template-columns:1fr}.studio-stage{min-height:365px}.studio-roster{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.v10-hero-keyart{inset:0 0 0 25%;opacity:.46}.v10-start-hero{min-height:280px}.v10-start-hero .v10-hero-keyart{inset:0 0 0 18%;opacity:.38}.v10-start-hero h1,.v10-start-hero p{max-width:100%}.studio-stage{min-height:333px}.studio-creature{width:96%}.studio-roster{grid-template-columns:repeat(3,minmax(0,1fr))}.v10-pack-spotlight{min-height:326px}.v10-pulled-card .card-art{height:193px}.v10-pulled-card .creature-card{min-height:285px}.v10-pulled-card .card-name{font-size:17px}.v10-hero .keyart-note{font-size:8px}}
@media(max-width:340px){.studio-phase-art{width:52px;height:51px}.studio-roster{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.studio-creature,.studio-creature .athlon-body,.creature-art .creature-particles,.v10-pack-envelope,.v10-pulled-card,.combat-particle,.spellfx,.v10-pack-spotlight:before{animation:none!important}}

/* V11: real illustrated Origin Legends. Cards and creature portraits use local art assets. */
.illustrated-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}
.illustrated-unit{min-width:0}.illustrated-unit-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:7px 1px;font-size:11px}.illustrated-unit-bottom span{font-size:9px;color:#ffdb9e;white-space:nowrap}
.illustrated-unit>.btn{width:100%}.illustrated-card{padding:0!important;background:#0d1427!important;border:1px solid #caa56d!important;border-radius:14px!important;box-shadow:0 8px 22px #0009!important;aspect-ratio:2 / 3;overflow:hidden!important}
.illustrated-card:before,.illustrated-card:after{display:none!important}.illustrated-card .printed-card{display:block;width:100%;height:100%;aspect-ratio:2/3;object-fit:fill;border-radius:12px;max-height:none}
.illustrated-card .illustrated-click{display:block;position:absolute;inset:0;width:100%;height:100%;padding:0;background:transparent;border:0;cursor:pointer;z-index:3}
.illustrated-card .illustrated-click .printed-card{width:100%;height:100%;display:block}
.illustrated-card .illustrated-status{position:absolute;inset:auto 5% 1.5% 5%;display:flex;align-items:center;justify-content:space-between;gap:6px;font-weight:900;font-size:9px;text-shadow:0 1px 2px #000;color:#fff;opacity:0;pointer-events:none}
.illustrated-card .illustrated-locked{min-height:100%;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 33%,#4d3b76,#0b1328 69%);font-size:44px;color:#e6d3ff}
.illustrated-card .illustrated-locked strong{font-size:13px;text-align:center;padding:0 12px}
.illustrated-home{margin:18px 0;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:20px;align-items:center;overflow:hidden;border-radius:20px;border:1px solid #a27d4f;padding:19px;background:radial-gradient(circle at 84% 45%,#83533860,transparent 48%),linear-gradient(130deg,#1d1b37,#0c1429)}
.illustrated-home h2{font-size:clamp(20px,3vw,28px);line-height:1.2;margin:8px 0}.illustrated-home p{color:#c4d2ea;font-size:13px}.illustrated-home-img{max-width:145px;justify-self:center;transform:rotate(4deg)}.illustrated-home-img .printed-card{max-width:100%;width:100%;filter:drop-shadow(0 8px 15px #000b)}
.illustrated-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:14px 0}.illustrated-actions>div:first-child{flex:1;min-width:0}.illustrated-actions .actions{max-width:350px}.illustrated-actions h2{margin:0 0 7px}.illustrated-actions small{color:#f7d39b}
.illustrated-collection-cta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0;padding:12px 15px;background:linear-gradient(120deg,#282142,#12253a);border:1px solid #967e66;border-radius:12px}.illustrated-collection-cta strong{color:#ffe3a7}.illustrated-collection-cta span{flex:1;min-width:140px;font-size:11px;color:#c6d3e9}
.real-creature-art{object-fit:cover;object-position:center center;border-radius:15px;mask-image:radial-gradient(ellipse at center,#000 45%,#000d 67%,transparent 96%);-webkit-mask-image:radial-gradient(ellipse at center,#000 45%,#000d 67%,transparent 96%)}
.creature-card:not(.illustrated-card) .real-creature-art{object-fit:cover}
.studio-creature .real-creature-art{width:100%;height:auto;aspect-ratio:1;position:static;max-height:330px;object-fit:contain;filter:drop-shadow(0 8px 14px #000c)}
.cinematic-field .fighter .card-art .real-creature-art{position:relative;left:0;top:0;width:100%;height:100%;object-fit:cover;max-height:100%;filter:drop-shadow(0 8px 12px #000b)}
.squad-slot .card-art .real-creature-art,.v10-recap .real-creature-art,.studio-phase-art .real-creature-art,.studio-roster-unit .real-creature-art{position:relative;left:0;top:0;width:100%;height:100%;object-fit:cover}
.illustrated-modal{max-width:400px;margin:auto;text-align:center}.illustrated-modal h2{margin:8px 0 18px}.illustrated-modal .printed-card{display:block;width:min(100%,345px);max-height:65vh;object-fit:contain;margin:auto;border-radius:12px;filter:drop-shadow(0 14px 20px #000b)}.illustrated-modal .btn{margin-top:12px}
.v10-pulled-card.premium-pull{width:min(280px,94%)}.v10-pulled-card.premium-pull .creature-card{min-height:unset!important;aspect-ratio:2/3}.premium-pull .printed-card{width:100%;height:100%}
.studio-stage:has(.real-creature-art) .studio-stage-ring{opacity:.25}
@media(max-width:670px){.illustrated-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.illustrated-actions{display:block}.illustrated-actions .actions{max-width:100%;margin-top:10px}.illustrated-home{gap:8px;padding:13px}.illustrated-home-img{max-width:112px}}
@media(max-width:360px){.illustrated-home{grid-template-columns:minmax(0,1fr) 85px}.illustrated-home-img{max-width:82px}.illustrated-unit-bottom{font-size:10px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.illustrated-card,.real-creature-art{animation:none!important}}

/* ATHLONS V12 Premium Demo · six illustration-led creatures + cinematic arena. */
.v12-kicker{font-weight:1000;letter-spacing:.19em;color:#f9d7a0;font-size:10px;display:block;text-transform:uppercase}
.v12-homehero{position:relative;overflow:hidden;isolation:isolate;min-height:500px;padding:58px clamp(20px,4vw,50px) 75px;border:1px solid #9f8256;border-radius:26px;background:#070d20 url('origin-legends-hero.webp') center/cover no-repeat;box-shadow:inset 0 0 0 1px #ffe2aa24}
.v12-homehero:after{content:'';pointer-events:none;position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 65%,#070c1be8)}
.v12-homecopy{position:relative;z-index:1;max-width:445px}.v12-homecopy h1{font-size:clamp(39px,5.9vw,77px);font-weight:1000;white-space:pre-line;line-height:.98;letter-spacing:-.065em;margin:16px 0;text-shadow:0 4px 24px #02040ac9}.v12-homecopy p{color:#ecf0f6;line-height:1.6;max-width:315px;font-size:15px;text-shadow:0 2px 12px #000}.v12-homebuttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.v12-homebuttons .btn{min-height:48px}.v12-caveat{display:block;margin-top:15px;color:#bec5d4;font-size:10px;max-width:350px}
.v12-herofoot{position:absolute;display:flex;gap:15px;flex-wrap:wrap;left:clamp(20px,4vw,50px);bottom:20px;right:20px;z-index:1}.v12-herofoot span{font-size:10px;letter-spacing:.12em;color:#ffe0aa;font-weight:900;border-right:1px solid #ffca784e;padding-right:15px}
.v12-hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:12px 0 25px}.v12-hubcard{text-align:left;border-radius:17px;min-width:0;min-height:130px;padding:17px;background:linear-gradient(135deg,#1c2942,#0d1830);border:1px solid #405675;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}.v12-hubcard span{color:#e5bd82;font-size:10px;font-weight:900;letter-spacing:.14em}.v12-hubcard strong{font-size:20px;line-height:1.13;letter-spacing:-.035em}.v12-hubcard small{color:#afc6df}.v12-hubcard:hover{border-color:#d7ad71}
.v12-home-ribbon{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:12px 0 28px}.v12-ribbon-item{position:relative;overflow:hidden;aspect-ratio:.72;border:1px solid #685f6c;border-radius:12px;padding:0;background:#111827;min-width:0}.v12-ribbon-item img{width:100%;height:100%;object-fit:cover}.v12-ribbon-item span{position:absolute;inset:auto 0 0;padding:20px 3px 9px;background:linear-gradient(transparent,#050913ef);font-size:clamp(7px,.9vw,11px);font-weight:1000;letter-spacing:.03em}.v12-ribbon-item:hover{border-color:#efc68a;filter:brightness(1.12)}.v12-campaign-continue{display:none}
.v12-galleryhead{padding:42px clamp(20px,4vw,42px);border:1px solid #936d51;background:linear-gradient(90deg,#0e1225 3%,#0e1424df 58%,#321d388a),url('origin-legends-hero.webp') center/cover;border-radius:22px;margin-bottom:20px}.v12-galleryhead h1{font-size:clamp(30px,5.2vw,55px);line-height:1;letter-spacing:-.06em;margin:14px 0}.v12-galleryhead p{max-width:530px;color:#d4dce9;font-size:14px}.v12-galleryhead .btn{margin-top:12px}
.v12-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 33px}.v12-preview{position:relative;min-width:0;aspect-ratio:.78;overflow:hidden;border:1px solid color-mix(in srgb,var(--type) 50%,#dfb77c);border-radius:18px;background:#0a1021;box-shadow:inset 0 0 25px #0007}.v12-preview img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease;filter:saturate(1.05)}.v12-preview:hover img{transform:scale(1.045)}.v12-preview-gradient{position:absolute;inset:auto 0 0;padding:65px 15px 15px;background:linear-gradient(transparent,#060b19fa 58%);display:flex;flex-direction:column;align-items:flex-start;gap:4px}.v12-preview-gradient>span{font-size:9px;color:var(--type);letter-spacing:.13em;font-weight:900}.v12-preview-gradient h3{font-size:clamp(18px,2.3vw,27px);letter-spacing:-.03em;line-height:1;margin:0}.v12-preview-gradient p{font-size:11px;color:#d5daeb;margin:0 0 9px}.v12-preview-gradient .btn{font-size:11px;width:100%;min-height:42px}.v12-collection-section{border-top:1px solid #77694c;padding-top:23px}
.v12-no-battle{min-height:300px;padding:42px;border:1px solid #a6885c;border-radius:24px;background:linear-gradient(90deg,#090f20,#10162fe0),url('origin-legends-hero.webp') center/cover}.v12-no-battle h1{font-size:clamp(27px,4.5vw,45px);letter-spacing:-.06em}.v12-no-battle p{max-width:470px;color:#bacce2}.v12-no-battle .btn{margin:5px 8px 5px 0}
.v12-battle{min-width:0}.v12-battletop{display:flex;gap:12px;align-items:end;justify-content:space-between;margin-bottom:15px}.v12-battletop h1{font-size:clamp(23px,3.5vw,36px);margin:5px 0 0;letter-spacing:-.06em}.v12-turn{border:1px solid #d3b37a;border-radius:30px;padding:7px 12px;background:#30241f;color:#ffe5ab;font-size:10px;font-weight:900;white-space:nowrap}
.v12-arena{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:440px;padding:18px;border:1px solid #847e8f;border-radius:23px;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 26%,color-mix(in srgb,var(--arena-type) 25%,#202b57),#070b20 75%)}
.v12-arena-sky{position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 20% 15%,#ffffff19,transparent 45%),radial-gradient(ellipse at 79% 41%,color-mix(in srgb,var(--arena-type) 22%,transparent),transparent 48%),linear-gradient(0deg,#030914 0%,transparent 54%)}.v12-arena:before{content:'';position:absolute;z-index:0;left:7%;right:7%;bottom:19%;height:1px;background:linear-gradient(90deg,transparent,#c7a86f88,transparent);box-shadow:0 0 50px 15px #5a699b25}.v12-versus{position:absolute;z-index:2;top:43%;left:50%;transform:translate(-50%,-50%);border:1px solid #caa46d;border-radius:50%;width:50px;height:50px;display:grid;place-items:center;background:#0b1121dc;color:#ffe6ac;box-shadow:0 0 27px #ffc6752a;font-size:18px;font-style:italic;font-weight:1000;letter-spacing:-.04em;pointer-events:none}
.v12-fighter{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:end;min-width:0;align-self:stretch;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}.v12-fighter .v12-fighterart{position:absolute;inset:0 0 100px;display:grid;place-items:center;overflow:hidden;border-radius:12px;mask-image:linear-gradient(#000 80%,transparent);-webkit-mask-image:linear-gradient(#000 80%,transparent)}.v12-fighter .v12-fighterart img{width:100%;height:100%;object-fit:cover;object-position:center;max-height:none!important;border-radius:10px;mask-image:none;-webkit-mask-image:none;filter:drop-shadow(0 4px 8px #000a)}.v12-fighter .v12-fighterart svg{width:100%;height:100%;filter:drop-shadow(0 8px 14px #0009)}.v12-fighter.player .v12-fighterart{animation:v12-enter-left .42s ease-out both}.v12-fighter.enemy .v12-fighterart{animation:v12-enter-right .5s ease-out both}.v12-fighter.enemy .v12-fighterart img{transform:scaleX(-1)}.v12-fighterhud{position:relative;margin-top:auto;background:linear-gradient(155deg,#101a2cf7,#090e1af9);padding:10px 11px 12px;border:1px solid color-mix(in srgb,var(--type) 50%,#687a93);border-radius:13px;box-shadow:0 9px 25px #0009}.v12-fighterline,.v12-barlabel{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:9px;font-weight:800;color:#b9c6d7;letter-spacing:.03em}.v12-fighterline span{color:var(--type)}.v12-fighterhud h3{font-size:clamp(15px,2.6vw,24px);margin:4px 0 10px;line-height:1;letter-spacing:-.02em;overflow-wrap:anywhere}.v12-barlabel{margin:4px 0}.v12-bar{height:7px;border-radius:5px;background:#293347;overflow:hidden}.v12-bar i{height:100%;display:block;border-radius:5px}.v12-bar.hp i{background:linear-gradient(90deg,#47d49f,#b0ffcb)}.v12-bar.energy i{background:linear-gradient(90deg,#d2a657,#ffdf9f)}.v12-status-tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}.v12-status-tags span{font-size:8px;color:#ffe7bf;border:1px solid #aa875880;border-radius:30px;padding:2px 4px}
.v12-arena.arena-hit{animation:v12-shake .35s ease-out}.v12-arena.arena-hit .v12-fighter.enemy .v12-fighterart{filter:brightness(1.8) saturate(1.5)}.v12-arena .arena-effects{position:absolute;inset:15% 0 24%;z-index:5;pointer-events:none;display:grid;place-items:center}
.v12-battle-intel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:12px}.v12-battle-intel>div{display:grid;gap:5px;border:1px solid #384763;border-radius:14px;background:#101a2c;padding:12px}.v12-battle-intel>div:last-child{border-color:#6d4b62;background:#251c32}.v12-battle-intel span{font-size:9px;font-weight:1000;letter-spacing:.13em;color:#d6b883}.v12-battle-intel strong{font-size:14px}.v12-battle-intel small{font-size:11px;color:#aebcd1}
.v12-squad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}.v12-squad button{min-width:0;display:flex;align-items:center;gap:8px;text-align:left;background:#18243b;border:1px solid #4b607f;border-radius:12px;padding:6px;color:#e4eaf6}.v12-squad button.active{border-color:#f5d49f;background:#27334a}.v12-squad button:disabled:not(.active){opacity:.5}.v12-mini-art{display:block;flex-shrink:0;width:43px;height:45px;border-radius:7px;overflow:hidden}.v12-mini-art img,.v12-mini-art svg{height:100%;width:100%;object-fit:cover}.v12-squad b{font-size:10px;display:block;overflow-wrap:anywhere}.v12-squad small{display:block;font-size:9px;color:#abc3d8}.v12-combat-log{padding:9px 12px;background:#10182b;border-left:2px solid #d2ae7d;color:#becde1;border-radius:0 9px 9px 0;font-size:11px}.v12-combat-log span{display:block}.v12-attackhead{display:flex;justify-content:space-between;align-items:end;margin:22px 0 12px;gap:12px}.v12-attackhead h2{font-size:clamp(17px,2.5vw,24px);margin:5px 0 0}.v12-energy-pill{color:#fbd9a7;font-weight:1000;font-size:13px;white-space:nowrap}.v12-moves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v12-move{display:flex;align-items:center;gap:9px;min-height:80px;padding:12px;text-align:left;border:1px solid #475877;border-radius:14px;background:linear-gradient(125deg,#1a2942,#12213a)}.v12-move.ultimate{border-color:#b9955a;background:linear-gradient(115deg,#382842,#272039,#14243b)}.v12-move-icon{width:35px;height:35px;border-radius:10px;background:#293d5c;flex-shrink:0;display:grid;place-items:center;font-size:19px;color:#f5cf88}.v12-move-body{flex:1;min-width:0}.v12-move-body strong{font-size:12px;display:block;line-height:1.18}.v12-move-body small{display:block;color:#aebed6;font-size:10px;margin-top:5px;line-height:1.4}.v12-move-cost{font-size:10px;color:#ffe1a9;font-weight:1000}.v12-battle-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:#b8c5d8}.v12-battle-footer small{font-size:10px}.v12-showcase-result{text-align:center;padding:34px 15px;margin-top:16px;border-radius:18px;background:linear-gradient(140deg,#342342,#121b32);border:1px solid #a38b6c}.v12-showcase-result>span{font-size:10px;color:#f8d499;letter-spacing:.14em;font-weight:900}.v12-showcase-result h2{font-size:clamp(24px,4vw,38px);margin:10px 0}.v12-showcase-result p{color:#d0dae8}.v12-showcase-result .btn{margin:5px}
/* Premium foil opening, kept as a tap-controlled reveal without forced delays. */
.v10-pack-spotlight{background:radial-gradient(ellipse at center,#6e4861,#16213d 52%,#060c1c)!important;border-color:#b68e5e!important;min-height:430px}.v10-pack-spotlight:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,#f7ddb211,transparent 55%)}.v10-pack-envelope{background:linear-gradient(135deg,#090e22,#182e53 40%,#482b55 70%,#100c26)!important;border-color:#d8a864!important;box-shadow:inset 0 0 0 6px #151732,0 17px 37px #000d,0 0 37px #bd88dc50}.v10-pack-envelope strong{font-size:clamp(18px,3vw,24px)}.v10-pulled-card{animation:v12-card-rise .43s cubic-bezier(.2,.9,.2,1) both}.v10-pack-spotlight.elite-reveal{box-shadow:inset 0 0 55px #bd78f855,0 0 25px #caa06735!important}.premium-pull .printed-card{filter:drop-shadow(0 0 17px #e2b8ff7a)}.illustrated-card{transition:filter .2s ease}.illustrated-card:has(.printed-card):hover{filter:brightness(1.15)}.illustrated-modal .printed-card{max-height:min(69vh,720px)}
@keyframes v12-enter-left{from{opacity:.1;transform:translateX(-25px) scale(.96)}to{opacity:1;transform:translateX(0) scale(1)}}@keyframes v12-enter-right{from{opacity:.1;transform:translateX(25px) scale(.96)}to{opacity:1;transform:translateX(0) scale(1)}}@keyframes v12-card-rise{from{opacity:0;transform:translateY(32px) scale(.84) rotateY(25deg)}to{opacity:1;transform:translateY(0) scale(1) rotateY(0)}}@keyframes v12-shake{0%,100%{transform:translateX(0)}30%{transform:translateX(-5px)}60%{transform:translateX(4px)}}
@media(max-width:690px){.v12-homehero{min-height:430px;background-position:57% center}.v12-homecopy h1{font-size:clamp(37px,8vw,58px)}.v12-hub{grid-template-columns:1fr 1fr}.v12-hubcard:last-child{grid-column:span 2}.v12-hubcard{min-height:110px}.v12-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v12-arena{min-height:395px;padding:10px;gap:8px}.v12-fighter .v12-fighterart{bottom:110px}.v12-fighterhud{padding:8px}.v12-fighterhud h3{font-size:17px}.v12-squad button{gap:3px;padding:5px}.v12-mini-art{width:34px;height:39px}}
@media(max-width:410px){.v12-homehero{min-height:445px;padding:34px 19px 70px;background-position:60% center}.v12-homehero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#070d20df,#070d205e)}.v12-homecopy p{max-width:270px}.v12-homecopy h1{max-width:300px}.v12-homebuttons{max-width:270px}.v12-homebuttons .btn{width:100%}.v12-herofoot{left:19px;bottom:12px;gap:5px}.v12-herofoot span{font-size:8px;padding-right:6px}.v12-home-ribbon{grid-template-columns:repeat(3,minmax(0,1fr))}.v12-ribbon-item span{font-size:10px}.v12-galleryhead{padding:27px 17px}.v12-preview-gradient{padding:45px 8px 9px}.v12-preview-gradient h3{font-size:17px}.v12-preview-gradient p{font-size:9px}.v12-preview-gradient .btn{font-size:9px;min-height:39px;padding:7px 4px}.v12-arena{min-height:340px;gap:5px;padding:7px}.v12-versus{width:37px;height:37px;font-size:14px}.v12-fighterhud{padding:7px 6px}.v12-fighterhud h3{font-size:15px;margin:4px 0 6px}.v12-fighterline,.v12-barlabel{font-size:8px}.v12-fighter .v12-fighterart{bottom:93px}.v12-squad button{display:block;text-align:center}.v12-mini-art{width:100%;height:44px}.v12-battle-intel{gap:6px}.v12-battle-intel>div{padding:9px}.v12-battle-intel strong{font-size:12px}.v12-moves{gap:7px}.v12-move{padding:8px;min-height:86px;gap:6px}.v12-move-icon{width:24px;height:28px;font-size:15px}.v12-move-body strong{font-size:11px}.v12-move-body small{font-size:9px}.v12-move-cost{font-size:9px}.v12-battletop h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){.v12-fighter .v12-fighterart,.v10-pulled-card,.v12-arena.arena-hit{animation:none!important}.v12-preview img{transition:none!important}}

/* V12 layout polish: legacy fighter selectors must not collapse the arena portraits. */
.v12-arena{grid-template-rows:minmax(400px,1fr)}
.cinematic-field .v12-fighter{align-self:stretch;height:100%;min-height:0;display:flex;justify-content:flex-end}
.v12-arena .v12-fighter .v12-fighterart{inset:0 0 114px;min-height:180px}
.v12-arena .v12-fighterart img{display:block;height:100%;width:100%;object-fit:cover;object-position:center center}
.v12-arena .spellfx{z-index:9}
.v12-preview{background:radial-gradient(ellipse at 45% 30%,color-mix(in srgb,var(--type) 35%,#1a2455),#080d1d 75%)}
.v12-fighter .v12-fighterart{background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--type) 15%,#162447),transparent 65%)}
@media(max-width:690px){.v12-arena{grid-template-rows:minmax(375px,1fr)}.v12-arena .v12-fighter .v12-fighterart{inset:0 0 117px}}
@media(max-width:410px){.v12-arena{grid-template-rows:minmax(325px,1fr)}.v12-arena .v12-fighter .v12-fighterart{inset:0 0 103px}}
/* V13 · Origin League visual direction */
.official-brand{display:block;width:155px;height:55px;object-fit:cover;object-position:center;border-radius:7px;mask-image:linear-gradient(90deg,#000 92%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 92%,transparent)}
.top{position:relative;z-index:5}.wallet span{background:#07132ee8;border:1px solid #9f7940;border-radius:10px;box-shadow:inset 0 0 12px #005edc33;color:#fff1cf}.wallet .btn{border:1px solid #a47b46}
.v13-homehero{position:relative;isolation:isolate;overflow:hidden;min-height:690px;border:1px solid #b58949;border-radius:20px;background:radial-gradient(circle at 51% 48%,#4468d3 0,#192b84 15%,#0b123a 34%,#040b22 76%);box-shadow:inset 0 0 80px #030717,0 25px 55px #020611}
.v13-homehero:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.75;background:radial-gradient(circle at 20% 20%,#087fff66,transparent 24%),radial-gradient(circle at 80% 28%,#a340ff55,transparent 27%),repeating-radial-gradient(circle at 50% 50%,transparent 0 36px,#409fff1a 37px 39px,transparent 40px 70px)}
.v13-homehero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#030b1dbb 0%,transparent 24%,transparent 65%,#030916 91%);z-index:1}
.v13-portal{position:absolute;top:19%;left:21%;width:58%;aspect-ratio:1;border-radius:50%;border:11px solid #5fbfff9a;box-shadow:0 0 35px #00baff,0 0 95px #705eff,inset 0 0 50px #7955ff;background:radial-gradient(circle,#e6f5ffed 0,#39a8ffbe 9%,#601fee99 27%,#101a5f77 48%,transparent 64%);animation:portal-pulse 7s ease-in-out infinite}
.v13-legends img{position:absolute;display:block;width:27%;height:45%;object-fit:cover;object-position:center;border:2px solid #7c92bb88;border-radius:48% 48% 30% 30%;box-shadow:0 0 26px #0c8aff66,0 20px 45px #000a;mask-image:linear-gradient(#000 68%,transparent);-webkit-mask-image:linear-gradient(#000 68%,transparent)}
.v13-legends .legend-ignavar{z-index:2;left:34%;top:32%;width:34%;height:53%;border-color:#ffa636;box-shadow:0 0 55px #f75b1f99,0 30px 40px #000b}
.v13-legends .legend-aqualis{left:2%;top:26%;transform:rotate(-9deg)}.v13-legends .legend-lumir{right:1%;top:25%;transform:rotate(8deg)}.v13-legends .legend-eropalis{left:-4%;top:47%;width:25%;height:37%}.v13-legends .legend-eclipsor{right:13%;top:36%;width:21%;height:36%}.v13-legends .legend-sombrael{right:-4%;top:51%;width:25%;height:37%}
.v13-hero-content{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:7px 20px 22px;pointer-events:none}.v13-hero-logo{width:min(66%,620px);height:150px;object-fit:cover;object-position:center;filter:drop-shadow(0 6px 18px #010b28)}.v13-hero-actions{width:min(100%,840px);pointer-events:auto;text-align:center}.v13-play{display:block;margin:0 auto 15px;width:min(65%,480px);min-height:76px;clip-path:polygon(9% 0,91% 0,100% 50%,91% 100%,9% 100%,0 50%);border:2px solid #fff0b0;background:linear-gradient(#fff4b0,#d99c38 46%,#ffe39b 55%,#ae6428);color:#301708;text-shadow:0 1px #ffe6a7;font:900 34px Georgia,serif;letter-spacing:.09em;box-shadow:0 0 35px #ffb840}.v13-play:hover{filter:brightness(1.15)}.v13-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.v13-quick button{min-height:98px;border:1px solid #c6a262;clip-path:polygon(6% 0,94% 0,100% 9%,100% 91%,94% 100%,6% 100%,0 91%,0 9%);background:linear-gradient(#15325dbb,#08142dec),radial-gradient(circle at 50% 0,#578ce5,transparent 65%);font-size:24px;color:#ffe5a4}.v13-quick strong,.v13-quick small{display:block}.v13-quick strong{font:800 18px Georgia,serif;color:white}.v13-quick small{font-size:11px;letter-spacing:.08em;color:#83ccff;text-transform:uppercase}.v13-quick button:hover{background:#245487}
.v12-arena{min-height:600px;background:radial-gradient(circle at 50% 24%,#167be888 0,transparent 30%),radial-gradient(circle at 50% 62%,#5a37ca88,transparent 44%),linear-gradient(180deg,#071738,#17254f 58%,#16102b 75%,#371723)}.v12-arena:before{left:-10%;right:-10%;bottom:16%;height:20%;border:3px solid #bd874acc;border-radius:50%;background:radial-gradient(ellipse,#735b9e44,transparent 65%);box-shadow:0 0 55px #ea8b40aa,inset 0 0 50px #1aaaff99}.v12-arena-sky{background:repeating-linear-gradient(90deg,transparent 0 8%,#3373c71c 8.2% 8.5%,transparent 9% 14%),radial-gradient(circle at 50% 30%,#a6eaff44,transparent 28%),linear-gradient(0deg,#100a1e,transparent 65%)}.v13-arena-title{position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:3;white-space:nowrap;color:#ffdc94;font:700 12px Georgia,serif;letter-spacing:.18em;text-shadow:0 2px 8px #000}.v12-fighter .v12-fighterart{inset:44px 0 110px!important}.v12-fighterart img{border:2px solid #a9885a66;object-fit:cover!important;border-radius:30% 30% 14% 14%!important}.v12-fighterhud{border-color:#b79050;background:linear-gradient(160deg,#061429f2,#0d0e22f2);box-shadow:0 0 25px #183fe888}.v12-versus{top:47%;width:72px;height:72px;font:900 29px Georgia,serif;box-shadow:0 0 35px #ffbb67aa}
@keyframes portal-pulse{50%{box-shadow:0 0 55px #00baff,0 0 125px #705eff,inset 0 0 65px #7955ff}}
@media(max-width:700px){.official-brand{width:100px;height:42px}.top{gap:5px}.wallet{gap:3px}.wallet span{padding:4px 5px;font-size:10px}.wallet .btn{padding:5px}.v13-homehero{min-height:650px}.v13-hero-logo{height:117px;width:86%}.v13-portal{width:95%;left:2.5%;top:27%}.v13-legends img{width:33%;height:32%;top:38%}.v13-legends .legend-ignavar{left:27%;top:39%;width:48%;height:38%}.v13-legends .legend-aqualis{left:-5%;top:31%}.v13-legends .legend-lumir{right:-5%;top:31%}.v13-legends .legend-eropalis{left:-9%;top:52%;width:31%;height:25%}.v13-legends .legend-eclipsor{right:5%;top:44%;width:27%;height:25%}.v13-legends .legend-sombrael{right:-8%;top:56%;width:29%;height:22%}.v13-play{min-height:64px;width:85%;font-size:26px}.v13-quick{gap:5px}.v13-quick button{min-height:80px;font-size:18px}.v13-quick strong{font-size:11px}.v13-quick small{font-size:8px}.v12-arena{min-height:465px!important}.v12-fighter .v12-fighterart{inset:33px 0 112px!important}.v13-arena-title{font-size:8px}}
@media(max-width:370px){.wallet span{font-size:9px}.official-brand{width:80px}.v13-homehero{min-height:590px}.v13-quick small{display:none}.v13-quick button{min-height:65px}.v12-arena{min-height:390px!important}}
@media(prefers-reduced-motion:reduce){.v13-portal{animation:none}}

.official-brand,.v13-hero-logo{object-fit:contain}
/* The approved wordmark floats over the portal; its surrounding pixels are transparent. */
.official-brand{width:clamp(132px,15vw,190px);height:auto;max-height:70px;border-radius:0;mask-image:none;-webkit-mask-image:none;filter:drop-shadow(0 2px 9px #071229)}
.v13-hero-content{padding-top:14px}
.v13-hero-logo{display:block;width:min(82%,530px);height:auto;max-height:205px;filter:drop-shadow(0 6px 18px #020718) drop-shadow(0 0 12px #1b72ff66)}
@media(max-width:700px){.official-brand{width:118px;max-height:48px}.v13-hero-content{padding-top:18px}.v13-hero-logo{width:100%;max-height:145px}}
@media(max-width:370px){.official-brand{width:96px}.v13-hero-logo{max-height:125px}}
/* V14: real inventory actions in turn-based battles */
.v14-battle-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:12px 0 20px;padding:12px 15px;border:1px solid #9b793e80;border-radius:14px;background:linear-gradient(110deg,#111b38,#081226)}
.v14-battle-actions .btn{border-color:#dfb56a;color:#ffe4aa;font-weight:900;min-height:46px}
.v14-battle-actions span{color:#b8c7e3;font-size:12px;text-align:right}
.battle-items{display:grid;gap:10px;margin:20px 0}
.battle-item{width:100%;display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:12px;text-align:left;padding:14px;border:1px solid #be955b;border-radius:12px;background:linear-gradient(130deg,#172b51,#0b1630)}
.battle-item:hover:not(:disabled){box-shadow:0 0 20px #397fee66}
.battle-item .item-symbol{font-size:30px;color:#f7ce83;text-align:center}
.battle-item strong,.battle-item small{display:block}.battle-item small{font-size:11px;color:#afc3e1}.battle-item b{color:#ffd78d}
@media(max-width:430px){.v14-battle-actions{padding:9px;gap:8px}.v14-battle-actions .btn{font-size:12px}.v14-battle-actions span{font-size:10px}.battle-item{grid-template-columns:32px 1fr auto;gap:8px;padding:10px}.battle-item .item-symbol{font-size:23px}}
.pack-art img{display:block;width:min(88%,320px);max-height:125px;object-fit:contain;margin:auto;filter:drop-shadow(0 0 15px #2589ff88)}
.pack-art small{display:block;margin-top:5px;letter-spacing:.18em;color:#ffe0a4}
.save-warning{padding:12px 15px;margin:0 0 14px;border:1px solid #ffbd78;border-radius:10px;background:#4d261bdc;color:#fff1db;font-size:13px}
/* V15 collector cards: portrait, truthful combat values, clear ownership */
.collector-card{padding:5px!important;min-height:385px;aspect-ratio:auto!important;border:1px solid color-mix(in srgb,var(--type) 60%,#c9aa6c)!important;border-radius:17px!important;background:linear-gradient(145deg,#9e7b46 0,#25395b 2%,#08132b 46%,#6e5637 98%)!important;box-shadow:0 12px 28px #0009,inset 0 0 0 2px #08152e!important;transition:transform .2s ease,box-shadow .2s ease}
.collector-card.clickable:hover{transform:translateY(-4px);box-shadow:0 19px 35px #000b,0 0 22px color-mix(in srgb,var(--type) 35%,transparent)!important}
.collector-card.premium-dynamic{border-color:#ffdf8e!important;background:linear-gradient(135deg,#ffe4a2 0,#312751 2%,#0b1130 44%,#b57936 98%)!important}
.collector-card .collector-tap{display:flex;flex-direction:column;width:100%;min-height:375px;height:100%;padding:0;background:#07132a;border:0;border-radius:12px;overflow:hidden;text-align:left;color:#f7f5f3}
.collector-card button.collector-tap{cursor:pointer}
.collector-top{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:32px;padding:6px 9px;background:linear-gradient(90deg,#0a1735,#173360);font-size:10px;font-weight:900;letter-spacing:.1em;color:#bdd9ff}
.collector-top b{font-size:10px;color:#ffe3a5;text-align:right}.collector-card.premium-dynamic .collector-top{background:linear-gradient(90deg,#24172c,#73512c)}
.collector-art{position:relative;isolation:isolate;height:clamp(170px,19vw,250px);overflow:hidden;background:radial-gradient(circle at 50% 35%,color-mix(in srgb,var(--type) 38%,#173864),#060e23 76%)}
.collector-art .creature-art{position:absolute!important;inset:0!important;display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover;object-position:center;transform:none!important;filter:none!important}
.collector-art svg.creature-art{object-fit:contain;padding:2px;filter:drop-shadow(0 6px 8px #0009)!important}
.collector-art:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 62%,#06142aad)}
.collector-art.unknown{background:radial-gradient(circle,#26334d,#050c1e)}.collector-silhouette{display:grid;place-items:center;height:100%;font-size:85px;color:#b5c7ea30}
.collector-type{position:absolute;z-index:2;bottom:8px;left:8px;padding:3px 9px;border:1px solid var(--type);border-radius:20px;background:#071326dd;color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em}
.collector-info{display:flex;flex-direction:column;flex:1;padding:10px 10px 8px;background:linear-gradient(170deg,#111f3d,#071126)}
.collector-phase{font-size:9px;color:var(--type);font-weight:900;letter-spacing:.08em;text-transform:uppercase;line-height:1.2}
.collector-info h3{margin:4px 0 2px;font:900 clamp(16px,1.7vw,22px)/1.05 Georgia,serif;letter-spacing:.03em;color:#fff2d3;overflow-wrap:anywhere}
.collector-info p{margin:0 0 8px;color:#bbc7dc;font-size:10px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.collector-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-top:auto}
.collector-stats span{min-width:0;padding:5px 2px;border:1px solid #5277aa80;border-radius:5px;background:#10274a;text-align:center}
.collector-stats small,.collector-stats b{display:block;white-space:nowrap}.collector-stats small{color:#8dccff;font-size:8px;font-weight:900}.collector-stats b{font-size:12px;color:#fff}
.collector-bottom{display:flex;justify-content:space-between;align-items:center;gap:3px;margin-top:7px;padding-top:6px;border-top:1px solid #a6b8d240;color:#b8c9dc;font-size:8px;font-weight:800;letter-spacing:.04em}.collector-bottom strong{color:#ffd98f;font-size:10px}
.collector-card.missing .collector-info{filter:saturate(.55)}
@media(max-width:600px){.collector-card{min-height:340px}.collector-card .collector-tap{min-height:330px}.collector-art{height:clamp(147px,40vw,190px)}.collector-top{padding:5px 6px;font-size:8px}.collector-top b{font-size:8px}.collector-info{padding:8px 7px 6px}.collector-info h3{font-size:15px}.collector-info p{font-size:9px}.collector-stats b{font-size:10px}}
@media(prefers-reduced-motion:reduce){.collector-card{transition:none}}
.collector-moves{margin:14px 0;padding:13px;border:1px solid #3c5579;border-radius:13px;background:#0d1930}
.collector-moves-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0}
.collector-moves-grid>div{padding:8px;border:1px solid #415879;border-radius:8px;background:#152541}
.collector-moves-grid strong,.collector-moves-grid small{display:block}.collector-moves-grid strong{font-size:12px}.collector-moves-grid small{margin-top:3px;color:#bac9e0;font-size:10px}
.collector-moves p{margin:7px 0 0}
@media(max-width:370px){.collector-moves-grid{grid-template-columns:1fr}}

/* V16: clearer navigation and usable cards on narrow screens */
.desktop-nav{flex-wrap:wrap;justify-content:center;gap:5px;padding:6px}
.desktop-nav button{flex:1 1 auto;min-width:84px;padding:10px 8px;white-space:nowrap}
.v16-resume{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0 6px;padding:17px 20px;border:1px solid #668bc5;border-radius:17px;background:linear-gradient(110deg,#183c68,#171d40 65%,#2c2545);box-shadow:0 10px 25px #0005}
.v16-resume>div{display:flex;flex-direction:column;gap:2px;min-width:0}.v16-resume strong{font-size:18px;color:#fff2cf;line-height:1.2}.v16-resume small{color:#c4d7ee;font-size:12px}
.v16-resume .btn{flex-shrink:0}
.v16-jump{display:none}
.more-scrim{display:none}
.starter-swipe{display:none}
@media(max-width:800px){
 .mobile-nav{z-index:30;grid-template-columns:repeat(6,minmax(0,1fr));box-shadow:0 -10px 30px #030919aa}
 .mobile-nav button{font-size:9px;letter-spacing:.025em}
 .mobile-nav button.current{color:#fff0bc;background:#31507a}
 .mobile-nav button .nav-ico{font-size:20px}
 .more-scrim{display:block;position:fixed;inset:0;z-index:25}
 .more-dismiss{position:absolute;inset:0;width:100%;background:#010817b8;backdrop-filter:blur(3px)}
 .more-panel{position:absolute;left:0;right:0;bottom:calc(65px + env(safe-area-inset-bottom));max-width:650px;margin:auto;padding:18px 15px 20px;border:1px solid #6881aa;border-radius:22px 22px 0 0;background:linear-gradient(160deg,#192b4c,#09142a);box-shadow:0 -20px 55px #000a}
 .more-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px;font-size:12px;letter-spacing:.14em;color:#ffdda0}
 .more-heading button{width:38px;height:38px;border-radius:10px;background:#263b5c;font-size:18px}
 .more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .more-grid button{display:flex;align-items:center;gap:12px;min-height:54px;padding:11px;text-align:left;border:1px solid #405a7e;border-radius:12px;background:#1b3051}
 .more-grid button.current{border-color:#f4d393;background:#3d4160}.more-grid button span{width:26px;font-size:22px;color:#ffd88d;text-align:center}.more-grid button strong{font-size:12px}
 .v16-jump{display:block;width:max-content;margin:9px 0 3px auto;padding:7px 10px;border-radius:9px;background:#193961;color:#d9eaff;font-size:11px;font-weight:800;text-decoration:none}
 .v12-attackhead{scroll-margin-top:15px}
}
@media(max-width:700px){
 .v13-homehero{min-height:590px}.v13-hero-logo{max-height:122px}
 .v16-resume{padding:14px;align-items:flex-start}.v16-resume strong{font-size:15px}
 .starter-swipe{display:block;margin:10px 0 -8px}
 .starter-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,72vw);grid-template-columns:none;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:4px 4px 17px;margin:12px -4px;scrollbar-color:#6c8ebe #142441}
 .starter-grid>div{scroll-snap-align:center;min-width:0}.starter-grid .collector-card{min-height:380px}.starter-grid .collector-tap{min-height:370px}.starter-grid .collector-art{height:205px}
 .starter-grid .btn{font-size:13px;min-height:46px}
}
@media(max-width:520px){
 .v16-resume{flex-direction:column;gap:10px}.v16-resume .btn{width:100%}
 .v13-homehero{min-height:560px}.v13-quick button{min-height:76px}
 .wallet span{min-width:30px;text-align:center}
 .v12-move{min-height:91px}.v12-move-cost{flex-shrink:0}
}
@media(max-width:370px){.v13-homehero{min-height:535px}.starter-grid{grid-auto-columns:minmax(215px,80vw)}.more-panel{padding:13px 10px 18px}.more-grid{gap:6px}.more-grid button{padding:8px;gap:6px}}

/* V17: the supplied mobile art direction, with live interface above the artwork */
.screen-home,.screen-battle{background:#050d22}
.screen-home .v13-homehero{background:#071231 url('art/interface/home-world.webp') center 45% / cover no-repeat}
.screen-home .v13-homehero:before,.screen-home .v13-homehero:after{display:none}
.screen-home .v13-portal,.screen-home .v13-legends{display:none}
.screen-home .v13-hero-content{padding-top:22px}
.screen-home .v13-hero-logo{width:min(75%,660px);height:160px;object-fit:contain;filter:drop-shadow(0 5px 9px #020918) drop-shadow(0 0 13px #ffb847)}
.screen-home .v13-hero-actions{width:min(96%,840px)}
.screen-home .v13-quick{display:none}
.screen-home .v13-play{margin-bottom:3px;min-height:74px;font-size:clamp(27px,4vw,38px);box-shadow:0 0 23px #f89830,inset 0 2px 2px #fff0b3}
.v17-stage-label{width:max-content;max-width:95%;margin:0 auto 9px;padding:5px 12px;border:1px solid #d9b971;border-radius:20px;background:#061329d9;color:#ffe3a7;font-size:11px;font-weight:900;letter-spacing:.08em;text-align:center}
.screen-home .v12-hubcard{position:relative;isolation:isolate;overflow:hidden;min-height:180px;justify-content:flex-end;border:2px solid #9c793f;border-radius:8px;background:#071736;color:#fff;box-shadow:0 8px 22px #000b}
.screen-home .v12-hubcard:nth-child(1){background:url('art/interface/campaign.webp') center / cover no-repeat}
.screen-home .v12-hubcard:nth-child(2){background:url('art/interface/collection.webp') center / cover no-repeat;border-color:#5aa4eb}
.screen-home .v12-hubcard:nth-child(3){background:url('art/interface/packs.webp') center / cover no-repeat}
.screen-home .v12-hubcard:before{content:'';position:absolute;z-index:-1;inset:38% 0 0;background:linear-gradient(transparent,#020b1deb 76%)}
.screen-home .v12-hubcard span{font:900 18px/1.1 Georgia,serif;letter-spacing:.015em;color:#fff}
.screen-home .v12-hubcard strong{font-size:11px;color:#4cd0ff;letter-spacing:.08em;text-transform:uppercase}
.screen-home .v12-hubcard small{font-size:10px;color:#fff2c6}
.screen-home .v12-home-ribbon{gap:7px}.screen-home .v12-ribbon-item{border:2px solid #c0904c;border-radius:7px;box-shadow:0 6px 16px #0009}
.screen-home .v12-ribbon-item span{font:900 12px Georgia,serif;text-shadow:0 2px 3px #000}
.screen-home .section-row h2{font:900 20px Georgia,serif;color:#f7e0a6;letter-spacing:.05em}
.v12-arena{background:#071631 url('art/interface/battle-arena.webp') center 52% / cover no-repeat!important}
.v12-arena-sky,.v12-arena:before{display:none}
.v12-arena .v12-fighter .v12-fighterart img.battle-cutout{object-fit:contain!important;object-position:center bottom!important;border:0!important;border-radius:0!important;filter:drop-shadow(0 14px 12px #030316b5) drop-shadow(0 0 15px var(--type));mask-image:none;-webkit-mask-image:none}
.v12-arena .v12-fighter .v12-fighterart:has(.battle-cutout){overflow:visible;mask-image:none;-webkit-mask-image:none;background:none}
.v12-fighter.enemy .v12-fighterart img.battle-cutout{transform:none}
.v12-move.selected{border-color:#ffe29c;box-shadow:0 0 0 2px #eab769,0 0 20px #f7a64380;background:#29213e}
.v17-ability-icon{display:block;width:54px;height:54px;flex-shrink:0;object-fit:cover;border:1px solid #d7a765;border-radius:7px}
.v17-battle-controls{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:10px;margin:13px 0 6px}
.v17-battle-controls .btn{min-width:0;min-height:57px;font-weight:900}.v17-battle-controls .btn small{font-size:10px}
.v17-battle-controls .v17-attack{font:900 22px Georgia,serif;letter-spacing:.04em;border:2px solid #f8d889;box-shadow:0 0 20px #f6a33c8a}
.v17-battle-controls a{text-decoration:none}
@media(max-width:800px){
 .screen-home.app{padding:0 0 105px;position:relative;overflow:hidden}
 .screen-home .top{position:absolute;left:10px;right:10px;top:7px;z-index:8;margin:0;align-items:flex-start}
 .screen-home .official-brand{width:110px;max-height:51px}
 .screen-home .wallet span{padding:4px 7px;border-color:#a7854a;background:#09152dcc;color:#fff}
 .screen-home .wallet .btn{background:#09152ddc;border:1px solid #a7854a}
 .screen-home .v13-homehero{min-height:690px;border:0;border-radius:0;background-position:center top}
 .screen-home .v13-hero-content{padding:80px 12px 18px}
 .screen-home .v13-hero-logo{height:145px;width:min(92%,530px)}
 .screen-home .v13-play{width:min(82%,480px);min-height:66px}
 .screen-home main>.section-row,.screen-home main>.v12-hub,.screen-home main>.v12-home-ribbon{margin-left:12px;margin-right:12px}
 .screen-home .v16-resume{display:none}
 .screen-home .v12-hub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px}
 .screen-home .v12-hubcard,.screen-home .v12-hubcard:last-child{grid-column:auto;min-height:148px;padding:8px}
 .screen-home .v12-hubcard span{font-size:clamp(12px,2.5vw,17px)}.screen-home .v12-hubcard strong{font-size:9px}.screen-home .v12-hubcard small{display:none}
 .screen-home .v12-home-ribbon{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
 .screen-home .v12-ribbon-item span{font-size:7px;padding:12px 1px 4px}
 .screen-battle.app{padding:0 12px 105px}
 .screen-battle .top{padding-top:8px}.screen-battle .desktop-nav{display:none}
 .screen-battle .v12-battle{position:relative}
 .screen-battle .v12-battletop{margin:7px 0 10px}.screen-battle .v12-battletop h1{font-size:18px}
 .screen-battle .v12-arena{min-height:610px!important;grid-template-rows:minmax(590px,1fr);border-color:#d0a366;border-radius:12px;background-size:cover!important}
 .screen-battle .v12-fighterhud{position:absolute;z-index:5;top:14px;left:0;right:0;margin:0;padding:8px;border:2px solid #c18c52;border-radius:10px;background:#040b1de8}
 .screen-battle .v12-fighterhud h3{font-size:15px;margin:3px 0}.screen-battle .v12-barlabel{font-size:9px}
 .screen-battle .v12-arena .v12-fighter .v12-fighterart{inset:115px -18px 25px!important;min-height:0;border-radius:0}
 .screen-battle .v12-arena .v12-fighter .v12-fighterart img.battle-cutout{height:100%;width:100%}
 .screen-battle .v12-versus{top:77%;width:55px;height:55px;background:#1a1028d9;font-size:24px}
 .screen-battle .v13-arena-title{top:104px;font-size:7px}
 .screen-battle .v12-squad{scroll-margin-top:15px}.screen-battle .v12-attackhead{margin:15px 0 8px}.screen-battle .v12-attackhead h2{font-size:17px}
 .screen-battle .v12-moves{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .screen-battle .v12-move{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-height:153px;padding:4px;border:1px solid #d7aa62;border-radius:8px;background:#07132bf0;text-align:center}
 .screen-battle .v17-ability-icon{width:100%;height:75px;object-fit:cover;border:0;border-radius:5px}
 .screen-battle .v12-move-body{flex:1;min-width:0}.screen-battle .v12-move-body strong{font-size:10px;line-height:1.1}.screen-battle .v12-move-body small{display:none}
 .screen-battle .v12-move-cost{font-size:10px;color:#9bd4ff}.screen-battle .v17-battle-controls{gap:5px}.screen-battle .v17-battle-controls .btn{padding:6px 3px;font-size:11px}.screen-battle .v17-battle-controls .v17-attack{font-size:16px}
}
@media(max-width:450px){.screen-home .v13-homehero{min-height:615px}.screen-home .v13-hero-logo{height:126px}.screen-home .v13-hero-content{padding-top:71px}.screen-home .v13-play{min-height:59px}.screen-battle .v12-arena{min-height:540px!important;grid-template-rows:minmax(520px,1fr)}.screen-battle .v12-arena .v12-fighter .v12-fighterart{inset:108px -14px 22px!important}.screen-battle .v17-ability-icon{height:65px}.screen-battle .v12-move{min-height:140px}}
@media(max-width:370px){.screen-home .v13-homehero{min-height:550px}.screen-home .wallet span{padding:3px 4px;font-size:9px}.screen-home .official-brand{width:86px}.screen-battle .v12-move-body strong{font-size:9px}.screen-battle .v17-battle-controls .v17-attack{font-size:14px}}

.v17-exit{display:none}
@media(max-width:800px){
 .screen-home .v16-resume+.section-row{display:none}
 .screen-home .v13-homehero{min-height:545px}
 .screen-home .v12-hubcard,.screen-home .v12-hubcard:last-child{min-height:125px}
 .screen-home .v12-hub{margin-top:8px;margin-bottom:9px}
 .screen-home .section-row{margin-top:12px;margin-bottom:8px}
 .screen-battle .mobile-nav{display:none}
 .screen-battle.app{padding-bottom:36px}
 .screen-battle .v12-battle{display:flex;flex-direction:column}
 .screen-battle .v12-battletop{order:0;align-items:center}
 .screen-battle .v12-arena{order:1;min-height:440px!important;grid-template-rows:minmax(420px,1fr)}
 .screen-battle .v16-jump{display:none}
 .screen-battle .v12-attackhead{order:2;margin:10px 0 7px}
 .screen-battle .v12-moves{order:3}
 .screen-battle .v17-battle-controls{order:4}
 .screen-battle .v12-battle-footer,.screen-battle .v12-showcase-result{order:5}
 .screen-battle .v12-battle-intel{order:6;margin-top:14px}
 .screen-battle .v12-squad{order:7}.screen-battle .v12-combat-log{order:8}
 .screen-battle .capture-panel{order:5}
 .screen-battle .v12-move{min-height:120px}
 .screen-battle .v17-ability-icon{height:59px}
 .screen-battle .v12-arena .v12-fighter .v12-fighterart{inset:100px -15px 12px!important}
 .screen-battle .v12-versus{top:78%}
 .screen-battle .v17-exit{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:1px solid #b88b56;border-radius:8px;background:#071329;color:#f4dfa8;font-size:20px}
 .screen-battle .v12-battletop .v12-turn{margin-left:auto}
}
@media(max-width:450px){
 .screen-home .v13-homehero{min-height:490px}
 .screen-home .v13-hero-logo{height:116px}
 .screen-home .v13-hero-content{padding-top:58px;padding-bottom:9px}
 .screen-home .v13-play{min-height:55px;margin-bottom:0}
 .screen-home .v17-stage-label{font-size:9px;margin-bottom:5px}
 .screen-battle .v12-arena{min-height:405px!important;grid-template-rows:minmax(390px,1fr)}
 .screen-battle .v12-arena .v12-fighter .v12-fighterart{inset:97px -13px 12px!important}
 .screen-battle .v12-move{min-height:114px}.screen-battle .v17-ability-icon{height:54px}
}
@media(max-width:370px){.screen-home .v13-homehero{min-height:465px}.screen-battle .v12-arena{min-height:385px!important;grid-template-rows:minmax(370px,1fr)}}
@media(max-width:450px){.screen-home .v13-homehero{min-height:455px}.screen-home .section-row h2{font-size:16px}.screen-home .v12-hubcard,.screen-home .v12-hubcard:last-child{min-height:118px}.screen-battle .v12-move-body strong{display:block;max-width:100%;font-size:9px;overflow-wrap:anywhere;line-height:1.05;min-height:20px}}
@media(max-width:370px){.screen-home .v13-homehero{min-height:440px}}
.v12-fighter.enemy .v12-fighterart img[src*="ignavar-battle"],.v12-fighter.player .v12-fighterart img[src*="sombrael-battle"]{transform:scaleX(-1)!important}
.v12-moves:is(.type-0,.type-9,.type-10) .v12-move:not(:nth-child(3)) .v17-ability-icon{filter:hue-rotate(178deg)}
.v12-moves:is(.type-2,.type-4,.type-12) .v12-move:not(:nth-child(3)) .v17-ability-icon{filter:hue-rotate(85deg)}
.v12-moves:is(.type-3,.type-6,.type-11,.type-13) .v12-move:not(:nth-child(3)) .v17-ability-icon{filter:hue-rotate(260deg)}
.v12-moves:is(.type-5,.type-7) .v12-move:not(:nth-child(3)) .v17-ability-icon{filter:hue-rotate(35deg)}


/* V18 · usable mobile combat without losing the approved cosmic art direction. */
.v18-brand{appearance:none;background:none;border:0;padding:0;cursor:pointer;display:flex;align-items:center;min-width:0;flex-shrink:0}
.v18-brand:focus-visible{outline:2px solid #ffdf8c;outline-offset:3px;border-radius:5px}
.v18-move-readout{display:grid;gap:7px;margin:10px 0 13px;padding:13px 15px;border:1px solid #b79260;border-radius:12px;background:linear-gradient(115deg,#1c2549,#081426 70%);box-shadow:inset 0 1px 0 #e5c17b38}
.v18-move-readout-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;color:#a5c5f0;font-weight:900;font-size:10px;letter-spacing:.07em}
.v18-move-readout-title strong{color:#ffe2a6;font-size:15px;letter-spacing:0}
.v18-move-readout p{margin:0;color:#e2eafb;font-size:13px;line-height:1.45}
.v18-move-readout-meta{display:flex;flex-wrap:wrap;gap:6px}
.v18-move-readout-meta span{padding:4px 8px;background:#263b60;border:1px solid #5877a5;border-radius:9px;color:#e1efff;font-size:10px;font-weight:800}
.v18-swap-options{display:grid;gap:9px;margin:14px 0}
.v18-swap-option{appearance:none;display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:9px;border:1px solid #8b6d4c;border-radius:12px;background:linear-gradient(120deg,#172d4d,#0b1730);color:#edf4ff;text-align:left;cursor:pointer;min-height:94px}
.v18-swap-option:not(:disabled):hover,.v18-swap-option:focus-visible{border-color:#f2d498;background:#1b345b;outline:1px solid #f2d498}
.v18-swap-option:disabled{opacity:.49;cursor:not-allowed}.v18-swap-image{width:72px;height:70px;display:grid;place-items:center;overflow:hidden}.v18-swap-image svg,.v18-swap-image img{width:100%;height:100%;object-fit:contain}
.v18-swap-option span:nth-child(2){display:grid;gap:3px;min-width:0}.v18-swap-option strong{font-size:14px}.v18-swap-option small{color:#b7c9e1;font-size:11px}.v18-swap-option>b{font-size:10px;color:#ffe0a1}
.screen-battle .v12-move:focus-visible{outline:3px solid #ffe19d;outline-offset:2px}
@media(max-width:800px){
.screen-battle .v12-move-body small{display:block;font-size:10px;line-height:1.25;color:#c2d4e8;max-height:2.6em;overflow:hidden}
.screen-battle .v12-move{min-height:159px}.screen-battle .v12-move-body strong{font-size:10px}
.screen-battle .v17-battle-controls button{min-height:52px}
.screen-battle .v12-battle-intel{gap:8px}
}
@media(max-width:450px){
.screen-home .v13-homehero{background-position:center top}.screen-home .v13-hero-logo{width:min(96%,530px)}
.screen-battle .v12-moves{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.screen-battle .v12-move{min-height:94px;display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 8px;padding:7px;text-align:left}
.screen-battle .v17-ability-icon{grid-row:1 / span 2;width:64px;height:75px}
.screen-battle .v12-move-body strong{font-size:12px}.screen-battle .v12-move-body small{font-size:10px;max-height:2.7em}
.screen-battle .v12-move-cost{justify-self:start}
.screen-battle .v12-arena{min-height:510px!important;grid-template-rows:minmax(490px,1fr)}
.screen-battle .v12-arena .v12-fighter .v12-fighterart{inset:104px -13px 15px!important}
.screen-battle .v17-battle-controls .btn{font-size:11px;line-height:1.3}
.v18-move-readout{padding:11px 12px}
}
@media(max-width:350px){.v18-swap-option{grid-template-columns:58px minmax(0,1fr)}.v18-swap-image{width:58px}.v18-swap-option>b{grid-column:2}}
@media(prefers-reduced-motion:reduce){.screen-home .v13-homehero *, .screen-battle .v12-arena *, .v10-pack-ceremony *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Keep the selected technique directly between the move grid and attack controls, including on mobile. */
@media(max-width:800px){
 .screen-battle .v18-move-readout{order:4}
 .screen-battle .v17-battle-controls{order:5}
 .screen-battle .v12-battle-footer,.screen-battle .v12-showcase-result{order:6}
 .screen-battle .capture-panel{order:6}
 .screen-battle .v12-battle-intel{order:7}
 .screen-battle .v12-squad{order:8}
 .screen-battle .v12-combat-log{order:9}
}

/* ATHLONS 18.3 — SINGLE authoritative responsive arena system.
   Prevent the 155–158% zoom + overflow-hidden clipping inherited from 18.2. */
.screen-battle.app{width:100%;min-width:0;max-width:1200px;overflow-x:clip;}
.screen-battle .v12-battle,
.screen-battle .v12-battletop,
.screen-battle .v12-moves,
.screen-battle .v12-attackhead,
.screen-battle .v17-battle-controls{min-width:0;max-width:100%;}
.screen-battle .v12-battletop{gap:8px;}
.screen-battle .v12-battletop>div:first-child{min-width:0;}
.screen-battle .v12-battletop h1{overflow-wrap:anywhere;}
.screen-battle .v12-arena{
 position:relative;isolation:isolate;display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr!important;
 column-gap:8px;padding:12px!important;
 height:clamp(540px,58vh,690px);min-height:0!important;max-width:100%;
 overflow:hidden;border:1px solid #c69a5c;border-radius:14px;
 background:#08142d url('art/interface/battle-arena.webp') center center/cover no-repeat!important;
}
.screen-battle .v12-arena .v12-fighter{position:relative;min-width:0;height:100%;overflow:visible!important;z-index:2;}
.screen-battle .v12-arena .v12-fighter.player{z-index:3;}
.screen-battle .v12-arena .v12-fighter.enemy{z-index:2;}
.screen-battle .v12-arena .v12-fighter .v12-fighterart{
 position:absolute;inset:108px 0 14px!important;
 display:block!important;min-height:0;overflow:visible!important;
 background:none!important;mask-image:none!important;-webkit-mask-image:none!important;
 pointer-events:none;border:0!important;border-radius:0!important;
}
.screen-battle .v12-arena .v12-fighter .v12-fighterart::before{
 content:'';position:absolute;z-index:0;left:-2%;right:-2%;bottom:3%;height:44%;
 background:radial-gradient(ellipse at 50% 75%,color-mix(in srgb,var(--type) 36%,transparent),transparent 72%);
 opacity:.66;filter:blur(13px);pointer-events:none;
}
.screen-battle .v12-arena .v12-fighter .v12-fighterart::after{
 content:'';position:absolute;z-index:0;left:-8%;right:-8%;bottom:0;height:8%;
 background:radial-gradient(ellipse at center,color-mix(in srgb,var(--type) 60%,#fff3),transparent 72%);
 filter:blur(9px);pointer-events:none;
}
/* The image may overlap the centre of the arena, but never crosses its outside edge.
   Use the actual alpha canvas, not cover/zoom/cropped portraits. */
.screen-battle .v12-arena .v12-fighter .v12-fighterart img.battle-cutout,
.screen-battle .v12-arena .v12-fighter .v12-fighterart img.real-creature-art,
.screen-battle .v12-arena .v12-fighter .v12-fighterart svg.creature-art{
 position:absolute!important;z-index:2;left:0;right:auto;bottom:0;top:auto;display:block!important;
 width:min(155%,60vw)!important;height:100%!important;max-width:none!important;max-height:none!important;
 object-fit:contain!important;object-position:left bottom!important;overflow:visible!important;
 padding:0!important;border:0!important;border-radius:0!important;
 mask-image:none!important;-webkit-mask-image:none!important;
 filter:drop-shadow(0 15px 13px #010514d9) drop-shadow(0 0 12px color-mix(in srgb,var(--type) 38%,transparent))!important;
 transform:none!important;pointer-events:none;-webkit-user-drag:none;
 animation:athlons-183-idle 5.5s ease-in-out infinite;
}
.screen-battle .v12-arena .v12-fighter.enemy .v12-fighterart img.battle-cutout,
.screen-battle .v12-arena .v12-fighter.enemy .v12-fighterart img.real-creature-art,
.screen-battle .v12-arena .v12-fighter.enemy .v12-fighterart svg.creature-art{
 left:auto;right:0;object-position:right bottom!important;transform:scaleX(-1)!important;
 animation-delay:-2.3s;
}
.screen-battle .v12-fighterhud{
 position:absolute;top:6px;left:0;right:0;z-index:8;min-width:0;
 margin:0;padding:9px 9px 10px;border-radius:10px;border:1px solid #c89a5f;
 background:linear-gradient(145deg,#051125ef,#0e1930ef);box-shadow:0 5px 19px #01061599;
}
.screen-battle .v12-fighterhud h3{font-size:clamp(13px,2.6vw,21px);line-height:1.15;margin:3px 0 7px;overflow-wrap:anywhere;}
.screen-battle .v12-fighterline,.screen-battle .v12-barlabel{font-size:clamp(8px,1.4vw,11px);line-height:1.25;gap:3px;}
.screen-battle .v12-fighterline span,.screen-battle .v12-barlabel span{min-width:0;}
.screen-battle .v12-versus{top:73%;z-index:7;width:clamp(42px,10vw,64px);height:clamp(42px,10vw,64px);font-size:clamp(18px,4vw,26px);}
.screen-battle .v13-arena-title{top:112px;z-index:4;font-size:8px;letter-spacing:.08em;text-align:center;max-width:80%;white-space:normal;}
.screen-battle .arena-effects{z-index:9;}
@keyframes athlons-183-idle{0%,100%{translate:0 0}50%{translate:0 -5px}}
@media(max-width:800px){
 .screen-battle.app{padding:0 10px max(34px,env(safe-area-inset-bottom));}
 .screen-battle .top{gap:5px;min-width:0;flex-wrap:wrap;}
 .screen-battle .official-brand{width:clamp(85px,26vw,112px);height:auto;max-width:100%;}
 .screen-battle .wallet{gap:3px;min-width:0;}
 .screen-battle .wallet span{padding:3px 5px;font-size:10px;}
 .screen-battle .v12-battletop{margin:7px 0 9px;}
 .screen-battle .v12-battletop h1{font-size:17px;line-height:1.12;margin:2px 0 0;}
 .screen-battle .v12-arena{height:clamp(435px,54svh,550px);padding:9px!important;column-gap:7px;min-height:0!important;grid-template-rows:1fr!important;}
 .screen-battle .v12-arena .v12-fighter .v12-fighterart{inset:104px 0 9px!important;}
 .screen-battle .v12-fighterhud{top:5px;padding:7px 6px 8px;}
 .screen-battle .v12-fighterhud h3{font-size:clamp(12px,3.5vw,16px);margin:3px 0 6px;}
 .screen-battle .v12-barlabel,.screen-battle .v12-fighterline{font-size:9px;}
 .screen-battle .v13-arena-title{display:none;}
 .screen-battle .v12-moves{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .screen-battle .v12-move{min-width:0;min-height:94px;display:grid;grid-template-columns:54px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;gap:4px 7px;padding:7px;text-align:left;}
 .screen-battle .v17-ability-icon{grid-row:1/span 2;width:54px;height:64px;object-fit:cover;border-radius:6px;}
 .screen-battle .v12-move-body{min-width:0;align-self:end;}
 .screen-battle .v12-move-body strong{display:block;font-size:12px;line-height:1.14;overflow-wrap:anywhere;}
 .screen-battle .v12-move-body small{display:block;font-size:10px;line-height:1.19;max-height:2.5em;overflow:hidden;}
 .screen-battle .v12-move-cost{font-size:10px;justify-self:start;align-self:start;}
 .screen-battle .v18-move-readout{padding:9px 11px;margin:9px 0;}
 .screen-battle .v18-move-readout-title strong{font-size:13px;}
 .screen-battle .v17-battle-controls{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:6px;}
 .screen-battle .v17-battle-controls .btn{min-width:0;min-height:50px;padding:6px 3px;font-size:11px;line-height:1.2;overflow-wrap:anywhere;}
 .screen-battle .v17-battle-controls .v17-attack{font-size:clamp(14px,4.1vw,20px);}
 .screen-battle .v12-battle-intel{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
 .screen-battle .v12-battle-intel>div{min-width:0;overflow-wrap:anywhere;}
 .screen-battle .v12-squad{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;}
 .screen-battle .v12-squad>button{min-width:0;}
}
@media(max-width:365px){
 .screen-battle .v12-arena{height:435px;padding:7px!important;column-gap:5px;}
 .screen-battle .v12-arena .v12-fighter .v12-fighterart{inset:105px 0 9px!important;}
 .screen-battle .v12-fighterhud{padding:6px 4px;}
 .screen-battle .v12-fighterhud h3{font-size:12px;}
 .screen-battle .v12-barlabel,.screen-battle .v12-fighterline{font-size:8px;}
 .screen-battle .v12-move{grid-template-columns:42px minmax(0,1fr);gap:4px 6px;padding:6px;min-height:88px;}
 .screen-battle .v17-ability-icon{width:42px;height:57px;}
 .screen-battle .v12-move-body strong{font-size:11px;}
 .screen-battle .v12-move-body small{font-size:9px;}
 .screen-battle .v17-battle-controls .btn{font-size:10px;padding:5px 2px;}
}
@media(prefers-reduced-motion:reduce){
 .screen-battle .v12-fighterart img,.screen-battle .v12-fighterart svg{animation:none!important;translate:0 0!important;}
}

/* 18.3 mobile home: a usable swipeable gallery instead of six 7px cards. */
@media(max-width:800px){
 .screen-home .v12-home-ribbon{
  display:grid;grid-auto-flow:column;grid-template-columns:none;
  grid-auto-columns:clamp(104px,28vw,145px);gap:9px;
  overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x;
  scroll-snap-type:x mandatory;scroll-padding-inline:4px;
  padding:5px 4px 14px;scrollbar-width:thin;
 }
 .screen-home .v12-ribbon-item{min-width:0;scroll-snap-align:start;}
 .screen-home .v12-ribbon-item span{font-size:11px;padding:8px 2px 6px;letter-spacing:.03em;}
 .screen-home .v12-hubcard span{font-size:clamp(11px,3vw,17px);overflow-wrap:anywhere;}
}
/* ATHLONS V19: purpose-built phone game shell; desktop remains unchanged. */
@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
:root{--game-edge:env(safe-area-inset-left,0px);--game-bottom:env(safe-area-inset-bottom,0px)}
html,body,#app{width:100%;height:100%;height:100dvh;max-height:100dvh;overflow:hidden!important;overscroll-behavior:none!important}
body{touch-action:pan-x;background:#040b1b}
#app{position:fixed;inset:0}
.game-app.app{position:relative;isolation:isolate;display:grid;grid-template-rows:calc(43px + env(safe-area-inset-top,0px)) minmax(0,1fr) calc(57px + var(--game-bottom));padding:0!important;margin:0;width:100%;height:100%;height:100dvh;max-width:none;min-width:280px;overflow:hidden!important;background:radial-gradient(ellipse at 65% 20%,#20315e,#050a17 68%)}
.game-app.screen-battle{grid-template-rows:calc(39px + env(safe-area-inset-top,0px)) minmax(0,1fr)}
.game-app .game-head{height:100%;padding:env(safe-area-inset-top,0px) max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;margin:0;z-index:10;border-bottom:1px solid #7da4d344;background:linear-gradient(110deg,#071125ef,#11234bec)}
.game-head-logo{display:flex;align-items:center;justify-content:flex-start;flex-shrink:0;width:clamp(107px,34vw,160px);height:100%;padding:0;background:transparent}
.game-head-logo img{max-width:100%;max-height:95%;object-fit:contain;object-position:left center}
.game-wallet{display:flex;gap:5px;align-items:center;min-width:0;white-space:nowrap}
.game-wallet span,.game-wallet button{display:grid;place-items:center;min-height:27px;padding:3px 7px;border:1px solid #b98d5688;border-radius:15px;background:#081329e8;color:#ffe2aa;font-size:11px;font-weight:900}
.game-wallet button{min-width:30px;font-size:16px;padding:0}
.game-app .game-main{display:block;position:relative;overflow:hidden!important;min-height:0;min-width:0;width:100%;height:100%;padding:0!important;margin:0!important;touch-action:pan-x}
.game-app .game-main>section{min-height:0;max-height:100%;height:100%;margin:0}
.game-nav{z-index:11;min-width:0;width:100%;height:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:4px max(5px,env(safe-area-inset-right)) var(--game-bottom) max(5px,env(safe-area-inset-left));gap:2px;border-top:1px solid #97764680;background:#061125f5}
.game-nav button{min-width:0;display:flex;flex-direction:column;gap:1px;align-items:center;justify-content:center;color:#b9c5de;border-radius:7px;background:transparent;font-size:11px;font-weight:800}
.game-nav span{font-size:20px;line-height:1.2}.game-nav small{font-size:9px;letter-spacing:.04em}
.game-nav button.current{color:#ffe4a4;background:radial-gradient(ellipse,#82511d55,transparent 80%);box-shadow:inset 0 -2px #ffd17c}
.game-kicker{font-size:10px;color:#ffdb9d;font-weight:850;letter-spacing:.11em;text-shadow:0 1px 5px #000}
.game-gold-btn,.game-secondary-btn{display:flex;align-items:center;justify-content:center;text-align:center;min-height:42px;padding:7px 10px;background:linear-gradient(115deg,#ffe9a3,#cb933e);border:1px solid #f6cf74;border-radius:10px;color:#271906;font-weight:1000;font-size:13px;box-shadow:0 4px 16px #f8ad4936;line-height:1.15}
.game-secondary-btn{background:#142645;border:1px solid #628ab7;color:#e6f3ff;box-shadow:none}
.game-gold-btn:disabled,.game-secondary-btn:disabled{opacity:.4}
.game-full{display:flex;flex-direction:column;padding:10px 11px 8px;gap:8px;min-height:0!important;overflow:hidden}
.game-screen-title{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:36px;max-height:47px;flex:0 0 auto}
.game-screen-title div{min-width:0;display:flex;flex-direction:column}.game-screen-title small{font-size:9px;letter-spacing:.14em;color:#8bc9f4;font-weight:800}.game-screen-title strong{font:900 clamp(18px,5vw,24px)/1.1 Georgia,serif;color:#ffe3a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-screen-title>span{white-space:nowrap;background:#12213c;border:1px solid #7a6f60;border-radius:9px;padding:5px 7px;color:#ffde9a;font-size:10px;font-weight:800}
.game-pagebar{display:grid;grid-template-columns:1fr auto 1fr;gap:9px;align-items:center;justify-items:stretch;flex:0 0 35px;min-height:35px}
.game-pagebar button{background:#132441;border:1px solid #6c87a4;border-radius:9px;color:#e9f4ff;min-width:0;font-weight:850;font-size:10px;padding:6px 3px}.game-pagebar b{white-space:nowrap;font-size:11px;color:#ffdf9d}
.game-pagebar button:disabled{opacity:.3}
/* Home is one complete visual scene rather than an infinitely scrolling landing page. */
.game-home{position:relative;isolation:isolate;background:#060e23 url('art/interface/home-world.webp') center center/cover no-repeat;display:flex;flex-direction:column;overflow:hidden}
.game-home:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at center 40%,#1858a325,transparent 67%),linear-gradient(180deg,#06112508 5%,transparent 45%,#030815 87%);pointer-events:none}
.game-home-logo{z-index:4;display:flex;justify-content:center;position:relative;margin:4px 12px 0;height:clamp(65px,14vh,122px);flex:0 0 auto}
.game-home-logo img{max-width:95%;max-height:100%;object-fit:contain;filter:drop-shadow(0 3px 16px #010b22b8)}
.game-home-creatures{flex:1;position:relative;min-height:0;pointer-events:none}
.game-home-creatures img{position:absolute;max-width:none;max-height:100%;object-fit:contain;filter:drop-shadow(0 11px 14px #020818bf)}
.game-home-creatures .center{height:100%;width:92%;left:4%;bottom:-1%;z-index:3;object-position:center bottom}
.game-home-creatures .left{height:72%;width:59%;left:-14%;top:0;z-index:1;object-position:left center}
.game-home-creatures .right{height:60%;width:55%;right:-12%;top:2%;z-index:1;object-position:right center}
.game-home-creatures .far-left{height:43%;width:50%;left:-23%;bottom:0;z-index:2}
.game-home-creatures .far-right{height:43%;width:51%;right:-24%;bottom:0;z-index:2}
.game-home-bottom{flex:0 0 auto;position:relative;z-index:5;display:flex;flex-direction:column;align-items:center;gap:7px;padding:6px 9px 10px;background:linear-gradient(0deg,#040917 45%,#040917d4 75%,transparent)}
.game-play{width:min(90%,430px);min-height:clamp(44px,6.6vh,58px);font:1000 clamp(18px,5vw,25px) Georgia,serif;letter-spacing:.08em;border:2px solid #fff0c4}
.game-quick{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.game-quick button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:43px;background:linear-gradient(135deg,#122548,#061329);border:1px solid #a9854c;color:#eaf4ff;border-radius:8px;font-weight:850;font-size:10px}.game-quick span{color:#ffd897;font-size:17px}
/* Combat: header, arena, actions are flex cells of ONE available screen. */
.game-app.screen-battle .game-main{padding:0!important}
.game-app .v12-battle{height:100%;max-height:100%;min-height:0;display:flex;flex-direction:column;gap:0;padding:3px 7px 7px;overflow:hidden}
.game-app .v12-battletop{display:flex!important;flex:0 0 31px;min-height:31px;max-height:31px;align-items:center;gap:4px;margin:0 0 3px!important;order:0}
.game-app .v12-battletop>div:first-child{min-width:0;flex:1}
.game-app .v12-battletop .v12-kicker{font-size:8px;white-space:nowrap;display:block;overflow:hidden;text-overflow:ellipsis}
.game-app .v12-battletop h1{font-size:13px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important;line-height:1.1}
.game-app .v12-battletop .v12-turn{font-size:8px;padding:5px;white-space:nowrap}
.game-app .v17-exit{display:grid;place-items:center;width:28px!important;height:28px!important;flex-shrink:0;background:#0a1d35;border:1px solid #d5a65e;border-radius:7px;color:#ffd99e;font-size:14px}
.game-app .v12-arena{display:grid;position:relative;flex:1 1 0;min-height:0!important;max-height:none;height:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;gap:5px;padding:5px!important;margin:0!important;overflow:hidden;border:1px solid #b68f53;border-radius:11px;background:#0a1732 url('art/interface/battle-arena.webp') center center/cover no-repeat!important;order:1}
.game-app .v12-arena .v12-fighter{position:relative!important;height:100%!important;min-width:0!important;overflow:visible!important;padding:0!important;background:none!important;border:0!important}
.game-app .v12-arena .v12-fighterhud{position:absolute!important;z-index:8;top:1px!important;left:0!important;right:0!important;min-height:0!important;margin:0!important;padding:4px 4px 5px!important;background:#06152bec;border:1px solid #be935b;border-radius:7px;box-shadow:0 4px 10px #0009}
.game-app .v12-fighterhud h3{font-size:clamp(10px,2.8vw,15px)!important;line-height:1.15;margin:1px 0 4px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-app .v12-fighterline,.game-app .v12-barlabel{font-size:clamp(7px,1.9vw,10px)!important;line-height:1.1;white-space:nowrap;gap:2px}
.game-app .v12-bar{height:5px!important;margin:1px 0 2px!important}
.game-app .v12-status-tags{display:none}
.game-app .v12-arena .v12-fighter .v12-fighterart{position:absolute!important;inset:62px 0 1px!important;overflow:visible!important;mask-image:none!important;-webkit-mask-image:none!important;border:0!important;border-radius:0!important;min-height:0!important;background:transparent!important;pointer-events:none}
.game-app .v12-arena .v12-fighter .v12-fighterart img.battle-cutout,.game-app .v12-arena .v12-fighter .v12-fighterart img.real-creature-art,.game-app .v12-arena .v12-fighter .v12-fighterart svg.creature-art{position:absolute!important;inset:auto 0 0!important;display:block!important;width:100%!important;height:100%!important;max-height:100%!important;max-width:100%!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important;animation:none!important;translate:none!important;filter:drop-shadow(0 6px 7px #000c) drop-shadow(0 0 6px var(--type))!important}
.game-app .v12-arena .v12-fighter.enemy .v12-fighterart img.battle-cutout,.game-app .v12-arena .v12-fighter.enemy .v12-fighterart img.real-creature-art,.game-app .v12-arena .v12-fighter.enemy .v12-fighterart svg.creature-art{transform:scaleX(-1)!important}
.game-app .v12-versus{top:75%!important;width:29px!important;height:29px!important;font-size:14px!important;opacity:.85}
.game-app .v13-arena-title{display:none!important}
.game-app .v12-battle-intel,.game-app .v12-squad,.game-app .v12-combat-log,.game-app .v12-attackhead,.game-app .v18-move-readout,.game-app .v12-battle-footer,.game-app .v16-jump{display:none!important}
.game-app .v12-moves{order:2;display:grid!important;flex:0 0 auto;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;margin:5px 0 4px!important;padding:0!important;min-height:0!important}
.game-app .v12-move{display:grid!important;min-width:0!important;min-height:45px!important;max-height:56px!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-rows:1fr!important;align-items:center;gap:4px!important;padding:3px 4px!important;text-align:left!important;background:#0a1831f2;border:1px solid #987d53;border-radius:7px}
.game-app .v12-move.selected{border-color:#ffe4a4;box-shadow:inset 0 0 0 1px #ffcb77,0 0 10px #faba6133}
.game-app .v17-ability-icon{grid-row:auto!important;width:33px!important;height:36px!important;object-fit:cover;border-radius:5px}
.game-app .v12-move-body{min-width:0!important;display:flex!important;flex-direction:column;justify-content:center;gap:2px}
.game-app .v12-move-body strong{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:2.2em;overflow:hidden;font-size:clamp(9px,2.6vw,12px)!important;line-height:1.08!important;min-height:0!important;overflow-wrap:anywhere}
.game-app .v12-move-body small{display:none!important}
.game-app .v12-move-cost{display:block;grid-column:2;justify-self:start;font-size:9px!important;line-height:1;color:#ffde9e}
.game-app .v17-battle-controls{order:3;flex:0 0 43px;min-height:43px;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr)!important;gap:4px!important;margin:0!important;padding:0!important}
.game-app .v17-battle-controls button{min-width:0!important;min-height:40px!important;max-height:43px;padding:3px 1px!important;font-size:10px!important;line-height:1.05!important;border-radius:8px}
.game-app .v17-battle-controls .v17-attack{font:900 clamp(13px,3.6vw,18px) Georgia,serif!important;border:1px solid #fbe5a5}
.game-app .v17-battle-controls small{font-size:8px}
.game-app .capture-panel{order:4;flex:0 0 35px;min-height:35px;display:flex;align-items:center;gap:5px;margin:3px 0 0;padding:3px 5px}
.game-app .capture-panel div{flex:1;min-width:0}.game-app .capture-panel .eyebrow{display:none}.game-app .capture-panel strong,.game-app .capture-panel small{font-size:9px;line-height:1.1}
.game-app .capture-panel button{min-height:28px;font-size:10px;padding:3px}
.game-app .game-battle-info-btn{order:0;flex:0 0 25px;min-width:25px;max-width:25px;border:1px solid #628cbd;border-radius:7px;background:#132b4a;color:#cfe8ff;font-weight:900}
.game-battle-info-mask{position:absolute;z-index:40;inset:0;background:#030a17db;display:grid;place-items:center;padding:15px}
.game-battle-info-panel{display:flex;flex-direction:column;gap:8px;max-width:400px;width:100%;max-height:94%;padding:16px;overflow:hidden;background:#0d1c36;border:1px solid #b88c53;border-radius:15px;box-shadow:0 14px 55px #000a}
.game-battle-info-panel h2{margin:0;font:900 23px Georgia,serif;color:#ffdb8c}.game-battle-info-panel p{font-size:12px;margin:0;color:#b8cee6}.game-battle-info-panel .game-battle-info-close{min-height:38px;background:#d6a85d;color:#15131d;border-radius:9px;font-weight:900}
.game-battle-info-panel .game-battle-roster{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.game-battle-roster div{font-size:10px;border:1px solid #637ea0;border-radius:8px;padding:6px;background:#152744}
/* Results are a separate scene inside the battle, not hidden below long logs. */
.game-app .v12-battle:has(.v12-showcase-result) .v12-arena,.game-app .v12-battle:has(.v12-battle-footer+ .panel) .v12-arena{flex:1 1 0}
.game-app .v12-showcase-result,.game-app .v12-battle>.panel{order:2;flex:0 0 auto;max-height:42%;overflow:hidden;margin:6px 0!important;padding:8px!important}
.game-app .v12-showcase-result h2{font-size:19px}.game-app .v12-showcase-result p{font-size:10px}.game-app .v12-showcase-result .btn{min-height:35px;font-size:10px}
/* Interactive, full-height menu overlay. */
.game-more-mask{position:absolute;z-index:80;inset:0;background:#030817ba;display:flex;align-items:flex-end}.game-more-dismiss{position:absolute;inset:0;background:transparent}
.game-more-panel{position:relative;width:100%;padding:17px 12px calc(18px + var(--game-bottom));border:1px solid #bd935f;border-radius:19px 19px 0 0;background:linear-gradient(130deg,#112545,#061023)}
.game-more-panel header{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:12px}.game-more-panel header strong{font-size:12px;letter-spacing:.06em}.game-more-panel header button{background:#213a59;border-radius:7px;min-width:32px;height:32px}
.game-more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.game-more-grid button{display:flex;flex-direction:column;align-items:center;gap:6px;justify-content:center;min-height:78px;background:#1a3050;border:1px solid #5c80a6;border-radius:11px}.game-more-grid span{font-size:25px;color:#ffdb93}.game-more-grid strong{font-size:10px}
/* World, exploration, album, cards and booster rooms never grow beyond scene height. */
.game-map-art{flex:1 1 0;min-height:0;position:relative;border:1px solid #a58962;border-radius:13px;overflow:hidden;background:#0e1f42}
.game-map-art svg{width:100%;height:100%;object-fit:cover}.game-map-art>div{position:absolute;left:0;right:0;bottom:0;padding:12px;background:linear-gradient(transparent,#040b21ed)}.game-map-art h2{margin:0;font:900 22px Georgia,serif}.game-map-art small{font-size:10px;color:#fce4aa}
.game-node-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px;flex:0 0 clamp(150px,26vh,200px);min-height:0}
.game-node-grid button{display:flex;flex-direction:column;gap:1px;justify-content:center;align-items:center;min-width:0;border-radius:9px;border:1px solid #6192c0;background:#142a4b;padding:3px;color:#fff;text-align:center}.game-node-grid button.boss{border-color:#d9af6f;background:linear-gradient(140deg,#48311e,#13233a)}.game-node-grid button.done{border-color:#70dab5}.game-node-grid button:disabled{opacity:.38}.game-node-grid span{font-size:17px;color:#ffe7a4}.game-node-grid small{font-size:9px;color:#8bd0fc}.game-node-grid strong{font-size:11px;line-height:1.1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.game-filters{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;flex:0 0 34px;min-width:0}.game-filters input{min-width:0;width:33%;height:32px;font-size:11px;padding:4px 6px;border-radius:7px;border:1px solid #5d88b8;background:#0b1a35;color:#fff}.game-filters button{min-width:0;flex:1;height:32px;font-size:9px;border-radius:7px;background:#132541;color:#b5cbea}.game-filters button.current{background:#845f2a;color:#fff2cd}
.game-cards-core{flex:1 1 0;min-height:0;display:flex;flex-direction:column;gap:5px}.game-card-grid{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px}.game-tile{min-width:0;min-height:0;display:flex;flex-direction:column;background:linear-gradient(145deg,#1a2b4a,#09152b);border:1px solid color-mix(in srgb,var(--type) 64%,#44536d);border-radius:9px;padding:4px;overflow:hidden;text-align:left}.game-tile:disabled,.game-tile.locked{opacity:.7}.game-tile-art{display:grid;place-items:center;flex:1 1 0;min-height:0;width:100%;overflow:hidden}.game-tile-art img,.game-tile-art svg{width:100%!important;height:100%!important;object-fit:contain!important;max-height:100%;border-radius:0!important}.game-question{font-size:52px;color:#718bb5}.game-tile>div:last-child{flex:0 0 35px;padding:3px 2px;display:flex;flex-direction:column;gap:1px;background:#051225bf}.game-tile strong{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.game-tile small{font-size:9px;color:#a8bddc}
.game-gallery .game-feature-card{flex:1 1 0;min-height:0;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#61497870,#0c1735 72%);border:1px solid #a8865c;border-radius:10px}.game-feature-card img{height:100%;width:100%;object-fit:contain}.game-gallery-actions{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;gap:6px}.game-gallery-actions button{font-size:10px;min-height:40px}
.game-explore-scene{flex:1 1 0;min-height:0;overflow:hidden}.game-explore-scene .scene{height:100%!important;min-height:0!important;max-height:none!important;margin:0;overflow:hidden}.game-explore-scene .scene-hud{top:10px}.game-explore-scene .scene-bottom{font-size:9px}.game-explore-actions{display:grid;grid-template-columns:1.5fr 1fr;gap:7px;flex:0 0 auto}
.game-tabrow{flex:0 0 34px;display:flex;gap:5px}.game-tabrow button{flex:1;min-width:0;border:1px solid #6487a9;background:#102341;border-radius:7px;font-size:10px;font-weight:850}.game-tabrow button.current{color:#fff0c8;background:#795a2e;border-color:#e1bc78}
.game-pack-art{flex:1 1 0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #b2935b;border-radius:15px;background:radial-gradient(ellipse at 50% 50%,#4b4da666,#0c1932 66%);overflow:hidden}.game-pack-art img{width:75%;max-height:43%;object-fit:contain}.game-pack-art.legend img{max-height:65%}.game-pack-art strong{font:900 23px Georgia,serif;letter-spacing:.05em;color:#ffdb95}.game-pack-art small{font-size:9px;letter-spacing:.07em;color:#bfcbea;text-align:center}.game-pack-seal{font-size:55px;color:#ffe39e;filter:drop-shadow(0 2px 18px #ffb84b)}.game-pack-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;flex:0 0 auto}.game-pack-actions button{font-size:10px}.game-shop-grid{flex:1 1 0;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:7px}.game-shop-item{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:5px;min-height:0;text-align:center;padding:9px;background:#162a49;border:1px solid #6c8fb2;border-radius:10px}.game-shop-item strong{font-size:11px}.game-shop-item span{font-size:12px;color:#ffe09e}.game-shop-item button{font-size:10px;font-weight:850;border-radius:8px;background:#cfa75e;color:#24190a;padding:7px}
.game-team-grid{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.game-team-unit{display:flex;flex-direction:column;align-items:center;min-height:0;min-width:0;padding:4px;background:#11233f;border:1px solid #6888ab;border-radius:10px;gap:4px}.game-team-art{flex:1 1 0;min-height:0;display:grid;place-items:center;overflow:hidden}.game-team-art img,.game-team-art svg{width:100%;height:100%;object-fit:contain}.game-team-unit strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.game-team-unit small{font-size:8px;color:#c3d8ef;white-space:nowrap}.game-team-unit button{width:100%;padding:7px 1px;background:#ccab68;color:#24190a;font-weight:900;font-size:9px;border-radius:6px}.game-team>.game-gold-btn{flex:0 0 auto}.game-relic-grid{display:grid;flex:1 1 0;min-height:0;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,minmax(0,1fr));gap:6px}.game-relic-grid button{display:flex;flex-direction:column;gap:2px;justify-content:center;align-items:center;background:#142541;border:1px solid #6b87a7;border-radius:8px;min-height:0}.game-relic-grid button.current{border-color:#ffdc93}.game-relic-grid span{font-size:22px}.game-relic-grid strong{font-size:11px}.game-relic-grid small{font-size:9px;color:#b1c5dd}
.game-league-art{flex:1 1 0;min-height:0;position:relative;overflow:hidden;border-radius:11px;border:1px solid #ae8a5c}.game-league-art svg{width:100%;height:100%}.game-league-art>strong{position:absolute;bottom:10px;left:12px;font:900 25px Georgia,serif;text-shadow:0 2px 8px #000}.game-league-descr{min-height:30px;font-size:12px;color:#cde0f0}.game-league-descr small{display:block}.game-league-actions{display:flex;gap:6px;flex-direction:column;min-height:0}.game-league-actions button{font-size:11px;min-height:34px}
.game-studio-stage{flex:1 1 0;min-height:0;display:grid;place-items:center;overflow:hidden;border:1px solid #ad8a59;border-radius:10px;background:radial-gradient(ellipse,#36598a,#08152c 68%)}.game-studio-stage img,.game-studio-stage svg{width:100%;height:100%;object-fit:contain}.game-studio-roster{flex:0 0 73px;display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;scroll-snap-type:x proximity}.game-studio-roster button{width:64px;flex:0 0 64px;padding:3px;border:1px solid #506f97;background:#142542;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;scroll-snap-align:start}.game-studio-roster button.current{border-color:#ffd889}.game-studio-roster img,.game-studio-roster svg{height:44px;max-width:100%;object-fit:contain}.game-studio-roster small{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.game-studio-buttons{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.game-stat-grid{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:6px}.game-stat-grid>div{display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid #5a81a8;border-radius:9px;background:#112441}.game-stat-grid strong{font:900 clamp(20px,5vw,29px) Georgia,serif;color:#ffe1a4}.game-stat-grid small{color:#a9c4e0;font-size:9px;letter-spacing:.09em}.game-save-panel{flex:1;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:12px;padding:12px;border:1px solid #638ab0;border-radius:10px;background:#142748}.game-save-panel strong{font-size:14px;text-align:center}.game-save-panel p{font-size:11px;color:#b8d1eb}.game-save-panel label{cursor:pointer}
/* Modal becomes an overlay, independent of the page layout. */
.game-app~.modal-wrap{z-index:100;inset:0;padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom));overflow:hidden!important}
.game-app~.modal-wrap .modal{max-height:100%;height:auto;max-width:100%;overflow:auto;overscroll-behavior:contain}
.game-save-alert{position:absolute;z-index:99;top:43px;left:5px;right:5px;padding:7px;border-radius:6px;background:#752c35;color:white;font-size:10px}
}
@media (max-width:800px) and (max-height:640px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
.game-app{grid-template-rows:calc(37px + env(safe-area-inset-top)) minmax(0,1fr) calc(49px + var(--game-bottom))!important}
.game-app.screen-battle{grid-template-rows:calc(34px + env(safe-area-inset-top)) minmax(0,1fr)!important}
.game-home-logo{height:57px}.game-home-bottom{padding:3px 7px 4px;gap:4px}.game-quick button{min-height:32px;font-size:9px}.game-play{min-height:40px}.game-kicker{font-size:8px}
.game-full{gap:5px;padding:5px 8px}.game-screen-title{min-height:28px;max-height:34px}.game-screen-title strong{font-size:18px}.game-node-grid{flex-basis:130px}.game-pagebar{flex-basis:29px;min-height:29px}.game-pagebar button{font-size:9px;padding:4px}
.game-app .v12-battle{padding:2px 6px 3px}.game-app .v12-battletop{flex-basis:25px;min-height:25px;max-height:25px}.game-app .v12-battletop .v12-kicker{font-size:7px}.game-app .v12-battletop h1{font-size:11px!important}.game-app .v12-arena .v12-fighter .v12-fighterart{inset:58px 0 0!important}.game-app .v12-fighterhud h3{font-size:10px!important;margin:0 0 2px!important}.game-app .v12-bar{height:4px!important}.game-app .v12-moves{gap:3px!important;margin:3px 0!important}.game-app .v12-move{min-height:36px!important;max-height:43px!important;padding:2px 3px!important}.game-app .v17-ability-icon{width:27px!important;height:29px!important}.game-app .v12-move{grid-template-columns:28px 1fr!important}.game-app .v12-move-body strong{font-size:9px!important}.game-app .v12-move-cost{font-size:8px!important}.game-app .v17-battle-controls{flex-basis:35px;min-height:35px}.game-app .v17-battle-controls button{min-height:33px!important;max-height:35px!important;font-size:9px!important}.game-app .v17-battle-controls .v17-attack{font-size:13px!important}.game-app .capture-panel{flex-basis:29px;min-height:29px}
.game-gallery-actions button,.game-pack-actions button{min-height:33px}.game-tabrow{flex-basis:30px}.game-team-unit button{padding:5px 1px}.game-studio-roster{flex-basis:58px}.game-studio-roster img,.game-studio-roster svg{height:31px}.game-feature-card img{height:100%}
}
@media (orientation:landscape) and (max-height:520px) and (max-width:1024px){
.game-app.screen-battle{grid-template-rows:30px minmax(0,1fr)!important}.game-app .v12-battle{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-rows:26px minmax(0,1fr) 40px;gap:4px}.game-app .v12-battletop{grid-column:1/-1;grid-row:1}.game-app .v12-arena{grid-column:1;grid-row:2/4}.game-app .v12-moves{grid-column:2;grid-row:2;grid-template-rows:repeat(2,minmax(0,1fr));align-self:stretch;margin:0!important}.game-app .v12-move{max-height:none!important;height:100%!important}.game-app .v17-battle-controls{grid-column:2;grid-row:3}.game-app .capture-panel{position:absolute;right:3px;bottom:42px;max-width:46%;z-index:6;background:#08132be0}.game-app .v12-versus{top:68%!important}
.game-home-logo{height:50px}.game-home-bottom{padding:2px}.game-quick{max-width:520px}.game-home-creatures .center{width:58%;left:21%}.game-home-creatures .left{width:40%;left:-9%}.game-home-creatures .right{width:40%;right:-9%}
}

@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
.game-app .v12-arena .v12-fighter .v12-fighterart img.battle-cutout,.game-app .v12-arena .v12-fighter .v12-fighterart img.real-creature-art{width:145%!important;max-width:none!important;left:0!important;right:auto!important;object-position:left bottom!important}
.game-app .v12-arena .v12-fighter.enemy .v12-fighterart img.battle-cutout,.game-app .v12-arena .v12-fighter.enemy .v12-fighterart img.real-creature-art{left:auto!important;right:0!important;object-position:right bottom!important}
.game-home-creatures img{object-position:center center;max-height:100%;filter:drop-shadow(0 5px 9px #030514c4)}
.game-home-creatures .center{height:110%;bottom:-7%;object-position:center bottom}
.game-home-creatures .left{height:75%;top:0}.game-home-creatures .right{height:67%;top:0}
}
/* V19 mobile-only full viewport dialog scenes */
@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
.game-dialog-backdrop{position:fixed;z-index:105;inset:0;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#020713e8;display:grid;place-items:center;overflow:hidden}
.game-dialog{display:flex;flex-direction:column;width:100%;max-width:520px;height:100%;min-height:0;padding:9px;background:linear-gradient(145deg,#1b2e4d,#07152b);border:1px solid #cba365;border-radius:12px;box-shadow:0 14px 50px #000b;overflow:hidden}
.game-dialog>header{display:flex;flex:0 0 34px;align-items:center;justify-content:space-between;gap:6px;padding:0 2px 4px;border-bottom:1px solid #876d4c}.game-dialog>header strong{font:900 18px Georgia,serif;color:#f9dfa5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-dialog>header button{min-width:28px;height:28px;background:#344968;border-radius:7px;font-weight:900}
.game-dialog-content{display:flex;flex:1 1 0;flex-direction:column;gap:6px;min-height:0;max-height:100%;overflow:hidden;padding:5px 2px 1px}.game-dialog-content>.game-gold-btn{flex:0 0 41px}
.game-dialog-note{flex:0 0 auto;font-size:10px;line-height:1.22;color:#bcd1e9;margin:0 2px}
.game-stage-preview{position:relative;flex:0 1 24%;min-height:30px;overflow:hidden;border:1px solid #748db0;border-radius:9px}.game-stage-preview svg{width:100%;height:100%}.game-stage-preview span{position:absolute;bottom:2px;left:5px;color:#ffe6ae;text-shadow:0 2px 4px #000;font-size:10px}
.game-stage-foes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:1 1 0;min-height:0;gap:6px}.game-stage-foes>div{display:flex;flex-direction:column;justify-content:stretch;align-items:center;min-height:0;min-width:0;border:1px solid color-mix(in srgb,var(--type) 65%,#45516e);border-radius:8px;padding:3px;background:#132543}.game-stage-foes>div>div{flex:1 1 0;min-height:0;width:100%;display:grid;place-items:center;overflow:hidden}.game-stage-foes img,.game-stage-foes svg{height:100%;width:100%;object-fit:contain}.game-stage-foes strong{font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-stage-foes small{font-size:8px;color:#bed2ec}
.game-dialog-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;flex:0 0 32px}.game-dialog-tabs button{background:#10213c;border:1px solid #5078a5;border-radius:7px;font-size:10px;font-weight:850}.game-dialog-tabs button.current{background:#79562c;border-color:#ffdf93;color:#ffeca9}
.game-detail-art{display:grid;place-items:center;flex:1 1 0;min-height:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--type) 60%,#55627d);border-radius:9px;background:radial-gradient(ellipse,#2e477b,#07162d 72%)}.game-detail-art img,.game-detail-art svg{width:100%;height:100%;object-fit:contain}.game-detail-title{display:flex;justify-content:space-between;gap:6px;align-items:center;flex:0 0 26px}.game-detail-title b{font:900 20px Georgia,serif;color:#ffdf9a}.game-detail-title small{font-size:10px;color:#b8d2ea}
.game-detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;flex:0 0 31px}.game-detail-stats span{display:grid;place-items:center;background:#10223d;border:1px solid #6a85a3;border-radius:7px;font-size:10px;font-weight:850}
.game-detail-art~.game-secondary-btn{flex:0 0 36px;min-height:36px}
.game-detail-skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px;flex:1 1 0;min-height:0}.game-detail-skills>div{min-width:0;min-height:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:4px;padding:10px;background:#152a48;border:1px solid #5c7da4;border-radius:9px}.game-detail-skills b{font-size:13px;color:#ffdc93}.game-detail-skills small{font-size:11px;color:#bcd0e5}.game-detail-skills span{font-size:9px;font-weight:900;color:#92cbfb}
.game-detail-style{flex:0 0 auto;background:#102441;border:1px solid #596e90;border-radius:8px;padding:8px;display:flex;flex-direction:column;gap:7px}.game-detail-style strong{font-size:11px}.game-detail-style>div{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.game-detail-style button{padding:7px 1px;border:1px solid #5d82a9;background:#183357;border-radius:6px;font-size:10px}.game-detail-style button.current{border-color:#edc777;background:#70562e}.game-detail-style small{font-size:9px;color:#b5c9de}
.game-detail-progress{display:flex;flex-direction:column;justify-content:center;gap:9px;flex:1;min-height:0}.game-detail-progress>div:first-child{display:flex;justify-content:space-between;gap:5px}.game-detail-progress strong{font:900 21px Georgia,serif;color:#ffdb97}.game-detail-progress span,.game-detail-progress p,.game-detail-progress small{font-size:11px;color:#bfcee5}.game-detail-progress .game-gold-btn,.game-detail-progress .game-secondary-btn{min-height:40px}
.game-pack-reveal-art{flex:1 1 0;min-height:0;display:grid;place-items:center;overflow:hidden;border:1px solid #a38655;border-radius:11px;background:radial-gradient(ellipse,#4c477b,#0e1932 75%)}.game-pulled-img{height:100%;width:100%;object-fit:contain}.game-pulled-creature{display:flex;flex-direction:column;align-items:center;height:100%;width:100%}.game-pulled-creature img,.game-pulled-creature svg{height:80%;width:100%;object-fit:contain}.game-pulled-creature strong{font:900 17px Georgia,serif;color:#ffdfa1}.game-pulled-creature small{font-size:10px}.game-sealed-pack{height:84%;width:76%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;transform:rotate(-6deg);background:linear-gradient(135deg,#0b1f3d,#303c68);border:3px solid #d7a965;border-radius:16px;box-shadow:0 0 35px #6858ce66}.game-sealed-pack span{font-size:60px;color:#ffdb9c}.game-sealed-pack img{width:80%;object-fit:contain}.game-sealed-pack b{font-size:11px;color:#d9d7f8}
.game-pack-dots{flex:0 0 28px;display:flex;justify-content:center;align-items:center;gap:9px}.game-pack-dots span{height:25px;width:25px;display:grid;place-items:center;border-radius:50%;border:1px solid #5a7291;font-size:10px}.game-pack-dots span.done{background:#ae853d;color:#090d1d;border-color:#ffdd90}
.game-choose-grid{flex:1 1 0;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:6px}.game-choose-grid button{min-height:0;min-width:0;display:grid;grid-template-columns:42px 1fr;grid-template-rows:1fr 1fr;align-items:center;gap:1px 5px;padding:4px;background:#122442;border:1px solid color-mix(in srgb,var(--type) 60%,#4e719d);border-radius:7px;text-align:left}.game-choose-grid img,.game-choose-grid svg{grid-row:1/span 2;height:100%;width:42px;object-fit:contain}.game-choose-grid strong{font-size:10px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.game-choose-grid small{font-size:9px;color:#bad1e8}
.game-assign-options,.game-items-options{display:flex;flex-direction:column;justify-content:center;gap:8px;flex:1}.game-assign-options button,.game-items-options button{min-height:62px;background:#173052;border:1px solid #5e85ad;border-radius:9px;padding:9px;color:#fff;font-size:12px}.game-items-options button{display:flex;gap:5px;align-items:center;justify-content:space-between}.game-items-options button small{color:#b5d0e8}.game-items-options button b{color:#ffe19b}
.game-swap-options{flex:1 1 0;min-height:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:7px}.game-swap-options button{display:grid;grid-template-columns:72px 1fr auto;align-items:center;min-height:0;gap:7px;padding:5px;background:#172a47;border:1px solid #567ba3;border-radius:10px;text-align:left}.game-swap-options img,.game-swap-options svg{width:70px;height:100%;object-fit:contain}.game-swap-options span{display:flex;flex-direction:column;gap:4px}.game-swap-options strong{font-size:13px}.game-swap-options small{font-size:10px}.game-swap-options b{font-size:9px;color:#ffda90}.game-swap-options button:disabled{opacity:.48}
.game-artwork-full{flex:1 1 0;min-height:0;display:grid;place-items:center;overflow:hidden}.game-artwork-full img{width:100%;height:100%;object-fit:contain}
}
@media (max-width:800px) and (max-height:640px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
.game-dialog{padding:5px}.game-dialog>header{flex-basis:27px}.game-dialog>header strong{font-size:14px}.game-dialog-content>.game-gold-btn{flex-basis:32px;min-height:32px}.game-stage-preview{flex-basis:18%}.game-detail-style{gap:3px;padding:5px}.game-detail-style button{padding:4px 1px}.game-dialog-note{font-size:9px}.game-detail-title b{font-size:16px}.game-detail-stats{flex-basis:25px}.game-dialog-tabs{flex-basis:26px}.game-pack-dots{flex-basis:23px}.game-detail-progress{gap:4px}
}

@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){.game-stage-foes{grid-template-columns:repeat(var(--foes,3),minmax(0,1fr))}}

@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
.game-app .v12-arena .v12-fighter .v12-fighterart img.real-creature-art{width:100%!important;max-width:100%!important;left:0!important;right:0!important;mask-image:radial-gradient(ellipse 65% 75% at 50% 50%,#000 24%,#000d 45%,transparent 75%)!important;-webkit-mask-image:radial-gradient(ellipse 65% 75% at 50% 50%,#000 24%,#000d 45%,transparent 75%)!important;filter:drop-shadow(0 5px 7px #0009)!important}
}
@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
/* Illustrated starter portraits have their own scenes, so soften their edges and
   centre them in the battle space. Origin Legends use true transparent cutouts. */
.game-app .v12-arena .v12-fighter .v12-fighterart img.real-creature-art{
 width:125%!important;max-width:none!important;height:100%!important;
 left:-8%!important;right:auto!important;object-position:center center!important;
 mask-image:radial-gradient(ellipse 65% 43% at 50% 49%,#000 38%,#000d 60%,transparent 94%)!important;
 -webkit-mask-image:radial-gradient(ellipse 65% 43% at 50% 49%,#000 38%,#000d 60%,transparent 94%)!important;
 filter:drop-shadow(0 5px 8px #000a)!important;
}
.game-app .v12-arena .v12-fighter.enemy .v12-fighterart img.real-creature-art{left:auto!important;right:-8%!important}
}
@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
.game-app .v12-arena .v12-fighter .v12-fighterart img.real-creature-art{
 mask-image:radial-gradient(ellipse 100% 60% at 50% 50%,#000 56%,#000e 72%,transparent 100%)!important;
 -webkit-mask-image:radial-gradient(ellipse 100% 60% at 50% 50%,#000 56%,#000e 72%,transparent 100%)!important;
}
}

/* First launch is also a game scene, not a scrolling form. */
@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
  .game-start{position:relative;box-sizing:border-box;height:100dvh;width:100%;max-width:680px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:7px;padding:calc(8px + env(safe-area-inset-top)) 12px calc(9px + env(safe-area-inset-bottom));overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#263f7a 0,#101f45 39%,#061329 85%)}
  .game-start-logo{width:min(74%,285px);height:clamp(55px,14dvh,108px);flex:0 0 auto;object-fit:contain;filter:drop-shadow(0 0 16px #64a9f57a)}
  .game-start-label{flex:0 0 auto;font:900 clamp(11px,3.4vw,16px) Georgia,serif;color:#fce6ac;letter-spacing:.07em;text-align:center}
  .game-start-creature{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;flex:1 1 0;min-height:0;width:min(100%,400px);border:1px solid #a17d50;border-radius:14px;overflow:hidden;background:radial-gradient(ellipse at 50% 37%,color-mix(in srgb,var(--type) 27%,#20385f),#091831 68%);padding:5px}
  .game-start-creature .creature-art{min-height:0;max-height:none;flex:1 1 0;object-fit:contain;width:100%;height:0;filter:drop-shadow(0 10px 15px #020916b0)}
  .game-start-creature strong{flex:0 0 auto;color:#ffe5a7;font:900 clamp(20px,6vw,30px) Georgia,serif}
  .game-start-creature small{flex:0 0 auto;color:#c5d9ec;font-size:10px;text-align:center}
  .game-start-actions{width:100%;display:flex;justify-content:space-between;align-items:center;flex:0 0 39px;gap:12px;color:#ffe1a0;font-weight:900}
  .game-start-actions button{flex:0 0 60px;height:100%;background:#1b3457;border:1px solid #a98a58;border-radius:9px;font-size:25px}
  .game-start>.game-gold-btn{width:100%;max-width:400px;flex:0 0 45px;font-size:13px}
}
@media (max-width:800px) and (max-height:600px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
  .game-start{gap:3px;padding-top:calc(3px + env(safe-area-inset-top))}
  .game-start-logo{height:clamp(42px,12dvh,66px)}
  .game-start-actions{flex-basis:31px}.game-start>.game-gold-btn{flex-basis:35px}
}

/* ATHLONS V20: low-cost rendering path for mobile, with opt-in high effects. */
@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
 .game-fx-toggle{display:block;width:100%;min-height:38px;margin-top:8px;border:1px solid #c79e60;border-radius:8px;background:#122643;color:#ffe0a4;font-size:11px;font-weight:900}
 .game-more-panel{padding-top:10px;padding-bottom:calc(11px + var(--game-bottom))}
 .game-more-panel header{margin-bottom:6px}
 .game-studio-pages{flex:0 0 28px;min-height:28px;gap:5px}
 .game-studio-pages button{padding:2px 4px;min-height:27px}
 .game-studio-pages b{font-size:10px}
 .game-app .game-home-creatures img{content-visibility:auto}
 body.athlons-lite .game-home-creatures img,
 body.athlons-lite .game-app .v12-arena .v12-fighter .v12-fighterart img.battle-cutout,
 body.athlons-lite .game-app .v12-arena .v12-fighter .v12-fighterart img.real-creature-art,
 body.athlons-lite .game-app .game-studio-stage img{
   filter:none!important;will-change:auto!important;animation:none!important;
 }
 body.athlons-lite .game-app .v12-fighterart::before,
 body.athlons-lite .game-app .v12-fighterart::after{animation:none!important;filter:none!important}
 body.athlons-lite .game-app .v12-arena,
 body.athlons-lite .game-dialog,
 body.athlons-lite .game-more-panel,
 body.athlons-lite .game-app .v12-fighterhud,
 body.athlons-lite .game-app .game-head{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 body.athlons-lite .game-home-logo img{filter:none!important}
 body.athlons-lite .game-app .v12-arena .v12-fighter .v12-fighterart img.real-creature-art{
   mask-image:none!important;-webkit-mask-image:none!important;filter:none!important;
 }
 body.athlons-lite .spellfx .combat-particle:nth-of-type(n+5){display:none}
 body.athlons-lite .game-app .v12-arena .v12-fighter .v12-fighterart img,
 body.athlons-lite .game-app .v12-arena .v12-fighter .v12-fighterart svg{transition:none!important}
}
@media(prefers-reduced-motion:reduce){.game-app *, .game-dialog-backdrop *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
 .game-app button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 body.athlons-lite .game-home-creatures img{animation:none!important;transition:none!important}
}

/* V20.1 COMBAT FINISH SCENE — full-viewport reward and explicit exit */
.game-battle-complete{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:clamp(5px,1.2vh,11px);width:100%;height:100%;min-height:0;overflow:hidden;padding:clamp(9px,2vh,18px) clamp(11px,3.5vw,22px) max(12px,env(safe-area-inset-bottom,0px));background:radial-gradient(ellipse at 50% 44%,#244b88 0,#102247 36%,#050b20 80%);text-align:center}
.game-battle-complete:before{content:"";position:absolute;inset:0;background:linear-gradient(#070d21a8,transparent 34%,#050917ad 85%),url('art/interface/battle-arena.webp') center / cover no-repeat;opacity:.36;z-index:-2;pointer-events:none}
.game-battle-complete.finish-lose{background:radial-gradient(ellipse at 50% 40%,#462646,#15132c 50%,#080919 85%)}
.finish-heading{flex:0 0 auto;min-height:0}.finish-kicker{font:800 10px/1.2 system-ui,sans-serif;letter-spacing:.19em;color:#b0dafa}.finish-heading h1{font:900 clamp(28px,8vw,49px)/1 Georgia,serif;color:#ffe1a0;text-shadow:0 2px 20px #e6aa4285;margin:5px 0}.finish-heading p{font-size:clamp(10px,2.7vw,13px);line-height:1.3;margin:0 auto;color:#d5e5fa;max-width:460px}
.finish-creature{position:relative;flex:1 1 0;min-height:0;display:grid;place-items:center;overflow:hidden}.finish-creature img,.finish-creature svg{display:block;width:100%;height:100%;max-width:min(100%,350px);max-height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 16px 20px #000d)}.finish-glow{position:absolute;width:min(67%,300px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#edc27b67,#2a7ccb28 48%,transparent 72%);pointer-events:none;z-index:-1}.finish-lose .finish-glow{background:radial-gradient(circle,#9b5eaa88,transparent 70%)}.finish-trophy{font-size:clamp(70px,17vh,160px);color:#ffd78e}
.finish-rewards{flex:0 0 auto;max-width:470px;width:100%;align-self:center;padding:7px 9px;border:1px solid #a8854c;border-radius:12px;background:#09162adf;box-shadow:0 5px 16px #0008}.finish-stars{color:#ffde96;font-size:clamp(16px,4vh,27px);line-height:1;letter-spacing:4px;margin-bottom:5px}.finish-reward-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.finish-reward-row span{display:flex;flex-direction:column;align-items:center;gap:1px;padding:2px;background:#172944b5;border-radius:6px}.finish-reward-row b{font-size:clamp(14px,4vw,21px);color:#ffe3a2;font-variant-numeric:tabular-nums}.finish-reward-row small{font-size:9px;letter-spacing:.04em;color:#bdcde4}.finish-extra{display:block;font-size:10px;color:#e9d7a6;margin-top:4px;line-height:1.15}
.finish-done{flex:0 0 auto;align-self:center;display:flex;justify-content:center;align-items:center;gap:11px;width:100%;max-width:470px;min-height:48px;padding:10px 13px;border:2px solid #fff0b4;border-radius:12px;background:linear-gradient(125deg,#fff1bf,#d5a252 68%,#ac702e);box-shadow:0 3px 22px #ffb6567a;color:#231608;font:900 clamp(16px,4.5vw,21px)/1.2 Georgia,serif;touch-action:manipulation}.finish-done span{font:800 10px/1 system-ui,sans-serif;letter-spacing:.06em}.finish-done:focus-visible{outline:3px solid #8fdfff;outline-offset:2px}
@media(min-width:801px){.game-battle-complete{max-width:720px;margin:auto;border:1px solid #bd9358;border-radius:18px;height:min(760px,calc(100dvh - 135px))}.game-battle-complete .finish-creature img{max-width:410px}}
@media(max-height:620px){.game-battle-complete{padding-top:6px;gap:3px}.finish-heading h1{font-size:26px;margin:2px 0}.finish-heading p{font-size:10px;line-height:1.1}.finish-rewards{padding:4px 6px}.finish-reward-row b{font-size:14px}.finish-stars{margin-bottom:2px;font-size:15px}.finish-done{min-height:41px;padding:5px}.finish-extra{font-size:9px;margin-top:2px}}
@media(max-height:480px) and (orientation:landscape){.game-battle-complete{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;column-gap:12px}.finish-heading{grid-column:1/-1}.finish-creature{grid-column:1;grid-row:2/4}.finish-rewards{grid-column:2;grid-row:2;align-self:end}.finish-done{grid-column:2;grid-row:3}}

/* ATHLONS V20.2 — coherent energy feedback, cinematic compact HUD and full creature artwork. */
.v21-energy-pips{display:flex;justify-content:flex-start;gap:4px;align-items:center;min-height:7px;margin-top:3px}
.v21-energy-pips i{display:block;flex:1 1 0;height:5px;border-radius:3px;background:#27354b;border:1px solid #52637b;box-shadow:inset 0 1px 2px #0009}
.v21-energy-pips i.filled{background:linear-gradient(90deg,#ffd47a,#ffefb4);border-color:#ffd989;box-shadow:0 0 5px #d7a44e70}
.v21-energy-value{font-variant-numeric:tabular-nums;color:#ffe1a0;font-weight:900}
.v21-arena-intel{position:absolute;z-index:7;bottom:3px;left:4px;right:4px;display:flex;justify-content:space-between;align-items:center;gap:5px;min-width:0;padding:4px 7px;border:1px solid #cba46b7a;border-radius:7px;background:#06152bdc;color:#f2dfb9;font-size:9px;font-weight:800;line-height:1.2;pointer-events:none;backdrop-filter:none}
.v21-arena-intel span{max-width:49%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-detail-art{position:relative;isolation:isolate;overflow:hidden!important;background:radial-gradient(ellipse at 50% 46%,color-mix(in srgb,var(--type) 26%,#293a6a),#08152e 75%)!important}
.game-detail-art-inner{height:100%;width:100%;min-height:0;display:grid;place-items:center;overflow:hidden;padding:6px 8px 22px}
.game-detail-art-inner img,.game-detail-art-inner svg,.game-detail-art img.real-creature-art,.game-detail-art .game-detail-full-creature{display:block!important;position:static!important;inset:auto!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-height:100%!important;max-width:100%!important;object-fit:contain!important;object-position:center center!important;mask-image:none!important;-webkit-mask-image:none!important;filter:drop-shadow(0 8px 10px #0009)!important;transform:none!important;translate:none!important;border:0!important;border-radius:0!important}
.game-detail-phase{position:absolute;bottom:4px;left:8px;padding:3px 8px;border-radius:5px;background:#0a1930de;border:1px solid #d3ae6d;color:#ffe0a0;font-size:9px;font-weight:900;letter-spacing:.06em}
.game-skill-economy{flex:0 0 auto;display:flex;flex-direction:column;gap:2px;padding:7px 9px;border:1px solid #ad8956;border-radius:8px;background:#102442}
.game-skill-economy b{font-size:11px;color:#ffdf95}.game-skill-economy small{font-size:10px;line-height:1.25;color:#d4e6fa}
.game-detail-skills{grid-template-rows:repeat(2,minmax(0,1fr));gap:6px}
.game-detail-skills .game-skill-card{display:grid;grid-template-columns:clamp(35px,10vw,52px) minmax(0,1fr);gap:6px;align-items:center;padding:6px;border:1px solid #6b88b0;border-radius:9px;background:linear-gradient(145deg,#152c4d,#0a1a35);min-width:0;min-height:0}
.game-skill-card img{display:block;width:100%;height:clamp(38px,8vh,57px);object-fit:cover;border-radius:6px}
.game-skill-card.ultimate{border-color:#ddb26a;background:linear-gradient(145deg,#48311f,#162341)}
.game-skill-copy{display:flex;flex-direction:column;gap:3px;min-width:0;max-height:100%;justify-content:center}
.game-detail-skills .game-skill-copy b{color:#ffe0aa;font-size:clamp(10px,2.9vw,13px);line-height:1.14;overflow-wrap:anywhere}
.game-detail-skills .game-skill-copy small{color:#d2e2f4;font-size:clamp(9px,2.3vw,11px);line-height:1.18}
.game-detail-skills .game-skill-copy span{color:#9ee2fd;font-size:9px;font-weight:900;line-height:1.1}
.game-detail-style{flex:0 0 auto}
.game-detail-style>strong{display:flex;justify-content:space-between;gap:4px;font-size:10px}.game-detail-style>strong small{font-size:8px;color:#cbdaf0}
@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
 .game-app .v12-bar.energy{display:none!important}
 .game-app .v12-fighterhud .v21-energy-pips{gap:3px;min-height:6px;margin-top:4px}
 .game-app .v12-fighterhud .v21-energy-pips i{height:5px}
 .game-app .v12-arena .v12-fighter .v12-fighterart{top:72px!important;bottom:24px!important}
 .game-app .v12-arena .v21-arena-intel{font-size:clamp(7px,2vw,9px)}
 .game-app .v12-moves{order:3!important}
 .game-app .v18-move-readout{display:flex!important;flex:0 0 31px;min-height:31px;max-height:31px;order:2;min-width:0;align-items:center;justify-content:space-between;gap:5px;margin:3px 0 1px!important;padding:3px 7px!important;background:#132846;border:1px solid #bda06d;border-radius:7px}
 .game-app .v18-move-readout-title{display:flex;min-width:0;flex:1;align-items:center;gap:4px;font-size:10px}
 .game-app .v18-move-readout-title>span{display:none}
 .game-app .v18-move-readout-title strong{font-size:clamp(10px,2.8vw,13px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .game-app .v18-move-readout p{display:none}
 .game-app .v18-move-readout-meta{display:flex;gap:4px;flex:0 0 auto}
 .game-app .v18-move-readout-meta span{padding:3px 5px;border:1px solid #5a7fa4;border-radius:5px;background:#0a1c36;font-size:9px;white-space:nowrap}
 .game-app .v18-move-readout-meta span:last-child{display:none}
 .game-app .v17-battle-controls{order:4!important}
 .game-app .capture-panel{order:5!important}
 .game-detail-art-inner{padding:3px 3px 21px}
 .game-skill-economy{padding:5px 7px}.game-skill-economy small{font-size:9px}
 .game-detail-skills .game-skill-card{padding:4px;gap:4px;grid-template-columns:clamp(29px,9vw,42px)}
 .game-skill-card img{height:clamp(32px,7vh,45px)}
 .game-detail-skills .game-skill-copy small{font-size:9px}
 .game-detail-style{gap:3px;padding:5px}.game-detail-style small{font-size:9px}
}
@media(max-height:620px) and (max-width:800px){
 .game-app .v12-arena .v12-fighter .v12-fighterart{top:66px!important;bottom:22px!important}
 .game-app .v18-move-readout{flex-basis:27px;min-height:27px;max-height:27px}
 .game-skill-economy small{font-size:8px}.game-skill-card img{height:30px}.game-detail-skills .game-skill-copy small{font-size:8px}.game-detail-style>small{font-size:8px}
}


/* V20.3: identical collectible card presentation in booster and ATHLONDEX. */
.game-dialog-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.game-dialog-tabs button{min-width:0;white-space:nowrap;font-size:clamp(8px,2.3vw,10px);padding:0 2px}
.game-collection-card-stage{flex:1 1 0;min-height:0;max-height:none;padding:5px;overflow:hidden;isolation:isolate}
.game-collection-card-stage .game-collector-card-image,.game-pack-reveal-art .game-collector-card-image{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain!important;object-position:center center!important;filter:drop-shadow(0 6px 14px #020713c0);border:0;mask-image:none;-webkit-mask-image:none}
.game-collection-card-stage .game-collector-card-image{padding:0!important;transform:none!important}
.game-card-ownership{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:0 0 24px;min-height:24px;padding:2px 8px;border:1px solid #7f6c52;border-radius:7px;background:#10243e;color:#ffe2a2;font-size:10px;font-weight:900;letter-spacing:.04em}
.game-card-ownership b{white-space:nowrap;color:#aee1ff;font-size:10px}
.game-dialog-content>.game-view-creature-btn{flex:0 0 39px;min-height:39px;font-weight:900}
.game-base-card{position:relative;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;flex:0 1 auto;width:auto;height:100%;max-width:100%;aspect-ratio:683/1024;min-width:0;min-height:0;border:3px solid color-mix(in srgb,var(--type) 66%,#e9c27c);border-radius:13px;background:radial-gradient(ellipse at 50% 22%,color-mix(in srgb,var(--type) 30%,#0e1e3b),#070d23 73%);box-shadow:inset 0 0 0 2px #ffe6a44c,0 8px 22px #0009;color:#f5f2e9}
.game-base-card:before{content:'';position:absolute;inset:4px;border:1px solid #e7bb78a0;border-radius:8px;pointer-events:none;z-index:4}
.game-base-card-top{flex:0 0 8%;display:flex;align-items:center;justify-content:space-between;gap:3px;padding:6px 11px 1px;color:#ffdc95;font-size:clamp(7px,1.1vh,10px);font-weight:900;letter-spacing:.07em}
.game-base-card-art{flex:1 1 0;min-height:0;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--type) 36%,#112344),#061023 80%);margin:3px 8px;border:1px solid color-mix(in srgb,var(--type) 72%,#b5b2a0);border-radius:8px}
.game-base-card-art img,.game-base-card-art svg{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;mask-image:none!important;-webkit-mask-image:none!important;filter:drop-shadow(0 6px 12px #000b)!important;border:0!important;border-radius:0!important;position:static!important;transform:none!important}
.game-base-card-info{flex:0 0 11%;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:1px 12px;border-bottom:1px solid #9d8659;background:linear-gradient(90deg,#09162b,#273453,#09162b)}
.game-base-card-info b{font:900 clamp(14px,3.5vh,22px)/1.12 Georgia,serif;color:#ffe3a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-base-card-info span{font-size:clamp(7px,1.1vh,10px);color:#b3d8f3;font-weight:850}
.game-base-card-ability{flex:0 0 13%;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:2px;margin:3px 8px 0;padding:3px 7px;border:1px solid #8b7593;border-radius:5px;background:#071529e0}
.game-base-card-ability strong{font-size:clamp(9px,1.6vh,13px);color:#ffdb9c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-base-card-ability small{font-size:clamp(7px,1.05vh,10px);color:#c9d8ed;overflow:hidden;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.game-base-card-stats{flex:0 0 10%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px 8px 0}
.game-base-card-stats span{display:flex;align-items:center;justify-content:center;gap:4px;background:#101d36;border:1px solid #7687ad;border-radius:5px;font-size:clamp(8px,1.3vh,11px);font-weight:850;color:#d8e9fb}
.game-base-card-stats b{font-size:clamp(10px,1.7vh,14px);color:#ffe9a5}
.game-base-card-footer{flex:0 0 5%;display:grid;place-items:center;color:#f8d69a;font:900 clamp(8px,1.1vh,10px)/1 Georgia,serif;letter-spacing:.11em}
@media(max-height:620px){.game-collection-card-stage{padding:1px}.game-dialog-content>.game-view-creature-btn{flex-basis:32px;min-height:32px}.game-base-card-top{padding-top:2px}.game-base-card-ability{margin-top:1px}.game-base-card-info b{font-size:13px}.game-card-ownership{flex-basis:20px;min-height:20px;font-size:9px}}
@media(max-width:350px){.game-dialog-tabs button{font-size:8px}.game-card-ownership{font-size:9px}.game-card-ownership b{font-size:9px}}

/* V21 approved-creature roster notice; safe within viewport scene. */
.v21-release-note{font-size:10px;line-height:1.35;color:#e6d8af;background:#132039;border:1px solid #846c3f;border-radius:9px;padding:7px 9px;margin:5px 0 0;overflow-wrap:anywhere}
.game-collection .v21-release-note{max-height:3.15em;overflow:hidden}
@media(max-height:650px) and (max-width:800px){.game-collection .v21-release-note{font-size:9px;padding:4px 7px}}

/* V22: ten unique printed cards, mobile full-screen edition pack. */
.game-pack-art.expansion{background:radial-gradient(ellipse at 50% 48%,#74419470,#0c1636 69%);border-color:#d2af64}
.game-pack-art.expansion img{height:min(76%,390px);width:auto;max-width:79%;max-height:76%;object-fit:contain;border-radius:7px;filter:drop-shadow(0 5px 12px #000a)}
.game-pack-art.expansion strong{font-size:clamp(15px,4vw,22px)}
.game-pack-art.expansion small{font-size:clamp(8px,2vw,10px)}
.game-tabrow button{font-size:clamp(8px,2.35vw,10px);padding:2px;overflow-wrap:anywhere}
.game-feature-card img,.game-collection-card-stage img.game-collector-card-image{object-fit:contain!important;object-position:center center!important}
.game-app .v12-arena .v12-fighter .v12-fighterart img.battle-cutout{object-fit:contain!important;object-position:center bottom!important}
@media(max-width:370px){.game-tabrow{gap:3px}.game-tabrow button{font-size:8px}}

/* V22.1: the next campaign node is visible immediately after victory. */
.game-node-grid button.next{border:2px solid #ffdfa0;background:linear-gradient(140deg,#684627,#152a48);box-shadow:0 0 0 1px #ffe8b244,inset 0 0 18px #e8a63a25}
.game-node-grid button.next span{color:#fff1b8;text-shadow:0 0 10px #ffc978}
.game-node-grid button.next small{color:#ffde99;font-weight:900;letter-spacing:.04em}


/* V22.2 — REAL MOBILE HOME. Keep the entire composited cast and genuine logo visible. */
@media (max-width:800px), (orientation:landscape) and (max-height:520px) and (max-width:1024px){
 .game-app .game-home.game-home-framed{
   display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden;
   background:radial-gradient(ellipse at 50% 38%,#174184 0%,#0e2449 45%,#050d21 92%);
 }
 .game-app .game-home-framed::before{content:none!important;display:none!important}
 .game-app .game-home-framed .game-home-stage{
   flex:1 1 0;min-height:0;width:100%;display:flex;flex-direction:column;align-items:center;
   justify-content:flex-start;gap:2px;position:relative;overflow:hidden;
   background:radial-gradient(ellipse at 50% 50%,#31549a77,#09162a00 67%);
 }
 .game-app .game-home-framed .game-home-logo{
   flex:0 0 clamp(64px,12dvh,116px);height:clamp(64px,12dvh,116px);
   width:100%;max-width:660px;margin:0;padding:3px 14px 0;z-index:2;
   display:flex;align-items:center;justify-content:center;min-height:0;
 }
 .game-app .game-home-framed .game-home-logo img{
   display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;
   filter:drop-shadow(0 4px 12px #000c);transform:none;animation:none;
 }
 .game-app .game-home-framed .game-home-scene{
   flex:1 1 0;min-height:0;display:flex;align-items:center;justify-content:center;
   width:100%;height:100%;overflow:hidden;position:relative;
 }
 .game-app .game-home-framed .game-home-scene-img{
   display:block;position:static;width:100%;height:100%;max-width:100%;max-height:100%;
   object-fit:contain!important;object-position:center center!important;
   border:0;mask-image:none!important;-webkit-mask-image:none!important;
   transform:none!important;filter:none!important;animation:none!important;
 }
 .game-app .game-home-framed .game-home-bottom{
   flex:0 0 auto;min-height:0;width:100%;padding:5px max(8px,env(safe-area-inset-left,0px)) 8px;
   gap:5px;z-index:5;background:linear-gradient(0deg,#040b1e 74%,#07142cf1);
 }
 .game-app .game-home-framed .game-play{min-height:clamp(43px,6.8dvh,58px);max-width:570px;width:94%;font-size:clamp(18px,5vw,25px)}
 .game-app .game-home-framed .game-quick{gap:6px}
 .game-app .game-home-framed .game-quick button{min-height:42px}
 .game-app .game-head-logo{width:clamp(116px,36vw,155px)}
 .game-app .game-head-logo img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;object-position:left center}
}
@media (max-width:800px) and (max-height:720px){
 .game-app .game-home-framed .game-home-logo{flex-basis:clamp(48px,10dvh,72px);height:clamp(48px,10dvh,72px)}
 .game-app .game-home-framed .game-home-bottom{gap:3px;padding-top:3px;padding-bottom:4px}
 .game-app .game-home-framed .game-quick button{min-height:34px;font-size:9px}
 .game-app .game-home-framed .game-play{min-height:41px;font-size:18px}
 .game-app .game-home-framed .game-kicker{font-size:8px}
}
@media (orientation:landscape) and (max-height:520px) and (max-width:1024px){
 .game-app .game-home-framed .game-home-stage{flex-direction:row;justify-content:center;gap:1vw}
 .game-app .game-home-framed .game-home-logo{flex:0 0 30%;max-width:30%;height:100%;padding:5px}
 .game-app .game-home-framed .game-home-scene{flex:1 1 0}
 .game-app .game-home-framed .game-home-bottom{padding:2px 8px;gap:2px}
 .game-app .game-home-framed .game-quick button{min-height:25px}
 .game-app .game-home-framed .game-play{min-height:30px}
}
/* Branded loading screen: the actual official wordmark, not a generated static app mockup. */
.boot.boot-origin{height:100dvh;width:100%;margin:0;padding:max(26px,env(safe-area-inset-top,0px)) 24px max(20px,env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:radial-gradient(ellipse at center,#234d9b 0%,#111f53 35%,#060d24 78%);color:#ffe2a3;overflow:hidden}
.boot-origin .boot-logo{display:block;width:min(92vw,520px);height:auto;max-height:30dvh;object-fit:contain;filter:drop-shadow(0 7px 17px #000a)}
.boot-origin .boot-caption{font:850 12px/1.3 system-ui,sans-serif;letter-spacing:.13em;text-align:center;color:#c5e1fa}
.boot-origin small{font-size:11px;line-height:1.45;max-width:350px;color:#a7bedc;margin:0}
