/* ==========================================================================
   records.css — Division-I Editorial Record Book & Championship Archive
   Lake Central Indians Baseball
   ========================================================================== */

/* ─────────────────────────────────────────────────────
   1. FLOATING EXECUTIVE SUMMARY SCOREBOARD
   ───────────────────────────────────────────────────── */
.rb-stats-section {
  max-width: 1400px;
  margin: -3.2rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 15;
}

.rb-stats-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(7, 13, 24, 0.12), 0 2px 6px rgba(7, 13, 24, 0.05);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
  border: 1px solid #dbe3ef;
}

.rb-stat-item {
  padding: 1.35rem 1rem;
  text-align: center;
  border-right: 1px solid #e2e8f0;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  transition: background 0.2s ease;
}

.rb-stat-item:last-child {
  border-right: none;
}

.rb-stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  opacity: 0.85;
}

.rb-stat-item.stat-gold::before {
  background: linear-gradient(90deg, #b45309, #eab308);
}

.rb-stat-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.rb-stat-item.stat-gold .rb-stat-number {
  color: #b45309;
}

.rb-stat-label {
  font-size: 0.66rem;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.45rem;
  display: block;
}

.rb-stat-sub {
  font-size: 0.64rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.2rem;
  display: block;
}

@media (max-width: 1100px) {
  .rb-stats-card {
    grid-template-columns: repeat(3, 1fr);
  }
  .rb-stat-item:nth-child(3) {
    border-right: none;
  }
  .rb-stat-item:nth-child(-n+3) {
    border-bottom: 1px solid #e2e8f0;
  }
}

@media (max-width: 640px) {
  .rb-stats-section {
    padding: 0 1rem;
    margin-top: -2rem;
  }
  .rb-stats-card {
    grid-template-columns: repeat(2, 1fr);
  }
  .rb-stat-item:nth-child(even) {
    border-right: none;
  }
  .rb-stat-item:nth-child(odd) {
    border-right: 1px solid #e2e8f0;
  }
  .rb-stat-item:nth-child(-n+4) {
    border-bottom: 1px solid #e2e8f0;
  }
}

/* ─────────────────────────────────────────────────────
   2. COMMAND BAR (SEARCH/FILTERS + ORGANIZATION PILL GRID)
   ───────────────────────────────────────────────────── */
.rb-command-wrap {
  max-width: 1400px;
  margin: 1.5rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 20;
}

.rb-command-inner {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.rb-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rb-search-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 680px;
  flex-wrap: wrap;
}

.rb-input-group {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 0.48rem 0.85rem;
  gap: 0.55rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.rb-input-group.rb-input-search {
  flex: 1 1 260px;
  min-width: 220px;
}

.rb-input-group.rb-input-select {
  flex: 0 0 auto;
}

.rb-input-group:focus-within {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.rb-input-group i {
  color: #2563eb;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.rb-search-input {
  background: transparent;
  border: none;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 600;
  outline: none;
  width: 100%;
  padding: 0;
}

.rb-search-input::placeholder {
  color: #64748b;
  font-weight: 500;
}

.rb-select {
  background: transparent;
  border: none;
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  padding-right: 1.35rem;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 0.95em;
}

.rb-reset-btn {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 9px;
  padding: 0.5rem 0.9rem;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.15s;
}

.rb-reset-btn:hover {
  background: #dbeafe;
}

.rb-results-meta {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 0.48rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.rb-results-meta strong {
  color: #1e3a8a;
  font-weight: 900;
}

/* Category / Organization Responsive Flex Pill Grid */
.rb-org-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
}

.rb-org-tab {
  flex: 1 1 auto;
  padding: 0.52rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #334155;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  white-space: nowrap;
  border-radius: 8px;
  min-width: 0;
}

.rb-org-tab-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rb-org-tab-label i {
  font-size: 0.72rem;
  color: #2563eb;
  flex-shrink: 0;
}

.rb-org-tab:hover {
  color: #0f172a;
  background: #eff6ff;
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.rb-org-tab.active {
  color: #ffffff;
  border-color: #1d4ed8;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
}

.rb-org-tab.active .rb-org-tab-label i {
  color: #fbbf24;
}

.rb-org-tab-count {
  background: #e2e8f0;
  color: #334155;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: 99px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.rb-org-tab.active .rb-org-tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

@media (max-width: 960px) {
  .rb-command-wrap {
    padding: 0 1.25rem;
    margin-top: 1.25rem;
  }
  .rb-command-inner {
    padding: 0.9rem 1rem;
  }
  .rb-input-group.rb-input-search {
    flex: 1 1 100%;
  }
  .rb-input-group.rb-input-select {
    flex: 1 1 calc(50% - 0.35rem);
  }
  .rb-select {
    width: 100%;
  }
  .rb-results-meta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .rb-command-wrap {
    padding: 0 1rem;
  }
  .rb-input-group.rb-input-select {
    flex: 1 1 100%;
  }
  .rb-results-meta {
    font-size: 0.7rem;
    white-space: normal;
  }
  .rb-org-tab {
    font-size: 0.66rem;
    padding: 0.48rem 0.55rem;
  }
}

/* ─────────────────────────────────────────────────────
   3. CHAMPIONSHIP BANNER SHOWCASE (TROPHY CASE)
   ───────────────────────────────────────────────────── */
.rb-trophy-showcase {
  margin-bottom: 3.5rem;
  background:
    radial-gradient(ellipse 90% 120% at 85% 20%, rgba(37, 99, 235, 0.22) 0%, transparent 60%),
    linear-gradient(135deg, #070d18 0%, #0f1f4b 55%, #172e6e 100%);
  border-radius: 16px;
  padding: 2.25rem;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(7, 13, 24, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.rb-trophy-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.rb-trophy-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rb-trophy-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.rb-trophy-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #070d18;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.rb-trophy-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fbbf24;
  display: block;
  margin-bottom: 0.15rem;
}

.rb-trophy-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: #ffffff;
}

.rb-state-banners-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.rb-state-banner-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-left: 5px solid #fbbf24;
  border-radius: 12px;
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.2s, background 0.2s;
  cursor: pointer;
}

.rb-state-banner-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.rb-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rb-banner-year {
  font-size: 1.65rem;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rb-banner-record-pill {
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 99px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rb-banner-headline {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.3;
}

.rb-banner-sub {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.48;
  margin: 0;
}

.rb-rafter-strips {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rb-rafter-box {
  background: rgba(7, 13, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}

.rb-rafter-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rb-rafter-label span.count {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.4);
  padding: 0.1rem 0.5rem;
  border-radius: 99px;
  font-size: 0.65rem;
  white-space: nowrap;
}

.rb-year-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rb-year-chip {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all 0.15s;
}

.rb-year-chip:hover {
  background: #2563eb;
  border-color: #60a5fa;
  color: #ffffff;
}

.rb-year-chip.gold-chip {
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fde68a;
}

.rb-year-chip.gold-chip:hover {
  background: #d97706;
  color: #ffffff;
}

@media (max-width: 1080px) {
  .rb-state-banners-grid,
  .rb-rafter-strips {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .rb-trophy-showcase {
    padding: 1.35rem 1.15rem;
  }
}

/* ─────────────────────────────────────────────────────
   4. ORGANIZATION SECTION HEADERS
   ───────────────────────────────────────────────────── */
.rb-org-section {
  margin-bottom: 4rem;
  scroll-margin-top: 175px;
}

/* Defer rendering workload for off-screen organization sections below the initial fold */
.rb-org-section:nth-child(n+2) {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 380px;
}

.rb-org-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #cbd5e1;
  flex-wrap: wrap;
}

.rb-org-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.rb-org-icon.theme-navy {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #60a5fa;
}

.rb-org-icon.theme-gold {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.rb-org-icon.theme-royal {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
}

.rb-org-icon.theme-slate {
  background: linear-gradient(135deg, #334155, #1e293b);
  color: #e2e8f0;
}

.rb-org-title-group {
  flex: 1;
  min-width: 240px;
}

.rb-org-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2563eb;
  display: block;
  margin-bottom: 0.15rem;
}

.rb-org-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  margin: 0;
  line-height: 1.15;
}

.rb-org-desc {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0.2rem 0 0;
  font-weight: 500;
}

.rb-org-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rb-org-count-pill {
  font-size: 0.7rem;
  font-weight: 800;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 99px;
  padding: 0.3rem 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ─────────────────────────────────────────────────────
   5. SMART CATEGORY CARDS & BALANCED MULTI-COLUMN GRID
   ───────────────────────────────────────────────────── */
.rb-category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.rb-category-card {
  grid-column: span 4;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rb-category-card:hover {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

/* Span variants to eliminate awkward vertical height mismatches */
.rb-category-card.span-6 {
  grid-column: span 6;
}

.rb-category-card.span-8 {
  grid-column: span 8;
}

.rb-category-card.span-12 {
  grid-column: span 12;
}

@media (max-width: 1150px) {
  .rb-category-card,
  .rb-category-card.span-6,
  .rb-category-card.span-8 {
    grid-column: span 6;
  }
  .rb-category-card.span-12 {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .rb-category-card,
  .rb-category-card.span-6,
  .rb-category-card.span-8,
  .rb-category-card.span-12 {
    grid-column: span 12;
  }
}

/* Card Header Bar */
.rb-card-header {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 3px solid #2563eb;
}

.rb-category-card.accent-gold .rb-card-header {
  border-bottom-color: #eab308;
}

.rb-card-title {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.rb-card-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 99px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.rb-category-card.accent-gold .rb-card-badge {
  background: rgba(251, 191, 36, 0.2);
  color: #fde68a;
}

/* Card Body & Internal Multi-Column Layout for Large Lists */
.rb-card-body {
  padding: 0.5rem 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rb-card-body.multi-col-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  align-content: start;
}

.rb-card-body.multi-col-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.75rem;
  align-content: start;
}

@media (max-width: 960px) {
  .rb-card-body.multi-col-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .rb-card-body.multi-col-2,
  .rb-card-body.multi-col-3 {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────
   6. STRUCTURED YEAR & PLAYER ENTRY ROWS
   ───────────────────────────────────────────────────── */
.rb-year-group {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.rb-year-group:last-child {
  border-bottom: none;
}

.rb-year-pill {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  min-width: 50px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.rb-category-card.accent-gold .rb-year-pill {
  background: #fefce8;
  color: #a16207;
  border-color: #fde047;
}

.rb-year-entries {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.rb-entry-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rb-entry-item + .rb-entry-item {
  padding-top: 0.45rem;
  border-top: 1px dashed #e2e8f0;
}

.rb-entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.rb-player-name {
  color: #0f172a;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.rb-record-cat-label {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.15rem;
  width: fit-content;
}

.rb-category-card.accent-gold .rb-record-cat-label {
  color: #92400e;
  background: #fef3c7;
  border-color: #fde68a;
}

.rb-pos-pill {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.48rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.rb-tier-pill {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.1rem 0.48rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.rb-tier-pill.tier-first {
  background: #fefce8;
  color: #a16207;
  border-color: #fde047;
}

.rb-entry-detail {
  color: #475569;
  font-size: 0.81rem;
  font-weight: 500;
  line-height: 1.45;
}

.rb-entry-detail strong.rb-stat-highlight {
  color: #0f172a;
  font-weight: 800;
  background: #f1f5f9;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  font-variant-numeric: tabular-nums;
}

.rb-category-card.accent-gold .rb-entry-detail strong.rb-stat-highlight {
  background: #fef9c3;
  border-color: #fde047;
  color: #854d0e;
}

/* Team Banner Entry inside Category Card */
.rb-team-entry {
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.45;
}

.rb-team-entry strong.rb-team-title {
  display: block;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

/* ─────────────────────────────────────────────────────
   7. LEADERBOARD & MVP RANK MEDALLIONS
   ───────────────────────────────────────────────────── */
.rb-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 900;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
