
.bs-region .area-head small { opacity: .75; }
.bs-cards { display: grid; gap: 8px; }
.bs-card { position: relative; display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 8px; border-radius: 12px; color: inherit; font: inherit; text-align: left; cursor: pointer;
  border: 1px solid rgba(255, 160, 90, .22); background: radial-gradient(120% 140% at 0% 50%, rgba(255, 110, 40, .2), transparent 60%), linear-gradient(180deg, rgba(40, 22, 16, .7), rgba(18, 12, 10, .8)); }
.bs-card:hover { border-color: rgba(255, 170, 100, .45); }
.bs-card.is-selected { border-color: var(--gold-1, #f2c66a); box-shadow: 0 0 0 1px rgba(242, 198, 106, .35), 0 6px 18px rgba(0, 0, 0, .35); }
.bs-card.is-running { border-color: rgba(127, 209, 106, .6); }
.bs-card-art { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: radial-gradient(circle at 50% 70%, rgba(255, 120, 50, .45), rgba(30, 14, 10, .9)); display: grid; place-items: center; }
.bs-card-portrait { width: 100%; height: 100%; object-fit: cover; }
.bs-card-copy { display: grid; gap: 3px; min-width: 0; }
.bs-card-copy strong { font: 400 1.08rem var(--font-display); color: var(--text-1); }
.bs-card-copy small { font-size: .74rem; opacity: .75; }
.bs-card-level { display: grid; justify-items: center; line-height: 1; padding: 6px 8px; border-radius: 9px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); }
.bs-card-level small { font-size: .6rem; letter-spacing: .1em; opacity: .7; }
.bs-card-level b { font-size: 1.25rem; color: var(--gold-1, #f2c66a); }
.bs-more { display: flex; gap: 8px; align-items: center; opacity: .65; }

.bs-hero { display: grid; grid-template-columns: 148px 1fr; gap: 14px; align-items: stretch; margin-bottom: 10px; }
.bs-hero-art { position: relative; border-radius: 14px; overflow: hidden; min-height: 148px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 78%, rgba(255, 140, 60, .7), rgba(120, 30, 12, .55) 45%, rgba(18, 8, 6, .95) 80%);
  box-shadow: inset 0 0 0 1px rgba(255, 170, 100, .3), inset 0 -30px 40px rgba(0, 0, 0, .45); }
.bs-hero-portrait { width: 100%; height: 100%; object-fit: cover; }
.bs-hero-art .is-emblem, .bs-hero-art > span { transform: scale(2.2); opacity: .9; }
.bs-hero-copy { display: grid; align-content: center; gap: 6px; min-width: 0; }
.bs-hero-copy h3 { margin: 0; font-size: 1.5rem; line-height: 1.05; }
.bs-power { display: flex; gap: 6px; flex-wrap: wrap; }
.bs-power span { display: grid; gap: 1px; padding: 5px 10px; border-radius: 8px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .07); }
.bs-power small { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.bs-power b { font-size: 1rem; }
.bs-power .is-foe b { color: #ff9a6a; }

.bs-ready { display: grid; gap: 2px; margin: 8px 0 12px; padding: 9px 12px; border-radius: 10px; border-left: 4px solid; background: rgba(0, 0, 0, .28); }
.bs-ready b { font-size: .9rem; }
.bs-ready small { font-size: .78rem; opacity: .85; }
.bs-ready.is-ready { border-color: #7fd16a; } .bs-ready.is-ready b { color: #9fe08a; }
.bs-ready.is-close { border-color: #f2b04b; } .bs-ready.is-close b { color: #f7c46e; }
.bs-ready.is-shut { border-color: #8a8a8a; } .bs-ready.is-shut b { color: #c9c9c9; }
.bs-live { margin: -4px 0 10px; }

.bs-phases { position: relative; display: flex; gap: 3px; margin: 4px 0 12px; border-radius: 10px; overflow: hidden; }
.bs-phase { flex: 0 0 calc(var(--w) - 2px); display: grid; gap: 3px; align-content: start; padding: 9px 10px; min-width: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 26%, rgba(20, 14, 12, .9)), rgba(14, 10, 9, .92)); border-top: 3px solid var(--tone); }
.bs-phase.is-melee { --tone: #e0655b; } .bs-phase.is-ranged { --tone: #7fd16a; } .bs-phase.is-magic { --tone: #8fb0ff; }
.bs-phase.is-now { box-shadow: inset 0 0 0 1px var(--tone); }
.bs-phase.is-past { opacity: .5; }
.bs-phase-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bs-phase-top .ia-emblem { width: 18px; height: 18px; }
.bs-phase-top b { font: 400 .98rem var(--font-display); }
.bs-phase-top small { margin-left: auto; font-size: .66rem; opacity: .7; }
.bs-phase-line { font-size: .74rem; opacity: .85; }
.bs-phase-weak { display: flex; gap: 4px; align-items: center; font-size: .74rem; color: #ffd27a; }
.bs-phase-weak .ia-glyph { width: 12px; height: 12px; }
.bs-phase-fill { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--left); background: linear-gradient(90deg, #ff6a3a, #ffb05a); }

.bs-mechanics { display: grid; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.bs-mech { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-radius: 9px; background: rgba(0, 0, 0, .24); border: 1px solid rgba(255, 255, 255, .06); }
.bs-mech b { display: block; font-size: .84rem; }
.bs-mech small { display: block; font-size: .76rem; opacity: .82; }
.bs-mech-mark { width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; }
.bs-mech.is-ward .bs-mech-mark { background: radial-gradient(circle at 40% 35%, #c9f0ff, #4fa8d6 60%, #1c4a66); box-shadow: 0 0 8px rgba(79, 168, 214, .5); border-radius: 50% 50% 46% 46% / 40% 40% 60% 60%; }
.bs-mech.is-telegraph .bs-mech-mark { background: linear-gradient(180deg, #ffd27a, #e0582e); clip-path: polygon(50% 0, 100% 92%, 0 92%); }
.bs-mech.is-enrage .bs-mech-mark { background: radial-gradient(circle at 50% 70%, #ffb05a, #c8352a 60%, #5a1210); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }

.bs-second { display: grid; gap: 6px; margin: 0 0 12px; }
.bs-second p { margin: 0; font-size: .76rem; }
.bs-weapons { display: flex; flex-wrap: wrap; gap: 5px; }
.bs-weapon { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(14, 10, 8, .55); cursor: pointer; }
.bs-weapon .item-img { width: 36px; height: 36px; }
.bs-weapon.is-chosen { border-color: var(--gold-1, #f2c66a); background: rgba(242, 198, 106, .14); box-shadow: 0 0 10px rgba(242, 198, 106, .3); }
.bs-weapon.is-none .ia-glyph { width: 16px; height: 16px; opacity: .6; }

.bs-cache { display: grid; gap: 6px; margin: 4px 0 12px; }
.bs-cache-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.bs-cache-cell { display: grid; justify-items: center; gap: 2px; padding: 6px 4px 4px; border-radius: 9px; background: linear-gradient(180deg, rgba(255, 140, 60, .1), rgba(0, 0, 0, .25)); border: 1px solid rgba(255, 170, 100, .14); }
.bs-cache-cell .item-img { width: 34px; height: 34px; }
.bs-cache-cell b { font-size: .7rem; }
.bs-cache-cell.is-unique { background: linear-gradient(180deg, rgba(255, 196, 90, .14), rgba(0, 0, 0, .28)); border-color: rgba(255, 200, 110, .34); }
.bs-cache-cell.is-unique.is-found { border-color: var(--rar, rgba(255, 200, 110, .34)); box-shadow: inset 0 0 0 1px var(--rar, transparent); }
.bs-cache-cell.is-found.r-common { --rar: var(--rar-common); } .bs-cache-cell.is-found.r-uncommon { --rar: var(--rar-uncommon); } .bs-cache-cell.is-found.r-rare { --rar: var(--rar-rare); }
.bs-cache-cell.is-found.r-epic { --rar: var(--rar-epic); } .bs-cache-cell.is-found.r-legendary { --rar: var(--rar-legendary); }
.bs-note { margin: 0; font-size: .74rem; }

.bs-records { display: flex; gap: 8px; }
.bs-records span { flex: 1; display: grid; gap: 1px; padding: 8px 10px; border-radius: 9px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .06); }
.bs-records small { font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

@media (min-width: 761px) and (min-height: 501px), (min-width: 761px) and (pointer: fine), (min-width: 761px) and (pointer: none) {
  .is-hud .stage .bosses-page .page-columns { grid-template-columns: minmax(0, 1fr) 34rem; }
}
@media (max-width: 760px), (max-height: 500px) and (pointer: coarse) {
  .bs-hero { grid-template-columns: 96px 1fr; }
  .bs-hero-art { min-height: 96px; }
  .bs-phases { flex-direction: column; }
  .bs-phase { flex: none; }
  .bs-card-copy small, .bs-card-level small, .bs-cache-cell b, .bs-power small, .bs-mech small, .bs-phase-top small, .bs-phase-line, .bs-phase-weak, .bs-records small, .bs-ready small, .bs-second p, .bs-note { font-size: .9rem; }
  .bs-mech b, .bs-ready b { font-size: .95rem; }
  .bs-card-level small { letter-spacing: .06em; }
  .bs-cache-grid { grid-template-columns: repeat(auto-fill, minmax(4.4rem, 1fr)); }
  .bs-records { flex-wrap: wrap; }
  .bs-records b { font-size: 1rem; }
}
