:root{--navy:#14233d;--ink:#20314d;--muted:#8793a7;--orange:#f47c36;--bg:#f4f6fa;--line:#e2e7ef;--white:#fff}*{box-sizing:border-box}body{margin:0;font-family:"Malgun Gothic","맑은 고딕",sans-serif;font-size:12px;color:var(--ink);background:var(--bg);letter-spacing:-.3px}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button,a,input,select{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #f6a06d}button{border:0}input,select{border:1px solid #dfe5ed;border-radius:6px;background:white;padding:8px 10px;min-width:0}input[type=checkbox],input[type=radio]{accent-color:var(--orange);width:15px;height:15px;margin:0;cursor:pointer}input[readonly]{background:#eef2f7;color:#70819b;cursor:default}input:invalid:not(:placeholder-shown){box-shadow:none}h1,h2,h3,p{margin:0}.hidden{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:206px;background:var(--navy);color:#b2bed1;padding:32px 17px 23px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:white;white-space:nowrap;font-size:18px;font-weight:800;letter-spacing:.3px;padding-left:8px}.brand small{display:block;font-weight:400;font-size:8px;letter-spacing:1.4px;color:#91a0b8;margin-top:6px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;background:var(--orange);border-radius:9px;font-size:28px;font-style:italic;font-weight:700}.nav-caption{font-size:9px;letter-spacing:2px;color:#687d9d;margin:43px 15px 13px}nav{display:grid;gap:6px}nav button{display:flex;gap:12px;align-items:center;text-align:left;background:none;color:#acbbd2;border-radius:8px;padding:13px 13px;font-size:13px;font-weight:600;min-height:44px}nav button:hover{background:#24354f}nav button.active{background:#2b3a53;box-shadow:inset 3px 0 var(--orange);color:white}nav button.active .nav-icon{color:#ffa16b}.nav-icon{width:20px;text-align:center;font-size:21px;font-weight:400;line-height:1;color:#94a7c2}.nav-count{margin-left:auto;font-size:10px;color:#aab9d0;background:#394a65;padding:3px 6px;border-radius:4px}.nav-divider{height:1px;background:#2a3a53;margin:15px 12px}.mini-new{font-size:8px;font-weight:400;color:#ae947f;margin-left:auto;border:1px solid #4a4546;padding:2px 4px;border-radius:3px}.chevron{margin-left:auto;color:#6d809e}.sub-nav{margin-left:24px;padding-top:10px;padding-bottom:10px;font-size:12px}.sub-dot{width:4px;height:4px;background:#647b9d;border-radius:50%;margin:0 6px}.sidebar-foot{margin-top:auto;padding:20px 10px 0;border-top:1px solid #2d3d55;color:#91a1bb;font-size:10px;line-height:1.9}.sidebar-foot b{font-size:11px;color:#d7dfeb;font-weight:500}.sidebar-foot p{margin:8px 0}.sidebar-foot>span:last-child{font-size:9px;color:#69819f}.online-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#f29b65;margin-right:6px}.main{margin-left:206px;padding:0 28px 24px;min-width:0}.topbar{height:47px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:10px;color:#92a0b2}.topbar>div{display:flex;gap:9px;align-items:center}.draft-badge{font-size:9px;border:1px solid #e8d7c0;background:#fff8ed;color:#a5733d;padding:4px 8px;border-radius:4px}.top-note{color:#a1adbd;font-size:9px}.page-header{display:flex;align-items:center;justify-content:space-between;padding:22px 0 20px;gap:20px}.eyebrow{font-size:9px;color:#8e9bb0;font-weight:700;letter-spacing:2px;margin-bottom:7px}h1{font-size:27px;letter-spacing:-1.2px;line-height:1.15}.page-subtitle{font-size:11px;color:#8491a5;margin-top:10px}.account-device{min-width:342px;border:1px solid #e4e9f0;border-radius:8px;background:#fff;padding:10px 13px}.account-link{display:flex;align-items:center;gap:7px;width:100%;background:none;color:#8b98aa;text-align:left;padding:0 0 9px;border-bottom:1px solid #edf0f5;font-size:10px}.account-link>span:last-child{margin-left:auto;color:#a7b2c2}.account-icon{font-size:14px;color:#8b9db5}.sync-control{display:flex;align-items:center;gap:12px;min-height:31px;padding-top:7px}.check-label{display:flex;gap:7px;align-items:center;white-space:nowrap;font-size:11px;font-weight:600}.sync-level{display:flex;align-items:center;gap:4px;font-size:9px;color:#8d9bae}.sync-level input{width:62px;height:26px;padding:4px 5px;text-align:right;font-size:11px}.scope-badge{margin-left:auto;font-size:9px;padding:3px 6px;border-radius:4px;background:#f0f3f8;color:#8798ae;white-space:nowrap}.scope-badge.virtual{background:#fff2e8;color:#b1794b}.sync-note{margin-top:6px;font-size:9px;color:#a2adbc}.storage-error{padding:11px 14px;background:#fff1ed;color:#b45c44;border:1px solid #f5d7cb;border-radius:7px;margin-bottom:14px;font-size:11px}.scope-notice{display:flex;gap:12px;align-items:center;background:#fff6eb;border:1px solid #f0e0cb;color:#aa7d47;padding:11px 15px;border-radius:7px;margin:0 0 18px;font-size:10px}.scope-notice b{font-size:11px}.roster-heading{display:flex;align-items:center;gap:16px;margin:0 0 12px;min-height:29px}.roster-heading>div{display:flex;align-items:center;gap:9px}.roster-heading h2{font-size:16px}.roster-total{font-size:10px;color:#8f9bad;background:#e8edf4;padding:4px 7px;border-radius:4px}.roster-heading p{font-size:10px;color:#929eb0;margin-left:4px}.owned-summary{margin-left:auto;font-size:11px;color:#76889f}.owned-summary b{color:var(--orange);font-weight:700}.filter-panel{border:1px solid #e0e6ef;background:#fff;border-radius:10px;overflow:hidden}.filter-row{display:flex;align-items:center;gap:22px;padding:13px 17px}.first-row{border-bottom:1px solid #edf1f5}.search-box{display:flex;align-items:center;gap:10px;max-width:487px;flex:1;background:#f6f8fb;border:1px solid #e7ecf2;border-radius:6px;padding:0 10px}.search-box svg{width:17px;height:17px;stroke:#93a1b5;stroke-width:1.7;fill:none;flex:none}.search-box input{width:100%;border:0;background:transparent;padding:9px 0;font-size:11px;outline-offset:0}.search-box input::placeholder{color:#a1adbd}.search-key{font-size:8px;color:#b1bac8;border:1px solid #e0e6ed;padding:2px 4px;border-radius:3px;white-space:nowrap}.sort-options{display:flex;align-items:center;gap:21px;border:0;margin:0 0 0 auto;padding:0}.sort-options legend{display:none}.sort-options label{display:flex;gap:7px;align-items:center;font-size:11px;color:#7e8ea4;white-space:nowrap}.sort-options input{width:14px;height:14px}.sort-hint{color:#b0bac9;font-size:10px;margin-left:-3px}.second-row{padding-top:10px;padding-bottom:10px;gap:25px}.filter-label{font-size:10px;color:#7f8da2;white-space:nowrap}.burst-filter{display:flex;align-items:center;gap:12px}.burst-filter>div{display:flex;gap:6px}.burst-filter button{width:35px;height:28px;border:1px solid #e0e5ed;background:#fbfcfe;border-radius:5px;color:#8c9ab0;font-size:14px;font-weight:700}.burst-filter button[aria-pressed=true]{border-color:#eab089;color:#bf692e;background:#fff0e4;box-shadow:0 0 0 1px #f4caaa50}.filter-help{font-size:9px;color:#a6b0be}.manufacturer-filter{display:flex;align-items:center;gap:12px;border-left:1px solid #e7ecf2;padding-left:25px}.manufacturer-filter select{height:29px;padding:4px 28px 4px 9px;min-width:131px;font-size:10px;background:#fbfcfe}.reset-filters{margin-left:auto;background:none;color:#98a5b6;font-size:10px;padding:3px 0;white-space:nowrap}.latest-note{font-size:9px;color:#a28a70}.list-status{display:flex;justify-content:space-between;align-items:center;padding:14px 0 11px;color:#8b99ad;font-size:10px}.list-status b{color:#425a7b;font-size:12px;margin-right:2px}.list-status #filterStatus{font-size:9px;color:#9fabbc;margin-left:6px}.legend{display:flex;align-items:center;gap:5px;color:#9ca8ba;font-size:9px}.legend i{display:block;width:6px;height:6px;border-radius:50%;margin-left:10px}.legend-color{background:#f08c4e}.legend-gray{background:#c3ccd8}.character-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:11px}.character-card{display:flex;flex-direction:column;position:relative;min-width:0;border:1px solid #dfe5ee;border-radius:8px;overflow:hidden;background:#fff;padding:0;text-align:left;transition:transform .12s,border-color .12s,box-shadow .12s}.character-card:hover{transform:translateY(-2px);border-color:#eea06e;box-shadow:0 4px 12px #203c6012}.character-card:focus-visible{outline-offset:2px}.character-card.saved{border-color:#e8b594;box-shadow:inset 0 -2px #f6b98e}.portrait-wrap{width:100%;height:116px;position:relative;overflow:hidden;background:#fafbfd;border-bottom:1px solid #eef1f5}.portrait-wrap img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;filter:grayscale(1) saturate(0);opacity:.52;transition:filter .2s,opacity .2s}.character-card:hover .portrait-wrap img{opacity:.8}.character-card.saved .portrait-wrap img{filter:none;opacity:1}.portrait-placeholder{width:100%;height:100%;display:grid;place-content:center;gap:5px;text-align:center;background:linear-gradient(145deg,#f2f5f9,#e7edf4);color:#bbc7d7;font-size:24px}.portrait-placeholder small{font-size:8px;letter-spacing:.4px;color:#a8b5c8}.card-bursts{position:absolute;top:6px;left:6px;display:flex;gap:2px}.burst-badge{display:grid;place-items:center;background:#f2f4f7df;color:#8c98ab;font-size:10px;font-weight:700;min-width:18px;height:18px;border-radius:4px;border:1px solid #dfe5edb3;padding:0 3px;line-height:1}.saved .burst-badge{background:#fff2e6e8;color:#b37742;border-color:#f0d2b5}.card-rarity{position:absolute;right:5px;top:7px;font-size:8px;letter-spacing:.6px;font-weight:700;color:#9aa7ba}.saved .card-rarity{color:#c59654}.card-content{padding:8px 8px 7px;min-height:62px}.card-name{font-size:10px;font-weight:700;line-height:1.45;color:#667990;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:28px;letter-spacing:-.5px}.saved .card-name{color:#253b5c}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:2px;margin-top:5px;font-size:8px;color:#a5afbf}.card-company{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-owned{font-size:8px;color:#acb6c4;white-space:nowrap}.saved .card-owned{color:#cc834e}.card-power{padding:0 8px 7px;font-size:8px;color:#9eabbe;display:flex;justify-content:space-between}.saved .card-power b{color:#7f8fa6;font-weight:500}.empty-state{text-align:center;background:white;border:1px dashed #d6deea;border-radius:9px;padding:70px 20px;color:#9ba9bc}.empty-state>div{font-size:35px;color:#b2bfd0}.empty-state h3{font-size:14px;color:#7f90a8;margin:10px 0}.empty-state p{font-size:11px;margin-bottom:20px}.roster-foot{display:flex;justify-content:space-between;font-size:9px;color:#a3afc0;padding:17px 1px;gap:20px}.formation-panel{background:white;border:1px solid var(--line);border-radius:9px;padding:14px 17px 11px;margin-bottom:20px}.formation-top{display:flex;align-items:center;gap:18px;margin-bottom:11px}.formation-top h2{font-size:12px}.formation-top h2 span{font-size:9px;background:#edf1f6;border-radius:4px;color:#8897ad;padding:3px 6px;margin-left:7px}.combat-conditions{margin-left:auto;display:flex;align-items:center;gap:14px}.combat-conditions label{display:flex;align-items:center;gap:6px;color:#8a99ae;font-size:9px}.combat-conditions select,.combat-conditions input{padding:4px 7px;height:25px;font-size:9px}.combat-conditions input{width:55px}.text-button{background:none;padding:0;font-size:9px;color:#99a6b9}.team-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.team-slot{border:1px dashed #d9e1ed;border-radius:6px;height:65px;position:relative;display:flex;align-items:center;background:#f9fbfd;overflow:hidden}.team-slot.filled{background:white;border-style:solid}.slot-open{display:flex;align-items:center;gap:10px;text-align:left;background:none;width:100%;height:100%;padding:0 25px 0 8px;font-size:11px;color:#536b8e}.slot-open img{width:49px;height:63px;object-fit:cover;object-position:top;flex:none}.slot-open .slot-initial{width:45px;flex:none;text-align:center;font-size:22px;color:#aab7c9}.slot-open b{display:block;font-size:10px;font-weight:600}.slot-open small{display:block;font-size:8px;color:#9aabc0;margin-top:5px}.slot-index{position:absolute;left:4px;top:3px;font-size:8px;color:#a7b4c7;background:#ffffffd9;padding:1px 3px;border-radius:2px;z-index:1;pointer-events:none}.slot-remove{position:absolute;right:6px;top:21px;width:22px;height:22px;border-radius:4px;color:#a8b4c5;background:#f2f5f9;font-size:15px}.team-slot.empty .slot-open{justify-content:center;padding:0;font-size:10px;color:#a1afc2;gap:7px}.empty-plus{font-size:20px;color:#b4c0d1}.formation-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:10px;color:#9aa9bd;font-size:9px}.formation-bottom>div{display:flex;align-items:center;gap:14px}.result-placeholder b{font-size:14px;color:#aeb9ca;margin:0 7px}.result-placeholder small{font-size:8px;color:#adb7c7}.small-primary{padding:6px 12px;border-radius:5px;background:var(--orange);color:white;font-size:10px}.drawer-backdrop{position:fixed;inset:0;background:#0e1e3580;z-index:30;backdrop-filter:blur(1px)}.drawer{position:fixed;inset:0 0 0 auto;width:470px;max-width:100%;z-index:40;background:white;box-shadow:-10px 0 60px #10233d25;display:flex;flex-direction:column}.drawer-header{border-bottom:1px solid #e8edf4;padding:16px 23px 16px;background:white;flex:none}.drawer-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#9aa7b9;letter-spacing:.4px}.icon-button{display:grid;place-items:center;background:#f2f5f9;color:#8b9bb1;border-radius:50%;font-size:23px;width:28px;height:28px;line-height:1}.drawer-character{display:flex;gap:17px;margin-top:13px;align-items:center}.drawer-portrait{width:81px;height:91px;border:1px solid #e4e9f1;border-radius:7px;overflow:hidden;flex:none}.drawer-portrait img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}.drawer-character h2{font-size:19px;line-height:1.4;letter-spacing:-.7px;margin:6px 0}.drawer-character p{font-size:10px;color:#8c9ab0}.drawer-badges{display:flex;gap:5px}.drawer-badges .burst-badge{background:#fff3e8;color:#b88450;border-color:#f4dfc9;height:17px;font-size:9px}.drawer-status{display:inline-block;font-size:9px;color:#93a1b6;background:#f2f5f9;padding:3px 6px;border-radius:4px;margin-top:7px}.drawer-status.saved{color:#bd7d43;background:#fff3e7}.drawer-scroll{overflow-y:auto;flex:1;min-height:0;padding:18px 23px 22px;scrollbar-width:thin;scrollbar-color:#d6deea transparent}.drawer-info{border:1px solid #e8edf3;border-radius:6px;background:#f7f9fc;font-size:10px;line-height:1.9;color:#8b9bb1;padding:11px 12px;margin-bottom:18px}.drawer-info.virtual{background:#fff8ed;border-color:#f0e0ca;color:#b08a56}.section-caption{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.section-caption h3{font-size:12px}.section-caption>span{font-size:9px;color:#a1afc1}.assign-section{padding-bottom:19px;margin-bottom:19px;border-bottom:1px solid #e7edf4}.assign-controls{display:flex;gap:8px}.assign-controls select{flex:1;font-size:11px;padding:8px}.secondary-button{border:1px solid #d9e2ee;border-radius:6px;background:#fff;padding:8px 13px;font-size:11px;color:#6d809c;white-space:nowrap}.small-note{font-size:9px;line-height:1.8;color:#a4afbe;margin-top:8px}.form-section{margin-bottom:22px}.form-section h3{font-size:12px;margin:0 0 12px;display:flex;justify-content:space-between;align-items:center}.form-section h3 span{font-weight:400;color:#a0acc0;font-size:9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 11px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-field{min-width:0}.form-field label{font-size:10px;color:#8798af;display:block;margin-bottom:6px}.form-field input,.form-field select{width:100%;height:33px;font-size:11px;padding:6px 8px;border-radius:5px;background:#fbfcfe}.form-field input[readonly]{background:#eef2f7}.form-field .field-note{color:#9aabc0;font-size:8px;margin-top:5px;line-height:1.5}.form-field.full{grid-column:1/-1}.sync-form-note{font-size:9px;background:#f2f6fb;color:#879db8;border-radius:5px;padding:8px 9px;margin-top:9px;line-height:1.8}.gear-editor{border:1px solid #e1e8f1;border-radius:7px;padding:12px;margin-bottom:10px}.gear-editor h4{margin:0 0 9px;font-size:11px;display:flex;align-items:center;gap:7px}.gear-number{display:grid;place-items:center;width:20px;height:20px;background:#eef3f9;border-radius:4px;font-size:9px;color:#8d9eb8}.gear-base{display:grid;grid-template-columns:1.4fr 1.4fr .7fr;gap:6px;margin-bottom:7px}.gear-base input,.gear-base select,.gear-option input,.gear-option select{width:100%;min-width:0;padding:5px 6px;font-size:10px;height:29px;border-radius:4px}.gear-options{display:grid;gap:6px}.gear-option{display:grid;grid-template-columns:1fr 97px;gap:8px}.percent-field{position:relative}.percent-field input{text-align:right;padding-right:21px}.percent-field>span{position:absolute;right:8px;top:8px;color:#a6b3c5;font-size:9px}.drawer-footer{flex:none;padding:13px 23px 17px;border-top:1px solid #e3eaf2;background:white;box-shadow:0 -5px 20px #1c3e6505}.drawer-footer>div:last-child{display:flex;justify-content:space-between;align-items:center;gap:12px}.save-context{font-size:9px;color:#9caabd;margin-bottom:10px}.save-button{background:var(--orange);color:#fff;font-size:12px;font-weight:700;border-radius:6px;padding:12px 22px;flex:1;box-shadow:0 3px 9px #ed8b3b20}.remove-profile{background:none;font-size:10px;color:#a0adbf;padding:8px 0;min-width:66px}.remove-profile:disabled{opacity:.35;cursor:default}.drawer-validation{background:#fff0e9;border:1px solid #f6d0bb;color:#bd713f;font-size:11px;line-height:1.8;padding:11px;border-radius:6px;margin-top:13px}.modal-backdrop{position:fixed;inset:0;background:#0f203c85;z-index:60;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:#fff;border-radius:13px;width:455px;max-width:100%;padding:29px;position:relative;box-shadow:0 20px 70px #0003}.modal-close{position:absolute;right:17px;top:17px}.modal-symbol{display:grid;place-items:center;width:33px;height:33px;border:1px solid #ecd0b6;background:#fff7ed;color:#c48b55;border-radius:50%;font-size:17px;font-weight:700;margin-bottom:17px}.modal h2{font-size:18px;margin-bottom:13px;line-height:1.6}.modal p{font-size:12px;line-height:1.9;color:#8191a8}.modal #modalDetail{background:#f5f8fc;border-radius:7px;font-size:11px;line-height:1.9;padding:13px;color:#94a1b5;margin-top:17px;white-space:pre-line}.primary-button{padding:10px 19px;background:var(--navy);color:#fff;border-radius:6px;font-size:11px}.modal>.primary-button{display:block;margin:21px 0 0 auto}.toast{position:fixed;z-index:80;bottom:26px;left:50%;transform:translateX(-50%);color:white;background:var(--navy);padding:13px 23px;box-shadow:0 5px 25px #0d244733;border-radius:8px;font-size:11px;max-width:90vw;text-align:center}.body-locked{overflow:hidden}@media(min-width:1800px){.character-grid{grid-template-columns:repeat(12,minmax(0,1fr))}}@media(max-width:1350px){.character-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.roster-heading p{display:none}.latest-note{display:none!important}.sidebar{width:190px;padding-left:12px;padding-right:12px}.main{margin-left:190px;padding-left:22px;padding-right:22px}.brand{font-size:17px}.filter-row{gap:16px}}@media(max-width:1050px){.character-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.account-device{min-width:310px}.sort-options{gap:10px}.filter-help{display:none}.top-note{display:none}.combat-conditions{gap:8px}.formation-top{gap:10px}.slot-open{gap:4px}.slot-open img{width:38px}.slot-open b{font-size:9px}.page-subtitle{max-width:300px;line-height:1.7}}@media(max-width:760px){.sidebar{position:relative;width:auto;padding:18px}.brand{font-size:17px}.nav-caption,.sidebar-foot,.nav-divider{display:none}nav{display:flex;overflow:auto;margin-top:20px;gap:5px}nav button{white-space:nowrap;padding:10px;font-size:11px;gap:6px;min-height:37px}.nav-icon,.mini-new,.nav-count,.nav-group,#virtualAnalysisGroup{display:none}.main{margin-left:0;padding:0 15px 20px}.page-header{align-items:flex-start;flex-direction:column;padding:20px 0;gap:18px}.account-device{width:100%}.page-subtitle{max-width:100%}.topbar{font-size:9px}.character-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.portrait-wrap{height:103px}.first-row{flex-wrap:wrap;gap:13px}.search-box{max-width:100%;flex-basis:100%}.sort-options{margin:0;gap:22px}.filter-row{padding-left:12px;padding-right:12px}.second-row{gap:12px;flex-wrap:wrap}.manufacturer-filter{padding-left:12px;gap:8px}.burst-filter{gap:9px}.burst-filter button{width:28px}.filter-help{display:none}.manufacturer-filter select{min-width:105px;width:105px}.reset-filters{margin-left:auto;font-size:9px}.roster-heading{gap:8px}.roster-heading h2{font-size:14px}.roster-total{font-size:9px}.roster-foot{flex-direction:column;gap:5px;line-height:1.7}.legend{font-size:8px}.list-status #filterStatus{display:none}.scope-notice{align-items:flex-start;line-height:1.8}.formation-top{flex-wrap:wrap}.combat-conditions{margin-left:0;flex-wrap:wrap}.formation-top>.text-button{margin-left:auto}.team-slots{grid-template-columns:repeat(5,145px);overflow:auto;padding-bottom:5px}.formation-bottom{align-items:flex-start;gap:8px;flex-direction:column}.formation-bottom>div{width:100%;justify-content:space-between}.drawer{width:470px}.drawer-header,.drawer-scroll,.drawer-footer{padding-left:20px;padding-right:20px}.card-name{font-size:9px}.card-content{padding-left:6px;padding-right:6px}.card-rarity{font-size:7px}.card-meta{font-size:7px}.card-owned{font-size:7px}.card-power{font-size:7px;padding-left:6px;padding-right:6px}}
.card-meta,.card-owned,.card-power{color:#718096}.saved .card-power b{color:#718096}
.virtual-character-entry{display:flex;flex-direction:column;min-width:0;gap:4px}.virtual-character-entry .character-card{width:100%;flex:1}.virtual-availability-toggle{width:100%;min-height:28px;border:1px solid #d8e1ed;border-radius:5px;background:#fff;color:#526781;font-size:10px;padding:4px;cursor:pointer}.virtual-availability-toggle[aria-pressed=true]{background:#fff5ea;border-color:#e8bb96;color:#99531f}.virtual-availability-toggle:focus-visible{outline:2px solid #d77732;outline-offset:2px}
/* v3: horizontal squad workspace */
.view-mode-label{display:flex;align-items:center;gap:8px;font-size:9px;color:#95a4b8}.view-mode-label select{padding:4px 7px;height:26px;font-size:9px;background:#fafbfd}.lock-label{font-size:8px;color:#7185a3;margin-left:auto}.dev-badge{font-size:8px;color:#be9973;border:1px solid #544a43;padding:2px 4px;border-radius:3px;margin-left:auto}nav button[aria-disabled=true]{color:#6f83a0}nav button[aria-disabled=true] .sub-dot{background:#4e6280}.formation-panel{background:transparent;border:0;padding:0;margin-bottom:0}.formation-top{background:white;border:1px solid var(--line);border-radius:9px;padding:14px 17px;margin-bottom:19px}.formation-top h2{font-size:13px}.combat-conditions{margin-left:20px;gap:20px}.combat-conditions select,.combat-conditions input{height:31px;font-size:11px}.combat-conditions label{font-size:10px}.formation-top>.text-button{margin-left:auto}.team-slots{gap:13px}.team-slot{height:207px;border-radius:9px;display:block;background:#f9fbfd}.team-slot.filled{border:1px solid #dbe2ed}.team-slot.selected{border:2px solid var(--orange);box-shadow:0 4px 12px #263f6209}.slot-index{left:11px;top:10px;letter-spacing:1.5px;font-weight:600;background:#ffffffd9;font-size:9px;padding:3px 4px}.slot-open{display:flex;flex-direction:column;gap:0;padding:0;align-items:stretch;height:100%;width:100%;justify-content:flex-start}.slot-open img{width:100%;height:145px;object-fit:contain;object-position:center;background:white}.slot-open>span:last-child{display:block;border-top:1px solid #edf1f6;background:white;padding:9px 12px;min-height:60px}.slot-open b{font-size:12px;color:#344f74;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slot-open small{font-size:8px;line-height:1.7}.slot-remove{right:9px;top:auto;bottom:18px;z-index:2;width:23px;height:23px}.slot-open>span:last-child{padding-right:32px}.slot-open .slot-initial{height:145px;width:100%;display:grid;place-items:center;font-size:38px;padding:0}.team-slot.empty .slot-open{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:11px}.team-slot.empty .slot-open>span{background:none;padding:0;border:0;min-height:0}.empty-plus{display:grid!important;place-items:center;width:34px;height:34px;background:white!important;border:1px solid #dce3ed!important;border-radius:50%;font-size:24px;line-height:1;font-weight:300}.team-slot.empty .slot-index{background:none}.formation-bottom{margin-top:12px;margin-bottom:22px;display:flex;flex-direction:row;font-size:10px}.formation-bottom>span:last-child{color:#a98a69}.formation-workspace{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:19px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.inline-editor-header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px 15px;border-bottom:1px solid #edf1f6;min-height:67px}.inline-editor-header h2{font-size:15px;margin-bottom:6px}.inline-editor-header span{font-size:9px;color:#9aabc0}.inline-tabs{display:flex;gap:23px;padding:0 20px;border-bottom:1px solid #edf1f6}.inline-tabs button{padding:12px 0 10px;background:none;font-size:10px;color:#9aa9bd;border-bottom:2px solid transparent}.inline-tabs button.active{color:#b97a46;border-color:var(--orange);font-weight:700}#inlineFormHost{padding:20px}#inlineFormHost:empty{display:none}#inlineFormHost #profileForm{min-height:280px}#inlineFormHost .form-section{margin:0 0 22px}#inlineFormHost .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#inlineFormHost .form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}#inlineFormHost .form-field input,#inlineFormHost .form-field select{height:35px}#inlineFormHost .form-section[data-edit-section=equipment]{display:grid;grid-template-columns:1fr 1fr;gap:11px}#inlineFormHost .form-section[data-edit-section=equipment]>h3,#inlineFormHost .form-section[data-edit-section=equipment]>.small-note{grid-column:1/-1;margin-bottom:0}#inlineFormHost .gear-editor{margin-bottom:0}#inlineFormHost .gear-option{grid-template-columns:1fr 79px}#inlineFormHost .gear-option input,#inlineFormHost .gear-option select,#inlineFormHost .gear-base input,#inlineFormHost .gear-base select{height:27px;font-size:9px}#inlineFormHost .form-section.hidden{display:none!important}.inline-editor-footer{padding:13px 20px;border-top:1px solid #edf1f6;background:#fcfdff;display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:9px;color:#91a2b8;line-height:1.8}.inline-editor-footer button{font-size:10px;padding:8px 13px}.inline-empty{min-height:310px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#9faec2;padding:30px;text-align:center}.inline-empty>span{font-size:35px;font-weight:300;color:#bec8d6;margin-bottom:13px}.inline-empty h3{font-size:13px;font-weight:500;margin-bottom:12px}.inline-empty p{font-size:10px;line-height:1.9}.result-panel>header{display:flex;justify-content:space-between;align-items:center;padding:19px 18px 15px}.result-panel h2{font-size:14px}.result-panel>header>span{font-size:9px;background:#f1f4f8;padding:4px 6px;border-radius:4px;color:#8c9db5}.result-content{padding:12px 18px 18px}.result-metric-label{font-size:10px;color:#93a2b7}.result-metric{font-size:37px;letter-spacing:-1px;color:#a5b3c7;line-height:1.5;margin:7px 0 4px}.result-conditions{font-size:9px;color:#9aacc2;line-height:1.9;padding-bottom:15px;border-bottom:1px solid #edf1f6}.result-source{display:block;color:#b17c44;background:#fff5e7;border:1px solid #efdfc8;padding:7px 8px;font-size:9px;border-radius:5px;margin-bottom:14px;line-height:1.8}.result-members{margin-top:12px}.result-member{display:flex;justify-content:space-between;gap:10px;padding:6px 0;font-size:10px;color:#8a9cb4}.result-member b{font-weight:500;color:#647c9d}.stale-notice{font-size:10px;color:#bd8449;background:#fff6e9;border:1px solid #f4e0c2;padding:9px 10px;border-radius:5px;line-height:1.8;margin-top:14px}.engine-notice{font-size:9px;line-height:1.9;color:#98a8bd;background:#f7f9fc;border-radius:6px;padding:11px;margin:17px 0}.demo-choice{display:flex;align-items:flex-start;gap:8px;margin-bottom:16px;padding:0 1px}.demo-choice input{flex:none;margin-top:1px}.demo-choice b{font-size:10px;font-weight:500;color:#8d9db5}.demo-choice small{display:block;font-size:8px;line-height:1.8;color:#a8b3c3;margin-top:4px}.calculate-button,.analysis-button{width:100%;border-radius:6px;padding:12px 8px;font-size:12px;font-weight:700}.calculate-button{background:var(--orange);color:white;box-shadow:0 3px 9px #ed8b3b20}.calculate-button:disabled{cursor:wait;opacity:.65}.analysis-button{margin-top:8px;background:#f0f4f9;color:#6c829f;font-size:10px}.analysis-button:disabled{color:#b4c0d0;cursor:default;background:#f6f8fb}.run-error{font-size:10px;line-height:1.8;color:#c67c58;background:#fff4ee;border-radius:6px;padding:10px;margin-top:12px}.picker-backdrop{position:fixed;inset:0;background:#13233e80;z-index:45;padding:35px 40px;display:flex;justify-content:center;align-items:center}.picker-window{width:1280px;max-width:100%;max-height:100%;display:flex;flex-direction:column;background:#f5f7fb;border-radius:12px;overflow:hidden;box-shadow:0 25px 80px #10223c40}.picker-window>header{padding:20px 24px;background:white;border-bottom:1px solid #e3eaf3;display:flex;align-items:center;justify-content:space-between}.picker-window>header span{font-size:8px;letter-spacing:1.7px;color:#a2afc2}.picker-window h2{font-size:18px;margin-top:6px}#pickerHost{overflow-y:auto;padding:20px 24px;min-height:0}#pickerHost .character-grid{grid-template-columns:repeat(9,minmax(0,1fr))}#pickerHost .roster-heading p{display:none}#pickerHost .roster-foot{display:none}.inline-warning{font-size:9px;color:#ab8a60;padding:10px 0}.comparison-page-badge{color:#ac8259}body[data-public=true] #comparisonNav{display:none!important}@media(max-width:1350px){.formation-workspace{grid-template-columns:minmax(0,1fr) 285px}#pickerHost .character-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.combat-conditions{gap:12px;margin-left:8px}}@media(max-width:1050px){.formation-workspace{grid-template-columns:minmax(0,1fr) 260px}#inlineFormHost .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#inlineFormHost .form-section[data-edit-section=equipment]{grid-template-columns:1fr}.slot-open img{height:132px}.team-slot{height:197px}.slot-open b{font-size:10px}.combat-conditions{gap:7px}.formation-bottom{font-size:9px}#pickerHost .character-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:760px){.team-slots{grid-template-columns:repeat(5,170px)}.team-slot{height:197px}.formation-workspace{grid-template-columns:1fr}.formation-top{gap:10px}.combat-conditions{margin:0;gap:10px}.formation-bottom{flex-direction:column;gap:7px}.formation-top>.text-button{margin-left:0}.picker-backdrop{padding:15px}.picker-window>header,#pickerHost{padding:16px}#pickerHost .character-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.inline-editor-footer{align-items:flex-start}.view-mode-label{font-size:8px}.view-mode-label select{font-size:8px;width:110px}.sub-nav{display:flex;margin-left:0}nav button .lock-label{display:none}#comparisonNav .dev-badge{display:none}.inline-editor-header{padding:15px}.inline-tabs{padding:0 15px}#inlineFormHost{padding:15px}.result-panel{margin-bottom:15px}}
.sub-nav{white-space:nowrap;gap:8px;margin-left:17px;padding-left:12px;padding-right:10px;font-size:11px}.sub-nav .sub-dot{flex:none;margin-left:2px;margin-right:3px}.lock-label{font-size:7px;white-space:nowrap;flex:none}.result-source{white-space:pre-line}.result-metric{font-size:33px}@media(max-width:760px){.sub-nav{margin-left:0}}

.model-condition-inputs{margin:0 0 18px;padding:12px 16px;background:#fff;border:1px solid #e1e7ef;border-radius:9px;color:#526580;font-size:12px}.model-condition-inputs summary{cursor:pointer;font-weight:700}.model-condition-inputs>div{display:flex;gap:22px;flex-wrap:wrap;margin-top:12px}.model-condition-inputs label{display:flex;gap:7px;align-items:center}.model-condition-inputs input{width:76px;padding:7px;border:1px solid #d6deeb;border-radius:5px;background:#fafcff}.model-condition-inputs p{font-size:11px;margin-top:10px;color:#718096}#engineDetails details{padding:12px 0;color:#526580;font-size:11px;line-height:1.8}#engineDetails summary{cursor:pointer;font-weight:700}#engineDetails p{padding-top:10px}#cancelCalculation{width:100%;margin-top:8px}.form-field input[readonly]{background:#edf2f8;color:#64748b}

.crit-summary{margin-bottom:12px}.crit-summary output{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}
