/**
 * Rising Stars — OLD CLIENT
 * LoL Classic / esports hub + pages (theme-only).
 * Overrides rs-hub / custom esports look with classic client chrome.
 */

/* Force classic fonts on hub/esports shells */
/* Classic shells inherit the site-wide Classic lobby atmosphere */
body:has(.rs-hub),
body:has(.rs-top),
body:has(.esports-page),
body.esports-chrome {
  font-family: var(--oc-font-body, "Spectral", serif) !important;
}

/* Esports shells stay transparent so the site-wide key-art layer shows through */
body:has(.rs-hub--classic) .rs-league-page > .row {
  position: relative;
  z-index: 1;
}
body:has(.rs-hub--classic) .rs-league-nav-card {
  background:
    linear-gradient(180deg, rgba(14, 31, 61, 0.82) 0%, rgba(6, 16, 31, 0.9) 100%) !important;
  box-shadow:
    0 0 0 1px rgba(26, 58, 92, 0.7),
    inset 0 0 0 1px rgba(10, 150, 170, 0.12),
    0 16px 36px rgba(0, 0, 0, 0.4) !important;
  margin-bottom: 0 !important;
}
body:has(.rs-hub--classic) .rs-league-nav-card > .card-body.with-nav {
  padding: 0.75rem 0.55rem 0.55rem !important;
}
body:has(.rs-hub--classic) .rs-league-nav {
  padding-top: 0.35rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
body:has(.rs-hub--classic) .rs-league-nav > li:first-child > a {
  padding-top: 0.55rem !important;
}
body:has(.rs-hub--classic) .rs-side-social,
body .rs-league-page .rs-side-social {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  width: fit-content;
  max-width: calc(100% - 0.25rem);
  margin: 0.5rem auto 0 !important;
  padding: 0.42rem 0.55rem !important;
  border: 1px solid rgba(200, 170, 110, 0.38) !important;
  box-shadow:
    inset 0 0 0 1px rgba(10, 150, 170, 0.08),
    0 0 0 1px rgba(26, 58, 92, 0.3);
  background:
    linear-gradient(180deg, rgba(14, 31, 61, 0.7) 0%, rgba(6, 16, 31, 0.85) 100%) !important;
  border-radius: 0 !important;
}
body:has(.rs-hub--classic) .rs-side-social a,
body .rs-league-page .rs-side-social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--oc-gold, #c8aa6e) !important;
  font-size: 0.85rem !important;
  line-height: 1;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  opacity: 0.88;
  transition:
    color 0.16s ease,
    opacity 0.16s ease,
    transform 0.16s ease;
  transform: none !important;
}
body:has(.rs-hub--classic) .rs-side-social a i,
body .rs-league-page .rs-side-social a i {
  transition: none;
  filter: none;
  transform: none;
}
body:has(.rs-hub--classic) .rs-side-social a:hover,
body .rs-league-page .rs-side-social a:hover,
body:has(.rs-hub--classic) .rs-side-social a:focus-visible,
body .rs-league-page .rs-side-social a:focus-visible {
  color: var(--oc-gold-bright, #f0e6d2) !important;
  opacity: 1;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none;
  transform: scale(1.12) !important;
  outline: none;
}

/* Discord: same simple gold hover, same size as siblings */
body:has(.rs-hub--classic) .rs-side-social a[aria-label="Discord"],
body .rs-league-page .rs-side-social a[aria-label="Discord"],
body:has(.rs-hub--classic) .rs-side-social a[title="Discord"],
body .rs-league-page .rs-side-social a[title="Discord"] {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.85rem !important;
}
body:has(.rs-hub--classic) .rs-side-social a[aria-label="Discord"]:hover,
body .rs-league-page .rs-side-social a[aria-label="Discord"]:hover,
body:has(.rs-hub--classic) .rs-side-social a[title="Discord"]:hover,
body .rs-league-page .rs-side-social a[title="Discord"]:hover,
body:has(.rs-hub--classic) .rs-side-social a[aria-label="Discord"]:focus-visible,
body .rs-league-page .rs-side-social a[aria-label="Discord"]:focus-visible,
body:has(.rs-hub--classic) .rs-side-social a[title="Discord"]:focus-visible,
body .rs-league-page .rs-side-social a[title="Discord"]:focus-visible {
  color: var(--oc-gold-bright, #f0e6d2) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none;
  transform: scale(1.12) !important;
}
body:has(.rs-hub--classic) .rs-side-social a[aria-label="Discord"]:hover i,
body .rs-league-page .rs-side-social a[aria-label="Discord"]:hover i,
body:has(.rs-hub--classic) .rs-side-social a[title="Discord"]:hover i,
body .rs-league-page .rs-side-social a[title="Discord"]:hover i,
body:has(.rs-hub--classic) .rs-side-social a[aria-label="Discord"]:focus-visible i,
body .rs-league-page .rs-side-social a[aria-label="Discord"]:focus-visible i,
body:has(.rs-hub--classic) .rs-side-social a[title="Discord"]:focus-visible i,
body .rs-league-page .rs-side-social a[title="Discord"]:focus-visible i {
  transform: none;
  filter: none;
}
body:has(.rs-hub--classic) .rs-side-social a[aria-label="Discord"]:active,
body .rs-league-page .rs-side-social a[aria-label="Discord"]:active,
body:has(.rs-hub--classic) .rs-side-social a[title="Discord"]:active,
body .rs-league-page .rs-side-social a[title="Discord"]:active {
  transform: scale(1.06) !important;
  filter: none;
}
body:has(.rs-hub--classic) .sg-offcanvas-mainbar,
body:has(.rs-hub--classic) .rs-hub,
body:has(.rs-hub--classic) .rs-dash {
  background: transparent !important;
}

/* ========== Classic top bar ========== */
html:has(.rs-top),
body:has(.rs-top),
body.n_activated:has(.rs-top),
body.n_live:has(.rs-top) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body:has(.rs-top) .main-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body .rs-top {
  margin-top: 0 !important;
  top: 0 !important;
  background:
    linear-gradient(180deg, rgba(14, 31, 61, 0.98) 0%, rgba(6, 16, 31, 0.98) 100%) !important;
  backdrop-filter: none !important;
  border-top: 0 !important;
  border-bottom: 2px solid var(--oc-gold-dim, #785a28) !important;
  box-shadow:
    0 1px 0 rgba(200, 170, 110, 0.4),
    0 12px 36px rgba(0, 0, 0, 0.55),
    inset 0 -1px 0 rgba(10, 200, 185, 0.15) !important;
}
body .rs-top::after {
  content: "";
  display: block;
  height: 2px;
  margin: 0 12%;
  background: linear-gradient(90deg, transparent, var(--oc-gold, #c8aa6e), transparent);
  opacity: 0.75;
}
body .rs-top__nav a {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  font-weight: 600 !important;
  color: var(--oc-text, #f0e6d2) !important;
  letter-spacing: 0.18em !important;
}
body .rs-top__nav a:hover {
  color: var(--oc-gold-bright, #f0e6d2) !important;
  text-shadow: 0 0 10px rgba(10, 200, 185, 0.35);
}
body .rs-top__nav a.is-active {
  color: var(--oc-gold-bright, #f0e6d2) !important;
  border-bottom-color: var(--oc-cyan, #0ac8b9) !important;
}
body .rs-brand__logo {
  filter: none !important;
}
body .rs-top__avatar {
  border-radius: 0 !important;
  border: 1px solid var(--oc-gold, #c8aa6e) !important;
  box-shadow: 0 0 0 1px rgba(10, 150, 170, 0.35);
}
body .rs-top__menu-btn {
  border-radius: 0 !important;
  border-color: var(--oc-gold-dim, #785a28) !important;
}
@media (max-width: 991.98px) {
  body .rs-top__menu-btn {
    width: 30px !important;
    height: 28px !important;
    padding: 5px 6px !important;
  }
  body .rs-top__menu-btn span {
    height: 1.5px !important;
  }
}

/* ========== Hub buttons ========== */
body .rs-btn {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  border-radius: 0 !important;
  letter-spacing: 0.14em !important;
}
body .rs-btn--solid {
  background: linear-gradient(180deg, #f0d78a 0%, #c8aa6e 42%, #8a6a28 100%) !important;
  border-color: #e0c070 !important;
  color: #1a1408 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 230, 0.45), 0 0 16px rgba(200, 170, 110, 0.22) !important;
}
body .rs-btn--ghost {
  background: linear-gradient(180deg, rgba(20, 42, 72, 0.9), rgba(8, 18, 36, 0.95)) !important;
  border-color: var(--oc-gold-dim, #785a28) !important;
  color: var(--oc-gold, #c8aa6e) !important;
  box-shadow: inset 0 0 0 1px rgba(10, 150, 170, 0.2) !important;
}
body .rs-btn--ghost:hover {
  border-color: var(--oc-cyan, #0ac8b9) !important;
  box-shadow: 0 0 14px rgba(10, 200, 185, 0.3) !important;
}

/* ========== Hub layout panels ========== */
body .rs-hub {
  color: var(--oc-text, #f0e6d2) !important;
}
body .rs-hub h1,
body .rs-hub h2,
body .rs-hub h3,
body .rs-hub .rs-panel__title,
body .rs-panel__title,
body .rs-panel__eyebrow {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body .rs-panel,
body .rs-panel--league,
body .rs-hub .rs-panel,
body .rs-hub [class*="rs-panel"] {
  background:
    linear-gradient(180deg, rgba(20, 42, 72, 0.55) 0%, rgba(8, 18, 36, 0.95) 100%) !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  border-radius: 0 !important;
  box-shadow:
    0 0 0 1px rgba(26, 58, 92, 0.85),
    inset 0 0 0 1px rgba(10, 150, 170, 0.12),
    0 18px 48px rgba(0, 0, 0, 0.5) !important;
  position: relative;
}
body .rs-panel::before,
body .rs-panel--league::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(10, 150, 170, 0.18);
  pointer-events: none;
}
body .rs-link {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  letter-spacing: 0.12em;
  color: var(--oc-gold, #c8aa6e) !important;
}

/* Region tabs on hub */
body .rs-hub .nav-link,
body .rs-region-tabs a,
body .rs-hub [class*="region"] a {
  border-radius: 0 !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
}

/* ========== Esports page shell ========== */
body .esports-page {
  color: var(--oc-text, #f0e6d2) !important;
}
body .esports-page .card,
body .esports-page .esports-team-card,
body .esports-page .esports-split-card,
body .esports-page .esports-member-card {
  background:
    linear-gradient(180deg, rgba(20, 42, 72, 0.55) 0%, rgba(8, 18, 36, 0.95) 100%) !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  border-radius: 0 !important;
  box-shadow:
    0 0 0 1px rgba(26, 58, 92, 0.85),
    inset 0 0 0 1px rgba(10, 150, 170, 0.1),
    0 16px 40px rgba(0, 0, 0, 0.45) !important;
}
body .esports-page .card-header,
body .esports-page .card-header.with-icon {
  background:
    linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.45), transparent) bottom / 65% 1px no-repeat,
    linear-gradient(180deg, rgba(26, 58, 92, 0.75), rgba(8, 18, 36, 0.95)) !important;
  border-radius: 0 !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
body .esports-page .card-header.with-icon i,
body .esports-page .card-header .main-icon,
body .esports-page .card-header .main-icon * {
  color: var(--oc-cyan, #0ac8b9) !important;
  fill: var(--oc-cyan, #0ac8b9) !important;
  stroke: var(--oc-cyan, #0ac8b9) !important;
  filter: drop-shadow(0 0 6px rgba(10, 200, 185, 0.35));
}
body .esports-page .text-white {
  color: var(--oc-gold-bright, #f0e6d2) !important;
}
body .esports-page .text-muted {
  color: var(--oc-muted, #a09b8c) !important;
}
body .esports-page a:not(.btn):not(.rs-btn):not(.btn-esports-primary):not(.btn-esports-secondary):not(.rs-region-tab) {
  color: var(--oc-gold, #c8aa6e) !important;
}
body .esports-page a:not(.btn):not(.rs-btn):not(.rs-region-tab):hover {
  color: var(--oc-gold-bright, #f0e6d2) !important;
}
body .esports-page a.rs-btn--solid,
body a.rs-btn--solid {
  color: #1a1408 !important;
}

/* Esports subnav */
body .esports-page .esports-nav,
body .esports-page .content-tabs {
  background: linear-gradient(180deg, rgba(14, 31, 61, 0.85), rgba(6, 16, 31, 0.95)) !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  border-radius: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(10, 150, 170, 0.12);
  padding: 0.35rem !important;
}
body .esports-page .esports-nav ul {
  gap: 0.15rem;
}
body .esports-page .esports-nav li a {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-size: 0.68rem !important;
  border-radius: 0 !important;
  color: var(--oc-text, #f0e6d2) !important;
  border: 1px solid transparent !important;
  background: transparent !important;
}
body .esports-page .esports-nav li a:hover {
  color: var(--oc-gold-bright, #f0e6d2) !important;
  border-color: rgba(10, 150, 170, 0.35) !important;
  background: rgba(10, 150, 170, 0.1) !important;
}
body .esports-page .esports-nav li.active a,
body .esports-page .esports-nav li.active a:hover {
  background: transparent !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  border-color: transparent !important;
  border-bottom: 2px solid var(--oc-cyan, #0ac8b9) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Buttons */
body .esports-page .btn-esports-primary,
body .esports-page a.btn-esports-primary {
  background: linear-gradient(180deg, #f0d78a 0%, #c8aa6e 42%, #8a6a28 100%) !important;
  border: 1px solid #e0c070 !important;
  border-radius: 0 !important;
  color: #1a1408 !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem !important;
  line-height: 1.2 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 230, 0.35), 0 0 10px rgba(200, 170, 110, 0.15) !important;
}
body .esports-page .btn-sm.btn-esports-primary,
body .esports-page a.btn-sm.btn-esports-primary {
  font-size: 0.62rem !important;
  padding: 0.28rem 0.55rem !important;
}
body .esports-page .btn-esports-secondary,
body .esports-page a.btn-esports-secondary,
body .esports-page .btn-esports-chip,
body .esports-page .btn-opgg,
body .esports-page a.btn-opgg,
body .esports-page .btn-push,
body .esports-page a.btn-push,
body .esports-page .btn-remove,
body .esports-page a.btn-remove {
  background: linear-gradient(180deg, rgba(20, 42, 72, 0.9), rgba(8, 18, 36, 0.95)) !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  border-radius: 0 !important;
  color: var(--oc-gold, #c8aa6e) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
  box-shadow: none !important;
}
body .esports-page .btn-esports-secondary:hover,
body .esports-page .btn-esports-chip:hover,
body .esports-page .btn-opgg:hover,
body .esports-page a.btn-opgg:hover,
body .esports-page .btn-push:hover,
body .esports-page .btn-remove:hover {
  border-color: var(--oc-cyan, #0ac8b9) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  box-shadow: 0 0 10px rgba(10, 200, 185, 0.22) !important;
}
/* Subtle status tints — still Classic chrome, not loud solid blocks */
body .esports-page .btn-opgg,
body .esports-page a.btn-opgg {
  border-color: rgba(232, 150, 70, 0.55) !important;
  color: #e8c08a !important;
  background: linear-gradient(180deg, rgba(232, 150, 70, 0.12), rgba(8, 18, 36, 0.95)) !important;
}
body .esports-page .btn-push,
body .esports-page a.btn-push {
  border-color: rgba(122, 224, 168, 0.45) !important;
  color: #a8e0c0 !important;
  background: linear-gradient(180deg, rgba(122, 224, 168, 0.1), rgba(8, 18, 36, 0.95)) !important;
}
body .esports-page .btn-remove,
body .esports-page a.btn-remove {
  border-color: rgba(200, 100, 100, 0.45) !important;
  color: #e0a8a8 !important;
  background: linear-gradient(180deg, rgba(200, 90, 90, 0.1), rgba(8, 18, 36, 0.95)) !important;
}
body .esports-page .btn-push:disabled,
body .esports-page .btn-push[disabled] {
  opacity: 0.45 !important;
}

/* Tables */
body .esports-page .table,
body .esports-dark-table,
body .esports-standings-table {
  --bs-table-bg: transparent;
  color: var(--oc-text, #f0e6d2) !important;
}
body .esports-page .table thead th,
body .esports-standings-table thead th {
  background: rgba(14, 31, 61, 0.85) !important;
  color: var(--oc-gold, #c8aa6e) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem !important;
  border-bottom: 1px solid var(--oc-gold-dim, #785a28) !important;
}
body .esports-page .table tbody tr:hover,
body .esports-standings-table tbody tr:hover {
  background: rgba(10, 150, 170, 0.1) !important;
}
body tr.esports-rank-1 {
  background: linear-gradient(90deg, rgba(200, 170, 110, 0.18), transparent 55%) !important;
}
body tr.esports-rank-2 {
  background: linear-gradient(90deg, rgba(160, 180, 200, 0.12), transparent 55%) !important;
}
body tr.esports-rank-3 {
  background: linear-gradient(90deg, rgba(160, 100, 60, 0.14), transparent 55%) !important;
}
body .badge.esports-rank-badge,
body .badge.esports-stars-badge {
  border-radius: 0 !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  border: 1px solid rgba(200, 170, 110, 0.4);
}
body .badge.esports-rank-badge-1 {
  background: linear-gradient(180deg, #f0d78a, #8a6a28) !important;
  color: #1a1408 !important;
}
body .badge.esports-rank-badge-2 {
  background: linear-gradient(180deg, #c0d0e0, #4a5a6a) !important;
  color: #06101f !important;
}
body .badge.esports-rank-badge-3 {
  background: linear-gradient(180deg, #d09060, #6a3a20) !important;
  color: #f0e6d2 !important;
}

/* Forms on esports */
body .esports-page .form-control,
body .esports-page .form-select {
  background: rgba(3, 9, 18, 0.92) !important;
  border: 1px solid var(--oc-frame, #1a3a5c) !important;
  border-radius: 0 !important;
  color: var(--oc-text, #f0e6d2) !important;
}
body .esports-page .form-control:focus,
body .esports-page .form-select:focus {
  border-color: var(--oc-cyan, #0ac8b9) !important;
  box-shadow: 0 0 0 1px var(--oc-cyan, #0ac8b9), 0 0 14px rgba(10, 200, 185, 0.3) !important;
}
body .esports-page .alert-info {
  background: rgba(10, 150, 170, 0.12) !important;
  border: 1px solid rgba(10, 200, 185, 0.35) !important;
  border-radius: 0 !important;
  color: var(--oc-text, #f0e6d2) !important;
}

/* Match hero / teams */
body .esports-match-hero {
  background:
    linear-gradient(90deg, rgba(14, 31, 61, 0.95), rgba(6, 16, 31, 0.9) 50%, rgba(14, 31, 61, 0.95)),
    radial-gradient(ellipse at center, rgba(10, 150, 170, 0.18), transparent 60%) !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  border-radius: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(10, 150, 170, 0.15), 0 20px 50px rgba(0, 0, 0, 0.5);
  padding: 1.25rem !important;
}
body .esports-match-score,
body .esports-score-num {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  text-shadow: 0 0 18px rgba(200, 170, 110, 0.35);
}
body .esports-score-sep {
  color: var(--oc-cyan, #0ac8b9) !important;
}
body .esports-score-win { color: #7ae0a8 !important; }
body .esports-score-loss { color: #c84a4a !important; }
body .esports-score-draw { color: var(--oc-muted, #a09b8c) !important; }
body .esports-match-deadlines {
  color: var(--oc-muted, #a09b8c) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
body .esports-team-avatar,
body .esports-team-hero-logo,
body .esports-member-avatar {
  border-radius: 0 !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  box-shadow: 0 0 0 1px rgba(10, 150, 170, 0.25);
}
body .esports-team-avatar-fallback,
body .esports-team-hero-logo-fallback {
  background: linear-gradient(180deg, #1a3a5c, #06101f) !important;
  color: var(--oc-gold, #c8aa6e) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  border-radius: 0 !important;
}
body .esports-team-hero {
  border: 1px solid var(--oc-gold-dim, #785a28);
  background: linear-gradient(180deg, rgba(14, 31, 61, 0.9), rgba(6, 16, 31, 0.98));
  border-radius: 0 !important;
  padding: 1rem;
}
body .esports-team-card-cover {
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(200, 170, 110, 0.25);
}
body .esports-team-link {
  color: var(--oc-gold-bright, #f0e6d2) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
}
body .esports-social-btn {
  border-radius: 0 !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  background: rgba(14, 31, 61, 0.85) !important;
  color: var(--oc-gold, #c8aa6e) !important;
}
body .esports-social-btn:hover {
  border-color: var(--oc-cyan, #0ac8b9) !important;
  color: var(--oc-cyan, #0ac8b9) !important;
  box-shadow: 0 0 10px rgba(10, 200, 185, 0.3);
}

/* Bracket / playoffs */
body .esports-bracket,
body .esports-bracket-round,
body .esports-bracket-match {
  border-radius: 0 !important;
}
body .esports-bracket-round-title {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  color: var(--oc-gold, #c8aa6e) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
body .esports-bracket-match {
  background: linear-gradient(180deg, rgba(14, 31, 61, 0.9), rgba(6, 16, 31, 0.98)) !important;
  border: 1px solid rgba(200, 170, 110, 0.3) !important;
  box-shadow: inset 0 0 0 1px rgba(10, 150, 170, 0.12);
}

/* Ready / roster accents */
body .esports-ready-player {
  outline: 1px solid var(--oc-cyan, #0ac8b9);
  box-shadow: 0 0 12px rgba(10, 200, 185, 0.25);
}

/* News language chips */
body .esports-page .btn-group .btn {
  border-radius: 0 !important;
}

/* Split cards grid */
body .esports-split-card {
  transition: box-shadow .15s ease, border-color .15s ease, transform .12s ease;
}
body .esports-split-card:hover,
body .esports-team-card:hover {
  border-color: var(--oc-cyan, #0ac8b9) !important;
  box-shadow: 0 0 0 1px rgba(10, 200, 185, 0.25), 0 0 24px rgba(10, 200, 185, 0.12), 0 18px 40px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-2px);
}

/* Scrim / challenges lists */
body .esports-page .list-group-item {
  background: rgba(6, 16, 31, 0.75) !important;
  border-color: rgba(200, 170, 110, 0.18) !important;
  color: var(--oc-text, #f0e6d2) !important;
  border-radius: 0 !important;
}

/* Keep hub max-width readable */
body:has(.rs-top):not(:has(.rs-hub)) .esports-page {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  body .rs-top::after {
    margin: 0 4%;
  }
}

/* ========== Header tools = social-parity (messages + bell + avatar menu) ========== */
body .rs-top__actions {
  gap: 0.4rem !important;
  align-items: center !important;
}
body .rs-top__tools {
  display: inline-flex !important;
  align-items: center;
  gap: 1.15rem !important;
  list-style: none;
  margin: 0;
  padding: 0;
}
body .rs-top__tools > li {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}
body .rs-top__tools > li > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  position: relative;
  text-decoration: none !important;
}
/* Message/notification icons: Font Awesome glyphs (same as social navbar) — see block below */
body .rs-top__tools .counter {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0 4px;
  border-radius: 999px;
  background: #c41e1e !important;
  color: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

/* Avatar = same circular profile control as social header */
body .rs-top a.user-menu.dropdown,
body .rs-top a.user-menu.dropdown.dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 50% !important;
}
body .rs-top a.user-menu.dropdown img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 1px solid rgba(200, 170, 110, 0.55) !important;
  box-shadow: 0 0 0 1px rgba(10, 150, 170, 0.25) !important;
}
body .rs-top a.user-menu.dropdown .title,
body .rs-top a.user-menu.dropdown::after {
  display: none !important;
}

/* Region switcher — classic sharp chip, readable active state */
body .rs-region-switch {
  display: inline-flex !important;
  align-items: stretch;
  gap: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  border-radius: 0 !important;
  background: rgba(14, 31, 61, 0.65) !important;
  box-shadow: inset 0 0 0 1px rgba(10, 150, 170, 0.15);
  overflow: hidden;
}
body .rs-region-switch__btn {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: var(--oc-text, #f0e6d2) !important;
  padding: 0.4rem 0.55rem !important;
  border-radius: 0 !important;
  border-right: 1px solid rgba(200, 170, 110, 0.18) !important;
  background: transparent !important;
}
body .rs-region-switch__btn:last-child {
  border-right: 0 !important;
}
body .rs-region-switch__btn:hover {
  color: var(--oc-gold-bright, #f0e6d2) !important;
  background: rgba(10, 150, 170, 0.14) !important;
}
body .rs-region-switch__btn.is-active {
  color: #1a1408 !important;
  background: linear-gradient(180deg, #f0d78a 0%, #c8aa6e 55%, #8a6a28 100%) !important;
  text-shadow: none !important;
}

body .rs-lang__btn,
body .rs-region__btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  min-height: 36px;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  border-radius: 0 !important;
  background: rgba(14, 31, 61, 0.72) !important;
  color: var(--oc-gold, #c8aa6e) !important;
  padding: 0.35rem 0.6rem !important;
  box-shadow: inset 0 0 0 1px rgba(10, 150, 170, 0.1);
}
/* Header language: flag only (names in dropdown) */
body .rs-top .rs-lang__btn {
  gap: 0.45rem !important;
  padding: 0.35rem 0.55rem !important;
  min-width: 42px;
  justify-content: center !important;
}
body .rs-top .rs-lang__btn .rs-lang__name {
  display: none !important;
}
body .rs-top .rs-lang__btn .rs-region__caret {
  margin-left: 0.15rem;
  flex: 0 0 auto;
}
body .rs-top .rs-lang__btn img {
  display: block;
  flex: 0 0 auto;
}
body .rs-lang__btn:hover,
body .rs-region__btn:hover,
body .rs-lang__btn[aria-expanded="true"],
body .rs-region__btn[aria-expanded="true"] {
  background: rgba(10, 150, 170, 0.14) !important;
  border-color: var(--oc-gold, #c8aa6e) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
}
body .rs-lang__btn .rs-lang__name,
body .rs-region__btn .rs-region__code {
  color: inherit !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
}
body .rs-region__menu,
body .rs-lang__menu {
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(14, 31, 61, 0.98), rgba(6, 16, 31, 0.99)) !important;
  box-shadow: inset 0 0 0 1px rgba(10, 150, 170, 0.12), 0 18px 40px rgba(0, 0, 0, 0.55) !important;
}
body .rs-region__item,
body .rs-lang__item {
  border-radius: 0 !important;
  color: var(--oc-text, #f0e6d2) !important;
}
body .rs-region__item:hover,
body .rs-lang__item:hover {
  background: rgba(10, 150, 170, 0.14) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
}
body .rs-region__item.is-active,
body .rs-lang__item.is-active {
  background: rgba(200, 170, 110, 0.16) !important;
}
body .rs-region__code {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
}

/* ========== Denser hub homepage (less wasted space) ========== */
body .rs-hero {
  min-height: clamp(280px, 42vh, 420px) !important;
  padding-top: 3.25rem !important;
  padding-bottom: 2.25rem !important;
}
body .rs-hero__inner {
  padding: 2.25rem 1.25rem 1.5rem !important;
  max-width: 760px !important;
}
body .rs-hero__eyebrow {
  margin-bottom: 0.55rem !important;
  font-size: 0.7rem !important;
}
body .rs-hero__title {
  margin-bottom: 0.65rem !important;
  font-size: clamp(1.85rem, 4.6vw, 2.85rem) !important;
}
body .rs-hero__lede {
  margin-bottom: 1.1rem !important;
  font-size: 0.95rem !important;
  max-width: 44ch !important;
}
body .rs-hero__scroll {
  display: none !important;
}
body .rs-dash {
  margin-top: -2rem !important;
  padding: 0 1.15rem 1rem !important;
}
body .rs-lower {
  padding: 0.2rem 1.15rem 1.1rem !important;
}
body .rs-dash__grid {
  gap: 0.75rem !important;
}
body .rs-panel {
  padding: 0.95rem 1rem 1.05rem !important;
}
body .rs-panel__head {
  margin-bottom: 0.7rem !important;
}
body .rs-pillars--grid {
  gap: 0.55rem !important;
}
body .rs-pillars li {
  padding: 0.55rem 0.45rem !important;
}
body .rs-emblem-img {
  width: 52px !important;
  height: 52px !important;
}
body .rs-match__logo,
body .rs-crest {
  width: 64px !important;
  height: 64px !important;
}
body .rs-top__inner {
  padding: 0.55rem 1.1rem !important;
  gap: 0.65rem !important;
}
body .rs-top--slim .rs-top__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.7rem 1.25rem !important;
  gap: 0.75rem !important;
  max-width: 1400px;
  position: relative;
}
body .rs-top__nav {
  gap: 0.1rem 0.95rem !important;
}
body .rs-top__nav a {
  padding: 0.3rem 0 !important;
  font-size: 0.66rem !important;
}

/* Keep message/new-chat link usable inside dropdown even if floating chat is hidden */
body:has(.rs-hub) .dropdown-widget .js_chat-new,
body:has(.rs-top) .dropdown-widget .js_chat-new {
  display: inline !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* ========== Dashboard panels — clean classic frames ========== */
body .rs-dash .rs-panel {
  background:
    linear-gradient(180deg, rgba(22, 44, 74, 0.78) 0%, rgba(12, 28, 52, 0.94) 55%, rgba(10, 22, 42, 0.98) 100%) !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  box-shadow:
    0 0 0 1px rgba(26, 58, 92, 0.75),
    inset 0 0 0 1px rgba(200, 170, 110, 0.14),
    0 18px 42px rgba(0, 0, 0, 0.45) !important;
}
body .rs-dash .rs-panel::before {
  inset: 6px !important;
  border: 1px solid rgba(10, 150, 170, 0.18) !important;
  box-shadow: none !important;
  background: transparent !important;
}
/* Headers: simple title + gold underline — no gold box plaque */
body .rs-panel__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  margin: 0 0 0.9rem !important;
  padding: 0 0 0.65rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, transparent 2%, rgba(200, 170, 110, 0.55), transparent 98%) bottom / 100% 1px no-repeat !important;
  box-shadow: none !important;
}
body .rs-panel__head::after {
  display: none !important;
}
body .rs-panel__head h2 {
  margin: 0 !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  text-shadow: none !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
body .rs-panel__head a {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  font-size: 0.6rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--oc-gold, #c8aa6e) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
body .rs-panel__head a:hover {
  color: var(--oc-cyan, #0ac8b9) !important;
}

/* Kill pure-black voids inside hub panels */
body .rs-dash .rs-match,
body .rs-dash .rs-table-wrap,
body .rs-dash .rs-countdown,
body .rs-panel--match,
body .rs-panel--rankings,
body .rs-panel--news-dash {
  background-color: transparent !important;
}
body .rs-match__logo,
body .rs-news__thumb,
body .rs-news__item--compact {
  background: rgba(14, 31, 61, 0.55) !important;
}
body .rs-news__item--compact {
  border-color: rgba(200, 170, 110, 0.2) !important;
  box-shadow: none !important;
}
body .rs-region-tabs--classic,
body .rs-panel--rankings .rs-region-tabs {
  background: rgba(14, 31, 61, 0.65) !important;
}
body .rs-hero__scroll {
  display: none !important;
}

/* News stack in left dash column */
body .rs-news--stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
body .rs-news__item--compact {
  display: grid !important;
  grid-template-columns: 72px 1fr !important;
  gap: 0.65rem !important;
  min-height: 0 !important;
  padding: 0.4rem !important;
  border-radius: 0 !important;
  border: 1px solid rgba(200, 170, 110, 0.22) !important;
  background: rgba(14, 31, 61, 0.4) !important;
  box-shadow: inset 0 0 0 1px rgba(10, 150, 170, 0.08) !important;
}
body .rs-news__item--compact:hover {
  border-color: var(--oc-cyan, #0ac8b9) !important;
  box-shadow: 0 0 16px rgba(10, 200, 185, 0.12) !important;
}
body .rs-news__item--compact .rs-news__thumb {
  width: 72px !important;
  height: 56px !important;
}
body .rs-news__item--compact .rs-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid rgba(200, 170, 110, 0.2);
}
body .rs-news__item--compact .rs-news__copy strong {
  display: block;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.04em;
  color: var(--oc-gold-bright, #f0e6d2) !important;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
body .rs-news__item--compact .rs-news__copy small {
  color: var(--oc-muted, #a09b8c) !important;
  font-size: 0.68rem;
}

/* Rankings region tabs = same classic chip language as header */
body .rs-region-tabs--classic,
body .rs-panel--rankings .rs-region-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
  border: 1px solid var(--oc-gold-dim, #785a28) !important;
  border-radius: 0 !important;
  background: rgba(14, 31, 61, 0.65) !important;
  box-shadow: inset 0 0 0 1px rgba(10, 150, 170, 0.15);
  overflow: hidden;
}
body .rs-region-tabs--classic .rs-region-tab,
body .rs-panel--rankings .rs-region-tab {
  flex: 1 1 0;
  text-align: center;
  border-radius: 0 !important;
  border: 0 !important;
  border-right: 1px solid rgba(200, 170, 110, 0.18) !important;
  background: transparent !important;
  color: var(--oc-text, #f0e6d2) !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  padding: 0.42rem 0.35rem !important;
  text-decoration: none !important;
}
body .rs-region-tabs--classic .rs-region-tab:last-child,
body .rs-panel--rankings .rs-region-tab:last-child {
  border-right: 0 !important;
}
body .rs-region-tabs--classic .rs-region-tab:hover,
body .rs-panel--rankings .rs-region-tab:hover {
  background: rgba(10, 150, 170, 0.14) !important;
  color: var(--oc-gold-bright, #f0e6d2) !important;
}
body .rs-region-tabs--classic .rs-region-tab.is-active,
body .rs-panel--rankings .rs-region-tab.is-active,
body .esports-page .rs-region-tabs--classic a.rs-region-tab.is-active,
body .esports-page a.rs-region-tab.is-active {
  color: #1a1408 !important;
  background: linear-gradient(180deg, #f0d78a 0%, #c8aa6e 55%, #8a6a28 100%) !important;
  border-color: rgba(138, 106, 40, 0.9) !important;
  text-shadow: none !important;
}
body .esports-page .rs-region-tabs--classic a.rs-region-tab.is-active:hover,
body .esports-page a.rs-region-tab.is-active:hover {
  color: #1a1408 !important;
}

body .rs-lower__grid--cta {
  grid-template-columns: 1fr !important;
}
body .rs-hero__scroll {
  display: none !important;
}

/* ========== Hub header icons = identical FA glyphs as social navbar ========== */
body .rs-top__tools .svg-container.header-icon {
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
body .rs-top__tools .svg-container.header-icon svg {
  display: none !important;
}
body .rs-top__tools .svg-container.header-icon::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  font-size: 18px;
  color: #c5c9d2;
  line-height: 1;
  transition: color 0.2s ease, transform 0.18s ease, text-shadow 0.18s ease;
}
body .rs-top__tools > li > a:hover .svg-container.header-icon::before,
body .rs-top__tools > li.dropdown.show .svg-container.header-icon::before {
  color: var(--oc-gold, #c8aa6e);
  transform: scale(1.08);
  text-shadow: 0 0 14px rgba(197, 160, 89, 0.35);
}
body .rs-top__tools li.dropdown.js_live-messages .svg-container.header-icon::before {
  content: "\f27a"; /* comment outline — same as .navbar-wrapper */
}
body .rs-top__tools li.dropdown.js_live-notifications .svg-container.header-icon::before {
  content: "\f0f3"; /* bell — same as .navbar-wrapper */
}

/* ========== Hub panels = exact social-rail widget language ========== */
body .rs-dash .rs-panel,
body .rs-dash .rs-panel--news-dash,
body .rs-dash .rs-panel--match,
body .rs-dash .rs-panel--rankings,
body .rs-dash .rs-panel--teamranked {
  border-radius: 0 !important;
  border: 1px solid rgba(120, 90, 40, 0.5) !important;
  background:
    linear-gradient(180deg, rgba(22, 44, 74, 0.78) 0%, rgba(12, 28, 52, 0.94) 100%) !important;
  box-shadow:
    0 0 0 1px rgba(26, 58, 92, 0.75),
    inset 0 0 0 1px rgba(200, 170, 110, 0.12),
    0 14px 32px rgba(0, 0, 0, 0.4) !important;
  min-height: 0 !important;
}
body .rs-dash .rs-panel::before,
body .rs-dash .rs-panel::after {
  content: "" !important;
  position: absolute !important;
  inset: 5px !important;
  border: 1px solid rgba(10, 150, 170, 0.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
body .rs-dash .rs-panel::after { display: none !important; }
body .rs-dash .rs-panel > * { position: relative; z-index: 1; }

body .rs-dash .rs-panel__head {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  margin: 0 0 0.85rem !important;
  padding: 0 0 0.55rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.4), transparent) bottom / 100% 1px no-repeat !important;
  box-shadow: none !important;
}
body .rs-dash .rs-panel__head::after { display: none !important; }
body .rs-dash .rs-panel__head h2 {
  margin: 0 !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  text-shadow: none !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}
body .rs-dash .rs-panel__head a {
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--oc-gold, #c8aa6e) !important;
}

/* Inner content: no black voids — match rail fill */
body .rs-dash .rs-match,
body .rs-dash .rs-table-wrap,
body .rs-dash .rs-news--stack,
body .rs-dash .rs-countdown {
  background: transparent !important;
}
body .rs-dash .rs-news__item--compact {
  background: rgba(14, 31, 61, 0.35) !important;
  border: 1px solid rgba(200, 170, 110, 0.18) !important;
  box-shadow: none !important;
}
body .rs-dash .rs-match__logo,
body .rs-dash .rs-crest {
  background: rgba(14, 31, 61, 0.55) !important;
}

/* Preserve original casing for user + team names (critical) */
body .rs-match__side strong,
body .rs-rail-match__side strong,
body .rs-team,
body .rs-team span,
body .rs-rail-ranks__team,
body .rs-rail-ranks__team span,
body .post-header .post-header-name a,
body .feeds-item .name a,
body .profile-header .profile-name,
body .profile-header h2,
body .profile-header .name,
body .esports-page .esports-team-name,
body .esports-page a.text-white.fw-semibold,
body .esports-member-card .name,
body .esports-page .tbl-name,
body .esports-page td a:not(.btn) {
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}

/* ---- Coming soon league panels (Female / Classic Tournament) ---- */
body .rs-coming-shell {
  position: relative;
  border: 1px solid rgba(197, 160, 89, 0.32);
  background:
    radial-gradient(ellipse 80% 55% at 12% 0%, rgba(200, 170, 110, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 8%, rgba(60, 120, 180, 0.12), transparent 50%),
    repeating-linear-gradient(
      -32deg,
      rgba(120, 160, 200, 0.04) 0 1px,
      transparent 1px 16px
    ),
    linear-gradient(165deg, rgba(16, 34, 58, 0.98) 0%, rgba(8, 16, 30, 0.99) 48%, rgba(5, 10, 20, 1) 100%);
  box-shadow:
    0 0 0 1px rgba(26, 58, 92, 0.45),
    inset 0 0 0 1px rgba(200, 170, 110, 0.1),
    0 24px 56px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
body .rs-coming {
  position: relative;
  z-index: 1;
  padding: 2.1rem 1.45rem 1.9rem;
}
@media (min-width: 768px) {
  body .rs-coming {
    padding: 2.6rem 2.4rem 2.3rem;
  }
}

/* Kill site-wide `header {}` bleed if markup ever uses <header> again */
body .rs-coming header,
body .rs-coming__hero {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 0 1.85rem !important;
  max-width: none !important;
  width: auto !important;
  position: relative !important;
  min-height: 0 !important;
}
body .rs-classic-guide header,
body .rs-classic-guide__head {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body .rs-coming__glow {
  pointer-events: none;
  position: absolute;
  inset: -20% -15% auto -15%;
  height: 55%;
  background: radial-gradient(ellipse at 30% 40%, rgba(200, 170, 110, 0.16), transparent 62%);
  z-index: 0;
}
body .rs-coming__corners {
  pointer-events: none;
  position: absolute;
  inset: 10px;
  z-index: 0;
}
body .rs-coming__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(200, 170, 110, 0.55);
  border-style: solid;
}
body .rs-coming__corner--tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
body .rs-coming__corner--tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
body .rs-coming__corner--bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
body .rs-coming__corner--br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

body .rs-coming__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.95rem;
  padding: 0.32rem 0.85rem;
  border: 1px solid rgba(200, 170, 110, 0.4);
  background: linear-gradient(180deg, rgba(200, 170, 110, 0.16), rgba(200, 170, 110, 0.05));
  color: #c8aa6e !important;
  font-family: var(--oc-font-display, "Cinzel"), serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
}
body .rs-coming__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8aa6e;
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.85);
  animation: rs-coming-pulse 2.2s ease-in-out infinite;
}
@keyframes rs-coming-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

body .rs-coming__title {
  margin: 0 0 0.65rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-family: var(--oc-font-display, "Cinzel"), serif !important;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #f3ebdc !important;
  line-height: 1.12 !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 3px 22px rgba(0, 0, 0, 0.55);
}
body .rs-coming__lede {
  margin: 0 !important;
  max-width: 34rem;
  color: #9aa8bc !important;
  font-size: 0.98rem !important;
  line-height: 1.6 !important;
  font-family: var(--oc-font-body, "Noto Sans"), "Noto Sans KR", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

body .rs-coming__ornament {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  max-width: 22rem;
}
body .rs-coming__ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 170, 110, 0.7), rgba(200, 170, 110, 0.08));
}
body .rs-coming__ornament-line:last-child {
  background: linear-gradient(90deg, rgba(200, 170, 110, 0.08), rgba(200, 170, 110, 0.7));
}
body .rs-coming__ornament-diamond {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: #c8aa6e;
  box-shadow: 0 0 10px rgba(200, 170, 110, 0.55);
  flex-shrink: 0;
}

body .rs-coming__langs {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 992px) {
  body .rs-coming__langs {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.1rem;
  }
}
body .rs-coming__block {
  margin: 0;
  padding: 1.05rem 1.1rem 1.1rem;
  border: 1px solid rgba(120, 160, 200, 0.16);
  background:
    linear-gradient(160deg, rgba(22, 42, 70, 0.35), transparent 55%),
    rgba(4, 10, 22, 0.55);
  box-shadow: inset 0 0 0 1px rgba(200, 170, 110, 0.04);
  transition: border-color .18s ease, background .18s ease;
}
body .rs-coming__block:hover {
  border-color: rgba(200, 170, 110, 0.28);
}
body .rs-coming__lang {
  margin: 0 0 0.5rem;
  font-family: var(--oc-font-display, "Cinzel"), serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c8aa6e;
}
body .rs-coming__block p {
  margin: 0;
  color: rgba(228, 234, 244, 0.88);
  font-size: 0.9rem;
  line-height: 1.65;
  font-family: var(--oc-font-body, "Noto Sans"), "Noto Sans KR", sans-serif;
  text-transform: none !important;
  letter-spacing: 0.01em;
}

body .rs-coming__social {
  margin-top: 1.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(120, 160, 200, 0.14);
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
body .rs-coming__social-label {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b93a3;
  font-family: var(--oc-font-display, "Cinzel"), serif;
}
body .rs-coming__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
body .rs-coming__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(200, 170, 110, 0.3);
  background: rgba(10, 22, 42, 0.65);
  color: #e8ecf4 !important;
  text-decoration: none !important;
  font-family: var(--oc-font-display, "Cinzel"), serif;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color .15s ease, color .15s ease, background .15s ease, transform .12s ease;
}
body .rs-coming__btn:hover {
  border-color: rgba(200, 170, 110, 0.6);
  color: #c8aa6e !important;
  background: rgba(200, 170, 110, 0.1);
  transform: translateY(-1px);
}
body .rs-coming__btn--primary {
  border-color: rgba(200, 170, 110, 0.58);
  background: linear-gradient(180deg, rgba(200, 170, 110, 0.32), rgba(140, 110, 50, 0.24));
  color: #f4efe4 !important;
}
body .rs-coming__btn--primary:hover {
  background: linear-gradient(180deg, rgba(200, 170, 110, 0.45), rgba(140, 110, 50, 0.34));
  color: #fff !important;
}

/* Classic hub: coming soon sits under hub chrome */
body .rs-hub--coming {
  padding: 1.25rem 0 2.5rem;
}
@media (min-width: 992px) {
  body .rs-hub--coming {
    padding: 1.5rem 0 3rem;
  }
}
body .rs-hub--coming .rs-coming-shell {
  max-width: 980px;
  margin: 0 auto;
}

/* ---- Classic Teamranked emblems (Season 3–2018 crest PNGs) ---- */
body .rs-ranked-emblem {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body .rs-ranked-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}
body .rs-ranked-emblem--sm {
  width: 36px;
  height: 36px;
}
body .rs-ranked-emblem--sm img {
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
}

/* Classic hub: no negative dash overlap / clean stacking */
body:has(.rs-hub--classic) .rs-dash {
  margin-top: 1rem !important;
}
body:has(.rs-hub--classic) .rs-about-classic {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  z-index: 2 !important;
}

/* ---- Player Market (LFG) ---- */
body .rs-lfg-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(200, 170, 110, 0.35);
  background: linear-gradient(135deg, rgba(200, 170, 110, 0.12), rgba(10, 200, 185, 0.06));
}
body .rs-lfg-cta__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
body .rs-lfg-cta__copy strong {
  color: #f0e6d2;
  font-family: var(--oc-font-display, Cinzel, serif);
  letter-spacing: 0.04em;
}
body .rs-lfg-cta__copy span {
  color: #a09b8c;
  font-size: 0.86rem;
}
body .rs-lfg-cta--listed {
  border-color: rgba(10, 200, 185, 0.35);
  background: linear-gradient(135deg, rgba(10, 200, 185, 0.1), rgba(200, 170, 110, 0.06));
}
body .rs-lfg-lane-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

/* Player market search filters: icon-only role and rank picker */
body .rs-lfg-search {
  padding: 0.7rem;
  border: 1px solid rgba(200, 170, 110, 0.2);
  background: rgba(5, 14, 28, 0.42);
}
body .rs-lfg-icon-filter {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 42px;
  overflow-x: auto;
  padding: 0.2rem 0.1rem 0.35rem;
  scrollbar-width: thin;
}
body .rs-lfg-icon-filter__item {
  flex: 0 0 auto;
  margin: 0;
  cursor: pointer;
}
body .rs-lfg-icon-filter__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
body .rs-lfg-icon-filter__face {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 170, 110, 0.24);
  background: rgba(4, 12, 25, 0.82);
  color: rgba(200, 170, 110, 0.72);
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}
body .rs-lfg-icon-filter__face img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
body .rs-lfg-icon-filter__item:hover .rs-lfg-icon-filter__face {
  border-color: rgba(200, 170, 110, 0.65);
  color: #f0e6d2;
  transform: translateY(-1px);
}
body .rs-lfg-icon-filter__item input:checked + .rs-lfg-icon-filter__face {
  border-color: #c8aa6e;
  background: rgba(200, 170, 110, 0.16);
  color: #f0e6d2;
  box-shadow: inset 0 0 0 1px rgba(200, 170, 110, 0.35), 0 0 12px rgba(200, 170, 110, 0.12);
}
body .rs-lfg-icon-filter--ranks .rs-lfg-icon-filter__face {
  width: 48px;
  height: 48px;
  overflow: hidden;
}
body .rs-lfg-icon-filter--ranks .rs-lfg-icon-filter__face img {
  width: 58px;
  height: 58px;
  max-width: none;
  transform: scale(1.7);
  object-fit: contain;
}
body .rs-lfg-search__submit {
  min-width: 120px;
  padding: 0.35rem 1rem !important;
}
body .rs-lfg-lane-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(200, 170, 110, 0.28);
  background: rgba(6, 16, 31, 0.65);
  color: #f0e6d2;
  font-size: 0.78rem;
  font-weight: 600;
}
body .rs-lfg-lane-pill img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
body .rs-lfg-lane-pill--icon {
  padding: 0.15rem;
  min-width: 0;
  min-height: 0;
  border: 0;
  background: transparent;
  justify-content: center;
}
body .rs-lfg-lane-pill--icon img {
  width: 20px;
  height: 20px;
}
body .rs-lfg-lane-pill--icon .fa {
  font-size: 0.85rem;
  color: #c8aa6e;
}
body .rs-lfg-lane-pick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
@media (max-width: 575.98px) {
  body .rs-lfg-lane-pick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
body .rs-lfg-lane-pick__item {
  margin: 0;
  cursor: pointer;
}
body .rs-lfg-lane-pick__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
body .rs-lfg-lane-pick__face {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(200, 170, 110, 0.28);
  background: rgba(6, 16, 31, 0.7);
  color: #f0e6d2;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 44px;
  transition: border-color .15s ease, background .15s ease;
}
body .rs-lfg-lane-pick__face img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
body .rs-lfg-lane-pick__item input:checked + .rs-lfg-lane-pick__face {
  border-color: #c8aa6e;
  background: rgba(200, 170, 110, 0.16);
  box-shadow: inset 0 0 0 1px rgba(200, 170, 110, 0.35);
}
body .rs-lfg-player .card-body,
body .rs-lfg-team .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.75rem 0.85rem !important;
}
body .rs-lfg-player__top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
body .rs-lfg-player__top-actions {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  margin-left: auto;
}
body .rs-lfg-player__top-actions .btn {
  padding: 0.15rem 0.45rem !important;
  font-size: 0.68rem !important;
  line-height: 1.2;
  min-width: 3.4rem;
  white-space: nowrap;
}
body .rs-lfg-player__top-actions form {
  margin: 0;
}
body .rs-lfg-toolbar .btn {
  padding: 0.28rem 0.55rem !important;
  font-size: 0.62rem !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
}
body .rs-lfg-toolbar .btn i {
  font-size: 0.7rem;
}
body .rs-lfg-cta .btn {
  padding: 0.28rem 0.55rem !important;
  font-size: 0.62rem !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
}
body .rs-lfg-player__avatar {
  flex: 0 0 auto;
}
body .rs-lfg-player__avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(200, 170, 110, 0.35);
  display: block;
}
body .rs-lfg-player__who {
  flex: 1 1 auto;
  min-width: 0;
}
body .rs-lfg-player__name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex-wrap: wrap;
}
body .rs-lfg-player__name {
  display: block;
  color: #f0e6d2 !important;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
body .rs-lfg-player__name:hover {
  color: #c8aa6e !important;
}
body .rs-lfg-player__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
body .rs-lfg-player__meta .badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.35rem;
}
body .rs-lfg-player__lvl {
  color: #a09b8c;
  font-size: 0.72rem;
}
body .rs-lfg-player__ranks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
body .rs-lfg-player__rank {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  padding: 0.1rem 0.45rem 0.1rem 0;
  border: 1px solid rgba(200, 170, 110, 0.16);
  background: rgba(6, 16, 31, 0.45);
  min-width: 0;
  min-height: 76px;
  overflow: hidden;
}
body .rs-lfg-player__rank--elo {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 0.35rem 0.55rem;
}
body .rs-lfg-player__rank-label {
  display: none;
}
body .rs-lfg-player__rank-text {
  min-width: 0;
  flex: 1 1 auto;
  z-index: 1;
}
body .rs-lfg-player__rank-icon {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  margin: -1.1rem -0.7rem -1.1rem -0.95rem;
  object-fit: contain;
  transform: scale(1.85);
  transform-origin: center center;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}
body .rs-lfg-player__rank-value {
  display: block;
  color: #f0e6d2;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .rs-lfg-player__msg {
  margin: 0;
  color: #c5c9d2;
  font-size: 0.78rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .rs-lfg-player__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.1rem;
}
body .rs-lfg-player__actions .btn,
body .rs-lfg-team .rs-lfg-player__actions .btn {
  padding: 0.28rem 0.55rem !important;
  font-size: 0.62rem !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
}
body .rs-lfg-team .rs-lfg-player__ranks {
  grid-template-columns: 1fr;
}



/* Live LFG filter */
body .rs-lfg-results {
  position: relative;
  min-height: 4rem;
  transition: opacity 0.15s ease;
}
body .rs-lfg-results--loading {
  opacity: 0.45;
  pointer-events: none;
}
body .rs-lfg-results--loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.08), transparent);
  animation: rs-lfg-shimmer 1.1s linear infinite;
  pointer-events: none;
}
@keyframes rs-lfg-shimmer {
  from { transform: translateX(-40%); }
  to { transform: translateX(40%); }
}

/* ========== Scrim open listings ========== */
body .rs-scrim-dash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(200, 170, 110, 0.32);
  box-shadow: inset 0 0 0 1px rgba(10, 150, 170, 0.1);
  background: linear-gradient(180deg, rgba(14, 31, 61, 0.72), rgba(6, 16, 31, 0.88));
}
body .rs-scrim-dash__label {
  display: block;
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(200, 170, 110, 0.7);
  margin-bottom: 0.2rem;
}
body .rs-scrim-dash__team {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #f0e6d2;
  font-size: 0.9rem;
}
body .rs-scrim-dash__team strong {
  font-family: var(--oc-font-body, "Noto Sans KR", "Spectral", serif) !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none !important;
}
body .rs-scrim-dash__team img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(200, 170, 110, 0.4);
}
body .rs-scrim-dash__live {
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7ae0a8;
  border: 1px solid rgba(122, 224, 168, 0.35);
  padding: 0.15rem 0.4rem;
}
body .rs-scrim-dash__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}
body .rs-scrim-dash__actions .btn,
body .rs-scrim-card__actions .btn {
  min-width: 0 !important;
}
body .rs-scrim-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(200, 170, 110, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(10, 150, 170, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.28);
  background-color: rgba(14, 31, 61, 0.82);
  background-image: linear-gradient(180deg, rgba(20, 42, 72, 0.92) 0%, rgba(12, 28, 54, 0.94) 100%);
  overflow: hidden;
}
body .rs-scrim-card.is-mine {
  border-color: rgba(200, 170, 110, 0.55);
}
body .rs-scrim-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(200, 170, 110, 0.22);
  background-color: rgba(18, 38, 68, 0.75);
  background-image: linear-gradient(90deg, rgba(200, 170, 110, 0.12), transparent 65%);
}
body .rs-scrim-card__team {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  text-decoration: none !important;
  color: #f0e6d2 !important;
}
body .rs-scrim-card__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(200, 170, 110, 0.45);
  flex: 0 0 auto;
}
body .rs-scrim-card__logo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 170, 110, 0.12);
  color: var(--oc-gold, #c8aa6e);
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.65rem;
  font-weight: 700;
}
body .rs-scrim-card__names {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex-wrap: wrap;
}
body .rs-scrim-card__name {
  font-family: var(--oc-font-body, "Noto Sans KR", "Spectral", serif) !important;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none !important;
  color: #f0e6d2;
}
body .rs-scrim-card__badge {
  flex: 0 0 auto;
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1408;
  background: var(--oc-gold, #c8aa6e);
  padding: 0.2rem 0.45rem;
}
body .rs-scrim-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem 0.9rem 1rem;
  flex: 1 1 auto;
}
body .rs-scrim-card__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.4rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
body .rs-scrim-card__k {
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 170, 110, 0.72);
}
body .rs-scrim-card__v {
  color: rgba(236, 224, 196, 0.92);
  font-size: 0.84rem;
}
body .rs-scrim-card__flex {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.7rem;
  color: #7ae0a8;
}
body .rs-scrim-card__desc {
  margin: 0.55rem 0 0;
  color: rgba(197, 201, 210, 0.85);
  font-size: 0.8rem;
  line-height: 1.45;
}
body .rs-scrim-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.35rem;
}
body .rs-scrim-history tr.is-mine {
  border-left: 3px solid rgba(200, 170, 110, 0.7);
}
body .rs-scrim-history__match {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
}
body .rs-scrim-history__side {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
body .rs-scrim-history__vs {
  color: rgba(200, 170, 110, 0.65);
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Team page action stack — match Classic chrome (subtle, compact) */
body .esports-page .esports-team-action-btn,
body .esports-page a.esports-team-action-btn {
  width: 100%;
  min-height: 0 !important;
  padding: 0.28rem 0.55rem !important;
  font-size: 0.62rem !important;
  line-height: 1.2 !important;
  border-radius: 0 !important;
  font-family: var(--oc-font-display, Cinzel, serif) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: none !important;
}
body .esports-page .esports-team-action-btn--opgg {
  background: linear-gradient(180deg, rgba(232, 150, 70, 0.12), rgba(8, 18, 36, 0.95)) !important;
  border: 1px solid rgba(232, 150, 70, 0.55) !important;
  color: #e8c08a !important;
}
body .esports-page .esports-team-action-btn--primary {
  background: linear-gradient(180deg, rgba(20, 42, 72, 0.9), rgba(8, 18, 36, 0.95)) !important;
  border: 1px solid rgba(200, 170, 110, 0.45) !important;
  color: #c8aa6e !important;
}
body .esports-page .esports-team-action-btn--secondary {
  background: linear-gradient(180deg, rgba(20, 42, 72, 0.9), rgba(8, 18, 36, 0.95)) !important;
  border: 1px solid rgba(200, 170, 110, 0.35) !important;
  color: #c8aa6e !important;
}
body .esports-page .esports-team-action-btn--danger {
  background: linear-gradient(180deg, rgba(200, 90, 90, 0.1), rgba(8, 18, 36, 0.95)) !important;
  border: 1px solid rgba(200, 100, 100, 0.45) !important;
  color: #e0a8a8 !important;
}
body .esports-page .esports-team-action-btn--opgg:hover,
body .esports-page .esports-team-action-btn--primary:hover,
body .esports-page .esports-team-action-btn--secondary:hover,
body .esports-page .esports-team-action-btn--danger:hover {
  border-color: rgba(10, 200, 185, 0.65) !important;
  color: #f0e6d2 !important;
}

/* Hub pages: less dead space under sticky header */
body:has(.rs-top) .rs-league-page.mt20,
body:has(.rs-hub) .rs-league-page.mt20 {
  margin-top: 0.55rem !important;
}

/*
 * Global overlay nav drawer (body-level) — never pushes page content.
 */
.rs-nav-drawer {
  position: fixed !important;
  top: var(--rs-top-h, 54px) !important;
  left: 0 !important;
  bottom: 0 !important;
  width: min(300px, 88vw) !important;
  max-width: 300px !important;
  z-index: 1260 !important;
  margin: 0 !important;
  padding: 0.85rem 0.75rem 1rem !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, rgba(6, 16, 31, 0.99), #02060e) !important;
  border-right: 1px solid rgba(200, 170, 110, 0.35);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transform: translateX(-16px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.rs-nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
  transform: translateX(0);
}
.rs-nav-drawer__panel {
  pointer-events: auto !important;
}
.rs-nav-drawer .rs-league-nav-card,
.rs-nav-drawer .card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Admin / ModCP sidebar relocated into the hamburger drawer on mobile */
.rs-nav-drawer .admin-sidebar,
.rs-nav-drawer [data-rs-admin-sidebar] {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.rs-nav-drawer .admin-sidebar .card,
.rs-nav-drawer [data-rs-admin-sidebar] .card {
  margin-bottom: 0.75rem !important;
}
.rs-nav-drawer .admin-sidebar .card-header,
.rs-nav-drawer [data-rs-admin-sidebar] .card-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(200, 170, 110, 0.22) !important;
  color: rgba(232, 214, 170, 0.95) !important;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0.35rem 0.45rem !important;
}
.rs-nav-drawer .admin-sidebar .side-nav > li > a,
.rs-nav-drawer [data-rs-admin-sidebar] .side-nav > li > a {
  color: rgba(220, 228, 240, 0.92) !important;
  padding-left: 0.35rem !important;
  padding-right: 0.35rem !important;
}
.rs-nav-drawer .admin-sidebar .side-nav > li.active > a,
.rs-nav-drawer [data-rs-admin-sidebar] .side-nav > li.active > a {
  color: #e8d6aa !important;
}
.rs-nav-backdrop {
  position: fixed !important;
  top: var(--rs-top-h, 54px) !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1240 !important;
  background: rgba(2, 6, 14, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.rs-nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}
body.rs-nav-open {
  overflow: hidden !important;
  padding-right: var(--rs-scrollbar-w, 0px);
}
body.rs-nav-open .rs-top {
  z-index: 1280 !important;
}

/* League pages: full-width main — sidebar lives only in the overlay drawer */
body .rs-league-page {
  max-width: 1760px;
  margin-left: auto;
  margin-right: auto;
}
body .rs-league-page .rs-league-main,
body .rs-league-page > .rs-league-main {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0;
  padding-right: 0;
}
/* Kill any leftover in-page offcanvas sidebar on league shells */
body .rs-league-page > .row > .sg-offcanvas-sidebar,
body .rs-league-page .sg-offcanvas-sidebar {
  display: none !important;
}
