.builder-shell{background:#050b12;color:#edf5ff;isolation:isolate}.builder-video{position:fixed;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;z-index:0;opacity:.65;pointer-events:none}.builder-overlay{position:fixed;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#050b1240,#050b1280 70%)}.builder-scan{position:fixed;inset:0;z-index:2;pointer-events:none;opacity:.12}.builder-shell nav[data-nav]{background:#050b12e8;backdrop-filter:blur(14px)}.builder-main{position:relative;z-index:3;width:min(1380px,calc(100% - 4rem));margin:auto;padding:8rem 0 4rem}.builder-heading{margin-bottom:2rem}.builder-heading>small{font-size:.65rem;letter-spacing:.18em;color:#ff426e;font-weight:800}.builder-heading h1{font:400 clamp(2.5rem,6vw,5rem)/1.1 "Roguepunk","Barlow Condensed",sans-serif;margin:.8rem 0;color:#fff}.builder-heading h1 span{color:#86f7ff}.builder-intro{color:#b2c5d2;font-size:.95rem;line-height:1.7;max-width:65ch}.builder-layout{display:grid;gap:2rem}.builder-side{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(240px,1fr);gap:1.2rem;align-items:stretch}.builder-card{min-width:0;padding:1.5rem;border:1px solid #86f7ff35;background:#0a1623ed;box-shadow:6px 6px #020409}.card-title{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.2rem}.card-title small,.analysis>small{font-size:.65rem;color:#86f7ff;letter-spacing:.12em;font-weight:800}.card-title h2{font:800 2.5rem Barlow Condensed,sans-serif;color:#fff}.card-title>b{font:800 1.4rem Barlow Condensed,sans-serif;color:#f5ff3d}.slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem}.slot{position:relative;min-width:0;min-height:158px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;padding:.7rem .35rem;border:1px dashed #86f7ff45;background:#050b12;color:#9db5c7;cursor:pointer;text-align:center}.slot>span{font:800 2.3rem Barlow Condensed,sans-serif;opacity:.4}.slot.filled{border-style:solid;border-color:#86f7ff66;background:#142634}.slot .slot-portrait{display:block;width:76px;max-width:100%;height:90px;-o-object-fit:contain;object-fit:contain;-o-object-position:center bottom;object-position:center bottom}.slot strong{font:800 1rem/1.15 Barlow Condensed,sans-serif;color:#fff;overflow-wrap:anywhere}.slot small{font-size:.55rem;color:#a9c3d4;line-height:1.4}.slot.filled:hover{border-color:#ff426e;background:#241525}.card-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}.card-actions button,#save{padding:.7rem 1rem;min-height:42px;border:1px solid #86f7ff50;color:#86f7ff;background:#050b12;font-size:.65rem;font-weight:800;cursor:pointer}#export-team{margin-left:auto;background:#86f7ff;color:#05070b;border-color:#86f7ff}.analysis{border-top:3px solid #f5ff3d;display:flex;flex-direction:column}.analysis #score{font:800 4.5rem/1 Barlow Condensed,sans-serif;color:#f5ff3d;margin:1rem 0}.analysis #score em{font-size:1.2rem;color:#849faf;font-style:normal}.analysis p{font-size:.8rem;line-height:1.7;color:#c2d1db}#roles{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1rem}#roles span{font-size:.65rem;background:#86f7ff15;border:1px solid #86f7ff30;padding:.4rem .6rem;color:#86f7ff}.filters{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}#classes{display:flex;flex-wrap:wrap;gap:.5rem}#classes button{min-height:44px;padding:.7rem 1rem;background:#050b12;color:#b3c8d6;border:1px solid #86f7ff35;font-size:.65rem;font-weight:800;cursor:pointer}#classes button.active{background:#86f7ff;color:#05070b;border-color:#86f7ff}#search{width:260px;max-width:100%;min-height:44px;padding:.7rem 1rem;border:1px solid #86f7ff35;background:#050b12;color:#fff;font-size:.9rem}.hero-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}.hero-card{--c:#86f7ff;position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;gap:.45rem;padding:0 0 1.3rem;border:0;border-bottom:4px solid #05070b;background:var(--c);color:#05070b;text-align:center;cursor:pointer;box-shadow:5px 5px #020409;transition:transform .18s,box-shadow .18s;overflow:hidden}.hero-card[data-class=warrior]{--c:#ff7a98}.hero-card[data-class=ranger]{--c:#f5ff3d}.hero-card[data-class=warlock]{--c:#86f7ff}.hero-mark{display:grid;place-items:center;width:100%;height:175px;background:linear-gradient(180deg,#05070b00,#05070b25);font-size:2rem;font-weight:800;margin-bottom:.3rem}.hero-mark img{display:block;width:100%;height:175px;-o-object-fit:contain;object-fit:contain;-o-object-position:center bottom;object-position:center bottom}.hero-card>strong{padding:0 .5rem;font:800 1.4rem/1.15 Barlow Condensed,sans-serif;overflow-wrap:anywhere}.hero-card>small{padding:0 .5rem;font-size:.58rem;font-weight:800;line-height:1.5}.hero-card.selected{box-shadow:0 0 0 3px #fff,0 0 0 6px #86f7ff88;transform:translateY(-3px)}.hero-card.selected:after{content:"✓";position:absolute;top:.6rem;right:.6rem;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#050b12;color:#fff;font-size:1rem;font-weight:900}.hero-card:hover{transform:translateY(-4px)}.hint{margin-top:1.5rem;color:#9db5c7;font-size:.75rem;line-height:1.8}.presets{margin-top:2rem}.preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.preset{display:grid;gap:.5rem;min-height:80px;background:#101f2c;border:1px solid #86f7ff35;padding:1rem;color:#fff;text-align:left;cursor:pointer}.preset small{color:#9db5c7;font-size:.7rem}.builder-shell button:focus-visible,.builder-shell input:focus-visible{outline:3px solid #fff;outline-offset:4px}.builder-shell button[hidden]{display:none}.team-export-modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:1rem;background:#000c}.team-export-modal[hidden]{display:none}.team-export-dialog{width:min(680px,100%);max-height:90vh;overflow:auto;background:#07131b;border:1px solid #86f7ff;padding:1rem}.team-export-dialog img{display:block;width:100%;height:auto}.team-export-dialog button{padding:.8rem;background:#86f7ff;color:#05070b;margin:.5rem;border:1px solid #86f7ff}@media(max-width:1100px){.hero-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.builder-side{grid-template-columns:minmax(0,2fr) minmax(220px,1fr)}}@media(max-width:850px){.builder-side{grid-template-columns:1fr}.analysis{display:grid;grid-template-columns:auto 1fr;-moz-column-gap:1.5rem;column-gap:1.5rem}.analysis>small,#roles{grid-column:1/-1}.analysis p{align-self:center}.hero-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.filters{align-items:stretch;flex-direction:column}#search{width:100%}}@media(max-width:600px){.builder-main{position:relative;z-index:3;width:calc(100% - 2rem);padding-top:7rem}.builder-card{padding:1rem}.builder-side{gap:1rem}.builder-layout{gap:1.5rem}.builder-heading h1{font-size:clamp(2rem,9vw,3.5rem)}.builder-intro{font-size:.8rem}.slots{gap:.3rem}.slot{padding:.45rem .15rem;min-height:115px}.slot .slot-portrait{height:58px;width:46px}.slot strong{font-size:.75rem}.slot small{font-size:.48rem}.card-actions{display:grid;grid-template-columns:1fr 1fr}.card-actions button{padding:.65rem .5rem;font-size:.6rem}#export-team{grid-column:1/-1;margin:0}.analysis #score{font-size:3.5rem}.card-title h2{font-size:2rem}#classes{display:grid;grid-template-columns:1fr 1fr}#classes button{padding:.65rem .5rem;font-size:.6rem}.hero-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.hero-mark,.hero-mark img{height:155px}.hero-card>strong{font-size:1.3rem}.hero-card>small{font-size:.53rem}.preset-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.hero-card{transition:none}}.builder-shell>footer{position:relative;z-index:3}
