/* Hero selection is a presentation layer over the existing combat classes. */
.hero-select{--class-color:#c3a0ff;max-width:1600px;margin:auto;padding:30px 38px 0;min-height:calc(100dvh - 80px);background:radial-gradient(ellipse at 52% 46%,#25354a38,transparent 60%)}
.draft-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:20px}.draft-heading h1{font:500 clamp(32px,3vw,44px)/1.1 'Barlow Condensed',sans-serif;letter-spacing:.2px;color:#f0eee9;margin:9px 0 0}.draft-heading .eyebrow{font-size:10px;color:#8c9aa8;letter-spacing:2px}.draft-map{display:flex;align-items:center;gap:13px}.map-diamond{font-size:43px;color:var(--gold)}.draft-map b{font-size:12px;letter-spacing:1.8px;font-weight:500}.draft-map small{display:block;color:#798b9e;font-size:10px;letter-spacing:1px;margin-top:8px}
.draft-layout{display:grid;grid-template-columns:240px minmax(280px,1fr) 330px;gap:30px;min-height:590px}.draft-roster{padding-top:12px}.draft-cards{display:grid;gap:11px;margin-top:19px}.draft-card{width:100%;display:flex;align-items:center;gap:15px;text-align:left;padding:0 14px 0 0;border:1px solid #283647;background:#131d2a;position:relative;min-height:88px;overflow:hidden;border-radius:3px}.draft-card.selected{border-color:var(--gold);background:linear-gradient(90deg,#373a3a,#1b2531)}.draft-card.selected:after{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--gold)}.atlas-art{background-image:url('./assets/hero-atlas.png');background-size:300% auto;background-position:var(--portrait-position,50%) top;background-repeat:no-repeat}.roster-portrait{width:70px;min-width:70px;height:87px;background-size:420% auto;background-position:var(--portrait-position,50%) 12%}.roster-copy{min-width:0}.roster-copy b{font-size:17px;font-weight:500;display:block;overflow-wrap:anywhere}.roster-copy small{display:block;margin-top:7px;color:#8d9eaf;font-size:11px}.roster-key{margin-left:auto;font-size:10px;color:#718294}.selected .roster-key{color:var(--gold);font-size:15px}.personal-roster{border-top:1px solid var(--line);margin-top:29px;padding-top:23px}.personal-roster .section-label{margin-bottom:15px}.meld-create{width:100%;border:1px dashed #57635e;background:linear-gradient(130deg,#262c2d,#18232b);color:#dfd1b7;display:flex;align-items:center;gap:12px;min-height:87px;padding:16px 12px;text-align:left;border-radius:3px}.meld-create b{font-size:14px;font-weight:500;line-height:1.35}.meld-create small{display:block;font-size:10px;color:#9ba7a8;font-weight:400;margin-top:6px}.meld-create>span:last-child{margin-left:auto}.meld-plus{font-size:31px;font-weight:400;color:var(--gold)}.profile-status{font-size:11px;line-height:1.6;color:#788b9c;margin:12px 0 0;min-height:35px}.personal-thumb{width:70px;min-width:70px;height:87px;object-fit:cover;object-position:center 25%}.personal-card .roster-copy b{font-size:15px}.draft-squad{margin-top:28px}.draft-squad>div{display:flex;gap:7px;align-items:center;margin-top:14px}.squad-slot{width:36px;height:37px;display:grid;place-items:center;border:1px solid #334151;background:#14202d;font-size:10px;color:#7a8fa4}.squad-slot.you{border-color:#647f89;color:#b4d7e6;background:#1d303d}.draft-squad small{color:#7f90a2;line-height:1.65;font-size:10px;margin-left:7px}
.hero-stage{position:relative;isolation:isolate;overflow:hidden;min-height:590px;border:1px solid #344255;background:#101923}.stage-top{position:absolute;left:20px;right:20px;top:20px;z-index:2;display:flex;justify-content:space-between;gap:15px;font-size:9px;letter-spacing:1.6px;color:#ccd2d7}.stage-top span:first-child{color:var(--class-color)}.stage-art{position:absolute;inset:0;background-size:300% auto;background-position:var(--portrait-position,50%) 24%}.stage-personal{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 25%}.stage-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0b15238f,transparent 23%,transparent 45%,#0b142494 68%,#0b1424 100%);pointer-events:none}.stage-copy{position:absolute;bottom:32px;left:28px;right:28px;z-index:1}.stage-role{color:var(--class-color);font-size:11px;font-weight:500;letter-spacing:4px}.stage-copy h2{font:600 clamp(48px,5vw,76px)/1 'Barlow Condensed',sans-serif;letter-spacing:1px;color:#f2f0ec;margin:10px 0 13px;overflow-wrap:anywhere}.stage-copy p{font-size:13px;line-height:1.7;color:#a8b8c7;margin:0;max-width:280px}.stage-copy .text-button{font-size:12px;color:var(--gold);padding:10px 0 0}
.draft-loadout{padding-top:12px;display:flex;flex-direction:column}.loadout-heading{display:flex;align-items:center;gap:15px;margin:20px 0 15px}.loadout-heading>span{font-size:43px;color:var(--class-color);width:47px;text-align:center}.loadout-heading h2{font:500 33px/1 'Barlow Condensed',sans-serif;color:#edece8;margin:0 0 9px}.loadout-heading p{font-size:11px;color:#8b9bac;margin:0}.class-summary{font-size:12px;line-height:1.85;color:#9faebb;margin:0 0 20px}.class-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:16px 0;border-top:1px solid #263342;border-bottom:1px solid #263342;gap:8px}.class-stats small{font-size:9px;letter-spacing:1px;color:#72879a}.class-stats b{display:block;font-size:13px;font-weight:500;color:#c9d6e0;margin-top:7px}.kit-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:25px 0 18px}.kit-heading small{font-size:9px;color:#6d8294}.kit-heading .section-label{font-size:10px}.draft-abilities{display:grid;gap:17px}.draft-ability{display:flex;align-items:flex-start;gap:13px}.draft-ability-glyph{position:relative;display:grid;place-items:center;border:1px solid #4a5371;background:linear-gradient(135deg,#30354a,#172336);color:var(--class-color);width:43px;min-width:43px;height:44px;font-size:26px;border-radius:3px}.draft-ability-glyph kbd{position:absolute;bottom:-5px;left:4px;min-width:16px;background:#0a1522;border:1px solid #4a5872;padding:1px 3px;font:9px Inter,sans-serif;text-align:center;color:#d7dfed;border-radius:2px}.draft-ability.heroic .draft-ability-glyph{border-color:#927952;background:linear-gradient(135deg,#473c35,#212333);color:var(--gold)}.draft-ability-copy{flex:1;min-width:0}.ability-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:1px 0 5px}.ability-heading b{font-size:12px;color:#d5dfe7;font-weight:500}.ability-heading small{color:#7b8c9d;font-size:10px;white-space:nowrap}.draft-ability-copy p{font-size:11px;line-height:1.6;color:#7f92a5;margin:0}.deploy-block{margin-top:auto;padding-top:27px}.deploy-block .primary-button{width:100%;min-height:53px;font-size:15px;letter-spacing:.2px}.deploy-block p{font-size:10px;text-align:center;color:#768a9e;margin:11px 0 0}.draft-footer{display:flex;align-items:center;gap:14px;border-top:1px solid #243241;margin-top:27px;padding:20px 0 22px;font-size:10px;color:#687e90}.draft-footer>span{white-space:nowrap}.draft-footer b{font-size:9px;letter-spacing:1.1px;font-weight:400;color:#8396a6;margin-left:7px}.draft-footer>span:first-child,.draft-footer>span:first-child b{color:var(--gold)}.draft-footer i{height:1px;width:40px;background:#354354}.draft-footer p{margin:0 0 0 auto;font-size:10px;color:#6e8296;text-align:right}.hud-mark img{display:block;width:100%;height:58px;object-fit:cover;object-position:center 25%;border-radius:3px}.vitals-label b{overflow-wrap:anywhere}
.meld-dialog{width:min(860px,calc(100vw - 32px));padding:32px;max-height:92dvh;background:#111d2b}.meld-dialog h2{font-size:40px;margin:12px 0 8px}.meld-dialog .meld-intro{margin:0 0 24px;color:#9badbd;font-size:13px}.meld-layout{display:grid;grid-template-columns:230px 1fr;gap:28px}.meld-preview{height:315px;border:1px solid #34465a;background:radial-gradient(ellipse at 50% 30%,#24374a,#0d1826);overflow:hidden;display:grid;place-items:center}.meld-preview img{width:100%;height:100%;object-fit:cover;object-position:center 25%}#portrait-empty{display:flex;flex-direction:column;text-align:center;align-items:center;padding:20px;color:#8597a8}#portrait-empty>span{font-size:44px;font-weight:300;color:#bbab8e;margin-bottom:18px}#portrait-empty b{font-size:13px;font-weight:400;color:#c2c8cc}#portrait-empty small{font-size:10px;margin-top:10px}.upload-button{display:block;text-align:center;margin-top:12px;padding:12px;background:#253446;border:1px solid #536174;border-radius:3px;font-size:12px;color:#d5e1eb;cursor:pointer}.file-input{display:block;width:100%;font-size:10px;color:#879caf;margin-top:10px}.file-input::file-selector-button{display:none}.file-info{display:block;font-size:10px;color:#8094a8;line-height:1.6;overflow-wrap:anywhere;margin-top:8px}.meld-fields{min-width:0}.meld-step{display:flex;gap:13px;margin-bottom:23px}.meld-step>span{font:500 18px 'Barlow Condensed',sans-serif;color:var(--gold);padding-top:1px}.meld-step>div{flex:1;min-width:0}.meld-step h3{font-size:14px;font-weight:500;margin:0 0 10px;color:#e1e5e7}.meld-step p{font-size:12px;line-height:1.75;margin:0 0 10px;color:#8fa4b8}.meld-link-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.secondary-button{display:inline-flex;text-decoration:none;align-items:center;justify-content:center;border:1px solid #45596d;color:#c9dce9;background:#223245;border-radius:3px;padding:9px 12px;font-size:11px;white-space:nowrap}.meld-link-row .text-button{font-size:11px;color:#c6b493}.meld-step details{font-size:11px;color:#8298ab;margin-top:13px}.meld-step summary{cursor:pointer;width:fit-content;padding:3px 0}.meld-step label{display:block;font-size:11px;color:#a2b4c4;margin:13px 0 7px}.meld-step input,.meld-step select{display:block;width:100%;min-width:0;padding:11px 12px;border:1px solid #394d61;border-radius:3px;background:#0c1826;color:#dce7ec;font:12px Inter,sans-serif}.meld-step input:focus-visible,.meld-step select:focus-visible,.file-input:focus-visible{outline:2px solid #bce6ff;outline-offset:3px}.meld-step input::placeholder{color:#61778a}.address-row{display:flex;gap:8px}.address-row input{flex:1}#meld-address-status{font-size:10px;line-height:1.6;display:block;margin-top:7px;color:#8298ab}.meld-step p.class-assurance{font-size:10px;line-height:1.7;margin-top:11px;color:#8197aa}.form-status{color:#dfc695;font-size:12px;line-height:1.65;margin:3px 0 15px;overflow-wrap:anywhere}.form-status:empty{display:none}.meld-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #2b3d4e;padding-top:19px}.meld-actions p{font-size:10px;color:#7f95a8;line-height:1.7;margin:0}.meld-actions .primary-button{font-size:12px;min-width:190px;min-height:45px;padding:10px 14px}.meld-actions .text-button{font-size:10px;color:#bd9998}
@media(min-width:1500px){.draft-layout{grid-template-columns:265px minmax(300px,1fr) 365px;gap:40px;min-height:650px}.hero-stage{min-height:650px}.draft-abilities{gap:22px}.class-summary{font-size:13px}.draft-ability-copy p{font-size:12px}.stage-art{background-position:var(--portrait-position,50%) 20%}}
@media(max-width:1150px){.hero-select{padding:26px 24px 0}.draft-layout{grid-template-columns:200px minmax(260px,1fr) 280px;gap:20px}.draft-card{gap:10px}.roster-portrait,.personal-thumb{width:57px;min-width:57px}.roster-copy b{font-size:16px}.meld-create{gap:8px;padding:14px 10px}.meld-create b{font-size:12px}.meld-create small{font-size:9px}.stage-copy{left:20px;right:20px}.stage-copy h2{font-size:60px}.class-summary{font-size:11px}.draft-footer p{max-width:250px;line-height:1.6}.draft-squad small{display:none}.kit-heading small{font-size:8px}.draft-ability-copy p{font-size:10px}}
@media(max-width:950px){.draft-layout{grid-template-columns:180px minmax(250px,1fr);gap:20px}.draft-loadout{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.4fr;column-gap:28px;padding-top:5px}.draft-loadout>.section-label,.loadout-heading,.class-summary,.class-stats{grid-column:1}.draft-loadout>.section-label{grid-row:1}.loadout-heading{grid-row:2;margin:15px 0}.class-summary{grid-row:3}.class-stats{grid-row:4;align-self:start}.kit-heading{grid-column:2;grid-row:1;margin:0 0 14px}.draft-abilities{grid-column:2;grid-row:2/5;gap:15px}.deploy-block{grid-column:1/-1;margin:0;padding-top:25px}.draft-ability-copy p{font-size:11px}.hero-stage{min-height:530px}.stage-art{background-size:300% auto;background-position:var(--portrait-position,50%) 16%}.draft-footer p{display:none}.draft-map b{font-size:11px}.draft-map small{font-size:8px}.draft-squad{margin-top:24px}.draft-layout{min-height:0}}
@media(max-width:620px){.hero-select{padding:23px 16px 0}.draft-heading{align-items:flex-start;gap:14px;margin-bottom:22px}.draft-heading h1{font-size:32px}.draft-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.draft-map{gap:0;padding-top:4px;text-align:right}.draft-map .map-diamond{display:none}.draft-map b{font-size:8px;letter-spacing:.7px}.draft-map small{font-size:7px;line-height:1.7;max-width:100px;letter-spacing:.5px}.draft-layout{display:flex;flex-direction:column;gap:22px}.draft-roster{display:contents}.draft-roster>.section-label{display:none}.draft-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;gap:8px;order:0}.draft-card{display:flex;flex-direction:column;text-align:center;gap:7px;padding:0 0 11px;min-height:139px}.roster-portrait{width:100%;height:77px;background-size:300% auto;background-position:var(--portrait-position,50%) top;min-width:0}.roster-copy b{font-size:14px}.roster-copy small{font-size:9px;margin-top:4px}.roster-key{display:none}.hero-stage{order:1;min-height:490px}.stage-art{background-position:var(--portrait-position,50%) 18%}.stage-copy{bottom:27px;left:24px}.stage-copy h2{font-size:62px}.stage-top{font-size:8px}.personal-roster{order:2;margin:0;padding:0;border:0}.personal-roster>.section-label{font-size:10px;margin-bottom:10px}.meld-create{min-height:68px;padding:10px 18px;gap:16px}.meld-create b{font-size:14px}.meld-create small{font-size:10px}.profile-status{margin:8px 0 0;min-height:0}.personal-card{flex-direction:row;text-align:left;min-height:75px;padding:0 16px 0 0;gap:16px}.personal-thumb{height:75px;width:62px}.personal-card .roster-key{display:block}.draft-squad{display:none}.draft-loadout{order:3;display:flex;gap:0}.loadout-heading{margin:18px 0 14px}.class-summary{font-size:12px}.class-stats{width:100%;margin-bottom:23px}.kit-heading{width:100%;margin:0 0 19px}.kit-heading small{font-size:10px}.draft-abilities{gap:19px}.draft-ability-copy p{font-size:12px}.ability-heading b{font-size:13px}.draft-footer{font-size:8px;gap:7px;margin-top:24px}.draft-footer b{font-size:7px;letter-spacing:.6px;margin-left:4px}.draft-footer i{width:16px}.meld-dialog{padding:27px 20px}.meld-dialog h2{font-size:34px}.meld-layout{display:flex;flex-direction:column;gap:20px}.meld-preview-column{display:grid;grid-template-columns:110px 1fr;gap:8px 15px;align-items:start}.meld-preview{grid-row:1/5;height:145px}.upload-button{margin-top:16px}.file-info{font-size:9px;margin-top:0}.file-input{margin-top:0}.meld-dialog #portrait-empty{padding:10px}.meld-dialog #portrait-empty>span{font-size:27px;margin-bottom:8px}.meld-dialog #portrait-empty b{font-size:10px}.meld-dialog #portrait-empty small{display:none}.meld-actions{flex-wrap:wrap;gap:12px}.meld-actions .primary-button{width:100%;order:3}.meld-actions .text-button{margin-left:auto}.meld-step{margin-bottom:17px}.meld-intro{font-size:12px!important}}

/* Readable combat details and controls at every layout size. */
.draft-heading .eyebrow,.draft-roster .section-label,.draft-loadout .section-label,.personal-roster .section-label{font-size:12px}
.draft-map b{font-size:12px}.draft-map small{font-size:12px;line-height:1.5}
.roster-copy small,.roster-key,.profile-status,.meld-create small,.squad-slot,.draft-squad small{font-size:12px}
.meld-create b{font-size:14px}.stage-top{font-size:12px;letter-spacing:1px}.stage-role{font-size:14px}.stage-copy p{font-size:14px}.stage-copy .text-button{font-size:14px}
.loadout-heading p{font-size:12px}.class-summary{font-size:14px;line-height:1.75}.class-stats small{font-size:12px}.class-stats b{font-size:14px}.kit-heading{flex-wrap:wrap;gap:7px}.kit-heading small{font-size:12px}.draft-ability-copy p{font-size:13px;line-height:1.55}.ability-heading b{font-size:14px}.ability-heading small{font-size:12px}.draft-ability-glyph kbd{font-size:11px}.deploy-block p{font-size:12px}
.draft-footer{font-size:12px;flex-wrap:wrap}.draft-footer b{font-size:12px;letter-spacing:.4px}.draft-footer p{font-size:12px}
.meld-dialog .meld-intro{font-size:14px!important}.upload-button,.secondary-button,.meld-link-row .text-button,.meld-step label,.meld-step input,.meld-step select,.meld-step summary{font-size:14px}.file-info,.file-input,#meld-address-status,.meld-step p.class-assurance,.meld-actions p{font-size:12px}.meld-step p{font-size:14px}.meld-step h3{font-size:16px}.form-status{font-size:14px}.meld-actions .primary-button,.meld-actions .text-button{font-size:14px}.meld-preview-column{min-width:0}.meld-preview{min-height:315px}.meld-actions{flex-wrap:wrap}.meld-actions .primary-button{margin-left:auto}
@media(max-width:1150px){.draft-layout{grid-template-columns:210px minmax(250px,1fr) 300px;gap:20px}.roster-copy b{font-size:16px}.draft-map small{font-size:12px}.hero-stage{min-height:650px}}
@media(max-width:950px){.draft-layout{grid-template-columns:210px minmax(250px,1fr)}.hero-stage{min-height:550px}.draft-footer{gap:10px}.draft-footer b{font-size:11px}}
@media(max-width:620px){.draft-heading{flex-wrap:wrap}.draft-map{text-align:left;width:100%}.draft-map>div{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.draft-map small{max-width:none;margin:0}.draft-map b{font-size:12px}.draft-layout{display:flex}.roster-copy small{font-size:12px}.hero-stage{min-height:490px}.stage-top{font-size:10px}.draft-footer>span{white-space:normal;line-height:1.7;max-width:44%}.draft-footer b{font-size:10px}.draft-footer>i{display:none}.draft-ability-copy p{font-size:14px}.meld-preview{min-height:145px}.meld-preview-column{grid-template-columns:110px minmax(0,1fr)}.meld-link-row{gap:8px}.address-row{flex-wrap:wrap}.address-row input{flex-basis:100%}.meld-actions .primary-button{width:100%}.meld-actions .text-button{margin-left:0}.meld-dialog #portrait-empty b{font-size:12px}}

.meld-link-row + .meld-link-row{margin-top:10px}.meld-dialog button:disabled{opacity:.5;cursor:wait}

.meld-library{border-top:1px solid #34495b;margin-top:24px;padding-top:18px}.meld-library summary{cursor:pointer;color:#dbe6ee;font-weight:600;padding:8px 0}.meld-library summary span{display:inline-block;color:#90a7bb;font-size:12px;font-weight:400;margin-left:10px}.meld-library-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between}.meld-library-toolbar p{margin:8px 0;font-size:12px}.meld-library-list{list-style:none;margin:8px 0;padding:0;display:grid;gap:8px}.meld-library-item{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#0e1a27;border:1px solid #314556;border-radius:4px;padding:12px}.meld-library-copy{min-width:0}.meld-library-copy b{display:block;font-size:14px}.meld-library-copy small{display:block;font-size:12px;color:#8fa7b9;margin-top:5px}.meld-library-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.meld-library button{min-height:44px}.meld-library #meld-library-more{width:100%;margin-top:8px}@media(max-width:560px){.meld-library-item{align-items:stretch;flex-direction:column;gap:10px}.meld-library-actions{justify-content:space-between}.meld-library-actions .secondary-button{flex:1}}

.hero-outfits{margin:22px 0;padding:20px 0;border-top:1px solid #34495b;border-bottom:1px solid #34495b}.hero-outfits p{font-size:13px;line-height:1.6;margin:10px 0 14px;color:#a6bacb}.hero-outfit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hero-outfit-card{display:flex;flex-direction:column;min-width:0;padding:0 0 12px;background:#0b1723;border:1px solid #34495b;border-radius:5px;color:#dde8f0;overflow:hidden;text-align:left;cursor:pointer}.hero-outfit-card:hover,.hero-outfit-card:focus-visible{border-color:#dabb82;background:#132434}.hero-outfit-card img{width:100%;height:145px;object-fit:cover;object-position:center 38%;background:#101821}.hero-outfit-card b,.hero-outfit-card small,.hero-outfit-card span{padding:0 9px}.hero-outfit-card b{font-size:13px;margin-top:10px}.hero-outfit-card small{font-size:11px;color:#9cb2c5;line-height:1.5;margin:5px 0}.hero-outfit-card span{font-size:11px;color:#dabb82;margin-top:auto;padding-top:7px}@media(max-width:420px){.hero-outfit-grid{grid-template-columns:1fr}.hero-outfit-card{display:grid;grid-template-columns:86px 1fr;grid-template-rows:auto auto auto;padding:0}.hero-outfit-card img{grid-row:1/4;width:86px;height:116px}.hero-outfit-card b{align-self:end;font-size:14px}.hero-outfit-card small{margin:4px 0}.hero-outfit-card span{margin:0;padding-top:0;padding-bottom:12px}}
