
.spec-simulator{color-scheme:dark;--bg:#0d1218;--panel:#151e28;--line:#2c3948;--muted:#a9b8c9;--gold:#edc57f;--mint:#8cddc3}:where(.spec-simulator) *{box-sizing:border-box}.spec-simulator{margin:0;background:var(--bg);color:#edf2f8;font:17px/1.7 system-ui,'Malgun Gothic',sans-serif}main.spec-simulator{max-width:1500px;margin:auto;padding:32px}:where(.spec-simulator) header{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:24px}:where(.spec-simulator) h1{font-size:32px;margin:6px 0 10px;letter-spacing:-1px}:where(.spec-simulator) h2{font-size:23px;margin:0 0 14px}:where(.spec-simulator) h3{margin:20px 0 10px;font-size:17px}:where(.spec-simulator) .eyebrow{color:var(--gold);font-size:14px;letter-spacing:2px}:where(.spec-simulator) .muted,:where(.spec-simulator) small{color:var(--muted)}:where(.spec-simulator) p{margin:8px 0 16px}:where(.spec-simulator) .topline,:where(.spec-simulator) .actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between}:where(.spec-simulator) button,:where(.spec-simulator) input,:where(.spec-simulator) select{font:inherit;color:inherit;border:1px solid #46576b;border-radius:7px;background:#101822;padding:9px 12px}:where(.spec-simulator) button{cursor:pointer}:where(.spec-simulator) button:hover{border-color:var(--gold)}:where(.spec-simulator) button:focus-visible,:where(.spec-simulator) input:focus-visible,:where(.spec-simulator) select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}:where(.spec-simulator) button.primary,:where(.spec-simulator) nav button[aria-selected=true]{color:#161b20;background:var(--gold);border-color:var(--gold);font-weight:700}:where(.spec-simulator) input[type=number]{width:100%;min-width:70px}:where(.spec-simulator) input[type=checkbox]{accent-color:var(--gold);width:18px;height:18px;vertical-align:middle}:where(.spec-simulator) label{display:block}:where(.spec-simulator) label>input,:where(.spec-simulator) label>select{margin-top:5px}:where(.spec-simulator) select{max-width:100%}:where(.spec-simulator) .layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px}:where(.spec-simulator) .card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px}:where(.spec-simulator) .notice{border-left:3px solid var(--gold);background:#29271f;padding:13px 17px;margin:16px 0}:where(.spec-simulator) .demo{background:#43232b;border-color:#ff9aad;color:#ffd5df}:where(.spec-simulator) .tag{display:inline-block;border:1px solid #53616e;border-radius:20px;font-size:14px;padding:2px 9px;margin-right:6px;color:var(--muted)}:where(.spec-simulator) .tag.good{color:var(--mint);border-color:#3c7567}:where(.spec-simulator) nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}:where(.spec-simulator) nav button{flex:1;white-space:nowrap;font-size:14px}:where(.spec-simulator) aside{align-self:start;position:sticky;top:20px}:where(.spec-simulator) .fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}:where(.spec-simulator) .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}:where(.spec-simulator) .stat{padding:15px;border:1px solid var(--line);border-radius:9px}:where(.spec-simulator) .stat.major{border-color:var(--gold)}:where(.spec-simulator) .stepper{display:grid;grid-template-columns:30px minmax(45px,1fr) 30px;gap:5px;margin-top:8px}:where(.spec-simulator) .stepper button{padding:5px}:where(.spec-simulator) .stat input{text-align:center;padding:5px}:where(.spec-simulator) .scroll{overflow-x:auto}:where(.spec-simulator) table{border-collapse:collapse;width:100%;font-size:14px}:where(.spec-simulator) th,:where(.spec-simulator) td{text-align:left;padding:10px 9px;border-bottom:1px solid var(--line);white-space:nowrap}:where(.spec-simulator) th{color:var(--muted);font-weight:500}:where(.spec-simulator) td:last-child{color:var(--mint)}:where(.spec-simulator) .list{display:grid;gap:10px;margin-top:15px}:where(.spec-simulator) .item{border:1px solid var(--line);border-radius:9px;padding:15px}:where(.spec-simulator) .item summary{cursor:pointer;white-space:normal}:where(.spec-simulator) .option{font-size:14px;word-break:break-word;white-space:normal;color:var(--muted)}:where(.spec-simulator) details{margin-top:12px}:where(.spec-simulator) summary{cursor:pointer;color:#d2dfef}:where(.spec-simulator) .skill-controls{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0}:where(.spec-simulator) .skill-controls label{font-size:14px}:where(.spec-simulator) #search{width:100%}:where(.spec-simulator) .search-row{display:grid;grid-template-columns:1fr auto;gap:10px}:where(.spec-simulator) #status{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#ebc47e;color:#141b24;border-radius:9px;z-index:10;max-width:90vw}:where(.spec-simulator) #status:empty{display:none}:where(.spec-simulator) .footer{display:flex;justify-content:space-between;margin-top:24px;gap:12px}:where(.spec-simulator) pre{white-space:pre-wrap;word-break:break-word;font-size:14px;max-height:300px;overflow:auto}:where(.spec-simulator) .big{font-size:24px;color:var(--gold)}:where(.spec-simulator) a{color:var(--mint)}:where(.spec-simulator) [hidden]{display:none!important}:where(.spec-simulator) .progress{height:3px;background:#293646;margin-top:20px}:where(.spec-simulator) .progress span{display:block;height:3px;background:var(--gold)}@media(max-width:1000px){:where(.spec-simulator) .layout{grid-template-columns:1fr}:where(.spec-simulator) aside{position:static}:where(.spec-simulator) .fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){main.spec-simulator{padding:16px}:where(.spec-simulator) .card{padding:17px}:where(.spec-simulator) h1{font-size:25px}:where(.spec-simulator) .stats,:where(.spec-simulator) .fields{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.spec-simulator) nav button{flex-basis:28%}:where(.spec-simulator) .search-row{grid-template-columns:1fr}:where(.spec-simulator) .actions{align-items:stretch}:where(.spec-simulator) th,:where(.spec-simulator) td{padding:8px}}

:where(.spec-simulator) .ability-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:24px}:where(.spec-simulator) .ability-tabs button{flex:1}:where(.spec-simulator) .ability-tabs button[aria-selected=true]{background:#183c55;border-color:#72b4d5;color:#e2f6ff}:where(.spec-simulator) .ability-explain{background:#172a35;border:1px solid #33566b;border-radius:8px;padding:16px;margin-bottom:20px}:where(.spec-simulator) .ability-explain p{font-size:14px;color:var(--muted);margin:5px 0 0}:where(.spec-simulator) .ability-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}:where(.spec-simulator) .ability-group{border:1px solid #4b4131;border-radius:8px;background:#201d19;padding:12px}:where(.spec-simulator) .ability-group h3{margin:0 0 8px;color:var(--gold);font-size:16px;letter-spacing:1px}:where(.spec-simulator) .ability-group table td,:where(.spec-simulator) .ability-group table th{white-space:normal;font-size:14px;padding:9px 5px}:where(.spec-simulator) .ability-group td:nth-child(2){color:var(--gold);font-variant-numeric:tabular-nums}:where(.spec-simulator) .ability-group td:nth-child(3){color:var(--mint);font-variant-numeric:tabular-nums}@media(max-width:700px){:where(.spec-simulator) .ability-groups{grid-template-columns:1fr}}
/* Settings and live values share the same four stat areas. */
:where(.spec-simulator) .layout{grid-template-columns:minmax(0,1fr) 380px}
:where(.spec-simulator) .settings-section{background:#111b25;border:1px solid #2b3d4e;border-radius:10px;padding:18px;margin-bottom:18px}
:where(.spec-simulator) .settings-section h3{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:0 0 16px;font-size:16px}
:where(.spec-simulator) .settings-section h3 small{font-size:14px;font-weight:400}
:where(.spec-simulator) .settings-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
:where(.spec-simulator) .settings-sections .settings-section{margin:0}
:where(.spec-simulator) .profile-controls{display:flex;align-items:flex-end;gap:24px;flex-wrap:wrap}
:where(.spec-simulator) .profile-controls label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:#bbcbdc}
:where(.spec-simulator) .profile-controls select{width:160px;height:44px;margin:0;color:#edf2f8}
:where(.spec-simulator) .settings-section input[type=number]{width:88px;min-width:0;max-width:100%;height:42px;margin:0;text-align:right;font-weight:600;font-variant-numeric:tabular-nums;color:#f0f5fc}
:where(.spec-simulator) .base-stat-inputs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 18px}
:where(.spec-simulator) .base-stat-inputs label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;color:#b8cde0}
:where(.spec-simulator) .metric-inputs{display:grid;gap:12px}
:where(.spec-simulator) .metric-inputs label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;line-height:1.45;color:#d5e2f0}
:where(.spec-simulator) .section-tag{font-size:14px;letter-spacing:1.5px;font-weight:500;color:#a8b8c9}
:where(.spec-simulator) .tone-melee{--area:#e8bc78}:where(.spec-simulator) .tone-ranged{--area:#86cbb2}:where(.spec-simulator) .tone-magic{--area:#aaa5ee}:where(.spec-simulator) .tone-other{--area:#87b9d9}
:where(.spec-simulator) .settings-section[class*=tone-]{border-top:2px solid var(--area)}
:where(.spec-simulator) .settings-section[class*=tone-] h3,:where(.spec-simulator) .live-group h3{color:var(--area)}
:where(.spec-simulator) .settings-save-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:20px 0 6px;margin-top:4px;border-top:1px solid var(--line)}
:where(.spec-simulator) .settings-save-bar p{margin:0;font-size:14px;flex:1;min-width:180px}
:where(.spec-simulator) .settings-save-bar>div{display:flex;gap:8px}
:where(.spec-simulator) aside.card{padding:20px;max-height:calc(100vh - 40px);overflow:auto;scrollbar-width:thin}
:where(.spec-simulator) aside.card>h2{font-size:21px;margin-bottom:14px}
:where(.spec-simulator) .live-profile{display:flex;align-items:center;justify-content:space-between;padding:0 0 14px;margin-bottom:10px;border-bottom:1px solid var(--line);font-size:14px}
:where(.spec-simulator) .live-profile span{color:var(--muted);font-variant-numeric:tabular-nums}
:where(.spec-simulator) .live-group{border:1px solid #2b3948;border-left:3px solid var(--area);border-radius:8px;padding:10px 12px;margin-bottom:12px;background:#101923}
:where(.spec-simulator) .live-group h3{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin:0 0 7px}
:where(.spec-simulator) .live-column-head,:where(.spec-simulator) .live-stat-row{display:grid;grid-template-columns:minmax(0,1fr) 64px 56px;gap:8px;align-items:center}
:where(.spec-simulator) .live-column-head{font-size:14px;color:#8e9fb1;padding:0 0 5px}
:where(.spec-simulator) .live-column-head span:nth-child(n+2){text-align:right}
:where(.spec-simulator) .live-stat-row{min-height:32px;border-top:1px solid #223140}
:where(.spec-simulator) .live-stat-label{font-size:14px;color:#c0d0e1;line-height:1.3}
:where(.spec-simulator) .live-stat-row strong{font-size:17px;font-weight:650;text-align:right;font-variant-numeric:tabular-nums;color:#f3f6fb}
:where(.spec-simulator) .live-delta{justify-self:end;min-width:40px;text-align:right;font:600 16px/1.7 system-ui;font-variant-numeric:tabular-nums}
:where(.spec-simulator) .live-delta.gain{color:#8cddc3}:where(.spec-simulator) .live-delta.loss{color:#edb092}:where(.spec-simulator) .live-delta.flat,:where(.spec-simulator) .live-delta.pending{color:#7e91a5}
:where(.spec-simulator) .partial-note{display:block;margin-top:7px;font-size:14px}
:where(.spec-simulator) .live-detail-button{width:100%;font-size:14px}
:where(.spec-simulator) .contribution-group th{color:var(--area);background:#192631;font-weight:650;padding-top:14px;border-bottom-color:#46576a}
:where(.spec-simulator) #measuredResult td:nth-child(n+2){text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:1100px){:where(.spec-simulator) .base-stat-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){:where(.spec-simulator) .layout{grid-template-columns:1fr}:where(.spec-simulator) aside.card{position:static;max-height:none;overflow:visible}:where(.spec-simulator) #live{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}:where(.spec-simulator) .live-profile,:where(.spec-simulator) .live-detail-button{grid-column:1/-1}:where(.spec-simulator) .live-group{margin-bottom:0}}
@media(max-width:620px){:where(.spec-simulator) .settings-sections,:where(.spec-simulator) #live{grid-template-columns:1fr}:where(.spec-simulator) .settings-section{padding:15px}:where(.spec-simulator) .base-stat-inputs{gap:12px 18px}:where(.spec-simulator) .profile-controls{gap:18px}:where(.spec-simulator) .settings-save-bar>div{width:100%}:where(.spec-simulator) .settings-save-bar button{flex:1}:where(.spec-simulator) .settings-section input[type=number]{width:80px}}

:where(.spec-simulator) .stat-change-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 16px}:where(.spec-simulator) .stat-change-heading h3{margin:0}:where(.spec-simulator) .change-count{flex-shrink:0;border:1px solid #3d5264;background:#1a2935;border-radius:20px;padding:4px 11px;font-size:14px;color:#c6d9e9}
:where(.spec-simulator) .stat-change-cards .settings-section{padding:16px}:where(.spec-simulator) .stat-change-cards h3{margin-bottom:14px}:where(.spec-simulator) .change-columns,:where(.spec-simulator) .change-metric{display:grid;grid-template-columns:minmax(0,1fr) 104px 54px;gap:8px;align-items:center}:where(.spec-simulator) .change-columns{font-size:14px;color:#8fA4b7;padding:0 0 8px;border-bottom:1px solid #2b3d4e}:where(.spec-simulator) .change-columns span:nth-child(2),:where(.spec-simulator) .change-columns span:nth-child(3){text-align:center}:where(.spec-simulator) .change-metric{min-height:58px;padding:10px 0;border-bottom:1px solid #223342;font-variant-numeric:tabular-nums}:where(.spec-simulator) .change-metric:last-child{border-bottom:0}:where(.spec-simulator) .change-label{font-size:14px;line-height:1.5;color:#d2dce8;overflow-wrap:anywhere}:where(.spec-simulator) .change-values{display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);align-items:center;gap:3px;text-align:center;white-space:nowrap}:where(.spec-simulator) .change-before{font-size:14px;color:#90a3b8}:where(.spec-simulator) .change-arrow{font-size:14px;color:#526779}:where(.spec-simulator) .change-values strong{font-size:17px;font-weight:750;color:#eaf1fa}:where(.spec-simulator) .has-change .change-values strong{color:var(--area)}:where(.spec-simulator) .change-badge{text-align:center;border-radius:6px;padding:4px 2px;font-size:14px;font-weight:700;white-space:nowrap}:where(.spec-simulator) .change-badge.gain{color:#9be7cb;background:#183a32;border:1px solid #315b4e}:where(.spec-simulator) .change-badge.loss{color:#ffb9be;background:#3c252e;border:1px solid #66404a}:where(.spec-simulator) .change-badge.flat,:where(.spec-simulator) .change-badge.pending{color:#61788e}:where(.spec-simulator) .has-change .change-label{color:#f0f5fc;font-weight:600}
@media(min-width:1001px) and (max-width:1160px){:where(.spec-simulator) .stat-change-cards{grid-template-columns:1fr}}
@media(max-width:620px){:where(.spec-simulator) .stat-change-heading{align-items:flex-start}:where(.spec-simulator) .stat-change-heading h3{font-size:16px}:where(.spec-simulator) .change-count{font-size:14px}:where(.spec-simulator) .change-metric{min-height:60px}:where(.spec-simulator) .change-label{font-size:14px}}

:where(.spec-simulator) .layout>section{min-width:0}:where(.spec-simulator) .stepper input{min-width:0}
@media(max-width:620px){:where(.spec-simulator) .actions>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}:where(.spec-simulator) .actions>div button{font-size:14px;margin:0;min-height:44px}:where(.spec-simulator) .stepper{grid-template-columns:30px minmax(0,1fr) 30px}:where(.spec-simulator) .stepper input{font-size:16px;min-height:40px}:where(.spec-simulator) .stat{padding:10px}:where(.spec-simulator) .settings-section input{font-size:16px}:where(.spec-simulator) .change-columns,:where(.spec-simulator) .change-metric{grid-template-columns:minmax(0,1fr) 104px 48px;gap:6px}}

:where(.spec-simulator) .skill-profile,:where(.spec-simulator) .buff-title,:where(.spec-simulator) .buff-controls,:where(.spec-simulator) .skill-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}:where(.spec-simulator) .skill-profile{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:14px}:where(.spec-simulator) .skill-profile span{font-size:14px;color:var(--mint)}:where(.spec-simulator) .skill-baseline{padding:12px 15px;background:#101923;border:1px solid var(--line);border-radius:8px}:where(.spec-simulator) .skill-summary{margin:22px 0}:where(.spec-simulator) .skill-summary h3{margin-top:0}:where(.spec-simulator) .skill-effect-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px}:where(.spec-simulator) .skill-effect{display:flex;flex-direction:column;padding:13px;background:#112b28;border:1px solid #31574e;border-radius:9px}:where(.spec-simulator) .skill-effect>span{font-size:14px;color:#bed5cf}:where(.spec-simulator) .skill-effect strong{font-size:23px;color:var(--mint);font-variant-numeric:tabular-nums}:where(.spec-simulator) .skill-effect small{font-size:14px}:where(.spec-simulator) .skill-toolbar{align-items:flex-end;margin:25px 0 14px}:where(.spec-simulator) .skill-toolbar>label:first-child{flex:1;min-width:150px}:where(.spec-simulator) .skill-toolbar input{width:100%}:where(.spec-simulator) .buff-list{display:grid;gap:12px}:where(.spec-simulator) .buff-card{border:1px solid var(--line);border-radius:10px;padding:17px;background:#101923}:where(.spec-simulator) .buff-card.is-learned{border-color:#647c68;box-shadow:inset 3px 0 var(--gold)}:where(.spec-simulator) .buff-title h3{margin:0;font-size:16px}:where(.spec-simulator) .buff-title .tag{margin:0}:where(.spec-simulator) .buff-controls{justify-content:flex-start;font-size:14px;margin:14px 0;gap:14px}:where(.spec-simulator) .buff-controls select{padding:5px 9px;margin:0}:where(.spec-simulator) .buff-controls .muted{font-size:14px}:where(.spec-simulator) .buff-options{display:flex;flex-wrap:wrap;gap:6px;font-size:14px;margin:10px 0}:where(.spec-simulator) .buff-options>span{background:#192b36;border-radius:5px;padding:4px 8px}:where(.spec-simulator) .buff-options b{color:var(--mint)}:where(.spec-simulator) .buff-state{font-size:14px;color:var(--gold)}:where(.spec-simulator) .skill-description{white-space:pre-line;font-size:14px;color:var(--muted);line-height:1.7}:where(.spec-simulator) .skill-live-label{font-size:14px;color:var(--gold);margin:0 0 12px}:where(.spec-simulator) .skill-review{border-left:2px solid var(--gold);padding-left:12px}:where(.spec-simulator) .buff-card details summary{font-size:14px}
@media(max-width:620px){:where(.spec-simulator) .skill-effect-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.spec-simulator) .skill-toolbar{gap:8px}:where(.spec-simulator) .buff-card{padding:14px}:where(.spec-simulator) .buff-title{align-items:flex-start}:where(.spec-simulator) .skill-toolbar input{font-size:16px}:where(.spec-simulator) .skill-effect strong{font-size:21px}}

:where(.spec-simulator) .setup-switcher{border:1px solid #43576a;background:#15232f;border-radius:12px;padding:16px 20px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}:where(.spec-simulator) .setup-switcher>div:first-child{display:flex;flex-direction:column}:where(.spec-simulator) .setup-switcher b{font-size:19px}:where(.spec-simulator) .setup-switcher small{width:100%;font-size:14px}:where(.spec-simulator) .setup-side-buttons{display:flex;gap:8px}:where(.spec-simulator) .setup-side-buttons button[aria-pressed=true]{background:var(--gold);color:#171c20;border-color:var(--gold);font-weight:700}:where(.spec-simulator) .compare-profile{display:flex;gap:18px;justify-content:space-between;align-items:center;padding:18px;border:1px solid var(--line);border-radius:10px;margin-bottom:20px}:where(.spec-simulator) .compare-profile b{font-size:15px}:where(.spec-simulator) .compare-attributes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:24px}:where(.spec-simulator) .compare-attributes>div{display:flex;flex-direction:column;gap:6px;padding:12px;background:#101923;border:1px solid var(--line);border-radius:8px}:where(.spec-simulator) .compare-attributes span{font-size:14px}:where(.spec-simulator) .compare-attributes strong{color:var(--mint)}:where(.spec-simulator) .gear-stage-summary{padding:16px;border:1px solid #3e5663;background:#10212b;border-radius:10px;margin:18px 0}:where(.spec-simulator) .gear-stage-summary h3{margin-top:0}:where(.spec-simulator) .gear-baseline-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}:where(.spec-simulator) .gear-baseline-actions button{font-size:14px}:where(.spec-simulator) .catalyst-settings label{font-size:14px;margin:12px 0}:where(.spec-simulator) .catalyst-number{width:90px!important;margin-left:12px}:where(.spec-simulator) .compare-attributes .live-delta{align-self:flex-end}:where(.spec-simulator) .setup-switcher:empty{display:none}
@media(max-width:620px){:where(.spec-simulator) .setup-switcher{padding:14px}:where(.spec-simulator) .setup-side-buttons{width:100%}:where(.spec-simulator) .setup-side-buttons button{flex:1;font-size:14px}:where(.spec-simulator) .compare-attributes{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.spec-simulator) .compare-profile{gap:8px;padding:12px}:where(.spec-simulator) .compare-profile b{font-size:14px}:where(.spec-simulator) .gear-stage-summary{padding:12px}:where(.spec-simulator) .gear-baseline-actions button{flex:1;min-width:120px}}

:where(.spec-simulator) .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:where(.spec-simulator) .skill-catalog-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:28px 0 12px}:where(.spec-simulator) .skill-catalog-header h3{margin:0;font-size:18px}:where(.spec-simulator) .skill-catalog-header h3 span{font-size:14px;color:var(--muted);margin-left:8px}:where(.spec-simulator) .skill-catalog-header>label{font-size:14px;color:#bdccdc;white-space:nowrap}:where(.spec-simulator) .skill-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 112px auto;align-items:center;margin:0 0 16px;gap:8px}:where(.spec-simulator) .skill-toolbar>label:first-child{min-width:0}:where(.spec-simulator) .skill-toolbar input,:where(.spec-simulator) .skill-toolbar select{margin:0;height:42px;font-size:14px;width:100%}:where(.spec-simulator) .skill-toolbar>button{height:42px;font-size:14px}:where(.spec-simulator) .skill-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}:where(.spec-simulator) .skill-icon-grid .buff-card{padding:15px;border-radius:12px;background:linear-gradient(145deg,#14202d,#101923);min-width:0;overflow:hidden;border-color:#314253;transition:border-color .15s,background .15s}:where(.spec-simulator) .skill-icon-grid .buff-card:hover{border-color:#688199}:where(.spec-simulator) .skill-icon-grid .buff-card.is-learned{border-color:#b4955b;box-shadow:inset 0 2px #dfbd7d;background:linear-gradient(145deg,#1d2933,#111e27)}:where(.spec-simulator) .skill-card-heading{display:flex;align-items:center;gap:11px;position:relative;min-height:60px}:where(.spec-simulator) .skill-portrait{width:56px;height:56px;flex:0 0 56px;object-fit:contain;border-radius:9px;border:1px solid #64717f;background:#080e16;box-shadow:0 3px 12px #0005}:where(.spec-simulator) .skill-portrait-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:23px;color:#a4b7cb;background:linear-gradient(135deg,#263d53,#132232);line-height:1.1}:where(.spec-simulator) .skill-portrait-fallback small{font-size:14px;letter-spacing:1px;margin-top:4px}:where(.spec-simulator) .skill-heading-copy{min-width:0;flex:1;padding-right:0}:where(.spec-simulator) .skill-heading-copy h3{font-size:15px;line-height:1.45;margin:4px 0 0;word-break:keep-all;overflow-wrap:anywhere;color:#f2f5fa}:where(.spec-simulator) .skill-meta{display:flex;gap:7px;align-items:center;font-size:14px;color:#93aac0}:where(.spec-simulator) .skill-meta span:first-child{color:#b4b4ed}:where(.spec-simulator) .skill-active .skill-meta span:first-child{color:#e7bf80}:where(.spec-simulator) .skill-selection-state{align-self:flex-start;flex-shrink:0;font-size:14px;color:#72869a;border:1px solid #344655;border-radius:20px;padding:1px 6px;white-space:nowrap}:where(.spec-simulator) .skill-selection-state.is-on{color:#9ce2c4;border-color:#3e6958;background:#17352d}:where(.spec-simulator) .skill-icon-grid .buff-controls{gap:7px;min-height:38px;margin:14px 0 13px;justify-content:flex-start;align-items:center}:where(.spec-simulator) .skill-toggle{display:flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #35495c;border-radius:7px;font-size:14px;white-space:nowrap;background:#162331;cursor:pointer}:where(.spec-simulator) .skill-toggle:has(input:checked){background:#3c3424;border-color:#b89b63;color:#f3d79e}:where(.spec-simulator) .skill-toggle input{width:16px;height:16px;margin:0;flex-shrink:0}:where(.spec-simulator) .passive-auto{font-size:14px;color:#8499ab}:where(.spec-simulator) .skill-level-control{display:flex;align-items:center;gap:4px;font-size:14px;color:#94a9bd;margin-left:auto}:where(.spec-simulator) .buff-controls .skill-level-control select{font-size:14px;padding:5px 4px;min-width:53px;max-width:76px}:where(.spec-simulator) .skill-effects-label{font-size:14px;color:#859bae;letter-spacing:.5px;margin:0 0 7px}:where(.spec-simulator) .skill-icon-grid .buff-options{min-height:27px;gap:5px;margin:0 0 12px;align-content:start}:where(.spec-simulator) .skill-icon-grid .buff-options>span{font-size:14px;line-height:1.5;background:#1b303e;padding:4px 6px;border-radius:5px;color:#c6d6e7}:where(.spec-simulator) .skill-icon-grid .buff-options .skill-no-fixed{padding:4px 0;background:none;color:#72899f}:where(.spec-simulator) .skill-icon-grid .buff-options .skill-more-effects{background:#222e40;color:#a4b6d0}:where(.spec-simulator) .skill-card-details{margin:0;border-top:1px solid #2b3c4d;padding-top:10px}:where(.spec-simulator) .skill-card-details>summary{font-size:14px;color:#a0b8ce}:where(.spec-simulator) .skill-card-details .skill-description{font-size:14px}:where(.spec-simulator) .skill-replacement{font-size:14px;color:var(--gold);margin:-3px 0 9px}:where(.spec-simulator) .skill-icon-grid .is-locked .skill-portrait{opacity:.5}:where(.spec-simulator) .skill-icon-grid .is-locked .skill-heading-copy{opacity:.65}
@media(min-width:1001px) and (max-width:1150px){:where(.spec-simulator) .skill-icon-grid{grid-template-columns:1fr}}
@media(max-width:620px){:where(.spec-simulator) .skill-icon-grid{grid-template-columns:1fr;gap:12px}:where(.spec-simulator) .skill-icon-grid .buff-card{padding:15px}:where(.spec-simulator) .skill-portrait{width:56px;height:56px;flex-basis:56px}:where(.spec-simulator) .skill-heading-copy h3{font-size:16px}:where(.spec-simulator) .skill-toolbar{grid-template-columns:minmax(0,1fr) 100px auto;gap:5px}:where(.spec-simulator) .skill-toolbar input{font-size:16px}:where(.spec-simulator) .skill-toolbar>button{padding:7px 9px}:where(.spec-simulator) .skill-catalog-header>label{font-size:14px}:where(.spec-simulator) .skill-catalog-header h3{font-size:16px}:where(.spec-simulator) .skill-toggle{font-size:14px;padding:9px}:where(.spec-simulator) .skill-icon-grid .buff-options>span{font-size:14px}:where(.spec-simulator) .skill-level-control{font-size:14px}:where(.spec-simulator) .buff-controls .skill-level-control select{font-size:14px}:where(.spec-simulator) .skill-card-details>summary{font-size:14px}}

:where(.spec-simulator) .skill-learn-toggle{align-self:flex-start;display:flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;border:1px solid #4a6074;background:#182736;color:#b7c8d9;border-radius:7px;min-height:34px;padding:5px 7px;cursor:pointer;font-size:14px;white-space:nowrap}:where(.spec-simulator) .skill-learn-toggle input{margin:0;width:16px;height:16px}:where(.spec-simulator) .skill-learn-toggle.is-on{background:#433722;color:#f6d99b;border-color:#c5a462}:where(.spec-simulator) .skill-learn-toggle:has(input:disabled){opacity:.5;cursor:default}:where(.spec-simulator) .skill-icon-grid .buff-controls{min-height:24px;margin:10px 0 12px}:where(.spec-simulator) .skill-learn-toggle:focus-within{outline:2px solid var(--gold);outline-offset:2px}
:where(.spec-simulator) .setup-switcher-prominent{display:block;border:1px solid #60768c;border-radius:14px;padding:22px;background:linear-gradient(120deg,#1b2b3a,#12202d);box-shadow:0 8px 26px #0003}:where(.spec-simulator) .setup-switcher-prominent>.setup-switcher-title{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}:where(.spec-simulator) .setup-switcher-prominent>.setup-switcher-title>b{font-size:23px;color:#f2f6fc}:where(.spec-simulator) .setup-switcher-prominent .setup-side-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}:where(.spec-simulator) .setup-switcher-prominent .setup-side-buttons>button{display:flex;align-items:center;gap:14px;text-align:left;min-height:90px;padding:18px;border:2px solid #4b6075;background:#12202e;border-radius:11px;color:#d4e0ed}:where(.spec-simulator) .setup-side-step{font-size:24px;font-weight:750;color:#6887a3;flex-shrink:0}:where(.spec-simulator) .setup-side-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}:where(.spec-simulator) .setup-switcher-prominent .setup-side-copy>b{font-size:21px;color:inherit}:where(.spec-simulator) .setup-switcher-prominent .setup-side-copy>small{font-size:14px;width:auto;color:#9eb4c8}:where(.spec-simulator) .setup-side-state{font-size:14px;padding:4px 9px;border-radius:20px;background:#263c50;color:#a6bbcd;white-space:nowrap}:where(.spec-simulator) .setup-switcher-prominent .setup-side-buttons>button[aria-pressed=true]{background:#eac481;border-color:#ffe0a5;color:#211c13;box-shadow:0 0 0 2px #eac48133}:where(.spec-simulator) .setup-switcher-prominent button[aria-pressed=true] .setup-side-step{color:#89642e}:where(.spec-simulator) .setup-switcher-prominent button[aria-pressed=true] .setup-side-copy>small{color:#64502d}:where(.spec-simulator) .setup-switcher-prominent button[aria-pressed=true] .setup-side-state{background:#725321;color:#fff2d2}:where(.spec-simulator) .setup-editing-status{font-size:14px;color:#b5c9db;margin:13px 0 0}:where(.spec-simulator) .setup-editing-status strong{color:var(--gold)}
@media(max-width:620px){:where(.spec-simulator) .skill-learn-toggle{font-size:14px;min-height:38px;padding:6px}:where(.spec-simulator) .setup-switcher-prominent{padding:16px}:where(.spec-simulator) .setup-switcher-prominent>.setup-switcher-title>b{font-size:21px}:where(.spec-simulator) .setup-switcher-prominent .setup-side-buttons{grid-template-columns:1fr;gap:10px}:where(.spec-simulator) .setup-switcher-prominent .setup-side-buttons>button{min-height:86px;padding:14px;gap:12px}:where(.spec-simulator) .setup-switcher-prominent .setup-side-copy>b{font-size:21px}:where(.spec-simulator) .setup-switcher-prominent .setup-side-copy>small{font-size:14px}:where(.spec-simulator) .setup-side-step{font-size:23px}}

:where(.spec-simulator) .skill-image-button{display:block;flex:0 0 56px;width:56px;height:56px;padding:0;border:0;border-radius:9px;background:none;cursor:pointer}:where(.spec-simulator) .skill-image-button .skill-portrait{display:flex}:where(.spec-simulator) .skill-image-button:hover .skill-portrait{border-color:var(--gold);box-shadow:0 0 0 2px #edc57f66}:where(.spec-simulator) .skill-image-button:focus-visible{outline:2px solid var(--gold);outline-offset:4px}:where(.spec-simulator) .skill-icon-grid .buff-controls:empty{display:none}:where(.spec-simulator) .skill-detail-dialog{width:min(560px,calc(100vw - 32px));max-height:80vh;padding:22px;border:1px solid #647e94;border-radius:14px;background:#14212e;color:#edf2f8;box-shadow:0 18px 80px #0009;overflow:auto}:where(.spec-simulator) .skill-detail-dialog::backdrop{background:#050a11cc}:where(.spec-simulator) .skill-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #34485d;padding-bottom:14px;margin-bottom:16px}:where(.spec-simulator) .skill-dialog-heading h3{margin:0;font-size:20px;color:var(--gold)}:where(.spec-simulator) .skill-dialog-heading button{font-size:14px;flex-shrink:0}:where(.spec-simulator) .skill-detail-dialog .skill-description{font-size:14px;margin:0 0 18px;white-space:pre-line;line-height:1.8}:where(.spec-simulator) .skill-detail-dialog .buff-options{margin-top:12px}:where(.spec-simulator) .skill-detail-dialog .option{font-size:14px}
@media(max-width:620px){:where(.spec-simulator) .skill-detail-dialog{padding:17px}:where(.spec-simulator) .skill-dialog-heading h3{font-size:18px}:where(.spec-simulator) .skill-image-button{min-width:56px;min-height:56px}}

:where(.spec-simulator) .skill-icon-grid .buff-card{cursor:pointer}:where(.spec-simulator) .skill-icon-grid .buff-card:hover{border-color:#b99b64}:where(.spec-simulator) .skill-icon-grid .buff-card:focus-visible{outline:2px solid var(--gold);outline-offset:3px}:where(.spec-simulator) .skill-icon-grid .buff-card.is-locked{cursor:default}:where(.spec-simulator) .skill-learn-toggle,:where(.spec-simulator) .skill-image-button,:where(.spec-simulator) .skill-level-control select{cursor:pointer}

:where(.spec-simulator) .skill-icon-grid .skill-effects-label{display:none}:where(.spec-simulator) .skill-icon-grid .buff-options{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;min-height:0;margin:12px 0 0}:where(.spec-simulator) .skill-icon-grid .buff-options>span{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:37px;padding:7px 10px;font-size:14px;line-height:1.4;background:#1b303e;border:1px solid #294657;border-radius:7px;color:#c9dae9;white-space:normal}:where(.spec-simulator) .skill-icon-grid .buff-options>span>b{font-size:18px;line-height:1.2;white-space:nowrap;flex-shrink:0;color:#a0ead2;font-variant-numeric:tabular-nums}:where(.spec-simulator) .skill-icon-grid .buff-options .skill-no-fixed{min-height:25px;font-size:14px;border:0;background:none;padding:2px 0;color:#849bb0}:where(.spec-simulator) .skill-icon-grid .buff-options .skill-more-effects{min-height:26px;padding:4px 9px;font-size:14px}:where(.spec-simulator) .skill-icon-grid .buff-controls{margin:8px 0 0;min-height:0}:where(.spec-simulator) .skill-icon-grid .buff-card{padding:14px}:where(.spec-simulator) .skill-card-heading{min-height:56px}
@media(max-width:620px){:where(.spec-simulator) .skill-icon-grid .buff-options>span{font-size:14px;min-height:40px}:where(.spec-simulator) .skill-icon-grid .buff-options>span>b{font-size:19px}:where(.spec-simulator) .skill-icon-grid .buff-card{padding:14px}}

:where(.spec-simulator) .skill-card-heading{display:grid;grid-template-columns:56px minmax(0,1fr);gap:11px;align-items:start}:where(.spec-simulator) .skill-card-heading .skill-learn-toggle{position:absolute;top:0;right:0;min-height:28px;font-size:14px;padding:4px 6px}:where(.spec-simulator) .skill-card-heading .skill-meta{padding-right:87px;min-height:29px;flex-wrap:wrap;gap:5px}:where(.spec-simulator) .skill-name-level{display:flex;align-items:center;gap:8px;min-width:0}:where(.spec-simulator) .skill-name-level h3{flex:1;min-width:0;margin:0;font-size:14px}:where(.spec-simulator) .skill-name-level .skill-level-control{margin:0;flex-shrink:0}:where(.spec-simulator) .skill-name-level .skill-level-control select{margin:0;font-size:14px;padding:4px 5px;width:61px;min-width:0}:where(.spec-simulator) .skill-effect-name{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}:where(.spec-simulator) .skill-effect-name small{display:inline-block;font-size:14px;color:#b8a47b;border:1px solid #6a5b3d;padding:1px 4px;border-radius:4px}:where(.spec-simulator) .skill-registration-note{font-size:14px;color:#b5a580;margin:8px 0 0}:where(.spec-simulator) .skill-detail-dialog .buff-options>span{display:flex;justify-content:space-between;gap:14px}:where(.spec-simulator) .skill-detail-dialog .skill-effect-name{font-size:14px}
@media(max-width:620px){:where(.spec-simulator) .skill-card-heading .skill-learn-toggle{min-height:30px;font-size:14px}:where(.spec-simulator) .skill-card-heading .skill-meta{padding-right:91px;min-height:32px}:where(.spec-simulator) .skill-name-level h3{font-size:15px}:where(.spec-simulator) .skill-name-level .skill-level-control select{font-size:14px;min-height:30px}}
:where(.spec-simulator) .flow-intro{border:1px solid #536b7b;background:linear-gradient(120deg,#1d3140,#14212c);padding:24px;border-radius:14px;margin:20px 0}:where(.spec-simulator) .flow-intro h2{margin:7px 0 10px;font-size:24px}:where(.spec-simulator) .flow-intro p{color:#b9cddd;margin:0;line-height:1.8}:where(.spec-simulator) #tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}:where(.spec-simulator) #tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:64px;font-size:17px;font-weight:700}:where(.spec-simulator) #tabs button small{color:#89a5bd}:where(.spec-simulator) #tabs button[aria-selected=true]{color:#221d14;background:#eac481}:where(.spec-simulator) #tabs button[aria-selected=true] small{color:#705528}:where(.spec-simulator) .baseline-guide{background:#102b37;border-left:3px solid #eac481;border-radius:8px;padding:16px 20px;margin:16px 0 22px}:where(.spec-simulator) .baseline-guide b{font-size:17px;color:#efce96}:where(.spec-simulator) .baseline-guide p{font-size:14px;color:#bed1de;line-height:1.8;margin-bottom:0}:where(.spec-simulator) .detail-frame{border:1px solid #465e72;border-radius:12px;margin:22px 0;padding:16px;min-width:0}:where(.spec-simulator) .detail-frame legend{font-size:18px;font-weight:700;padding:0 10px}:where(.spec-simulator) .side-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}:where(.spec-simulator) .side-heading h2{margin:5px 0}:where(.spec-simulator) .side-heading label{display:flex;align-items:center;gap:10px}:where(.spec-simulator) .inner-tabs{display:flex;gap:8px;margin:22px 0}:where(.spec-simulator) .inner-tabs button{flex:1;padding:13px 7px;font-size:15px}:where(.spec-simulator) .inner-tabs button[aria-pressed=true]{border-color:#eac481;background:#463a27;color:#ffe4b5}:where(.spec-simulator) .final-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}:where(.spec-simulator) .final-class{border:1px solid #41576a;border-radius:12px;background:#101b25;padding:16px;min-width:0}:where(.spec-simulator) .final-class.after{border-color:#c4a15f}:where(.spec-simulator) .final-class>header{background:none;margin:0 0 16px;padding:0 0 15px;border-bottom:1px solid #3b4c5e;box-shadow:none}:where(.spec-simulator) .final-class header h2{font-size:24px;margin:5px 0;color:#eac481}:where(.spec-simulator) .final-class header small{color:#a6bed1}:where(.spec-simulator) .final-attrs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}:where(.spec-simulator) .final-attrs>div{display:flex;flex-direction:column;align-items:center;background:#1b2b38;border-radius:6px;padding:10px 2px;min-height:85px}:where(.spec-simulator) .final-attrs small{color:#9cb5ca;font-size:14px}:where(.spec-simulator) .final-attrs b{font-size:21px}:where(.spec-simulator) .final-group{border:1px solid #314758;border-top-color:var(--area);border-radius:8px;padding:12px;margin:15px 0}:where(.spec-simulator) .final-group h3{color:var(--area);margin:0 0 10px}:where(.spec-simulator) .final-value{display:grid;grid-template-columns:minmax(0,1fr) 58px 45px;align-items:center;gap:5px;min-height:48px;border-bottom:1px solid #233745;font-size:14px}:where(.spec-simulator) .final-value strong{text-align:right;font-size:18px}:where(.spec-simulator) .final-value:last-child{border:0}:where(.spec-simulator) .final-value .live-delta{font-size:14px}:where(.spec-simulator) .stage-breakdown{margin-top:24px}:where(.spec-simulator) .fitting-stage{position:relative;background:radial-gradient(ellipse,#594327 0%,#241e18 48%,#10171d 85%);border:1px solid #776345;border-radius:12px;padding:14px;min-height:560px}:where(.spec-simulator) .fitting-avatar{position:absolute;inset:40px 14%;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}:where(.spec-simulator) .fitting-avatar img{width:100%;max-width:340px;max-height:440px;object-fit:contain}:where(.spec-simulator) .fitting-avatar small{font-size:14px;color:#b5a88e;position:absolute;bottom:0}:where(.spec-simulator) .fitting-slots{display:grid;grid-template-columns:88px minmax(0,1fr) 88px;grid-auto-rows:94px;gap:12px;position:relative}:where(.spec-simulator) .fitting-slot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px;border:1px solid #776345;background:#111a20e8;min-width:0}:where(.spec-simulator) .fitting-slot img,:where(.spec-simulator) .catalog-tile img{object-fit:contain}:where(.spec-simulator) .fitting-slot small{font-size:14px;color:#cfb986}:where(.spec-simulator) .fitting-slot b{position:absolute;top:3px;right:5px;color:#f8d691;font-size:14px}:where(.spec-simulator) .fitting-slot>span:not(.empty-slot){font-size:14px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:where(.spec-simulator) .fitting-slot em{font-size:14px;color:#92ecd0;position:absolute;bottom:-9px;padding:0 4px;background:#1a3931;border-radius:4px}:where(.spec-simulator) .fitting-slot.equipped{border-color:#eac481}:where(.spec-simulator) .empty-slot{font-size:32px;color:#847558;line-height:1.3}:where(.spec-simulator) .fitting-dialog{width:min(780px,calc(100vw - 24px));max-height:86vh;overflow:auto;background:#14212e;color:#edf2f8;padding:20px;border:1px solid #8d7952;border-radius:12px}:where(.spec-simulator) .fitting-dialog::backdrop{background:#030a10ce}:where(.spec-simulator) .catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}:where(.spec-simulator) .catalog-tile{display:flex;flex-direction:column;align-items:center;gap:7px;min-height:135px;padding:12px 6px;min-width:0;background:#101c27}:where(.spec-simulator) .catalog-tile>span:not(.empty-slot){font-size:14px;overflow-wrap:anywhere}:where(.spec-simulator) .catalog-tile small{font-size:14px;color:#8ea6b9}:where(.spec-simulator) .catalog-tile.selected{border-color:#eac481;background:#3c3424}:where(.spec-simulator) .fitting-selected{display:flex;align-items:center;gap:12px;padding:14px;background:#1c3140;border:1px solid #4c6578;border-radius:8px;flex-wrap:wrap}:where(.spec-simulator) .fitting-selected>div{flex:1;min-width:120px}:where(.spec-simulator) .fitting-selected small{display:block;color:#99afc1;font-size:14px}:where(.spec-simulator) .fitting-selected select{padding:7px;min-width:62px}:where(.spec-simulator) .bless-summary{background:#1b352d;border:1px solid #496b50;border-radius:8px;padding:12px;margin:15px 0;color:#bfe7cd;font-size:14px}:where(.spec-simulator) .bless-summary strong{float:right;color:#94e0b7}:where(.spec-simulator) .gear-baseline-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}:where(.spec-simulator) .gear-baseline-actions small{display:block;color:#a2b7c8;width:100%}
@media(max-width:700px){:where(.spec-simulator) #tabs{gap:5px}:where(.spec-simulator) #tabs button{min-height:66px;font-size:14px;flex-direction:column;gap:3px;padding:8px 3px}:where(.spec-simulator) .flow-intro{padding:18px}:where(.spec-simulator) .flow-intro h2{font-size:20px}:where(.spec-simulator) .final-pair{gap:9px}:where(.spec-simulator) .final-class{padding:9px}:where(.spec-simulator) .final-class header h2{font-size:19px}:where(.spec-simulator) .final-attrs{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}:where(.spec-simulator) .final-group{padding:8px}:where(.spec-simulator) .final-value{grid-template-columns:minmax(0,1fr) 42px;gap:4px;min-height:72px;font-size:14px}:where(.spec-simulator) .final-value strong{font-size:17px}:where(.spec-simulator) .final-value .live-delta{grid-column:2;font-size:14px;justify-self:end}:where(.spec-simulator) .final-class.before .final-value{padding-bottom:23px}:where(.spec-simulator) .detail-frame{padding:10px}:where(.spec-simulator) .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}:where(.spec-simulator) .fitting-stage{min-height:560px;padding:10px}:where(.spec-simulator) .fitting-slots{grid-template-columns:72px minmax(0,1fr) 72px;gap:12px;grid-auto-rows:94px}:where(.spec-simulator) .fitting-slot{padding:4px}:where(.spec-simulator) .fitting-slot img{width:42px;height:42px}:where(.spec-simulator) .fitting-dialog{padding:13px}:where(.spec-simulator) .fitting-avatar{inset:40px 10%}:where(.spec-simulator) .inner-tabs button{font-size:14px}:where(.spec-simulator) .settings-save-bar button{min-height:48px}}
:where(.spec-simulator) .final-attrs>div{height:100px;box-sizing:border-box}:where(.spec-simulator) .layout.final-wide{grid-template-columns:1fr}:where(.spec-simulator) .layout.final-wide>aside{display:none}
:where(.spec-simulator) .ancient-stages{margin:14px 0 0;padding-top:12px;border-top:1px solid #3c5264}:where(.spec-simulator) .ancient-stages h4{font-size:14px;color:#eac481;margin:0 0 9px}:where(.spec-simulator) .ancient-stages table{font-size:14px;min-width:290px}:where(.spec-simulator) .ancient-stages th,:where(.spec-simulator) .ancient-stages td{padding:7px 4px;text-align:center;white-space:nowrap}:where(.spec-simulator) .ancient-stages th:first-child{text-align:left}:where(.spec-simulator) .ancient-hint{font-size:14px;color:#a6bfd1;line-height:1.7;margin:10px 0 0}

/* Readable controls and values across the four-step flow. */
:where(.spec-simulator) h2{font-size:27px}:where(.spec-simulator) h3{font-size:20px}:where(.spec-simulator) table{font-size:16px}:where(.spec-simulator) .option{font-size:15px}:where(.spec-simulator) .tag,:where(.spec-simulator) .eyebrow{font-size:14px}:where(.spec-simulator) .muted{line-height:1.8}
:where(.spec-simulator) .settings-section h3,:where(.spec-simulator) .live-group h3{font-size:19px}:where(.spec-simulator) .settings-section h3 small{font-size:15px}:where(.spec-simulator) .profile-controls label,:where(.spec-simulator) .base-stat-inputs label,:where(.spec-simulator) .metric-inputs label{font-size:17px}:where(.spec-simulator) .settings-section input[type=number]{font-size:21px;width:94px;height:50px}:where(.spec-simulator) .profile-controls select{font-size:19px;width:210px;min-height:52px}:where(.spec-simulator) .section-tag{font-size:14px}:where(.spec-simulator) .settings-save-bar p,:where(.spec-simulator) .baseline-guide p{font-size:16px}:where(.spec-simulator) .baseline-guide b{font-size:20px}
:where(.spec-simulator) .side-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);align-items:center;gap:20px;padding-bottom:20px;border-bottom:1px solid #526779}:where(.spec-simulator) .side-heading h2{font-size:32px}:where(.spec-simulator) .side-heading .class-picker{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:16px 18px;background:#273044;border:2px solid #d4af70;border-radius:12px;box-shadow:0 0 0 3px #eac4810d}:where(.spec-simulator) .class-picker>span{font-size:17px;font-weight:650;color:#f0cb87}:where(.spec-simulator) .side-heading #flowClass{display:block;width:100%;max-width:100%;min-height:64px;padding:10px 14px;margin:0;background:#101c28;border-color:#b9995f;font-size:27px;font-weight:750;color:#ffe2aa}:where(.spec-simulator) .inner-tabs button{font-size:18px;min-height:54px}:where(.spec-simulator) #tabs button{font-size:19px;min-height:72px}
:where(.spec-simulator) .stat>b{font-size:19px}:where(.spec-simulator) .stat small{font-size:14px}:where(.spec-simulator) .stepper input{font-size:22px;min-height:46px}:where(.spec-simulator) .stepper button{font-size:22px}:where(.spec-simulator) .change-count{font-size:15px}:where(.spec-simulator) .change-columns{font-size:14px}:where(.spec-simulator) .change-columns,:where(.spec-simulator) .change-metric{grid-template-columns:minmax(0,1fr) 120px 65px}:where(.spec-simulator) .change-label{font-size:16px}:where(.spec-simulator) .change-before{font-size:16px}:where(.spec-simulator) .change-values strong{font-size:22px}:where(.spec-simulator) .change-badge{font-size:16px}:where(.spec-simulator) .change-metric{min-height:68px}
:where(.spec-simulator) .live-profile{font-size:18px}:where(.spec-simulator) .live-stat-label{font-size:16px;line-height:1.5}:where(.spec-simulator) .live-stat-row{min-height:48px}:where(.spec-simulator) .live-stat-row strong{font-size:22px}:where(.spec-simulator) .live-column-head{font-size:14px}:where(.spec-simulator) .live-delta{font-size:16px}:where(.spec-simulator) .partial-note,:where(.spec-simulator) .skill-live-label{font-size:14px}:where(.spec-simulator) .live-detail-button{font-size:17px;min-height:48px}
:where(.spec-simulator) .skill-name-level{flex-wrap:wrap;gap:8px}:where(.spec-simulator) .skill-name-level h3{font-size:19px;flex:1 1 120px;line-height:1.5}:where(.spec-simulator) .skill-name-level .skill-level-control select{font-size:16px;width:82px;min-height:40px}:where(.spec-simulator) .skill-card-heading .skill-learn-toggle{font-size:14px;min-height:36px;padding:5px 8px}:where(.spec-simulator) .skill-card-heading .skill-meta{padding-right:116px;min-height:43px;font-size:14px}:where(.spec-simulator) .skill-icon-grid .buff-options>span{font-size:16px;min-height:46px;padding:10px}:where(.spec-simulator) .skill-icon-grid .buff-options>span>b{font-size:22px}:where(.spec-simulator) .skill-icon-grid .buff-options .skill-more-effects,:where(.spec-simulator) .skill-icon-grid .buff-options .skill-no-fixed,:where(.spec-simulator) .skill-registration-note,:where(.spec-simulator) .skill-replacement{font-size:14px}:where(.spec-simulator) .skill-effect>span{font-size:16px}:where(.spec-simulator) .skill-effect strong{font-size:27px}:where(.spec-simulator) .skill-detail-dialog{width:min(680px,calc(100vw - 24px))}:where(.spec-simulator) .skill-dialog-heading h3{font-size:24px}:where(.spec-simulator) .skill-detail-dialog .skill-description{font-size:17px}:where(.spec-simulator) .skill-detail-dialog .skill-effect-name,:where(.spec-simulator) .skill-detail-dialog .option{font-size:16px}:where(.spec-simulator) .skill-detail-dialog .buff-options b{font-size:21px}:where(.spec-simulator) .ancient-stages h4{font-size:18px}:where(.spec-simulator) .ancient-stages table{font-size:15px;min-width:450px}:where(.spec-simulator) .ancient-stages th,:where(.spec-simulator) .ancient-stages td{padding:10px 6px}:where(.spec-simulator) .ancient-hint{font-size:16px}
:where(.spec-simulator) .final-class header h2{font-size:29px}:where(.spec-simulator) .final-class header small{font-size:17px}:where(.spec-simulator) .final-attrs small{font-size:15px}:where(.spec-simulator) .final-attrs b{font-size:26px}:where(.spec-simulator) .final-attrs>div{height:112px}:where(.spec-simulator) .final-value{font-size:17px;min-height:64px;grid-template-columns:minmax(0,1fr) 76px 65px}:where(.spec-simulator) .final-value strong{font-size:25px}:where(.spec-simulator) .final-value .live-delta{font-size:17px}:where(.spec-simulator) .catalog-tile>span:not(.empty-slot){font-size:16px}:where(.spec-simulator) .catalog-tile small{font-size:14px}:where(.spec-simulator) .fitting-slot small,:where(.spec-simulator) .fitting-slot>span:not(.empty-slot){font-size:14px}:where(.spec-simulator) .fitting-slot em{font-size:14px}:where(.spec-simulator) .bless-summary{font-size:16px}
@media(max-width:1160px) and (min-width:701px){:where(.spec-simulator) .settings-sections.stat-change-cards{grid-template-columns:1fr}:where(.spec-simulator) .skill-icon-grid{grid-template-columns:1fr}}
@media(max-width:700px){:where(.spec-simulator) .side-heading{grid-template-columns:1fr;gap:14px}:where(.spec-simulator) .side-heading h2{font-size:29px}:where(.spec-simulator) .side-heading .class-picker{padding:14px}:where(.spec-simulator) .side-heading #flowClass{font-size:27px;min-height:64px}:where(.spec-simulator) .class-picker>span{font-size:17px}:where(.spec-simulator) #tabs button{font-size:16px;min-height:76px;padding:8px 2px}:where(.spec-simulator) .inner-tabs button{font-size:17px;padding:12px 5px}:where(.spec-simulator) .flow-intro h2{font-size:23px}:where(.spec-simulator) .settings-sections{grid-template-columns:1fr}:where(.spec-simulator) .base-stat-inputs{gap:14px 10px}:where(.spec-simulator) .base-stat-inputs label{font-size:16px}:where(.spec-simulator) .settings-section input[type=number]{font-size:21px;width:84px}:where(.spec-simulator) .settings-section{padding:14px}:where(.spec-simulator) .change-columns,:where(.spec-simulator) .change-metric{grid-template-columns:minmax(0,1fr) 104px 48px;gap:5px}:where(.spec-simulator) .change-label{font-size:16px}:where(.spec-simulator) .change-before{font-size:15px}:where(.spec-simulator) .change-values strong{font-size:21px}:where(.spec-simulator) .change-badge{font-size:15px}:where(.spec-simulator) .stepper{grid-template-columns:26px minmax(0,1fr) 26px;gap:3px}:where(.spec-simulator) .stepper input{font-size:20px;padding:4px 1px;min-width:0}:where(.spec-simulator) .stepper button{font-size:20px;padding:2px}:where(.spec-simulator) .stat{padding:8px}:where(.spec-simulator) .stat small{font-size:14px}:where(.spec-simulator) .skill-name-level h3{font-size:19px}:where(.spec-simulator) .skill-icon-grid .buff-options>span{font-size:17px}:where(.spec-simulator) .skill-card-heading .skill-meta{padding-right:116px}:where(.spec-simulator) .final-class{padding:10px}:where(.spec-simulator) .final-class header h2{font-size:23px}:where(.spec-simulator) .final-class header small{font-size:16px}:where(.spec-simulator) .final-attrs small{font-size:15px}:where(.spec-simulator) .final-attrs b{font-size:25px}:where(.spec-simulator) .final-value{grid-template-columns:minmax(0,1fr) auto;min-height:115px;font-size:16px;row-gap:3px;padding:10px 0;align-content:center}:where(.spec-simulator) .final-value>span:first-child{grid-column:1/-1;min-height:48px;line-height:1.5}:where(.spec-simulator) .final-value strong{grid-column:1;font-size:24px;text-align:left}:where(.spec-simulator) .final-value .live-delta{grid-column:2;font-size:16px;align-self:center}:where(.spec-simulator) .final-class.before .final-value{padding-bottom:10px}:where(.spec-simulator) .skill-detail-dialog .skill-description{font-size:17px}:where(.spec-simulator) .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.spec-simulator) .catalog-tile{min-height:155px}:where(.spec-simulator) .fitting-slot>span:not(.empty-slot){display:none}}

:where(.spec-simulator) .footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}:where(.spec-simulator) .footer button{white-space:nowrap;min-height:48px;padding:10px 8px;font-size:16px}:where(.spec-simulator) .footer #stepLabel{font-size:14px;text-align:center}@media(max-width:700px){:where(.spec-simulator) .settings-section h3{flex-wrap:wrap}:where(.spec-simulator) .settings-section h3 small{flex-basis:100%;font-size:15px}}

:where(.spec-simulator) .point-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}:where(.spec-simulator) .point-controls label{font-size:17px;color:#d0e0ec}:where(.spec-simulator) .point-controls label>input[type=number]{display:block;width:112px;font-size:21px;margin-top:8px}:where(.spec-simulator) .point-controls label>select{display:block;min-height:50px;min-width:140px;font-size:19px}:where(.spec-simulator) .point-controls label>small{display:block;font-size:14px;margin-top:8px}:where(.spec-simulator) .point-help{font-size:15px;color:#b3c6d6;margin:16px 0;line-height:1.8}:where(.spec-simulator) .point-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:24px}:where(.spec-simulator) .point-preview>div{background:#1a2b3c;border:1px solid #3c5268;padding:14px 10px;border-radius:8px;min-width:0}:where(.spec-simulator) .point-preview small{display:block;font-size:14px;min-height:44px}:where(.spec-simulator) .point-preview strong{display:block;font-size:28px;color:#e9c68d;font-variant-numeric:tabular-nums}:where(.spec-simulator) .point-preview strong>span{display:block;font-size:14px;font-weight:400;color:#aebdcb}:where(.spec-simulator) .point-budget{padding:20px;border:1px solid #8d754d;border-radius:12px;background:linear-gradient(120deg,#20352f,#152b37);margin:18px 0 22px}:where(.spec-simulator) .point-budget-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}:where(.spec-simulator) .point-budget-title h3{font-size:21px;margin:0}:where(.spec-simulator) .point-budget-title button{font-size:15px}:where(.spec-simulator) .point-budget-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 12px}:where(.spec-simulator) .point-budget-counts>div{display:flex;flex-direction:column;align-items:center;border-right:1px solid #496354}:where(.spec-simulator) .point-budget-counts>div:last-child{border:0}:where(.spec-simulator) .point-budget-counts span{font-size:16px;color:#b6cccb}:where(.spec-simulator) .point-budget-counts strong{font-size:36px;line-height:1.4;font-variant-numeric:tabular-nums}:where(.spec-simulator) .point-budget-counts .remaining strong{color:#a7efd0}:where(.spec-simulator) .point-progress{height:9px;background:#0c1d27;border-radius:20px;overflow:hidden}:where(.spec-simulator) .point-progress>span{display:block;height:100%;background:#d9b875}:where(.spec-simulator) .point-budget>p{font-size:16px;margin:15px 0 3px}:where(.spec-simulator) .point-budget>small{font-size:15px}:where(.spec-simulator) .allocation-hint{display:block;margin-top:4px;font-size:14px;color:#acc1d0;line-height:1.6}:where(.spec-simulator) .comparison-identity{display:flex;gap:20px;align-items:center;min-height:125px}:where(.spec-simulator) .comparison-portrait{position:relative;flex:0 0 90px;width:90px;height:110px;border:1px solid #6d6046;border-radius:12px;background:radial-gradient(ellipse,#4f4939,#172432 75%);display:flex;align-items:center;justify-content:center;overflow:hidden}:where(.spec-simulator) .comparison-portrait img{width:86px;height:105px;object-fit:contain}:where(.spec-simulator) .comparison-portrait>b{position:absolute;bottom:3px;left:4px;width:37px;height:37px;border-radius:50%;border:2px solid #e7ce91;background:#183b40e8;display:flex;align-items:center;justify-content:center;font-size:19px;color:#fff6dc;line-height:1}:where(.spec-simulator) .comparison-portrait>span{font-size:45px;color:#cebb8b}
@media(max-width:700px){:where(.spec-simulator) .point-controls{grid-template-columns:1fr;gap:18px}:where(.spec-simulator) .point-preview{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.spec-simulator) .point-budget{padding:14px}:where(.spec-simulator) .point-budget-counts{gap:7px}:where(.spec-simulator) .point-budget-counts span{font-size:15px}:where(.spec-simulator) .point-budget-counts strong{font-size:32px}:where(.spec-simulator) .point-budget-title h3{font-size:19px}:where(.spec-simulator) .point-budget-title button{font-size:14px}:where(.spec-simulator) .comparison-identity{flex-direction:column;gap:10px;align-items:flex-start;min-height:215px}:where(.spec-simulator) .comparison-portrait{flex-basis:90px;width:76px;height:90px}:where(.spec-simulator) .comparison-portrait img{width:72px;height:86px}:where(.spec-simulator) .comparison-portrait>b{width:32px;height:32px;font-size:17px}:where(.spec-simulator) .allocation-hint{font-size:14px}:where(.spec-simulator) .stat>b{font-size:19px}}

:where(.spec-simulator) button:disabled{opacity:.4;cursor:not-allowed}
/* Face portraits replace the SD artwork in final comparison only. */
:where(.spec-simulator) .comparison-portrait{width:94px;height:94px;flex-basis:94px;border:1px solid #9b855c;border-radius:9px;background:radial-gradient(ellipse at 50% 40%,#34594e,#172b30 70%,#101b22);box-shadow:inset 0 0 0 2px #b6995a22}:where(.spec-simulator) .comparison-portrait img{width:94px;height:100px;object-fit:contain;transform:scale(1.2);transform-origin:50% 50%}:where(.spec-simulator) .comparison-portrait>b{left:1px;bottom:1px;width:39px;height:39px;background:linear-gradient(135deg,#16353b,#235153);border:2px solid #dfcf93;box-shadow:0 0 0 2px #0b1c22;color:#fffde9;font-size:23px;font-style:italic;font-family:Georgia,serif}:where(.spec-simulator) .comparison-identity{gap:18px}@media(max-width:700px){:where(.spec-simulator) .comparison-portrait{width:76px;height:76px;flex-basis:76px}:where(.spec-simulator) .comparison-portrait img{width:78px;height:84px}:where(.spec-simulator) .comparison-portrait>b{width:33px;height:33px;font-size:20px}:where(.spec-simulator) .comparison-identity{min-height:200px}}

/* Equipment settings save controls */
:where(.spec-simulator) .equipment-save-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;margin:10px 0;border:1px solid #6c674a;border-radius:10px;background:#152630}:where(.spec-simulator) .equipment-save-bar button{font-size:16px;font-weight:700;min-height:46px}:where(.spec-simulator) .equipment-save-bar>span{font-size:13px;color:#f0cb82}:where(.spec-simulator) .equipment-save-bar>small{flex-basis:100%;font-size:12px;color:#b9cbd8;line-height:1.5}:where(.spec-simulator) .gear-baseline-guide{margin:14px 0;padding:12px;border:1px solid #445d70;border-radius:10px;background:#13212d}:where(.spec-simulator) .gear-baseline-guide>summary{cursor:pointer;font-size:16px;font-weight:700}:where(.spec-simulator) .gear-baseline-guide>summary b{display:inline-block;font-size:13px;margin-left:8px;color:#eac481}:where(.spec-simulator) .gear-baseline-guide p{font-size:14px;line-height:1.6}:where(.spec-simulator) .gear-baseline-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}:where(.spec-simulator) .gear-baseline-choices.with-copy{grid-template-columns:repeat(3,minmax(0,1fr))}:where(.spec-simulator) .gear-baseline-choices>button{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:6px;flex:1 1 170px;min-height:90px;padding:12px;text-align:left;white-space:normal}:where(.spec-simulator) .gear-baseline-choices b{font-size:15px}:where(.spec-simulator) .gear-baseline-choices small{font-size:12px;line-height:1.5;color:#b9cad7}:where(.spec-simulator) .gear-baseline-choices button[aria-pressed=true]{border-color:#e8c17a;background:#443923}:where(.spec-simulator) .gear-baseline-choices .gear-copy-button{border-color:#6291a4;background:#19313f}:where(.spec-simulator) .gear-copy-summary{padding:10px;background:#163335;border-radius:8px;font-size:14px}:where(.spec-simulator) .equipment-result-column .equipment-save-bar{position:sticky;top:0;z-index:4;background:#152630}:where(.spec-simulator) .equipment-result-column .mobile-stat-tabs{top:116px}@media(max-width:500px){:where(.spec-simulator) .gear-baseline-choices,:where(.spec-simulator) .gear-baseline-choices.with-copy{grid-template-columns:minmax(0,1fr)}:where(.spec-simulator) .gear-baseline-choices>button{flex-basis:100%;min-height:76px}:where(.spec-simulator) .equipment-save-bar>button{width:100%}}
:where(.spec-simulator) .basic-gear-input{margin-top:18px;padding-top:16px;border-top:1px solid #344b5d}:where(.spec-simulator) .basic-gear-label{display:block;margin-bottom:8px;font-size:15px;color:#b9cedd}:where(.spec-simulator) .basic-gear-buttons{display:flex;flex-wrap:wrap;gap:10px}:where(.spec-simulator) .basic-gear-buttons button{min-height:48px;padding:10px 18px;font-size:16px;font-weight:700;border:1px solid #557084;border-radius:8px;background:#182b3b;color:#d9e6ef}:where(.spec-simulator) .basic-gear-buttons button[aria-pressed=true]{border-color:#e8c17a;background:#e8c17a;color:#17202a}:where(.spec-simulator) .basic-gear-input p{font-size:13px;line-height:1.5;color:#b9cedd;margin:9px 0 0}@media(max-width:500px){:where(.spec-simulator) .basic-gear-buttons{display:grid;grid-template-columns:minmax(0,1fr)}:where(.spec-simulator) .basic-gear-buttons button{width:100%}}


:where(.spec-simulator) .live-attributes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}:where(.spec-simulator) .live-attributes>div{display:flex;flex-direction:column;align-items:center;gap:4px;background:#1c2d3b;border:1px solid #3b5264;border-radius:10px;padding:12px 4px}:where(.spec-simulator) .live-attributes small{font-size:14px;color:#b7cbd9}:where(.spec-simulator) .live-attributes strong{font-size:28px;line-height:1.2}:where(.spec-simulator) .live-attributes .live-delta{font-size:14px}:where(.spec-simulator) .live-gear-impact{padding:12px;margin:12px 0;border:1px solid #597b74;border-radius:10px;background:#132b2b}:where(.spec-simulator) .live-gear-impact>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}:where(.spec-simulator) .live-gear-impact span{padding:5px 7px;background:#203d3c;border-radius:5px;font-size:13px}:where(.spec-simulator) .live-gear-impact strong{color:#92e0ca}:where(.spec-simulator) .live-gear-impact p{margin:6px 0 0;font-size:13px}:where(.spec-simulator) .live-gear-baseline p{font-size:14px;line-height:1.5}:where(.spec-simulator) .mobile-stat-tabs{display:none}:where(.spec-simulator) .mobile-stat-pane[hidden]{display:none!important}@media(max-width:700px){:where(.spec-simulator) .mobile-stat-tabs{display:flex;gap:6px;padding:5px;margin:12px 0 16px;border:1px solid #42596b;border-radius:12px;background:#0c1822}:where(.spec-simulator) .mobile-stat-tabs button{flex:1;min-width:0;min-height:46px;padding:10px 5px;border:0;border-radius:8px;background:transparent;color:#b7cbd9;font-size:15px;font-weight:700;white-space:nowrap}:where(.spec-simulator) .mobile-stat-tabs button[aria-selected=true]{background:#e8c17a;color:#17202a;box-shadow:0 2px 8px #0003}:where(.spec-simulator) .mobile-stat-tabs button:focus-visible{outline:2px solid #82d6e5;outline-offset:2px}:where(.spec-simulator) .mobile-stat-pane{min-width:0}:where(.spec-simulator) .mobile-stat-pane>.settings-section:first-child,:where(.spec-simulator) .mobile-stat-pane>.final-group:first-child{margin-top:0}:where(.spec-simulator) .mobile-stat-pane .detail-frame{margin-top:0}:where(.spec-simulator) .final-class>.mobile-stat-views{margin-bottom:12px}}:where(.spec-simulator) .catalyst-auto{margin:16px 0;padding:16px;border:1px solid #807044;border-radius:12px;background:#1d2c32}:where(.spec-simulator) .catalyst-auto-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0}:where(.spec-simulator) .catalyst-auto-row strong{font-size:18px;color:#8ee1cb}:where(.spec-simulator) .catalyst-auto-row small{color:#b4c6d2}:where(.spec-simulator) .catalyst-info{margin:18px 0;border:1px solid #526777;border-radius:12px;padding:16px;background:#111d28}:where(.spec-simulator) .catalyst-info>summary{font-size:18px;font-weight:700;color:#eac481;cursor:pointer}:where(.spec-simulator) .catalyst-info-card{margin-top:16px}:where(.spec-simulator) .catalyst-info-card h4{display:flex;align-items:center;gap:10px;font-size:17px;margin:0 0 8px}:where(.spec-simulator) .catalyst-info-card h4 span{font-size:14px;color:#afc6d7;font-weight:400}:where(.spec-simulator) .catalyst-table-scroll{overflow-x:auto}:where(.spec-simulator) .catalyst-info table{width:100%;min-width:530px;font-size:15px;border-collapse:collapse}:where(.spec-simulator) .catalyst-info th,:where(.spec-simulator) .catalyst-info td{text-align:center;padding:12px 8px;white-space:nowrap;border-bottom:1px solid #344a5c}:where(.spec-simulator) .catalyst-info thead{background:#203342}:where(.spec-simulator) .catalyst-info .catalyst-current{background:#413820;color:#ffe0a3}:where(.spec-simulator) .catalyst-current small{display:block;font-size:12px}:where(.spec-simulator) .catalyst-info p{font-size:15px;line-height:1.6}
:where(.spec-simulator) .simulator-workflow{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid #344b5d}:where(.spec-simulator) .simulator-workflow a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border:1px solid #465d70;border-radius:8px;color:#bdd0df;text-decoration:none;font-size:16px;font-weight:700}:where(.spec-simulator) .simulator-workflow a[aria-current=page]{background:#e8c17a;border-color:#e8c17a;color:#17202a}:where(.spec-simulator) .simulator-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}:where(.spec-simulator) .simulator-plan-actions,:where(.spec-simulator) .simulator-settings-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}:where(.spec-simulator) .simulator-toolbar span{font-size:13px;color:#a9becf;margin-right:5px}:where(.spec-simulator) .simulator-settings-actions button{font-size:14px}:where(.spec-simulator) .simulator-toolbar button{min-height:44px}:where(.spec-simulator) #setupSwitcher:empty{display:none}@media(max-width:620px){:where(.spec-simulator) .simulator-workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}:where(.spec-simulator) .simulator-workflow a{padding:8px 4px;font-size:13px;text-align:center}:where(.spec-simulator) .simulator-toolbar{display:grid}:where(.spec-simulator) .simulator-plan-actions,:where(.spec-simulator) .simulator-settings-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}:where(.spec-simulator) .simulator-toolbar span{grid-column:1/-1}:where(.spec-simulator) .simulator-plan-actions button{grid-column:1/-1}:where(.spec-simulator) .simulator-settings-actions button{padding-inline:6px}}:where(.spec-simulator) .layout.equipment-focus{grid-template-columns:minmax(0,1fr)}:where(.spec-simulator) .layout.equipment-focus>aside{display:none}:where(.spec-simulator) .equipment-layout-container{container-type:inline-size;scroll-margin-top:76px}:where(.spec-simulator) .final-wear-preview iframe{display:block;width:100%;height:540px;border:0;background:#111b25;border-radius:10px}:where(.spec-simulator) .final-wear-preview p{font-size:13px;line-height:1.5}:where(.spec-simulator) .final-class .mobile-stat-tabs{display:flex;gap:6px;padding:5px;margin:12px 0;border:1px solid #42596b;border-radius:10px;background:#0c1822}:where(.spec-simulator) .final-class .mobile-stat-tabs button{flex:1;min-width:0;min-height:46px;padding:10px 4px;border:0;border-radius:7px;background:transparent;color:#b7cbd9;font-size:15px;font-weight:700;white-space:nowrap}:where(.spec-simulator) .final-class .mobile-stat-tabs button[aria-selected=true]{background:#e8c17a;color:#17202a}:where(.spec-simulator) .equipment-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}:where(.spec-simulator) .equipment-fitting-column{min-width:0}:where(.spec-simulator) .equipment-workspace .native-wear-inline{width:100%;max-width:460px;margin-inline:auto;box-sizing:border-box}:where(.spec-simulator) .equipment-result-column{min-width:0;border:1px solid #476171;background:#101d28;border-radius:12px;padding:16px}:where(.spec-simulator) .equipment-result-column .mobile-stat-tabs{display:flex;gap:6px;padding:5px;margin:12px 0 16px;border:1px solid #42596b;border-radius:12px;background:#0c1822}:where(.spec-simulator) .equipment-result-column .mobile-stat-tabs button{flex:1;min-width:0;min-height:46px;padding:10px 5px;border:0;border-radius:8px;background:transparent;color:#b7cbd9;font-size:16px;font-weight:700}:where(.spec-simulator) .equipment-result-column .mobile-stat-tabs button[aria-selected=true]{background:#e8c17a;color:#17202a}:where(.spec-simulator) .equipment-result-column>h3{font-size:20px;color:#eac481;margin:0 0 8px}:where(.spec-simulator) .equipment-result-column>p{font-size:14px;margin:0 0 14px}:where(.spec-simulator) .equipment-result-column .gear-baseline-actions{gap:6px;margin:10px 0}:where(.spec-simulator) .equipment-result-column .gear-baseline-actions button{font-size:13px;padding:9px;min-height:42px}:where(.spec-simulator) .equipment-result-column .final-attrs{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}:where(.spec-simulator) .equipment-result-column .final-attrs>div{padding:8px 3px}:where(.spec-simulator) .equipment-result-column .final-attrs b{font-size:18px}:where(.spec-simulator) .equipment-result-column table{width:100%;min-width:0;table-layout:fixed;font-size:14px}:where(.spec-simulator) .equipment-result-column th,:where(.spec-simulator) .equipment-result-column td{padding:9px 5px;white-space:normal;overflow-wrap:anywhere}:where(.spec-simulator) .equipment-result-column th:first-child{width:38%}:where(.spec-simulator) .equipment-result-column th:not(:first-child){width:20.66%}@container(min-width:740px){:where(.spec-simulator) .equipment-workspace{grid-template-columns:minmax(280px,420px) minmax(340px,1fr)}:where(.spec-simulator) .equipment-fitting-column,:where(.spec-simulator) .equipment-result-column{max-height:calc(100dvh - 96px);overflow:auto;overscroll-behavior:contain}:where(.spec-simulator) .equipment-result-column .mobile-stat-tabs{position:sticky;top:0;z-index:2}}:where(.spec-simulator) .native-wear-inline{border:1px solid #405566;border-radius:12px;overflow:hidden;background:#111b25}:where(.spec-simulator) .native-wear-inline iframe{display:block;width:100%;height:640px;border:0}:where(.spec-simulator) .native-wear-inline p{font-size:14px;padding:0 14px;color:#a5b9cc}:where(.spec-simulator) .site-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}:where(.spec-simulator) .site-actions a{color:#eac481}:where(.spec-simulator) .site-guide-context{padding:14px;background:#1a2e3d;border-radius:10px;margin:12px 0}:where(.spec-simulator) .site-guide-context small{display:block;margin-top:8px}:where(.spec-simulator) .native-wear-launch{width:100%;min-height:60px;font-size:20px}:where(.spec-simulator) .native-wear-snapshot{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin:18px 0}:where(.spec-simulator) .native-wear-snapshot button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px;font-size:14px}:where(.spec-simulator) .native-wear-snapshot button small{color:#b0c8db}:where(.spec-simulator) .native-wear-snapshot button b{font-size:20px;color:#eac481}:where(.spec-simulator) .native-wear-dialog{width:min(900px,96vw);height:92dvh;max-height:94dvh;background:#14202d;color:#edf3f9;border:1px solid #75899b;border-radius:12px;padding:14px;overflow:hidden}:where(.spec-simulator) .native-wear-dialog::backdrop{background:#050a11cc}:where(.spec-simulator) .native-wear-dialog .skill-dialog-heading{height:46px;margin:0;padding:0}:where(.spec-simulator) .native-wear-dialog iframe{width:100%;height:calc(100% - 100px);border:0}:where(.spec-simulator) .native-wear-dialog p{font-size:14px;margin:10px 0}:where(.spec-simulator) .site-note{max-width:900px;font-size:15px}:where(.spec-simulator) button,:where(.spec-simulator) a,:where(.spec-simulator) input,:where(.spec-simulator) select{touch-action:manipulation}
@media(min-width:1024px) and (max-width:1450px){:where(.spec-simulator) .layout{grid-template-columns:minmax(0,1fr)}:where(.spec-simulator) .layout>aside{position:static}:where(.spec-simulator) .layout.final-wide{grid-template-columns:minmax(0,1fr)}}
@media(max-width:620px){main.spec-simulator{padding:14px}:where(.spec-simulator) .site-actions button{width:100%}:where(.spec-simulator) .native-wear-dialog{padding:8px;width:98vw}:where(.spec-simulator) .native-wear-dialog .skill-dialog-heading h3{font-size:17px}}

:where(.spec-simulator) .stepper:has(.allocate-max){grid-template-columns:30px minmax(0,1fr) 30px 30px;gap:5px}:where(.spec-simulator) .stepper:has(.allocate-max) button{height:44px;min-height:44px;min-width:0;padding:2px;font-size:20px;line-height:1;display:grid;place-items:center}:where(.spec-simulator) .stepper .allocate-max{color:#edc57f;border-color:#b0945f}:where(.spec-simulator) .stepper .allocate-max:disabled{color:#728291;border-color:#334452;opacity:.6}:where(.spec-simulator) .stat .allocate-max-hint{display:block;margin-top:7px;color:#b9cbd9;font-size:13px;line-height:1.4}@media(max-width:620px){:where(.spec-simulator) .stepper:has(.allocate-max){grid-template-columns:24px minmax(0,1fr) 24px 24px;gap:3px}:where(.spec-simulator) .stepper:has(.allocate-max) input{min-width:0;font-size:18px}:where(.spec-simulator) .stat .allocate-max-hint{font-size:12px}}

:where(.spec-simulator) iframe.native-wear-expanded{position:fixed!important;inset:12px!important;width:calc(100vw - 24px)!important;height:calc(100dvh - 24px)!important;max-height:none!important;z-index:10000;border-radius:12px;box-shadow:0 0 0 100vmax #060d16cc}

:where(.spec-simulator) .setup-next-guide{margin:14px 0;padding:16px;border:1px solid #6a8494;border-left:3px solid #eac481;border-radius:8px;background:#192f3b}:where(.spec-simulator) .setup-next-guide small{display:block;color:#eac481;font-size:12px;letter-spacing:.04em}:where(.spec-simulator) .setup-next-guide b{display:block;margin-top:7px;font-size:17px;line-height:1.5}:where(.spec-simulator) .setup-next-guide p{margin:8px 0 12px;color:#b9cddd;font-size:14px;line-height:1.65}:where(.spec-simulator) .setup-next-guide button{min-height:46px;padding:10px 16px;background:#eac481;color:#20190f;border:1px solid #f1d499;border-radius:6px;font-size:15px;font-weight:700}:where(.spec-simulator) .setup-next-guide button:hover{background:#f3d69e}:where(.spec-simulator) #live .setup-next-guide button{width:100%}

/* Readable equipment results at the full fitting-panel size. */
:where(.spec-simulator) #gearStageValues h3{font-size:22px;line-height:1.5;margin:16px 0 14px}
:where(.spec-simulator) #gearStageValues .final-attrs{gap:10px}
:where(.spec-simulator) #gearStageValues .final-attrs>div{height:128px;min-height:128px;padding:14px 8px;justify-content:center;gap:7px}
:where(.spec-simulator) #gearStageValues .final-attrs small{font-size:17px;line-height:1.3;font-weight:600;color:#bbd0e0}
:where(.spec-simulator) #gearStageValues .final-attrs b{font-size:32px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums}
:where(.spec-simulator) #gearStageValues .final-attrs .live-delta{font-size:18px;line-height:1.3;font-weight:700}
:where(.spec-simulator) #gearStageValues table{font-size:18px;line-height:1.5;font-variant-numeric:tabular-nums}
:where(.spec-simulator) #gearStageValues thead th{font-size:15px;font-weight:600;padding:14px 6px;color:#c1d5e5;white-space:nowrap}
:where(.spec-simulator) #gearStageValues tbody td{font-size:20px;font-weight:700;padding:14px 10px}
:where(.spec-simulator) #gearStageValues tbody td:first-child{font-size:18px;font-weight:600}
:where(.spec-simulator) #gearStageValues tbody td:last-child{font-size:20px;font-weight:800;color:#7de2df}
:where(.spec-simulator) #gearStageValues tbody tr:nth-child(even){background:#ffffff03}
:where(.spec-simulator) .equipment-result-column .mobile-stat-tabs button{font-size:18px;min-height:50px}
@media(max-width:620px){
 :where(.spec-simulator) #gearStageValues h3{font-size:20px}
 :where(.spec-simulator) #gearStageValues .final-attrs{gap:6px}
 :where(.spec-simulator) #gearStageValues .final-attrs>div{height:112px;min-height:112px;padding:12px 4px}
 :where(.spec-simulator) #gearStageValues .final-attrs small{font-size:15px}
 :where(.spec-simulator) #gearStageValues .final-attrs b{font-size:27px}
 :where(.spec-simulator) #gearStageValues .final-attrs .live-delta{font-size:16px}
 :where(.spec-simulator) #gearStageValues thead th{font-size:13px;padding:12px 5px}
 :where(.spec-simulator) #gearStageValues tbody td{font-size:17px;padding:13px 5px}
 :where(.spec-simulator) #gearStageValues tbody td:first-child{font-size:15px}
 :where(.spec-simulator) #gearStageValues tbody td:last-child{font-size:17px}
}

/* Show the three main combat attributes before secondary attributes. */
:where(.spec-simulator) .final-attrs{grid-template-columns:repeat(30,minmax(0,1fr));gap:8px}
:where(.spec-simulator) .final-attrs>div{grid-column:span 6}
:where(.spec-simulator) .final-attrs>div:nth-child(-n+3){grid-column:span 10;border-top:2px solid #eac481;background:#203644}
:where(.spec-simulator) #gearStageValues .final-attrs{grid-template-columns:repeat(30,minmax(0,1fr))}
:where(.spec-simulator) #gearStageValues .final-attrs>div:nth-child(-n+3) b{font-size:36px;color:#fff0d2}
:where(.spec-simulator) #gearStageValues .final-attrs>div:nth-child(n+4){height:112px;min-height:112px}
:where(.spec-simulator) #gearStageValues .final-attrs>div:nth-child(n+4) b{font-size:27px}
:where(.spec-simulator) .base-stat-inputs,:where(.spec-simulator) .stats{grid-template-columns:repeat(3,minmax(0,1fr))}
:where(.spec-simulator) .base-stat-inputs>label:nth-child(-n+3){padding:10px;border:1px solid #a58a53;border-radius:8px;background:#203644}
@media(max-width:620px){
 :where(.spec-simulator) .final-attrs,:where(.spec-simulator) #gearStageValues .final-attrs{grid-template-columns:repeat(6,minmax(0,1fr))}
 :where(.spec-simulator) .final-attrs>div,:where(.spec-simulator) .final-attrs>div:nth-child(-n+3){grid-column:span 2}
 :where(.spec-simulator) #gearStageValues .final-attrs>div:nth-child(-n+3) b{font-size:30px}
 :where(.spec-simulator) .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Use the desktop canvas; the navigation already reserves its own width. */
@media(min-width:1024px){
 main.spec-simulator.spec-simulator{width:100%;max-width:none;box-sizing:border-box;padding:28px 24px;margin-inline:0}
 :where(.spec-simulator) .equipment-workspace{grid-template-columns:minmax(320px,.85fr) minmax(420px,1fr);gap:20px}
 :where(.spec-simulator) .equipment-workspace .native-wear-inline{max-width:none;margin:0}
}
@container(min-width:1150px){
 :where(.spec-simulator) .equipment-workspace{grid-template-columns:minmax(660px,1.55fr) minmax(450px,1fr);gap:24px}
}
:where(.spec-simulator) .equipment-result-column .mobile-stat-tabs{position:static}
:where(.spec-simulator) .equipment-result-column .equipment-save-bar small{display:none}
:where(.spec-simulator) #nativeWearFeedback>.mobile-stat-views>.mobile-stat-tabs{margin-top:14px;background:#203541;border-color:#658090}
:where(.spec-simulator) .gear-reference-pane .gear-baseline-guide{margin-top:10px}
@media(max-width:760px){
 :where(.spec-simulator) .equipment-workspace{grid-template-columns:minmax(0,1fr)}
 :where(.spec-simulator) .equipment-fitting-column,:where(.spec-simulator) .equipment-result-column{max-height:none;overflow:visible}
 :where(.spec-simulator) .equipment-workspace .native-wear-inline{width:100%;max-width:none}
 :where(.spec-simulator) iframe.native-wear-expanded{inset:0!important;width:100vw!important;height:100dvh!important;border-radius:0}
}

:where(.spec-simulator) .gear-start-guide h4{margin:12px 0;font-size:19px;color:#eac481}
:where(.spec-simulator) .gear-start-guide p{font-size:16px;line-height:1.75;color:#c8d9e6}
:where(.spec-simulator) .gear-start-guide .registered-gear{padding:14px;background:#1b3440;border:1px solid #507282;border-radius:8px}
:where(.spec-simulator) .gear-reference-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
:where(.spec-simulator) .gear-reference-actions button,:where(.spec-simulator) .gear-show-result{min-height:46px;padding:10px 14px;font-size:16px}
:where(.spec-simulator) .gear-show-result{margin-top:16px;width:100%;background:#eac481;color:#211c13;border-color:#f0d39a;font-weight:700}
:where(.spec-simulator) #gearStageValues .gear-effect-breakdown{margin:20px 0 8px;padding:12px;border:1px solid #506c80;border-radius:8px}
:where(.spec-simulator) #gearStageValues .gear-effect-breakdown summary{font-size:17px;color:#eac481;cursor:pointer}
:where(.spec-simulator) #gearStageValues .gear-effect-breakdown p{font-size:14px;line-height:1.7}
:where(.spec-simulator) #gearStageValues .gear-effect-breakdown table :is(th,td){font-size:14px;padding:10px 5px;white-space:normal}
@media(max-width:620px){:where(.spec-simulator) #gearStageValues .gear-effect-breakdown{padding:8px}:where(.spec-simulator) #gearStageValues .gear-effect-breakdown table :is(th,td){font-size:12px;padding:10px 3px}}

:where(.spec-simulator) .gear-item-options{padding:0;list-style:none}:where(.spec-simulator) .gear-item-options li{padding:10px 0;border-bottom:1px solid #3e596d}:where(.spec-simulator) .gear-item-options b{display:block;font-size:15px}:where(.spec-simulator) .gear-item-options span{display:block;margin-top:6px;font-size:14px;line-height:1.6;color:#bcd6e6}


:where(.spec-simulator) .naked-input-guide,:where(.spec-simulator) .gear-carryover-note{padding:16px;border:2px solid #eac481;border-radius:8px;background:#302b20;color:#ffe4ac;line-height:1.75}:where(.spec-simulator) .naked-input-guide>b{display:block;font-size:21px}:where(.spec-simulator) .naked-input-guide p,:where(.spec-simulator) .gear-carryover-note p{font-size:16px;margin:8px 0}:where(.spec-simulator) .gear-formula{padding:16px;border:2px solid #d6ae65;background:#302b20;border-radius:8px}:where(.spec-simulator) .gear-formula b{font-size:19px;color:#ffe4ac}:where(.spec-simulator) .gear-carryover-note{margin-bottom:16px}

:where(.spec-simulator) .flow-complete-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:16px 0;padding:14px 16px;background:#203542;border:1px solid #647c8b;border-radius:8px}:where(.spec-simulator) .flow-complete-bar p{margin:0;font-size:16px;line-height:1.6}:where(.spec-simulator) .flow-complete-bar button{min-height:48px;font-size:17px;font-weight:700}:where(.spec-simulator) #tabs button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:700px){:where(.spec-simulator) .flow-complete-bar button{width:100%}}

:where(.spec-simulator) .inner-tabs button:disabled{opacity:.45;cursor:not-allowed}

:where(.spec-simulator) .input-manual-entry{display:flex;justify-content:flex-end;margin:0 0 18px}
:where(.spec-simulator) .input-manual-entry button{font-size:17px;min-height:46px;padding:10px 24px;border:1px solid #dfb76b;color:#f6d89f;background:#302b20;border-radius:8px;font-weight:700}
:where(.spec-simulator) .input-manual-dialog{width:min(1200px,calc(100vw - 40px));max-width:none;max-height:90dvh;padding:0;border:1px solid #b79a61;border-radius:14px;background:#12212d;color:#e9f1f7;box-shadow:0 24px 90px #0009}
:where(.spec-simulator) .input-manual-dialog[open]{display:flex;flex-direction:column}
:where(.spec-simulator) .input-manual-dialog::backdrop{background:#000b}
:where(.spec-simulator) .input-manual-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid #3c5362;flex-shrink:0}
:where(.spec-simulator) .input-manual-header span{font-size:15px;color:#eac481}
:where(.spec-simulator) .input-manual-header h2{font-size:26px;line-height:1.45;margin:8px 0 0}
:where(.spec-simulator) .input-manual-dialog button{font-size:17px;min-height:46px;white-space:nowrap}
:where(.spec-simulator) .input-manual-content{overflow:auto;padding:20px 26px;font-size:18px;line-height:1.8}
:where(.spec-simulator) .input-manual-content p{margin:0 0 18px}
:where(.spec-simulator) .input-manual-content figure{margin:0 0 18px}
:where(.spec-simulator) .input-manual-content img{display:block;width:100%;height:auto;border:1px solid #526875;border-radius:8px}
:where(.spec-simulator) .input-manual-content figcaption{font-size:15px;color:#bbd0df;margin-top:8px}
:where(.spec-simulator) .input-manual-content .manual-note{padding:14px 18px;border-left:3px solid #eac481;background:#203542;margin-bottom:0}
:where(.spec-simulator) .input-manual-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 26px;border-top:1px solid #3c5362;flex-shrink:0}
:where(.spec-simulator) .input-manual-footer button{min-width:120px}
:where(.spec-simulator) .manual-examples{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}
:where(.spec-simulator) .manual-examples>div{display:grid;gap:12px;padding:24px;background:#203542;border:1px solid #536c7d;border-radius:10px;text-align:center}
:where(.spec-simulator) .manual-examples b{font-size:24px}:where(.spec-simulator) .manual-examples strong{font-size:30px;color:#f5cd85}:where(.spec-simulator) .manual-examples span{color:#bbd0df;font-size:16px}
:where(.spec-simulator) .manual-save-steps{padding-left:28px}:where(.spec-simulator) .manual-save-steps li{padding:8px 0}
@media(max-width:600px){:where(.spec-simulator) .input-manual-dialog{width:calc(100vw - 20px);max-height:94dvh}:where(.spec-simulator) .input-manual-header{padding:16px;gap:10px}:where(.spec-simulator) .input-manual-header h2{font-size:21px}:where(.spec-simulator) .input-manual-header span{font-size:13px}:where(.spec-simulator) .input-manual-content{padding:16px;font-size:17px}:where(.spec-simulator) .input-manual-footer{padding:12px 16px}:where(.spec-simulator) .input-manual-footer button{min-width:90px}:where(.spec-simulator) .manual-examples{grid-template-columns:1fr}:where(.spec-simulator) .manual-examples>div{padding:16px}}
:where(.spec-simulator) .character-profile{display:flex;flex-wrap:wrap;align-items:flex-start;gap:16px 24px}
:where(.spec-simulator) .character-profile>h3{flex:1 0 100%;margin:0}
:where(.spec-simulator) .character-profile .profile-controls{display:flex;gap:18px;align-items:flex-start;margin:0}
:where(.spec-simulator) .character-profile .profile-controls label:first-child{width:180px}
:where(.spec-simulator) .character-profile .profile-controls label:last-child{width:90px}
:where(.spec-simulator) .character-profile .profile-controls label{font-size:16px}
:where(.spec-simulator) .character-profile .profile-controls :is(select,input){min-height:48px}
:where(.spec-simulator) .character-profile .basic-gear-input{flex:1 1 400px;margin:0;padding:0 0 0 24px;border-top:0;border-left:1px solid #3e5667}
:where(.spec-simulator) .character-profile .basic-gear-label{font-size:16px;margin-bottom:9px}
:where(.spec-simulator) .character-profile .basic-gear-buttons{display:flex;gap:8px;flex-wrap:wrap}
:where(.spec-simulator) .character-profile .basic-gear-buttons button{font-size:16px;min-height:48px;padding:10px 16px}
:where(.spec-simulator) .character-profile .basic-gear-input p{font-size:14px;line-height:1.6}
@media(max-width:900px){:where(.spec-simulator) .input-guide-steps{grid-template-columns:1fr}:where(.spec-simulator) .baseline-input-guide h3{font-size:20px}:where(.spec-simulator) .character-profile .basic-gear-input{flex-basis:100%;border-left:0;border-top:1px solid #3e5667;padding:16px 0 0}}
@media(max-width:600px){:where(.spec-simulator) .baseline-input-guide{padding:16px}:where(.spec-simulator) .character-profile .basic-gear-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}:where(.spec-simulator) .character-profile .basic-gear-buttons button{white-space:normal;line-height:1.5;font-size:15px;padding:10px 8px}}

:where(.spec-simulator) .baseline-live-action{width:100%;min-height:48px;margin-top:12px;font-size:17px;font-weight:700}:where(.spec-simulator) .baseline-live-action:disabled{opacity:.5;cursor:not-allowed}

:where(.spec-simulator) .sp-change-explanation{padding:16px;border:1px solid #5a7485;border-radius:8px;background:#203542;margin:14px 0;font-size:17px;line-height:1.7}:where(.spec-simulator) .sp-change-explanation>b{font-size:20px;color:#f4d18d}:where(.spec-simulator) .sp-change-explanation p{margin:8px 0}:where(.spec-simulator) .sp-change-explanation small{font-size:15px;color:#c4d8e4}body.spec-simulator-page{margin:0;background:#0d1218}

/* Keep mobile number fields wide enough for full stat values. */
:where(.spec-simulator) .stat-change-context{border:1px solid #465d70;border-radius:8px;padding:12px 14px;background:#142632;margin:14px 0}
:where(.spec-simulator) .stat-change-context summary{font-weight:700;color:#edcc8e;font-size:16px}
:where(.spec-simulator) .stat-change-context p{font-size:15px;line-height:1.65;margin:10px 0}
@media(max-width:620px){
 main.spec-simulator{padding-inline:12px}
 :where(.spec-simulator) #panel{padding:12px}
 :where(.spec-simulator) .base-stat-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 :where(.spec-simulator) .base-stat-inputs>label,:where(.spec-simulator) .base-stat-inputs>label:nth-child(-n+3){display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:8px;min-width:0;font-size:15px}
 :where(.spec-simulator) .base-stat-inputs input[type=number]{width:100%;min-width:0;max-width:100%;height:46px;flex:none;font-size:20px;padding:8px;text-align:center}
 :where(.spec-simulator) .detail-frame{min-width:0;padding:10px;margin-inline:0}
 :where(.spec-simulator) .settings-section{padding:12px}
 :where(.spec-simulator) .settings-section h3{font-size:18px;gap:8px;flex-wrap:wrap;margin-bottom:12px}
 :where(.spec-simulator) .metric-inputs{gap:10px}
 :where(.spec-simulator) .metric-inputs label{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,38%);gap:10px;font-size:16px;line-height:1.5;min-width:0}
 :where(.spec-simulator) .metric-inputs input[type=number]{width:100%;height:46px;min-width:0;font-size:19px;padding:8px}
 :where(.spec-simulator) .settings-save-bar{display:grid;gap:12px;padding-top:14px}
 :where(.spec-simulator) .settings-save-bar p{min-width:0;font-size:14px;line-height:1.6}
 :where(.spec-simulator) .settings-save-bar>button{width:100%;min-height:48px;font-size:17px}
 :where(.spec-simulator) .stat-change-context{padding:10px}
 :where(.spec-simulator) .stat-change-context table{font-size:13px}
}

:where(.spec-simulator) .change-stage-labels{display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:3px;align-items:center;text-align:center;font-size:13px;line-height:1.45;min-width:0}
:where(.spec-simulator) .change-stage-labels>span{white-space:nowrap}

/* Give each allocated stat the same footprint, with CON/WIS tones. */
:where(.spec-simulator) .stat:has(input[data-stat="CON"]){border-color:#78bda5;background:#142923}
:where(.spec-simulator) .stat:has(input[data-stat="CON"])>b{color:#8cddc3}
:where(.spec-simulator) .stat:has(input[data-stat="WIS"]){border-color:#78a9ce;background:#142534}
:where(.spec-simulator) .stat:has(input[data-stat="WIS"])>b{color:#98c8ed}
:where(.spec-simulator) .tone-con{--area:#8cddc3}
:where(.spec-simulator) .tone-wis{--area:#98c8ed}
@media(max-width:360px){
 :where(.spec-simulator) .stats{gap:10px}
 :where(.spec-simulator) .stats>.stat{padding:6px}
 :where(.spec-simulator) .stats>.stat .allocation-hint{font-size:12px;line-height:1.4}
 :where(.spec-simulator) .stepper:has(.allocate-max){grid-template-columns:20px minmax(0,1fr) 20px 20px;gap:2px}
 :where(.spec-simulator) .stepper:has(.allocate-max) input{font-size:16px;padding-inline:0}
}

:where(.spec-simulator) .buff-bulk-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px;margin:0 0 16px;border:1px solid #465d70;border-radius:10px;background:#172a36}
:where(.spec-simulator) .buff-bulk-buttons{display:flex;gap:8px}
:where(.spec-simulator) .buff-bulk-buttons button{min-height:44px;min-width:112px;font-size:16px;font-weight:700}
:where(.spec-simulator) .buff-bulk-actions small{font-size:13px;line-height:1.6}
@media(max-width:620px){:where(.spec-simulator) .buff-bulk-actions{display:grid;grid-template-columns:minmax(0,1fr)}:where(.spec-simulator) .buff-bulk-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}:where(.spec-simulator) .buff-bulk-buttons button{min-width:0;padding:10px 6px}}
