:root {
  --rt-light-page: #f6f8fc;
  --rt-light-page-alt: #eef4ff;
  --rt-light-surface: #ffffff;
  --rt-light-surface-soft: rgba(255, 255, 255, 0.82);
  --rt-light-surface-muted: rgba(248, 250, 252, 0.94);
  --rt-light-border: rgba(148, 163, 184, 0.24);
  --rt-light-border-strong: rgba(148, 163, 184, 0.38);
  --rt-light-text: #0f172a;
  --rt-light-text-muted: #475569;
  --rt-light-text-soft: #64748b;
  --rt-light-shadow: 0 18px 42px rgba(148, 163, 184, 0.16);
  --rt-light-card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.94));
  --rt-light-panel-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 255, 0.9));
}

html {
  color-scheme: dark;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg-main: #f6f8fc;
  --bg-panel: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #5f6b7d;
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.24);
  --surface-1: rgba(255, 255, 255, 0.82);
  --surface-2: rgba(248, 250, 252, 0.94);
  --border-subtle: rgba(148, 163, 184, 0.24);
  --text-dim: #475569;
  --panel-shadow: 0 18px 42px rgba(148, 163, 184, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  --teams-bg: #f6f8fc;
  --teams-text: #0f172a;
  --teams-muted: rgba(15, 23, 42, 0.72);
  --teams-border: rgba(147, 51, 234, 0.16);
  --teams-card: rgba(255, 255, 255, 0.78);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.nav-actions .nav-right {
  justify-self: auto;
  transform: none;
  align-items: center;
}

.nav-actions .nav-toggle {
  justify-self: auto;
  flex-shrink: 0;
}

.nav-theme-slot {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
  justify-content: flex-end;
  transition: opacity 180ms ease, transform 180ms ease, width 180ms ease, max-width 180ms ease;
}

.nav-theme-slot--utility {
  min-width: auto;
}

.nav-theme-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-theme-shell--compact {
  min-height: 42px;
}

.nav-theme-shell--utility {
  min-height: 36px;
}

.nav-theme-trigger {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 12, 19, 0.68);
  color: rgba(229, 231, 235, 0.9);
  border-radius: 14px;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-theme-shell--compact .nav-theme-trigger {
  width: 42px;
  padding: 0;
}

.nav-theme-shell--utility .nav-theme-trigger {
  min-height: 36px;
  padding: 0 12px 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.nav-theme-current-icon,
.nav-theme-trigger-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-theme-current-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.nav-theme-trigger-caret svg {
  width: 12px;
  height: 12px;
  display: block;
}

.nav-theme-trigger-label {
  white-space: nowrap;
}

.nav-theme-shell.is-open .nav-theme-trigger,
.nav-theme-trigger:hover,
.nav-theme-trigger:focus-visible {
  background: rgba(18, 23, 34, 0.86);
  border-color: rgba(151, 65, 235, 0.34);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.nav-theme-shell--utility.is-open .nav-theme-trigger,
.nav-theme-shell--utility .nav-theme-trigger:hover,
.nav-theme-shell--utility .nav-theme-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: none;
}

.nav-theme-popover {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 30;
}

.nav-theme-shell--utility .nav-theme-popover {
  top: calc(100% + 2px);
}

.nav-theme-shell:focus-within .nav-theme-popover,
.nav-theme-shell.is-open .nav-theme-popover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-theme-option-list {
  min-width: 176px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 12, 19, 0.94);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.nav-theme-option {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(229, 231, 235, 0.76);
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 40px;
  width: 100%;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-theme-option-mark {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.nav-theme-option:hover,
.nav-theme-option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}

.nav-theme-option.is-active {
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.88), rgba(99, 102, 241, 0.88));
  color: #ffffff;
  border-color: rgba(151, 65, 235, 0.18);
  box-shadow: 0 10px 24px rgba(151, 65, 235, 0.28);
}

.nav-theme-option.is-active .nav-theme-option-mark {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

@media (min-width: 901px) {
  .nav-actions {
    gap: 12px;
  }

  .nav-theme-slot:not(.nav-theme-slot--utility) {
    margin-right: -10px;
  }

  .nav-theme-shell--compact .nav-theme-trigger {
    width: 32px;
    min-height: 32px;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    border-radius: 999px;
  }

  .nav-theme-shell--compact .nav-theme-trigger:hover,
  .nav-theme-shell--compact .nav-theme-trigger:focus-visible,
  .nav-theme-shell--compact.is-open .nav-theme-trigger {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
  }

  .nav-theme-shell--compact .nav-theme-current-icon svg {
    width: 20px;
    height: 20px;
  }

  .nav.scrolled .nav-theme-slot:not(.nav-theme-slot--utility) {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    width: 0;
    max-width: 0;
    overflow: hidden;
  }

  .nav:not(.scrolled) .nav-theme-slot--utility {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav:not(.scrolled) .nav-theme-slot:not(.nav-theme-slot--utility),
  .nav.scrolled .nav-theme-slot--utility {
    visibility: visible;
  }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .nav-center {
    transform: none;
  }

  .nav-pill {
    gap: 14px;
    padding: 8px 16px;
  }

  .nav-right {
    gap: 18px;
  }

  .nav-utility-inner {
    padding: 0 32px;
  }

  .nav-pill a,
  .nav-right a {
    font-size: 13px;
  }

  .nav-theme-shell--utility .nav-theme-trigger {
    padding-inline: 10px;
  }
}

@media (max-width: 900px) {
  .nav-actions {
    gap: 10px;
  }

  .nav-theme-slot:not(.nav-theme-slot--utility) {
    display: none !important;
  }

  .nav-theme-slot--utility {
    display: flex !important;
    margin-left: auto;
  }

  .nav-theme-trigger {
    min-height: 38px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  }

  .nav-theme-shell--utility .nav-theme-trigger {
    min-height: 34px;
    padding: 0 10px 0 9px;
    border-radius: 10px;
  }

  .nav-theme-popover {
    top: calc(100% + 8px);
    right: 0;
  }

  .nav-theme-option-list {
    min-width: 160px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  }

  .nav-theme-option {
    min-height: 38px;
    padding: 9px 11px;
    font-size: 12px;
  }

  .nav-actions .nav-right {
    left: 0;
    right: 0;
  }
}

html[data-theme="light"] body {
  background:
    radial-gradient(1100px 560px at 12% -4%, rgba(151, 65, 235, 0.12), transparent 58%),
    radial-gradient(860px 460px at 88% 6%, rgba(59, 130, 246, 0.1), transparent 54%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 34%, #eef4ff 100%);
  color: var(--rt-light-text);
}

html[data-theme="light"] .bg-base,
html[data-theme="light"] .page-surface,
html[data-theme="light"] .teams-list-page,
html[data-theme="light"] .player-profile-page,
html[data-theme="light"] .team-profile-page,
html[data-theme="light"] .tournament-page,
html[data-theme="light"] .page-tournaments,
html[data-theme="light"] .about-page,
html[data-theme="light"] .coming-soon-page,
html[data-theme="light"] .cookie-policy-page,
html[data-theme="light"] .privacy-page,
html[data-theme="light"] .terms-page,
html[data-theme="light"] .disclaimer-page,
html[data-theme="light"] .bookmarks-page,
html[data-theme="light"] .article-page {
  background:
    radial-gradient(1100px 560px at 12% -4%, rgba(151, 65, 235, 0.12), transparent 58%),
    radial-gradient(860px 460px at 88% 6%, rgba(59, 130, 246, 0.1), transparent 54%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 34%, #eef4ff 100%) !important;
  color: var(--rt-light-text);
}

html[data-theme="light"] .nav {
  --mobile-nav-open-bg: rgba(255, 255, 255, 0.97);
  --scrolled-nav-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.96));
}

html[data-theme="light"] .nav:not(.scrolled) {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme="light"] .nav.scrolled,
html[data-theme="light"] .nav.menu-open {
  border-bottom: 1px solid var(--rt-light-border-strong) !important;
  box-shadow: 0 14px 36px rgba(148, 163, 184, 0.14);
}

html[data-theme="light"] .nav-utility::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.95));
  border-top: 1px solid var(--rt-light-border-strong);
  border-bottom: 1px solid var(--rt-light-border);
  box-shadow: 0 18px 36px rgba(148, 163, 184, 0.16);
}

html[data-theme="light"] .nav-brand,
html[data-theme="light"] .nav-name,
html[data-theme="light"] .nav-pill a,
html[data-theme="light"] .nav-right a {
  color: var(--rt-light-text);
}

html[data-theme="light"] .nav-pill {
  border-color: var(--rt-light-border-strong);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(148, 163, 184, 0.16);
}

html[data-theme="light"] .nav-right a:hover,
html[data-theme="light"] .nav-right a:focus,
html[data-theme="light"] .nav-pill a:hover,
html[data-theme="light"] .nav-pill a:focus {
  color: #7c3aed;
}

html[data-theme="light"] .nav-toggle span {
  background: var(--rt-light-text);
}

html[data-theme="light"] .nav-theme-trigger {
  border-color: var(--rt-light-border-strong);
  background: rgba(255, 255, 255, 0.9);
  color: var(--rt-light-text);
  box-shadow: 0 14px 34px rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .nav-theme-shell--compact .nav-theme-trigger,
html[data-theme="light"] .nav-theme-shell--utility .nav-theme-trigger {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--rt-light-border-strong);
  box-shadow: 0 14px 34px rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .nav-theme-shell.is-open .nav-theme-trigger,
html[data-theme="light"] .nav-theme-trigger:hover,
html[data-theme="light"] .nav-theme-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(151, 65, 235, 0.28);
  color: var(--rt-light-text);
}

html[data-theme="light"] .nav-theme-shell--compact.is-open .nav-theme-trigger,
html[data-theme="light"] .nav-theme-shell--compact .nav-theme-trigger:hover,
html[data-theme="light"] .nav-theme-shell--compact .nav-theme-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(151, 65, 235, 0.28);
  color: #6d28d9;
}

html[data-theme="light"] .nav-theme-shell--utility.is-open .nav-theme-trigger,
html[data-theme="light"] .nav-theme-shell--utility .nav-theme-trigger:hover,
html[data-theme="light"] .nav-theme-shell--utility .nav-theme-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--rt-light-border);
}

html[data-theme="light"] .nav-theme-option-list {
  border-color: var(--rt-light-border-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.2);
}

html[data-theme="light"] .nav-right {
  box-shadow: 0 18px 36px rgba(148, 163, 184, 0.16);
}

@media (max-width: 900px) {
  html[data-theme="light"] .nav:not(.scrolled) {
    background: var(--mobile-nav-open-bg) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
    backdrop-filter: blur(16px) !important;
  }

  html[data-theme="light"] .nav-right {
    background: var(--mobile-nav-open-bg);
    box-shadow: 0 18px 36px rgba(148, 163, 184, 0.16);
  }

  html[data-theme="light"] .nav-right a {
    color: var(--rt-light-text);
    background: var(--mobile-nav-open-bg);
  }

  html[data-theme="light"] .nav-utility::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.95));
    border-top-color: var(--rt-light-border-strong) !important;
    border-bottom-color: var(--rt-light-border) !important;
    box-shadow: 0 18px 36px rgba(148, 163, 184, 0.16) !important;
  }
}

html[data-theme="light"] .nav-theme-option {
  color: var(--rt-light-text-soft);
}

html[data-theme="light"] .nav-theme-option-mark {
  background: rgba(148, 163, 184, 0.24);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.24);
}

html[data-theme="light"] .nav-theme-option:hover,
html[data-theme="light"] .nav-theme-option:focus-visible {
  background: rgba(148, 163, 184, 0.12);
  color: var(--rt-light-text);
  border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .nav-theme-option.is-active {
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.14), rgba(59, 130, 246, 0.1));
  color: #5b21b6;
  box-shadow: none;
}

html[data-theme="light"] .nav-theme-option.is-active .nav-theme-option-mark {
  background: #6d28d9;
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.14);
}

html[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 246, 255, 0.98)) !important;
  border-top: 1px solid var(--rt-light-border-strong);
}

html[data-theme="light"] .footer-links a,
html[data-theme="light"] .site-footer a,
html[data-theme="light"] .footer-brand p,
html[data-theme="light"] .footer-bottom,
html[data-theme="light"] .footer-brand .footer-logo span {
  color: var(--rt-light-text);
}

html[data-theme="light"] .footer-social-icons a {
  background: rgba(148, 163, 184, 0.12);
  color: var(--rt-light-text);
}

html[data-theme="light"] .footer-social-icons a:hover,
html[data-theme="light"] .footer-links a:hover,
html[data-theme="light"] .site-footer a:hover,
html[data-theme="light"] .site-footer a:focus {
  color: #7c3aed;
}

html[data-theme="light"] .footer-bottom {
  border-top-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .scroll-toggle-btn {
  border-color: var(--rt-light-border-strong);
  background: rgba(255, 255, 255, 0.94);
  color: var(--rt-light-text);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .scroll-toggle-btn:hover,
html[data-theme="light"] .scroll-toggle-btn:focus-visible {
  background: #ffffff;
  border-color: rgba(151, 65, 235, 0.35);
}

html[data-theme="light"] .scroll-toggle-btn::after {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--rt-light-border);
  color: var(--rt-light-text);
}

html[data-theme="light"] .landing-main,
html[data-theme="light"] .hero-new,
html[data-theme="light"] .about-hero,
html[data-theme="light"] .teams-hero,
html[data-theme="light"] .roster-hero,
html[data-theme="light"] .news-hero,
html[data-theme="light"] .tournaments-header,
html[data-theme="light"] .player-hero,
html[data-theme="light"] .team-hero,
html[data-theme="light"] .td-hero,
html[data-theme="light"] .analytics-hero {
  background:
    radial-gradient(900px 420px at 14% 0%, rgba(151, 65, 235, 0.1), transparent 58%),
    radial-gradient(720px 360px at 86% 10%, rgba(59, 130, 246, 0.09), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.92) 100%) !important;
}

html[data-theme="light"] .player-hero::before {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.62) 44%, rgba(255, 255, 255, 0.18) 100%) !important;
}

html[data-theme="light"] .team-hero-bg {
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.08) 0%, rgba(255, 255, 255, 0.92) 100%) !important;
}

html[data-theme="light"] .ad-wrap {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
}

html[data-theme="light"] .team-hero-overlay {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.48) 12%, rgba(255, 255, 255, 0.08) 100%) !important;
}

html[data-theme="light"] .td-hero-bg {
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.08) 0%, rgba(255, 255, 255, 0.92) 100%) !important;
}

html[data-theme="light"] .about-hero-glow-1,
html[data-theme="light"] .about-hero-glow-2,
html[data-theme="light"] .article-page::before {
  opacity: 0.8;
}

html[data-theme="light"] .title-line,
html[data-theme="light"] .hero-title,
html[data-theme="light"] .page-title,
html[data-theme="light"] .players-hero-title,
html[data-theme="light"] .teams-hero-title,
html[data-theme="light"] .roster-hero-title,
html[data-theme="light"] .about-hero h1,
html[data-theme="light"] .article-title,
html[data-theme="light"] .author-name,
html[data-theme="light"] .legal-header h1,
html[data-theme="light"] .legal-section h2,
html[data-theme="light"] .section-title,
html[data-theme="light"] .showcase-header h2,
html[data-theme="light"] .motivation-title,
html[data-theme="light"] .td-hero-title,
html[data-theme="light"] .td-section-title,
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .empty-state h2,
html[data-theme="light"] .bookmarks-header h1,
html[data-theme="light"] .article-content h2,
html[data-theme="light"] .article-content h3 {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .typing-text,
html[data-theme="light"] .typing-subtext,
html[data-theme="light"] .preview-label,
html[data-theme="light"] .preview-mini-desc,
html[data-theme="light"] .page-subtitle,
html[data-theme="light"] .players-hero-subtitle,
html[data-theme="light"] .teams-hero-subtitle,
html[data-theme="light"] .roster-hero-subtitle,
html[data-theme="light"] .hero-sub,
html[data-theme="light"] .legal-updated,
html[data-theme="light"] .legal-intro,
html[data-theme="light"] .legal-section p,
html[data-theme="light"] .legal-section ul li,
html[data-theme="light"] .meta-text,
html[data-theme="light"] .author-stats,
html[data-theme="light"] .article-content,
html[data-theme="light"] .card-time,
html[data-theme="light"] .card-info,
html[data-theme="light"] .card-category,
html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .motivation-text,
html[data-theme="light"] .inline-stat-label,
html[data-theme="light"] .loading,
html[data-theme="light"] .no-tournaments p,
html[data-theme="light"] .filter-group label,
html[data-theme="light"] .tournament-count,
html[data-theme="light"] .td-hero-subtitle,
html[data-theme="light"] .td-hero-meta-label,
html[data-theme="light"] .td-hero-meta-value {
  color: var(--rt-light-text-muted) !important;
}

html[data-theme="light"] .typing-text {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  opacity: 1 !important;
}

html[data-theme="light"] .platform-preview .preview-typing-left .typing-text,
html[data-theme="light"] .platform-preview .preview-typing-left .typing-text span,
html[data-theme="light"] .platform-preview .preview-typing-left .typing-text * {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  opacity: 1 !important;
}

html[data-theme="light"] .preview-carousel-box,
html[data-theme="light"] .active-card,
html[data-theme="light"] .news-card,
html[data-theme="light"] .bookmark-card,
html[data-theme="light"] .legal-container,
html[data-theme="light"] .tournament-card,
html[data-theme="light"] .team-panel,
html[data-theme="light"] .ana-section,
html[data-theme="light"] .section-guide,
html[data-theme="light"] .match-table-card,
html[data-theme="light"] .stage-progression-table,
html[data-theme="light"] .day-stat-card-compact,
html[data-theme="light"] .cs-card,
html[data-theme="light"] .policy-page,
html[data-theme="light"] .news-item,
html[data-theme="light"] .filter-select,
html[data-theme="light"] .input {
  background: var(--rt-light-card-gradient) !important;
  border-color: var(--rt-light-border) !important;
  box-shadow: var(--rt-light-shadow);
}

html[data-theme="light"] .cta-inner,
html[data-theme="light"] .tournament-count,
html[data-theme="light"] .tab-pill-btn,
html[data-theme="light"] .zone-pill,
html[data-theme="light"] .back-btn,
html[data-theme="light"] .heading-back-btn,
html[data-theme="light"] .action-back-btn,
html[data-theme="light"] .action-btn {
  --bg: rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .cta-inner {
  background: rgba(255, 255, 255, 0.92) !important;
}

html[data-theme="light"] .cta-text {
  color: var(--rt-light-text);
}

html[data-theme="light"] .tab-pill-btn {
  color: var(--rt-light-text-muted);
}

html[data-theme="light"] .tab-pill-btn.active,
html[data-theme="light"] .zone-pill.active,
html[data-theme="light"] .action-btn.active {
  color: #5b21b6 !important;
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.14), rgba(236, 72, 153, 0.12)) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .dot {
  background: rgba(148, 163, 184, 0.34);
}

html[data-theme="light"] .hero-image-block::before,
html[data-theme="light"] .card-image::after {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.22) 100%) !important;
}

html[data-theme="light"] .card-badges,
html[data-theme="light"] .badge-breaking,
html[data-theme="light"] .badge-featured,
html[data-theme="light"] .game-tag,
html[data-theme="light"] .card-game {
  color: #ffffff;
}

html[data-theme="light"] .input,
html[data-theme="light"] .filter-select,
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .input::placeholder,
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: var(--rt-light-text-soft) !important;
}

html[data-theme="light"] select option {
  background: #ffffff;
  color: var(--rt-light-text);
}

html[data-theme="light"] [style*="color:rgba(255,255,255"],
html[data-theme="light"] [style*="color: rgba(255, 255, 255"],
html[data-theme="light"] [style*="color:#888"] {
  color: rgba(71, 85, 105, 0.88) !important;
}

html[data-theme="light"] [style*="color:#fff"],
html[data-theme="light"] [style*="color: #fff"],
html[data-theme="light"] [style*="color:#ffffff"],
html[data-theme="light"] [style*="color: #ffffff"],
html[data-theme="light"] [style*="color:rgba(248,250,252,0.95)"],
html[data-theme="light"] [style*="color: rgba(255, 255, 255, 0.9)"] {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] [style*="background: rgba(255,255,255,0."],
html[data-theme="light"] [style*="background: rgba(255, 255, 255, 0."] {
  background: rgba(255, 255, 255, 0.9) !important;
}

html[data-theme="light"] :is(
  .landing-main,
  .about-page,
  .news-hero,
  .news-content,
  .activity-feed-container,
  .enhanced-sections,
  .enhanced-sections-header,
  .news-map,
  .community-section,
  .article-page,
  .bookmarks-page,
  .roster-hero,
  .roster-page,
  .players-list-page,
  .teams-list-page,
  .player-profile-page,
  .team-profile-page,
  .tournament-page,
  .page-tournaments,
  .analytics-hero,
  .analytics-main,
  .coming-soon-page,
  .cookie-policy-page,
  .privacy-page,
  .terms-page,
  .disclaimer-page
) {
  color: var(--rt-light-text);
}

html[data-theme="light"] :is(
  .landing-main,
  .about-page,
  .news-hero,
  .news-content,
  .activity-feed-container,
  .enhanced-sections,
  .enhanced-sections-header,
  .news-map,
  .community-section,
  .article-page,
  .bookmarks-page,
  .roster-hero,
  .roster-page,
  .players-list-page,
  .teams-list-page,
  .player-profile-page,
  .team-profile-page,
  .tournament-page,
  .page-tournaments,
  .analytics-hero,
  .analytics-main,
  .coming-soon-page,
  .cookie-policy-page,
  .privacy-page,
  .terms-page,
  .disclaimer-page
) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  th,
  td,
  strong,
  [class*="title"],
  [class*="name"],
  [class*="value"],
  [class*="number"],
  [class*="question"],
  [class*="confidence"],
  [class*="rank"],
  [class*="role"]
) {
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(
  .landing-main,
  .about-page,
  .news-hero,
  .news-content,
  .activity-feed-container,
  .enhanced-sections,
  .enhanced-sections-header,
  .news-map,
  .community-section,
  .article-page,
  .bookmarks-page,
  .roster-hero,
  .roster-page,
  .players-list-page,
  .teams-list-page,
  .player-profile-page,
  .team-profile-page,
  .tournament-page,
  .page-tournaments,
  .analytics-hero,
  .analytics-main,
  .coming-soon-page,
  .cookie-policy-page,
  .privacy-page,
  .terms-page,
  .disclaimer-page
) :is(
  p,
  li,
  small,
  label,
  time,
  [class*="subtitle"],
  [class*="summary"],
  [class*="meta"],
  [class*="label"],
  [class*="description"],
  [class*="text"],
  [class*="info"],
  [class*="date"],
  [class*="time"],
  [class*="empty"],
  [class*="founded"],
  [class*="since"]
) {
  color: var(--rt-light-text-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(
  .landing-main,
  .about-page,
  .news-hero,
  .news-content,
  .activity-feed-container,
  .enhanced-sections,
  .enhanced-sections-header,
  .news-map,
  .community-section,
  .article-page,
  .bookmarks-page,
  .roster-hero,
  .roster-page,
  .players-list-page,
  .teams-list-page,
  .player-profile-page,
  .team-profile-page,
  .tournament-page,
  .page-tournaments,
  .analytics-hero,
  .analytics-main,
  .coming-soon-page,
  .cookie-policy-page,
  .privacy-page,
  .terms-page,
  .disclaimer-page
) :is(
  [class*="title"],
  [class*="name"],
  [class*="value"],
  [class*="number"],
  [class*="question"],
  [class*="confidence"],
  [class*="rank"],
  [class*="role"]
) {
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(
  .preview-carousel-box,
  .active-card,
  .news-card,
  .bookmark-card,
  .legal-container,
  .tournament-card,
  .td-section,
  .team-panel,
  .ana-section,
  .section-guide,
  .match-table-card,
  .stage-progression-table,
  .day-stat-card-compact,
  .cs-card,
  .policy-page,
  .news-item,
  .sidebar-card,
  .editor-card,
  .knowledge-card,
  .trending-item,
  .prediction-item,
  .s-card,
  .ch-card,
  .z-card,
  .t-card,
  .featured-card,
  .rt-player-card,
  .player-panel,
  .org-stat-card,
  .achievement-card,
  .award-card,
  .entity-news-card,
  .team-unified-card,
  .org-card,
  .carousel-card,
  .grid-card,
  .roster-player-card,
  .roster-card,
  .roster-card-inner,
  .roster-player-pill,
  .former-row,
  .transfer-status,
  .poll-options,
  .search-wrapper,
  .tournaments-filters,
  .filter-select,
  .input,
  .search-empty-state,
  .empty-state
) {
  background: var(--rt-light-card-gradient) !important;
  border-color: var(--rt-light-border) !important;
  box-shadow: var(--rt-light-shadow);
}

html[data-theme="light"] :is(
  .game-tag,
  .card-game,
  .editor-game,
  .trending-game,
  .knowledge-tag,
  .org-chip,
  .award-tag,
  .ach-badge,
  .player-team-badge,
  .transfer-type-chip,
  .pchip,
  .fchip,
  .section-badge:not(.live-badge),
  .about-hero-badge,
  .hero-terminal-badge,
  .ch-badge,
  .t-badge,
  .achievement-rank-badge,
  .krafton-rank-badge,
  .verified-badge
) {
  background: rgba(151, 65, 235, 0.12) !important;
  color: #5b21b6 !important;
  border-color: rgba(151, 65, 235, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(
  .badge-breaking,
  .badge-featured,
  .live-badge,
  .status-badge,
  .badge.open,
  .badge.locked
) {
  color: #ffffff !important;
}

html[data-theme="light"] .hero-title .title-gradient,
html[data-theme="light"] :is(.title-gradient, .grad, .gradient-text, .gradient-text-blink) {
  background: linear-gradient(135deg, #9741EB 0%, #5A00B2 100%) !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

html[data-theme="light"] :is(.activity-item, .activity-text, .activity-time, .activity-link) {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(
  .td-hero-tab,
  .td-control-tab,
  .rt-card-view,
  .view-btn,
  .bookmark-open-link,
  .flip-btn,
  .player-back-cta,
  .back-link
) {
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.prediction-matchup .team, .prediction-matchup .vs, .confidence, .option-percent) {
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] [style*="color:white"],
html[data-theme="light"] [style*="color: white"] {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] :is(.player-profile-page, .team-profile-page) {
  --accent-soft: rgba(151, 65, 235, 0.12);
  --accent-border: rgba(151, 65, 235, 0.22);
  --surface-1: rgba(255, 255, 255, 0.82);
  --surface-2: rgba(248, 250, 252, 0.94);
  --border-subtle: rgba(148, 163, 184, 0.24);
  --text-muted: rgba(71, 85, 105, 0.78);
  --text-dim: #475569;
  --panel-shadow: var(--rt-light-shadow);
}

html[data-theme="light"] :is(
  .player-main,
  .org-main,
  .about-chapters,
  .about-news,
  .about-progression,
  .about-newsletter,
  .about-founder.v2,
  .news-map,
  .knowledge-hub,
  .community-section,
  .tournaments-header,
  .analytics-main
) {
  background: transparent !important;
}

html[data-theme="light"] :is(.player-main, .org-main) {
  border-top-color: var(--rt-light-border) !important;
}

html[data-theme="light"] :is(
  .page-header,
  .controls-bar,
  .trending-item,
  .editor-card,
  .map-zone,
  .zone-preview,
  .daily-poll,
  .predictions-box,
  .poll-option,
  .vote-btn,
  .roster-card,
  .roster-card-back,
  .team-panel,
  .player-panel,
  .org-about-wrap,
  .org-stat-card,
  .achievement-card,
  .award-card,
  .td-card,
  #live-box,
  .td-point-box,
  .td-hero-result-item,
  .standings-card,
  .quick-stat,
  .section-guide,
  .tournament-card,
  .hero-terminal-badge,
  .s-card,
  .ch-card,
  .z-card,
  .qa-demo,
  .news-map-box,
  .cs-banner,
  .t-card,
  .modal-box,
  .fv2-principle
) {
  background: var(--rt-light-card-gradient) !important;
  border-color: var(--rt-light-border) !important;
  box-shadow: var(--rt-light-shadow);
}

html[data-theme="light"] .trending-section,
html[data-theme="light"] .editors-pick-section {
  border-color: rgba(147, 51, 234, 0.35) !important;
  box-shadow: inset 0 0 0 1px rgba(147, 51, 234, 0.06) !important;
}

html[data-theme="light"] .tournament-page .td-format-stage {
  border-color: rgba(139, 92, 246, 0.45) !important;
  border-left: 4px solid #7c3aed !important;
}

html[data-theme="light"] :is(
  .search-bar,
  .roster-total,
  .roster-filter,
  .badge.history,
  .player-stat-pill,
  .player-free-agent,
  .player-social-btn,
  .social-link-hero,
  .org-social-btn,
  .team-game-tab,
  .stage-tab,
  .nav-tab,
  .btn-back,
  .tournament-social-link,
  .roster-team-logo,
  .td-live-tab,
  .td-hero-tab,
  .td-control-tab,
  .td-section-actions .td-btn--chip
) {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: var(--rt-light-border) !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(
  .zone-pill,
  .back-btn,
  .heading-back-btn,
  .action-back-btn,
  .action-btn,
  .bookmark-open-link,
  .team-game-tab
) {
  --bg: rgba(255, 255, 255, 0.94);
  --color: var(--rt-light-text-muted);
}

html[data-theme="light"] .zone-pill.active,
html[data-theme="light"] .action-btn.active,
html[data-theme="light"] .nav-tab.active,
html[data-theme="light"] .stage-tab.active {
  color: #5b21b6 !important;
}

html[data-theme="light"] .nav-tab.active,
html[data-theme="light"] .stage-tab.active {
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.16), rgba(59, 130, 246, 0.1)) !important;
  border-color: rgba(151, 65, 235, 0.22) !important;
}

html[data-theme="light"] .zone-pill.active {
  --bg: linear-gradient(135deg, rgba(151, 65, 235, 0.14), rgba(59, 130, 246, 0.1));
  box-shadow: inset 0 0 0 1px rgba(151, 65, 235, 0.22);
}

html[data-theme="light"] .search-wrapper input,
html[data-theme="light"] .search-bar input {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .search-wrapper input::placeholder,
html[data-theme="light"] .search-bar input::placeholder {
  color: var(--rt-light-text-soft) !important;
}

html[data-theme="light"] .results-bar,
html[data-theme="light"] .section-nav {
  border-color: var(--rt-light-border) !important;
}

html[data-theme="light"] .featured-carousel-container .carousel-nav-btn,
html[data-theme="light"] .guide-close {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: var(--rt-light-border) !important;
  color: var(--rt-light-text) !important;
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] :is(
  .player-social-btn,
  .social-link-hero,
  .org-social-btn,
  .tournament-social-link,
  .btn-back,
  .td-live-tab,
  .td-section-actions .td-btn--chip,
  .roster-filter,
  .badge.history,
  .player-free-agent
) {
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(
  .player-ign,
  .player-ign-large,
  .team-hero-info h1,
  .team-meta-value,
  .entity-news-card-title,
  .achievement-title,
  .award-title,
  .tournament-name,
  .transfer-team-name,
  .player-error-title,
  .player-name-text,
  .former-ign,
  .results-count,
  .sidebar-title,
  .trending-title,
  .editor-title,
  .knowledge-card h4,
  .daily-poll h3,
  .predictions-box h3,
  .option-label,
  .card-title,
  .bookmark-title,
  .empty-title,
  .hv2-word:not(.hv2-word--grad):not(.hv2-word--stroke),
  .t-title,
  .nl-wrap h2,
  .fv2-hed-1,
  .fv2-hed-2,
  .fv2-big-line,
  .fv2-sig-name,
  .fvp-title,
  .td-section-title,
  .td-format-stage-name,
  .td-rotation-td--match,
  .result-row span:first-child
) {
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(
  .player-real-name,
  .player-team-label,
  .team-name-large,
  .player-rank-overlay-label,
  .entity-news-date,
  .entity-news-empty,
  .achievement-date,
  .award-meta,
  .tournament-place-text,
  .tournament-date,
  .former-date,
  .player-role,
  .roster-note,
  .zone-game,
  .zone-count,
  .map-active-indicator,
  .editor-summary,
  .knowledge-card p,
  .poll-question,
  .poll-meta,
  .prediction-meta,
  .card-time,
  .card-info,
  .empty-text,
  .hero-v2-sub,
  .hsc-label,
  .s-card .s-lbl,
  .ch-card p,
  .news-map-box > p,
  .z-card .z-ct,
  .qa-meta span,
  .cs-banner > p,
  .t-sub,
  .t-list li,
  .nl-wrap > p,
  .nl-note,
  .fv2-num,
  .fv2-body p,
  .fv2-sig-role,
  .fvp-desc,
  .td-hero-result-title,
  .td-live-credit-wrap,
  .td-format-stage-teams,
  .td-format-stage-dates,
  .td-format-qualification,
  .td-point-position,
  .td-rotation-th,
  .td-rotation-td,
  .td-rotation-td--group
) {
  color: var(--rt-light-text-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(
  .player-team-link,
  .stat-link,
  .td-live-link,
  .preview-action
) {
  color: #6d28d9 !important;
  border-color: rgba(151, 65, 235, 0.22) !important;
}

html[data-theme="light"] .roster-total {
  background: rgba(151, 65, 235, 0.12) !important;
  border-color: rgba(151, 65, 235, 0.22) !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .roster-total strong,
html[data-theme="light"] .tournament-count strong {
  color: #6d28d9 !important;
}

html[data-theme="light"] .roster-filter,
html[data-theme="light"] .search-wrapper input {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: var(--rt-light-border) !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] :is(.roster-player-pill, .roster-history-pill, .former-row) {
  background: rgba(151, 65, 235, 0.08) !important;
}

html[data-theme="light"] .former-row:hover,
html[data-theme="light"] .roster-player-pill:hover,
html[data-theme="light"] .roster-history-pill:hover {
  background: rgba(151, 65, 235, 0.12) !important;
}

html[data-theme="light"] .team-game-tab {
  --bg: rgba(255, 255, 255, 0.94);
  color: var(--rt-light-text) !important;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.12);
}

html[data-theme="light"] .team-game-tab:hover,
html[data-theme="light"] .team-game-tab:focus {
  color: #5b21b6 !important;
}

html[data-theme="light"] .team-game-tab.active {
  --bg: linear-gradient(135deg, rgba(151, 65, 235, 0.16), rgba(59, 130, 246, 0.1));
  color: #5b21b6 !important;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.16);
}

html[data-theme="light"] .td-hero-tab {
  --bg: rgba(255, 255, 255, 0.94);
  --color: var(--rt-light-text);
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.12);
}

html[data-theme="light"] .td-hero-tab:where(:hover, :focus) {
  color: #5b21b6 !important;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.16);
}

html[data-theme="light"] .td-hero-tab--active {
  --bg: linear-gradient(135deg, rgba(151, 65, 235, 0.16), rgba(59, 130, 246, 0.1));
  color: #5b21b6 !important;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.16);
}

html[data-theme="light"] .org-stat-value {
  background: linear-gradient(135deg, #5b21b6 20%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent !important;
  background-clip: text;
}

html[data-theme="light"] .page-header,
html[data-theme="light"] .tournaments-header {
  border-bottom-color: var(--rt-light-border) !important;
}

html[data-theme="light"] .tournament-count {
  background: rgba(151, 65, 235, 0.12) !important;
  border-color: rgba(151, 65, 235, 0.22) !important;
  color: var(--rt-light-text) !important;
  box-shadow: none;
}

html[data-theme="light"] .tournament-card-header {
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.12), rgba(59, 130, 246, 0.08)) !important;
}

html[data-theme="light"] .tournament-name-dates,
html[data-theme="light"] .tournament-social-empty,
html[data-theme="light"] .tournament-placeholder {
  color: var(--rt-light-text-muted) !important;
}

html[data-theme="light"] .tournament-social-link {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .hv2-word--stroke {
  -webkit-text-stroke-color: rgba(151, 65, 235, 0.48) !important;
}

html[data-theme="light"] .hv2-year {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(151, 65, 235, 0.22) !important;
  color: #6d28d9 !important;
}

html[data-theme="light"] .z-card .z-nm,
html[data-theme="light"] .ch-card h3,
html[data-theme="light"] .qa-demo h4,
html[data-theme="light"] .cs-banner h3,
html[data-theme="light"] .fv2-body p strong {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .modal-box p,
html[data-theme="light"] .modal-box ul li,
html[data-theme="light"] .modal-box p strong,
html[data-theme="light"] .modal-box ul li strong {
  color: var(--rt-light-text-muted) !important;
}

html[data-theme="light"] .modal-box p strong,
html[data-theme="light"] .modal-box ul li strong {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .cs-title {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .cs-subtitle {
  color: var(--rt-light-text-muted) !important;
}

html[data-theme="light"] .cs-btn-secondary {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: var(--rt-light-border) !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .share-flyout {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: var(--rt-light-border) !important;
  box-shadow: var(--rt-light-shadow);
}

html[data-theme="light"] .share-flyout::before {
  background: rgba(255, 255, 255, 0.98) !important;
  border-right-color: var(--rt-light-border) !important;
  border-top-color: var(--rt-light-border) !important;
}

html[data-theme="light"] .share-circle {
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--rt-light-text) !important;
  border-color: var(--rt-light-border) !important;
}

html[data-theme="light"] .nav-tab,
html[data-theme="light"] .stage-tab {
  color: var(--rt-light-text-muted) !important;
}

html[data-theme="light"] .nav-tab:hover,
html[data-theme="light"] .stage-tab:hover {
  background: rgba(151, 65, 235, 0.08) !important;
  border-color: rgba(151, 65, 235, 0.22) !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .hero-badge,
html[data-theme="light"] .context-tag,
html[data-theme="light"] .td-hero-chip--game,
html[data-theme="light"] .td-points-elim {
  background: rgba(151, 65, 235, 0.12) !important;
  border-color: rgba(151, 65, 235, 0.22) !important;
  color: #6d28d9 !important;
}

html[data-theme="light"] .guide-main-title,
html[data-theme="light"] .section-head h2 {
  background: none !important;
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .guide-text,
html[data-theme="light"] .guide-list li,
html[data-theme="light"] .section-head p,
html[data-theme="light"] .quick-stat-label {
  color: var(--rt-light-text-muted) !important;
}

html[data-theme="light"] .td-hero-countdown::after {
  background: rgba(255, 255, 255, 0.96) !important;
}

html[data-theme="light"] .td-standings-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom-color: var(--rt-light-border) !important;
  color: var(--rt-light-text-soft) !important;
}

html[data-theme="light"] .result-row {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .result-row:hover {
  background: rgba(241, 245, 255, 0.96) !important;
}

html[data-theme="light"] .result-row--qualified {
  background: rgba(240, 253, 244, 0.95) !important;
}

html[data-theme="light"] .result-row--dq {
  background: rgba(254, 242, 242, 0.95) !important;
}

html[data-theme="light"] .result-row--dq span {
  color: #b91c1c !important;
}

html[data-theme="light"] .td-rotation-table thead tr,
html[data-theme="light"] .td-rotation-th {
  background: rgba(151, 65, 235, 0.08) !important;
  border-bottom-color: rgba(151, 65, 235, 0.22) !important;
}

html[data-theme="light"] .td-rotation-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.64) !important;
}

html[data-theme="light"] .td-rotation-row:hover {
  background: rgba(151, 65, 235, 0.08) !important;
}

html[data-theme="light"] :is(.players-list-page, .teams-list-page, .analytics-main) #input-mask,
html[data-theme="light"] :is(.players-list-page, .teams-list-page, .analytics-main) #purple-mask,
html[data-theme="light"] :is(.players-list-page, .teams-list-page, .analytics-main) .white {
  display: none !important;
}

html[data-theme="light"] .analytics-main .grid {
  opacity: 0.16;
  filter: none;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
}

html[data-theme="light"] :is(.players-list-page, .teams-list-page, .analytics-main) #poda > :is(.border, .darkBorderBg, .glow) {
  opacity: 0.18;
  filter: blur(22px);
}

html[data-theme="light"] :is(.players-list-page, .teams-list-page, .analytics-main) #poda > :is(.border, .darkBorderBg, .glow)::before {
  filter: saturate(0.78) brightness(1.08);
}

html[data-theme="light"] :is(.players-list-page .input, .teams-search-input, .analytics-main .input) {
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--rt-light-text) !important;
  border: 1px solid var(--rt-light-border) !important;
  box-shadow: 0 12px 28px rgba(148, 163, 184, 0.12);
}

html[data-theme="light"] .players-list-page .input::placeholder,
html[data-theme="light"] .teams-search-input::placeholder,
html[data-theme="light"] .analytics-main .input::placeholder {
  color: var(--rt-light-text-soft) !important;
}

html[data-theme="light"] .player-team-logo {
  padding: 0.5rem 0.7rem !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 255, 0.94)) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 10px 24px rgba(148, 163, 184, 0.14);
}

html[data-theme="light"] .team-hero-logo,
html[data-theme="light"] .td-hero-poster {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 255, 0.94)) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 24px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 16px 32px rgba(148, 163, 184, 0.16);
}

html[data-theme="light"] .team-hero-logo {
  padding: 18px !important;
}

html[data-theme="light"] :is(.org-logo, .carousel-logo) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 255, 0.94)) !important;
  border-color: rgba(151, 65, 235, 0.28) !important;
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.16);
}

html[data-theme="light"] :is(.roster-team-logo, .result-team-logo, .td-team-logo) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 255, 0.94)) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 8px 18px rgba(148, 163, 184, 0.14);
}

html[data-theme="light"] .result-team-logo {
  border-radius: 8px !important;
  overflow: hidden !important;
}

html[data-theme="light"] .td-team-logo {
  padding: 10px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  filter: none !important;
}

html[data-theme="light"] :is(.team-logo-small, .team-logo-img, .tournament-logo-img) {
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 255, 0.94)) !important;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18), 0 8px 18px rgba(148, 163, 184, 0.14);
}

html[data-theme="light"] .team-logo-small,
html[data-theme="light"] .team-logo-img {
  padding: 4px;
}

html[data-theme="light"] .tournament-logo-img {
  padding: 12px;
  border-radius: 20px;
}

html[data-theme="light"] :is(
  .player-team-logo img,
  .team-logo-small,
  .team-hero-logo img,
  .org-logo img,
  .carousel-logo img,
  .roster-team-logo img,
  .result-team-logo img,
  .td-team-logo img,
  .team-logo-img,
  .tournament-logo-img,
  .td-hero-poster img
) {
  filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.08));
}

html[data-theme="light"] :is(.result-team-logo-placeholder, .td-team-logo-placeholder, .team-logo-placeholder, .roster-team-logo-fallback, .org-logo-placeholder, .carousel-logo-placeholder) {
  color: #6d28d9 !important;
}

html[data-theme="light"] .tournament-card-header {
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.12), rgba(59, 130, 246, 0.09)) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top {
  background: linear-gradient(180deg, rgba(151, 65, 235, 0.16), rgba(255, 255, 255, 0.98)) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top::before {
  opacity: 0.2 !important;
  filter: contrast(1.12) saturate(0.92) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92)) !important;
}

html[data-theme="light"] .standings-header,
html[data-theme="light"] .standings-row {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-theme="light"] .standings-header {
  color: var(--rt-light-text-soft) !important;
}

html[data-theme="light"] .standings-row:hover {
  background: rgba(241, 245, 255, 0.96) !important;
}

html[data-theme="light"] :is(.rank-num, .team-name-sm, .stat-val, .stat-val.total) {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .stat-val.wwcd {
  color: #6d28d9 !important;
}

html[data-theme="light"] :is(.tournament-badge, .badge-status, .status-badge, .badge.open, .badge.locked) {
  box-shadow: none !important;
}

html[data-theme="light"] .badge-organizer {
  background: rgba(151, 65, 235, 0.12) !important;
  color: #6d28d9 !important;
  border-color: rgba(151, 65, 235, 0.22) !important;
}

html[data-theme="light"] .badge-upcoming {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #b45309 !important;
  border-color: rgba(245, 158, 11, 0.24) !important;
}

html[data-theme="light"] .badge-ongoing {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #b91c1c !important;
  border-color: rgba(239, 68, 68, 0.22) !important;
}

html[data-theme="light"] .badge-completed {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #15803d !important;
  border-color: rgba(34, 197, 94, 0.22) !important;
}

html[data-theme="light"] :is(.status-badge.open, .badge.open) {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #15803d !important;
  border-color: rgba(34, 197, 94, 0.22) !important;
}

html[data-theme="light"] :is(.status-badge.locked, .badge.locked) {
  background: rgba(148, 163, 184, 0.16) !important;
  color: #334155 !important;
  border-color: rgba(148, 163, 184, 0.26) !important;
}

html[data-theme="light"] .status-ongoing {
  background: rgba(34, 197, 94, 0.16) !important;
  color: #15803d !important;
  border-color: rgba(34, 197, 94, 0.32) !important;
}

html[data-theme="light"] .status-upcoming {
  background: rgba(151, 65, 235, 0.14) !important;
  color: #6d28d9 !important;
  border-color: rgba(151, 65, 235, 0.28) !important;
}

html[data-theme="light"] .status-completed {
  background: rgba(148, 163, 184, 0.12) !important;
  color: #475569 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

html[data-theme="light"] .pchip.benched,
html[data-theme="light"] .pchip.trial,
html[data-theme="light"] .fchip.transfer,
html[data-theme="light"] .fchip.benched,
html[data-theme="light"] .fchip.trial {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #b45309 !important;
}

html[data-theme="light"] .fchip.released {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #b91c1c !important;
}

html[data-theme="light"] .fchip.left {
  background: rgba(148, 163, 184, 0.16) !important;
  color: #475569 !important;
}

html[data-theme="light"] :is(
  .page-header,
  .controls-bar,
  .td-section,
  .ana-section,
  .section-guide,
  .match-table-card,
  .stage-progression-table,
  .teams-controls,
  .tournaments-filters,
  .results-bar,
  .section-nav,
  .standings-card,
  #live-box
) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme="light"] .policy-page {
  background: var(--rt-light-card-gradient) !important;
  border-color: var(--rt-light-border) !important;
  box-shadow: var(--rt-light-shadow);
}

html[data-theme="light"] .policy-page,
html[data-theme="light"] .policy-page p,
html[data-theme="light"] .policy-page li,
html[data-theme="light"] .policy-page ul {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .policy-page h1,
html[data-theme="light"] .policy-page h2 {
  background: linear-gradient(135deg, #7c3aed, #5b21b6) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

html[data-theme="light"] .policy-page h3 {
  color: #6d28d9 !important;
}

html[data-theme="light"] .policy-page h2 {
  border-bottom-color: rgba(151, 65, 235, 0.2) !important;
}

html[data-theme="light"] .policy-page strong {
  color: #5b21b6 !important;
}

html[data-theme="light"] .policy-page a {
  color: #7c3aed !important;
}

html[data-theme="light"] .last-updated {
  color: var(--rt-light-text-muted) !important;
}

html[data-theme="light"] :is(
  .filter-select,
  .back-btn,
  .heading-back-btn,
  .action-back-btn,
  .btn-back,
  .zone-pill,
  .action-btn,
  .nav-tab,
  .stage-tab,
  .team-game-tab,
  .roster-filter,
  .td-results-filter-select,
  .td-live-tab,
  .td-hero-tab,
  .td-control-tab,
  .preview-action,
  .bookmark-open-link
) {
  background: rgba(248, 250, 252, 0.78) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  box-shadow: none !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .tab-pill-btn {
  background: rgba(248, 250, 252, 0.76) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: var(--rt-light-text-muted) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .tab-pill-btn:hover:not(.active) {
  background: rgba(151, 65, 235, 0.08) !important;
  border-color: rgba(151, 65, 235, 0.2) !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .tab-pill-btn.active,
html[data-theme="light"] .preview-action:hover,
html[data-theme="light"] :is(.nav-tab.active, .stage-tab.active, .zone-pill.active, .action-btn.active) {
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.14), rgba(59, 130, 246, 0.1)) !important;
  border-color: rgba(151, 65, 235, 0.2) !important;
  color: #5b21b6 !important;
  box-shadow: none !important;
}

html[data-theme="light"] .preview-action {
  background: rgba(151, 65, 235, 0.08) !important;
  color: #6d28d9 !important;
}

html[data-theme="light"] .cta-pill.primary {
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.26), rgba(59, 130, 246, 0.2)) !important;
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] .cta-pill.primary:hover {
  box-shadow: 0 16px 34px rgba(148, 163, 184, 0.16) !important;
}

html[data-theme="light"] .cta-inner {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

html[data-theme="light"] .cta-circle {
  background: linear-gradient(135deg, #7c3aed, #5b21b6) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .preview-label {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: #475569 !important;
}

html[data-theme="light"] :is(.game-tag, .card-game, .news-game-tag) {
  background: rgba(151, 65, 235, 0.1) !important;
  color: #6d28d9 !important;
  border: 1px solid rgba(151, 65, 235, 0.18) !important;
}

html[data-theme="light"] .badge-breaking {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #b91c1c !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
}

html[data-theme="light"] .badge-featured {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #b45309 !important;
  border-color: rgba(245, 158, 11, 0.2) !important;
}

html[data-theme="light"] :is(.live-badge, .news-flag-live) {
  background: rgba(34, 197, 94, 0.16) !important;
  color: #15803d !important;
  border-color: rgba(34, 197, 94, 0.32) !important;
}

html[data-theme="light"] :is(.players-list-page, .teams-list-page, .analytics-main) #poda > :is(.white, .border, .darkBorderBg, .glow),
html[data-theme="light"] :is(.players-list-page, .teams-list-page, .analytics-main) #input-mask,
html[data-theme="light"] :is(.players-list-page, .teams-list-page, .analytics-main) #purple-mask {
  display: none !important;
}

html[data-theme="light"] :is(.players-list-page, .teams-list-page, .analytics-main) #main {
  background: transparent !important;
}

html[data-theme="light"] :is(.players-list-page, .teams-list-page, .analytics-main) #search-icon {
  color: #64748b !important;
}

html[data-theme="light"] :is(.players-list-page .input, .teams-search-input, .analytics-main .input) {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.1) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) {
  background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%) !important;
  border-color: rgba(147, 51, 234, 0.72) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16), 0 0 18px rgba(147, 51, 234, 0.28) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.48) 0%, rgba(124, 58, 237, 0.1) 100%) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top::before {
  opacity: 0.18 !important;
  filter: brightness(1.35) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top::after {
  background: linear-gradient(to bottom, transparent, rgba(26, 26, 46, 0.95)) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-body {
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 22, 42, 1) 100%) !important;
}

html[data-theme="light"] :is(.rt-card-ign, .krafton-rank-number) {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.rt-card-name, .krafton-rank-label) {
  color: rgba(255, 255, 255, 0.72) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .rt-card-role {
  color: #ede9fe !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .rt-card-team {
  color: #d8b4fe !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.team-unified-card, .carousel-card) {
  background:
    linear-gradient(150deg, rgba(147, 51, 234, 0.22), rgba(10, 8, 20, 0.96)),
    linear-gradient(145deg, #1a1a2e 0%, #131324 100%) !important;
  border-color: rgba(147, 51, 234, 0.72) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16), 0 0 18px rgba(147, 51, 234, 0.28) !important;
}

html[data-theme="light"] .org-card {
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="light"] .org-content {
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 22, 42, 1) 100%) !important;
}

html[data-theme="light"] .org-name {
  color: #ffffff !important;
}

html[data-theme="light"] :is(.org-founded, .org-description, .carousel-card .meta, .carousel-card .stats, .team-social-empty) {
  color: rgba(255, 255, 255, 0.72) !important;
}

html[data-theme="light"] .org-chip {
  background: rgba(147, 51, 234, 0.2) !important;
  color: #f2e8ff !important;
  border-color: rgba(192, 132, 252, 0.45) !important;
}

html[data-theme="light"] .verified-badge {
  background: rgba(151, 65, 235, 0.16) !important;
  color: #d7b7ff !important;
  border-color: rgba(151, 65, 235, 0.5) !important;
}

html[data-theme="light"] .tournament-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.88)) !important;
  border: 1px solid rgba(147, 51, 234, 0.18) !important;
  border-color: rgba(147, 51, 234, 0.18) !important;
  box-shadow: 0 18px 36px rgba(147, 51, 234, 0.12) !important;
}

html[data-theme="light"] .tournament-card-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(167, 139, 250, 0.24)) !important;
}

html[data-theme="light"] .tournament-logo-img {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.22));
}

html[data-theme="light"] :is(.player-team-logo, .team-hero-logo, .td-hero-poster, .org-logo, .carousel-logo) {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.82)) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16) !important;
}

html[data-theme="light"] .player-team-logo {
  border-radius: 16px !important;
}

html[data-theme="light"] .team-hero-logo,
html[data-theme="light"] .td-hero-poster {
  border-radius: 24px !important;
}

html[data-theme="light"] .roster-team-logo {
  background: rgba(15, 23, 42, 0.84) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.result-team-logo, .team-logo-img, .team-logo-small) {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

html[data-theme="light"] .td-team-logo {
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.24), rgba(15, 23, 42, 0) 72%) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

html[data-theme="light"] :is(
  .player-team-logo img,
  .team-hero-logo img,
  .org-logo img,
  .carousel-logo img,
  .roster-team-logo img,
  .result-team-logo img,
  .td-team-logo img,
  .team-logo-img,
  .team-logo-small,
  .tournament-logo-img,
  .td-hero-poster img
) {
  filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.22));
}

html[data-theme="light"] :is(
  .player-social-btn,
  .social-link-hero,
  .org-social-btn,
  .tournament-social-link,
  .team-social-btn
) {
  background: rgba(248, 250, 252, 0.72) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: rgba(15, 23, 42, 0.72) !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(
  .player-social-btn:hover,
  .social-link-hero:hover,
  .org-social-btn:hover,
  .tournament-social-link:hover,
  .team-social-btn:hover
) {
  transform: translateY(-2px);
}

html[data-theme="light"] :is(.player-social-btn.youtube:hover, .social-link-hero.youtube:hover, .org-social-btn.youtube:hover, .tournament-social-link.youtube:hover, .team-social-btn.youtube:hover) {
  background: rgba(255, 0, 0, 0.08) !important;
  border-color: rgba(255, 0, 0, 0.24) !important;
  color: #ff0000 !important;
}

html[data-theme="light"] :is(.player-social-btn.instagram:hover, .social-link-hero.instagram:hover, .org-social-btn.instagram:hover, .tournament-social-link.insta:hover, .team-social-btn.instagram:hover) {
  background: rgba(228, 64, 95, 0.08) !important;
  border-color: rgba(228, 64, 95, 0.24) !important;
  color: #e4405f !important;
}

html[data-theme="light"] :is(.org-social-btn.discord:hover, .tournament-social-link.discord:hover, .team-social-btn.discord:hover) {
  background: rgba(88, 101, 242, 0.08) !important;
  border-color: rgba(88, 101, 242, 0.24) !important;
  color: #5865f2 !important;
}

html[data-theme="light"] :is(.org-social-btn.linkedin:hover, .team-social-btn.linkedin:hover) {
  background: rgba(10, 102, 194, 0.08) !important;
  border-color: rgba(10, 102, 194, 0.24) !important;
  color: #0a66c2 !important;
}

html[data-theme="light"] :is(.org-social-btn.website:hover, .tournament-social-link.website:hover, .team-social-btn.website:hover) {
  background: rgba(34, 211, 238, 0.08) !important;
  border-color: rgba(34, 211, 238, 0.24) !important;
  color: #0891b2 !important;
}

html[data-theme="light"] :is(.org-social-btn.twitter:hover, .team-social-btn.twitter:hover) {
  background: rgba(15, 23, 42, 0.06) !important;
  border-color: rgba(15, 23, 42, 0.18) !important;
  color: #111827 !important;
}

html[data-theme="light"] :is(.players-list-page .social-icon-mini.youtube:hover, .team-profile-page .social-icon-mini.youtube:hover) {
  color: #ff0000 !important;
  filter: drop-shadow(0 0 4px rgba(255, 0, 0, 0.28));
}

html[data-theme="light"] :is(.players-list-page .social-icon-mini.instagram:hover, .team-profile-page .social-icon-mini.instagram:hover) {
  color: #e4405f !important;
  filter: drop-shadow(0 0 4px rgba(228, 64, 95, 0.28));
}

html[data-theme="light"] :is(.standings-card, .td-standings-table, #live-box) {
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.standings-header, .td-standings-header) {
  background: rgba(151, 65, 235, 0.06) !important;
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
  color: var(--rt-light-text-soft) !important;
}

html[data-theme="light"] :is(.standings-row, .result-row) {
  background: transparent !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] :is(.standings-row:hover, .result-row:hover) {
  background: rgba(151, 65, 235, 0.06) !important;
}

html[data-theme="light"] .standings-row:hover {
  border-left: 0 !important;
  padding-left: 1.25rem !important;
}

html[data-theme="light"] :is(
  #live-box .td-context-text,
  .td-live-credit-wrap,
  .td-live-link-wrap,
  .mw-team-group-tag,
  .td-standings-page-info,
  .td-rotation-td,
  .td-rotation-th,
  .result-team-name
) {
  color: var(--rt-light-text-muted) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.td-live-link, .td-standings-page-btn) {
  color: #6d28d9 !important;
  border-color: rgba(151, 65, 235, 0.18) !important;
}

html[data-theme="light"] .td-results-filter-select {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] [style*="color:rgba(255,255,255,0."],
html[data-theme="light"] [style*="color: rgba(255,255,255,0."],
html[data-theme="light"] [style*="color: rgba(255, 255, 255, 0."] {
  color: var(--rt-light-text-muted) !important;
}

@media (min-width: 901px) {
  html {
    scroll-padding-top: 116px;
  }

  .nav-center {
    transform: translateX(-52px);
  }

  .live-activity-bar {
    top: 108px !important;
  }

  .about-page .hero-v2-inner {
    padding-top: clamp(116px, 16vh, 164px) !important;
  }
}

@media (max-width: 900px) {
  .live-activity-bar {
    top: 104px !important;
  }
}

html[data-theme="light"] .nav-pill {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px);
}

html[data-theme="light"] .nav-right {
  box-shadow: none !important;
}

html[data-theme="light"] .preview-label {
  color: #334155 !important;
}

html[data-theme="light"] .preview-mini-desc,
html[data-theme="light"] .tournament-name-dates,
html[data-theme="light"] .active-tournament-name,
html[data-theme="light"] .active-group-name {
  color: #334155 !important;
}

html[data-theme="light"] :is(.game-tag, .card-game, .news-game-tag, .preview-label) {
  opacity: 1 !important;
}

html[data-theme="light"] .roster-filters {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.roster-total, .roster-filter, .status-badge) {
  border-radius: 999px !important;
}

html[data-theme="light"] .roster-total {
  background: rgba(151, 65, 235, 0.12) !important;
  border-color: rgba(151, 65, 235, 0.22) !important;
  box-shadow: none !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .roster-filter {
  background: rgba(248, 250, 252, 0.76) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .roster-clear-btn {
  background: rgba(151, 65, 235, 0.1) !important;
  color: #6d28d9 !important;
}

@media (min-width: 901px) {
  .nav-theme-slot:not(.nav-theme-slot--utility) {
    margin-right: -22px;
  }
}

html[data-theme="light"] .nav-pill {
  background: transparent !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-theme="light"] .nav-right {
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 900px) {
  html[data-theme="light"] .nav-right {
    background: var(--mobile-nav-open-bg) !important;
    box-shadow: 0 18px 36px rgba(148, 163, 184, 0.16) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    right: 0 !important;
    left: auto !important;
    width: auto !important;
    min-width: auto !important;
    max-width: calc(100vw - 20px) !important;
  }

  html[data-theme="light"] .nav-right a {
    background: var(--mobile-nav-open-bg) !important;
    color: var(--rt-light-text) !important;
  }

  html[data-theme="light"] .nav.menu-open {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
  }

  .nav-right {
    right: 0 !important;
    left: auto !important;
    width: auto !important;
    min-width: auto !important;
    max-width: calc(100vw - 20px) !important;
    align-items: flex-start !important;
  }

  .nav-right a {
    width: auto !important;
    align-self: flex-start !important;
    text-align: left !important;
    padding: 16px 18px !important;
  }
}

html[data-theme="light"] .cta-pill.primary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(124, 58, 237, 0.92)) !important;
  box-shadow: 0 16px 30px rgba(139, 92, 246, 0.14) !important;
}

html[data-theme="light"] .cta-pill.primary:hover {
  box-shadow: 0 18px 34px rgba(139, 92, 246, 0.2) !important;
}

@media (min-width: 901px) {
  html:not([data-theme="light"]) .player-profile-page .entity-news-title {
    padding-inline-start: 0 !important;
  }
}

html[data-theme="light"] .cta-inner {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
}

html[data-theme="light"] .cta-text {
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .cta-pill.primary:hover .cta-text {
  color: #5b21b6 !important;
}

html[data-theme="light"] :is(
  .game-tag,
  .card-game,
  .news-game-tag,
  .editor-game,
  .trending-game,
  .section-badge:not(.live-badge)
) {
  background: rgba(151, 65, 235, 0.1) !important;
  border-color: rgba(151, 65, 235, 0.18) !important;
  color: #5b21b6 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(
  .preview-mini-desc,
  .news-meta,
  .tournament-name-dates,
  .active-tournament-name,
  .active-group-name
) {
  color: #475569 !important;
  opacity: 1 !important;
}

html[data-theme="light"] :is(.transfer-status, .roster-note, .roster-page) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] .transfer-status {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

html[data-theme="light"] :is(.roster-total, .roster-filter, .roster-clear-btn, .status-badge) {
  border-radius: 999px !important;
}

html[data-theme="light"] .roster-total {
  background: rgba(15, 23, 42, 0.05) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-theme="light"] .roster-filter {
  background: rgba(15, 23, 42, 0.05) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .roster-clear-btn {
  background: rgba(151, 65, 235, 0.08) !important;
  border-color: rgba(151, 65, 235, 0.16) !important;
  color: #6d28d9 !important;
}

html[data-theme="light"] .status-badge {
  background: rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] :is(.roster-card, .roster-card-front, .roster-card-back, .roster-card-face, .roster-card-inner) {
  border-radius: 24px !important;
}

html[data-theme="light"] :is(.roster-card, .roster-card-front, .roster-card-back) {
  overflow: hidden !important;
}

html[data-theme="light"] .roster-team-logo {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.84)) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

@media (max-width: 900px) {
  .nav-theme-shell--utility .nav-theme-trigger,
  .nav-theme-shell--utility.is-open .nav-theme-trigger,
  .nav-theme-shell--utility .nav-theme-trigger:hover,
  .nav-theme-shell--utility .nav-theme-trigger:focus-visible {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    padding-inline: 0 !important;
  }
}

html[data-theme="light"] .active-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 248, 255, 0.78)) !important;
  border-color: rgba(151, 65, 235, 0.16) !important;
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] .active-card-header {
  border-bottom-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-theme="light"] :is(.section-badge, .motivation-badge) {
  background: rgba(151, 65, 235, 0.12) !important;
  border: 1px solid rgba(151, 65, 235, 0.22) !important;
  color: #5b21b6 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .live-badge {
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.22) !important;
  color: #b91c1c !important;
  opacity: 1 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .live-badge .live-pulse {
  background: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

html[data-theme="light"] :is(.game-tag, .card-game, .news-game-tag, .editor-game, .trending-game) {
  background: rgba(151, 65, 235, 0.1) !important;
  border: 1px solid rgba(151, 65, 235, 0.2) !important;
  color: #5b21b6 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .news-flag-live {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.24) !important;
  color: #b91c1c !important;
  opacity: 1 !important;
}

html[data-theme="light"] .status-ongoing {
  background: rgba(34, 197, 94, 0.12) !important;
  border: 1px solid rgba(34, 197, 94, 0.24) !important;
  color: #15803d !important;
  opacity: 1 !important;
}

html[data-theme="light"] .news-flag-breaking {
  background: rgba(249, 115, 22, 0.12) !important;
  border: 1px solid rgba(249, 115, 22, 0.24) !important;
  color: #c2410c !important;
  opacity: 1 !important;
}

html[data-theme="light"] .status-upcoming {
  background: rgba(151, 65, 235, 0.1) !important;
  border: 1px solid rgba(151, 65, 235, 0.22) !important;
  color: #6d28d9 !important;
  opacity: 1 !important;
}

html[data-theme="light"] .news-flag-featured {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.24) !important;
  color: #b45309 !important;
  opacity: 1 !important;
}

html[data-theme="light"] .status-completed {
  background: rgba(148, 163, 184, 0.12) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #475569 !important;
  opacity: 1 !important;
}

html[data-theme="light"] .status-badge.open {
  background: rgba(34, 197, 94, 0.12) !important;
  border: 1px solid rgba(34, 197, 94, 0.24) !important;
  color: #15803d !important;
}

html[data-theme="light"] .status-badge.locked {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.24) !important;
  color: #b91c1c !important;
}

html[data-theme="light"] .tournaments-list-preview .status-badge {
  box-shadow: none !important;
}

html[data-theme="light"] :is(
  .preview-mini-desc,
  .tournament-winner-preview,
  .news-meta,
  .active-tournament-name,
  .active-group-name,
  .motivation-text,
  .inline-stat-label
) {
  color: #475569 !important;
  opacity: 1 !important;
}

html[data-theme="light"] :is(.cookie-policy-page, .privacy-page, .terms-page, .disclaimer-page) {
  background:
    radial-gradient(1100px 560px at 12% -4%, rgba(151, 65, 235, 0.12), transparent 58%),
    radial-gradient(860px 460px at 88% 6%, rgba(59, 130, 246, 0.08), transparent 54%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 34%, #eef4ff 100%) !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] :is(.policy-page, .legal-container) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 248, 255, 0.82)) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow: 0 18px 38px rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] .disclaimer-page .legal-section,
html[data-theme="light"] .terms-page .legal-section,
html[data-theme="light"] .privacy-page .legal-section {
  background: rgba(255, 255, 255, 0.54) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .policy-page h1,
html[data-theme="light"] .policy-page h2,
html[data-theme="light"] .legal-header h1,
html[data-theme="light"] .legal-section h2 {
  background: none !important;
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.policy-page h3, .legal-section h3) {
  color: #6d28d9 !important;
}

html[data-theme="light"] :is(
  .last-updated,
  .legal-updated,
  .legal-intro,
  .policy-page p,
  .policy-page li,
  .policy-page ul,
  .legal-section p,
  .legal-section li,
  .legal-footer
) {
  color: var(--rt-light-text-muted) !important;
}

html[data-theme="light"] :is(.policy-page strong, .legal-section strong, .legal-footer strong) {
  color: #5b21b6 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.policy-page a, .legal-section a) {
  color: #6d28d9 !important;
}

html[data-theme="light"] :is(.policy-page a:hover, .legal-section a:hover) {
  color: #5b21b6 !important;
  border-bottom-color: rgba(109, 40, 217, 0.24) !important;
}

html[data-theme="light"] .cookie-table {
  background: rgba(255, 255, 255, 0.74) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .cookie-table th {
  background: rgba(151, 65, 235, 0.1) !important;
  color: #5b21b6 !important;
  border-bottom-color: rgba(151, 65, 235, 0.18) !important;
}

html[data-theme="light"] .cookie-table td {
  color: var(--rt-light-text) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
}

html[data-theme="light"] .cookie-table tr:hover {
  background: rgba(151, 65, 235, 0.04) !important;
}

html[data-theme="light"] .info-box {
  background: rgba(151, 65, 235, 0.06) !important;
  border-left-color: #7c3aed !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.roster-filters, .roster-filters-left, .roster-filters-right) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.roster-total, .roster-filter, .roster-clear-btn) {
  background: rgba(15, 23, 42, 0.05) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-theme="light"] :is(.roster-page .status-badge, .transfer-status .status-badge) {
  background: rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .roster-team-logo {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.86)) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .roster-team-logo-fallback {
  color: #ede9fe !important;
}

html[data-theme="light"] .preview-carousel-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 255, 0.82)) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  box-shadow: 0 18px 36px rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] .tournaments-list-preview .status-badge {
  color: var(--rt-light-text) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  background: rgba(255, 255, 255, 0.74) !important;
  opacity: 1 !important;
}

html[data-theme="light"] .tournaments-list-preview .status-badge.status-ongoing {
  background: rgba(34, 197, 94, 0.12) !important;
  border-color: rgba(34, 197, 94, 0.24) !important;
  color: #15803d !important;
}

html[data-theme="light"] .tournaments-list-preview .status-badge.status-upcoming {
  background: rgba(151, 65, 235, 0.1) !important;
  border-color: rgba(151, 65, 235, 0.22) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .tournaments-list-preview .status-badge.status-completed {
  background: rgba(148, 163, 184, 0.12) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: #475569 !important;
}

html[data-theme="dark"] .tournaments-list-preview .status-badge.status-upcoming {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: rgba(245, 158, 11, 0.32) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .tournaments-list-preview .status-badge.status-ongoing {
  background: rgba(34, 197, 94, 0.22) !important;
  border-color: rgba(34, 197, 94, 0.32) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .tournaments-list-preview .status-badge.status-completed {
  background: rgba(148, 163, 184, 0.20) !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .active-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 255, 0.84)) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] .active-card-body,
html[data-theme="light"] .active-card-footer {
  background: transparent !important;
}

html[data-theme="light"] .active-card-footer {
  border-top-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-theme="light"] :is(.mvp-row, .standings-table-row) {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
}

html[data-theme="light"] :is(.mvp-row:hover, .standings-table-row:hover) {
  background: rgba(151, 65, 235, 0.06) !important;
}

html[data-theme="light"] .standings-table-header {
  background: rgba(151, 65, 235, 0.08) !important;
  color: #64748b !important;
}

html[data-theme="light"] .mvp-points {
  color: #475569 !important;
}

html[data-theme="light"] body.cookie-policy-page {
  padding: 120px 20px 20px !important;
}

html[data-theme="light"] :is(body.privacy-page, body.terms-page, body.disclaimer-page) {
  padding: 120px 20px 20px !important;
}

html[data-theme="light"] .cookie-policy-page .policy-page {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  text-align: left !important;
}

html[data-theme="light"] :is(.cookie-policy-page .policy-page, .privacy-page .legal-container, .terms-page .legal-container, .disclaimer-page .legal-container) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

:is(body.cookie-policy-page, body.privacy-page, body.terms-page, body.disclaimer-page) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 0 !important;
}

:is(.cookie-policy-page .policy-page, .privacy-page .legal-container, .terms-page .legal-container, .disclaimer-page .legal-container) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

:is(.cookie-policy-page, .privacy-page, .terms-page, .disclaimer-page) #footer {
  margin-top: auto !important;
  flex-shrink: 0;
}

html[data-theme="light"] :is(.cookie-policy-page .policy-page section, .privacy-page .legal-section, .terms-page .legal-section, .disclaimer-page .legal-section) {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.cookie-policy-page, .privacy-page, .terms-page, .disclaimer-page) .site-footer {
  background: linear-gradient(180deg, rgba(15, 20, 30, 0.96), rgba(21, 27, 39, 0.96)) !important;
  border-top: 1px solid rgba(151, 65, 235, 0.16) !important;
}

html[data-theme="light"] body.cookie-policy-page,
html[data-theme="light"] :is(body.privacy-page, body.terms-page, body.disclaimer-page) {
  padding: 120px 20px 0 !important;
  text-align: left !important;
}

html[data-theme="light"] :is(.cookie-policy-page, .privacy-page, .terms-page, .disclaimer-page) {
  text-align: left !important;
}

html[data-theme="light"] :is(.cookie-policy-page, .privacy-page, .terms-page, .disclaimer-page) #footer {
  display: block !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
}

html[data-theme="light"] :is(.cookie-policy-page, .privacy-page, .terms-page, .disclaimer-page) .site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 246, 255, 0.98)) !important;
  border-top: 1px solid rgba(148, 163, 184, 0.18) !important;
}

html[data-theme="light"] :is(.cookie-policy-page, .privacy-page, .terms-page, .disclaimer-page) :is(.nav-pill, .nav-right) {
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="light"] .roster-hero,
html[data-theme="light"] .roster-page {
  background: transparent !important;
}

html[data-theme="light"] .roster-hero #poda > :is(.white, .border, .darkBorderBg, .glow),
html[data-theme="light"] .roster-hero #input-mask,
html[data-theme="light"] .roster-hero #purple-mask {
  display: none !important;
}

html[data-theme="light"] .roster-hero .input {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow: none !important;
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .roster-hero .input::placeholder {
  color: #64748b !important;
}

html[data-theme="light"] :is(.roster-card, .roster-card-front, .roster-card-back) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 255, 0.82)) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .gradient-text {
  background: none !important;
  color: #5b21b6 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.decorative-line, .roster-card-foot, .transfer-card-top, .transfer-card-section) {
  box-shadow: none !important;
}

html[data-theme="light"] .decorative-line {
  background: rgba(151, 65, 235, 0.2) !important;
}

html[data-theme="light"] .news-map-header h2,
html[data-theme="light"] .knowledge-hub h2,
html[data-theme="light"] .community-section h2 {
  background: none !important;
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.trending-section, .editors-pick-section, .trending-item, .editor-card) {
  border-radius: 20px !important;
  overflow: hidden !important;
}

html[data-theme="light"] .zone-pill.active {
  --bg: linear-gradient(135deg, rgba(151, 65, 235, 0.14), rgba(59, 130, 246, 0.1)) !important;
  --color: #5b21b6 !important;
  color: #5b21b6 !important;
}

html[data-theme="light"] .bookmark-game {
  background: rgba(151, 65, 235, 0.1) !important;
  border: 1px solid rgba(151, 65, 235, 0.2) !important;
  color: #5b21b6 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .bookmarks-header h1,
html[data-theme="light"] .bookmark-title {
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .article-page {
  padding-top: 28px !important;
}

html[data-theme="light"] .article-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] .article-hero-section {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

html[data-theme="light"] .hero-image-block {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

@media (max-width: 1024px) {
  html[data-theme="light"] .article-hero-section {
    padding: 0 !important;
  }

  html[data-theme="light"] .hero-image-block {
    top: auto !important;
  }
}

@media (max-width: 768px) {
  html[data-theme="light"] .article-page {
    padding-top: 10px !important;
  }

  html[data-theme="light"] .article-container {
    padding: 0 18px 56px !important;
  }

  html[data-theme="light"] .article-hero-section {
    display: block !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  html[data-theme="light"] .article-page :is(.hero-info-block, .article-title, .article-content, .related-section, .related-grid, .card-body, .card-meta, .card-title, .card-info, .card-category) {
    text-align: left !important;
  }

  html[data-theme="light"] .article-page .news-card {
    justify-self: stretch !important;
    margin: 0 !important;
  }
}

html[data-theme="light"] .badge-organizer {
  background: rgba(151, 65, 235, 0.12) !important;
  border: 1px solid rgba(109, 40, 217, 0.24) !important;
  color: #5b21b6 !important;
}

html[data-theme="light"] .badge-upcoming {
  background: rgba(151, 65, 235, 0.1) !important;
  border: 1px solid rgba(151, 65, 235, 0.22) !important;
  color: #6d28d9 !important;
}

html[data-theme="light"] .badge-ongoing {
  background: rgba(34, 197, 94, 0.12) !important;
  border: 1px solid rgba(34, 197, 94, 0.24) !important;
  color: #15803d !important;
}

html[data-theme="light"] .badge-completed {
  background: rgba(148, 163, 184, 0.12) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: #475569 !important;
}

html[data-theme="light"] .tournament-card-footer {
  border-top-color: rgba(15, 23, 42, 0.14) !important;
}

html[data-theme="light"] .tournament-social-empty {
  color: #475569 !important;
}

.landing-main .news-section {
  padding-bottom: 40px;
}

.landing-main .motivation-section {
  padding-top: 52px;
}

html[data-theme="light"] .landing-main .motivation-section {
  background: radial-gradient(ellipse 72% 52% at 50% 50%, rgba(139, 92, 246, 0.12), transparent 68%) !important;
}

html[data-theme="light"] .motivation-badge {
  background: rgba(139, 92, 246, 0.12) !important;
  border-color: rgba(91, 33, 182, 0.18) !important;
  color: #6d28d9 !important;
}

html[data-theme="light"] .gradient-text-blink {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

html[data-theme="light"] .tournaments-list-preview .status-badge {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .tournaments-list-preview .status-badge.status-ongoing {
  background: rgba(34, 197, 94, 0.12) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #166534 !important;
}

html[data-theme="light"] .tournaments-list-preview .status-badge.status-upcoming {
  background: rgba(245, 158, 11, 0.13) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .tournaments-list-preview .status-badge.status-completed {
  background: rgba(148, 163, 184, 0.14) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #475569 !important;
}

html[data-theme="light"] .live-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border: 1px solid rgba(127, 29, 29, 0.18) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.16) !important;
}

html[data-theme="light"] .live-badge .live-pulse {
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18) !important;
}

html[data-theme="light"] .news-flag-live {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border: 1px solid rgba(127, 29, 29, 0.18) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .active-tournament-section .active-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.9)) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 18px 32px rgba(148, 163, 184, 0.1) !important;
}

html[data-theme="light"] .active-tournament-section .active-card-header {
  border-bottom-color: rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] #activeMvpContent,
html[data-theme="light"] #activeStandingsContent {
  display: grid;
  gap: 10px;
}

html[data-theme="light"] .active-tournament-section .mvp-row,
html[data-theme="light"] .active-tournament-section .standings-table-row {
  background: rgba(248, 250, 252, 0.96) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .active-tournament-section .mvp-row:hover,
html[data-theme="light"] .active-tournament-section .standings-table-row:hover {
  background: rgba(241, 245, 249, 0.98) !important;
  transform: none !important;
}

html[data-theme="light"] .active-tournament-section .standings-table-header {
  background: rgba(241, 245, 249, 0.96) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  color: #475569 !important;
}

html[data-theme="light"] :is(.badge-organizer, .badge-upcoming, .badge-ongoing, .badge-completed) {
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .badge-organizer {
  background: rgba(139, 92, 246, 0.1) !important;
  color: #6d28d9 !important;
}

html[data-theme="light"] .badge-upcoming {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #b45309 !important;
}

html[data-theme="light"] .badge-ongoing {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #166534 !important;
}

html[data-theme="light"] .badge-completed {
  background: rgba(148, 163, 184, 0.12) !important;
  color: #475569 !important;
}

html[data-theme="light"] .roster-team-logo {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(17, 24, 39, 0.92)) !important;
  border: 1px solid rgba(147, 51, 234, 0.24) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
}

html[data-theme="light"] .decorative-line {
  background: linear-gradient(90deg, transparent 0%, #8b5cf6 50%, transparent 100%) !important;
  opacity: 0.72 !important;
}

html[data-theme="light"] :is(.badge.history, .flip-btn) {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(124, 58, 237, 0.88)) !important;
  border: 1px solid rgba(109, 40, 217, 0.16) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .flip-btn:hover {
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(91, 33, 182, 0.18) !important;
}

html[data-theme="light"] .roster-history-list .no-former,
html[data-theme="light"] .fchip.released {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #b91c1c !important;
}

html[data-theme="light"] :is(.fchip.left, .fchip.transfer, .fchip.benched) {
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] .fchip.trial {
  background: rgba(139, 92, 246, 0.16) !important;
  border: 1px solid rgba(109, 40, 217, 0.18) !important;
  color: #ffffff !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94)) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 255, 0.94)) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top::before {
  opacity: 0.08 !important;
  filter: grayscale(1) contrast(1.05) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98)) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-body {
  background: #ffffff !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-body-line {
  background: linear-gradient(90deg, transparent, #9333ea, transparent) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .krafton-rank-badge {
  padding: 0.45rem 0.55rem !important;
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(8px) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) :is(.krafton-rank-number, .krafton-rank-label) {
  color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-ign {
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-name,
html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-role {
  color: #475569 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-team {
  color: #6d28d9 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .player-team-logo {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(17, 24, 39, 0.92)) !important;
  border: 1px solid rgba(147, 51, 234, 0.24) !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.team-unified-card, .carousel-card) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94)) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] .org-content {
  background: #ffffff !important;
}

html[data-theme="light"] .org-content::before {
  background: linear-gradient(90deg, transparent, #9333ea, transparent) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .org-name {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] :is(.org-founded, .org-description, .carousel-card .meta, .carousel-card .stats, .team-social-empty) {
  color: #475569 !important;
}

html[data-theme="light"] :is(.org-logo, .carousel-logo) {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(17, 24, 39, 0.92)) !important;
  border: 2px solid rgba(147, 51, 234, 0.72) !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14) !important;
}

html[data-theme="light"] .org-chip {
  background: rgba(151, 65, 235, 0.1) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #6d28d9 !important;
}

html[data-theme="light"] .team-hero-logo {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(17, 24, 39, 0.92)) !important;
  border: 1px solid rgba(147, 51, 234, 0.24) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .zone-pill.active {
  --bg: linear-gradient(135deg, #7c3aed, #9333ea) !important;
  --color: #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(91, 33, 182, 0.14) !important;
}

.live-activity-bar {
  position: sticky;
  top: 88px;
  left: 0;
  right: 0;
  z-index: 45;
  background: linear-gradient(90deg, rgba(153, 27, 27, 0.96), rgba(220, 38, 38, 0.94));
  backdrop-filter: blur(20px);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(127, 29, 29, 0.34);
  box-shadow: 0 8px 24px rgba(127, 29, 29, 0.18);
}

.activity-feed-container {
  max-width: 1400px;
  margin: 0 auto;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #ffffff;
  font-size: 14px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fca5a5;
  box-shadow: 0 0 0 0 rgba(252, 165, 165, 0.42);
  animation: liveTickerPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

.activity-text,
.activity-time,
.activity-link {
  color: #ffffff;
  -webkit-text-fill-color: currentColor;
}

.activity-time {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.activity-link {
  font-weight: 600;
  text-decoration: none;
  min-width: 0;
  overflow-wrap: anywhere;
}

.activity-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@keyframes liveTickerPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(252, 165, 165, 0.34);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(252, 165, 165, 0);
  }
}

@media (max-width: 900px) {
  .live-activity-bar {
    top: 104px;
    padding: 10px 14px;
  }

  .activity-item {
    gap: 8px;
    font-size: 13px;
  }

  .activity-link {
    font-size: 13px;
  }
}

html[data-theme="light"] body.landing-page .nav:not(.scrolled) {
  border-bottom: 1px solid rgba(15, 23, 42, 0.16) !important;
}

html[data-theme="light"] .landing-main .showcase-link {
  color: #7c3aed !important;
}

html[data-theme="light"] .landing-main .tournaments-list-preview .status-badge {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .landing-main .tournaments-list-preview .status-badge.status-ongoing {
  background: rgba(34, 197, 94, 0.92) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .landing-main .tournaments-list-preview .status-badge.status-upcoming {
  background: rgba(250, 204, 21, 0.82) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .landing-main .tournaments-list-preview .status-badge.status-completed {
  background: rgba(239, 68, 68, 0.92) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .landing-main .tournaments-list-preview .status-badge.status-upcoming {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: rgba(245, 158, 11, 0.32) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .landing-main .tournaments-list-preview .status-badge.status-ongoing {
  background: rgba(34, 197, 94, 0.22) !important;
  border-color: rgba(34, 197, 94, 0.32) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .landing-main .tournaments-list-preview .status-badge.status-completed {
  background: rgba(239, 68, 68, 0.22) !important;
  border-color: rgba(239, 68, 68, 0.32) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .landing-main .live-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border: 1px solid rgba(127, 29, 29, 0.18) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.16) !important;
}

html[data-theme="light"] .landing-main .live-badge .live-pulse {
  background: #fca5a5 !important;
  box-shadow: 0 0 0 4px rgba(252, 165, 165, 0.2) !important;
}

html[data-theme="light"] .landing-main .active-tournament-section .active-card,
html[data-theme="light"] .landing-main .active-tournament-section .standings-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.9)) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 18px 32px rgba(148, 163, 184, 0.1) !important;
}

html[data-theme="light"] .landing-main .active-tournament-section .active-card-header {
  border-bottom-color: rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] .landing-main #activeMvpContent,
html[data-theme="light"] .landing-main #activeStandingsContent {
  display: grid;
  gap: 10px;
}

html[data-theme="light"] .landing-main .active-tournament-section .mvp-row,
html[data-theme="light"] .landing-main .active-tournament-section .standings-table-row {
  background: rgba(248, 250, 252, 0.96) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .landing-main .active-tournament-section .mvp-row:hover,
html[data-theme="light"] .landing-main .active-tournament-section .standings-table-row:hover {
  background: rgba(241, 245, 249, 0.98) !important;
  transform: none !important;
}

html[data-theme="light"] .landing-main .active-tournament-section .standings-table-header {
  background: rgba(241, 245, 249, 0.96) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  color: #475569 !important;
}

html[data-theme="light"] .landing-main .news-section {
  padding-bottom: 40px !important;
}

html[data-theme="light"] .landing-main .motivation-section {
  padding-top: 52px !important;
  background: radial-gradient(ellipse 72% 52% at 50% 50%, rgba(139, 92, 246, 0.12), transparent 68%) !important;
}

html[data-theme="light"] .motivation-badge {
  background: rgba(139, 92, 246, 0.12) !important;
  border-color: rgba(91, 33, 182, 0.18) !important;
  color: #6d28d9 !important;
}

html[data-theme="light"] .gradient-text-blink {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top {
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.96), rgba(30, 41, 59, 0.88)) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top::before {
  opacity: 0.14 !important;
  filter: brightness(1.35) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-top::after {
  background: linear-gradient(to bottom, transparent, rgba(30, 41, 59, 0.48)) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-body {
  background: #ffffff !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .rt-card-body-line {
  background: linear-gradient(90deg, transparent, #9333ea, transparent) !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) .krafton-rank-badge {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.rt-player-card, .team-profile-page .rt-player-card) :is(.krafton-rank-number, .krafton-rank-label) {
  color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] :is(.rt-card-view, .team-profile-page .rt-card-view) {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(147, 51, 234, 0.32) !important;
  color: #6d28d9 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.rt-card-view, .team-profile-page .rt-card-view)::before {
  display: none !important;
}

html[data-theme="light"] :is(.rt-card-view, .team-profile-page .rt-card-view):hover {
  background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
  border-color: #7c3aed !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.22) !important;
}

html[data-theme="light"] :is(.rt-card-view, .team-profile-page .rt-card-view):hover span {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .player-team-logo,
html[data-theme="light"] .roster-team-logo,
html[data-theme="light"] .team-hero-logo,
html[data-theme="light"] :is(.org-logo, .carousel-logo) {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(17, 24, 39, 0.92)) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .player-team-logo,
html[data-theme="light"] .roster-team-logo,
html[data-theme="light"] .team-hero-logo {
  border: 1px solid rgba(147, 51, 234, 0.24) !important;
}

html[data-theme="light"] :is(.org-logo, .carousel-logo) {
  border: 2px solid rgba(147, 51, 234, 0.72) !important;
}

html[data-theme="light"] .org-content {
  background: #ffffff !important;
}

html[data-theme="light"] .org-content::before {
  background: linear-gradient(90deg, transparent, #9333ea, transparent) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .org-name {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] :is(.org-founded, .org-description, .carousel-card .meta, .carousel-card .stats, .team-social-empty) {
  color: #475569 !important;
}

html[data-theme="light"] .view-btn {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-card :is(.badge-organizer, .badge-upcoming, .badge-ongoing, .badge-completed) {
  border: 1px solid rgba(15, 23, 42, 0.16) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .tournament-card .badge-organizer {
  background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .tournament-card .badge-upcoming {
  background: rgba(250, 204, 21, 0.82) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .tournament-card .badge-ongoing {
  background: rgba(34, 197, 94, 0.92) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .tournament-card .badge-completed {
  background: rgba(239, 68, 68, 0.92) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .tournament-card :is(.badge-organizer, .badge-upcoming, .badge-ongoing, .badge-completed) {
  border: 1px solid rgba(148, 163, 184, 0.32) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .tournament-card .badge-organizer {
  background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .tournament-card .badge-upcoming {
  background: rgba(245, 158, 11, 0.22) !important;
  border-color: rgba(245, 158, 11, 0.32) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .tournament-card .badge-ongoing {
  background: rgba(34, 197, 94, 0.22) !important;
  border-color: rgba(34, 197, 94, 0.32) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .tournament-card .badge-completed {
  background: rgba(239, 68, 68, 0.22) !important;
  border-color: rgba(239, 68, 68, 0.32) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .decorative-line {
  background: linear-gradient(90deg, transparent 0%, #8b5cf6 50%, transparent 100%) !important;
  opacity: 0.72 !important;
}

html[data-theme="light"] .knowledge-hub .section-header p {
  color: #64748b !important;
}

html[data-theme="light"] :is(.content-container, .content-grid, .main-grid, .sidebar) {
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="light"] .sidebar-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 255, 0.93)) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.sidebar-title, .results-count) {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] :is(.trending-title, .card-title) {
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .trending-game {
  color: #6d28d9 !important;
}

html[data-theme="light"] body.landing-page .nav:not(.scrolled) {
  border-bottom: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] body.landing-page .nav:not(.scrolled) .nav-pill {
  background: transparent !important;
  border-color: rgba(15, 23, 42, 0.42) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .landing-main .tournaments-list-preview .status-badge {
  border-color: rgba(15, 23, 42, 0.22) !important;
}

html[data-theme="light"] .landing-main .tournaments-list-preview .status-badge.status-ongoing {
  background: rgba(34, 197, 94, 0.9) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .landing-main .tournaments-list-preview .status-badge.status-upcoming {
  background: rgba(250, 204, 21, 0.82) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .landing-main .tournaments-list-preview .status-badge.status-completed {
  background: rgba(239, 68, 68, 0.9) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .landing-main .live-badge {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(168, 85, 247, 0.12)) !important;
  border: 1px solid rgba(109, 40, 217, 0.2) !important;
  color: #6d28d9 !important;
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.12) !important;
}

html[data-theme="light"] .landing-main .live-badge .live-pulse {
  background: #22c55e !important;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14) !important;
}

html[data-theme="light"] .landing-main .standings-card,
html[data-theme="light"] .landing-main .standings-card .active-card-body,
html[data-theme="light"] .landing-main .standings-card .active-card-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.9)) !important;
}

html[data-theme="light"] .gradient-text-blink {
  background: linear-gradient(135deg, #9741eb 0%, #7c3aed 52%, #5a00b2 100%) !important;
  animation: none !important;
  filter: none !important;
}

html[data-theme="light"] .disclaimer-page .legal-chip {
  background: #6d28d9 !important;
  border-color: #5b21b6 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

html[data-theme="light"] .roster-team-logo {
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.94), rgba(30, 41, 59, 0.9)) !important;
  border-color: rgba(147, 51, 234, 0.42) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .teams-list-page .org-content {
  background: #ffffff !important;
}

html[data-theme="light"] .teams-list-page .org-name {
  color: var(--rt-light-text) !important;
  text-shadow: none !important;
  line-height: 1.22 !important;
  padding-bottom: 0.08em !important;
  min-height: calc(1.22em + 0.08em) !important;
  overflow: visible !important;
}

html[data-theme="light"] .teams-list-page :is(.org-founded, .org-description, .team-social-empty) {
  color: #475569 !important;
}

html[data-theme="light"] :is(.badge-breaking, .badge-featured) {
  color: #ffffff !important;
}

html[data-theme="light"] .badge-breaking {
  background: rgba(127, 29, 29, 0.92) !important;
  border-color: rgba(239, 68, 68, 0.62) !important;
}

html[data-theme="light"] .badge-featured {
  background: rgba(133, 77, 14, 0.92) !important;
  border-color: rgba(245, 158, 11, 0.62) !important;
}

@media (min-width: 901px) {
  .nav-center {
    transform: translateX(-62px) !important;
  }
}

html[data-theme="light"] .nav-pill {
  border-color: rgba(15, 23, 42, 0.46) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="light"] .landing-main .standings-card .active-card-header,
html[data-theme="light"] .landing-main .standings-card .active-card-footer {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .landing-main .view-tournament-btn {
  color: #ffffff !important;
}

html[data-theme="light"] .landing-main .gradient-text-blink {
  background: linear-gradient(135deg, #9741eb 0%, #7c3aed 52%, #5a00b2 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  background-color: transparent !important;
}

html[data-theme="light"] .roster-team-logo {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.96), rgba(49, 46, 129, 0.92)) !important;
  border-color: rgba(147, 51, 234, 0.48) !important;
}

html[data-theme="light"] .player-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.93) 100%) !important;
}

html[data-theme="light"] .player-profile-page .player-team-link,
html[data-theme="light"] .player-profile-page .team-name-link {
  border-bottom: none !important;
}

html[data-theme="light"] .player-profile-page .entity-news-section,
html:not([data-theme="light"]) .player-profile-page .entity-news-section {
  max-width: 1320px !important;
  padding: 0 clamp(24px, 5vw, 64px) !important;
  box-sizing: border-box;
}

html:not([data-theme="light"]) .player-profile-page .entity-news-title {
  color: rgba(236,225,255,0.82) !important;
}

html:not([data-theme="light"]) .player-profile-page .entity-news-carousel {
  background: transparent !important;
}

html[data-theme="light"] .player-profile-page .dev-disclaimer {
  color: #715f2c !important;
}

html[data-theme="light"] .team-profile-page .dev-disclaimer {
  color: #715f2c !important;
  border-color: rgba(245, 158, 11, 0.32) !important;
  background: rgba(255, 196, 0, 0.08) !important;
}

html[data-theme="light"] .team-profile-page .team-game-tab {
  --bg: rgba(255, 255, 255, 0.96);
  color: var(--rt-light-text) !important;
}

html[data-theme="light"] .team-profile-page .team-game-tab.active {
  --bg: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #ffffff !important;
}

html[data-theme="light"] .team-profile-page .achievement-position {
  background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
  border-color: rgba(109, 40, 217, 0.72) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .team-profile-page .achievement-game {
  background: rgba(109, 40, 217, 0.12) !important;
  border-color: rgba(109, 40, 217, 0.22) !important;
  color: #6d28d9 !important;
}

html[data-theme="light"] .team-profile-page .achievement-rank-badge {
  background: rgba(109, 40, 217, 0.1) !important;
  border-left-color: rgba(109, 40, 217, 0.18) !important;
  color: #7c3aed !important;
}

html[data-theme="dark"] .team-profile-page .achievement-position:empty,
html[data-theme="dark"] .team-profile-page .achievement-date:empty,
html[data-theme="dark"] .team-profile-page .achievement-game:empty,
html[data-theme="light"] .team-profile-page .achievement-position:empty,
html[data-theme="light"] .team-profile-page .achievement-date:empty,
html[data-theme="light"] .team-profile-page .achievement-game:empty {
  display: none !important;
}

html[data-theme="light"] :is(.activity-item, .activity-text, .activity-time, .activity-link) {
  color: #ffffff !important;
  opacity: 1 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .activity-link:hover {
  opacity: 1 !important;
}

html[data-theme="light"] :is(.roster-page .roster-team-logo, body.roster-page .roster-team-logo, .team-profile-page .roster-team-logo) {
  background: linear-gradient(135deg, #7c3aed, #4c1d95) !important;
  border: 1px solid rgba(147, 51, 234, 0.48) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .team-profile-page .team-hero-logo {
  background: linear-gradient(135deg, #7c3aed, #4c1d95) !important;
  border: 1px solid rgba(147, 51, 234, 0.38) !important;
  box-shadow: 0 12px 24px rgba(76, 29, 149, 0.16) !important;
}

html[data-theme="light"] .tournament-page .td-hero-poster {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 1rem !important;
}

html[data-theme="light"] :is(.team-profile-page .team-hero-logo img, .tournament-page .td-hero-poster img) {
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.18)) !important;
}

html[data-theme="light"] .team-profile-page .roster-toggle-btn {
  background: rgba(109, 40, 217, 0.1) !important;
  border-color: rgba(109, 40, 217, 0.32) !important;
  color: #5b21b6 !important;
}

html[data-theme="light"] .team-profile-page .roster-toggle-btn:hover {
  background: rgba(109, 40, 217, 0.16) !important;
  border-color: rgba(109, 40, 217, 0.46) !important;
  color: #4c1d95 !important;
}

html[data-theme="light"] :is(.player-profile-page, .team-profile-page) .dev-disclaimer {
  color: #715f2c !important;
  border-color: rgba(245, 158, 11, 0.32) !important;
  background: rgba(255, 196, 0, 0.08) !important;
}

html[data-theme="light"] .player-profile-page .player-team-badge {
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] .player-profile-page .team-logo-small,
html[data-theme="light"] .player-profile-page .player-team-logo {
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

html[data-theme="light"] .player-profile-page :is(.team-name-large, .player-team-link) {
  color: #0f172a !important;
  text-shadow: none !important;
  line-height: 1.35;
}

html[data-theme="light"] .player-profile-page .player-team-link:hover {
  color: #6d28d9 !important;
}

html[data-theme="light"] .player-profile-page .player-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.96) 100%) !important;
}

html[data-theme="light"] .player-profile-page .player-hero-bg {
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.08) 0%, rgba(255, 255, 255, 0.92) 100%) !important;
}

html[data-theme="light"] .player-profile-page .player-hero::before {
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.28) 48%, rgba(255, 255, 255, 0.08) 76%, rgba(255, 255, 255, 0) 100%) !important;
}

html[data-theme="light"] .player-profile-page .player-hero::after {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0) 100%) !important;
}

html[data-theme="light"] .player-profile-page :is(.player-main-image, .player-hero-img) {
  filter: drop-shadow(0 10px 26px rgba(15, 23, 42, 0.14)) !important;
}

html[data-theme="light"] .player-profile-page .career-stat-item {
  border: 1px solid rgba(109, 40, 217, 0.14) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62), 0 10px 22px rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] .player-profile-page .career-stat-item::after {
  background: radial-gradient(circle, rgba(109, 40, 217, 0.08), transparent 72%) !important;
}

html[data-theme="light"] .player-profile-page .career-stat-value {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: #5b21b6 !important;
}

html[data-theme="light"] .player-profile-page .career-stat-label {
  color: #64748b !important;
}

html[data-theme="light"] .player-profile-page .global-points-row {
  border: 1px solid rgba(109, 40, 217, 0.22) !important;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.1), rgba(124, 58, 237, 0.06)) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45) !important;
}

html[data-theme="light"] .player-profile-page .gp-label {
  color: #5b21b6 !important;
}

html[data-theme="light"] .player-profile-page .gp-value {
  color: #4c1d95 !important;
}

html[data-theme="light"] .live-activity-bar :is(.activity-item, .activity-text, .activity-time, .activity-link) {
  color: #ffffff !important;
  opacity: 1 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .live-activity-bar .activity-link:hover {
  color: #ffffff !important;
  opacity: 1 !important;
}

html[data-theme="light"] .tournament-page :is(.td-hero-chip, .badge-organizer, .badge-status, .status-badge) {
  border-radius: 999px;
  font-weight: 700;
}

html[data-theme="light"] .tournament-page .td-hero-chip--game {
  background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
  border: 1px solid rgba(15, 23, 42, 0.16) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .tournament-page .td-hero-chip--official {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.84)) !important;
  border: 1px solid rgba(15, 23, 42, 0.52) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .tournament-page :is(.td-hero-tab, .td-live-tab, .td-control-tab, .stage-tab) {
  color: #334155 !important;
}

html[data-theme="light"] .tournament-page :is(.td-hero-tab--active, .td-live-tab.td-hero-tab--active, .td-control-tab.td-hero-tab--active, .td-result-group-tab.td-hero-tab--active, .td-result-stage-tab.td-hero-tab--active, .stage-tab.active) {
  --bg: linear-gradient(135deg, #7c3aed, #5b21b6) !important;
  color: #ffffff !important;
  border-color: rgba(76, 29, 149, 0.5) !important;
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.18) !important;
}

html[data-theme="light"] .tournament-page #live-box {
  background: transparent !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  padding: 1rem 1rem 0 !important;
}

html[data-theme="light"] .tournament-page .lc-player {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}

html[data-theme="light"] .tournament-page :is(.lc-stage, .lc-credit, .lc-empty, .lc-cal-wd, .lc-cal-d) {
  color: #334155 !important;
}

html[data-theme="light"] .tournament-page .lc-stage {
  padding-bottom: 0.6rem !important;
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
}

html[data-theme="light"] .tournament-page .lc-cal-m {
  color: #64748b !important;
}

html[data-theme="light"] .tournament-page .lc-cal-day {
  background: linear-gradient(135deg, #6d28d9, #4c1d95) !important;
  border-color: rgba(76, 29, 149, 0.78) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .tournament-page .lc-cal-day:hover {
  background: linear-gradient(135deg, #7c3aed, #5b21b6) !important;
  border-color: rgba(76, 29, 149, 0.9) !important;
  color: #ffffff !important;
}

html[data-theme="light"] .tournament-page .lc-cal-day--active {
  background: linear-gradient(135deg, #7c3aed, #5b21b6) !important;
  border-color: rgba(76, 29, 149, 0.78) !important;
}

html[data-theme="light"] .tournament-page .lc-cal-day--active :is(.lc-cal-wd, .lc-cal-d, .lc-cal-m) {
  color: #ffffff !important;
}

html[data-theme="light"] .tournament-page .lc-cal-day :is(.lc-cal-wd, .lc-cal-d, .lc-cal-m),
html[data-theme="light"] .tournament-page .lc-cal-day--today .lc-cal-d {
  color: #ffffff !important;
}

html[data-theme="light"] .tournament-page .lc-credit-link {
  color: #7c3aed !important;
}

html[data-theme="light"] .tournament-page .lc-credit-link:hover {
  color: #5b21b6 !important;
}

html[data-theme="light"] .tournament-page .td-format-stage {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)) !important;
  border: 1px solid rgba(139, 92, 246, 0.45) !important;
  border-left: 4px solid #7c3aed !important;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.1) !important;
}

html[data-theme="light"] .tournament-page :is(.td-format-stage-name, .td-format-stage-teams, .td-format-stage-dates, .td-format-qualification) {
  color: #334155 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-format-stage-name {
  color: #4c1d95 !important;
}

html[data-theme="light"] .tournament-page .td-format-stage-dates {
  color: #475569 !important;
}

html[data-theme="light"] .tournament-page .td-format-qualification {
  border-top-color: rgba(148, 163, 184, 0.16) !important;
  color: #475569 !important;
}

html[data-theme="light"] :is(.trending-section, .editors-pick-section) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 255, 0.93)) !important;
  border: 1px solid rgba(124, 58, 237, 0.65) !important;
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.52) !important;
}

html[data-theme="light"] :is(.trending-item, .editor-card) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)) !important;
  border: 1px solid rgba(124, 58, 237, 0.65) !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.trending-item, .editor-card):hover {
  background: rgba(147, 51, 234, 0.08) !important;
  border-color: rgba(147, 51, 234, 0.28) !important;
}

html[data-theme="light"] .map-zone {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .map-zone:hover {
  border-color: rgba(147, 51, 234, 0.32) !important;
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] .zone-preview {
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media (min-width: 561px) {
  html[data-theme="light"] .zone-preview {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
    padding: 20px !important;
    margin: 0 !important;
    border-radius: inherit !important;
  }

  html[data-theme="light"] .preview-action {
    align-self: stretch !important;
    min-width: 0 !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

@media (max-width: 560px) {
  html[data-theme="light"] .zone-preview {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: inherit !important;
  }

  html[data-theme="light"] .preview-action {
    background: rgba(124, 58, 237, 0.12) !important;
    border-color: rgba(124, 58, 237, 0.22) !important;
  }
}

html[data-theme="light"] :is(.zone-name, .preview-title) {
  color: var(--rt-light-text) !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .article-page .hero-image-block {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
  top: calc(var(--ranktria-sticky-stack-bottom, 104px) + 6px) !important;
}

html[data-theme="light"] .article-page .hero-image-block::before {
  display: none !important;
  background: none !important;
}

html[data-theme="light"] .article-page .hero-image-block img {
  object-position: center top !important;
}

html[data-theme="light"] .tournament-page {
  background: #ffffff !important;
}

html[data-theme="light"] .tournament-page .td-hero-bg {
  background: linear-gradient(135deg, rgba(151, 65, 235, 0.08) 0%, rgba(255, 255, 255, 0.92) 100%) !important;
}

html[data-theme="light"] .tournament-page :is(.td-section, .td-card, #live-box, .lc-player, .td-prize-total, .td-prize-card) {
  background: transparent !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .tournament-page :is(.td-hero-countdown::after, .td-hero-countdown--live::after, .td-hero-countdown--countdown::after, .td-hero-countdown--result::after) {
  background: rgba(255, 255, 255, 0.98) !important;
}

html[data-theme="light"] .tournament-page :is(.td-hero-countdown .td-countdown-label, .td-hero-countdown .td-countdown-value, .td-hero-result-title, .td-hero-result-value) {
  color: #0f172a !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-hero-countdown--live .td-countdown-value.live-blink {
  color: #0f172a !important;
  text-shadow: none !important;
}

html[data-theme="light"] .tournament-page #td-register-btn {
  --bg: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] .tournament-page .button .knobs:before {
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .tournament-page .layer {
  background-color: rgba(233, 213, 255, 0.6) !important;
}

html[data-theme="light"] .tournament-page .lc-player {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
}

html[data-theme="light"] .tournament-page .lc-stage {
  color: #0f172a !important;
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
}

html[data-theme="light"] .tournament-page .lc-credit {
  margin: 0.6rem 0 0 !important;
  padding: 0 0 1rem 0 !important;
}

html[data-theme="light"] .tournament-page .td-format-stage:nth-child(3n+1) {
  border-left: 4px solid #6366f1 !important;
}

html[data-theme="light"] .tournament-page .td-format-stage:nth-child(3n+2) {
  border-left: 4px solid #8b5cf6 !important;
}

html[data-theme="light"] .tournament-page .td-format-stage:nth-child(3n+3) {
  border-left: 4px solid #7c3aed !important;
}

html[data-theme="light"] .tournament-page :is(.td-results-dropdown-option.active, .td-result-group-tab.td-hero-tab--active, .td-result-stage-tab.td-hero-tab--active, .td-live-tab.td-hero-tab--active, .td-control-tab.td-hero-tab--active, .stage-tab.active, .td-hero-tab--active) {
  color: #ffffff !important;
}

html[data-theme="light"] .tournament-page .td-results-dropdown-menu {
  background: rgba(15, 23, 42, 0.98) !important;
  border-color: rgba(139, 92, 246, 0.45) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-results-dropdown-menu .td-results-dropdown-option {
  color: #ffffff !important;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
}

html[data-theme="light"] .tournament-page .td-results-dropdown-menu .td-results-dropdown-option::before,
html[data-theme="light"] .tournament-page .td-results-dropdown-menu .td-results-dropdown-option::after {
  background: transparent !important;
  clip-path: none !important;
}

html[data-theme="light"] .tournament-page .td-results-dropdown-menu .td-results-dropdown-option:where(:hover, :focus) {
  transform: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] .tournament-page .td-results-dropdown-option.active,
html[data-theme="light"] .tournament-page .td-results-dropdown-menu .td-results-dropdown-option.active,
html[data-theme="light"] .tournament-page .td-results-dropdown-option.td-hero-tab.active,
html[data-theme="light"] .tournament-page .td-results-dropdown-option.active .td-results-dropdown-label,
html[data-theme="light"] .tournament-page .td-results-dropdown-menu .td-results-dropdown-option.active .td-results-dropdown-label {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-results-dropdown-option.active::after {
  background: transparent !important;
}

html[data-theme="light"] .tournament-page .td-results-dropdown-trigger,
html[data-theme="light"] .tournament-page .td-results-dropdown-trigger .td-results-dropdown-label,
html[data-theme="light"] .tournament-page .td-results-dropdown-trigger::after {
  color: #0f172a !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-casters-heading {
  color: #0f172a !important;
}

html[data-theme="light"] .tournament-page .td-standings-table {
  background: #ffffff !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
}

html[data-theme="light"] .tournament-page .td-standings-table.td-card {
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  background: #ffffff !important;
}

html[data-theme="light"] .tournament-page .td-standings-header {
  background: #ffffff !important;
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .td-standings-header .mw-summary-col--wwcd::after,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .td-standings-header .mw-summary-col--finish::after,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .td-standings-header .mw-summary-col--place::after,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .td-standings-header .mw-summary-col--total::after {
  color: rgba(15, 23, 42, 0.8) !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .td-standings-header .mw-summary-col--total,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .td-standings-header .mw-summary-col--total::after,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row .mw-summary-col--total,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .mw-summary-total {
  color: #7c3aed !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .result-row,
html[data-theme="light"] .tournament-page .result-row--qualified,
html[data-theme="light"] .tournament-page .result-row--dq {
  background: #ffffff !important;
}

html[data-theme="light"] .tournament-page :is(.result-row > span, .result-row span:first-child, .result-team-name, .mw-summary-col, .mw-match-cell > .mw-match-cell-top) {
  color: #0f172a !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page :is(.mw-match-cell > .mw-match-cell-bottom, .mw-team-group-tag) {
  color: #334155 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] {
  background: #ffffff !important;
  border-radius: 16px;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .td-standings-header,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .mw-summary-col,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .mw-match-cell,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .td-standings-pagination {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--qualified > :is(.mw-summary-col, .mw-match-cell) {
  background: rgba(240, 253, 244, 0.98) !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--dq > :is(.mw-summary-col, .mw-match-cell) {
  background: rgba(254, 242, 242, 0.98) !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--qualified .mw-summary-col--rank {
  border-left-color: var(--row-accent, #166534) !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--eliminated .mw-summary-col--rank,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--dq .mw-summary-col--rank {
  border-left-color: #7f1d1d !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--podium-1 .mw-summary-col--rank {
  border-left-color: #fbbf24 !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--podium-2 .mw-summary-col--rank {
  border-left-color: #cbd5e1 !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--podium-3 .mw-summary-col--rank {
  border-left-color: #c08457 !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] :is(
  .td-standings-header > span,
  .td-standings-header .mw-summary-col,
  .result-row .mw-summary-col,
  .mw-summary-col--team .result-team-name,
  .mw-summary-total,
  .mw-match-head,
  .mw-match-head-top,
  .mw-match-head-bottom,
  .mw-match-cell > .mw-match-cell-top,
  .mw-summary-col--place,
  .mw-summary-col--finish,
  .mw-summary-col--mp,
  .mw-summary-col--wwcd,
  .result-row span,
  .result-team-name
) {
  color: #0f172a !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] :is(.mw-match-cell > .mw-match-cell-bottom, .mw-team-group-tag, .td-standings-page-info) {
  color: #334155 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-standings-pagination {
  background: #ffffff !important;
  border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
}

html[data-theme="light"] .tournament-page .td-standings-page-info {
  color: #0f172a !important;
}

html[data-theme="light"] .tournament-page .td-standings-page-btn {
  background: #ffffff !important;
  border-color: rgba(76, 29, 149, 0.34) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .tournament-page .td-standings-page-btn:disabled {
  opacity: 0.5;
}

html[data-theme="light"] .tournament-page .result-legend-item {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.98) !important;
}

html[data-theme="light"] .tournament-page .result-legend-item--qualified {
  border-color: color-mix(in srgb, var(--legend-color, #166534) 42%, transparent) !important;
  background: rgba(240, 253, 244, 0.98) !important;
}

html[data-theme="light"] .tournament-page .result-legend-item--eliminated {
  border-color: #991b1b !important;
  background: rgba(254, 242, 242, 0.98) !important;
}

html[data-theme="light"] .tournament-page .result-legend-dot {
  background: var(--legend-color, #166534) !important;
}

html[data-theme="light"] .tournament-page .result-legend-item--eliminated .result-legend-dot {
  background: #991b1b !important;
}

html[data-theme="light"] .tournament-page #standings-body > p {
  margin: 0;
  padding: 1rem 1.25rem;
  background: #ffffff !important;
  color: #0f172a !important;
}

html[data-theme="light"] .tournament-page :is(.result-badge--qualified, .result-badge--eliminated, .result-badge--dq) {
  color: #ffffff !important;
}

html[data-theme="light"] .tournament-page .result-badge--qualified {
  background: #166534 !important;
  border-color: #14532d !important;
}

html[data-theme="light"] .tournament-page .result-badge--eliminated {
  background: #991b1b !important;
  border-color: #991b1b !important;
  width: 16px;
  min-width: 16px;
  height: 10px;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

html[data-theme="light"] .tournament-page .result-badge--dq {
  background: #991b1b !important;
  border-color: #991b1b !important;
}

html[data-theme="light"] .tournament-page .result-team-logo {
  overflow: visible !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

html[data-theme="light"] .tournament-page .result-team-logo img {
  transform: none !important;
  max-height: 100% !important;
}

html[data-theme="light"] .tournament-page :is(.td-team-front, .td-team-back) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .tournament-page .td-team-logo,
html[data-theme="light"] .tournament-page .td-team-logo img {
  box-shadow: none !important;
  filter: none !important;
}

html[data-theme="light"] .tournament-page :is(.td-team-name, .td-team-name-link, .td-team-name-button, .td-team-group, .td-team-hint, .td-team-back-title, .td-roster-ign, .td-roster-role, .td-roster-link, .td-team-back-close) {
  color: #0f172a !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-team-hint,
html[data-theme="light"] .tournament-page .td-roster-role {
  color: #475569 !important;
}

html[data-theme="light"] .tournament-page .td-team-name-link:hover,
html[data-theme="light"] .tournament-page .td-team-name-link:focus-visible,
html[data-theme="light"] .tournament-page .td-roster-link:hover,
html[data-theme="light"] .tournament-page .td-roster-link:focus-visible {
  color: #6d28d9 !important;
}

html[data-theme="light"] .tournament-page .td-team-logo-placeholder {
  color: #334155 !important;
}

html[data-theme="light"] .tournament-page .td-news-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .tournament-page :is(.td-news-title, .td-news-date) {
  color: #0f172a !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-news-date {
  color: #475569 !important;
}

html[data-theme="light"] .tournament-page .td-news-card:hover {
  background: rgba(147, 51, 234, 0.06) !important;
  border-color: rgba(151, 65, 235, 0.28) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .tournament-page .td-news-image::after {
  content: none !important;
}

html[data-theme="light"] .tournament-page :is(.td-prize-total, .td-prize-card) {
  background: transparent !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .tournament-page .td-prize-position {
  color: #6d28d9 !important;
}

html[data-theme="light"] .tournament-page :is(.td-prize-value, .td-prize-winner) {
  color: #0f172a !important;
}

html[data-theme="light"] .about-page,
html[data-theme="light"] :is(.about-hero, .about-chapters, .about-news, .about-progression, .about-founder.v2, .about-newsletter, .roadmap-fixed) {
  background: #ffffff !important;
}

html[data-theme="light"] :is(.about-hero-glow-1, .about-hero-glow-2) {
  opacity: 0 !important;
}

html[data-theme="light"] .prog-dot {
  background: #9741eb !important;
  border-color: #9741eb !important;
  box-shadow: none !important;
}

html[data-theme="light"] .prog-dot.done {
  background: #22c55e !important;
  border-color: #22c55e !important;
}

html[data-theme="light"] .prog-dot.active {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
}

html[data-theme="light"] .prog-qlabel {
  color: #9741eb !important;
}

html[data-theme="light"] .roadmap-fixed .node {
  fill: #9741eb !important;
  stroke: #9741eb !important;
  filter: none !important;
}

html[data-theme="light"] .roadmap-fixed .node.active {
  fill: #7c3aed !important;
  stroke: #7c3aed !important;
}

html[data-theme="light"] :is(.roster-page .roster-team-logo, body.roster-page .roster-team-logo) {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: none !important;
}

html[data-theme="light"] :is(.roster-page .roster-team-logo img, body.roster-page .roster-team-logo img) {
  filter: none !important;
}

html[data-theme="light"] .team-profile-page .team-hero-logo {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html[data-theme="light"] .team-profile-page .team-hero-logo img {
  filter: none !important;
}

html[data-theme="light"] .team-profile-page :is(.org-logo, .carousel-logo) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] .tournament-page .td-team-logo {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  padding: 0 !important;
}

html[data-theme="light"] .tournament-page .td-team-logo::before {
  content: none !important;
}

html[data-theme="light"] .tournament-page .td-team-logo img {
  filter: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] .tournament-page :is(.td-standings-header > span, .result-row > span, .result-row--qualified > span, .result-row--dq > span) {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] :is(
  .td-standings-header,
  .td-standings-header > span,
  .result-row,
  .result-row > .mw-summary-col,
  .result-row > .mw-match-cell,
  .mw-match-head,
  .mw-match-cell,
  .mw-match-cell--empty,
  .td-standings-pagination
) {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  opacity: 1 !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .mw-match-head {
  background: #f8fafc !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--qualified > :is(.mw-summary-col, .mw-match-cell) {
  background: #e8f7ec !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--dq > :is(.mw-summary-col, .mw-match-cell) {
  background: #fef2f2 !important;
}

html[data-theme="light"] .about-page,
html[data-theme="light"] .about-page :is(.about-hero, .about-hero.v2, .about-chapters, .about-news, .about-progression, .about-founder, .about-founder.v2, .about-newsletter, .roadmap-fixed) {
  background: #ffffff !important;
}

html[data-theme="light"] .about-page :is(.hero-grid-overlay, .hero-orb, .about-hero-glow-1, .about-hero-glow-2, .about-hero canvas.hero-stars) {
  opacity: 0 !important;
  background: none !important;
}

html[data-theme="light"] .about-page .nav.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(16px) !important;
}

html[data-theme="light"],
html[data-theme="light"] body.about-page {
  background: #ffffff !important;
}

html[data-theme="light"] .about-page {
  background-image: none !important;
}

html[data-theme="light"] .teams-list-page :is(.team-unified-card, .carousel-card) {
  border-color: rgba(147, 51, 234, 0.72) !important;
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] .teams-list-page :is(.org-logo, .carousel-logo) {
  background: #ffffff !important;
  border: 2px solid rgba(147, 51, 234, 0.72) !important;
  box-shadow: none !important;
}

html[data-theme="light"] .teams-list-page :is(.org-logo img, .carousel-logo img) {
  filter: none !important;
}

html[data-theme="light"] .tournament-page .result-row--qualified > :is(.mw-summary-col, .mw-match-cell),
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--qualified > :is(.mw-summary-col, .mw-match-cell),
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--dq > :is(.mw-summary-col, .mw-match-cell) {
  background: #ffffff !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--qualified .mw-summary-col--rank {
  border-left-color: var(--row-accent, #f59e0b) !important;
}

html[data-theme="light"] .tournament-page :is(.result-row--podium-1, .result-row--podium-2, .result-row--podium-3) {
  color: #0f172a !important;
}

html[data-theme="light"] .tournament-page .result-row--podium-1 {
  background: rgba(251, 191, 36, 0.12) !important;
}

html[data-theme="light"] .tournament-page .result-row--podium-2 {
  background: rgba(203, 213, 225, 0.22) !important;
}

html[data-theme="light"] .tournament-page .result-row--podium-3 {
  background: rgba(192, 132, 87, 0.14) !important;
}

html[data-theme="light"] .tournament-page :is(.result-row--podium-1:hover, .result-row--podium-2:hover, .result-row--podium-3:hover) {
  filter: none !important;
}

html[data-theme="light"] #roadmap-base {
  stroke: rgba(148, 163, 184, 0.35) !important;
}

html[data-theme="light"] #roadmap-glow {
  stroke: rgba(151, 65, 235, 0.55) !important;
  stroke-opacity: 1 !important;
}

html[data-theme="light"] .about-page :is(.about-stats, .about-stats .section-wrap) {
  background: #ffffff !important;
}

html[data-theme="light"] .about-page .about-stats {
  background-image: none !important;
}

html[data-theme="light"] .tournament-page :is(
  .td-format-stage:nth-child(3n+1) .td-format-stage-name,
  .td-format-stage:nth-child(3n+2) .td-format-stage-name,
  .td-format-stage:nth-child(3n+3) .td-format-stage-name
) {
  color: #0f172a !important;
}

html[data-theme="light"] .tournament-page .result-row--eliminated {
  background: rgba(255, 255, 255, 0.94) !important;
  border-left-color: #991b1b !important;
}

html[data-theme="light"] .tournament-page .result-row--podium-1 {
  background: rgba(184, 134, 11, 0.16) !important;
  border-left-color: #b8860b !important;
}

html[data-theme="light"] .tournament-page .result-row--podium-2 {
  background: rgba(148, 163, 184, 0.2) !important;
  border-left-color: #94a3b8 !important;
}

html[data-theme="light"] .tournament-page .result-row--podium-3 {
  background: rgba(146, 87, 43, 0.16) !important;
  border-left-color: #92572b !important;
}

html[data-theme="light"] .tournament-page :is(.result-row--podium-1, .result-row--podium-2, .result-row--podium-3, .result-row--eliminated) > span {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] :is(.result-row--podium-1, .result-row--podium-2, .result-row--podium-3, .result-row--eliminated) > .mw-summary-col {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] :is(.result-row--podium-1, .result-row--podium-2, .result-row--podium-3, .result-row--eliminated) > .mw-match-cell {
  background: transparent !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--podium-1 .mw-summary-col--rank {
  border-left-color: #b8860b !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--podium-2 .mw-summary-col--rank {
  border-left-color: #94a3b8 !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--podium-3 .mw-summary-col--rank {
  border-left-color: #92572b !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row--eliminated .mw-summary-col--rank {
  border-left-color: #991b1b !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] :is(.td-standings-header .mw-summary-col--wwcd, .result-row .mw-summary-col--wwcd) {
  color: #f59e0b !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .mw-match-cell--win > .mw-match-cell-top {
  color: #fbbf24 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page :is(
  .result-row--podium-1,
  .result-row--podium-2,
  .result-row--podium-3,
  .result-row--podium-1:hover,
  .result-row--podium-2:hover,
  .result-row--podium-3:hover
) {
  background: #ffffff !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .mw-match-cell--win {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.18)) !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .mw-match-cell--win > .mw-match-cell-top {
  color: #fbbf24 !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .mw-match-cell--win > .mw-match-cell-bottom {
  color: #fbbf24 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page #tie-break-toggle {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page #tie-break-content > div {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
}

html[data-theme="light"] .tournament-page #tie-break-content h4,
html[data-theme="light"] .tournament-page #tie-break-content strong {
  color: #0f172a !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page #tie-break-content p {
  color: #334155 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal {
  background: rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(8px) !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .modal-container {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18) !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .modal-header {
  background: #ffffff !important;
  border-bottom-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .modal-header h2,
html[data-theme="light"] .tournament-page #disqualified-modal .modal-body,
html[data-theme="light"] .tournament-page #disqualified-modal .td-context-text,
html[data-theme="light"] .tournament-page #disqualified-modal .disqualified-table td {
  color: #0f172a !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .modal-close {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
  color: #0f172a !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .modal-close:hover {
  background: rgba(151, 65, 235, 0.08) !important;
  border-color: rgba(151, 65, 235, 0.24) !important;
  color: #5b21b6 !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .modal-body::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.12) !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(151, 65, 235, 0.36) !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .disqualification-section h3 {
  color: #5b21b6 !important;
  border-bottom-color: rgba(151, 65, 235, 0.24) !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .disqualified-table table {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .disqualified-table thead {
  background: rgba(151, 65, 235, 0.08) !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .disqualified-table th {
  color: #334155 !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .disqualified-table td {
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .disqualified-table tbody tr:hover {
  background: rgba(151, 65, 235, 0.06) !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .status-badge {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border-color: #fecaca !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .violation-code {
  background: rgba(151, 65, 235, 0.1) !important;
  color: #5b21b6 !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal :is(
  .td-results-dropdown-trigger,
  .td-results-dropdown-menu,
  .td-results-dropdown-option
) {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page #disqualified-modal .td-results-dropdown-option.active {
  background: rgba(151, 65, 235, 0.1) !important;
  border-color: rgba(151, 65, 235, 0.24) !important;
  color: #5b21b6 !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] :is(.td-standings-header .mw-summary-col--wwcd, .result-row .mw-summary-col--wwcd) {
  color: #0f172a !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .mw-match-cell--win > .mw-match-cell-top,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .mw-match-cell--win > .mw-match-cell-bottom {
  color: #fbbf24 !important;
  font-weight: 700 !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-format-stage.active,
html[data-theme="light"] .tournament-page .td-format-stage.active:nth-child(n) {
  background: linear-gradient(180deg, #ffffff, #faf5ff) !important;
  border-left-color: #9741eb !important;
}

html[data-theme="light"] .tournament-page .td-format-qualification strong {
  color: #9741eb !important;
  -webkit-text-fill-color: currentColor !important;
}

@media (max-width: 1024px) {
  html[data-theme="light"] .article-page .hero-image-block {
    position: relative !important;
    top: auto !important;
    will-change: auto !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  html[data-theme="light"] .player-profile-page .team-logo-small {
    display: block !important;
    width: 80px !important;
    height: 40px !important;
    min-width: 80px !important;
    max-width: 100px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  html[data-theme="light"] .team-profile-page .team-hero-logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

html[data-theme="light"] .tournament-page .td-format-stage {
  border-left: 4px solid #7c3aed !important;
}

html[data-theme="light"] .tournament-page .td-format-stage:nth-child(3n+1) {
  border-left-color: #6366f1 !important;
}

html[data-theme="light"] .tournament-page .td-format-stage:nth-child(3n+2) {
  border-left-color: #8b5cf6 !important;
}

html[data-theme="light"] .tournament-page .td-format-stage:nth-child(3n+3) {
  border-left-color: #7c3aed !important;
}

html[data-theme="light"] .tournament-page .td-format-stage.active,
html[data-theme="light"] .tournament-page .td-format-stage.active:nth-child(n) {
  border-left-color: #9741eb !important;
}

html[data-theme="light"] .tournament-page .series-switcher-row + .series-switcher-row {
  border-top-color: rgba(0, 0, 0, 0.07);
}

html[data-theme="light"] .tournament-page .series-switcher-title {
  color: #111827;
}

html[data-theme="light"] .tournament-page .series-switcher-inner {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .tournament-page .series-switcher-label {
  color: #111827;
}

html[data-theme="light"] .tournament-page .series-nav-arrow {
  color: #111827;
  border-color: rgba(124, 58, 237, 0.55);
  background: #fff;
}

html[data-theme="light"] .tournament-page .series-nav-arrow:hover {
  color: #7c3aed;
  border-color: #6d28d9;
  background: rgba(124, 58, 237, 0.08);
}

html[data-theme="light"] .tournament-page .series-nav-arrow--ghost:hover {
  color: #7c3aed;
  border-color: #5b21b6;
  background: rgba(124, 58, 237, 0.08);
}

html[data-theme="light"] .tournament-page .series-pill {
  color: #111827;
  border-color: rgba(124, 58, 237, 0.55);
  background: #fff;
}

html[data-theme="light"] .tournament-page .series-pill:hover {
  border-color: #6d28d9;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
}

html[data-theme="light"] .tournament-page .series-pill--ghost:hover {
  color: #7c3aed;
  border-color: #5b21b6;
  background: rgba(124, 58, 237, 0.08);
}

html[data-theme="light"] .tournament-page .series-pill--active {
  background: #6d28d9;
  border-color: #5b21b6;
  color: #fff;
  box-shadow: none;
}

html[data-theme="light"] .tournament-page .series-all-btn {
  color: #111827;
}

html[data-theme="light"] .tournament-page .series-all-dropdown {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.09);
}

/* Strong light-theme tournament overrides for filter text, total points, and standings borders */
html[data-theme="light"] .tournament-page .td-results-dropdown-option.active,
html[data-theme="light"] .tournament-page .td-results-dropdown-option.active.td-hero-tab {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-results-dropdown-option.active::after {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
}

html[data-theme="light"] .tournament-page .td-standings-table,
html[data-theme="light"] .tournament-page .td-standings-table.td-card {
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  background: #ffffff !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .td-standings-header .mw-summary-col--total,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .td-standings-header .mw-summary-col--total::after,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .result-row .mw-summary-col--total,
html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .mw-summary-total {
  color: #7c3aed !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tournament-page .td-standings-inner[data-matchwise-active="true"] .td-standings-pagination {
  border-top: 1px solid rgba(148, 163, 184, 0.22) !important;
}
