.b26lb-page {
  min-height: 100vh;
  background:
    radial-gradient(960px 420px at 14% -12%, rgba(59, 130, 246, 0.12), transparent 62%),
    radial-gradient(900px 420px at 100% 0%, rgba(129, 140, 248, 0.08), transparent 58%),
    #070d1a;
  color: #f8fafc;
}

.b26lb-page[data-bsc-theme="light"] {
  background:
    radial-gradient(960px 420px at 14% -12%, rgba(37, 99, 235, 0.06), transparent 62%),
    radial-gradient(900px 420px at 100% 0%, rgba(129, 140, 248, 0.05), transparent 58%),
    #edf2f9;
  color: var(--text-main);
}

.b26lb-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.b26lb-hero,
.b26lb-panel {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-hero,
.b26lb-page[data-bsc-theme="light"] .b26lb-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(30, 41, 59, 0.22);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.b26lb-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0 8px;
  margin-bottom: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.b26lb-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.b26lb-sub {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.b26lb-page[data-bsc-theme="light"] .b26lb-hero {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.b26lb-page[data-bsc-theme="light"] .b26lb-sub {
  color: var(--text-sub);
}

.b26lb-hero-actions {
  display: flex;
  gap: 10px;
}

.b26lb-ghost-btn,
.b26lb-btn,
.b26lb-select,
.b26lb-input {
  height: 42px;
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
}

.b26lb-page[data-bsc-theme="light"] .b26lb-ghost-btn,
.b26lb-page[data-bsc-theme="light"] .b26lb-btn,
.b26lb-page[data-bsc-theme="light"] .b26lb-select,
.b26lb-page[data-bsc-theme="light"] .b26lb-input {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.34);
}

.b26lb-ghost-btn,
.b26lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.b26lb-panel {
  padding: 14px;
  margin-bottom: 14px;
}

.b26lb-section-head {
  margin-bottom: 12px;
}

.b26lb-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.b26lb-section-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.b26lb-section-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-section-sub {
  color: var(--text-sub);
}

.b26lb-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.b26lb-field {
  display: grid;
  gap: 8px;
}

.b26lb-field:first-child {
  min-width: 220px;
}

.b26lb-field-grow {
  min-width: 220px;
  flex: 1;
}

.b26lb-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-label {
  color: var(--text-sub);
}

.b26lb-select,
.b26lb-input {
  min-width: 180px;
  padding: 0 12px;
  font-size: 14px;
}

.b26lb-page[data-bsc-theme="dark"] .b26lb-select {
  color-scheme: dark;
}

.b26lb-page[data-bsc-theme="light"] .b26lb-select {
  color-scheme: light;
}

.b26lb-select option {
  color: #0f172a;
  background: #ffffff;
}

.b26lb-page[data-bsc-theme="dark"] .b26lb-select option {
  color: #f8fafc;
  background: #0f172a;
}

.b26lb-status,
.b26lb-meta-row {
  margin-bottom: 12px;
}

.b26lb-status {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(147, 197, 253, 0.18);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.b26lb-status[data-state="error"] {
  border-color: rgba(251, 113, 133, 0.28);
  background: rgba(251, 113, 133, 0.12);
}

.b26lb-meta-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-meta-text {
  color: var(--text-sub);
}

.b26lb-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.34);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-table-wrap {
  border-color: rgba(30, 41, 59, 0.2);
}

.b26lb-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

.b26lb-table th,
.b26lb-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(147, 197, 253, 0.12);
  text-align: left;
  font-size: 14px;
  white-space: nowrap;
  vertical-align: middle;
}

.b26lb-page[data-bsc-theme="light"] .b26lb-table th,
.b26lb-page[data-bsc-theme="light"] .b26lb-table td {
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

.b26lb-table th {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-table th {
  color: var(--text-sub);
}

.b26lb-table tbody tr {
  cursor: pointer;
}

.b26lb-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-table tbody tr:hover {
  background: rgba(148, 163, 184, 0.08);
}

.b26lb-col-rank,
.b26lb-col-logo,
.b26lb-col-points,
.b26lb-col-stat,
.b26lb-col-wr {
  text-align: center;
}

.b26lb-team-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.b26lb-team-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: transparent;
}

.b26lb-qualified-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.b26lb-qualified-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 74px;
  padding: 14px 16px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.32);
  background: rgba(6, 18, 40, 0.88);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.b26lb-page[data-bsc-theme="light"] .b26lb-qualified-card {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.28);
}

.b26lb-qualified-card:hover {
  background: rgba(13, 28, 57, 0.96);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-qualified-card:hover {
  background: #f8fafc;
}

.b26lb-qualified-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.b26lb-qualified-main {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.b26lb-qualified-name {
  font-family: "Roboto Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.b26lb-qualified-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.b26lb-page[data-bsc-theme="light"] .b26lb-qualified-sub {
  color: var(--text-sub);
}

.b26lb-qualified-points {
  display: grid;
  justify-items: end;
  gap: 2px;
  flex: 0 0 auto;
}

.b26lb-qualified-points-num {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.b26lb-qualified-points-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-qualified-points-label {
  color: var(--text-sub);
}

.b26lb-team-name {
  font-weight: 800;
}

.b26lb-team-name-link {
  color: inherit;
  text-decoration: none;
}

.b26lb-team-name-link:hover {
  text-decoration: underline;
}

.b26lb-team-sub,
.b26lb-cell-sub,
.b26lb-subtle,
.b26lb-detail-rank,
.b26lb-timeline-label,
.b26lb-roster-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-team-sub,
.b26lb-page[data-bsc-theme="light"] .b26lb-cell-sub,
.b26lb-page[data-bsc-theme="light"] .b26lb-subtle,
.b26lb-page[data-bsc-theme="light"] .b26lb-detail-rank,
.b26lb-page[data-bsc-theme="light"] .b26lb-timeline-label,
.b26lb-page[data-bsc-theme="light"] .b26lb-roster-sub {
  color: var(--text-sub);
}

.b26lb-cell-stack {
  display: grid;
  gap: 4px;
}

.b26lb-cell-main {
  font-weight: 700;
}

.b26lb-points-strong {
  font-size: 20px;
  font-weight: 900;
}

.b26lb-win {
  color: #34d399;
}

.b26lb-warn {
  color: #fbbf24;
}

.b26lb-bad {
  color: #fb7185;
}

.b26lb-list-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.b26lb-btn-wide {
  min-width: 180px;
}

.b26lb-empty-row td,
.b26lb-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-empty-row td,
.b26lb-page[data-bsc-theme="light"] .b26lb-empty {
  color: var(--text-sub);
}

.b26lb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(2px);
  z-index: 10060;
}

.b26lb-modal {
  position: fixed;
  box-sizing: border-box;
  top: calc(var(--bsc-site-header-h, 64px) + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - 40px), 1080px);
  bottom: 20px;
  max-height: calc(100vh - var(--bsc-site-header-h, 64px) - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 10070;
  border-radius: 24px;
  border: 1px solid rgba(147, 197, 253, 0.18);
  background: rgba(9, 21, 42, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-modal {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.28);
}

.b26lb-modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(147, 197, 253, 0.16);
  background: inherit;
}

.b26lb-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(147, 197, 253, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
}

.b26lb-modal-body {
  padding: 18px 20px 20px;
  overflow-x: hidden;
}

.b26lb-modal-body > * {
  min-width: 0;
}

.b26lb-detail-teamline {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.b26lb-detail-heading-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: nowrap;
}

.b26lb-detail-title {
  min-width: 0;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.b26lb-detail-sep,
.b26lb-detail-meta {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.b26lb-detail-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
  min-width: 0;
}

.b26lb-summary-ribbon-card,
.b26lb-break-card,
.b26lb-detail-block {
  border: 1px solid rgba(147, 197, 253, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.b26lb-summary-ribbon-card {
  padding: 16px;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.b26lb-summary-ribbon-label,
.b26lb-break-card-title,
.b26lb-break-card-record {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.b26lb-page[data-bsc-theme="light"] .b26lb-summary-ribbon-label,
.b26lb-page[data-bsc-theme="light"] .b26lb-break-card-title,
.b26lb-page[data-bsc-theme="light"] .b26lb-break-card-record {
  color: var(--text-sub);
}

.b26lb-summary-ribbon-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.b26lb-summary-ribbon-value {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.b26lb-summary-ribbon-sub {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.b26lb-page[data-bsc-theme="light"] .b26lb-summary-ribbon-sub {
  color: var(--text-sub);
}

.b26lb-summary-ribbon-rate {
  font-size: 18px;
  font-weight: 800;
}

.b26lb-detail-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.b26lb-detail-block {
  padding: 16px;
}

.b26lb-detail-block h3 {
  margin: 0 0 12px;
  font-size: 14px;
}

.b26lb-breakdown-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.b26lb-break-card {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.b26lb-break-card-head,
.b26lb-break-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.b26lb-break-card-rate {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.b26lb-break-card-row {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.b26lb-break-card-row strong {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.b26lb-page[data-bsc-theme="light"] .b26lb-break-card-row {
  color: rgba(15, 23, 42, 0.82);
}

.b26lb-page[data-bsc-theme="light"] .b26lb-break-card-row strong {
  color: var(--text-main);
}

.b26lb-roster-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.b26lb-roster-list {
  display: grid;
  gap: 10px;
}

.b26lb-roster-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(147, 197, 253, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.b26lb-roster-name {
  font-weight: 800;
}

.b26lb-roster-link {
  color: inherit;
  font-weight: 700;
}

.b26lb-roster-link:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .b26lb-section-head-row,
  .b26lb-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .b26lb-detail-summary,
  .b26lb-detail-columns {
    grid-template-columns: 1fr;
  }

  .b26lb-detail-summary,
  .b26lb-breakdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .b26lb-main {
    padding: 16px 10px 34px;
  }

  .b26lb-modal {
    top: calc(var(--bsc-site-header-h, 56px) + 8px);
    width: calc(100vw - 16px);
    bottom: 8px;
    max-height: calc(100vh - var(--bsc-site-header-h, 56px) - 16px);
  }

  .b26lb-detail-summary,
  .b26lb-breakdown-grid {
    grid-template-columns: 1fr;
  }

  .b26lb-modal-head,
  .b26lb-modal-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .b26lb-roster-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
