:root{--background:#111817;--surface:#1a2421;--border:#34433b;--text:#edf0e9;--muted:#a4b1a8;--jade:#86cbb1;--amber:#e8b66a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.effectiveness-symbol{vertical-align:middle;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:18px;min-height:8px;display:inline-flex}.effectiveness-symbol i{clip-path:polygon(50% 0,100% 58%,100% 100%,50% 42%,0 100%,0 58%);background:currentColor;flex:none;width:18px;height:8px;display:block}.effectiveness-down{transform:rotate(180deg)}.effectiveness-neutral:before{content:"";background:currentColor;border-radius:50%;width:4px;height:4px}.effectiveness-immune:before{content:"⊘";font-size:21px;line-height:1}.effectiveness-detail{vertical-align:middle;display:inline-block;position:relative}.effectiveness-detail>summary{cursor:help;justify-content:center;align-items:center;min-width:32px;min-height:42px;padding:2px;list-style:none;display:flex}.effectiveness-detail>summary::-webkit-details-marker{display:none}.effectiveness-tooltip{z-index:5;background:var(--ui-surface,#10251b);width:220px;max-width:70vw;color:var(--ui-text,#e2eee8);border:1px solid var(--ui-border-strong,#71bc9c);text-align:left;white-space:normal;border-radius:6px;padding:10px;font-size:13px;display:none;position:absolute;top:100%;left:50%}.effectiveness-detail[open]>.effectiveness-tooltip,.effectiveness-detail:hover>.effectiveness-tooltip,.effectiveness-detail:focus-within>.effectiveness-tooltip{display:block}.rules-matrix td:nth-last-child(-n+6) .effectiveness-tooltip{left:auto;right:0}.rules-matrix tr:nth-last-child(-n+4) .effectiveness-tooltip{top:auto;bottom:100%}.effectiveness-messages{padding:0;list-style:none}.effectiveness-messages li{align-items:center;gap:12px;display:flex}.rules-legend>span{align-items:center;gap:6px;display:inline-flex}.rules-legend .effectiveness-symbol{border-radius:0;padding:0}.rules-matrix td:focus-within,.rules-matrix td:hover{outline:2px solid var(--ui-accent-border,#71bc9c);outline-offset:-2px}@media (pointer:coarse){.effectiveness-detail>summary{min-width:44px;min-height:44px}}.brand-logo{width:242px;height:auto;display:block}.codex-nav a:hover,.reference-link:hover,.monster-card h2 a:hover{color:var(--ui-accent-text,#bde7cb);text-underline-offset:4px;text-decoration:underline}.reference-link{color:var(--ui-accent-text,#b3dfca)}.back-link{margin-block:12px 26px;display:inline-block}.profile-heading,.section-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.section-heading h2,.section-heading h3{margin-bottom:0}.section-heading{margin-bottom:22px}.profile-heading h1{margin-bottom:12px}.profile-form-nav,.profile-section-nav{flex-wrap:wrap;gap:8px;margin-block:14px 24px;display:flex}.profile-form-nav a,.profile-section-nav a{border:1px solid var(--ui-border,#34483e);border-radius:6px;padding:9px 14px;font-size:14px}.profile-form-nav [aria-current]{background:var(--ui-selected,#294c3b);border-color:var(--ui-accent-border,#8dcbaa)}.profile-section-nav a:hover{background:var(--ui-hover,#23382e)}.profile-overview{border:1px solid var(--ui-border,#34483e);background:var(--ui-surface,#18241f);border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;padding:28px;display:grid}.profile-art-stage{align-self:start;min-width:0;position:sticky;top:24px;overflow:hidden}.profile-illustration{width:100%;height:auto;display:block;overflow:visible}.profile-art-empty{aspect-ratio:1;text-align:center;min-height:280px;color:var(--ui-muted,#a8b9ae);border:1px dashed var(--ui-border,#40594b);border-radius:10px;place-content:center;padding:20px;display:grid}.temporary-label{text-align:center;color:var(--ui-warning-text,#e8c78d);font-size:12px}.profile-stat-list{margin:0}.profile-stat-list>div{grid-template-columns:92px 40px minmax(40px,1fr);align-items:center;gap:16px;margin-bottom:13px;font-size:14px;display:grid}.profile-stat-list dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}.stat-track{background:var(--ui-track,#0f1914);border-radius:8px;height:9px;display:block;overflow:hidden}.stat-track>span{background:currentColor;border-radius:8px;height:100%;display:block}.field-help{color:var(--ui-muted,#9daf9f);font-size:12px;line-height:1.6}.stat-guide{margin-bottom:20px;font-size:12px}summary{cursor:pointer}.profile-slot-cost{background:var(--ui-surface,#101b16);border:1px solid;border-radius:9px;grid-template-columns:1fr auto;align-items:center;gap:8px 16px;margin-top:24px;padding:20px;display:grid}.profile-slot-cost h3{color:var(--ui-text,#e7f0e9);margin:0 0 4px;font-size:18px}.profile-slot-cost p{margin:0;font-size:12px}.profile-slot-cost strong{font-size:44px;line-height:1}.profile-slot-cost strong small{color:var(--ui-muted,#a8b9ae);font-size:15px}.cost-pips{grid-column:1/-1;gap:5px;margin-top:8px;display:flex}.cost-pips span{border:1px solid var(--ui-border,#43534a);border-radius:3px;flex:1;height:6px}.cost-pips [data-filled=true]{background:currentColor;border-color:currentColor}.profile-slot-cost>p{grid-column:1/-1}.appearance-controls{margin-top:22px}.appearance-controls label,.lookup-controls label,.detail-section>label:not(.inline-check),.reference-search label{color:var(--ui-text,#c4d2c9);flex-direction:column;gap:7px;font-size:13px;display:flex}.appearance-controls select,.lookup-controls select,.detail-section>label select,.reference-search input,.pool-search input{border:1px solid var(--ui-border,#45604f);background:var(--ui-field,#0f1915);width:100%;min-width:0;min-height:44px;color:var(--ui-text,#eff5ef);border-radius:6px;padding:8px 12px}.appearance-controls fieldset{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px;margin:20px 0 8px;padding:0;display:grid}.appearance-controls legend{margin-bottom:10px;font-size:13px}.appearance-controls .rarity-choice{flex-direction:row;align-items:start;gap:6px;font-size:12px}.rarity-choice input{accent-color:var(--ui-accent-border,#8dcbaa);flex-shrink:0;width:16px;height:16px;min-height:16px;margin:2px 0;padding:0}.rarity-choice small{color:var(--ui-muted,#95a499);margin-top:3px;font-size:10px;line-height:1.3;display:block}.detail-section{border-top:1px solid var(--ui-border,#34483e);margin-top:40px;padding-top:30px;scroll-margin-top:20px}.preserve-text{white-space:pre-wrap;overflow-wrap:anywhere}.lead-description{max-width:800px;font-size:18px}.evolution-grid,.reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.evolution-card,.reference-card{background:var(--ui-surface,#192820);border:1px solid var(--ui-border,#344d3e);border-radius:9px;min-width:0;padding:22px}.evolution-card[data-selected=true]{border-color:var(--ui-border-strong,#a8d9b5)}.evolution-card img{object-fit:contain;width:120px;height:120px;transform:scale(var(--art-scale,1));margin:0 auto 12px;display:block}.evolution-card h3{margin-bottom:12px}.evolution-card p,.evolution-requirements{font-size:13px}.alternative-label{color:var(--ui-muted,#a5b7aa);margin-block:4px;font-weight:400;display:block}.pool-section{margin-top:28px}.pool-search{width:230px;max-width:100%}.reference-table-wrap{border:1px solid var(--ui-border,#34483e);border-radius:8px;width:100%;overflow:auto}.reference-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.reference-table th,.reference-table td{border-bottom:1px solid var(--ui-border,#34483e);min-width:125px;padding:13px 16px}.reference-table thead{background:var(--ui-surface,#22372b)}.reference-table tbody tr:nth-child(2n){background:var(--ui-surface,#19251e)}.detail-tag{background:var(--ui-surface,#2c3c30);white-space:nowrap;border-radius:4px;margin:4px 5px;padding:2px 7px;font-size:11px;display:inline-block}.reference-facts{background:var(--ui-soft,#34483e);border:1px solid var(--ui-border,#34483e);border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-block:26px;display:grid;overflow:hidden}.reference-facts>div{background:var(--ui-surface,#19251e);padding:18px}.reference-facts dt{color:var(--ui-muted,#a1b4a7);margin-bottom:6px;font-size:12px}.reference-facts dd{margin:0;font-weight:600}.reference-search{align-items:end;gap:16px;margin-block:24px;display:flex}.reference-search label{flex:1;max-width:500px}.reference-card p{font-size:14px}.reference-detail{max-width:1060px}.defense-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-block:22px;display:grid}.defense-grid>div{border:1px solid var(--ui-border,#34483e);background:var(--ui-surface,#19251e);border-radius:6px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;display:flex}.public-multiplier{display:contents}.public-multiplier summary{place-items:center;min-width:44px;min-height:44px;list-style:none;display:grid}.public-multiplier summary::-webkit-details-marker{display:none}.public-multiplier p{flex-basis:100%;margin:0;font-size:12px}.effectiveness-up{color:var(--ui-warning-text,#efb27b)}.effectiveness-down{color:var(--ui-info-text,#80c6d7)}.effectiveness-immune{color:var(--ui-ability-text,#c9a5e9)}.effectiveness-neutral{color:var(--ui-muted,#9cae9f)}.effectiveness-unknown{color:var(--ui-warning-text,#e2c68f)}.lookup-controls{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;display:grid}.type-selector{flex-wrap:wrap;gap:8px;padding:24px 0;display:flex}.type-selector button{border:1px solid var(--ui-border,#3c5746);background:var(--ui-field,#17271f);color:var(--ui-text,#e6ebe6);cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:8px 12px;display:inline-flex}.type-selector button:hover,.type-selector button[aria-pressed=true]{background:var(--ui-selected,#2c4d3b);border-color:var(--ui-accent-border,#a4cfb2)}.type-selector button[aria-pressed=true]{box-shadow:inset 0 -3px var(--ui-accent-glow,#a4cfb2)}.lookup-result{background:var(--ui-surface,#1c3026);border:1px solid var(--ui-border,#3c5746);border-radius:8px;flex-wrap:wrap;align-items:center;gap:24px;margin-top:24px;padding:24px;display:flex}.lookup-result p{margin:0;font-size:14px}.lookup-result details{max-width:100%;margin-left:auto;font-size:13px}.lookup-result details[open]{flex-basis:100%}.public-chart-legend{flex-wrap:wrap;gap:12px;margin-block:20px;display:flex}.public-chart-legend>span{background:var(--ui-surface,#21342a);border-radius:5px;align-items:center;gap:10px;padding:10px 14px;font-size:13px;display:inline-flex}.inline-check{align-items:center;gap:8px;margin-block:18px;font-size:14px;display:flex}.inline-check input{accent-color:var(--ui-accent-border,#a8d9b5);width:18px;height:18px;min-height:18px;margin:0;padding:0}.public-chart-scroll{border:1px solid var(--ui-border,#45604f);border-radius:8px;max-width:100%;max-height:650px;overflow:auto}.public-type-chart{border-collapse:separate;border-spacing:0;font-size:12px}.public-type-chart td,.public-type-chart th{border-right:1px solid var(--ui-border,#34483e);border-bottom:1px solid var(--ui-border,#34483e);text-align:center;background:var(--ui-surface,#15251d)}.public-type-chart thead th{z-index:2;background:var(--ui-surface,#233c2d);height:70px;position:sticky;top:0}.public-type-chart th:first-child{z-index:1;text-align:left;background:var(--ui-surface,#233c2d);min-width:145px;padding-inline:10px;position:sticky;left:0}.public-type-chart thead th:first-child{z-index:3}.public-type-chart th:not(:first-child) .type-badge{background:0 0;border:none;flex-direction:column;gap:3px;min-width:58px;padding:5px;font-size:10px}.public-type-chart button{background:0 0;border:0;border-radius:0;width:100%;min-width:58px;min-height:44px;padding:6px}.public-type-chart [data-inspected=true]{background:var(--ui-surface,#2d4433)}.public-type-chart button:focus-visible{outline-offset:-3px}.inspected-matchup{border-left:3px solid var(--ui-border-strong,#91c5a5);background:var(--ui-surface,#1a2a20);margin-top:18px;padding:16px 20px}.inspected-matchup p{margin:4px 0 0;font-size:13px}@media (width<=1050px){.brand-logo{width:210px}.profile-overview{gap:24px;padding:22px}.defense-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.evolution-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.brand-logo{width:200px}.profile-overview{grid-template-columns:1fr;padding:20px}.profile-art-stage{width:100%;max-width:400px;margin:auto;position:static}.profile-heading{flex-wrap:wrap}.profile-heading h1{font-size:38px}.section-heading{flex-wrap:wrap}.lookup-controls,.reference-grid,.reference-facts,.defense-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.defense-grid .type-badge{gap:4px;padding:0;font-size:12px}}@media (width<=440px){.profile-overview{padding:15px}.profile-stat-list>div{grid-template-columns:78px 30px minmax(40px,1fr);gap:10px}.evolution-grid,.reference-grid{grid-template-columns:1fr}.appearance-controls fieldset{grid-template-columns:repeat(2,minmax(0,1fr))}.defense-grid>div{gap:2px;padding:6px}.defense-grid .type-badge img{width:20px;height:20px}.public-multiplier summary{min-width:28px}.reference-search{flex-wrap:wrap}.profile-section-nav{gap:6px}.profile-section-nav a{padding:8px;font-size:12px}}.wiki-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.wiki-article{max-width:850px;margin-inline:auto;padding-block:2rem}.wiki-summary{font-size:1.15rem}.wiki-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1.2rem;display:grid}.wiki-grid article,.spoiler-panel{border:1px solid var(--line);border-radius:.8rem;padding:1.5rem}:root{color-scheme:var(--ui-scheme,dark);color:var(--ui-text,#edf0e9);background:var(--ui-background,#111817);font-synthesis:none;font-family:Inter,Segoe UI,Arial,sans-serif;line-height:1.6}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,.button{border:1px solid var(--ui-border,#486357);min-height:44px;color:var(--ui-text,#edf0e9);background:var(--ui-surface,#253c32);cursor:pointer;text-align:center;border-radius:7px;justify-content:center;align-items:center;gap:24px;padding:10px 18px;font-weight:600;display:inline-flex}button:hover,.button:hover{background:var(--ui-hover,#325141);border-color:var(--ui-border-strong,#86cbb1)}.primary{color:var(--ui-on-primary,#10251c);background:var(--ui-primary,#a8d9b5);border-color:var(--ui-primary,#a8d9b5)}.primary:hover{background:var(--ui-primary-hover,#c0edca);color:var(--ui-on-primary,#10251c)}:focus-visible{outline:3px solid var(--ui-accent-border,#a8d9b5);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em;line-height:1.15}h1{margin-bottom:16px;font-size:clamp(36px,5vw,54px)}h2{font-size:24px}p{color:var(--ui-muted,#afbeb4)}.site{flex-direction:column;min-height:100vh;display:flex}main{flex:1}.page-width,.header-inner{width:min(1280px,100% - 80px);margin-inline:auto}.site-header{border-bottom:1px solid var(--ui-border,#34433b);background:var(--ui-background,#111817)}.header-inner{justify-content:space-between;align-items:center;gap:28px;min-height:100px;display:flex}.wordmark{letter-spacing:.045em;flex-shrink:0;align-items:center;gap:12px;font-size:21px;font-weight:750;line-height:1.15;display:inline-flex}.wordmark b{color:var(--ui-accent-text,#a8d9b5)}.wordmark small{letter-spacing:.22em;color:var(--ui-muted,#a4b1a8);margin-top:7px;font-size:8px;font-weight:500;display:block}.rune-mark{width:38px;height:44px;color:var(--ui-accent-text,#a8d9b5);flex-shrink:0}.primary-nav{align-self:stretch;gap:30px;display:flex}.primary-nav a{min-height:44px;color:var(--ui-muted,#a4b1a8);white-space:nowrap;align-items:center;font-size:14px;font-weight:600;display:flex;position:relative}.primary-nav a:hover{color:var(--ui-text,#edf0e9)}.primary-nav a[aria-current]{color:var(--ui-accent-text,#bde7cb)}.primary-nav a[aria-current]:after{content:"";background:var(--ui-primary,#a8d9b5);bottom:0;height:3px;position:absolute;inset-inline:0}.preview-label{letter-spacing:.13em;color:var(--ui-muted,#b7bcac);white-space:nowrap;align-items:center;gap:8px;font-size:10px;display:flex}.preview-label i,.status-dot{background:var(--ui-warning-text,#e8b66a);border-radius:50%;width:6px;height:6px;display:inline-block}.eyebrow{color:var(--ui-accent-text,#a8d9b5);letter-spacing:.16em;margin-bottom:22px;font-size:11px;font-weight:650}.hero{grid-template-columns:1.25fr 1fr;align-items:center;gap:32px;min-height:520px;padding-block:66px 48px;display:grid}.hero h1{margin-bottom:26px;font-size:clamp(36px,4.5vw,59px);font-weight:650;line-height:1.14}.hero em{color:var(--ui-accent-text,#b2dfbc);font-style:normal}.hero .eyebrow{align-items:center;gap:12px;display:flex}.tiny-rule{background:var(--ui-primary,#a8d9b5);width:25px;height:1px}.hero-description{max-width:490px;margin-bottom:30px;font-size:16px;line-height:1.8}.hero-actions{flex-wrap:wrap;align-items:center;gap:28px;display:flex}.text-link{align-items:center;gap:16px;min-height:44px;font-size:14px;font-weight:600;display:inline-flex}.text-link:hover{color:var(--ui-accent-text,#bde7cb);text-underline-offset:5px;text-decoration:underline}.hero-caption{color:var(--ui-muted,#83948a);margin-top:25px;font-size:12px;display:block}.hero-art{background:radial-gradient(ellipse, var(--ui-accent-glow,#294d354d), transparent 69%);place-items:center;height:400px;display:grid;position:relative}.orbit{border:1px solid var(--ui-border,#49654666);border-radius:50%;width:280px;height:280px;position:absolute}.orbit-outer{border-style:dashed;border-color:var(--ui-border,#49654655);width:350px;height:350px}.orbit-inner:before,.orbit-inner:after{content:"";background:var(--ui-soft-overlay,#49654666);width:110%;height:1px;position:absolute;top:50%;left:-5%;transform:rotate(35deg)}.orbit-inner:after{transform:rotate(-35deg)}.rune-core{z-index:1;background:var(--ui-selected,#1a2a22);clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);place-items:center;width:170px;height:195px;display:grid}.rune-core .rune-mark{width:124px;height:148px;color:var(--ui-accent-text,#bad39a)}.orbit-type{z-index:2;border:1px solid var(--ui-border,#415445);background:var(--ui-surface,#15231c);border-radius:50%;place-items:center;width:58px;height:58px;display:grid;position:absolute}.orbit-type img{width:34px;height:34px}.orbit-fire{top:53px;left:calc(50% - 127px)}.orbit-water{top:112px;right:calc(50% - 155px)}.orbit-wind{bottom:98px;left:calc(50% - 167px)}.orbit-earth{bottom:40px;right:calc(50% - 97px)}.art-caption{letter-spacing:.23em;color:var(--ui-accent-text,#88997d);font-size:9px;position:absolute;bottom:-5px}.lobby-links{border-block:1px solid var(--ui-border,#34433b);grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px;display:grid}.destination-card{min-width:0;padding:32px 28px}.destination-card:first-child{padding-left:0}.destination-card:last-child{padding-right:0}.destination-card+.destination-card{border-left:1px solid var(--ui-border,#34433b)}a.destination-card:hover h2{color:var(--ui-accent-text,#a8d9b5)}.card-kicker{color:var(--ui-muted,#82938a);letter-spacing:.15em;font-size:10px}.destination-card h2{justify-content:space-between;gap:10px;margin-block:18px 14px;font-size:22px;display:flex}.destination-card h2 span{color:var(--ui-accent-text,#a8d9b5);font-size:20px}.destination-card p{max-width:340px;font-size:14px;line-height:1.8}.destination-status{color:var(--ui-text,#b8dcb6);font-size:11px}.muted{color:var(--ui-muted,#acb3a3)}.release-status{color:var(--ui-muted,#9faea4);flex-wrap:wrap;align-items:center;gap:12px;padding-block:28px;font-size:12px;display:flex}.release-status strong{color:var(--ui-text,#d5dcd0);font-weight:500}.site-footer{border-top:1px solid var(--ui-border,#293a31);color:var(--ui-muted,#91a197);flex-wrap:wrap;justify-content:space-between;gap:16px;margin-top:54px;padding-block:26px;font-size:11px;display:flex}.footer-separator{color:var(--ui-accent-text,#526e5e);padding-inline:12px}.codex-page,.battle-page{padding-top:48px}.page-heading{justify-content:space-between;align-items:center;gap:24px;display:flex}.page-heading .eyebrow,.battle-page>.eyebrow{margin-bottom:14px}.page-heading h1{margin-bottom:12px}.title-dot{color:var(--ui-accent-text,#a8d9b5)}.section-stamp{letter-spacing:.14em;color:var(--ui-muted,#82938a);font-size:11px}.codex-nav{border-bottom:1px solid var(--ui-border,#34433b);flex-wrap:wrap;gap:28px;margin-top:24px;display:flex}.codex-nav>a{border-bottom:2px solid #0000;align-items:center;gap:7px;min-height:46px;font-size:14px;display:inline-flex}.codex-nav [aria-current]{color:var(--ui-accent-text,#bde7cb);border-color:var(--ui-accent-border,#a8d9b5);font-weight:600}.codex-nav [aria-disabled]{color:var(--ui-muted,#8e9b92)}.codex-nav small{color:var(--ui-muted,#8e9b92);background:var(--ui-surface,#203027);border-radius:3px;padding:0 4px;font-size:9px}.version-bar{color:var(--ui-muted,#a4b1a8);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;font-size:11px;display:flex}.version-bar strong{color:var(--ui-text,#d6dfd1);margin-left:10px;font-weight:500}.version-bar form{gap:8px;display:flex}.version-bar button,.version-bar select{font-size:12px}.version-bar button{white-space:nowrap}.gallery-filters{border:1px solid var(--ui-border,#34433b);background:var(--ui-surface,#19241f);border-radius:10px;align-items:flex-end;gap:16px;margin-block:22px 24px;padding:20px;display:flex}.gallery-filters label{min-width:0;color:var(--ui-text,#c6d2c8);flex:1;font-size:11px;font-weight:500}.gallery-filters .search-field{flex:2}input:not([type=checkbox]),select{border:1px solid var(--ui-border,#42584b);background:var(--ui-field,#111b16);width:100%;min-height:44px;color:var(--ui-text,#edf0e9);border-radius:6px;margin-top:7px;padding:10px 12px;font-size:14px;display:block}input::placeholder{color:var(--ui-muted,#91a095)}.version-bar select{margin:0}.clear-link{color:var(--ui-text,#b9d7c4);padding-block:12px;font-size:12px;text-decoration:underline}.gallery-summary{color:var(--ui-muted,#97aa9b);flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:20px;font-size:12px;display:flex}.gallery-summary strong{color:var(--ui-text,#d9e3d8);font-size:14px;font-weight:500}.monster-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;display:grid}.monster-card{background:var(--ui-surface,#1a2421);border:1px solid var(--ui-border,#34433b);border-radius:10px;min-width:0;transition:border-color .14s,background-color .14s;position:relative;overflow:hidden}.monster-card:hover,.monster-card:focus-within{background:var(--ui-hover,#23372c);border-color:var(--ui-accent-border,#a8d8b6)}.monster-card-link:after{content:"";border-radius:9px;position:absolute;inset:0}.monster-card-link:focus-visible{outline:none}.monster-card-link:focus-visible:after{outline:3px solid var(--ui-accent-border,#a8d8b6);outline-offset:-3px}.monster-card-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:16px 16px 0;display:flex}.catalogue-number{font-variant-numeric:tabular-nums;color:var(--ui-muted,#a7b8ab);align-items:center;gap:7px;font-size:12px;display:flex}.form-tag{background:var(--ui-surface,#32443b);color:var(--ui-text,#c1d2c7);border-radius:3px;padding:1px 5px;font-size:9px}.slot-cost{white-space:nowrap;border:1px solid;border-radius:5px;padding:2px 7px;font-size:9px}.slot-cost>span{margin-right:3px;font-size:15px;font-weight:700}.monster-art{background:radial-gradient(ellipse, var(--ui-soft-overlay,#3b584529), transparent 70%);place-items:center;height:210px;display:grid;position:relative;overflow:hidden}.monster-art>img{object-fit:contain;width:80%;height:85%;transform:scale(var(--art-scale,1))}.temporary-art{color:var(--ui-warning-text,#f4ca86);background:var(--ui-warning-surface,#25261cf0);border-radius:3px;padding:1px 7px;font-size:10px;position:absolute;bottom:5px}.missing-art{color:var(--ui-muted,#afbbb1);justify-items:center;gap:14px;font-size:11px;display:grid}.missing-art .rune-mark{opacity:.3;width:55px;height:68px}.monster-card-body{padding:4px 18px 14px}.monster-card h2{overflow-wrap:anywhere;margin-bottom:11px;font-size:23px}.type-list{flex-wrap:wrap;gap:7px;display:flex}.type-badge{color:var(--ui-text,#d0d9d1);align-items:center;gap:5px;font-size:11px;display:inline-flex}.monster-description{-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:63px;margin-block:16px;font-size:12px;line-height:1.75;display:-webkit-box;overflow:hidden}.card-stats{border-block:1px solid var(--ui-border,#34433b);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 6px;margin:0;padding-block:15px;display:grid}.card-stats dt{color:var(--ui-muted,#a6b3aa);font-size:9px}.card-stats dd{font-variant-numeric:tabular-nums;margin:1px 0 0;font-size:15px;font-weight:650}.stat-total{color:var(--ui-muted,#a6b3aa);justify-content:space-between;padding-top:10px;font-size:11px;display:flex}.stat-total strong{color:var(--ui-text,#d4ddd3)}.tone-green{color:var(--ui-tone-green,#7bd6a0)}.tone-lime{color:var(--ui-tone-lime,#b9d887)}.tone-yellow{color:var(--ui-tone-yellow,#ebd47a)}.tone-orange{color:var(--ui-tone-orange,#ecb077)}.tone-red{color:var(--ui-tone-red,#f49f98)}.tone-blue{color:var(--ui-tone-blue,#8bd3ed)}.pagination{color:var(--ui-muted,#a4b1a8);justify-content:space-between;align-items:center;gap:16px;margin-top:26px;font-size:13px;display:flex}.gallery-footnote{color:var(--ui-muted,#96a79b);max-width:720px;margin-top:26px;font-size:11px}.wiki-note{border-top:1px solid var(--ui-border,#34433b);align-items:baseline;gap:24px;margin-top:36px;padding-top:25px;display:flex}.wiki-note .eyebrow{white-space:nowrap;color:var(--ui-accent-text,#97b29e);margin:0;font-size:9px}.wiki-note p{margin:0;font-size:12px}.empty-release{text-align:center;max-width:560px;min-height:390px;margin-inline:auto;padding-top:55px}.empty-release>.rune-mark{opacity:.65;width:52px;height:66px;margin-bottom:22px}.empty-release .eyebrow{font-size:9px}.empty-release h2{font-size:28px;line-height:1.3}.empty-release p:not(.eyebrow){font-size:14px}.battle-placeholder{text-align:center;border:1px solid var(--ui-border,#34433b);background:radial-gradient(ellipse at top, var(--ui-accent-glow,#2d4a3444), transparent 70%);border-radius:12px;margin-top:40px;padding:50px 24px}.battle-placeholder>.rune-mark{width:65px;height:80px;margin-bottom:24px}.battle-placeholder h2{font-size:32px}.battle-placeholder>p:not(.eyebrow){max-width:510px;margin-inline:auto}.planned-tabs{color:var(--ui-muted,#a1b4a6);justify-content:center;gap:40px;margin-block:28px;font-size:13px;display:flex}.planned-tabs span{border-bottom:1px solid var(--ui-border,#415445);padding:6px 12px}.state-panel{padding-block:40px}.error-panel{border:1px solid var(--ui-danger-border,#ab7960);background:var(--ui-danger-surface,#30271f);border-radius:10px;margin-top:24px;padding:24px}.error-panel h2,.no-results h2{font-size:23px}.no-results{text-align:center;border:1px dashed var(--ui-border,#415445);border-radius:10px}.load-state{padding-block:24px;font-size:14px}.sr-only,.skip-link:not(:focus){clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link:focus{z-index:20;background:var(--ui-primary,#a8d9b5);color:var(--ui-text,#10251c);padding:12px;position:fixed;top:10px;left:10px}@media (width>=1500px){.hero{min-height:560px}}@media (width<=1120px){.preview-label{display:none}.monster-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{gap:0}.hero h1{font-size:43px}.hero-actions{gap:16px}.hero-art{transform:scale(.85)}.hero-description{font-size:14px}.destination-card{padding-inline:22px}}@media (width<=850px){.page-width,.header-inner{width:calc(100% - 40px)}.hero{grid-template-columns:1fr;min-height:auto;padding-block:42px}.hero-copy{z-index:2;position:relative}.hero-art{display:none}.hero h1{font-size:clamp(34px,6vw,49px)}.hero-description{max-width:530px}.lobby-links{grid-template-columns:1fr}.destination-card,.destination-card:first-child,.destination-card:last-child{padding:24px 0}.destination-card+.destination-card{border-left:0;border-top:1px solid var(--ui-border,#34433b)}.destination-card p{max-width:100%}.primary-nav{gap:22px}.primary-nav a{font-size:12px}.wordmark{font-size:18px}.monster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-filters{flex-wrap:wrap}.gallery-filters .search-field{flex-basis:100%}.wiki-note{display:block}.wiki-note .eyebrow{margin-bottom:10px;display:block}.section-stamp{display:none}}@media (width<=580px){.header-inner{flex-direction:column;gap:12px;padding-top:20px}.primary-nav{align-self:center;gap:26px;min-height:50px}.primary-nav a{font-size:13px}.wordmark .rune-mark{width:29px;height:34px}.wordmark small{font-size:7px}.hero h1{font-size:35px}.hero-actions{flex-direction:column;align-items:flex-start;gap:6px}.hero-caption{margin-top:18px;font-size:11px}.hero .eyebrow{font-size:9px}.codex-nav{gap:8px 20px;margin-top:16px}.codex-nav>span{min-height:40px;font-size:12px}.codex-nav small{display:none}.codex-page,.battle-page{padding-top:30px}.gallery-filters{gap:12px;padding:14px}.gallery-filters label{flex-basis:calc(50% - 6px)}.gallery-filters button{flex:1}.monster-grid{grid-template-columns:1fr;gap:14px}.monster-art{height:235px}.monster-art>img{width:256px}.monster-card-body{padding-inline:22px}.monster-description{min-height:auto}.card-stats dt{font-size:11px}.card-stats dd{font-size:17px}.card-stats{gap:12px}.monster-card h2{font-size:26px}.monster-card-top{padding-inline:22px}.slot-cost{font-size:11px}.gallery-summary{display:grid}.version-bar form{width:100%}.version-bar button{white-space:nowrap}.battle-placeholder h2{font-size:26px}.planned-tabs{gap:14px}.site-footer{margin-top:36px;font-size:10px}.empty-release{padding-top:34px}.empty-release h2{font-size:25px}}.bestiary-display{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.bestiary-view-switch{border:1px solid var(--ui-border,#486357);border-radius:8px;display:flex;overflow:hidden}.bestiary-view-switch a{padding:.55rem 1.2rem;text-decoration:none}.bestiary-view-switch a:hover{background:var(--ui-hover,#325141)}.bestiary-view-switch a[aria-current]{background:var(--ui-selected,#264a39);color:var(--ui-text,#edf0e9);box-shadow:inset 0 -3px var(--ui-accent-border,#a8d9b5);font-weight:700}.monster-icon-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;display:grid}.monster-icon-card{text-align:center;border:1px solid var(--ui-border,#34433b);background:var(--ui-surface,#19241f);color:var(--ui-text,#edf0e9);border-radius:8px;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;text-decoration:none;display:flex}.monster-icon-card:hover{border-color:var(--ui-accent-border,#a8d9b5);background:var(--ui-hover,#325141)}.monster-icon-card:has(:focus-visible){border-color:var(--ui-accent-border,#a8d9b5);background:var(--ui-hover,#325141)}.monster-icon-card .pixel-icon-frame{--pixel-icon-size:72px;flex:none;width:72px;height:72px}.monster-icon-card .catalogue-number,.monster-icon-card small{opacity:.8;font-size:.75rem}.monster-icon-card .missing-icon{place-items:center;width:72px;height:72px;display:grid}.gallery-filters .bestiary-display{flex:none;margin:0}.gallery-filters .bestiary-view-switch{white-space:nowrap}.monster-icon-card{position:relative}.monster-icon-link{width:100%;color:inherit;flex-direction:column;align-items:center;gap:4px;text-decoration:none;display:flex}.monster-icon-link strong{max-width:100%}.icon-cycle{width:24px;height:36px;min-height:0;color:var(--ui-text);background:0 0;border:0;border-radius:4px;padding:0;font-size:24px;line-height:1;position:absolute;top:46px}.icon-cycle-prev{left:1px}.icon-cycle-next{right:1px}.icon-cycle:hover{color:var(--ui-accent-text,#a8d9b5);background:0 0}.icon-cycle:focus-visible{box-shadow:none;color:var(--ui-accent-text,#a8d9b5);text-underline-offset:4px;outline:none;text-decoration:underline}.monster-pages{flex-wrap:wrap;justify-content:space-between;gap:12px;display:flex}.page-links{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.page-links .button{justify-content:center;min-width:42px;padding:10px 14px}.page-links [aria-current=page]{background:var(--ui-selected,#264a39);border-color:var(--ui-accent-border,#a8d9b5);font-weight:700}.artwork-open{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;display:block;position:relative}.artwork-open:hover{background:0 0}.artwork-zoom-hint{color:var(--ui-muted);border-radius:4px;padding:0 6px;font-size:20px;position:absolute;bottom:8px;right:8px}.artwork-dialog{border:1px solid var(--ui-border);background:var(--ui-surface);width:min(920px,94vw);max-height:94dvh;color:var(--ui-text);border-radius:12px;padding:0}.artwork-dialog::backdrop{background:#071a22b8}.artwork-dialog-content{padding:16px}.artwork-dialog header{justify-content:space-between;align-items:center;gap:16px;display:flex}.artwork-dialog img{object-fit:contain;width:100%;max-height:calc(90dvh - 85px);display:block}.footer-community,.social-links{align-items:center;gap:16px;display:flex}.social-links{gap:8px}.social-links a{width:36px;height:36px;color:var(--ui-text);border-radius:50%;place-items:center;display:inline-grid}.social-links a:hover{color:var(--ui-accent);background:var(--ui-accent-soft,#dff1f4)}.site-footer{flex-wrap:wrap;gap:20px}.team-introduction{padding-top:56px;padding-bottom:48px}:root[data-theme=dark-green] :is(.forum-page,.team-introduction){--ui-background:#111817;--ui-surface:#19241f;--ui-text:#e9eee5;--ui-muted:#a4b1a8;--ui-border:#34433b;--ui-selected:#264a39;--ui-accent-text:#a7d8b3;--ui-hover:#203d2b}.team-intro-header{max-width:740px;margin-bottom:48px}.team-intro-header h1{letter-spacing:-.035em;margin:16px 0 24px;font-size:clamp(2.2rem,5vw,4rem);line-height:1.08}.team-intro-header>p:last-child{font-size:1.1rem;line-height:1.8}.contributor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;display:grid}.contributor-card{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:12px;padding:24px}.team-chapter{color:var(--ui-accent-text);font-size:2rem}.contributor-card p{line-height:1.8}.team-section-nav{border-block:1px solid var(--ui-border);flex-wrap:wrap;gap:12px 24px;margin-bottom:32px;padding:20px 0;display:flex}.team-discipline{margin:48px 0;scroll-margin-top:24px}.team-discipline>header{align-items:baseline;gap:20px;margin-bottom:22px;display:flex}.team-discipline h2{margin:0 0 8px}.team-discipline header p{color:var(--ui-muted);margin:0}.team-avatar-placeholder{aspect-ratio:1;border:1px dashed var(--ui-border);background:var(--ui-selected);width:72px;color:var(--ui-accent-text);border-radius:50%;place-items:center;margin-bottom:18px;font-size:2rem;display:grid}.team-placeholder-label{color:var(--ui-muted);font-size:.75rem}.contributor-card h3{margin:4px 0 8px}.contributor-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.contributor-grid-1{grid-template-columns:1fr}.team-lead .contributor-card,.contributor-grid-1 .contributor-card{align-items:center;gap:28px;display:flex}.team-lead .contributor-card{border-top:3px solid var(--ui-accent-text)}.team-lead .team-avatar-placeholder{flex-shrink:0;width:120px;margin:0}.contributor-grid-1 .team-avatar-placeholder{flex-shrink:0;margin:0}.team-contributors{border-left:2px solid var(--ui-border);margin-top:18px;padding:18px 24px}.team-contributors h3{margin:0 0 12px;font-size:.9rem}.team-contributors p{flex-wrap:wrap;gap:12px 24px;margin:0;font-size:.85rem;display:flex}.team-contributors span{color:var(--ui-muted)}.team-writing-credit{margin:18px 0;font-size:.9rem}.contributor-card nav{flex-wrap:wrap;gap:16px;display:flex}.team-community{border-top:1px solid var(--ui-border);justify-content:space-between;align-items:center;gap:24px;padding-top:24px;display:flex}@media (width<=900px){.gallery-filters{flex-wrap:wrap}.gallery-filters .search-field{flex:240px}.gallery-filters label{flex:180px}.contributor-grid{grid-template-columns:1fr}.team-lead .contributor-card{align-items:flex-start}}@media (width<=520px){.team-lead .contributor-card,.contributor-grid-1 .contributor-card{flex-direction:column;gap:16px}.team-lead .team-avatar-placeholder{width:72px}.team-community{flex-direction:column;align-items:flex-start}}.builder-page{padding-top:34px;padding-bottom:80px}.builder-heading{justify-content:space-between;align-items:center;gap:24px;margin:14px 0 12px;display:flex}.builder-heading h1{font-size:clamp(1.8rem,4vw,2.5rem)}.builder-heading .builder-unsaved{color:var(--ui-muted,#adbab1);margin:8px 0 0;font-size:.82rem}.builder-heading h1{margin:0}.builder-heading p{margin-bottom:8px}.builder-field{flex-direction:column;gap:7px;min-width:0;font-weight:600;display:flex}.builder-field select,.builder-field input{background:var(--ui-field,#111b17);width:100%;min-width:0;color:var(--ui-text,#edf0e9);border:1px solid var(--ui-border,#496454);font:inherit;border-radius:6px;padding:11px 12px}.builder-field small,.muted{color:var(--ui-muted,#adbab1);font-size:.82rem;font-weight:400}.team-budget{background:var(--ui-surface,#1b2c23);border:1px solid var(--ui-border,#43634e);border-radius:10px;flex-wrap:wrap;align-items:center;gap:32px;margin-bottom:14px;padding:12px 18px;display:flex}.team-budget div{flex-direction:column;gap:3px;display:flex}.team-budget strong{font-variant-numeric:tabular-nums;font-size:1.5rem}.team-budget span{color:var(--ui-muted,#b5c6ba);font-size:.78rem}.team-budget p{color:var(--ui-warning-text,#ffc46c);margin:0 0 0 auto}.team-budget .team-valid{color:var(--ui-success-text,#a8d9b5)}.builder-workspace{border:0;grid-template-columns:minmax(0,1fr);gap:24px;min-width:0;margin:0;padding:0;display:grid}.builder-workspace .team-roster{z-index:2;background:var(--ui-surface,#101b16);flex-wrap:nowrap;align-items:stretch;gap:8px;padding:5px 3px 10px;display:flex;position:sticky;top:0;overflow-x:auto}.team-roster h2{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.builder-workspace .team-roster .team-member{background:var(--ui-soft,#43584c);flex:0 0 155px;gap:5px;width:155px;min-height:66px;margin:0}.team-roster .team-member .library-monster-icon{flex-basis:36px}.team-roster .team-member strong{font-size:.8rem}.team-roster .team-member small{font-size:.65rem}.team-roster .member-index{display:none}.builder-workspace .team-roster .add-monster{flex:0 0 96px;width:96px;font-size:.8rem}.compact-build-card{grid-template-columns:minmax(170px,.8fr) minmax(240px,1.15fr) minmax(270px,1fr);align-items:start;gap:22px;padding:18px 0;display:grid}.compact-build-card .build-overview{margin:0;display:block}.compact-build-card.focused-editor{grid-template-columns:minmax(0,1fr);padding-top:4px}.focused-editor .build-content{grid-column:1/-1;min-width:0}.build-title>.library-monster-icon{flex:0 0 72px;width:72px;height:72px}.build-title>.library-monster-icon img{width:72px;height:72px}.build-title>.library-monster-icon.pixel-icon img{height:144px}.build-title>div{flex:1;min-width:0}.mobile-skill-branches{display:none}@media (width<=650px){.player-tree .player-tree-viewport,.player-tree .tree-zoom{display:none}.mobile-skill-branches{display:block}.mobile-skill-branches select{width:100%;margin:8px 0 18px;display:block}.mobile-branch-path{border-left:2px solid var(--ui-tree-edge,#527b63);margin:0 0 0 18px;padding:0 0 0 15px}.mobile-skill{border:1px solid var(--ui-border,#3a5747);background:var(--ui-surface,#172b21);border-radius:10px;margin:12px 0;position:relative}.mobile-skill:before{content:"";border-top:2px solid var(--ui-border,#527b63);width:16px;position:absolute;top:32px;left:-17px}.mobile-skill.selected{border-color:var(--ui-accent-border,#a8d9b7);background:var(--ui-selected,#244532)}.mobile-skill>button:first-child{text-align:left;background:0 0;border:0;align-items:center;gap:10px;width:100%;min-height:70px;padding:12px;display:flex}.mobile-skill small{margin-top:5px;font-size:.75rem;display:block}.mobile-skill .tree-sprite{flex-shrink:0}.mobile-skill-glyph{color:var(--ui-accent-text,#a8d9b7);font-size:1.5rem}.mobile-skill .branch-next{margin:0 12px 10px;padding:6px 12px}.build-title{gap:12px}}.compact-build-card .build-metrics{gap:15px;margin-bottom:12px}.compact-build-card .build-metrics .slot-cost{font-size:1.4rem}.compact-build-card .ace-choice{font-size:.75rem}.compact-loadout{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.builder-workspace .build-choice-slot{text-align:left;background:var(--ui-surface,#20342a);align-items:center;gap:7px;min-width:0;min-height:67px;padding:9px;display:flex}.build-choice-slot>span{min-width:0}.build-choice-slot strong{overflow-wrap:anywhere;font-size:.81rem;display:block}.build-choice-slot small{color:var(--ui-muted,#b6cbbd);font-size:.65rem;display:block}.slot-move-power{color:var(--ui-text,#bed5c7);font-size:.65rem}.builder-workspace button[aria-pressed=true]{border-color:var(--ui-accent-border,#a8d9b5);box-shadow:inset 0 0 0 1px var(--ui-accent-glow,#a8d9b5)}.build-stat-summary table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.75rem}.build-stat-summary th{text-align:left;padding:5px 2px;font-weight:500}.build-stat-summary td{text-align:right;padding:5px 4px}.build-stat-summary thead{color:var(--ui-muted,#b8c8be);border-bottom:1px solid var(--ui-border,#496454)}.build-stat-summary thead th:not(:first-child){text-align:right;white-space:nowrap}.build-stat-summary .final-stat{font-weight:750}.build-stat-summary .allocated-tv{color:var(--ui-accent-text,#9cdeb0);font-weight:700}.stat-bar-column{width:25%}.build-stat-track{background:var(--ui-track,#0f1a14);border-radius:3px;min-width:40px;height:6px;display:block}.build-stat-track>span{background:currentColor;border-radius:3px;height:100%;display:block}.training-budget{color:var(--ui-text,#c4d7ca);margin:12px 0;font-size:.78rem}.stat-breakdown{color:var(--ui-text,#c4d7ca);margin:8px 0;font-size:.7rem}.stat-breakdown summary{cursor:pointer}.choice-panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.choice-panel-heading h3{margin:0;font-size:1.1rem}.choice-panel-heading .builder-field{flex:1;min-width:160px;max-width:420px;font-size:.8rem}.choice-panel-heading button{font-size:.8rem}.visual-choice-list{border:1px solid var(--ui-border,#3a5946);border-radius:8px;max-height:430px;overflow-y:auto}.builder-workspace .visual-choice{border:0;border-bottom:1px solid var(--ui-border,#3a5946);background:var(--ui-surface,#1b2e23);text-align:left;border-radius:0;align-items:center;gap:12px;width:100%;padding:12px;display:flex}.choice-description{flex-direction:column;flex:1;gap:4px;display:flex}.choice-description strong{font-size:.9rem}.choice-description small{color:var(--ui-muted,#b9cdbf);font-size:.77rem;line-height:1.45}.choice-facts{color:var(--ui-text,#d7dfda);flex-wrap:wrap;gap:12px;font-size:.75rem;display:flex}.choice-type-icon{flex:0 0 24px;width:24px;height:24px}.choice-item-icon{object-fit:contain;flex:0 0 36px;width:36px;height:36px}.choice-glyph{text-align:center;width:24px;color:var(--ui-accent-text,#acdabc);flex:0 0 24px}.choice-check{color:var(--ui-accent-text,#afeac4)}.choice-help{color:var(--ui-muted,#b9cdbf);font-size:.78rem}.choice-help button{font-size:inherit;padding:4px 8px}.monster-choice-list{gap:4px;margin-top:15px;display:grid}.builder-workspace .monster-choice{text-align:left;background:var(--ui-soft,#34483b);grid-template-columns:36px minmax(130px,1fr) 68px minmax(200px,1fr);align-items:center;gap:12px;padding:9px 12px;display:grid}.monster-choice-name>strong{font-size:.9rem}.monster-choice-name>small{display:block}.monster-choice-name .library-type-strip{margin-top:5px}.monster-base-stats{text-align:center;grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.monster-choice-abilities{color:var(--ui-text,#cedbd2);grid-column:2/-1;font-size:.73rem}.monster-choice-abilities small{color:var(--ui-muted,#abc1b2);font-size:inherit}.monster-base-stats small{color:var(--ui-muted,#a9c1b2);font-size:.6rem;display:block}.monster-base-stats strong{font-size:.8rem}.monster-choice-cost strong{font-size:1.2rem;display:block}.monster-choice-cost small{font-size:.6rem;display:block}.training-sliders{gap:14px;max-width:760px;margin-bottom:24px;display:grid}.training-row{grid-template-columns:100px minmax(80px,1fr) 76px 50px;align-items:center;gap:14px;font-size:.85rem;display:grid}.training-row input[type=range]{width:100%;min-width:0;accent-color:var(--ui-accent-border,#a8d9b5)}.training-row input[type=number]{border:1px solid var(--ui-border,#496454);background:var(--ui-field,#101d15);width:100%;min-width:0;color:var(--ui-text,#e1eee5);border-radius:5px;padding:7px}.training-row output{text-align:right;color:var(--ui-accent-text,#a8d9b5)}.training-error{color:var(--ui-warning-text,#ffc46c);grid-column:2/-1}.context-errors{color:var(--ui-warning-text,#ffc46c);font-size:.8rem}.context-errors:has(>p){display:none}.skill-node-glyph{color:var(--ui-accent-text,#a8d9b5)}.skill-budget{color:var(--ui-text,#bfe5ca)}@media (width<=1000px){.compact-build-card{grid-template-columns:minmax(170px,.8fr) minmax(240px,1fr)}.compact-build-stats{grid-column:1/-1}.compact-build-stats .build-stat-summary{max-width:620px}}@media (width<=650px){.compact-build-card{grid-template-columns:minmax(0,1fr)}.compact-build-card .build-overview{grid-template-columns:100px minmax(0,1fr);gap:12px;display:grid}.compact-build-card .build-art{height:150px}.builder-workspace .monster-choice{grid-template-columns:36px minmax(0,1fr) 50px;gap:8px}.monster-base-stats{grid-column:2/-1}.training-row{grid-template-columns:76px minmax(45px,1fr) 60px 32px;gap:7px;font-size:.73rem}.build-title{flex-wrap:wrap;gap:8px}}.builder-workspace:disabled{opacity:.55}.builder-workspace button,.route-proposal button,.builder-notice button{cursor:pointer;font:inherit;color:inherit;border:1px solid var(--ui-border,#496454);background:var(--ui-surface,#20372b);border-radius:6px;padding:10px 14px}.builder-workspace button:disabled{opacity:.5;cursor:default}.builder-workspace button:hover:not(:disabled),.route-proposal button:hover{border-color:var(--ui-border-strong,#a8d9b5);background:var(--ui-hover,#294834)}.builder-workspace input[type=checkbox],.builder-workspace input[type=radio]{accent-color:var(--ui-accent-border,#a8d9b5);flex-shrink:0;width:17px;height:17px}.team-roster h2{margin:0 0 14px;font-size:1.05rem}.team-roster .team-member{text-align:left;background:var(--ui-surface,#15241c);align-items:center;gap:10px;width:100%;min-height:85px;margin-bottom:10px;padding:8px;display:flex}.team-roster .team-member.is-selected{border-color:var(--ui-accent-border,#a8d9b5);box-shadow:inset 3px 0 var(--ui-accent-glow,#a8d9b5);background:var(--ui-selected,#20382b)}.team-member strong,.team-member small{display:block}.team-member strong{overflow-wrap:anywhere;font-size:.95rem}.team-member small{color:var(--ui-muted,#b4c6ba);margin-top:5px;font-size:.72rem}.member-art{flex-shrink:0;place-items:center;width:54px;height:64px;display:grid;overflow:hidden}.member-art img{object-fit:contain;max-width:100%;max-height:100%}.member-index{color:var(--ui-muted,#93a99b);margin-left:auto;font-size:.8rem}.add-monster{width:100%;border-style:dashed!important}.builder-editor{border:1px solid var(--ui-border,#344b3c);background:var(--ui-surface,#15231c);border-radius:10px;min-width:0;padding:26px}.build-title{justify-content:space-between;align-items:center;gap:20px;display:flex}.build-title h2{margin:0 0 10px;font-size:1.8rem}.build-title .eyebrow{margin:0 0 6px}.build-title button{background:0 0;font-size:.8rem}.build-types{flex-wrap:wrap;gap:14px;display:flex}.build-types span{align-items:center;gap:6px;font-size:.85rem;display:flex}.build-types img{width:24px;height:24px}.build-overview{grid-template-columns:minmax(0,1fr) minmax(200px,1fr);align-items:center;gap:24px;margin:24px 0;display:grid}.build-art{place-items:center;height:235px;display:grid;position:relative;overflow:hidden}.build-art img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.build-metrics{align-items:center;gap:28px;margin-bottom:18px;display:flex}.build-metrics span{display:block}.build-metrics small{color:var(--ui-muted,#bac9bf);margin-top:3px;font-size:.72rem;font-weight:400;display:block}.build-metrics .slot-cost{border-left:4px solid;padding-left:12px;font-size:1.8rem;font-weight:750}.slot-green{color:var(--ui-accent-text,#5ed399)}.slot-lime{color:var(--ui-accent-text,#a8d969)}.slot-yellow{color:var(--ui-warning-text,#ecd367)}.slot-orange{color:var(--ui-warning-text,#f6ab57)}.slot-red{color:var(--ui-danger-text,#f08178)}.build-overview .builder-field{margin-bottom:12px}.ace-choice{align-items:center;gap:8px;margin:12px 0 5px;font-size:.9rem;display:flex}.builder-subnav{border-bottom:1px solid var(--ui-border,#3d5746);flex-wrap:wrap;gap:6px;margin-bottom:24px;padding-bottom:10px;display:flex}.builder-subnav button[aria-selected=true]{background:var(--ui-selected,#355740);border-color:var(--ui-accent-border,#a8d9b5)}.builder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.move-summary{color:var(--ui-muted,#b8c9bf);margin:8px 0 0;font-size:.78rem;line-height:1.6}.move-summary span{color:var(--ui-muted,#98ad9f);margin-top:4px;display:block}.compiled-stats{border-top:1px solid var(--ui-border,#3b5142);margin-top:26px;padding-top:12px}.compiled-stats h3{font-size:.9rem}.compiled-stats dl{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.compiled-stats dt{color:var(--ui-muted,#b3c4ba);font-size:.65rem}.compiled-stats dd{font-variant-numeric:tabular-nums;margin:6px 0 0;font-size:1.25rem;font-weight:700}.compiled-stats small{color:var(--ui-muted,#b3c4ba)}.training-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0;display:grid}.training-grid small{font-size:.75rem}.build-skill-tree{flex-direction:column;gap:28px;display:flex}.skill-level{flex-wrap:wrap;justify-content:center;gap:12px;display:flex;position:relative}.skill-level+.skill-level:before{content:"";border-left:2px solid var(--ui-border-strong,#577e62);height:20px;position:absolute;top:-24px;left:50%}.build-skill{border:1px solid var(--ui-border,#3e5947);background:var(--ui-surface,#111c16);border-radius:8px;flex:190px;grid-template-columns:20px minmax(0,1fr);align-content:start;gap:8px;max-width:340px;padding:16px;display:grid}.build-skill.chosen{border-color:var(--ui-border-strong,#8fcda0);background:var(--ui-surface,#223e2b)}.build-skill strong{font-size:.88rem}.build-skill span,.build-skill small{color:var(--ui-muted,#b5c9ba);overflow-wrap:anywhere;grid-column:2;font-size:.72rem}.family-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px;display:grid}.family-choices button{flex-direction:column;align-items:center;gap:8px;display:flex}.family-choices img{object-fit:contain;width:100%;height:100px}.family-choices small{color:var(--ui-muted,#b3c4ba);font-size:.72rem}.builder-tactics{border-top:1px solid var(--ui-border,#3b5142);grid-column:1/-1;padding-top:20px}.builder-tactics p{color:var(--ui-muted,#b3c4ba)}.tactic-choice{background:var(--ui-surface,#182a20);border:1px solid var(--ui-border,#3e5947);border-radius:8px;grid-template-columns:20px 1fr;gap:8px;padding:18px;display:grid}.builder-notice{border:1px solid var(--ui-warning-border,#d6b374);background:var(--ui-warning-surface,#302c1f);border-radius:8px;margin-bottom:24px;padding:22px}.builder-notice button{margin:10px 10px 0 0}.build-issues{padding-left:22px;line-height:1.65}.build-issues li{margin-bottom:8px}.team-checks{border:1px solid var(--ui-border,#3e5947);background:var(--ui-surface,#18271e);border-radius:8px;margin-top:28px;padding:22px}.team-checks h2{font-size:1.2rem}.builder-page :focus-visible{outline:2px solid var(--ui-accent-border,#a8d9b5);outline-offset:3px}@media (width<=950px){.builder-workspace{grid-template-columns:1fr}.team-roster{flex-wrap:wrap;gap:10px;display:flex}.team-roster h2,.team-roster>.muted{flex-basis:100%}.team-roster .team-member{flex:220px}.team-roster .add-monster{width:auto}.builder-tactics{grid-column:1}}@media (width<=600px){.builder-heading{flex-direction:column;align-items:stretch}.team-budget{gap:18px;padding:16px}.team-budget p{flex-basis:100%;margin:0}.team-budget strong{font-size:1.2rem}.builder-editor{padding:16px}.build-title{align-items:flex-start}.build-title h2{font-size:1.4rem}.build-overview{grid-template-columns:1fr;gap:8px}.build-art{height:180px}.builder-grid,.family-choices{grid-template-columns:1fr}.compiled-stats dl{grid-template-columns:repeat(3,1fr);row-gap:18px}.training-grid{grid-template-columns:repeat(2,1fr)}.builder-subnav button{padding:9px;font-size:.78rem}.team-roster .team-member{flex-basis:100%}}.team-library{border:1px solid var(--border,var(--ui-border,#385146));background:var(--ui-surface,#17271f);border-radius:12px;margin:1rem 0 2rem;padding:1.4rem;container-type:inline-size}.library-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.library-heading h1{margin:0 0 1rem;font-size:1.65rem}.library-heading p{max-width:40rem;color:var(--ui-muted,#b5c8bd);font-size:.875rem}.library-actions{flex-wrap:wrap;align-items:center;gap:.6rem;margin:.8rem 0;display:flex}.team-library button,.team-transfer button{min-height:40px}.team-library button[aria-pressed=true],.library-cards .is-selected{border-color:var(--ui-accent-border,#a8dfb9);background:var(--ui-selected,#264235)}.library-backups{margin:1rem 0}.library-browser>summary{cursor:pointer;padding:.7rem 0}.workspace-frame{border:0;min-width:0;margin:0;padding:0}.library-backups summary{cursor:pointer;padding:.4rem 0}.library-deleted{justify-content:space-between;align-items:center;gap:1rem;padding:.4rem 0;display:flex}.library-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:.8rem;max-height:320px;margin-top:1rem;display:grid;overflow:auto}.builder-heading h2{margin:0;font-size:1.65rem}@keyframes team-icon-idle{0%,to{transform:translateY(0)}50%{transform:translateY(-50%)}}@media (prefers-reduced-motion:reduce){.team-member .pixel-icon img{animation:none}}.library-cards article{border:1px solid var(--ui-border,#3e574a);overflow-wrap:anywhere;background:var(--ui-surface,#0f1b16);border-radius:8px;min-width:0;padding:1rem}.library-cards h3{margin:0 0 .4rem}.library-cards small{margin-bottom:.4rem;display:block}.library-issues{color:var(--ui-warning-text,#ffce98);margin-top:.4rem;font-size:.85rem}.library-issues ul{max-height:180px;padding-left:1rem;overflow:auto}.workspace-save{border-top:1px solid var(--ui-border,#3e574a);align-items:end;margin-bottom:0;padding-top:1rem}.workspace-save p{padding-bottom:.2rem}.team-transfer{margin:1rem 0}.team-transfer textarea{resize:vertical;width:100%;max-width:100%;font:.85rem/1.5 monospace}.library-actions input{max-width:100%}.visual-library{border-top:1px solid var(--ui-border,#385146);grid-template-columns:140px minmax(0,1fr) 330px;margin-top:1rem;display:grid}.visual-library>*{min-width:0}.library-navigation{border-right:1px solid var(--ui-border,#385146);flex-direction:column;gap:.5rem;padding:1rem .8rem 1rem 0;display:flex}.library-navigation button{text-align:left;overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:.3rem;padding:.65rem;font-size:.85rem;display:flex}.library-navigation h2{margin:1rem 0 .2rem;font-size:.9rem}.library-navigation button small{color:var(--ui-muted,#b5c8bd);white-space:nowrap;flex-shrink:0}.library-editing .library-backups{display:none}.library-editing .workspace-save{border-top:0;margin-top:0;padding-top:0}.library-editing{margin-bottom:.5rem;padding-block:1rem}.library-editing .library-heading h1{margin-bottom:0;font-size:1.2rem}.library-allowance{margin-top:.6rem;font-size:.75rem}.library-collection{padding:1rem}.library-collection-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.library-collection-heading h2{overflow-wrap:anywhere;margin:0;font-size:1.25rem}.library-collection-heading button{font-size:.85rem}.library-search{margin:.8rem 0;display:block}.library-search input{width:100%;min-width:0}.library-box-tools{flex-wrap:wrap;gap:.5rem;margin:.6rem 0 1rem;display:flex}.library-box-tools button{font-size:.8rem}.library-box-tools form{flex-wrap:wrap;gap:.5rem;display:flex}.visual-box-grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:132px;gap:6px;width:100%;display:grid}.box-grid-stack{position:relative;overflow:hidden}.inactive-box-grid{opacity:0;pointer-events:none;z-index:-1;position:absolute;inset:0}.library-navigation .box-hover-pending{outline:2px dashed var(--ui-warning-border,#e4bd66);background:var(--ui-hover,#425248)}.box-slot{border:1px solid var(--ui-border,#486454);background:var(--ui-soft,#52615b);-webkit-user-select:none;user-select:none;touch-action:manipulation;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:.1rem;width:100%;min-width:0;height:132px;min-height:132px;max-height:132px;padding:.3rem .1rem;display:flex;overflow:hidden}.box-slot.occupied{cursor:grab}.box-slot.occupied:active{cursor:grabbing}.box-slot:disabled{cursor:default}.box-slot>span:not(.library-monster-icon){text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:0 2px;font-size:.72rem;overflow:hidden}.box-slot>small{min-height:1.1em;color:var(--ui-muted,#b5c8bd);font-size:.65rem}.box-slot.empty{border-style:dashed;border-color:var(--ui-border,#385146);background:var(--ui-surface,#12221a);color:var(--ui-muted,#9bb7a5)}.box-slot.empty>span{font-size:1.2rem}.box-slot.search-muted{opacity:.35}.box-slot.is-moving{outline:2px dashed var(--ui-warning-border,#e4bd66);outline-offset:2px}.library-monster-icon{width:36px;height:36px;color:var(--ui-text,#c6e0cf);pointer-events:none;background:0 0;border-radius:5px;flex:0 0 36px;justify-content:center;align-items:center;display:inline-flex;overflow:hidden}.library-monster-icon img{object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;pointer-events:none;width:36px;max-width:none;height:36px;display:block}.library-monster-icon.pixel-icon{display:block}.library-monster-icon.pixel-icon img{object-fit:fill;height:72px;image-rendering:pixelated}.box-slot:hover .pixel-icon img,.box-slot:focus-visible .pixel-icon img,.team-member.is-selected .pixel-icon img,.team-member:hover .pixel-icon img,.visual-team-select:hover .pixel-icon img{animation:.4s step-end infinite team-icon-idle}.visual-team-list{gap:.7rem;display:grid}.visual-team-list article{border:1px solid var(--ui-border,#385146);background:linear-gradient(145deg, var(--ui-surface,#20392c), var(--ui-surface,#14251d));box-shadow:0 4px 18px var(--ui-shadow,#0002);border-radius:14px;flex-direction:column;align-items:stretch;padding:0;display:flex;overflow:hidden;container-type:inline-size}.visual-team-list article.is-selected{border-color:var(--ui-accent-border,#a8dfb9)}.visual-team-list .visual-team-select{text-align:left;background:0 0;border:0;border-radius:12px 12px 0 0;flex:1;grid-template-columns:minmax(0,1fr);gap:20px;width:100%;min-width:0;padding:18px 16px 14px;display:grid}.visual-team-list .visual-team-select:hover{background:var(--ui-hover,#a8d9b508)}.visual-team-list .visual-team-select:focus-visible{outline:2px solid var(--ui-accent-border,#a8d9b5);outline-offset:-3px}.visual-team-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem;margin-bottom:0;display:flex}.visual-team-title strong{overflow-wrap:anywhere;font-size:1.1rem}.visual-team-title small{color:var(--ui-muted,#b5c8bd);border:1px solid var(--ui-border,#52705e);border-radius:6px;padding:4px 7px;font-size:.75rem}.visual-team-icons{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;display:grid}.team-card-member{background:var(--ui-soft-overlay,#a8d9b508);border-radius:9px;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:96px;padding:2px 0 6px;display:flex;position:relative}.team-card-member small{text-overflow:ellipsis;white-space:nowrap;text-align:center;width:100%;color:var(--ui-text,#cadacf);font-size:.7rem;overflow:hidden}.team-card-member.is-ace{background:var(--ui-warning-surface,#d6c4780e);box-shadow:inset 0 -2px var(--ui-accent-glow,#d6c47880)}.team-card-ace{color:var(--ui-warning-text,#ebd47a);font-size:.85rem;position:absolute;top:2px;right:4px}.team-card-member.vacant{border:1px dashed var(--ui-border,#486252);color:var(--ui-accent-text,#698573);background:0 0;font-size:1.2rem}.team-card-member .library-monster-icon{flex-basis:72px;width:72px;height:72px}.team-card-member .library-monster-icon img{width:72px;height:72px}.team-card-member .pixel-icon img{height:144px}.team-card-footer{border-top:1px solid var(--ui-border,#3a5544);align-items:center;gap:6px;padding:8px 12px;display:flex}.team-card-footer>small{color:var(--ui-muted,#b5c8bd);flex:1;font-size:.8rem}.team-card-footer>small strong{color:var(--ui-text,#d9eadf)}.visual-team-list .team-card-footer button{background:0 0;border:1px solid #0000;flex:0 0 40px;place-items:center;min-height:40px;padding:5px;font-size:1.3rem;display:grid}.visual-team-list .team-card-footer button:hover:not(:disabled){background:var(--ui-hover,#304a3b);border-color:var(--ui-border-strong,#799d87)}@container (width<=510px){.visual-team-icons{grid-template-columns:repeat(3,minmax(0,1fr))}}.library-detail-identity{background:var(--ui-soft,#3f5148);border-radius:8px;padding:8px}.library-member-tabs button{background:var(--ui-soft,#52615b)}.box-slot.occupied[aria-pressed=true]{background:var(--ui-selected,#52615b);box-shadow:inset 0 0 0 2px var(--ui-accent-glow,#b1ebc8)}.box-slot.occupied:hover{background:var(--ui-hover,#61756b)}.library-move-list strong{align-items:center;gap:6px;display:flex}.library-move-list .choice-type-icon{width:18px;height:18px}.selected-skill-chips{flex-wrap:wrap;gap:5px;list-style:none;display:flex;padding:0!important}.selected-skill-chips li{border:1px solid var(--ui-accent-border,#456552);border-radius:5px;padding:3px 6px;font-size:.7rem}.shared-draft-note{color:var(--ui-warning-text,#e4ce9b);flex-basis:100%}.library-empty-icon{border:1px dashed var(--ui-border,#385146);border-radius:5px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.library-inspector{border-left:1px solid var(--ui-border,#385146);background:var(--ui-surface,#112019);border-radius:0 0 10px;padding:1rem}.library-selected-label h2{overflow-wrap:anywhere;margin:0 0 .4rem;font-size:1rem}.library-selected-label>small{font-size:.75rem}.library-detail-identity{align-items:center;gap:.8rem;margin:1rem 0;display:flex}.library-detail-identity .library-monster-icon{flex-basis:72px;width:72px;height:72px}.library-detail-identity .library-monster-icon img{width:72px;height:72px}.library-detail-identity .pixel-icon img{height:144px}.library-detail-identity h3{overflow-wrap:anywhere;margin:0 0 .4rem;font-size:1.1rem}.library-type-strip{flex-wrap:wrap;gap:.5rem;display:flex}.library-type-strip span{align-items:center;gap:.3rem;font-size:.8rem;display:flex}.library-type-strip img{width:18px;height:18px}.library-build-budgets{gap:1rem;padding:.5rem 0;font-size:.8rem;display:flex}.library-build-details h4{margin:.8rem 0 .4rem;font-size:.85rem}.library-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin:.5rem 0 1rem;display:grid}.library-stat-grid>div{background:var(--ui-surface,#243b2e);border-radius:5px;padding:.4rem}.library-stat-grid dt{color:var(--ui-muted,#b5c8bd);font-size:.7rem}.library-stat-grid dd{margin:.15rem 0 0;font-size:1.05rem;font-weight:700}.library-loadout{margin:0;font-size:.8rem}.library-loadout>div{grid-template-columns:80px minmax(0,1fr);gap:.4rem;padding:.25rem 0;display:grid}.library-loadout dt{color:var(--ui-muted,#b5c8bd)}.library-loadout dd{overflow-wrap:anywhere;margin:0}.library-move-list{gap:.5rem;margin:0;padding:0;font-size:.8rem;list-style:none;display:grid}.library-move-list li{border-bottom:1px solid var(--ui-border,#314a3b);padding-bottom:.45rem}.library-move-list small{color:var(--ui-text,#c7d3cc);display:block}.library-move-list li>span{color:var(--ui-muted,#a8bfb0);font-size:.75rem;display:block}.library-training{margin-top:1rem;font-size:.8rem}.library-training table{width:100%}.library-training th{text-align:left}.library-training td{text-align:right}.library-training ul{padding-left:1.2rem}.library-detail-actions{flex-wrap:wrap;gap:.4rem;margin:1rem 0;display:flex}.library-detail-actions button{font-size:.8rem}.library-linked-teams{color:var(--ui-muted,#b5c8bd);margin-top:.7rem;font-size:.8rem}.library-member-tabs{flex-wrap:wrap;gap:.2rem;margin-top:.7rem;display:flex}.library-member-tabs button{padding:.2rem}.library-global-actions{font-size:.85rem}.library-global-actions .library-backups{flex-basis:100%;margin:0}.library-global-actions .library-backups[open]{border:1px solid var(--ui-border,#385146);border-radius:6px;padding:.7rem}@container (width<=1100px){.visual-library{grid-template-columns:135px minmax(0,1fr)}.library-inspector{border-left:0;border-top:1px solid var(--ui-border,#385146);grid-column:2}.library-navigation{grid-row:span 2}.library-stat-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (width<=650px){.visual-library{display:block}.library-navigation{border-right:0;border-bottom:1px solid var(--ui-border,#385146);flex-flow:wrap;padding-right:0}.library-navigation h2{display:none}.library-allowance{flex-basis:100%}.library-collection{padding:1rem 0}.visual-box-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:132px;gap:5px}.box-slot{width:100%;height:132px;min-height:132px;max-height:132px}.library-inspector{padding:1rem 0}.library-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.box-slot .pixel-icon img,.team-member .pixel-icon img,.visual-team-select .pixel-icon img{animation:none!important}}@media (width<=650px){.team-library{padding:1rem}.library-heading{gap:0}.workspace-save .builder-field{width:100%}}.box-slot .library-monster-icon{flex:0 0 72px;width:72px;height:72px}.box-slot .library-monster-icon img{width:72px;height:72px}.box-slot .library-monster-icon.pixel-icon img{height:144px}.box-slot>span:not(.library-monster-icon){font-size:.82rem}.empty-team-slot{border:1px dashed var(--ui-border,#476353);background:var(--ui-surface,#14251c);min-height:92px;color:var(--ui-muted,#a8c2b0);text-align:left;border-radius:8px;align-items:center;gap:16px;padding:16px;display:flex}.empty-team-slot>span{font-size:1.8rem}.empty-team-slot small{margin-left:auto}.library-trash{border:1px solid var(--ui-border,#385146);border-radius:8px;margin:16px 0 24px;padding:12px 16px}.library-trash summary{cursor:pointer;font-weight:600}.library-trash p{color:var(--ui-muted,#aec0b4);font-size:.85rem}dialog.library-confirmation{max-width:min(540px,100vw - 32px);color:var(--ui-text,#e9f0e9);border:1px solid var(--ui-border-strong,#a4c9af);background:var(--ui-surface,#1b2d23);border-radius:12px;margin:auto;padding:24px;position:fixed;inset:0}dialog.library-confirmation::backdrop{background:var(--ui-overlay,#040d09b8)}.codex-nav[aria-label="Battle Simulator sections"]>a{font-size:1.15rem}.teams-only .visual-team-list{grid-template-columns:repeat(2,minmax(0,1fr))}@media (width<=800px){.teams-only .visual-team-list{grid-template-columns:1fr}}.box-slot .pixel-icon,.team-card-member .pixel-icon,.library-detail-identity .pixel-icon,.build-title>.pixel-icon,.assembly-member>.pixel-icon,.assembly-monsters .pixel-icon,.family-choice .pixel-icon{--pixel-icon-size:72px}.library-monster-icon.pixel-icon{border-radius:0}.family-choice{border:1px solid var(--ui-accent-border,#496454);background:var(--ui-surface,#21372c);border-radius:10px;position:relative;overflow:hidden}.family-choice summary{cursor:pointer;align-items:center;gap:24px;min-height:96px;padding:14px 200px 14px 20px;list-style:none;display:flex}.family-choice summary::-webkit-details-marker{display:none}.family-choice summary>strong{flex:0 0 140px;font-size:1.05rem}.family-icon-strip{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.family-choice .library-monster-icon{flex:0 0 72px;width:72px;height:72px}.family-choice .library-monster-icon img{width:72px;height:72px}.family-choice .pixel-icon img{height:144px}.family-expand{margin-left:auto;font-size:1.5rem}.family-choice details[open] .family-expand{transform:rotate(180deg)}.builder-workspace .family-start{position:absolute;top:27px;right:16px}.family-member-list{border-top:1px solid var(--ui-border,#496454);background:var(--ui-surface,#15271d);grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;padding:16px;display:grid}.family-member{background:var(--ui-surface,#243b2e);border-radius:8px;grid-template-columns:52px 1fr auto;align-items:center;gap:12px;padding:14px;display:grid}.family-member h3{margin:0 0 8px;font-size:1rem}.family-member .library-type-strip{flex-wrap:wrap}.family-member .monster-base-stats,.family-member-abilities{grid-column:1/-1}.family-member-abilities{color:var(--ui-text,#bbcec1);font-size:.8rem}.family-member .monster-base-stats{grid-template-columns:repeat(6,minmax(0,1fr));display:grid}.family-member .monster-base-stats>span{min-width:0}.family-member .monster-choice-cost{text-align:center}@media (width<=700px){.family-choice summary{flex-wrap:wrap;gap:8px;min-height:auto;padding:16px}.family-choice summary>strong{flex:calc(100% - 40px)}.family-icon-strip{flex-basis:100%;order:2;gap:6px}.builder-workspace .family-start{margin:0 16px 16px;display:block;position:static}.family-member-list{grid-template-columns:1fr}}.team-library{background:0 0;border:0;border-radius:0;padding:0}.library-page-title{margin:0 0 12px;font-size:1.8rem}.library-editing{flex-wrap:wrap;align-items:center;gap:8px 20px;margin-bottom:12px;display:flex}.library-editing .workspace-save{border:0;flex:1;margin:0;padding:0}.library-editing .workspace-save .builder-field{max-width:280px;font-size:.8rem}.library-editing .workspace-save .builder-field input{padding:8px 12px;font-size:1.05rem}.library-editing .builder-notice,.library-editing>[role=status]{flex-basis:100%}.library-tools{position:relative}.library-tools>summary{cursor:pointer;color:var(--ui-text,#bdd0c5);border-radius:6px;padding:10px}.library-tools[open]>summary{background:var(--ui-surface,#20372b)}.library-tool-options{border:1px solid var(--ui-border,#496454);background:var(--ui-surface,#17271f);border-radius:8px;flex-wrap:wrap;gap:8px;padding:14px;display:flex}.library-editing .library-tools .library-backups{display:block}.box-title{align-items:center;gap:8px;min-width:0;display:flex}.box-title h2{overflow-wrap:anywhere}.team-library .rename-box-icon{background:0 0;border:0;padding:4px 8px;font-size:1.2rem}.library-move-list img.choice-type-icon,.library-type-strip img{aspect-ratio:1;object-fit:contain;flex:0 0 24px;width:24px;min-width:24px;max-width:24px;height:24px;max-height:24px;display:inline-block}.build-types img,.choice-type-icon{aspect-ratio:1;object-fit:contain;flex-shrink:0}.builder-editor{padding:22px}.builder-subnav{flex-wrap:nowrap;gap:0;margin:-4px 0 22px;padding:0;overflow-x:auto}.builder-workspace .builder-subnav button{color:var(--ui-text,#bdd0c5);white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;padding:15px 19px}.builder-workspace .builder-subnav button[aria-selected=true]{color:var(--ui-text,#d8f6e0);border-bottom-color:var(--ui-accent-border,#a8d9b5);background:var(--ui-selected,#21382b)}.compact-build-card{grid-template-columns:minmax(240px,.8fr) minmax(0,1.8fr);gap:32px}.compact-build-card .build-art{height:270px;margin-bottom:20px}.compact-build-card .build-overview{display:block}.compact-build-card .builder-field{font-size:.85rem}.compact-build-card .builder-field select{padding:10px}.build-content{min-width:0}.build-content .compact-loadout{gap:10px;margin-bottom:22px}.build-content .build-stat-summary table{width:100%;font-size:1rem}.build-content .build-stat-summary th,.build-content .build-stat-summary td{padding:12px 8px}.build-content .build-stat-summary .final-stat{font-size:1.2rem}.build-content .build-stat-summary .stat-bar-column{width:25%}.build-content .build-stat-track{height:9px}.build-content .stat-breakdown{margin-bottom:24px}.build-content .training-sliders{max-width:none}.compact-build-card.showing-tree{display:block}.showing-tree>.build-overview{display:none}.tree-panel{width:100%}.player-tree-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.player-tree-toolbar h3{margin:0 0 4px;font-size:1.15rem}.player-tree-toolbar span{color:var(--ui-text,#b8cfc0);font-size:.85rem}.tree-zoom{align-items:center;gap:7px;display:flex}.tree-zoom output{text-align:center;font-variant-numeric:tabular-nums;min-width:48px}.tree-legend{color:var(--ui-muted,#80988c);gap:22px;margin:18px 0 12px;font-size:.8rem;display:flex}.tree-legend span:first-child{color:var(--ui-accent-text,#aadbbb)}.tree-legend span:nth-child(2){color:var(--ui-warning-text,#c4b484)}.player-tree-viewport{border:1px solid var(--ui-border,#345240);background:radial-gradient(ellipse at top, var(--ui-surface,#233f31) 0, var(--ui-surface,#0d1a14) 75%);scrollbar-color:var(--ui-border-strong,#587764) var(--ui-soft,#14271c);border-radius:12px;min-height:360px;max-height:730px;overflow:auto}.player-tree-canvas{transform-origin:0 0;position:relative}.player-tree-edges{pointer-events:none;position:absolute;inset:0;overflow:visible}.player-tree-edges path{fill:none;stroke:var(--ui-tree-edge,#456250);stroke-width:2px}.player-tree-edges path.selected{stroke:var(--ui-accent-border,#a4dab3);stroke-width:3px;filter:drop-shadow(0 0 4px var(--ui-accent-glow,#70b88a55))}.builder-workspace .player-tree .player-skill{width:152px;height:156px;box-shadow:none;text-align:center;background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;padding:0;display:flex;position:absolute}.builder-workspace .player-tree .player-skill:hover:not(:disabled){background:0 0}.builder-workspace .player-tree .player-skill:disabled{opacity:1}.player-skill-orb{border:2px solid var(--ui-border,#6a7957);background:var(--ui-soft,#304839);width:64px;height:64px;box-shadow:0 0 0 5px var(--ui-shadow,#14291f);border-radius:50%;flex:0 0 64px;place-items:center;display:grid;position:relative}.player-skill-orb>img{object-fit:contain;width:38px;height:38px}.player-skill-orb>span:not(.tree-sprite){font-size:27px}.player-skill-orb b{background:var(--ui-soft,#abdcb9);width:22px;height:22px;color:var(--ui-text,#153221);border-radius:50%;font-size:15px;position:absolute;bottom:-3px;right:-4px}.player-skill.selected .player-skill-orb{border-color:var(--ui-accent-border,#b4f1c7);background:var(--ui-selected,#436851);box-shadow:0 0 0 5px var(--ui-shadow,#263e30), 0 0 20px var(--ui-accent-glow,#8bddaa35)}.player-skill.available .player-skill-orb{border-color:var(--ui-warning-border,#c2b181)}.player-skill.available:hover .player-skill-orb{box-shadow:0 0 0 5px var(--ui-accent-glow,#3a4630), 0 0 18px var(--ui-accent-glow,#c2b18133)}.player-skill.locked .player-skill-orb{filter:grayscale(.8);opacity:.5;border-style:dashed}.player-tree .player-skill strong{background:var(--ui-surface,#14291fed);border-radius:4px;max-width:150px;min-height:32px;max-height:34px;padding:2px 4px;font-size:.82rem;line-height:1.3;overflow:hidden}.player-tree .player-skill small{color:var(--ui-muted,#a8c7b4);background:var(--ui-surface,#14291f);padding:0 4px;font-size:.72rem}.player-tree .player-skill .skill-reason{color:var(--ui-muted,#849c8c);white-space:nowrap;text-overflow:ellipsis;background:var(--ui-surface,#14291f);max-width:148px;padding:0 3px;font-size:.65rem;overflow:hidden}.player-skill.selected .skill-reason{color:var(--ui-accent-text,#b4e9c3)}.tree-sprite{width:36px;height:36px;overflow:hidden}.tree-sprite img{width:36px;max-width:none;height:72px;image-rendering:pixelated;-webkit-user-select:none;user-select:none;pointer-events:none}@media (width<=950px){.visual-library.teams-only{grid-template-columns:minmax(0,1fr)}.teams-only .library-inspector{grid-column:auto}.compact-build-card{grid-template-columns:minmax(180px,.7fr) minmax(0,1.5fr);gap:20px}.compact-build-card .build-art{height:220px}.build-content .build-stat-summary th,.build-content .build-stat-summary td{padding:10px 3px;font-size:.82rem}.build-content .build-stat-summary .stat-bar-column{width:15%}}@media (width<=650px){.team-library{padding:0}.library-editing{display:block}.library-editing .workspace-save .builder-field{max-width:none}.builder-editor{padding:12px}.builder-workspace .builder-subnav button{padding:13px 10px;font-size:.82rem}.compact-build-card{display:block}.compact-build-card .build-overview{grid-template-columns:120px minmax(0,1fr);gap:15px;margin-bottom:24px;display:grid}.compact-build-card .build-art{height:185px}.compact-build-card.showing-tree>.build-overview{display:none}.build-content .build-stat-summary table{font-size:.8rem}.build-content .build-stat-summary .final-stat{font-size:1rem}.build-content .build-stat-summary .stat-bar-column{display:none}.player-tree-toolbar{gap:12px}.player-tree-viewport{max-height:600px}}.polished-tree{--tree-paper:#14271e}.polished-tree .player-tree-toolbar{z-index:3;background:var(--ui-surface,#14271ef5);padding:14px 0;position:sticky;top:0}.tree-budget small{color:var(--ui-accent-text,#9dc5ac);margin-top:5px;display:block}.tree-budget strong{font-size:1.25rem}.tree-view-switch{gap:4px;display:flex}.tree-view-switch button[aria-pressed=true]{background:var(--ui-selected,#a5d8b5);color:var(--ui-text,#10271a)}.tree-stage-nav{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.tree-stage-nav button{flex-direction:column;flex:1;align-items:flex-start;gap:4px;min-width:110px;display:flex}.tree-stage-nav small{color:var(--ui-muted,#acc4b6);font-size:.72rem}.tree-stage-nav [aria-current]{border-color:var(--ui-accent-border,#afe0bf);box-shadow:inset 0 -3px var(--ui-accent-glow,#afe0bf)}.tree-guide-caption{justify-content:space-between;align-items:center;gap:16px;display:flex}.tree-guide-caption p{color:var(--ui-muted,#a7bfb1);font-size:.8rem}.polished-tree .tree-legend{flex-shrink:0;gap:14px;margin:0}.tree-browser{grid-template-columns:minmax(0,1fr) 230px;align-items:start;gap:16px;display:grid}.tree-explorer{min-width:0}.polished-tree .player-tree-viewport{background:radial-gradient(ellipse at 50% 15%, var(--ui-surface,#213b2d), var(--ui-surface,#101e17) 75%);min-height:460px;max-height:700px}.tree-column-title{text-align:center;text-transform:uppercase;letter-spacing:.12em;width:160px;color:var(--ui-accent-text,#88aa95);font-size:11px;position:absolute;top:18px}.tree-column-evolution{color:var(--ui-text,#d0dfc0)}.tree-level-line{border-top:1px solid var(--ui-border-strong,#91b6a013);pointer-events:none;position:absolute;left:15px;right:20px}.tree-level-line>span{background:var(--ui-surface,#15271d);color:var(--ui-accent-text,#8bad98);padding:0 6px;font-size:11px;position:absolute;top:-9px}.tree-unplaced-label{color:var(--ui-warning-text,#dac48a);font-size:12px;position:absolute;left:24px}.polished-tree .player-tree-edges path{stroke:var(--ui-tree-edge,#54765f);stroke-width:1.5px;stroke-linejoin:round}.polished-tree .player-tree-edges .evolution-edge{stroke-width:3px;stroke:var(--ui-tree-edge,#779d7d)}.polished-tree .player-tree-edges .selected{stroke:var(--ui-accent-border,#b4e5bc);stroke-width:3px}.builder-workspace .polished-tree .player-skill{border:1px solid var(--ui-border,#43604d);background:var(--ui-surface,#1b3025);text-align:left;border-radius:12px;grid-template-rows:1fr auto auto;grid-template-columns:34px 1fr;align-items:center;gap:4px;width:160px;height:102px;padding:10px 9px 8px;display:grid}.builder-workspace .polished-tree .player-skill:hover{background:var(--ui-hover,#264332);border-color:var(--ui-border-strong,#a4c4af)}.builder-workspace .polished-tree .player-skill.evolution{text-align:center;background:var(--ui-surface,#20382a);border-color:var(--ui-border-strong,#7e9c72);height:148px;display:flex}.polished-tree .player-skill .player-skill-orb{width:30px;height:30px;box-shadow:none;background:0 0;border:0;border-radius:8px;flex-basis:auto;grid-row:1/4}.polished-tree .player-skill-orb>img{width:28px;height:28px}.polished-tree .player-skill.evolution .player-skill-orb{border:1px solid var(--ui-border-strong,#789974);background:var(--ui-soft,#314d39);border-radius:50%;width:66px;height:66px;margin:0 0 1px}.polished-tree .player-skill.evolution .player-skill-orb>img{width:52px;height:52px}.polished-tree .player-skill strong{background:0 0;min-height:0;max-height:36px;padding:0;font-size:.8rem}.polished-tree .player-skill small,.polished-tree .player-skill .skill-reason{color:var(--ui-text,#bbcebf);background:0 0;padding:0}.polished-tree .player-skill .skill-reason{font-size:10px}.polished-tree .player-skill.locked .player-skill-orb{filter:none;opacity:.85}.builder-workspace .polished-tree .player-skill.locked{color:var(--ui-text,#bed0c2);background:var(--ui-surface,#19291f);border-style:dashed}.builder-workspace .polished-tree .player-skill.selected{border-color:var(--ui-accent-border,#b2e5bf);background:var(--ui-selected,#294b35)}.builder-workspace .polished-tree .player-skill.inspected{outline:2px solid var(--ui-warning-border,#e0cb8a);outline-offset:4px}.polished-tree .player-skill-orb b{width:17px;height:17px;font-size:12px;bottom:-4px;right:-5px}.tree-inspector{border:1px solid var(--ui-border,#48604a);background:var(--ui-surface,#203328);overflow-wrap:anywhere;border-radius:12px;padding:18px;position:sticky;top:105px}.tree-detail-kicker{color:var(--ui-accent-text,#b8cf9d);text-transform:uppercase;letter-spacing:.12em;font-size:.66rem}.tree-inspector h4{margin:10px 0;font-size:1.12rem}.tree-inspector h5{margin-bottom:8px}.tree-inspector p,.tree-inspector li{font-size:.83rem;line-height:1.6}.tree-inspector ul{padding-left:18px}.tree-detail-cost{border-block:1px solid var(--ui-border-strong,#90b89835);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;display:flex}.tree-detail-cost span{color:var(--ui-text,#bdd0ac);font-size:.8rem}.tree-inspector>small{color:var(--ui-muted,#b0c7b9);margin-top:14px;font-size:.72rem;line-height:1.6;display:block}.tree-inspector>button{width:100%}.tree-detail-state{color:var(--ui-text,#d1dbb9)}.tree-list-view{display:none}.polished-tree[data-view=list] .tree-list-view{display:block}.polished-tree[data-view=list] .player-tree-viewport,.polished-tree[data-view=list] .tree-zoom{display:none}.tree-list-view label{align-items:center;gap:12px;display:flex}.tree-skill-list{gap:8px;max-height:700px;margin-top:12px;display:grid;overflow:auto}.tree-list-row{border:1px solid var(--ui-border,#415d49);background:var(--ui-surface,#1c3024);border-radius:10px;align-items:center;gap:8px;padding:8px;display:flex}.tree-list-row.selected{border-color:var(--ui-accent-border,#a2d1b0)}.tree-list-row>button:first-child{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:12px;min-width:0;display:flex}.tree-list-row .player-skill-orb{flex:0 0 48px;width:48px;height:48px}.tree-list-row small{color:var(--ui-muted,#aec6b6);margin-top:7px;font-size:.72rem;display:block}.tree-list-row strong{overflow-wrap:anywhere;font-size:.83rem}.tree-reference-warning{color:var(--ui-warning-text,#dfc68b);font-size:.8rem}@media (width<=1000px){.tree-browser{grid-template-columns:minmax(0,1fr)}.tree-inspector{position:static}}@media (width<=650px){.polished-tree .tree-view-switch,.polished-tree .tree-zoom{display:none}.polished-tree .tree-list-view{display:block}.polished-tree .player-tree-toolbar{gap:8px;position:static}.tree-guide-caption{flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:15px}.tree-stage-nav{flex-wrap:nowrap;overflow-x:auto}.tree-stage-nav button{min-width:110px}.tree-skill-list{max-height:480px}.tree-list-row{gap:3px;padding:4px}.tree-list-row>button:first-child{gap:8px;padding:8px}.tree-list-row .player-skill-orb{display:none}}.connected-tree{border:1px solid var(--border,var(--ui-border,#345246));background:var(--ui-surface,#14261d);color:var(--ui-text,#edf4e7);border-radius:12px;margin-top:1rem;overflow:hidden}.connected-toolbar,.connected-navigation{border-bottom:1px solid var(--ui-border,#345246);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:14px 18px;display:flex}.connected-toolbar h3{margin:0 0 5px}.connected-controls,.connected-navigation>div{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.connected-controls button,.connected-navigation button{padding:6px 9px;font-size:12px}.connected-navigation label{align-items:center;gap:8px;font-size:12px;display:flex}.connected-navigation select{max-width:260px}.connected-body{grid-template-columns:minmax(0,1fr) 270px;display:grid}.connected-viewport{overscroll-behavior:contain;background:radial-gradient(ellipse at top, var(--ui-surface,#203e2d), var(--ui-surface,#101f18));height:650px;overflow:auto}.connected-canvas{transform-origin:0 0;position:relative}.connected-canvas>.connected-edges{pointer-events:none;position:absolute;inset:0}.connected-edges path{fill:none;stroke:var(--ui-tree-edge,#54765e);stroke-width:1.5px}.connected-edges path.invested{stroke:var(--ui-accent-border,#c1dda3);stroke-width:2.5px;filter:drop-shadow(0 0 3px var(--ui-accent-glow,#b2d79555))}.connected-tree .connected-node{border:1px solid var(--ui-border,#52745a);color:var(--ui-text,#e5eedc);background:var(--ui-surface,#16291f);text-align:left;box-shadow:none;border-radius:9px;justify-content:center;align-items:center;gap:5px;margin:0;font-size:11px;line-height:1.15;display:flex;position:absolute;padding:4px!important}.connected-tree .connected-node img{object-fit:contain;flex:none;width:25px;height:25px}.connected-tree .connected-node small{color:var(--ui-text,#d2d5ad);margin-top:3px;font-size:9px;display:block}.connected-tree .connected-node.stat-pill{text-align:center;border-radius:18px;font-size:10px}.connected-tree .connected-node.invested{background:var(--ui-selected,#344c31);border-color:var(--ui-accent-border,#d0dfa6)}.connected-tree .connected-node.focused{outline:2px solid var(--ui-warning-border,#ecd276);outline-offset:3px}.connected-tree .connected-node.move-upgrade,.connected-tree .connected-node.big-stat{border-color:var(--ui-warning-border,#d6ac64);background:var(--ui-warning-surface,#302e20)}.connected-tree .connected-node.evolution-card{border-width:2px;border-radius:15px;font-size:13px}.connected-sprite{flex:none;width:36px;height:36px;display:block;overflow:hidden}.connected-sprite img{width:36px;max-width:none;height:72px;image-rendering:pixelated;object-fit:fill}.connected-check{background:var(--ui-primary,#bad6a5);color:var(--ui-on-primary,#163b24);border-radius:50%;padding:1px 3px;font-size:10px;position:absolute;top:-5px;right:-5px}.connected-glyph{color:var(--ui-warning-text,#e8c270);text-align:center;flex:none;width:27px;font-size:23px;line-height:1}.connected-inspector{border-left:1px solid var(--ui-border,#345246);min-width:0;padding:20px}.connected-inspector h3{margin-top:0}.connected-inspector p{font-size:13px;line-height:1.65}.connected-inspector>button{width:100%;margin:12px 0}.connected-neighbours{flex-wrap:wrap;gap:6px;margin-top:16px;display:flex}.connected-neighbours button{padding:6px;font-size:11px}.connected-confirm{z-index:90;box-sizing:border-box;background:var(--ui-surface,#1e3123);border:1px solid var(--ui-border-strong,#ccdb9d);width:244px;box-shadow:0 12px 35px var(--ui-shadow,#0008);color:var(--ui-text,#eff5de);border-radius:12px;padding:14px;position:fixed}.connected-confirm strong{font-size:14px}.connected-confirm p{font-size:12px}.connected-confirm>div{gap:10px;margin-top:12px;display:flex}.connected-confirm button{min-width:44px;padding:4px 12px;font-size:23px}@media (width<=1000px){.connected-body{grid-template-columns:1fr}.connected-inspector{border-left:0;border-top:1px solid var(--ui-border,#345246)}.connected-viewport{height:560px}.connected-navigation select{max-width:210px}.connected-toolbar{padding:12px}.connected-confirm{max-width:calc(100vw - 16px)}}@media (prefers-reduced-motion:reduce){.connected-tree *{scroll-behavior:auto!important}}.connected-tree .connected-node{min-height:0;font-size:11px;line-height:1.15}.connected-tree .connected-node.evolution-card{font-size:13px}.connected-tree{background:0 0;border:0;overflow:visible}.connected-toolbar{border:0;padding:12px 0 18px}.connected-budget{align-items:center;gap:24px;display:flex}.connected-budget>div{flex-direction:column;gap:7px;display:flex}.connected-budget>div:first-child{border-right:1px solid var(--ui-border,#345246);padding-right:24px}.connected-budget strong{color:var(--ui-accent-text,#c1dda3);font-size:27px;font-weight:500}.connected-budget small,.connected-budget span{color:var(--ui-muted,#aebcaf);font-size:11px}.connected-budget b{font-size:13px}.connected-controls label{align-items:center;gap:8px;font-size:11px;display:flex}.connected-controls select{max-width:220px}.connected-body{grid-template-columns:minmax(0,1fr) 285px;align-items:start;gap:16px}.connected-graph-panel{border:1px solid var(--ui-border,#345246);background:var(--ui-surface,#14261d);border-radius:12px;min-width:0;overflow:hidden}.connected-navigation{gap:8px;padding:12px}.connected-tree .connected-navigation button{min-height:30px;padding:5px 8px;font-size:11px}.connected-paths{padding:8px 12px}.connected-paths button{border-radius:20px}.connected-navigation small,.connected-navigation label{font-size:10px}.connected-navigation select{min-width:0;max-width:180px}.connected-canvas-wrap{position:relative}.connected-viewport{outline-offset:-3px;scrollbar-color:var(--ui-border-strong,#73987a) var(--ui-soft,#13251c);height:min(72vh,730px);min-height:410px;margin-left:32px}.connected-ruler{background:var(--ui-surface,#11231a);z-index:3;pointer-events:none;border-right:1px solid var(--ui-border,#274032);width:32px;position:absolute;top:0;bottom:0;left:0;overflow:hidden}.connected-ruler span{text-align:right;width:27px;color:var(--ui-muted,#809685);font-size:10px;position:absolute;left:0;transform:translateY(-50%)}.connected-ruler .major{color:var(--ui-accent-text,#c1dda3);font-weight:600}.connected-level-guide{stroke:var(--ui-border-strong,#698f6b);stroke-opacity:.08}.connected-edges path.focused-path{stroke:var(--ui-accent-border,#baca9f);stroke-opacity:.8}.connected-edges path.will-add{stroke:var(--ui-accent-border,#e8eda7);stroke-width:3px}.connected-edges path.will-remove{stroke:var(--ui-danger-border,#e8ac8d);stroke-width:3px}.connected-tree .connected-node{box-sizing:border-box}.connected-tree .connected-node.reward-card{justify-content:flex-start;padding:3px 5px!important}.connected-node-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.connected-tree .connected-node-copy>b{overflow-wrap:normal;font-size:10.5px;font-weight:550;line-height:1.12}.connected-tree .connected-node small{white-space:nowrap;align-items:center;gap:3px;margin:0;font-size:9px;line-height:11px;display:flex}.connected-tree .stat-pill .connected-node-copy>b{font-size:10px}.connected-tree .evolution-card .connected-node-copy>b{font-size:13px}.connected-tree .evolution-card small{margin-top:5px}.connected-tree .connected-node.evolution-card{gap:10px;padding:8px!important}.connected-symbol{vertical-align:middle;flex:none;display:inline-flex}.connected-symbol .skill-symbol{width:18px;height:18px}.connected-node small .skill-symbol{width:11px;height:11px}.connected-reward-icon{flex:none;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex;position:relative}.connected-reward-icon>img{object-fit:contain;width:100%;height:100%}.connected-reward-icon.passive-icon{color:var(--ui-ability-text,#c4b9f4);background:var(--ui-ability-surface,#3d3554);border-radius:7px}.connected-limit-badge{color:var(--ui-warning-text,#ffe099);background:var(--ui-warning-surface,#332b15);border:1px solid var(--ui-warning-border,#9a8242);border-radius:50%;padding:1px;display:inline-flex;position:absolute;bottom:-3px;right:-4px}.connected-limit-badge .skill-symbol{width:10px;height:10px}.connected-stat-icon{width:25px;height:25px;color:var(--ui-warning-text,#e9c98f);background:var(--ui-warning-surface,#dbc08d22);border-radius:8px;flex:none;place-items:center;display:grid}.connected-tree .big-stat{border-width:2px}.connected-tree .big-stat .connected-node-copy>b{white-space:nowrap;color:var(--ui-warning-text,#f1d6a4);font-size:12px}.connected-tree .connected-node .category-physical{color:var(--ui-danger-text,#f2ad9a)}.connected-tree .connected-node .category-magical{color:var(--ui-info-text,#aac7ff)}.connected-tree .connected-node .category-status{color:var(--ui-warning-text,#d7c19d)}.connected-node.terminal{box-shadow:0 0 0 3px var(--ui-accent-glow,#b1bf8620)}.connected-tree .connected-node.will-add{box-shadow:0 0 0 2px var(--ui-accent-glow,#d8e69a80)}.connected-tree .connected-node.will-remove{border-color:var(--ui-danger-border,#efab8a);box-shadow:0 0 0 2px var(--ui-danger-glow,#efab8a80)}.connected-tree .connected-node.excluded{border-style:dashed;border-color:var(--ui-border,#645b51);color:var(--ui-muted,#829589);background:var(--ui-surface,#15211c)}.connected-node.excluded .connected-reward-icon{opacity:.4}.connected-node.excluded .connected-check{background:var(--ui-soft,#40392f);color:var(--ui-muted,#c79783)}.connected-legend{color:var(--ui-muted,#b7c8b8);border-top:1px solid var(--ui-border,#345246);flex-wrap:wrap;gap:12px;padding:14px;font-size:10px;display:flex}.connected-legend>span{align-items:center;gap:5px;display:flex}.connected-legend .skill-symbol{width:13px;height:13px}.connected-legend i{border:1px solid var(--ui-border-strong,#adc69c);border-radius:50%;width:7px;height:7px}.connected-legend i.selected{background:var(--ui-primary,#adc69c)}.connected-legend i.excluded{border-style:dashed;border-color:var(--ui-warning-border,#c79783)}.connected-sidebar{scrollbar-color:var(--ui-border-strong,#73987a) var(--ui-soft,#13251c);gap:16px;min-width:0;max-height:calc(72vh + 180px);display:grid;overflow:auto}.connected-inspector,.connected-build-preview{background:var(--ui-surface,#14261d);border:1px solid var(--ui-border,#345246);border-radius:12px;padding:20px}.connected-inspector h3{margin:4px 0 16px;font-size:22px}.connected-inspector p{font-size:13px}.connected-inspector>button.primary{width:100%;padding:12px 8px;font-size:13px}.connected-path-facts{border-top:1px solid var(--ui-border,#345246);margin-top:20px;padding-top:18px;font-size:12px}.connected-path-facts>div{justify-content:space-between;gap:10px;margin:10px 0;display:flex}.connected-path-facts dd{white-space:nowrap;margin:0}.connected-facts{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.connected-facts>span{background:var(--ui-soft-overlay,#ffffff0b);border-radius:4px;align-items:center;gap:6px;padding:5px 7px;font-size:11px;display:inline-flex}.connected-facts .connected-reward-icon{width:18px;height:18px}.connected-upgrade-reference{background:var(--ui-warning-surface,#d9c27f0a);border:1px solid var(--ui-warning-border,#d9c27f66);border-radius:8px;gap:8px;padding:12px;font-size:12px;display:grid}.connected-upgrade-reference b{align-items:center;gap:8px;display:flex}.connected-branch-notice{border-left:2px solid var(--ui-warning-border,#d6ac64);color:var(--ui-warning-text,#e6d39b);padding-left:10px}.connected-build-title{align-items:center;gap:10px;display:flex}.connected-build-title small{letter-spacing:2px;color:var(--ui-accent-text,#b9c893);font-size:9px}.connected-build-title h3{margin:5px 0}.connected-build-preview h4{margin:22px 0 10px;font-size:12px;font-weight:500}.connected-stat-list{gap:10px;display:grid}.connected-stat-list>div{grid-template-columns:65px 1fr 38px;align-items:center;gap:8px;font-size:10px;display:grid}.connected-stat-list b{text-align:right;font-weight:400}.connected-stat-track{background:var(--ui-track,#091a12);border-radius:5px;height:5px;display:block;overflow:hidden}.connected-stat-track i{background:var(--ui-stat-fill,#aaca94);height:100%;display:block}.connected-chips{flex-wrap:wrap;gap:5px;display:flex}.connected-chips>span{background:var(--ui-soft-overlay,#ffffff07);border-radius:6px;align-items:center;gap:5px;padding:4px 6px;font-size:10px;display:inline-flex}.connected-chips .connected-reward-icon{width:16px;height:16px}.connected-chips .skill-symbol{width:14px;height:14px}.connected-empty{color:var(--ui-muted,#91a995);font-size:11px}.connected-replace{border:1px solid var(--ui-border-strong,#c1dda3);background:var(--ui-surface,#1e3123);border-radius:10px;margin-bottom:16px;padding:16px}.connected-replace p{font-size:13px}.connected-replace button+button{margin-left:10px}.connected-tree .connected-mobile{display:none}.connected-confirm.refund{border-color:var(--ui-danger-border,#e8ac8d)}.training-stat-gain{min-width:34px;color:var(--ui-success-text,#a9d8b8);font-weight:700}@media (width<=1050px){.connected-body{grid-template-columns:minmax(0,1fr)}.connected-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible}.connected-tree .connected-mobile{font-size:11px;display:inline-flex}}@media (width<=600px){.connected-sidebar{grid-template-columns:1fr}.connected-viewport{height:60vh;min-height:340px}.connected-budget{gap:12px}.connected-budget>div:first-child{padding-right:12px}.connected-budget strong{font-size:23px}.connected-controls{max-width:100%}.connected-controls select{max-width:180px}.connected-navigation{padding:8px}}.connected-viewport{cursor:grab}.connected-viewport:active{cursor:grabbing}.connected-tree .connected-node.stat-pill{font-size:11px}.connected-tree.tree-fullscreen{z-index:1000;box-sizing:border-box;background:var(--ui-surface,#14261d);flex-direction:column;width:100%;height:100dvh;margin:0;padding:16px;display:flex;position:fixed;inset:0;overflow:auto}.connected-tree.tree-fullscreen .connected-body{flex:1;align-items:stretch;min-height:0}.connected-tree.tree-fullscreen .connected-graph-panel{flex-direction:column;min-height:0;display:flex}.connected-tree.tree-fullscreen .connected-canvas-wrap{flex:1;min-height:0;display:flex}.connected-tree.tree-fullscreen .connected-viewport{flex:1;height:auto;min-height:0}.connected-tree.tree-fullscreen .connected-sidebar{max-height:100%;overflow:auto}@media (width<=1050px){.connected-tree.tree-fullscreen .connected-body{flex-direction:column;display:flex}.connected-tree.tree-fullscreen .connected-graph-panel{flex:1}.connected-tree.tree-fullscreen .connected-sidebar{flex-shrink:0;max-height:24vh}}.team-assembly{color:var(--ui-text,#e4eee7)}.team-assembly button,.team-assembly input,.team-assembly select{font:inherit;color:inherit;border:1px solid var(--ui-border,#486655);background:var(--ui-field,#20362b);border-radius:7px;padding:9px 12px}.team-assembly button{cursor:pointer}.team-assembly button:disabled{cursor:default;opacity:.5}.team-assembly button:hover:not(:disabled){border-color:var(--ui-border-strong,#a4d7b5);background:var(--ui-hover,#2b4938)}.team-assembly button:focus-visible,.team-assembly input:focus-visible,.team-assembly select:focus-visible{outline:2px solid var(--ui-accent-border,#b1e1bf);outline-offset:2px}.team-assembly h2{margin:0 0 14px;font-size:1.1rem}.assembly-summary{border-block:1px solid var(--ui-border,#344c3e);flex-wrap:wrap;align-items:center;gap:16px 28px;margin-bottom:22px;padding:14px 0;display:flex}.assembly-summary label{gap:4px;min-width:180px;font-size:.8rem;display:grid}.assembly-summary strong{font-size:1.3rem;display:block}.assembly-summary span{color:var(--ui-muted,#afc3b6);font-size:.8rem}.assembly-summary p{margin-left:auto;font-size:.85rem}.assembly-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.assembly-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.assembly-member{border:1px solid var(--ui-border,#476252);background:var(--ui-surface,#1c3025);border-radius:10px;grid-template-columns:72px minmax(0,1fr) 30px;gap:8px;padding:12px;display:grid;position:relative}.assembly-member.is-ace{border-color:var(--ui-warning-border,#e2c470);box-shadow:inset 0 3px var(--ui-warning-border,#e2c470)}.assembly-member>.library-monster-icon{align-self:center;width:72px;height:72px}.assembly-member-name{min-width:0;padding-right:8px}.assembly-member-name strong,.assembly-member-name small{overflow-wrap:anywhere;display:block}.assembly-member-name strong{font-size:.92rem}.assembly-member-name small{color:var(--ui-muted,#b0c6b9);font-size:.72rem}.assembly-types{gap:4px;margin-top:5px;display:flex}.assembly-types img{object-fit:contain;flex:0 0 22px;width:22px;min-width:22px;height:22px}.assembly-member .slot-cost{place-self:end;min-width:0;padding:3px 8px;font-size:1.1rem}.team-assembly .assembly-remove{background:0 0;border:0;padding:0 7px;font-size:1.1rem;position:absolute;top:3px;right:5px}.assembly-member-actions{border-top:1px solid var(--ui-border,#3b5243);grid-column:1/-1;align-items:center;gap:5px;padding-top:8px;display:flex}.assembly-member-actions .assembly-ace{align-items:center;gap:5px;margin-right:auto;font-size:.85rem;display:flex}.assembly-ace input,.tactic-choice input{accent-color:var(--ui-accent-border,#add7b9)}.team-assembly .assembly-member-actions button{padding:2px 9px}.assembly-empty{border:1px dashed var(--ui-border,#3b5243);min-height:136px;color:var(--ui-muted,#92aa9b);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;font-size:.78rem;display:flex}.assembly-empty span{font-size:1.6rem}.assembly-tactics{margin-top:24px}.team-assembly .tactic-choice{border:1px solid var(--ui-border,#3f5849);background:var(--ui-surface,#192b21);cursor:pointer;border-radius:8px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:4px 10px;margin:8px 0;padding:12px;display:grid}.tactic-choice span{color:var(--ui-muted,#afc3b6);grid-column:2;font-size:.8rem}.assembly-picker{border:1px solid var(--ui-border,#344c3e);background:var(--ui-surface,#17271e);border-radius:10px;padding:16px}.assembly-picker-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.assembly-picker-heading a{color:var(--ui-accent-text,#b2dac0);font-size:.78rem}.assembly-boxes{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.assembly-boxes [aria-pressed=true]{border-color:var(--ui-accent-border,#b1e1bf);background:var(--ui-selected,#375443)}.assembly-picker>input{box-sizing:border-box;width:100%;margin-bottom:14px}.assembly-monsters{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:590px;padding:2px;display:grid;overflow-y:auto}.team-assembly .assembly-monsters button{background:var(--ui-surface,#35463e);flex-direction:column;align-items:center;gap:2px;min-width:0;min-height:142px;padding:8px 5px;display:flex}.assembly-monsters .library-monster-icon{width:72px;height:72px}.assembly-monsters strong{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:.8rem;overflow:hidden}.assembly-monsters small{font-size:.7rem}.assembly-monsters button>span:last-child{color:var(--ui-text,#c6e3cf);margin-top:auto;font-size:.67rem}.team-assembly .assembly-monsters .in-team{border-color:var(--ui-border-strong,#a4d7b5);opacity:.65}.assembly-errors{color:var(--ui-warning-text,#ffcd85);border-top:1px solid var(--ui-danger-border,#485444);margin-top:22px;font-size:.85rem}.visual-library.teams-only{grid-template-columns:minmax(0,1fr)}.library-global-actions:empty{display:none}.library-recovery{color:var(--ui-muted,#a8bdb0);margin-top:18px;font-size:.8rem}.single-build-heading{justify-content:flex-end;margin:0}.single-build-heading>div{display:none}.single-build-heading .builder-field{align-items:center;gap:10px;display:flex}.single-build-heading select{width:auto}.single-build-status{border:0;min-height:24px;margin:-35px 340px 12px 0;padding:0}.single-build-status p{margin:0;font-size:.85rem}.builder-workspace .build-choice-slot{box-sizing:border-box;align-items:center;width:100%;min-width:0;min-height:85px}.builder-workspace .build-choice-slot>span{overflow-wrap:anywhere;min-width:0}.build-choice-control{min-width:0;display:flex;position:relative}.builder-workspace .build-choice-control:has(.build-choice-remove) .build-choice-slot{padding-right:48px}.builder-workspace .build-choice-remove{width:44px;height:44px;color:var(--muted,var(--ui-muted,#b6cbbd));background:0 0;border-color:#0000;padding:0;font-size:1.25rem;position:absolute;top:2px;right:2px}.builder-workspace .build-choice-remove:hover{background:var(--ui-hover,#34433b);color:var(--ui-text,#edf0e9)}.shared-build-note{color:var(--ui-muted,#b6cbbd);margin:0 0 12px;font-size:.85rem}.training-row{grid-template-columns:90px minmax(60px,1fr) 70px 42px 48px;gap:10px}.builder-workspace .max-training{padding:7px 6px;font-size:.75rem}.monster-gender{border:0;flex-wrap:wrap;gap:15px;margin:14px 0 0;padding:0;display:flex}.monster-gender legend{margin-bottom:7px;font-size:.8rem}.monster-gender label{align-items:center;gap:5px;font-size:.9rem;display:flex}.monster-gender small{color:var(--ui-warning-text,#ffcd85);flex-basis:100%}@media (width<=1050px){.assembly-layout{grid-template-columns:minmax(0,1fr)}.assembly-monsters{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));max-height:420px}}@media (width<=650px){.assembly-summary{gap:12px 20px;margin-bottom:16px}.assembly-summary label{flex-basis:100%}.assembly-summary p{flex-basis:100%;margin:0}.assembly-summary strong{font-size:1.1rem}.assembly-slots{grid-template-columns:minmax(0,1fr)}.assembly-empty{min-height:62px}.assembly-empty span{font-size:1rem}.assembly-picker{padding:12px}.assembly-monsters{grid-template-columns:repeat(2,minmax(0,1fr))}.single-build-heading{justify-content:flex-start}.single-build-heading .builder-field{flex-wrap:wrap}.single-build-status{margin:6px 0 12px}.training-row{grid-template-columns:72px minmax(30px,1fr) 55px 40px;gap:6px}.training-row output{display:none}}.assembly-member>.library-monster-icon{flex-basis:72px}.assembly-member>.library-monster-icon img{width:72px;height:72px}.assembly-member>.pixel-icon img{height:144px}.assembly-monsters .library-monster-icon{flex-basis:72px}.assembly-monsters .library-monster-icon img{width:72px;height:72px}.assembly-monsters .pixel-icon img{height:144px}.assembly-member:hover .pixel-icon img,.assembly-monsters button:hover:not(:disabled) .pixel-icon img{animation:.4s step-end infinite team-icon-idle}.team-assembly input[type=radio],.team-assembly input[type=checkbox]{flex:0 0 16px;width:16px;min-width:16px;height:16px;min-height:16px;margin:0;padding:0}.assembly-ace{white-space:nowrap}@media (prefers-reduced-motion:reduce){.assembly-member .pixel-icon img,.assembly-monsters .pixel-icon img{animation:none!important}}.build-stat-summary .stat-name-abbr{text-decoration:none}.build-stat-summary thead th{white-space:nowrap}.editable-stats .stat-training-controls{grid-template-columns:minmax(55px,1fr) 62px 44px;align-items:center;gap:7px;display:grid}.stat-training-controls input{width:100%;min-width:0;color:inherit}.stat-training-controls input[type=range]{appearance:none;cursor:pointer;background:0 0;border:0;height:44px;min-height:44px;margin:0;padding:0}.stat-training-controls input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--ui-stat-fill,#add7b9) var(--training-fill), var(--ui-track,#344b3f) var(--training-fill));border-radius:4px;height:8px}.stat-training-controls input[type=range]::-moz-range-track{background:linear-gradient(to right, var(--ui-stat-fill,#add7b9) var(--training-fill), var(--ui-track,#344b3f) var(--training-fill));border-radius:4px;height:8px}.stat-training-controls input[type=range]::-webkit-slider-thumb{appearance:none;border:2px solid var(--ui-border-strong,#c8e7d2);background:var(--ui-primary,#add7b9);border-radius:50%;width:16px;height:16px;margin-top:-4px}.stat-training-controls input[type=range]::-moz-range-thumb{border:2px solid var(--ui-border-strong,#c8e7d2);background:var(--ui-primary,#add7b9);border-radius:50%;width:12px;height:12px}.stat-training-controls input[type=range]:focus-visible{outline:2px solid var(--ui-accent-border,#a8d9b5);outline-offset:3px}.stat-training-controls input[type=number]{background:var(--ui-field,#112019);border:1px solid var(--ui-border,#496454);border-radius:5px;margin:0;padding:7px}.build-content .editable-stats .stat-bar-column{width:14%}.build-content .editable-stats th,.build-content .editable-stats td{padding:13px 6px}.editable-stats .training-error{grid-column:1/-1}.editable-stats .training-column{width:48%}.build-content .editable-stats thead th.training-column{text-align:center}@media (width<=650px){.build-content .editable-stats table{font-size:.8rem}.editable-stats .stat-training-controls{grid-template-columns:52px 38px;gap:5px}.stat-training-controls input[type=range]{grid-area:1/1/auto/-1}.stat-training-controls input[type=number]{appearance:textfield;padding-inline:5px}.stat-training-controls input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.stat-training-controls input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.build-content .editable-stats th,.build-content .editable-stats td{padding:10px 3px}.build-content .editable-stats .final-stat{font-size:1rem}.build-content .editable-stats .stat-bar-column{display:none}.builder-editor{padding:12px}}.single-build-heading .builder-field{flex-direction:row;width:auto;max-width:none}.single-build-heading .builder-field small{white-space:nowrap}.single-build-status p{background:0 0;flex:0 auto}.assembly-member[draggable],.assembly-monsters button[draggable]{cursor:grab;-webkit-user-select:none;user-select:none}.assembly-member[draggable]:active,.assembly-monsters button[draggable]:active{cursor:grabbing}.assembly-types img{pointer-events:none;-webkit-user-drag:none}.assembly-slots.drag-active>*{border-style:dashed}.assembly-slots .drop-target{outline:3px solid var(--ui-border-strong,#c5e9a5);outline-offset:2px;background:var(--ui-soft,#32533a)}.arena-page{width:min(1540px,100% - 48px);margin:16px auto 48px}.arena-page .codex-nav{margin-bottom:12px}.arena-heading,.arena-preview-note,.battlefield-meta,.battle-action-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.arena-heading{margin-bottom:12px}.arena-heading h1{margin:0;font-size:clamp(26px,3vw,32px)}.arena-heading .eyebrow{margin-bottom:8px}.arena-preview-note{border:1px solid var(--ui-border,#34433b);background:var(--ui-surface,#17221d);border-radius:12px;margin-bottom:16px;padding:10px 16px;font-size:13px}.arena-preview-note p{max-width:740px;margin:4px 0 0}.arena-preview-note label{min-width:210px}.arena-preview-note select{margin-top:4px}.battle-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:16px;display:grid}.battle-main-column{gap:12px;min-width:0;display:grid}.battlefield,.battle-actions,.battle-log{border:1px solid var(--ui-border,#34433b);background:var(--ui-surface,#1a2421);border-radius:12px;min-width:0}.battlefield{background:radial-gradient(ellipse at 50% 68%, var(--ui-accent-glow,#86cbb118), transparent 65%), linear-gradient(180deg, var(--ui-surface,#1a2421), var(--ui-soft,#20352a));overflow:hidden}.battlefield-meta{border-bottom:1px solid var(--ui-border,#34433b);min-height:44px;color:var(--ui-text,#c4cec7);padding:8px 16px;font-size:13px}.battlefield-meta>span{flex:1}.battlefield-meta>span:last-child{text-align:right;color:var(--ui-accent-text,#a9e0c5);font-size:11px}.battlefield-meta strong{color:var(--ui-warning-text,#e8b66a);border:1px solid var(--ui-warning-border,#ae8a51);border-radius:24px;flex-shrink:0;padding:2px 14px;font-size:13px}.battle-field-effects{width:max-content;color:var(--ui-muted,#a4b1a8);flex-direction:column;justify-content:center;align-items:center;gap:4px;margin-top:6px;font-size:12px;display:flex}.battle-field-effects:empty{display:none}.battle-duel{grid-template-rows:auto clamp(170px,17vw,230px) auto auto;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;padding:14px 20px 12px;display:grid}.battle-side{grid-row:1/span 5;grid-template-rows:subgrid;min-width:0;display:grid}.battle-side.player{grid-column:1}.battle-side.enemy{grid-column:2}.battle-monster-info{z-index:1;border:1px solid var(--ui-border,#34433b);background:var(--ui-surface,#1a2421);box-shadow:0 3px 10px var(--ui-shadow,#06110c22);border-radius:9px;align-self:start;padding:10px 12px;position:relative}.battle-monster-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:3px 8px;margin:2px 0 7px;display:flex}.battle-side-label{letter-spacing:.08em;text-transform:uppercase;color:var(--ui-muted,#a4b1a8);font-size:10px}.battle-monster-info h2{overflow-wrap:anywhere;margin:0;font-size:clamp(17px,1.5vw,22px)}.battle-monster-info h2 small{font-size:12px;font-weight:400}.battle-types{flex-wrap:wrap;gap:6px;margin:0;display:flex}.battle-type{background:var(--ui-surface,#172720);border:1px solid var(--ui-border,#41584a);color:var(--ui-text,#edf0e9);white-space:nowrap;border-radius:16px;align-items:center;gap:4px;padding:1px 6px 1px 3px;font-size:11px;display:inline-flex}.battle-type img{width:20px;height:20px}.battle-resource{color:var(--ui-success-text,#86cbb1);align-items:center;gap:8px;display:flex}.battle-resource>div{flex:1;min-width:32px}.battle-resource svg{width:100%;height:10px;display:block}.battle-resource rect{fill:var(--ui-track,#36433d)}.battle-resource .resource-fill{fill:currentColor}.battle-resource strong{color:var(--ui-text,#edf0e9);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;font-weight:500}.battle-resource.wounded{color:var(--ui-warning-text,#e8b66a)}.battle-resource.critical{color:var(--ui-danger-text,#ec827e)}.battle-resource.shield{color:var(--ui-info-text,#8bc9e8)}.battle-resource.limit{color:var(--ui-warning-text,#e8b66a)}.battle-shield{color:var(--ui-info-text,#9bd2ed);margin-top:6px;font-size:11px}.battle-shield>span{display:block}.battle-monster-effects,.battle-side-effects{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.battle-effect{border:1px solid var(--ui-border,#495e50);background:var(--ui-surface,#192820);color:var(--ui-text,#d3ded5);border-radius:4px;padding:2px 6px;font-size:11px}.battle-effect.escalation{border-color:var(--ui-warning-border,#907447);color:var(--ui-warning-text,#e8b66a)}.battle-monster-effects:empty,.battle-side-effects:empty{margin:0}.battle-art-stage{width:100%;height:100%;min-height:0;position:relative}.battle-art{width:100%;height:100%;display:block}.battle-art-missing{color:var(--ui-muted,#a4b1a8);place-items:center;height:100%;min-height:80px;font-size:13px;display:grid}.battle-team-strip{border-top:1px solid var(--ui-border,#34433b);overscroll-behavior-x:contain;scrollbar-width:thin;align-self:start;gap:6px;margin:0;padding:8px 2px 2px;list-style:none;display:flex;overflow-x:auto}.battle-team-strip:focus-visible{outline:2px solid var(--ui-accent-border,#a9e0c5);outline-offset:2px}.battle-team-strip li{text-align:center;flex-flow:column;flex:0 0 48px;align-items:center;width:48px;min-width:0;font-size:10px;line-height:1.3;display:flex}.battle-team-strip li>span:not(.battle-team-portrait):not(.battle-inspect){text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-top:3px;overflow:hidden}.battle-team-strip small{color:var(--ui-muted,#a4b1a8);margin-top:2px;font-size:9px}.battle-team-portrait{border:1px solid var(--ui-border,#506256);background:var(--ui-surface,#16221c);border-radius:7px;place-items:center;width:48px;height:48px;display:grid;position:relative}.battle-team-portrait img{object-fit:contain}.battle-team-strip .active .battle-team-portrait{border:2px solid var(--ui-border-strong,#86cbb1);background:var(--ui-surface,#294137)}.is-fainted img,.is-fainted .battle-art{filter:grayscale();opacity:.45}.battle-ko{color:var(--ui-danger-text,#ff9f99);font-size:24px;position:absolute;top:2px;right:2px}.battle-actions{padding:14px}.battle-action-heading{flex-wrap:wrap;margin-bottom:10px}.battle-action-heading h2{margin:0;font-size:18px}.battle-action-heading>span{color:var(--ui-muted,#a4b1a8);font-size:12px}.battle-moves{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.battle-move{background:var(--ui-surface,#17221e);border:1px solid var(--ui-border,#4b6455);border-radius:8px;min-width:0;padding:6px 12px}.battle-move.cooling{border-color:var(--ui-warning-border,#5a523f)}.battle-move button{text-align:left;background:0 0;border:0;border-radius:0;justify-content:space-between;gap:8px;width:100%;padding:0}.battle-move-title{font-size:15px}.battle-move-state{color:var(--ui-muted,#a4b1a8);white-space:nowrap;font-size:10px;font-weight:400}.cooling .battle-move-state{color:var(--ui-warning-text,#e8b66a)}.battle-move-facts{color:var(--ui-muted,#a4b1a8);flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:11px;display:flex}.battle-move-facts strong{color:var(--ui-text,#dce4df);font-weight:500}.battle-move details{margin-top:2px;font-size:12px}.battle-move summary{cursor:pointer;min-height:28px;color:var(--ui-accent-text,#aad7c5);align-items:center;display:flex}.battle-move summary:before{content:"+";margin-right:8px}.battle-move details[open] summary:before{content:"−"}.battle-move details p:last-child{margin-bottom:0}.battle-action-footer{grid-template-columns:auto auto minmax(100px,1fr) auto;align-items:center;gap:8px;margin-top:12px;display:grid}.battle-limit>span{color:var(--ui-warning-text,#e8b66a);margin-bottom:4px;font-size:11px;display:block}.battle-layout button:disabled{cursor:default;background:var(--ui-surface,#22332b);border-color:var(--ui-border,#475b4e);color:var(--ui-muted,#b2c0b7)}.battle-layout .battle-move button:disabled{color:var(--ui-text,#edf0e9);background:0 0}.battle-layout .battle-limit-button{color:var(--ui-warning-text,#e8b66a)}.battle-controls-note{color:var(--ui-muted,#a4b1a8);margin:12px 0 0;font-size:11px}.battle-result{text-align:center;color:var(--ui-accent-text,#a9e0c5);border:1px solid var(--ui-border,#537161);border-radius:8px;padding:24px;font-size:32px}.battle-log{padding:0;position:sticky;top:16px;overflow:hidden}.battle-log>summary{cursor:pointer;min-height:48px;padding:12px 16px;font-size:18px;font-weight:700}.battle-log>summary span{float:right;color:var(--ui-muted,#a4b1a8);font-size:10px;font-weight:400;line-height:26px}.battle-log[open]>summary{border-bottom:1px solid var(--ui-border,#34433b)}.battle-log-scroll{overflow-wrap:anywhere;height:min(65vh,640px);min-height:240px;max-height:640px;padding:0 16px 16px;overflow:hidden auto}.battle-side-effects>.battle-inspect{flex-shrink:0;max-width:100%}.battle-log-scroll section+section{margin-top:18px}.battle-log-scroll h3{color:var(--ui-muted,#c1ccc5);border-bottom:1px solid var(--ui-border,#34433b);padding-bottom:8px;font-size:12px}.battle-log-scroll p{color:var(--ui-text,#edf0e9);margin-block:10px;font-size:13px}.battle-chat-placeholder{border-top:1px solid var(--ui-border,#34433b);color:var(--ui-muted,#a4b1a8);padding:16px;font-size:11px}.battle-chat-placeholder>div{gap:8px;margin-top:8px;display:flex}.battle-chat-placeholder button{flex:1;padding:8px;font-size:12px}@media (width<=1180px){.battle-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.battle-action-footer{grid-template-columns:1fr 1fr}.battle-duel{padding-inline:16px}}@media (width<=980px){.battle-layout{grid-template-columns:minmax(0,1fr)}.battle-log{position:static}.battle-log-scroll{height:260px;min-height:160px}.battle-duel{grid-template-rows:auto clamp(180px,28vw,240px) auto auto}}@media (width<=600px){.arena-page{width:calc(100% - 24px);margin-top:12px}.arena-heading,.arena-preview-note{flex-direction:column;align-items:stretch;gap:12px}.arena-heading{margin-bottom:16px}.arena-heading .button{align-self:flex-start}.arena-preview-note{margin-bottom:16px;padding:12px}.battlefield-meta{gap:8px;padding:10px;font-size:10px}.battlefield-meta strong{padding:2px 10px;font-size:13px}.battle-duel{grid-template-rows:auto 160px auto auto;column-gap:10px;padding:10px 10px 8px}.battle-monster-info{padding:8px}.battle-monster-info h2{font-size:16px}.battle-resource{flex-wrap:wrap;gap:4px}.battle-resource strong,.battle-type{font-size:10px}.battle-type img{width:16px;height:16px}.battle-team-strip{justify-content:flex-start;gap:6px}.battle-team-strip li{flex-basis:40px;width:40px;font-size:9px}.battle-team-portrait{width:38px;height:38px}.battle-team-portrait img{width:34px;height:34px}.battle-team-strip small{font-size:9px}.battle-actions{padding:14px}.battle-moves{gap:6px}.battle-move{padding-inline:8px}.battle-move summary{min-height:44px}.battle-move button{flex-wrap:wrap}.battle-move-title{font-size:13px}.battle-move-state{font-size:9px}.battle-action-footer{gap:8px}.battle-action-footer button{padding-inline:10px;font-size:13px}}@media (prefers-reduced-motion:reduce){.battle-layout *,.battle-layout :before,.battle-layout :after{transition:none;animation:none}}.arena-layout-preview{margin-top:24px}.arena-layout-preview>summary{cursor:pointer;color:var(--ui-muted,#b3c7bc);padding:14px 0}.arena-availability{color:var(--ui-muted,#b3c7bc)}.battle-join{border:1px solid var(--ui-border,#3b5547);background:var(--ui-surface,#1b2c23);border-radius:12px;grid-template-columns:1fr 1fr auto;align-items:end;gap:18px;padding:24px;display:grid}.battle-join h2,.battle-join>p{grid-column:1/-1;margin:0}.battle-join label{gap:8px;display:grid}.battle-notice{background:var(--ui-surface,#243a2e);border-radius:8px;padding:12px 18px}.battle-notice button{margin-right:10px}.battle-clock{font-variant-numeric:tabular-nums;color:var(--ui-warning-text,#f6d387);font-size:1.25rem}.battle-picker{flex-wrap:wrap;gap:12px;padding-block:12px;display:flex}.battle-picker h3{flex-basis:100%;margin:0}.battle-picker button{text-align:left;flex:150px;gap:6px;min-height:60px;display:grid}.battle-picker button span{color:var(--ui-text,#c2cfc7);font-size:.85rem}.battle-forfeit-toggle{color:var(--ui-muted,#b9c3bd);background:0 0;margin-top:10px;font-size:.8rem}.battle-forfeit{border:1px solid var(--ui-warning-border,#8b6553);border-radius:8px;margin-top:16px;padding:14px}.battle-forfeit button{margin:0 10px 5px 0}.battle-leave{margin-top:20px}.live-battle .battle-move button:enabled{cursor:pointer;background:0 0}.live-battle .battle-move:has(button:enabled):hover{background:var(--ui-hover,#356247);border-color:var(--ui-accent-border,#76ac8b)}.live-battle .battle-move button:focus-visible{outline:3px solid var(--ui-accent-border,#b6eaca);outline-offset:3px}@media (width<=650px){.battle-join{grid-template-columns:1fr;padding:18px}}.playtest-lobby{gap:1.25rem;display:grid}.playtest-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;display:flex}.playtest-heading h2,.playtest-seat h3{margin:0 0 .5rem}.playtest-heading p{color:var(--muted);margin:0}.playtest-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.playtest-seat{border:1px solid var(--border);background:var(--surface);border-radius:.75rem;flex-direction:column;gap:.5rem;padding:1.5rem;display:flex}.playtest-seat p{color:var(--muted);margin:0 0 .75rem}.playtest-seat button{margin-top:1rem}.seat-ready{color:var(--ui-success-text,#a5e6be)}.playtest-open{background:var(--ui-soft,#a5dcb5);color:var(--ui-text,#10231b);border-radius:.4rem;padding:.8rem 1.2rem;font-weight:700;text-decoration:none;display:inline-block}.playtest-actions p{color:var(--muted)}.playtest-row{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:1rem;padding:1rem 0;display:flex}.playtest-row a{padding:.5rem .75rem;display:inline-block}@media (width<=640px){.playtest-seats{grid-template-columns:1fr}.playtest-heading .primary{width:100%}}.battle-team-portrait.battle-pixel-icon{flex-shrink:0;width:48px;height:48px;position:relative;overflow:hidden}.battle-team-portrait.battle-pixel-icon>img{object-fit:initial;width:48px;max-width:none;height:96px;image-rendering:pixelated}.battle-pixel-icon .battle-ko{color:var(--ui-text,#fff);background:var(--ui-surface,#26382e);border-radius:4px;padding:2px 4px;font-size:11px}.battlefield>.battle-actions{border:0;border-top:1px solid var(--ui-border);border-radius:0;padding:12px 16px 16px}.battle-duel{grid-template-rows:auto auto clamp(160px,16vw,210px) auto auto;gap:0 20px;padding:12px 50px 10px;position:relative}.battle-monster-info{flex-direction:column;align-self:stretch;padding:7px 9px;display:flex}.battle-monster-info,.battle-monster-addenda{justify-self:center;width:100%;max-width:320px}.battle-monster-info>.battle-resource{grid-template-columns:minmax(0,1fr) 68px;margin-top:auto;display:grid}.battle-monster-addenda .battle-monster-effects{align-items:center;gap:4px;margin-top:6px}.battle-duel:is(.has-timer,.has-field-effects) .battle-monster-info{width:min(320px,100% - 42px)}.battle-duel:is(.has-timer,.has-field-effects) .battle-side.player .battle-monster-info{justify-self:start}.battle-duel:is(.has-timer,.has-field-effects) .battle-side.enemy .battle-monster-info{justify-self:end}.battle-side.player .battle-monster-addenda{justify-self:start}.battle-side.enemy .battle-monster-addenda{justify-self:end}.battle-side.enemy .battle-monster-effects{justify-content:flex-end}.battle-center-timer{z-index:12;flex-direction:column;align-items:center;display:flex;position:absolute;top:20px;left:50%;transform:translate(-50%)}.battle-field-badge{border:1px solid var(--ui-info-border,#487e95);background:var(--ui-surface,#192820);max-width:150px;box-shadow:0 2px 5px var(--ui-shadow,#06110c22);color:var(--ui-info-text,#9bd2ed);border-radius:6px;align-items:center;gap:4px;padding:4px 6px;font-size:10px;line-height:1.2;display:flex}.battle-field-badge svg{flex:0 0 14px}.battle-field-badge.terrain{color:var(--ui-success-text,#86cbb1);border-color:var(--ui-success-border,#4d8065)}.battle-field-badge.side{color:var(--ui-text,#d3ded5);border-color:var(--ui-border,#495e50)}.battle-field-name{overflow-wrap:anywhere;min-width:0}.battle-field-duration{white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto;font-weight:700}.battle-field-duration small{margin-left:1px;font-weight:400}.battle-field-stacks{white-space:nowrap}.battle-side-effects{z-index:3;scrollbar-width:thin;flex-direction:column;align-items:flex-start;gap:4px;max-width:150px;max-height:calc(100% - 12px);margin:0;display:flex;position:absolute;top:6px;left:0;overflow-y:auto}.battle-side.enemy .battle-side-effects{align-items:flex-end;left:auto;right:0}.battle-escalation{z-index:3;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.battle-center-timer .battle-clock{justify-content:center;gap:4px;width:82px;padding:6px;font-size:14px}.battle-monster-addenda{max-width:400px;min-height:48px}.battle-monster-addenda .battle-monster-effects:empty{margin:0}.battle-monster-addenda .battle-effect{padding:1px 5px;font-size:10px}.battle-monster-info h2{font-size:clamp(16px,1.4vw,20px)}.battle-resource svg{height:7px}.battle-resource strong{text-align:right;min-width:42px;font-size:11px}.battle-side-limit{--battle-limit-text:#91326f;width:30px;height:calc(100% - 118px);min-height:140px;max-height:300px;color:var(--battle-limit-text);flex-direction:column;align-items:center;gap:6px;font-size:10px;display:flex;position:absolute;top:14px;left:9px}.battle-side.enemy .battle-side-limit{left:auto;right:9px}.battle-side-limit:empty{display:none}.battle-limit-label{flex-direction:column;align-items:center;line-height:1.3;display:flex}.battle-resource.vertical{flex-direction:column;flex:1;gap:5px;min-height:0;display:flex}.battle-resource.vertical>div{background:#211b35;border:1px solid #9c90ad;border-radius:3px;width:14px;min-width:0;min-height:0;padding:2px;box-shadow:inset 1px 0 #ffffff26,inset -1px 0 #0004}.battle-resource.vertical svg{width:100%;height:100%}.battle-resource.vertical .resource-track{fill:#211b35}.battle-resource.vertical strong{min-width:0;font-size:10px}.battle-limit-ready{text-transform:uppercase;flex-shrink:0;height:16px;font-size:9px;line-height:16px}.battle-tactics{color:var(--ui-text);flex-direction:column;align-items:center;gap:4px;font-size:9px;font-weight:400;display:flex;position:absolute;top:calc(100% + 3px)}.battle-tactic-badge{border:1px solid var(--ui-accent-border);background:var(--ui-soft);width:26px;height:26px;color:var(--ui-accent-text);border-radius:6px;place-items:center;font-size:10px;font-weight:700;display:grid}.battle-side-limit.ready{font-weight:700}.battle-side-limit.ready .resource-fill{filter:brightness(1.2)}.battle-side-limit.ready .battle-resource>div{border-color:#d778c3;box-shadow:0 0 9px #d740a269,inset 1px 0 #fff5}[data-theme=dark-green] .battle-side-limit{--battle-limit-text:#f3aee0}.battle-command-grid{grid-template-columns:minmax(0,1fr) minmax(150px,.48fr);gap:10px;display:grid}.battle-command-grid .battle-moves{grid-template-columns:repeat(2,minmax(0,1fr))}.battle-special-actions{grid-template-rows:1fr auto;gap:8px;min-width:0;display:grid}.battle-move{padding:8px 10px;position:relative}.battle-move:has(button:enabled){border-color:var(--ui-accent-border);box-shadow:inset 0 2px var(--ui-accent-glow)}.battle-move:has(button:enabled):hover{background:var(--ui-soft);box-shadow:0 0 0 1px var(--ui-accent-border)}.battle-move button{flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;min-height:42px;display:flex}.battle-move-title{overflow-wrap:anywhere;font-size:14px;font-weight:700}.battle-move-state{font-size:11px}.battle-move.cooling{border:1px solid var(--ui-warning-border);background:repeating-linear-gradient(135deg, transparent 0 9px, var(--ui-soft) 9px 11px), var(--ui-surface)}.battle-move.cooling .battle-move-state{background:var(--ui-warning-text);color:var(--ui-surface);border-radius:4px;padding:3px 7px;font-weight:700;display:inline-block}.battle-move.empty{min-height:106px;color:var(--ui-muted);text-align:center;border-style:dashed;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.battle-move.empty>span{opacity:.6;font-size:22px;line-height:1}.battle-move.empty strong{font-size:12px;font-weight:500}.battle-move.empty small{font-size:10px}.battle-move.limit-slot{border-color:var(--ui-warning-border)}.battle-wait{justify-content:space-between;align-items:center;gap:6px;min-height:48px;padding:10px;display:flex}.battle-wait span{font-size:10px;font-weight:400}.battle-team-prompt{color:var(--ui-accent-text);margin:0 0 10px;font-size:13px}.battle-skip{margin-bottom:8px}.battle-sidebar{gap:10px;min-width:0;display:grid;position:relative}.battle-toolbar{flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.battle-toolbar .battle-feedback-controls{margin:0}.battle-toolbar-actions{margin-left:auto}.battle-toolbar-actions .battle-forfeit,.battle-toolbar-actions .battle-forfeit p{margin:0}.battle-turn-clock{align-items:center;gap:10px;display:flex}.battle-timer{z-index:10;font-size:12px;position:relative}.battle-clock{border:1px solid var(--ui-accent-border,#86cbb1);background:var(--ui-soft,#20352a);color:var(--ui-text,#edf0e9);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:7px;align-items:center;gap:7px;padding:6px 10px;font-size:15px;display:flex}.battle-timer summary{color:#effcff;cursor:pointer;font-variant-numeric:tabular-nums;background:linear-gradient(150deg,#234b5b,#102b37);border:1px solid #497f92;border-top:2px solid #70ddf0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:1px;width:82px;min-height:62px;padding:6px 8px 8px;list-style:none;display:flex;position:relative;box-shadow:inset 0 0 0 2px #8de5f00b,0 3px 10px #102b3730}.battle-timer summary::-webkit-details-marker{display:none}.battle-timer summary:hover,.battle-timer summary:focus-visible{outline-offset:2px;border-color:#70ddf0;outline:2px solid #70ddf055}.battle-timer-caption{color:#a0dbe7;text-transform:uppercase;letter-spacing:.16em;font-size:8px;font-weight:700;line-height:1.4}.battle-timer .timer-digits{color:inherit;letter-spacing:-.04em;font-size:25px;font-weight:800;line-height:1.2}.battle-timer .timer-word{color:inherit;font-size:14px;line-height:2.1}.battle-timer-chevron{color:#a0dbe7;font-size:9px;position:absolute;bottom:3px;right:7px}.battle-timer.urgent summary{color:#fff1ed;background:linear-gradient(150deg,#773938,#422127);border-color:#ffba90 #e68573 #e68573;box-shadow:inset 0 0 14px #ed9b5120,0 0 12px #c25d4626}.battle-timer.urgent .battle-timer-caption,.battle-timer.urgent .battle-timer-chevron{color:#ffd2b9}.battle-timer.off summary{color:#dae3e5;background:linear-gradient(150deg,#3c4b50,#253238);border-color:#76898b}.battle-timer.off .battle-timer-caption,.battle-timer.off .battle-timer-chevron{color:#bcc9cc}.battle-timer-panel{border:1px solid var(--ui-border,#34433b);background:var(--ui-surface,#17221d);width:min(275px,70vw);color:var(--ui-text,#edf0e9);box-shadow:0 8px 24px var(--ui-shadow,#0003);border-radius:9px;padding:14px;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%)}.battle-timer-panel>strong{color:var(--ui-text,#edf0e9);border:0;padding:0}.battle-timer-panel p{margin:8px 0}.battle-timer-help{color:var(--ui-muted,#a4b1a8)}.battle-shield{align-items:center;gap:5px;display:flex}.battle-shield.no-shield{display:none}.battle-shield-badge{border:1px solid var(--ui-info-border,#5f98b5);background:var(--ui-info-surface,#17313e);color:var(--ui-info-text,#a5dbff);font-variant-numeric:tabular-nums;border-radius:5px;align-items:center;gap:5px;padding:2px 6px;font-size:12px;line-height:16px;display:inline-flex}.battle-shield-badge svg{flex:none;width:14px;height:14px}.battle-move.limit-slot{--limit-ink:#8b256d;background:linear-gradient(145deg, #a54fbd14, #df85bf0a), var(--ui-surface,#17221d);border-color:#b17aa8}.battle-move.limit-slot .battle-move-title{color:var(--limit-ink)}.battle-limit-kicker{text-transform:uppercase;letter-spacing:.12em;color:var(--limit-ink);margin-bottom:10px;font-size:10px;display:block}.battle-move.limit-slot.limit-ready{background:linear-gradient(135deg, #c65cce25, #f0b7d735), var(--ui-surface,#17221d);border:2px solid #bd459b;padding:7px 9px;box-shadow:inset 0 0 24px #d26bc826,0 0 12px #bd459b24}.battle-move.limit-ready .battle-move-state{color:var(--limit-ink);font-weight:700}.battle-move.limit-ready .battle-move-title{font-size:17px}.battle-move.limit-ready:has(button:enabled):hover{box-shadow:inset 0 0 25px #d26bc826,0 0 0 2px #bd459b}[data-theme=dark-green] .battle-move.limit-slot{--limit-ink:#f5b7e4}@media (width<=600px){.battlefield-meta{flex-wrap:wrap;gap:6px;padding:8px}.battle-turn-clock{order:-1;justify-content:center;width:100%}.battle-shield>.battle-resource{grid-template-columns:minmax(0,1fr) 50px}}.battle-sidebar .battle-forfeit-toggle{justify-self:end;min-height:32px;margin:0;padding:6px 12px;font-size:12px}.battle-sidebar .battle-log{position:static}.battle-log-scroll{height:min(67vh,680px)}.battle-inspect{align-items:center;gap:2px;display:inline-flex;position:relative}.battle-inspect-badge{min-height:0;color:inherit;text-align:inherit;cursor:help;background:0 0;border:0;padding:0}.battle-inspect-badge:focus-visible{outline:2px solid var(--ui-accent-border);outline-offset:2px}.battle-team-strip li>.battle-inspect{margin-top:0;overflow:visible}.battle-team-strip{gap:10px;padding:8px 5px 5px}.battle-team{min-width:0}.battle-switch-confirm{z-index:121;border:1px solid var(--ui-accent-border);background:var(--ui-surface);box-shadow:0 8px 24px var(--ui-shadow,#0004);border-radius:7px;align-items:center;gap:6px;padding:7px;font-size:12px;display:flex;position:fixed}.battle-switch-confirm span{flex:1}.battle-switch-confirm button{min-width:32px;min-height:32px;padding:4px;font-size:18px}.battle-switch-confirm button:first-of-type{background:var(--ui-soft)}.battle-team-select{background:0 0;border:0;min-height:0;padding:0;display:block}.battle-team-select[aria-disabled=true]{cursor:default}.selectable .battle-team-portrait{border:2px solid var(--ui-accent-border);background:var(--ui-soft)}.selectable .battle-team-select:hover .battle-team-portrait{box-shadow:0 0 0 2px var(--ui-accent-border);transform:translateY(-2px)}.battle-team-select:focus-visible{outline:2px solid var(--ui-accent-border);outline-offset:3px;border-radius:7px}.battle-tooltip{box-sizing:border-box;z-index:120;overscroll-behavior:contain;background:var(--ui-surface,#172720);width:min(300px,100vw - 24px);max-height:min(420px,100vh - 24px);color:var(--ui-text,#edf0e9);border:1px solid var(--ui-border-strong,#86cbb1);box-shadow:0 8px 32px var(--ui-shadow,#0006);white-space:normal;border-radius:10px;padding:14px;font-size:12px;line-height:1.55;position:fixed;overflow:auto}.battle-tooltip>strong{margin-bottom:6px;font-size:14px;display:block}.battle-tooltip p{margin:7px 0}.battle-tooltip ul{margin:5px 0;padding-left:18px}.battle-ace{color:var(--ui-warning-text);border-color:var(--ui-warning-border)}.battle-effect.stat-buff{color:#236847;background:#e8f4eb;border-color:#7ba58b}.battle-effect.stat-debuff{color:#a03632;background:#ffebe5;border-color:#c7877b}[data-theme=dark-green] .battle-effect.stat-buff{color:#b8f0ce;background:#183b2b;border-color:#5c9e76}[data-theme=dark-green] .battle-effect.stat-debuff{color:#ffbbb3;background:#4a2528;border-color:#bf7972}@media (width<=980px){.battle-sidebar{position:static}.battle-log-scroll{height:260px}}@media (width<=600px){.battle-duel{grid-template-rows:auto auto 175px auto auto;gap:0 10px;padding:10px 35px}.battle-duel:is(.has-timer,.has-field-effects){padding-top:120px}.battle-duel:is(.has-timer,.has-field-effects) .battle-monster-info{width:100%}.battle-center-timer{top:8px}.battle-field-effects{flex-direction:row;max-width:min(280px,100vw - 80px)}.battle-side-effects,.battle-field-badge{max-width:115px}.battle-side-effects{max-height:54px}.battle-art-stage>.battle-motion{height:calc(100% - 60px);margin-top:60px}.battle-monster-info{padding:7px}.battle-monster-info h2{font-size:15px}.battle-monster-info>.battle-resource{grid-template-columns:minmax(0,1fr);gap:3px}.battle-side-limit{width:26px;left:3px}.battle-side.enemy .battle-side-limit{right:3px}.battle-resource{gap:4px}.battle-resource strong{font-size:10px}.battle-command-grid{grid-template-columns:1fr}.battle-special-actions{grid-template-rows:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.battle-move{padding:7px}.battle-move-title{font-size:13px}.battle-move-state{white-space:normal}.battlefield>.battle-actions{padding:10px}.battle-team-strip{gap:8px}.battle-wait{flex-direction:column;justify-content:center}}.battle-team-portrait.battle-pixel-icon{min-width:40px;min-height:40px}.battle-feedback-controls{color:var(--ui-muted,#b4c9bf);flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 12px;font-size:12px;display:flex}.battle-feedback-controls label{align-items:center;gap:8px;margin:0;display:flex}.battle-feedback-controls select{width:110px;min-height:36px;margin:0;padding:6px 24px 6px 10px}.battle-feedback-controls button{min-height:36px;padding:6px 12px;font-size:12px}.battle-feedback-controls input[type=range]{width:90px;min-height:36px;margin:0;padding:0}.battle-announcement{background:var(--ui-shade,#0d191380);border-bottom:1px solid var(--ui-border,#34433b);min-height:36px;color:var(--ui-text,#dbe8df);align-items:center;padding:6px 16px;font-size:13px;display:grid}.battle-announcement.cue-critical,.battle-announcement.cue-limit{color:var(--ui-warning-text,#f1cd81)}.battle-announcement.cue-damage,.battle-announcement.cue-faint{color:var(--ui-danger-text,#f4b6af)}.battle-announcement.cue-heal{color:var(--ui-success-text,#a8e1be)}.battle-resource .resource-trail{fill:var(--ui-stat-fill,#edddbc);opacity:.65}.battle-motion{isolation:isolate;width:100%;height:100%;position:relative}.battle-art-stage:before{content:"";border:1px solid var(--ui-border,#486450);background:radial-gradient(ellipse, var(--ui-shadow,#06110c55), var(--ui-soft-overlay,#25382a28) 65%);border-radius:50%;height:18%;position:absolute;inset:auto 8% 4%}.battle-impact{pointer-events:none;border:3px solid var(--ui-warning-border,#ead191);opacity:0;box-shadow:0 0 20px var(--ui-accent-glow,#ead19125);border-radius:50%;animation:ease-out battle-impact;position:absolute;inset:18% 25%}.impact-shield,.impact-break{border-color:var(--ui-info-border,#a1dcf5);box-shadow:0 0 24px var(--ui-info-glow,#87c8ef35)}.impact-heal,.impact-enter{border-color:var(--ui-border-strong,#9ad6af)}.impact-damage{border-color:var(--ui-danger-border,#f4a18d);border-radius:25% 65% 30% 60%}.impact-status{border-color:var(--ui-ability-border,#c6ade9)}.impact-attack,.impact-miss,.impact-recall,.impact-faint{display:none}@keyframes battle-impact{0%{opacity:0;transform:scale(.65)}25%{opacity:.65}to{opacity:0;transform:scale(1.25)}}@media (prefers-reduced-motion:reduce){.battle-impact{display:none}}@media (width<=600px){.battle-team-strip{gap:4px}.battle-team-portrait.battle-pixel-icon{width:38px;height:38px}.battle-team-portrait.battle-pixel-icon>img{width:38px;height:76px}.battle-announcement{min-height:44px;padding:6px 12px;font-size:12px}.battle-feedback-controls{gap:8px}}.battle-support-code{color:var(--ui-muted,#a4b1a8);overflow-wrap:anywhere;font-size:12px}.battle-idle{transform-origin:50% 95%;width:100%;height:100%}.battle-idle.is-moving{animation:3.2s ease-in-out infinite battle-idle}.enemy .battle-idle.is-moving{animation-delay:-1.3s}.battle-float-label{z-index:2;background:var(--ui-surface);border:1px solid var(--ui-border-strong);width:max-content;max-width:95%;color:var(--ui-text);box-shadow:0 3px 12px var(--ui-shadow);text-align:center;pointer-events:none;border-radius:20px;padding:5px 12px;font-size:13px;font-weight:700;animation:ease-out both battle-label;position:absolute;top:14%;left:50%;transform:translate(-50%)}.battle-float-label.cue-damage,.battle-float-label.cue-faint{color:var(--ui-danger-text)}.battle-float-label.cue-heal{color:var(--ui-success-text)}.battle-float-label.cue-critical,.battle-float-label.cue-boost,.battle-float-label.cue-limit{color:var(--ui-warning-text)}@keyframes battle-idle{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-3px)scale(1.008)}}@keyframes battle-label{0%{opacity:0;translate:0 8px}15%,80%{opacity:1;translate:0}to{opacity:0;translate:0 -5px}}@media (prefers-reduced-motion:reduce){.battle-idle.is-moving,.battle-float-label{animation:none}}.replay-heading,.replay-info,.replay-transport,.replay-options,.battle-finished-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.replay-heading{justify-content:space-between;margin:16px 0 4px}.replay-heading h1{margin:4px 0;font-size:clamp(1.5rem,3vw,2rem)}.replay-info{color:var(--ui-muted,#b8c8be);padding:12px 0}.replay-info>span:first-child{margin-right:auto}.replay-info button{padding:8px 12px}.replay-controls{gap:16px;display:grid}.replay-viewer .battle-team-strip li{width:72px}.replay-meters{color:var(--ui-muted,#b8c8be);grid-template-columns:1fr 1fr;gap:16px;font-size:.75rem;display:grid}.replay-meters:empty{display:none}.replay-meters .battle-resource{margin-top:6px}.replay-meters .battle-resource strong{font-size:.75rem}.replay-transport{gap:8px}.replay-transport button{white-space:nowrap;flex:1;min-height:44px;padding:10px 12px}.replay-transport .replay-play{flex:1.3;font-weight:700}.replay-timeline{grid-template-columns:1fr auto;gap:10px;display:grid}.replay-timeline span,.replay-options p{color:var(--ui-muted,#b8c8be);font-size:.8rem}.replay-timeline input{width:100%;min-width:0;min-height:32px;accent-color:var(--ui-accent-border,#a8d9b5);grid-column:1/-1;margin:0;padding:0}.replay-options label{flex:1;gap:6px;min-width:130px;display:grid}.replay-options select{width:100%;min-height:44px}.replay-options p{flex-basis:100%;margin:0}.battle-finished-actions{margin:16px 0}.battle-finished-actions .battle-leave{margin:0}@media (width<=600px){.replay-viewer .battle-team-strip{gap:4px}.replay-viewer .battle-team-strip li{width:48px}.replay-viewer .battle-team-portrait.battle-pixel-icon{width:44px;height:44px}.replay-viewer .battle-team-portrait.battle-pixel-icon>img{width:44px;height:88px}.replay-heading{align-items:flex-start}.replay-info{gap:8px}.replay-info>span:first-child{flex-basis:100%}.replay-transport button{flex-basis:calc(50% - 4px)}.replay-transport .replay-play{flex-basis:100%;order:-1}}.account-page{--account-line:var(--ui-border,#30443c);--account-muted:var(--ui-muted,#a1b5aa);--account-mint:var(--ui-accent-text,#b2e3c3);max-width:1180px;padding-block:42px 64px}.account-page [hidden]{display:none!important}.account-page button,.account-page .button{border-radius:8px;gap:10px;font-size:14px}.account-page button:disabled{opacity:.5;cursor:not-allowed}.account-icon{flex:0 0 22px;width:22px;height:22px}.account-kicker{letter-spacing:.18em;color:var(--ui-text,#bdd1c4);margin-bottom:16px;font-size:10px;font-weight:750}.account-icon-tile{border:1px solid var(--ui-border,#41604e);width:44px;height:44px;color:var(--account-mint);background:var(--ui-surface,#213a2f);border-radius:12px;flex:0 0 44px;place-items:center;display:inline-grid}.account-card,.account-gate{background:var(--ui-surface,#17251f);border:1px solid var(--account-line,var(--ui-border,#30443c));border-radius:16px;padding:30px}.account-panel-heading{align-items:center;gap:16px;padding-bottom:28px;display:flex}.account-panel-heading h2{letter-spacing:-.035em;margin:0 0 6px;font-size:23px}.account-panel-heading p{color:var(--account-muted);margin:0;font-size:14px}.account-card form,.account-card label{flex-direction:column;gap:8px;display:flex}.account-card form{gap:18px}.account-card label{color:var(--ui-text,#dfebe2);font-size:13px;font-weight:600}.account-page input:not([type=checkbox]){border:1px solid var(--ui-border,#42594c);background:var(--ui-field,#102019);width:100%;min-width:0;min-height:48px;color:var(--ui-text,#edf4ee);box-sizing:border-box;border-radius:8px;padding:11px 14px}.account-page input::placeholder{color:var(--ui-muted,#8b9f94);font-weight:400}.account-card form small{color:var(--account-muted);font-size:12px}.account-card form>button:not(.text-link){align-self:flex-start}.account-card details{border-top:1px solid var(--account-line)}.account-card summary{cursor:pointer;justify-content:space-between;align-items:center;gap:20px;padding:22px 0;list-style:none;display:flex}.account-card summary::-webkit-details-marker{display:none}.account-card summary strong,.account-card summary small{display:block}.account-card summary strong{color:var(--ui-text,#e8f0e9);font-size:14px;font-weight:600}.account-card summary small{color:var(--account-muted);margin-top:5px;font-size:13px;font-weight:400}.account-card details>form,.account-card details>div,.account-card details>p{max-width:520px;margin:0 0 24px}.account-row-action{color:var(--account-mint);white-space:nowrap;font-size:12px}.account-row-action>span{padding-left:10px}.account-status{background:var(--ui-surface,#243b30);border:1px solid var(--ui-border,#3e5747);color:var(--ui-text,#c4d2c8);white-space:nowrap;border-radius:6px;align-items:center;gap:7px;padding:5px 9px;font-size:11px;font-weight:650;display:inline-flex}.account-status.enabled{color:var(--ui-accent-text,#b3e7c0)}.account-status.enabled:before{content:"";background:currentColor;border-radius:50%;width:5px;height:5px}.account-actions{flex-wrap:wrap;gap:10px;margin-bottom:12px;display:flex}.account-message{background:var(--ui-surface,#1c3528);border:1px solid var(--ui-border-strong,#548365);border-radius:10px;margin:0 0 22px;padding:14px 18px;font-size:14px}.account-message.error{background:var(--ui-danger-surface,#352923);border-color:var(--ui-danger-border,#955e4b);color:var(--ui-danger-text,#ffc0af)}.account-rune{width:100%;height:100%;display:block}.rune-orbit{stroke:var(--ui-border-strong,#659880);stroke-width:1px;opacity:.35}.rune-frame{stroke:var(--ui-border-strong,#8fcaaa);stroke-width:1.3px}.account-rune .rune-core{stroke:var(--ui-border-strong,#c0edcf);stroke-width:8px;stroke-linejoin:bevel}.account-access-page{padding-top:44px}.account-auth-layout{border:1px solid var(--ui-border,#3c5445);background:var(--ui-surface,#18271f);box-shadow:0 24px 64px var(--ui-shadow,#050d082b);border-radius:20px;grid-template-columns:minmax(0,1.08fr) minmax(350px,.92fr);display:grid;overflow:hidden}.account-intro{isolation:isolate;background:radial-gradient(ellipse at 70% 60%, var(--ui-soft-overlay,#2e594338), transparent 65%), var(--ui-surface,#13291e);flex-direction:column;padding:42px 42px 28px;display:flex;position:relative;overflow:hidden}.account-intro:after{content:"";z-index:-1;background-image:linear-gradient(var(--ui-soft-overlay,#bdd8c405) 1px, transparent 1px), linear-gradient(90deg, var(--ui-soft-overlay,#bdd8c405) 1px, transparent 1px);background-size:48px 48px;position:absolute;inset:0}.account-intro .account-kicker{align-items:center;gap:10px;margin-bottom:25px;display:flex}.account-intro .account-kicker>span{background:var(--ui-soft,#b2e3c3);width:6px;height:6px;transform:rotate(45deg)}.account-intro h1{letter-spacing:-.055em;margin-bottom:20px;font-size:clamp(34px,3.7vw,48px);line-height:1.1}.account-intro h1 em{color:var(--ui-accent-text,#abdcbc);font-style:normal}.account-intro-copy{color:var(--ui-muted,#a9bfb1);margin-bottom:0;font-size:15px;line-height:1.7}.account-hero-art{align-self:center;width:min(300px,100%);height:210px;margin:12px 0 10px;position:relative}.account-art-label{text-align:center;letter-spacing:.45em;color:var(--ui-accent-text,#91b29d);font-size:8px;position:absolute;bottom:5px;left:0;right:0}.account-allowance{border-top:1px solid var(--ui-border,#38513f);align-items:center;gap:26px;margin-top:auto;padding-top:23px;display:flex}.account-allowance>div{flex-direction:column;gap:5px;display:flex}.account-allowance>div:last-child{border-left:1px solid var(--ui-border,#38513f);max-width:132px;margin-left:auto;padding-left:22px}.account-allowance strong{color:var(--ui-text,#d7ebdc);font-size:23px;font-weight:650;line-height:1}.account-allowance span{color:var(--ui-muted,#b3c5b9);font-size:10px}.account-allowance .account-icon{width:20px;height:23px;color:var(--ui-text,#b3d6be)}.account-signin-card{background:var(--ui-surface,#1b2b22);border:0;border-radius:0;flex-direction:column;justify-content:center;padding:44px 44px 36px;display:flex}.account-tabs{background:var(--ui-surface,#112017);border:1px solid var(--ui-border,#314737);border-radius:9px;gap:4px;margin-bottom:32px;padding:4px;display:flex}.account-tabs button{min-height:39px;color:var(--ui-muted,#a7bcae);background:0 0;border:1px solid #0000;border-radius:6px;flex:1;padding:8px 10px;font-size:12px}.account-tabs button[aria-current]{color:var(--ui-text,#e5f5e9);border-color:var(--ui-accent-border,#48644f);background:var(--ui-selected,#2b4333);box-shadow:0 2px 5px var(--ui-shadow,#08100933)}.account-signin-card h2{margin:0;font-size:29px}.account-form-description{color:var(--ui-muted,#a6b9aa);margin:-8px 0 9px;font-size:13px}.account-signin-card form>button:not(.text-link){align-self:stretch;min-height:48px}.account-signin-card .primary{justify-content:space-between;margin-top:3px;padding-inline:18px}.account-check{align-items:center;color:var(--ui-muted,#b5c6ba)!important;flex-direction:row!important;gap:9px!important;font-size:12px!important;font-weight:400!important}.account-check input{width:15px;height:15px;accent-color:var(--ui-accent-border,#a8d9b5);margin:0}.account-page .text-link{min-height:30px;color:var(--ui-accent-text,#b2ddbf);background:0 0;border:0;padding:0;font-size:12px;font-weight:500}.account-page .text-link:hover{text-decoration:underline}.account-profile-header{isolation:isolate;border:1px solid var(--ui-accent-border,#3d5b48);background:linear-gradient(110deg, var(--ui-surface,#213d2b), var(--ui-surface,#172d23) 65%, var(--ui-surface,#213e2e));border-radius:16px;justify-content:space-between;align-items:center;gap:26px;margin-bottom:32px;padding:34px;display:flex;position:relative;overflow:hidden}.account-profile-identity{align-items:center;gap:22px;min-width:0;display:flex}.account-avatar{border:1px solid var(--ui-border-strong,#8ebd9a);outline:6px solid var(--ui-border-strong,#c0e5c90b);background:var(--ui-soft,#aecbb1);width:84px;height:84px;color:var(--ui-text,#203e2d);letter-spacing:-.06em;border-radius:24px;flex:0 0 84px;place-items:center;font-size:30px;font-weight:700;display:grid}.account-profile-header .account-kicker{color:var(--ui-accent-text,#9fc6ab);margin-bottom:10px;font-size:9px}.account-profile-header h1{overflow-wrap:anywhere;margin-bottom:7px;font-size:clamp(24px,3vw,35px)}.account-profile-header p:last-child{color:var(--ui-muted,#b1c8b8);margin:0;font-size:13px}.account-profile-header>.button{white-space:nowrap;flex-shrink:0;min-height:45px}.account-profile-art{opacity:.18;z-index:-1;width:410px;height:410px;position:absolute;top:-133px;right:45px}.account-workspace{grid-template-columns:205px minmax(0,1fr);align-items:start;gap:30px;display:grid}.account-sidebar{padding-top:15px}.account-sidebar>.account-kicker{color:var(--ui-muted,#869e8f);padding-left:14px;font-size:9px}.account-settings-nav{gap:5px;display:grid}.account-settings-nav button{text-align:left;color:var(--ui-muted,#a8bcb0);background:0 0;border:1px solid #0000;justify-content:flex-start;min-height:48px;padding:12px 14px;font-size:13px;font-weight:500}.account-settings-nav button:hover{background:var(--ui-hover,#1a2a21);color:var(--ui-text,#e2ece5)}.account-settings-nav button[aria-current]{background:var(--ui-selected,#223b2c);border-color:var(--ui-accent-border,#395b44);color:var(--ui-accent-text,#c2e5c9)}.account-settings-nav .account-icon{flex-basis:18px;width:18px;height:18px}.account-nav-indicator{visibility:hidden;margin-left:auto;font-size:18px;line-height:1}[aria-current]>.account-nav-indicator{visibility:visible}.account-back-link{border-top:1px solid var(--ui-border,#2c3d32);color:var(--ui-muted,#94a99b);align-items:center;gap:10px;margin:26px 14px 0;padding-top:22px;font-size:12px;display:flex}.account-back-link .account-icon{flex-basis:17px;width:17px;height:17px;transform:rotate(180deg)}.account-settings{min-width:0}.account-settings .account-card{padding:28px 30px}.account-username-row{border-bottom:1px solid var(--account-line)}.account-username-row summary{padding-block:18px}.account-username-row summary small{margin:0 0 5px;font-size:11px}.account-username-row summary strong{font-size:15px}.account-collection{margin-top:28px}.account-collection>h3{letter-spacing:0;margin-bottom:16px;font-size:13px;font-weight:600}.account-collection-links{grid-template-columns:1fr;gap:14px;display:grid}.account-admin-access{margin-top:16px}.account-collection-links>a{border:1px solid var(--ui-border,#3c5142);background:var(--ui-surface,#203428);border-radius:10px;grid-template-columns:40px 1fr 18px;align-items:start;gap:12px;padding:20px 16px;transition:border-color .15s,background .15s;display:grid}.account-collection-links>a:hover{border-color:var(--ui-border-strong,#8cb99a);background:var(--ui-hover,#284331)}.account-collection-links .account-icon-tile{background:var(--ui-soft,#2b4935);border-color:var(--ui-border,#4d6a54);border-radius:10px;width:38px;height:38px}.account-collection-links h3{letter-spacing:-.02em;margin:1px 0 8px;font-size:15px}.account-collection-links p{color:var(--ui-muted,#afc0b1);margin-bottom:15px;font-size:11px;line-height:1.5}.account-collection-links div>span{color:var(--ui-text,#c8ddca);font-size:10px}.account-collection-links>a>.account-icon{width:17px;height:17px;color:var(--ui-accent-text,#a7cdb0);margin-top:2px}.account-page .account-security-shortcut{border:0;border-top:1px solid var(--account-line);text-align:left;background:0 0;border-radius:0;justify-content:flex-start;gap:13px;width:100%;min-width:0;margin-top:24px;padding:17px 0 0}.account-security-shortcut>.account-icon:first-child{color:var(--ui-muted,#a8c7b1)}.account-security-shortcut>.account-icon:last-child{width:17px;height:17px;margin-left:auto}.account-security-shortcut strong,.account-security-shortcut small{display:block}.account-security-shortcut strong{margin-bottom:4px;font-size:12px;font-weight:600}.account-security-shortcut small{color:var(--ui-muted,#a2b5a7);font-size:11px;font-weight:400}.account-device-summary{border:1px solid var(--ui-border,#3d5946);background:var(--ui-surface,#20382a);border-radius:10px;align-items:center;gap:15px;margin-bottom:20px;padding:20px;display:flex}.account-device-summary h3,.account-signout-row h3{letter-spacing:0;margin:0 0 5px;font-size:14px}.account-device-summary p,.account-signout-row p{margin:0;font-size:12px}.account-device-summary>.account-status{margin-left:auto}.account-session-load{margin-bottom:8px}.account-session{border-bottom:1px solid var(--account-line);justify-content:space-between;align-items:center;gap:16px;padding:18px 0;font-size:13px;display:flex}.account-session small{color:var(--account-muted);margin-top:4px;font-size:11px;display:block}.account-signout-row{border-top:1px solid var(--account-line);justify-content:space-between;align-items:center;gap:20px;margin-top:25px;padding-top:24px;display:flex}.account-signout-row button{white-space:nowrap}.account-transfer-body{border-top:1px solid var(--account-line);padding-top:24px}.account-transfer-body h3{margin-bottom:10px;font-size:17px}.account-transfer-body>p{font-size:14px}.account-file-input{border:1px dashed var(--ui-border,#52735b);background:var(--ui-field,#10221a);border-radius:10px;margin:24px 0 12px;padding:20px}.account-file-input input[type=file]{background:0 0;border:0;padding:8px 0;font-size:12px}.account-file-input input::file-selector-button{background:var(--ui-field,#2f4a36);color:var(--ui-text,#e0f0e3);border:1px solid var(--ui-border,#5d7d62);cursor:pointer;border-radius:6px;margin-right:12px;padding:8px 12px}.account-transfer-body>small{color:var(--account-muted);font-size:12px}.migration-preview{border-left:3px solid var(--ui-border-strong,#a9d9b7);margin-top:22px;padding-left:18px}.account-transfer-page{max-width:680px;padding-block:64px}.account-transfer-page>.account-icon-tile{margin-bottom:24px}.account-transfer-page h1{font-size:40px}.account-transfer-page>p{font-size:14px}.recovery-card{border-color:var(--ui-border-strong,#92c8a0);max-width:720px;margin:0 auto 28px}.recovery-card>p{font-size:14px}.recovery-code{border:1px dashed var(--ui-border-strong,#65886d);background:var(--ui-surface,#102019);word-break:break-all;-webkit-user-select:all;user-select:all;border-radius:8px;margin:16px 0;padding:16px;font-size:15px;display:block}.backup-codes{background:var(--ui-surface,#102019);overflow-wrap:anywhere;white-space:pre-wrap;padding:16px;line-height:1.8}.account-link{border:1px solid var(--ui-border,#476150);background:var(--ui-surface,#1d3024);white-space:nowrap;border-radius:7px;align-self:center;margin-left:16px;padding:8px 14px;font-size:12px;font-weight:600}.account-link:hover{background:var(--ui-hover,#2b4332);border-color:var(--ui-border-strong,#89b594)}@media (width<=1050px){.account-workspace{grid-template-columns:175px minmax(0,1fr);gap:22px}.account-intro,.account-signin-card{padding-inline:28px}.account-collection-links{grid-template-columns:1fr}.account-collection-links p{margin-bottom:6px}.account-collection-links>a{padding:16px}}@media (width<=760px){.account-page{width:calc(100% - 36px);padding-block:24px 40px}.account-auth-layout{grid-template-columns:1fr}.account-intro{padding:24px 28px}.account-intro h1{margin-bottom:0;font-size:31px}.account-intro .account-kicker{margin-bottom:15px;font-size:8px}.account-intro-copy{display:none}.account-hero-art{opacity:.32;z-index:-1;width:210px;height:210px;position:absolute;top:-22px;right:-73px}.account-art-label,.account-desktop-break,.account-allowance{display:none}.account-signin-card{padding:28px}.account-tabs{margin-bottom:25px}.account-workspace{grid-template-columns:1fr;gap:20px}.account-profile-header{flex-wrap:wrap;gap:20px;margin-bottom:12px;padding:23px}.account-profile-identity{gap:17px}.account-avatar{border-radius:17px;flex-basis:58px;width:58px;height:58px;font-size:23px}.account-profile-header h1{font-size:25px}.account-profile-header .account-kicker{margin-bottom:7px;font-size:8px}.account-profile-header p:last-child{font-size:11px}.account-profile-header>.button{width:100%}.account-sidebar{min-width:0;padding:0}.account-sidebar>.account-kicker,.account-back-link{display:none}.account-settings-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;display:grid}.account-settings-nav button{flex-direction:column;justify-content:center;gap:6px;min-width:0;padding:10px 2px;font-size:10px}.account-nav-indicator{display:none}.account-settings .account-card{padding:22px}.account-panel-heading{align-items:flex-start;gap:12px;padding-bottom:23px}.account-panel-heading h2{font-size:21px}.account-panel-heading p{font-size:12px}.account-card summary{gap:12px;padding-block:18px}.account-card summary small,.account-row-action{font-size:11px}.account-row-action>span{padding-left:3px}.account-card summary .account-status{padding:4px 6px;font-size:9px}.account-device-summary{flex-wrap:wrap;gap:10px;padding:14px}.account-device-summary .account-icon-tile{display:none}.account-signout-row{flex-direction:column;align-items:flex-start}.account-link{margin-left:0}}@media (prefers-reduced-motion:reduce){.account-collection-links>a{transition:none}}.setup-progress{color:var(--ui-muted,#94aaa0);flex-wrap:wrap;align-items:center;gap:10px 22px;margin:16px 0 24px;padding:0;font-size:13px;list-style:none;display:flex}.setup-progress li{align-items:center;gap:8px;display:flex}.setup-progress li>span{border:1px solid var(--ui-border,#40594b);border-radius:50%;place-items:center;width:25px;height:25px;font-size:11px;display:grid}.setup-progress [aria-current=step]{color:var(--ui-accent-text,#c2efd0);font-weight:700}.setup-progress [aria-current=step]>span{background:var(--ui-selected,#acd9ba);border-color:var(--ui-accent-border,#acd9ba);color:var(--ui-text,#13261a)}.arena-first-steps{border:1px solid var(--ui-border,#395648);background:radial-gradient(ellipse at 0 0, var(--ui-soft,#254d40), transparent 70%), var(--ui-surface,#15251d);border-radius:16px;grid-template-columns:minmax(250px,.85fr) minmax(0,1.65fr);margin-bottom:24px;display:grid;overflow:hidden}.arena-first-steps .first-battle-action{align-self:center;padding:28px}.arena-first-steps:not(:has(.starter-choices)){grid-template-columns:1fr}.first-battle-action h3{margin:0 0 14px;font-size:25px;line-height:1.2}.first-battle-action p{color:var(--ui-muted,#b7c6bd);margin:0 0 22px;font-size:14px;line-height:1.7}.first-battle-action .button{min-height:46px}.arena-team-panel .first-battle-action{margin-top:22px}.starter-choices{border-left:1px solid var(--ui-border,#395648);background:var(--ui-shade,#10201866);padding:28px}.starter-choices h2{margin:6px 0 10px;font-size:24px}.starter-choices>p:not(.eyebrow){color:var(--ui-accent-text,#b7c6bd);margin:0 0 20px;font-size:13px}.starter-choices .eyebrow{margin:0;font-size:10px}.starter-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.starter-card{text-align:left;border:1px solid var(--ui-border,#4c6e59);background:var(--ui-surface,#20372a);border-radius:12px;flex-direction:column;align-items:stretch;gap:0;min-width:0;padding:18px 14px 12px;display:flex}.starter-card:hover:not(:disabled),.starter-card:focus-visible{background:var(--ui-hover,#2d4938);border-color:var(--ui-accent-border,#acd9ba)}.starter-card>strong{font-size:16px}.starter-members{text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin:14px -4px;display:grid}.starter-members>span{min-width:0}.starter-members .arena-monster-sprite{width:72px;max-width:100%;height:72px}.starter-members .arena-monster-sprite img{width:72px;height:144px}.starter-members small{overflow-wrap:anywhere;font-size:10px;display:block}.starter-description{color:var(--ui-muted,#bacbbf);flex:1;font-size:12px;font-weight:400;line-height:1.6}.starter-callout{color:var(--ui-accent-text,#c2efd0);border-top:1px solid var(--ui-border,#456350);margin-top:14px;padding-top:12px;font-size:12px}.arena-columns.arena-without-team{grid-template-columns:1fr}.arena-without-team .arena-empty{padding:12px}.library-first-monster{background:var(--ui-surface,#1c3226);border:1px solid var(--ui-border,#395648);border-radius:12px;margin-bottom:20px;padding:20px}.library-first-monster h2{margin:0 0 8px}.library-first-monster p,.assembly-empty-monsters p{color:var(--ui-muted,#b7c6bd);line-height:1.6}.assembly-empty-monsters{padding:16px 0}@media (width<=1000px){.arena-first-steps{grid-template-columns:1fr}.starter-choices{border-left:0;border-top:1px solid var(--ui-border,#395648)}}@media (width<=580px){.starter-cards{grid-template-columns:1fr}.arena-first-steps .first-battle-action,.starter-choices{padding:20px}.starter-members{margin:10px 0}}.arena-team-icons{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0;display:grid}.arena-team-icons>div{text-align:center;background:var(--ui-soft,#30483c);border-radius:10px;padding:8px 2px}.arena-team-icons small{overflow-wrap:anywhere;font-size:11px;display:block}.arena-team-icons b{color:var(--ui-warning-text,#e8c86a)}.arena-monster-sprite{width:72px;height:72px;margin:auto;display:block;overflow:hidden}.arena-monster-sprite img{width:72px;max-width:none;height:144px;image-rendering:pixelated}.arena-team-budget{flex-wrap:wrap;align-items:baseline;gap:6px;font-size:12px;display:flex}.arena-team-budget strong{color:var(--ui-accent-text,#a8d9b7);font-size:20px}.arena-team-budget>span{color:var(--ui-muted,#b3c3b9);margin-left:auto}.arena-team-tactics{gap:5px;padding:16px 0 4px;font-size:13px;display:grid}.arena-team-tactics>span{color:var(--ui-muted,#b3c3b9);font-size:11px}.arena-team-preview .arena-ready{color:var(--ui-success-text,#a8d9b7);font-size:13px}.arena-team-warning{border-left:3px solid var(--ui-warning-border,#e8c86a);background:var(--ui-warning-surface,#302e20);margin-top:14px;padding:12px;font-size:13px}.arena-team-warning ul{padding-left:18px}.arena-team-preview{margin-bottom:20px}.arena-room[hidden],.account-live-battle[hidden]{display:none}.arena-team-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;margin-bottom:18px;display:flex}.arena-team-heading h2{margin:0}.arena-team-heading a{font-size:12px}.arena-format-check{border-top:1px solid var(--ui-border,#3c5647);border-bottom:1px solid var(--ui-border,#3c5647);margin:16px 0 20px;padding:14px 0}.arena-format-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px;font-size:13px;display:flex}.arena-format-heading>span{color:var(--ui-muted,#afc2b6)}.arena-format-heading>strong{color:var(--ui-text,#d3e9d9)}.arena-format-check .arena-ready,.arena-check-empty{color:var(--ui-success-text,#a8d9b7);margin-top:10px;font-size:13px}.arena-format-check .arena-team-warning{color:var(--ui-warning-text,#eee2b6);border-radius:0 6px 6px 0;margin-top:12px}.arena-format-check ul{margin-bottom:0;line-height:1.6}.arena-team-panel .first-battle-action{margin:0 0 18px}.arena-team-panel .setup-progress{margin:0 0 16px}.simulator-nav{flex-wrap:wrap}.simulator-battle-tab{align-items:stretch;min-width:0;max-width:100%;display:inline-flex}.simulator-battle-tab>a{overflow-wrap:anywhere;border-bottom:2px solid #0000;flex-wrap:wrap;align-items:center;gap:8px;min-height:52px;padding:12px 10px;font-size:15px;display:inline-flex}.simulator-battle-tab>a[aria-current=page]{border-bottom-color:var(--ui-accent-border,#a8d9b7);color:var(--ui-text,#c4ead0);background:var(--ui-selected,#20372a)}.simulator-battle-tab small{color:var(--ui-muted,#9eafa5);font-size:10px}.simulator-battle-tab .battle-tab-close{background:0 0;border:0;align-self:center;min-width:36px;min-height:44px;padding:6px}.simulator-page.page-width{width:min(1280px,100% - 80px);margin:0 auto 48px;padding-top:18px}.simulator-page>.codex-nav{margin:0}.simulator-page>.codex-nav>a{min-height:52px;font-size:18px}.simulator-page .team-library,.simulator-page .visual-library{margin-top:0}.codex-sections>a{font-size:19px}.codex-page>.codex-sections{margin-top:0}.header-account{align-items:center;gap:16px;display:flex}.arena-activity{color:var(--ui-accent-text,#bde7cb);align-items:center;gap:8px;font-size:13px;display:inline-flex}.presence-dot{background:var(--ui-success-text,#8bdcaf);border-radius:50%;flex:0 0 8px;width:8px;height:8px;display:inline-block}.presence-dot.is-busy{background:var(--ui-warning-text,#dcb770)}.arena-welcome{border:1px solid var(--ui-border,#344c40);background:radial-gradient(ellipse at 88% 12%, var(--ui-soft,#264f46) 0, transparent 62%), var(--ui-surface,#18281f);border-top:0;border-radius:0 0 14px 14px;padding:54px 42px}.arena-welcome h1{letter-spacing:-1px;margin:12px 0;font-size:clamp(28px,4vw,42px)}.arena-welcome p{color:var(--ui-muted,#b7c6bd);margin:0 0 26px}.arena-welcome .text-link{margin-left:22px}.arena-room{padding:26px 0}.arena-room-heading,.arena-section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.arena-room-heading{margin-bottom:24px}.arena-room-heading .eyebrow{margin:0 0 8px}.arena-room h1{letter-spacing:-.7px;margin:0;font-size:clamp(26px,3vw,36px)}.arena-room h2{margin:0 0 18px;font-size:19px}.arena-format{border:1px solid var(--ui-border,#3f5c4c);color:var(--ui-text,#b7d7c2);background:var(--ui-surface,#1b2e25);white-space:nowrap;border-radius:20px;padding:8px 16px;font-size:13px}.arena-columns{grid-template-columns:minmax(270px,.8fr) minmax(0,1.4fr);align-items:start;gap:20px;display:grid}.arena-opponents{gap:20px;min-width:0;display:grid}.arena-bots{border:1px solid var(--ui-border,#344c40);background:var(--ui-surface,#17271f);border-radius:12px;padding:24px}.arena-bot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.arena-bot-card{background:var(--ui-soft,#203a2d);border:1px solid var(--ui-border,#344c40);border-radius:10px;flex-direction:column;gap:10px;min-width:0;padding:16px;display:flex}.arena-bot-card h3{margin:0;font-size:17px}.arena-bot-card p{color:var(--ui-muted,#aebfb4);margin:0;font-size:13px;line-height:1.5}.arena-bot-card button{align-self:start;margin-top:auto}.arena-bot-monsters{flex-wrap:wrap;gap:8px;display:flex}.arena-bot-monsters>span{justify-items:center;gap:3px;display:grid}.arena-bot-monsters .arena-monster-sprite{width:48px;height:48px}.arena-bot-monsters .arena-monster-sprite img{width:48px;height:96px}.arena-bot-monsters small{font-size:10px}@media (width<=540px){.arena-bots{padding:16px}.arena-bot-grid{grid-template-columns:1fr}}.arena-team-panel,.arena-player-panel{border:1px solid var(--ui-border,#344c40);background:var(--ui-surface,#17271f);border-radius:12px;min-width:0;padding:26px}.arena-team-panel{background:radial-gradient(ellipse at 10% 0, var(--ui-soft,#29473b), transparent 65%), var(--ui-surface,#17271f)}.arena-panel-icon{background:var(--ui-soft,#344f40);width:44px;height:44px;color:var(--ui-text,#b8dfc5);border-radius:12px;place-items:center;margin-bottom:20px;font-size:26px;display:grid}.arena-team-panel label{color:var(--ui-muted,#b7c6bd);margin-bottom:8px;font-size:13px;display:block}.arena-team-panel select{width:100%}.arena-team-panel p{color:var(--ui-muted,#aebfb4);font-size:14px}.arena-team-panel>.button{margin-top:12px}.arena-section-heading{border-bottom:1px solid var(--ui-border,#344c40);margin-bottom:12px;padding-bottom:12px}.arena-section-heading h2{margin:0}.arena-section-heading>span{background:var(--ui-surface,#2a4034);color:var(--ui-accent-text,#bde7cb);border-radius:12px;padding:3px 10px;font-size:12px}.arena-players{margin:0;padding:0;list-style:none}.arena-players li{border-bottom:1px solid var(--ui-border,#2c4034);justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.arena-players li:last-child{border:0}.arena-players li>div{overflow-wrap:anywhere;grid-template-columns:8px 1fr;align-items:center;gap:6px 10px;display:grid}.arena-players small{color:var(--ui-muted,#a8bbb0);grid-column:2;font-size:12px}.arena-players button{padding:9px 16px}.arena-empty{text-align:center;color:var(--ui-muted,#b7c6bd);padding:22px 10px}.arena-empty>span{color:var(--ui-accent-text,#80ad95);font-size:38px}.arena-empty h3{color:var(--ui-text,#dce7df);font-size:17px}.arena-empty p{font-size:14px}.arena-invitations,.arena-recent{margin-top:28px}.arena-invite{background:var(--ui-surface,#192c22);border:1px solid var(--ui-border,#354f3e);border-radius:10px;justify-content:space-between;align-items:center;gap:18px;margin-top:10px;padding:20px 22px;display:flex}.arena-invite.is-highlighted{border-color:var(--ui-border-strong,#addbbb)}.arena-invite h3{margin:5px 0;font-size:18px}.arena-invite p{color:var(--ui-muted,#acbfb2);margin:0;font-size:13px}.arena-invite small{letter-spacing:1.4px;color:var(--ui-muted,#98b4a2);font-size:10px}.arena-invite-actions{flex-wrap:wrap;gap:8px;display:flex}.arena-muted{color:var(--ui-muted,#9caf9f);font-size:14px}.arena-error{border:1px solid var(--ui-danger-border,#bd9763);background:var(--ui-danger-surface,#312c20);border-radius:8px;margin-bottom:18px;padding:16px}.arena-resume{margin-bottom:20px}.arena-recent>div{border-top:1px solid var(--ui-border,#344c40);align-items:center;gap:16px;padding:12px 0;display:flex}.arena-recent strong{margin-right:auto}.arena-recent a{color:var(--ui-text,#b4d6c1);font-size:13px}.account-live-battle{padding-top:16px}@media (width<=760px){.simulator-page.page-width{width:calc(100% - 36px);padding-top:12px}.arena-columns{grid-template-columns:1fr}.arena-room-heading,.arena-invite{flex-direction:column;align-items:flex-start}.header-account{flex-direction:column-reverse;align-items:flex-end;gap:5px}.arena-activity{font-size:11px}.arena-welcome{padding:32px 22px}.arena-welcome .text-link{margin:18px 0 0;display:block}}.arena-monster-sprite{--pixel-icon-size:72px}.arena-bot-monsters .arena-monster-sprite{--pixel-icon-size:36px;width:36px;height:36px}:root select:not([multiple]):not([size]){color-scheme:var(--ui-scheme,dark);appearance:none;border:1px solid var(--ui-border,#567561);min-width:0;max-width:100%;min-height:44px;color:var(--ui-text,#e7f0e9);background-color:var(--ui-field,#172b21);background-image:linear-gradient(45deg, transparent 50%, var(--ui-muted,#b7d6c1) 50%), linear-gradient(135deg, var(--ui-muted,#b7d6c1) 50%, transparent 50%);cursor:pointer;background-position:right 19px center,right 14px center;background-repeat:no-repeat;background-size:5px 5px;border-radius:9px;padding:10px 38px 10px 12px;font-family:inherit;font-size:.9rem;line-height:1.4}:root select:not([multiple]):not([size]):hover:not(:disabled){border-color:var(--ui-border-strong,#a8d9b5);background-color:var(--ui-hover,#20392c)}:root select:not([multiple]):not([size]):focus-visible{outline:2px solid var(--ui-accent-border,#a8d9b5);outline-offset:2px}:root select:not([multiple]):not([size]):disabled{opacity:.55;cursor:not-allowed}:root select option,:root select optgroup{color:var(--ui-text,#e7f0e9);background:var(--ui-field,#172b21)}@supports (appearance:base-select){:root select:not([multiple]):not([size]){appearance:base-select}:root select:not([multiple]):not([size])::picker(select){appearance:base-select}:root select:not([multiple]):not([size]){background-image:none;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}:root select:not([multiple]):not([size])::picker-icon{content:"";border-right:2px solid var(--ui-border-strong,#b7d6c1);border-bottom:2px solid var(--ui-border-strong,#b7d6c1);flex:0 0 8px;width:8px;height:8px;margin:-4px 2px 0 12px;rotate:45deg}:root select:not([multiple]):not([size]):open{border-color:var(--ui-border-strong,#b9e3c5);background-color:var(--ui-hover,#223d2e)}:root select:not([multiple]):not([size]):open::picker-icon{margin-top:4px;rotate:225deg}:root select:not([multiple]):not([size])::picker(select){color-scheme:var(--ui-scheme,dark);color:var(--ui-text,#e7f0e9);background:var(--ui-field,#15271e);border:1px solid var(--ui-border-strong,#638a70);overscroll-behavior:contain;max-width:calc(100vw - 24px);max-height:min(24rem,100dvh - 24px);box-shadow:0 12px 32px var(--ui-shadow,#0007);scrollbar-color:var(--ui-border-strong,#577c63) var(--ui-soft,#15271e);font:inherit;border-radius:12px;margin-block:5px;padding:6px;overflow-y:auto}:root select:not([multiple]):not([size]) option{white-space:normal;overflow-wrap:anywhere;min-height:42px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:14px;padding:10px 12px;display:flex}:root select:not([multiple]):not([size]) option:checked{background:var(--ui-selected,#2a4837);color:var(--ui-text,#d8f4e1);font-weight:650}:root select:not([multiple]):not([size]) option:is(:hover,:focus-visible){background:var(--ui-hover,#3b5d49);color:var(--ui-text,#fff);outline:0}:root select:not([multiple]):not([size]) option:disabled{color:var(--ui-muted,#91a699);cursor:not-allowed}:root select:not([multiple]):not([size]) option::checkmark{color:var(--ui-accent-text,#b3e2c1);order:1;margin-left:auto}:root select:not([multiple]):not([size]) optgroup{padding:6px}}@media (forced-colors:active){:root select:not([multiple]):not([size]){appearance:auto;color:fieldtext;background-color:field;background-image:none;border-color:buttontext}:root select:not([multiple]):not([size])::picker(select){appearance:auto}}:root:not([data-theme]),:root[data-theme=parchment-cyan],:root[data-theme=silver-cyan]{--ui-scheme:light;--ui-background:#f5f2eb;--ui-surface:#fffdf8;--ui-soft:#ece8de;--ui-field:#fffefb;--ui-text:#252e33;--ui-muted:#62665f;--ui-border:#cec9bd;--ui-border-strong:#858b85;--ui-primary:#00afe3;--ui-primary-hover:#20c2ee;--ui-on-primary:#003746;--ui-accent-text:#006b89;--ui-accent-border:#007c9e;--ui-selected:#def2f5;--ui-hover:#e9f4f3;--ui-track:#d9d9cd;--ui-stat-fill:#237c89;--ui-tree-edge:#8b9e94;--ui-success-text:#236847;--ui-warning-text:#80520f;--ui-warning-border:#a77b31;--ui-warning-surface:#fff1d3;--ui-danger-text:#a03632;--ui-danger-border:#b95448;--ui-danger-surface:#ffebe5;--ui-info-text:#236482;--ui-info-border:#558ba4;--ui-info-surface:#e5f2fb;--ui-ability-text:#6b4892;--ui-ability-border:#9472b4;--ui-ability-surface:#eee7f8;--ui-tone-green:#267346;--ui-tone-lime:#60751d;--ui-tone-yellow:#85651c;--ui-tone-orange:#a2541e;--ui-tone-red:#ad4138;--ui-tone-blue:#25718a;--ui-overlay:#12222880;--ui-shade:#2532380c;--ui-soft-overlay:#25323808;--ui-shadow:#17272d20;--ui-accent-glow:#00afe31a;--ui-danger-glow:#b9544826;--ui-info-glow:#558ba426;--background:var(--ui-background);--surface:var(--ui-surface);--border:var(--ui-border);--text:var(--ui-text);--muted:var(--ui-muted);--jade:var(--ui-accent-text);--amber:var(--ui-warning-text)}:root[data-theme=silver-cyan]{--ui-background:#f2f5f7;--ui-surface:#fff;--ui-soft:#e9eff3;--ui-field:#fff;--ui-text:#182b36;--ui-muted:#516570;--ui-border:#c7d3db;--ui-border-strong:#8196a3;--ui-selected:#e1f5fc;--ui-hover:#edf7fb;--ui-track:#dce5eb;--ui-tree-edge:#899faa}:root[data-theme=silver-cyan] .site-header{background:var(--ui-surface)}:root[data-theme=parchment-cyan] .site-header,:root:not([data-theme]) .site-header{--ui-background:#17272d;--ui-surface:#20343c;--ui-field:#20343c;--ui-soft:#2c454e;--ui-hover:#29424c;--ui-selected:#244552;--ui-text:#f4f7f8;--ui-muted:#b9c9cf;--ui-accent-text:#72dff7;--ui-border:#455e67;--ui-border-strong:#78939d;--ui-success-text:#abe0c5;--ui-warning-text:#f1cf89;--ui-danger-text:#ffb8ae;color:var(--ui-text)}.site-footer{align-items:center}.theme-switcher{color:var(--ui-muted,#a4b1a8);align-items:center;gap:10px;margin:0;font-size:12px;display:flex}:root .theme-switcher select{width:210px;min-height:44px;margin:0;font-size:12px}:root:is([data-theme=parchment-cyan],[data-theme=silver-cyan]) .connected-node.excluded{opacity:1}@media (width<=480px){.theme-switcher{justify-content:space-between;width:100%}:root .theme-switcher select{width:min(210px,75%)}}.account-rune-mark{color:var(--ui-accent-text,#a8d7b8)}.monster-profile .back-link{margin:16px 0 22px}.profile-monster-pager{border:1px solid var(--ui-border,#34483e);background:var(--ui-surface,#18241f);border-radius:9px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);margin:22px 0 28px;display:grid;overflow:hidden}.profile-monster-pager>a{color:var(--ui-text,#e7f0e9);align-items:center;gap:12px;min-width:0;padding:12px 16px;text-decoration:none;display:flex}.profile-monster-pager>a:hover{background:var(--ui-hover,#23382e)}.profile-monster-pager>a:focus-visible{outline-offset:-3px}.profile-monster-pager small{color:var(--ui-muted,#a8b9ae);font-size:12px;display:block}.profile-monster-pager strong{overflow-wrap:anywhere}.profile-monster-pager .profile-pager-index{border-inline:1px solid var(--ui-border,#34483e);color:var(--ui-accent-text,#b3dfca);font-size:13px}.profile-pager-next{text-align:right;flex-direction:row-reverse}.profile-monster-icon{--pixel-icon-size:72px;vertical-align:middle;flex:0 0 72px;width:72px;height:72px;display:inline-block;overflow:hidden}.profile-monster-icon>img{width:72px;max-width:none;height:144px;display:block}.profile-icon-fallback{object-fit:contain;width:54px;height:54px}.profile-icon-missing{width:54px;height:54px;color:var(--ui-muted,#a8b9ae);place-items:center;display:grid}.profile-article-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:32px;display:grid}.profile-article-copy{grid-area:1/1;min-width:0}.profile-infobox{background:var(--ui-surface,#18241f);border:1px solid var(--ui-border,#34483e);border-top:3px solid var(--ui-accent-text,#a8d7b8);border-radius:10px;grid-area:1/2;min-width:0;overflow:hidden}.profile-infobox-heading{justify-content:space-between;align-items:center;gap:12px;padding:18px 20px 0;display:flex}.profile-infobox-heading strong{font-size:23px}.profile-infobox-heading>span{color:var(--ui-muted,#a8b9ae);font-size:12px}.profile-infobox .profile-art-stage{width:auto;margin:0;position:static}.profile-infobox .profile-illustration{max-height:280px}.profile-infobox-types{justify-content:center;padding:0 16px 8px}.profile-infobox .profile-art-empty{aspect-ratio:auto;min-height:180px;margin:18px}.profile-infobox .profile-stats{border-top:1px solid var(--ui-border,#34483e);padding:20px}.profile-infobox .section-heading{gap:8px;margin-bottom:15px}.profile-infobox .section-heading h2{margin:0;font-size:16px}.profile-infobox .section-heading>span{color:var(--ui-muted,#a8b9ae);font-size:12px}.profile-infobox .profile-stat-list>div{grid-template-columns:32px 28px minmax(0,1fr);gap:10px;margin-bottom:11px;font-size:13px}.profile-infobox .stat-track{height:7px}.profile-infobox .profile-slot-cost{gap:6px 10px;margin-top:18px;padding:12px}.profile-infobox .profile-slot-cost h3{font-size:15px}.profile-infobox .profile-slot-cost strong{font-size:30px}.profile-infobox .cost-pips{margin:4px 0}.profile-gender-row{color:var(--ui-muted,#a8b9ae);flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding:0 12px 16px;font-size:13px;display:flex}.profile-gender-option{align-items:center;gap:6px;display:inline-flex}.profile-gender-row button,.profile-gender-value{font:inherit;padding:6px 9px;line-height:1.3;display:inline-block}.profile-gender-row button{border:1px solid var(--ui-border,#34483e);color:var(--ui-text,#e7f0e9);background:0 0;border-radius:6px}.profile-gender-row button:hover{background:var(--ui-hover,#23382e)}.profile-gender-row button[aria-pressed=true]{background:var(--ui-selected,#294c3b);border-color:var(--ui-accent-border,#8dcbaa);color:var(--ui-accent-text,#a8d7b8)}.profile-stat-scale{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;margin-top:12px;display:flex}.profile-stat-scale .battle-inspect{border:1px solid var(--ui-border,#34483e);background:0 0;border-radius:4px;margin:0;padding:5px}.profile-stat-scale .battle-inspect:hover{background:var(--ui-hover,#23382e)}.profile-stat-key{align-items:flex-end;gap:2px;height:12px;display:flex}.profile-stat-key>span{background:currentColor;border-radius:1px;width:3px;height:100%}.profile-stat-legend>strong{margin-bottom:10px;display:block}.profile-stat-legend ul{margin:0;padding:0;list-style:none}.profile-stat-legend li{grid-template-columns:8px 62px 1fr;align-items:center;gap:8px;margin:7px 0;display:grid}.profile-stat-swatch{background:currentColor;border-radius:50%;width:8px;height:8px}.profile-field-facts{border-top:1px solid var(--ui-border,#34483e);grid-column:1/-1;margin:0 20px 20px;padding-top:16px}.profile-field-facts h3{margin:0 0 12px;font-size:15px}.profile-field-facts dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin:0;font-size:13px;display:grid}.profile-field-facts dt{color:var(--ui-muted,#a8b9ae);margin-bottom:3px;font-size:12px}.profile-field-facts dd{overflow-wrap:anywhere;margin:0}.profile-field-facts .profile-fact-wide{grid-column:1/-1}.profile-evolution-parent{margin:0 0 4px}.profile-encounters,.profile-field-moves{margin:0;padding:0;list-style:none}.profile-encounters li{justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;display:flex}.profile-encounters li+li{border-top:1px solid var(--ui-border,#34483e)}.profile-encounters small{color:var(--ui-muted,#a8b9ae);display:block}.profile-encounter-rate{text-align:right;font-variant-numeric:tabular-nums;flex:none;max-width:45%}.profile-field-moves{flex-wrap:wrap;gap:5px 12px;display:flex}.profile-prismatic-link{border-top:1px solid var(--ui-border,#34483e);grid-column:1/-1;align-items:center;gap:8px;padding:13px 20px;font-size:13px;text-decoration:none;display:flex}.profile-prismatic-link>:last-child{margin-left:auto}.profile-prismatic-link:hover{background:var(--ui-hover,#23382e)}#monster-card,#prismatic,#forms{scroll-margin-top:24px}.profile-gameplay-forms{flex-wrap:wrap;gap:10px;margin-bottom:16px;display:flex}.profile-gameplay-forms>a,.profile-standard-form{border:1px solid var(--ui-border,#34483e);background:var(--ui-surface,#18241f);color:var(--ui-text,#e7f0e9);border-radius:8px;align-items:center;gap:12px;padding:10px 14px;text-decoration:none;display:flex}.profile-gameplay-forms>a:hover{background:var(--ui-hover,#23382e)}.profile-gameplay-forms>a[aria-current=page]{border-color:var(--ui-accent-border,#8dcbaa);background:var(--ui-selected,#294c3b)}.profile-gameplay-forms .type-list{margin:5px 0 0}.profile-standard-form{width:fit-content;max-width:100%}.profile-standard-form small{color:var(--ui-muted,#a8b9ae);margin-top:4px;display:block}.profile-appearance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.profile-appearance-card{border:1px solid var(--ui-border,#34483e);background:var(--ui-surface,#18241f);min-width:0;color:var(--ui-text,#e7f0e9);font:inherit;border-radius:8px;flex-direction:row;align-items:center;gap:10px;padding:12px;font-size:14px;display:flex}.profile-appearance-card:hover{background:var(--ui-hover,#23382e)}.profile-appearance-card[aria-pressed=true]{border-color:var(--ui-accent-border,#8dcbaa);box-shadow:inset 0 0 0 1px var(--ui-accent-border,#8dcbaa);background:var(--ui-selected,#294c3b)}.profile-appearance-card img{image-rendering:pixelated}.profile-gallery-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px;display:grid}.profile-gallery-grid figure{border:1px solid var(--ui-border,#34483e);background:var(--ui-surface,#18241f);border-radius:10px;min-width:0;margin:0;padding:20px}.profile-gallery-grid img,.profile-gallery-grid .profile-picture-empty{object-fit:contain;width:100%;height:260px;display:block}.profile-gallery-grid figcaption{border-top:1px solid var(--ui-border,#34483e);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px;margin-top:14px;padding-top:14px;font-size:14px;display:flex}.profile-gallery-grid figcaption>span{color:var(--ui-muted,#a8b9ae);font-size:12px}.profile-picture-empty,.profile-gallery-grid .profile-picture-empty{text-align:center;min-height:180px;color:var(--ui-muted,#a8b9ae);flex-direction:column;justify-content:center;align-items:center;gap:14px;font-size:13px;display:flex}.profile-gallery-unavailable .profile-picture-empty>span{color:var(--ui-accent-text,#a8d7b8);font-size:42px}.profile-introduction{font-size:16px;line-height:1.8}.profile-lead{margin-top:0}.profile-contents{border-left:3px solid var(--ui-accent-text,#a8d7b8);background:var(--ui-selected,#294c3b);margin:24px 0 30px;padding:14px 18px}.profile-contents>strong{font-size:13px}.profile-contents .profile-section-nav{gap:7px 18px;margin:8px 0 0}.profile-contents .profile-section-nav a{border:0;border-radius:0;padding:0;font-size:13px}.profile-article-copy .detail-section{border-top:0;margin-top:32px;padding-top:0}.profile-article-copy .detail-section>h2{border-bottom:1px solid var(--ui-border,#34483e);margin-bottom:20px;padding-bottom:12px;font-size:24px}.profile-article-copy .reference-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-article-copy .defense-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-article-copy .pool-search{max-width:240px}.profile-article-copy .reference-table{font-size:13px}.profile-article-copy .reference-table th,.profile-article-copy .reference-table td{padding:10px 8px}.profile-evolution-scroll{padding:4px 3px 14px;overflow-x:auto;container-type:inline-size}.profile-evolution-tree,.profile-evolution-tree ul{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.profile-evolution-tree{width:max-content;min-width:100%}.profile-evolution-tree li{align-items:center;gap:16px;display:flex;position:relative}.profile-evolution-tree ul{padding-left:16px;position:relative}.profile-evolution-tree ul:before,.profile-evolution-tree ul>li:before{content:"";border-top:1px solid var(--ui-border,#466151);width:16px;position:absolute;top:50%;left:-16px}.profile-evolution-tree ul>li:after{content:"";border-left:1px solid var(--ui-border,#466151);position:absolute;top:-6px;bottom:-6px;left:-16px}.profile-evolution-tree ul>li:first-child:after{top:50%}.profile-evolution-tree ul>li:last-child:after{bottom:50%}.profile-evolution-card{width:max(170px, calc((100cqw - 2px - (var(--evolution-stages) - 1) * 32px) / var(--evolution-stages)));border:1px solid var(--ui-border,#34483e);background:var(--ui-surface,#18241f);text-align:left;border-radius:8px;flex:none;grid-template-columns:72px minmax(0,1fr);align-content:center;gap:3px 9px;padding:12px;display:grid;position:relative}.profile-evolution-card>.profile-monster-icon,.profile-evolution-card>.profile-icon-fallback,.profile-evolution-card>.profile-icon-missing{grid-area:1/1/4;align-self:center}.profile-evolution-card:hover,.profile-evolution-card:focus-within{border-color:var(--ui-accent-border,#8dcbaa);background:var(--ui-hover,#23382e)}.profile-evolution-card[data-selected=true]{border-color:var(--ui-accent-border,#8dcbaa);background:var(--ui-selected,#294c3b)}.profile-evolution-card>small{color:var(--ui-muted,#a8b9ae);grid-column:2;margin:0;font-size:11px;display:block}.profile-evolution-card h3{grid-column:2;margin:0;font-size:14px}.profile-evolution-link{color:var(--ui-text,#e7f0e9);text-decoration:none}.profile-evolution-link:after{content:"";border-radius:8px;position:absolute;inset:0}.profile-evolution-card .type-list{grid-column:2;justify-content:flex-start;gap:5px;margin-bottom:0}.profile-evolution-card .type-badge{gap:3px;font-size:11px}.profile-evolution-card .type-badge img{width:18px;height:18px}.profile-evolution-card .reference-link{z-index:1;position:relative}.profile-evolution-card p,.profile-evolution-card .evolution-requirements{overflow-wrap:anywhere;grid-column:1/-1;margin:5px 0 0;font-size:12px}@media (width<=1100px){.profile-article-layout{grid-template-columns:minmax(0,1fr) 290px;gap:24px}.profile-infobox .profile-stats{padding:16px}}@media (width<=950px){.profile-article-layout{flex-direction:column;display:flex}.profile-infobox{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;width:100%;display:grid}.profile-infobox-heading{grid-column:1/-1}.profile-infobox .profile-stats{border-top:0;border-left:1px solid var(--ui-border,#34483e)}.profile-article-copy{width:100%}}.learning-controls{flex-wrap:wrap;gap:8px;display:flex}.wiki-tree-section{margin-top:32px}.wiki-tree-intro{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.wiki-tree-intro p{flex:350px}.wiki-tree-section>.section-heading{align-items:center}.wiki-tree-section>.section-heading h2{margin:0}.learning-controls select,.learning-controls input{max-width:100%;font-size:13px}.learning-methods{margin:0;padding:0;list-style:none}.learning-methods li+li{margin-top:8px}.learning-category{color:var(--ui-muted,#a8b9ae);margin-top:3px;font-size:11px;font-weight:400;display:block}.learning-tree-label{color:var(--ui-accent);font-weight:600}.learning-table th,.learning-table td{vertical-align:top}.learning-table .learning-benefit{white-space:normal;min-width:145px;max-width:350px}.learning-table-abilities .learning-benefit{width:55%}@media (width<=600px){.profile-monster-pager{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.profile-monster-pager .profile-pager-index{border-inline:0;border-top:1px solid var(--ui-border,#34483e);grid-area:2/1/auto/-1;justify-content:center;padding:8px}.profile-monster-pager>a{flex-wrap:wrap;gap:6px;padding:10px;font-size:13px}.profile-monster-pager small{font-size:11px}.profile-pager-empty,.profile-infobox{display:block}.profile-infobox .profile-stats{border-left:0;border-top:1px solid var(--ui-border,#34483e);padding:20px}.profile-infobox .profile-illustration{max-height:260px}.profile-article-copy .defense-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-introduction{font-size:15px}}
