/* Rising Stars — Legends LoL hub (mockup fidelity)
 * Scope: .rs-hub / .rs-top only — Social UI unchanged.
 */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Rajdhani:wght@600;700&display=swap");

/* Tokens live in rs-theme.css; hub keeps layout-only fallbacks */
:root {
  --rs-bg: #05070b;
  --rs-panel: #0b0e14;
  --rs-panel-edge: rgba(120, 160, 200, 0.14);
  --rs-gold: #c8aa6e;
  --rs-gold-bright: #e0c080;
  --rs-gold-ink: #1a140c;
  --rs-text: #ffffff;
  --rs-muted: #8b93a3;
  --rs-nav: #c5c9d2;
  --rs-radius: 4px;
}

html:has(.rs-hub),
html:has(.rs-top),
body:has(.rs-hub),
body:has(.rs-top),
body.n_activated:has(.rs-top),
body.n_live:has(.rs-top),
body.n_chat:has(.rs-top) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-right: 0 !important;
  /* Keep atmospheric navy/cyan from oldclient — do not flatten to solid */
  font-family: var(--oc-font-display, "Cinzel"), "Noto Sans KR", sans-serif !important;
}
body:has(.rs-hub) .main-wrapper,
body:has(.rs-top) .main-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-right: 0 !important;
  margin-right: 0 !important;
}
body:has(.rs-top) > .main-wrapper > .rs-top,
body:has(.rs-top) .rs-top {
  margin-top: 0 !important;
  top: 0 !important;
}
/* Mobile bottom bar retired site-wide — top header + sidebar only */
.footer-bottom-bar,
body .footer-bottom-bar,
body:has(.rs-hub) .footer-bottom-bar,
body.esports-chrome .footer-bottom-bar {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
}
body:has(.rs-hub) .rs-site-footer,
body:has(.rs-hub) .chat-sidebar,
body:has(.rs-hub) .chat-bar,
body:has(.rs-hub) .ChatVoicePanel,
body:has(.rs-hub) [class*="voice-panel"],
body:has(.rs-hub) [id*="voice-widget"],
body:has(.rs-hub) .pwa_install_banner,
body:has(.rs-hub) .cc-window,
body:has(.rs-hub) #PWAInstallBanner,
body.esports-chrome .chat-sidebar,
body.esports-chrome .chat-bar {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Esports subpages: space below sticky hub bar */
body:has(.rs-top):not(:has(.rs-hub)) .main-wrapper {
  padding-top: 0.35rem;
}
body:has(.rs-top):not(:has(.rs-hub)) .esports-page {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Pin footer to bottom of viewport on short pages */
body:has(.rs-top),
body:has(.rs-hub) {
  min-height: 100vh;
  display: flex !important;
  flex-direction: column !important;
}
body:has(.rs-top) .main-wrapper,
body:has(.rs-hub) .main-wrapper {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  min-height: 0;
}
body:has(.rs-hub) .rs-hub {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0;
  width: 100%;
}
body:has(.rs-top) .main-wrapper > .rs-foot,
body:has(.rs-hub) .rs-hub > .rs-foot {
  margin-top: auto !important;
  flex: 0 0 auto !important;
}

.rs-top__tools {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.rs-top__notify {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.rs-top__notify > li {
  position: relative;
}
.rs-top__notify .header-icon,
.rs-top__notify .header-icon *,
.rs-top__notify svg {
  color: var(--rs-gold) !important;
  fill: var(--rs-gold) !important;
  stroke: var(--rs-gold) !important;
}
.rs-top__notify .counter {
  background: #c41e1e !important;
}
.rs-top__avatar {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.55);
  flex-shrink: 0;
}
.rs-top__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs-link {
  display: block;
  text-align: center;
  color: var(--rs-gold) !important;
  font-size: 0.78rem;
  text-decoration: none !important;
}

/* ========== Top bar ========== */
.rs-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 7, 11, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rs-top__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.rs-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  flex-shrink: 0;
  width: auto;
  height: 52px;
  grid-column: 1;
  justify-self: start;
}
.rs-brand__mark { display: none !important; }
.rs-brand__logo {
  display: block !important;
  height: 48px;
  width: auto;
  max-width: 176px;
  object-fit: contain;
  object-position: left center;
  filter: none;
}
.rs-brand__text,
.rs-brand__star { display: none !important; }
.rs-top__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  margin: 0;
  justify-content: center;
  grid-column: 2;
  justify-self: center;
}
.rs-top__nav a {
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rs-nav) !important;
  text-decoration: none !important;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.rs-top__nav a:hover {
  color: #fff !important;
}
.rs-top__nav a.is-active {
  color: var(--rs-gold) !important;
  border-bottom-color: var(--rs-gold);
}
.rs-top__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0;
  flex-shrink: 0;
  grid-column: 3;
  justify-self: end;
}
.rs-top__menu-btn {
  display: inline-flex;
  grid-column: auto;
  justify-self: start;
  background: transparent;
  border: 1px solid rgba(201, 164, 92, 0.45);
  width: 40px;
  height: 36px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  order: -1;
}
.rs-top__menu-btn span {
  display: block;
  height: 2px;
  background: var(--rs-gold);
}

/* ========== Buttons ========== */
.rs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 4px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.rs-btn--sm {
  padding: 0.48rem 0.95rem;
  font-size: 0.68rem;
}
.rs-btn--block { width: 100%; }
.rs-btn--solid {
  background: linear-gradient(180deg, #e2c377 0%, #c9a45c 50%, #a07d3a 100%) !important;
  color: var(--rs-gold-ink) !important;
  border-color: #d4b36a !important;
}
.rs-btn--solid:hover {
  background: var(--rs-gold-bright) !important;
  color: #0b0a08 !important;
}
.rs-btn--ghost {
  background: transparent !important;
  color: var(--rs-gold) !important;
  border-color: rgba(201, 164, 92, 0.65) !important;
}
.rs-btn--ghost:hover {
  background: rgba(201, 164, 92, 0.1) !important;
  color: var(--rs-gold-bright) !important;
}
.rs-btn__play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

/* ========== Hub ========== */
.rs-hub {
  color: var(--rs-text);
  background: transparent;
}

/* ========== Hero ========== */
.rs-hero {
  position: relative;
  min-height: clamp(560px, 82vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
}
.rs-hero__bg {
  position: absolute;
  inset: 0;
  background:
    url("../img/hero-bg.jpg") center 30% / cover no-repeat;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.05);
}
.rs-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 50% 42%, rgba(60, 40, 120, 0.18), transparent 70%),
    radial-gradient(50% 40% at 18% 60%, rgba(10, 160, 200, 0.12), transparent 65%),
    radial-gradient(45% 40% at 85% 55%, rgba(180, 60, 40, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.28) 0%, rgba(5, 7, 11, 0.18) 32%, rgba(5, 7, 11, 0.68) 70%, rgba(5, 7, 11, 0.98) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, 0.5) 0%, transparent 26%, transparent 74%, rgba(5, 7, 11, 0.42) 100%);
  pointer-events: none;
}
.rs-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6.5rem 1.25rem 4.25rem;
  max-width: 820px;
}
.rs-hero__eyebrow {
  margin: 0 0 0.95rem;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rs-gold);
}
.rs-hero__title {
  margin: 0 0 1.05rem;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-weight: 800;
  font-size: clamp(2.35rem, 6.2vw, 3.85rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.02;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}
.rs-hero__lede {
  margin: 0 auto 1.75rem;
  max-width: 48ch;
  color: #d7dae3;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 500;
}
.rs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.rs-hero__scroll {
  display: none !important;
}
.rs-region-pane[hidden] {
  display: none !important;
}
button.rs-region-tab {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* ========== Dashboard ========== */
.rs-dash {
  max-width: 1280px;
  margin: -4.5rem auto 0;
  padding: 0 1.5rem 1.4rem;
  position: relative;
  z-index: 5;
}
.rs-lower {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.35rem 1.5rem 1.4rem;
}
.rs-dash__grid {
  display: grid;
  grid-template-columns: 1.15fr 1.1fr 0.95fr;
  gap: 1.1rem;
  align-items: stretch;
}
.rs-panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20, 28, 42, 0.65) 0%, rgba(8, 11, 18, 0.95) 55%, rgba(6, 9, 14, 0.98) 100%),
    var(--rs-panel);
  border: 1px solid rgba(120, 160, 200, 0.16);
  border-radius: var(--rs-radius);
  padding: 1.2rem 1.25rem 1.35rem;
  box-shadow:
    0 0 0 1px rgba(80, 140, 200, 0.06),
    0 0 40px rgba(30, 90, 160, 0.14),
    0 24px 55px rgba(0, 0, 0, 0.55);
  min-height: 100%;
  overflow: hidden;
}
.rs-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(140, 190, 240, 0.07) 0%, transparent 28%),
    radial-gradient(120% 80% at 50% 120%, rgba(200, 170, 110, 0.05), transparent 55%);
  z-index: 0;
}
.rs-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(180, 210, 240, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  z-index: 0;
}
.rs-panel > * { position: relative; z-index: 1; }
.rs-panel--league,
.rs-panel--match,
.rs-panel--rankings {
  min-height: 360px;
}
.rs-panel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: none;
  position: relative;
}
.rs-panel__head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 170, 110, 0.55) 20%, rgba(200, 170, 110, 0.55) 80%, transparent 100%);
}
.rs-panel__head h2 {
  margin: 0;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 0;
  border-bottom: none;
  line-height: 1.2;
}
.rs-panel__head a {
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-gold) !important;
  text-decoration: none !important;
  white-space: nowrap;
  padding-bottom: 0;
}

/* League pillars / rank emblems */
.rs-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rs-pillars--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  height: calc(100% - 2.4rem);
  align-content: center;
  position: relative;
}
.rs-pillars--grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 0.35rem 0.35rem;
  position: relative;
}
.rs-pillars--grid li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201,164,92,0.25), transparent);
}
.rs-emblem-img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
}
.rs-emblem-img--glow {
  filter:
    drop-shadow(0 0 14px rgba(240, 210, 122, 0.55))
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
}
.rs-pillars strong {
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.rs-pillars p {
  margin: 0;
  color: #a8b0bf;
  font-size: 0.7rem;
  line-height: 1.4;
  max-width: 15ch;
}

/* Match */
.rs-match__meta,
.rs-match__when,
.rs-match__fmt,
.rs-region-label {
  margin: 0 0 0.7rem;
  color: var(--rs-muted);
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}
.rs-match__when {
  color: var(--rs-gold);
  margin: 0.85rem 0 0.2rem;
}
.rs-match__fmt {
  margin-bottom: 0.85rem;
  font-size: 0.62rem;
  color: #7f8696;
}
.rs-match__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.55rem;
  align-items: center;
}
.rs-match__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.rs-match__logo,
.rs-crest {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(14, 31, 61, 0.7);
}
.rs-match__logo--glow-purple {
  box-shadow:
    0 0 0 2px rgba(168, 85, 247, 0.35),
    0 0 28px 8px rgba(139, 92, 246, 0.55),
    0 0 48px 12px rgba(109, 40, 217, 0.35);
}
.rs-match__logo--glow-red {
  box-shadow:
    0 0 0 2px rgba(248, 113, 113, 0.35),
    0 0 28px 8px rgba(239, 68, 68, 0.55),
    0 0 48px 12px rgba(185, 28, 28, 0.35);
}
.rs-crest {
  display: grid;
  place-items: center;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-weight: 700;
  color: var(--rs-gold);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  border: 2px solid rgba(201, 164, 92, 0.4);
}
.rs-match__side strong {
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.rs-match__record {
  font-size: 0.72rem;
  color: var(--rs-muted);
  letter-spacing: 0.08em;
}
.rs-match__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.rs-match__vs-line {
  display: block;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
}
.rs-match__vs {
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #9aa1b0;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.rs-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  background: linear-gradient(180deg, rgba(8, 18, 36, 0.85), rgba(3, 8, 16, 0.95));
  border: 1px solid rgba(80, 150, 210, 0.22);
  border-radius: 4px;
  padding: 0.55rem;
  box-shadow: inset 0 0 24px rgba(10, 140, 200, 0.12);
}
.rs-countdown div {
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(100, 170, 220, 0.14);
  border-radius: 3px;
  padding: 0.55rem 0.2rem 0.45rem;
  position: relative;
}
.rs-countdown div::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(10, 200, 185, 0.55), transparent);
}
.rs-countdown strong {
  display: block;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 12px rgba(10, 200, 185, 0.25);
}
.rs-countdown span {
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f8a9c;
}

/* Rankings */
.rs-table-wrap { overflow-x: auto; }
.rs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.rs-table th {
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rs-muted);
  font-weight: 600;
  padding: 0.25rem 0.3rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
}
.rs-table td {
  padding: 0.58rem 0.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  color: #dce0ea;
  vertical-align: middle;
}
.rs-table tr.is-top td {
  background: rgba(201, 164, 92, 0.08);
}
.rs-rank {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  font-weight: 700;
  color: var(--rs-muted);
}
.rs-rank--1 { color: #f0d27a; }
.rs-rank--2 { color: #d0d5de; }
.rs-rank--3 { color: #c9956a; }
.rs-team {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
}
.rs-team:hover { color: var(--rs-gold, #c8aa6e) !important; }
.rs-team img,
.rs-team__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.rs-team__dot { display: inline-block; }
a.rs-match--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.rs-match--link:hover {
  outline: 1px solid rgba(200, 170, 110, 0.35);
}
.rs-crest--sm {
  width: 28px;
  height: 28px;
  min-width: 28px;
  font-size: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
a.esports-team-avatar {
  display: inline-flex;
  text-decoration: none;
}
.rs-pts {
  color: var(--rs-gold) !important;
  font-weight: 700;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 1.05rem;
}
.rs-region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}
.rs-region-tab {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--rs-muted);
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
}
.rs-region-tab.is-active,
.rs-region-tab:hover {
  color: var(--rs-gold-ink);
  background: var(--rs-gold);
  border-color: var(--rs-gold);
}
.rs-region-label--hub {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rs-gold, #c8aa6e);
}

/* Lower */
.rs-lower__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1.1rem;
}
.rs-news {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rs-news--row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.rs-news__item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none !important;
  color: inherit !important;
  padding: 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(120, 160, 200, 0.12);
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.8), rgba(6, 9, 14, 0.95));
  min-height: 96px;
  box-shadow: inset 0 1px 0 rgba(160, 200, 240, 0.06);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.rs-news__item:hover {
  border-color: rgba(200, 170, 110, 0.4);
  background: linear-gradient(180deg, rgba(22, 30, 44, 0.9), rgba(8, 12, 18, 0.98));
  box-shadow: 0 0 24px rgba(10, 160, 200, 0.12);
}
.rs-news__thumb {
  display: block;
  width: 92px;
  height: 74px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(14, 31, 61, 0.7);
  box-shadow: 0 0 16px rgba(40, 100, 180, 0.2);
}
.rs-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rs-news__cat {
  display: block;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rs-gold);
  margin-bottom: 0.25rem;
}
.rs-news__copy strong {
  display: block;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}
.rs-news__copy small { color: var(--rs-muted); font-size: 0.72rem; }

.rs-panel--news {
  border-color: rgba(197, 160, 89, 0.18);
  box-shadow:
    0 0 0 1px rgba(197, 160, 89, 0.06) inset,
    0 20px 50px rgba(0, 0, 0, 0.45);
}

.rs-cta {
  position: relative;
  border-radius: var(--rs-radius);
  overflow: hidden;
  border: 1px solid rgba(80, 160, 210, 0.28);
  min-height: 260px;
  display: flex;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(80, 140, 200, 0.08),
    0 0 40px rgba(20, 100, 180, 0.18),
    0 24px 55px rgba(0, 0, 0, 0.55);
  background: var(--rs-panel);
}
.rs-cta__bg {
  position: absolute;
  inset: 0;
  background-color: #0a1018;
  background-image:
    radial-gradient(70% 80% at 80% 50%, rgba(40, 120, 200, 0.28), transparent 60%),
    linear-gradient(105deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.55) 42%, rgba(5, 5, 8, 0.2) 100%),
    var(--rs-cta-img, none);
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.rs-cta__inner {
  position: relative;
  z-index: 1;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
  width: 100%;
  max-width: 300px;
  min-height: 240px;
}
.rs-cta h2 {
  margin: 0;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}
.rs-cta p {
  margin: 0;
  color: #c8cede;
  font-size: 0.86rem;
  line-height: 1.5;
}
.rs-btn--cta {
  width: auto;
  align-self: flex-start;
  background: linear-gradient(180deg, #e2c377 0%, #c9a45c 48%, #a07d3a 100%) !important;
  border-color: #d4b36a !important;
  box-shadow: 0 8px 22px rgba(201, 164, 92, 0.35);
}
.rs-btn--solid {
  background: linear-gradient(180deg, #e2c377 0%, #c9a45c 50%, #a07d3a 100%) !important;
}

/* Footer */
.rs-foot {
  border-top: 1px solid rgba(200, 170, 110, 0.28);
  margin-top: 0.75rem;
  padding: 1.5rem 1.5rem 1.6rem;
  background: linear-gradient(180deg, rgba(8, 16, 32, 0.4), rgba(4, 10, 20, 0.85));
}
.rs-foot__inner {
  max-width: 1560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.rs-foot__main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  align-items: start;
}
.rs-foot__brand-name {
  display: block;
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 230, 210, 0.92);
  margin-bottom: 0.45rem;
}
.rs-foot__about {
  margin: 0;
  max-width: 36rem;
  color: rgba(240, 230, 210, 0.55);
  font-size: 0.84rem;
  line-height: 1.55;
}
.rs-foot__col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.rs-foot__col-title {
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 170, 110, 0.78);
  margin-bottom: 0.2rem;
}
.rs-foot__col a {
  color: rgba(240, 230, 210, 0.62) !important;
  font-size: 0.84rem;
  text-decoration: none !important;
  width: fit-content;
}
.rs-foot__col a:hover {
  color: var(--rs-gold, #c9a45c) !important;
}
.rs-foot__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(200, 170, 110, 0.12);
}
.rs-foot__legal {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}
.rs-foot__motto {
  flex-shrink: 0;
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 170, 110, 0.75);
}
.rs-foot__left {
  flex: 1 1 320px;
  min-width: 0;
}
.rs-foot__copy-line {
  color: rgba(240, 230, 210, 0.72);
  font-size: 0.78rem;
  font-family: var(--oc-font-body, Spectral, serif);
  letter-spacing: 0.02em;
}
.rs-foot__disclaimer,
.rs-foot .rs-riot-disclaimer {
  margin-top: 0;
  color: rgba(240, 230, 210, 0.48);
  font-size: 0.72rem;
  line-height: 1.45;
  max-width: 42rem;
}
.rs-foot__trademark {
  margin-top: 0;
  color: rgba(240, 230, 210, 0.38);
  font-size: 0.68rem;
  line-height: 1.4;
  max-width: 42rem;
}

/* Sponsors strip (footer + landing) — keep logos compact */
.rs-sponsors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
  padding: 0.15rem 0 0.35rem;
}
.rs-sponsors__label {
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(200, 170, 110, 0.7);
}
.rs-sponsors__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
}
.rs-sponsors__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  max-height: 28px;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-decoration: none !important;
}
.rs-sponsors__item:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.rs-sponsors__item img {
  display: block;
  max-height: 28px !important;
  max-width: 88px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  filter: grayscale(0.15) brightness(1.05);
}
.rs-sponsors__name {
  font-size: 0.78rem;
  color: rgba(240, 230, 210, 0.7);
  letter-spacing: 0.04em;
}
.rs-gate__footer > .rs-sponsors {
  margin-bottom: 0.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(200, 170, 110, 0.12);
}
.mini-footer > .rs-sponsors {
  margin-bottom: 0.75rem;
}
.rs-foot__row {
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}
.rs-foot__social .header-social {
  display: flex;
  gap: 0.75rem;
}
.rs-foot__social a,
.rs-foot__social i,
.rs-foot__social svg {
  color: #c5c9d4 !important;
  fill: #c5c9d4 !important;
}
.rs-foot__copy {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #7f8696;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rs-foot__rule {
  display: block;
  width: 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.rs-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  justify-content: flex-end;
  align-items: center;
}
.rs-foot__links a {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b91a0 !important;
  text-decoration: none !important;
}
.rs-foot__links a:hover { color: var(--rs-gold) !important; }

/* Mobile */
@media (max-width: 1100px) {
  .rs-dash { margin-top: -1.5rem; }
  .rs-dash__grid,
  .rs-lower__grid { grid-template-columns: 1fr; }
  .rs-pillars--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-news--row,
  .rs-news--cards { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
  .rs-top__menu-btn { display: flex; }
  .rs-top__inner {
    grid-template-columns: auto 1fr auto;
  }
  .rs-top__nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.35rem;
    grid-column: 1 / -1;
    justify-self: stretch;
    margin: 0.4rem 0 0;
  }
  .rs-top__nav.show,
  .rs-top__nav.collapse.show { display: flex !important; }
  .rs-top__actions { grid-column: 3; }
  .rs-foot__main {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
  }
  .rs-foot__brand {
    grid-column: 1 / -1;
  }
  .rs-foot__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 575.98px) {
  .rs-hero__actions { width: 100%; }
  .rs-hero__actions .rs-btn { width: 100%; }
  /* Wordmark must not clip to icon size (overlaps hamburger) */
  .rs-brand { width: auto; height: auto; max-width: min(48vw, 140px); }
  .rs-brand__logo { height: 24px; max-width: 100%; }
  .rs-brand__mark svg { width: 30px; height: 30px; }
  .rs-foot__main {
    grid-template-columns: 1fr;
  }
}

/* Region switcher (header) */
.rs-region-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem;
  border: 1px solid rgba(120, 160, 200, 0.18);
  border-radius: 4px;
  background: rgba(3, 5, 10, 0.55);
}
.rs-region-switch__btn {
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa1b0 !important;
  text-decoration: none !important;
  padding: 0.35rem 0.5rem;
  border-radius: 3px;
  transition: color .15s ease, background .15s ease;
}
.rs-region-switch__btn:hover {
  color: #fff !important;
}
.rs-region-switch__btn.is-active {
  color: #14110c !important;
  background: linear-gradient(180deg, #e2c377 0%, #c9a45c 100%);
}

/* Flag glyph shared by the region and language menus */
.rs-flag {
  display: block;
  flex: 0 0 auto;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
}

/* Region chip + dropdown (header) */
.rs-region {
  position: relative;
}
.rs-region__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(120, 160, 200, 0.2);
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  background: rgba(3, 5, 10, 0.45);
  text-decoration: none !important;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.rs-region__btn::after { display: none !important; }
.rs-region__btn:hover,
.rs-region__btn[aria-expanded="true"] {
  border-color: rgba(200, 170, 110, 0.45);
  background: rgba(10, 150, 170, 0.1);
}
.rs-region__code {
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--rs-gold, #c8aa6e);
}
.rs-region__caret {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid rgba(200, 170, 110, 0.75);
  transition: transform .15s ease;
}
[aria-expanded="true"] .rs-region__caret { transform: rotate(180deg); }

.rs-region__menu,
.rs-lang__menu {
  min-width: 13rem;
  padding: 0.35rem;
  z-index: 1100;
}
.rs-region__heading {
  display: block;
  padding: 0.25rem 0.55rem 0.4rem;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6f7787;
  border-bottom: 1px solid rgba(120, 160, 200, 0.14);
  margin-bottom: 0.25rem;
}
.rs-region__item,
.rs-lang__item {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 3px;
}
.rs-region__name,
.rs-lang__name {
  flex: 1 1 auto;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.rs-region__tag {
  flex: 0 0 auto;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6f7787;
}
.rs-region__item.is-active,
.rs-lang__item.is-active {
  background: rgba(200, 170, 110, 0.14);
}
.rs-region__item.is-active .rs-region__name,
.rs-region__item.is-active .rs-region__tag,
.rs-lang__item.is-active .rs-lang__name {
  color: var(--rs-gold, #c8aa6e);
}

/* Language chip */
.rs-lang {
  position: relative;
}
.rs-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c5c9d2 !important;
  text-decoration: none !important;
  border: 1px solid rgba(120, 160, 200, 0.2);
  border-radius: 4px;
  padding: 0.35rem 0.55rem;
  background: rgba(3, 5, 10, 0.45);
}
.rs-lang__btn::after { display: none !important; }
.rs-lang__btn:hover,
.rs-lang__btn[aria-expanded="true"] {
  color: var(--rs-gold) !important;
  border-color: rgba(200, 170, 110, 0.45);
}
/* Language names stay in their own script/casing (Deutsch, 한국어, Tiếng Việt) */
.rs-lang__btn .rs-lang__name {
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  text-transform: none;
}
/* Header chip: flag only — full names live in the dropdown */
.rs-top .rs-lang__btn {
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
}
.rs-top .rs-lang__btn .rs-lang__name {
  display: none !important;
}
.rs-top .rs-lang__btn .rs-region__caret {
  margin-left: 0.1rem;
}
.rs-lang .dropdown-menu {
  min-width: 11rem;
  z-index: 1100;
}
.rs-lang--foot .rs-lang__btn {
  border: 0;
  background: transparent;
  padding: 0;
  letter-spacing: 0.1em;
  color: var(--rs-gold) !important;
}
.rs-foot__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}

/* Rankings region tabs as links */
a.rs-region-tab {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--rs-muted);
  font-family: var(--oc-font-display, "Cinzel"), sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  text-decoration: none !important;
  cursor: pointer;
}
a.rs-region-tab.is-active,
a.rs-region-tab:hover {
  color: var(--rs-gold-ink, #1a1408) !important;
  background: var(--rs-gold);
  border-color: var(--rs-gold);
}
a.rs-region-tab.is-active:hover {
  color: #1a1408 !important;
}

@media (max-width: 991.98px) {
  .rs-top__actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .rs-region-switch {
    order: -1;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.25rem;
  }
  /* Keep the header chips compact on phones: flag + code only */
  .rs-top__actions .rs-lang__btn .rs-lang__name { display: none; }
}


/* ========== LoL Classic hub (LoL shell + left guide) ========== */
.rs-dash__shell--classic {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.rs-dash__main .rs-dash__grid {
  grid-template-columns: 1.15fr 1.1fr 0.95fr;
}
.rs-dash__main .rs-panel--teamranked {
  margin-top: 1.1rem;
}

/* Pro hub layout: News first + Standings hero */
.rs-hub-quick {
  display: none !important;
}
.rs-dash--pro {
  padding-top: 0.5rem;
}
.rs-dash__pro {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem 1.25rem;
  align-items: start;
}
.rs-dash__pro-main {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

/* Compact hero — leave room for the news stage */
.rs-hub--classic .rs-hero.rs-hero--compact {
  min-height: 0;
  height: auto;
  padding: 5.5rem 0 2.25rem;
  place-items: end center;
}
.rs-hub--classic .rs-hero--compact .rs-hero__inner {
  padding-bottom: 0.5rem;
}
.rs-hub--classic .rs-hero--compact .rs-hero__title {
  font-size: clamp(1.6rem, 3.6vw, 2.55rem);
  margin-bottom: 0.85rem;
}
.rs-hub--classic .rs-hero--compact .rs-hero__lede {
  display: none;
}

/* —— Prime-style stage: frameless news + match —— */
.rs-stage {
  width: 100%;
  padding: 0 0 2rem;
}
.rs-stage__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.rs-stage__kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.rs-stage__kicker > span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 220, 190, 0.9);
}
.rs-stage__kicker a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rs-gold);
  text-decoration: none;
}
.rs-stage__kicker a:hover { color: var(--rs-gold-bright); }

.rs-stage__news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.9fr);
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.rs-stage-feature {
  position: relative;
  display: block;
  min-height: 340px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #0a1018;
}
.rs-stage-feature__media {
  position: absolute;
  inset: 0;
}
.rs-stage-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}
.rs-stage-feature:hover .rs-stage-feature__media img {
  transform: scale(1.06);
}
.rs-stage-feature__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 14, 0.05) 20%, rgba(5, 8, 14, 0.55) 55%, rgba(5, 8, 14, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 8, 14, 0.35) 0%, transparent 45%);
  pointer-events: none;
}
.rs-stage-feature__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.4rem 1.45rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.rs-stage-feature__copy small {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 220, 190, 0.75);
}
.rs-stage-feature__copy strong {
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.rs-stage-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.rs-stage-list a {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-height: 64px;
}
.rs-stage-list a:hover strong { color: var(--rs-gold-bright); }
.rs-stage-list__thumb {
  display: block;
  width: 88px;
  height: 58px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}
.rs-stage-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rs-stage-list__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.rs-stage-list__copy small {
  font-size: 0.68rem;
  color: var(--rs-muted);
  letter-spacing: 0.04em;
}
.rs-stage-list__copy strong {
  font-size: 0.92rem;
  line-height: 1.3;
  color: #fff;
  font-weight: 600;
}

.rs-stage-empty,
.rs-stage-match__empty,
.rs-stage-block__empty {
  margin: 0;
  color: var(--rs-muted);
  font-size: 0.92rem;
  padding: 1.25rem 0;
}

/* Next match spotlight */
.rs-stage-match {
  margin: 0 0 1.5rem;
  padding: 1.15rem 0 0.25rem;
  border-top: 1px solid rgba(200, 170, 110, 0.22);
}
.rs-stage-match__head,
.rs-stage-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.rs-stage-match__head h2,
.rs-stage-block__head h2 {
  margin: 0;
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 220, 190, 0.92);
}
.rs-stage-match__head a,
.rs-stage-block__head a {
  color: var(--rs-gold);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rs-stage-match__card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.1rem 0 0.35rem;
}
.rs-stage-match__meta {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--rs-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rs-stage-match__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}
.rs-stage-match__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}
.rs-stage-match__side img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.rs-stage-match__side strong {
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.rs-stage-match__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.rs-stage-match__vs {
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--rs-gold);
}
.rs-countdown--inline {
  display: flex;
  gap: 0.45rem;
}
.rs-countdown--inline > div {
  min-width: 2.4rem;
  padding: 0.35rem 0.3rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 170, 110, 0.18);
}
.rs-countdown--inline strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.1;
}
.rs-countdown--inline span {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--rs-muted);
}

.rs-stage-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(120, 160, 200, 0.12);
}
.rs-stage-block__sub {
  margin: -0.35rem 0 0.75rem;
  color: var(--rs-muted);
  font-size: 0.78rem;
}
.rs-stage-block .rs-table-wrap {
  margin: 0;
}
.rs-stage-block .rs-btn {
  margin-top: 0.75rem;
}

@media (max-width: 960px) {
  .rs-stage__news-grid,
  .rs-stage-cols {
    grid-template-columns: 1fr;
  }
  .rs-stage-feature {
    min-height: 260px;
  }
}
@media (max-width: 560px) {
  .rs-stage-match__teams {
    gap: 0.5rem;
  }
  .rs-stage-match__side img {
    width: 56px;
    height: 56px;
  }
  .rs-stage-list a {
    grid-template-columns: 72px 1fr;
  }
  .rs-stage-list__thumb {
    width: 72px;
    height: 48px;
  }
}

.rs-panel--news-featured {
  grid-row: span 1;
}
.rs-news-feature {
  display: grid;
  grid-template-columns: minmax(140px, 42%) 1fr;
  gap: 0.85rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.85rem;
}
.rs-news-feature__media {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.35);
}
.rs-news-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rs-news-feature__copy strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}
.rs-news-feature__copy small {
  opacity: 0.65;
}
.rs-news--secondary {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rs-panel--rankings-hero .rs-table--standings td,
.rs-panel--rankings-hero .rs-table--standings th {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}
.rs-lower--pro {
  max-width: 1180px;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
}
.rs-lower__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.rs-lower__chip {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(197, 160, 89, 0.35);
  background: linear-gradient(180deg, #16304e 0%, #0c1c34 100%);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.rs-lower__chip:hover {
  border-color: rgba(200, 170, 110, 0.7);
  transform: translateY(-1px);
  color: inherit;
}
.rs-lower__chip strong {
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8d4a0;
}
.rs-lower__chip span {
  font-size: 0.82rem;
  opacity: 0.72;
  line-height: 1.35;
}
@media (max-width: 960px) {
  .rs-dash__pro {
    grid-template-columns: 1fr;
  }
  .rs-lower__actions {
    grid-template-columns: 1fr 1fr;
  }
  .rs-news-feature {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .rs-lower__actions {
    grid-template-columns: 1fr;
  }
}

.rs-classic-guide {
  position: sticky;
  top: 5.5rem;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.42);
  box-shadow:
    0 0 0 1px rgba(26, 58, 92, 0.65),
    inset 0 0 0 1px rgba(10, 150, 170, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, #16304e 0%, #0c1c34 55%, #091628 100%);
  padding: 0;
}
.rs-classic-guide::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(197, 160, 89, 0.16);
  pointer-events: none;
  z-index: 0;
}
.rs-classic-guide::after {
  display: none;
}
.rs-classic-guide__head,
.rs-classic-guide__steps {
  position: relative;
  z-index: 1;
}
.rs-classic-guide__head {
  margin: 0;
  padding: 1rem 1.05rem 0.95rem;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative;
}
.rs-classic-guide__head::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.55) 20%, rgba(200, 170, 110, 0.55) 80%, transparent);
}
.rs-classic-guide__head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oc-gold-bright, #f0e6d2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}
.rs-classic-guide__head p {
  margin: 0;
  color: rgba(228, 221, 208, 0.88);
  font-family: var(--oc-font-body, Spectral, serif);
  font-size: 0.86rem;
  line-height: 1.5;
}
.rs-classic-guide__steps {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.rs-classic-guide__steps li {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(197, 160, 89, 0.22);
  background:
    linear-gradient(180deg, rgba(18, 36, 58, 0.72) 0%, rgba(8, 18, 34, 0.88) 100%);
  box-shadow: inset 0 1px 0 rgba(180, 210, 240, 0.06);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.rs-classic-guide__steps li:hover {
  border-color: rgba(197, 160, 89, 0.4);
  background:
    linear-gradient(180deg, rgba(24, 46, 72, 0.85) 0%, rgba(10, 22, 40, 0.92) 100%);
}
.rs-classic-guide__steps strong {
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oc-gold, #c8aa6e);
}
.rs-classic-guide__steps span {
  color: rgba(210, 200, 180, 0.82);
  font-family: var(--oc-font-body, Spectral, serif);
  font-size: 0.8rem;
  line-height: 1.45;
}
.rs-classic-guide__steps a {
  color: var(--oc-cyan, #0ac8b9);
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 0.2rem;
  align-self: flex-start;
}
.rs-classic-guide__steps a:hover {
  color: #f0e6d2;
}

body:has(.rs-hub--classic) .rs-dash,
.rs-hub--classic .rs-dash {
  margin-top: 1rem !important;
  padding-top: 0 !important;
  position: relative;
  z-index: 1;
}
.rs-hub--classic .rs-panel--teamranked .rs-rank-emblem {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.rs-hub--classic .rs-cta--classic .rs-cta__bg {
  filter: saturate(0.88) sepia(0.15) brightness(0.92);
}

@media (max-width: 1199.98px) {
  .rs-dash__shell--classic {
    grid-template-columns: 1fr;
  }
  .rs-classic-guide {
    position: static;
  }
  .rs-dash__main .rs-dash__grid {
    grid-template-columns: 1fr;
  }
}

/* Classic homepage hierarchy: News → Next Match → Standings → Teamranked */
.rs-hub--classic .rs-stage {
  padding: 3rem 0 4rem;
  background:
    radial-gradient(70% 30% at 50% 0%, rgba(26, 72, 112, 0.16), transparent 72%),
    #050a12;
}
.rs-hub--classic .rs-stage__inner {
  max-width: 1280px;
  padding: 0 2rem;
}
.rs-hub--classic .rs-stage__titlebar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.25rem;
}
.rs-hub--classic .rs-stage__titlebar p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  color: var(--rs-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rs-hub--classic .rs-stage__titlebar h1 {
  margin: 0;
  color: #f3efe5;
  font-family: var(--oc-font-display, Cinzel, serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}
.rs-hub--classic .rs-stage__titlebar > a {
  color: var(--rs-gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}
.rs-hub--classic .rs-stage__news-grid {
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.rs-hub--classic .rs-stage__news-grid--empty {
  display: block;
}
.rs-hub--classic .rs-stage-feature {
  min-height: clamp(440px, 55vw, 650px);
}
.rs-hub--classic .rs-stage-feature__copy {
  padding: clamp(1.5rem, 4vw, 3rem);
}
.rs-hub--classic .rs-stage-feature__copy strong {
  max-width: 900px;
  font-size: clamp(1.7rem, 3.5vw, 3.25rem);
  line-height: 1.08;
}
.rs-hub--classic .rs-stage-list {
  justify-content: flex-end;
  gap: 0;
}
.rs-hub--classic .rs-stage-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(200, 170, 110, 0.15);
}
.rs-hub--classic .rs-stage-list li:first-child {
  padding-top: 0;
}
.rs-hub--classic .rs-stage-list__copy strong {
  font-size: 0.95rem;
}
.rs-hub--classic .rs-stage-match {
  margin: 0 0 4rem;
  padding: 0;
  border: 0;
}
.rs-hub--classic .rs-stage-match__head,
.rs-hub--classic .rs-stage-block__head {
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(200, 170, 110, 0.28);
}
.rs-hub--classic .rs-stage-match__head h2,
.rs-hub--classic .rs-stage-block__head h2 {
  color: #f3efe5;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  letter-spacing: 0.08em;
}
.rs-hub--classic .rs-stage-match__card {
  padding: 2rem 0 1rem;
  background: linear-gradient(90deg, transparent, rgba(17, 40, 66, 0.62), transparent);
}
.rs-hub--classic .rs-stage-match__teams {
  max-width: 900px;
  margin: 0 auto;
}
.rs-hub--classic .rs-stage-match__side {
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
}
.rs-hub--classic .rs-stage-match__side img {
  width: 96px;
  height: 96px;
}
.rs-hub--classic .rs-stage-match__side strong {
  font-size: clamp(1rem, 2vw, 1.4rem);
}
.rs-hub--classic .rs-stage-cols {
  display: block;
  padding: 0;
  border: 0;
}
.rs-hub--classic .rs-stage-block {
  margin-bottom: 4rem;
}
.rs-hub--classic .rs-stage-block + .rs-stage-block {
  margin-top: 0;
}
.rs-hub--classic .rs-stage-block .rs-table {
  width: 100%;
}
.rs-hub--classic .rs-stage-block .rs-table th,
.rs-hub--classic .rs-stage-block .rs-table td {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

@media (max-width: 900px) {
  .rs-hub--classic .rs-stage {
    padding-top: 2rem;
  }
  .rs-hub--classic .rs-stage__inner {
    padding: 0 1rem;
  }
  .rs-hub--classic .rs-stage__news-grid {
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }
  .rs-hub--classic .rs-stage-feature {
    min-height: 380px;
  }
  .rs-hub--classic .rs-stage-match__side {
    flex-direction: column;
  }
  .rs-hub--classic .rs-stage-match__side img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 560px) {
  .rs-hub--classic .rs-stage__titlebar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
  .rs-hub--classic .rs-stage-feature {
    min-height: 300px;
  }
  .rs-hub--classic .rs-stage-match__teams {
    grid-template-columns: 1fr;
  }
  .rs-hub--classic .rs-stage-match__mid {
    order: 2;
  }
}

/* ========== Match ticker + slim header + left league nav ========== */
.rs-top--slim .rs-top__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  max-width: 1760px;
  width: 100%;
  margin: 0 auto;
  padding: 0.55rem 1.1rem;
}
.rs-top--slim .rs-brand {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}
.rs-top--slim .rs-top__menu-btn {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: inline-flex !important;
  margin-right: 0.15rem;
}
.rs-top--slim .rs-top__ticker {
  position: relative;
  z-index: 1;
  flex: 1 1 auto !important;
  min-width: 12rem;
  width: auto;
  max-width: none !important;
  margin: 0 0.75rem 0 0.5rem;
  display: flex;
  align-items: center;
}
.rs-top--slim .rs-top__actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  min-width: 0;
  margin-left: 0;
}
/* Keep region/lang/tools packed on the right — no empty middle gap */
.rs-top--slim .rs-top__actions .rs-region {
  margin-left: 0;
}
.rs-top--slim .rs-top__actions .rs-top__tools,
.rs-top--slim .rs-top__actions > a.rs-btn--ghost {
  margin-left: 0;
}
.rs-top--slim .rs-top__actions > a.rs-btn--ghost + a.rs-btn {
  margin-left: 0;
}
.rs-top__social.header-social,
.rs-top .rs-top__social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0.15rem 0 0;
}
.rs-top__social .header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(200, 170, 110, 0.35);
  color: var(--rs-gold, #c8aa6e) !important;
  background: rgba(8, 14, 26, 0.55);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.rs-top__social .header-social-link:hover,
.rs-top__social .header-social-link:focus-visible {
  border-color: rgba(232, 201, 138, 0.85);
  color: #f0d9a0 !important;
  background: rgba(200, 170, 110, 0.18);
  box-shadow: 0 0 14px rgba(200, 170, 110, 0.35);
  transform: translateY(-1px) scale(1.06);
  outline: none;
}
.rs-top__social .header-social-link[data-social="discord"]:hover,
.rs-top__social .header-social-link[data-social="discord"]:focus-visible,
.rs-top__social .header-social-link[title="Discord"]:hover,
.rs-top__social .header-social-link[title="Discord"]:focus-visible,
.rs-top__social a[aria-label="Discord"]:hover,
.rs-top__social a[aria-label="Discord"]:focus-visible {
  color: #f0d9a0 !important;
  border-color: rgba(232, 201, 138, 0.85);
  background: rgba(200, 170, 110, 0.18);
  box-shadow: none;
  transform: scale(1.12);
}
.rs-top__social .header-social-link[data-social="discord"]:hover i,
.rs-top__social .header-social-link[title="Discord"]:hover i,
.rs-top__social a[aria-label="Discord"]:hover i,
.rs-top__social .header-social-link[data-social="discord"]:focus-visible i,
.rs-top__social .header-social-link[title="Discord"]:focus-visible i,
.rs-top__social a[aria-label="Discord"]:focus-visible i {
  filter: none;
}
.rs-top__social .header-social-link i,
.rs-top__social .header-social-link svg {
  font-size: 0.95rem;
  line-height: 1;
  width: 18px;
  height: 18px;
}
@media (max-width: 720px) {
  .rs-top__social .header-social-link {
    width: 28px;
    height: 28px;
  }
}
.rs-top__ticker {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rs-header-ticker {
  height: 100%;
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
}
.rs-ticker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 0.55rem 0 0;
  border: 1px solid rgba(197, 160, 89, 0.38);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 28, 46, 0.96), rgba(8, 14, 26, 0.98));
  box-shadow: inset 0 0 0 1px rgba(10, 150, 170, 0.08), 0 6px 18px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.rs-ticker__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.45rem;
  padding: 0.2rem 0.45rem 0.16rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  color: #0b0e13;
  background: linear-gradient(180deg, #e2c788, #c5a059);
  white-space: nowrap;
}
.rs-ticker__viewport {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rs-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  height: 100%;
  animation: rs-ticker-scroll 24s linear infinite;
}
.rs-ticker__viewport:hover .rs-ticker__track {
  animation-play-state: paused;
}
.rs-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(236, 224, 196, 0.92) !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0 1.1rem;
  position: relative;
}
.rs-ticker__item + .rs-ticker__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.1em;
  background: linear-gradient(180deg, transparent, rgba(200, 170, 110, 0.55), transparent);
  box-shadow: 0 0 6px rgba(200, 170, 110, 0.25);
}
.rs-ticker__item:hover {
  color: #e2c788 !important;
}
.rs-ticker__logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: rgba(8, 14, 26, 0.85);
  border: 1px solid rgba(197, 160, 89, 0.35);
}
.rs-ticker__crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: 0 0 auto;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  color: #0b0e13;
  background: linear-gradient(180deg, #e2c788, #c5a059);
  border: 1px solid rgba(197, 160, 89, 0.45);
  padding-top: 1px;
}
.rs-ticker__tag {
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  padding-top: 1px;
}
.rs-ticker__vs {
  opacity: 0.55;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  padding-top: 1px;
}
.rs-ticker__when {
  margin-left: 0.15rem;
  opacity: 0.72;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1;
  padding-top: 1px;
}
.rs-ticker__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8dcc0 !important;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 1px 0.85rem 0 0;
  width: 100%;
  height: 100%;
  text-align: center;
}
@keyframes rs-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Compact message / notification cluster (match hub chrome everywhere) */
.rs-top__tools {
  display: inline-flex !important;
  align-items: center;
  gap: 1.15rem !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rs-top__tools > li {
  margin: 0 !important;
  padding: 0 !important;
}
.rs-top__tools > li > a {
  width: 36px !important;
  height: 36px !important;
}

.rs-league-page .rs-league-nav-card {
  background: rgba(11, 14, 19, 0.72) !important;
  border: 1px solid rgba(197, 160, 89, 0.22) !important;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0 !important;
}
.rs-league-page .rs-league-nav-card > .card-body.with-nav {
  padding: 0.75rem 0.55rem 0.55rem !important;
}
.rs-league-page .rs-side-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  width: fit-content;
  max-width: calc(100% - 0.25rem);
  margin: 0.5rem auto 0;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(200, 170, 110, 0.38);
  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%);
  border-radius: 0;
}
.rs-league-page .rs-side-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(200, 170, 110, 0.9);
  font-size: 0.85rem;
  line-height: 1;
  text-decoration: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0;
  transition: color 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
  opacity: 0.88;
}
.rs-league-page .rs-side-social a i {
  filter: none;
  transform: none;
}
.rs-league-page .rs-side-social a:hover,
.rs-league-page .rs-side-social a:focus-visible {
  color: #f0d9a0;
  opacity: 1;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none;
  transform: scale(1.12);
  outline: none;
}
.rs-league-page .rs-side-social a[aria-label="Discord"],
.rs-league-page .rs-side-social a[title="Discord"] {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.85rem;
}
.rs-league-page .rs-side-social a[aria-label="Discord"]:hover,
.rs-league-page .rs-side-social a[title="Discord"]:hover,
.rs-league-page .rs-side-social a[aria-label="Discord"]:focus-visible,
.rs-league-page .rs-side-social a[title="Discord"]:focus-visible {
  color: #f0d9a0;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: none;
  transform: scale(1.12);
}
.rs-league-page .rs-side-social a[aria-label="Discord"]:hover i,
.rs-league-page .rs-side-social a[title="Discord"]:hover i,
.rs-league-page .rs-side-social a[aria-label="Discord"]:focus-visible i,
.rs-league-page .rs-side-social a[title="Discord"]:focus-visible i {
  transform: none;
  filter: none;
}
.rs-league-page .rs-side-social a[aria-label="Discord"]:active,
.rs-league-page .rs-side-social a[title="Discord"]:active {
  transform: scale(1.06);
  filter: none;
}

.rs-league-page .rs-league-nav {
  margin: 0 0 0.45rem;
  padding: 0.35rem 0 0;
}
.rs-league-page .rs-league-nav > li:first-child > a {
  padding-top: 0.55rem;
}
.rs-league-page .rs-league-nav > li > a,
.rs-league-page .rs-league-nav ul > li > a {
  color: rgba(236, 224, 196, 0.88) !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rs-league-page .rs-league-nav ul > li > a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72) !important;
  padding-left: 1.85rem !important;
  border-left: 2px solid transparent;
}
.rs-league-page .rs-league-nav > li.active > a,
.rs-league-page .rs-league-nav ul > li.active > a {
  background: rgba(197, 160, 89, 0.12) !important;
  color: #fff !important;
  border-radius: 10px;
}
.rs-league-page .rs-league-nav ul > li.active > a {
  border-left-color: #c5a059;
  border-radius: 0 10px 10px 0;
}
.rs-league-page .rs-hub,
.rs-league-page .rs-hub--classic {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.16);
}
/* Push footer to bottom of the viewport when page content is short */
.rs-league-page {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0;
  width: 100%;
}
.rs-league-page > .row {
  flex: 1 1 auto;
}

/* Page body grows, footer wrapper is the last full-width band */
body:has(.rs-top) .main-wrapper > .container,
body:has(.rs-top) .main-wrapper > .container-fluid,
body:has(.rs-top) .main-wrapper > .profile-page,
body:has(.rs-top) .main-wrapper > .rs-league-page {
  flex: 1 1 auto;
}
.rs-profile-foot-wrap {
  width: 100%;
  max-width: none;
  flex: 0 0 auto !important;
  margin-top: auto !important;
  padding: 0;
  position: relative;
  z-index: 0;
}
/* Full-bleed rule, content centred to the hub width */
.rs-profile-foot-wrap > .rs-foot {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  position: relative;
  z-index: 0;
}
body:has(.rs-top) .main-wrapper > .rs-foot,
body:has(.rs-hub) .rs-hub > .rs-foot,
.rs-league-page > .rs-foot,
.rs-profile-foot-wrap > .rs-foot {
  margin-top: auto !important;
  flex: 0 0 auto !important;
  width: 100%;
  position: relative;
  z-index: 0;
}

/* Sticky sidebars + header menus must paint above the site footer */
body .js_sticky-sidebar {
  z-index: 20 !important;
}
body .rs-top,
body .main-header,
body header.main-header {
  z-index: 1100 !important;
}
body .rs-top .dropdown-menu,
body .main-header .dropdown-menu,
body .user-menu + .dropdown-menu,
body .dropdown-menu.dropdown-widget,
body .dropdown-menu.show,
body .footer-bottom-bar .dropdown-menu {
  z-index: 1300 !important;
}

/*
 * Mobile/tablet: league menu slides in BELOW the sticky header.
 * (Previously top:0 + z-index 1400 covered the burger and clipped the menu.)
 */
@media (max-width: 991.98px) {
  :root {
    --rs-top-h: 66px;
  }

  .rs-league-page.sg-offcanvas {
    position: relative;
    overflow: hidden;
  }

  /* Main content full-width; sidebar is overlay-only below desktop */
  .rs-league-page > .row {
    display: block;
  }
  .rs-league-page > .row > .sg-offcanvas-mainbar {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    left: 0 !important;
    position: relative !important;
  }

  .rs-league-page.sg-offcanvas .sg-offcanvas-sidebar {
    position: fixed !important;
    top: var(--rs-top-h, 54px) !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: min(100vw, 320px) !important;
    max-width: 100% !important;
    z-index: 1090 !important;
    margin: 0 !important;
    padding: 0.85rem 0.75rem calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, rgba(6, 16, 31, 0.98), #02060e) !important;
    border-right: 1px solid rgba(200, 170, 110, 0.35);
    box-shadow: 8px 0 28px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-14px);
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  .rs-league-page.sg-offcanvas.active .sg-offcanvas-sidebar {
    left: 0 !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
    transform: translateX(0);
    z-index: 1260 !important;
  }

  /* Keep header + burger above the drawer so the menu can close */
  body:has(.rs-league-page.sg-offcanvas.active) .rs-top {
    z-index: 1280 !important;
  }

  body:has(.rs-league-page.sg-offcanvas.active) {
    overflow: hidden !important;
    /* avoid layout jump / "squeeze" when scrollbar disappears */
    padding-right: var(--rs-scrollbar-w, 0px);
  }

  /* Don't shove main content off-screen — overlay drawer instead (overrides style.css left:100%) */
  body .rs-league-page.sg-offcanvas .sg-offcanvas-mainbar,
  body .rs-league-page.sg-offcanvas.active .sg-offcanvas-mainbar {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body:has(.rs-league-page.sg-offcanvas.active) .rs-foot,
  body:has(.rs-league-page.sg-offcanvas.active) .rs-profile-foot-wrap,
  body:has(.rs-league-page.sg-offcanvas.active) .footer-bottom-bar {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .rs-league-page .rs-league-nav-card {
    margin: 0;
  }
}

/* Phone: full-width drawer under header */
@media (max-width: 575.98px) {
  :root {
    --rs-top-h: 64px;
  }
  .rs-league-page.sg-offcanvas .sg-offcanvas-sidebar,
  .rs-league-page.sg-offcanvas.active .sg-offcanvas-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    border-right: 0;
  }
}

/* Other pages (settings etc.): drawer below header, above footer bar */
@media (max-width: 767.98px) {
  .sg-offcanvas:not(.rs-league-page).active .sg-offcanvas-sidebar {
    position: fixed !important;
    top: var(--rs-top-h, 0px);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 1090 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, rgba(6, 16, 31, 0.98), #02060e);
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  body:has(.rs-top) .sg-offcanvas:not(.rs-league-page).active .sg-offcanvas-sidebar {
    top: var(--rs-top-h, 54px);
  }
  body:has(.sg-offcanvas:not(.rs-league-page).active) .rs-top {
    z-index: 1200 !important;
  }
  body:has(.sg-offcanvas:not(.rs-league-page).active) .rs-foot,
  body:has(.sg-offcanvas:not(.rs-league-page).active) .rs-profile-foot-wrap,
  body:has(.sg-offcanvas:not(.rs-league-page).active) .footer-bottom-bar {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* League shell: full-width content; menu is always an overlay (desktop + mobile) */
@media (min-width: 992px) {
  .rs-league-page {
    max-width: 1760px;
    margin-left: auto;
    margin-right: auto;
  }
  .rs-league-page > .row {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  .rs-league-page > .row > .sg-offcanvas-mainbar {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative !important;
  }
  /* Desktop: sidebar overlays content — never pushes layout */
  .rs-league-page.sg-offcanvas .sg-offcanvas-sidebar {
    position: fixed !important;
    top: var(--rs-top-h, 54px) !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    width: min(280px, 86vw) !important;
    max-width: 280px !important;
    z-index: 1090 !important;
    margin: 0 !important;
    padding: 0.95rem 0.85rem 1.1rem !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, rgba(6, 16, 31, 0.985), #02060e) !important;
    border-right: 1px solid rgba(200, 170, 110, 0.35);
    box-shadow: 10px 0 36px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-12px);
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
  .rs-league-page.sg-offcanvas.active .sg-offcanvas-sidebar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto !important;
    transform: translateX(0);
    z-index: 1260 !important;
  }
  body:has(.rs-league-page.sg-offcanvas.active) .rs-top {
    z-index: 1280 !important;
  }
  body:has(.rs-league-page.sg-offcanvas.active) {
    overflow: hidden !important;
    padding-right: var(--rs-scrollbar-w, 0px);
  }
  body .rs-league-page.sg-offcanvas .sg-offcanvas-mainbar,
  body .rs-league-page.sg-offcanvas.active .sg-offcanvas-mainbar {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* Body-level nav backdrop (must sit below drawer, above page) */
.rs-nav-backdrop {
  position: fixed;
  top: var(--rs-top-h, 54px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1240;
  background: rgba(2, 6, 14, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.rs-nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
@keyframes rsNavBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* Hub sections are flex children with auto margins — force them to fill the column */
.rs-league-page .rs-hub > *,
.rs-league-page .rs-dash,
.rs-league-page .rs-lower {
  align-self: stretch;
  width: 100%;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.rs-league-page .rs-dash__pro,
.rs-league-page .rs-lower--pro {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}
.rs-league-page .rs-dash__pro {
  gap: 1.4rem;
  padding-bottom: 1.75rem;
}
.rs-league-page .rs-panel {
  padding: 1.35rem 1.45rem 1.5rem;
}
.rs-league-page .rs-lower__actions {
  gap: 1rem;
}
/* The sidebar eats ~240px, so stack the dashboard before the viewport gets narrow */
@media (max-width: 1199.98px) {
  .rs-league-page .rs-dash__pro {
    grid-template-columns: 1fr;
  }
  .rs-league-page .rs-lower__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Classic hub sits directly on the clean site gradient — no extra tint */
.rs-hub--classic {
  background: transparent !important;
}
.rs-hub--classic .rs-hero {
  min-height: clamp(360px, 48vh, 520px);
  padding-top: 3.5rem;
  padding-bottom: 3.25rem;
}
.rs-hub--classic .rs-hero__bg {
  background:
    url("../img/hero-bg.jpg") center 28% / cover no-repeat;
  filter: saturate(1.08) contrast(1.08) brightness(0.92);
}
.rs-hub--classic .rs-hero__veil {
  background:
    radial-gradient(55% 50% at 50% 40%, rgba(10, 150, 170, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(4, 10, 22, 0.35) 0%, rgba(4, 10, 22, 0.2) 38%, rgba(4, 10, 22, 0.78) 78%, rgba(4, 10, 22, 0.98) 100%),
    linear-gradient(90deg, rgba(4, 10, 22, 0.55) 0%, transparent 28%, transparent 72%, rgba(4, 10, 22, 0.5) 100%);
}
.rs-hub--classic .rs-dash--pro {
  position: relative;
  z-index: 2;
}
.rs-hub--classic .rs-panel {
  background:
    linear-gradient(180deg, rgba(14, 28, 52, 0.88) 0%, rgba(8, 16, 32, 0.94) 100%) !important;
  border-color: rgba(200, 170, 110, 0.28) !important;
  box-shadow:
    0 0 0 1px rgba(26, 58, 92, 0.55),
    0 0 28px rgba(10, 150, 170, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1199.98px) {
  .rs-top--slim .rs-top__ticker {
    flex-basis: 420px;
    max-width: 420px;
    margin: 0 0.45rem 0 0.85rem;
  }
}

@media (max-width: 991.98px) {
  .rs-top--slim .rs-top__inner {
    display: flex;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
  }
  .rs-top--slim .rs-top__ticker {
    display: none !important;
  }
  .rs-top--slim .rs-top__menu-btn {
    display: flex;
    order: 0;
    width: 30px;
    height: 28px;
    padding: 5px 6px;
    margin-right: 0.2rem;
  }
  .rs-top--slim .rs-top__menu-btn span {
    height: 1.5px;
  }
  .rs-top--slim .rs-brand {
    order: 1;
  }
  .rs-top--slim .rs-top__actions {
    order: 2;
    margin-left: auto;
    gap: 0.3rem;
  }
  .rs-top__actions .rs-lang__btn .rs-lang__name,
  .rs-top__actions .rs-region__btn .rs-region__code {
    display: none;
  }
  .rs-dash__pro {
    grid-template-columns: 1fr;
  }
  .rs-lower__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rs-league-page {
    margin-top: 0.75rem !important;
  }
  .rs-hub--classic .rs-hero {
    min-height: 300px;
    padding: 2.5rem 0 2rem;
  }
  .rs-hub--classic .rs-hero__title {
    font-size: clamp(1.45rem, 6vw, 2.1rem);
  }
  .rs-hub--classic .rs-hero__lede {
    font-size: 0.92rem;
  }
  .rs-news-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .rs-ticker { height: 36px; }
  .rs-top__ticker { display: none !important; }
  .rs-top--slim .rs-top__actions .rs-btn {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.62rem !important;
  }
  .rs-top__tools > li > a {
    width: 34px !important;
    height: 34px !important;
  }
  .rs-lower__actions {
    grid-template-columns: 1fr;
  }
  .rs-league-page .rs-hub,
  .rs-league-page .rs-hub--classic {
    border-radius: 10px;
  }
  .rs-dash__pro,
  .rs-lower--pro {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

@media (max-width: 575.98px) {
  .rs-top--slim .rs-top__inner {
    padding: 0.45rem 0.65rem;
  }
  .rs-brand__logo {
    height: 32px;
    max-width: 112px;
  }
  .rs-hub--classic .rs-hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .rs-hub--classic .rs-hero__actions .rs-btn {
    width: 100%;
    justify-content: center;
  }
  /* Guest auth: keep register, collapse sign-in label */
  .rs-top--slim .rs-top__actions .rs-btn--ghost {
    padding: 0.3rem 0.45rem !important;
  }
  .rs-top--slim .rs-top__actions .rs-btn--solid {
    padding: 0.3rem 0.55rem !important;
  }
}
