.boss-strip { display:flex; align-items:center; flex-wrap:wrap; gap:9px; min-width:0; }
.boss-portrait { display:block; position:relative; overflow:hidden; flex:none; width:56px; height:56px; border-radius:50%; background:#1d2635; border:2px solid #526176; box-sizing:border-box; }
.boss-portrait img { position:absolute; max-width:none; width:var(--boss-zoom,200%); height:auto; left:50%; top:50%; transform:translate(var(--boss-x,-50%),var(--boss-y,-44%)); }
.boss-portrait[data-boss="lotus"] { --boss-x:-53%; --boss-y:-37%; --boss-zoom:240%; }
.boss-portrait[data-boss="kalos"] { --boss-x:-40%; --boss-y:-48%; }
.boss-portrait[data-boss="first-adversary"] { --boss-y:-35%; }
.boss-portrait[data-boss="bellona"] { --boss-y:-36%; }
.boss-portrait[data-boss="malefic-star"] { --boss-y:-36%; }
.boss-portrait[data-boss="limbo"] { --boss-y:-54%; --boss-zoom:180%; }
.boss-portrait[data-boss="baldrix"] { --boss-y:-47%; }
.boss-portrait[data-boss="jupiter"] { --boss-y:-34%; }
.boss-portrait[data-boss="black-mage"] { --boss-x:-31%; --boss-y:-24%; --boss-zoom:300%; }
.boss-portrait[data-boss="damien"] { --boss-x:-45%; --boss-y:-51%; --boss-zoom:230%; }
.boss-portrait[data-boss="guardian-angel-slime"] { --boss-y:-54%; --boss-zoom:170%; }
.boss-portrait[data-boss="lucid"] { --boss-y:-45%; --boss-zoom:230%; }
.boss-portrait[data-boss="will"] { --boss-x:-70%; --boss-y:-54%; --boss-zoom:220%; }
.boss-portrait[data-boss="gloom"] { --boss-x:-42%; --boss-y:-52%; --boss-zoom:180%; }
.boss-portrait[data-boss="darknell"] { --boss-x:-47%; --boss-y:-51%; --boss-zoom:200%; }
.boss-portrait[data-boss="verus-hilla"] { --boss-y:-31%; --boss-zoom:240%; }
.boss-portrait[data-boss="zakum"] { --boss-x:-70%; --boss-y:-45%; }
.boss-portrait[data-boss="magnus"] { --boss-x:-66%; --boss-y:-48%; }
.boss-portrait[data-boss="hilla"] { --boss-y:-46%; }
.boss-portrait[data-boss="papulatus"] { --boss-x:-57%; --boss-y:-41%; }
.boss-portrait[data-boss="pierre"] { --boss-x:-53%; --boss-y:-50%; }
.boss-portrait[data-boss="von-bon"] { --boss-x:-37%; --boss-y:-47%; }
.boss-portrait[data-boss="crimson-queen"] { --boss-y:-31%; }
.boss-portrait[data-boss="vellum"] { --boss-x:-30%; --boss-y:-58%; }
.boss-portrait[data-boss="pink-bean"] { --boss-x:-57%; --boss-y:-56%; --boss-zoom:150%; }
.boss-portrait[data-boss="cygnus"] { --boss-x:-48%; --boss-y:-56%; }
.boss-portrait[data-boss="arkarium"] { --boss-x:-67%; --boss-y:-60%; }
.boss-portrait[data-boss="von-leon"] { --boss-x:-59%; --boss-y:-51%; }
.boss-portrait[data-boss="horntail"] { --boss-y:-40%; }
.boss-portrait[data-boss="kai"] { --boss-y:-38%; }
.boss-empty { font-size:.9375rem; font-weight:600; color:#bfc9d8; }
.boss-picker,.boss-extra-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(87px,1fr)); gap:10px; margin:0; padding:0; border:0; min-width:0; }
.boss-extra { grid-column:1 / -1; min-width:0; margin-top:2px; }
.boss-extra>summary { display:flex; align-items:center; gap:12px; min-height:44px; padding:10px 14px; border:1px solid #354155; border-radius:8px; background:#171f2c; color:#edf2fa; font-size:.8125rem; cursor:pointer; list-style:none; }
.boss-extra>summary::-webkit-details-marker { display:none; }
.boss-extra>summary:hover { background:#243044; border-color:#73849f; }
.boss-extra>summary:focus-visible { outline:2px solid var(--orange,#f2a65a); outline-offset:3px; }
.boss-extra>summary::after { content:''; width:7px; height:7px; flex:none; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); }
.boss-extra[open]>summary::after { transform:translateY(2px) rotate(225deg); }
.boss-extra-label { flex:1; }
.boss-extra-count { color:var(--orange,#f2a65a); font-size:.75rem; white-space:nowrap; }
.boss-extra-grid { margin-top:10px; }
.boss-option { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:8px; border:1px solid #354155; border-radius:10px; padding:12px 4px 10px; background:#171f2c; cursor:pointer; min-width:0; }
.boss-option:hover { background:#243044; border-color:#73849f; }
.boss-option:has(input:checked) { border-color:var(--orange,#f2a65a); background:#392d23; }
.boss-option:has(input:focus-visible) { outline:2px solid var(--orange,#f2a65a); outline-offset:3px; }
.boss-option input { position:absolute; width:1px; height:1px; padding:0; margin:0; opacity:0; }
.boss-option-visual { position:relative; display:block; }
.boss-option .boss-portrait { width:56px; height:56px; border-color:#526176; }
.boss-option input:checked + .boss-option-visual .boss-portrait { border-color:var(--orange,#f2a65a); }
.boss-check { position:absolute; right:-3px; bottom:-2px; display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:var(--orange,#f2a65a); color:#1b1b1b; font-size:13px; font-weight:800; opacity:0; }
.boss-option input:checked + .boss-option-visual .boss-check { opacity:1; }
.boss-option-name { color:#edf2fa; text-align:center; font-size:.75rem; line-height:1.4; word-break:keep-all; }
.boss-settings-heading { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:16px; }
.boss-settings-heading h2 { margin:0; }
.boss-count { font-size:.8125rem; color:var(--orange,#f2a65a); }
.hub-party-title .party-title-link { display:block; }
.hub-party-title .boss-strip { gap:8px; }
.hub-party-title .boss-portrait { width:52px; height:52px; }
.party-heading-bosses { margin:0; }
.party-heading-bosses .boss-portrait { width:62px; height:62px; }
.new-party-bosses { margin-top:20px; }
.new-party-bosses legend { margin-bottom:12px; font-weight:700; }
@media(max-width:540px) {
  .boss-picker,.boss-extra-grid { grid-template-columns:repeat(auto-fill,minmax(74px,1fr)); gap:8px; }
  .boss-option { padding:10px 3px 8px; }
  .boss-portrait,.hub-party-title .boss-portrait { width:46px; height:46px; }
  .party-heading-bosses .boss-portrait { width:52px; height:52px; }
}
