/*
 * RuneTopic public design system â€” August 2026
 * A single, deliberate visual language for the homepage, toplist and discovery pages.
 */

:root {
  --rt2-bg: #080a0f;
  --rt2-bg-raised: #0d1017;
  --rt2-surface: #121722;
  --rt2-surface-2: #171d29;
  --rt2-surface-warm: #18150f;
  --rt2-line: #293140;
  --rt2-line-soft: #1d2430;
  --rt2-text: #f3efe6;
  --rt2-copy: #b1b8c5;
  --rt2-muted: #7f8999;
  --rt2-gold: #d4a941;
  --rt2-gold-bright: #f0cb6b;
  --rt2-purple: #8d55c7;
  --rt2-purple-soft: #b68add;
  --rt2-green: #56c99d;
  --rt2-red: #e27b82;
  --rt2-radius-sm: 4px;
  --rt2-radius: 7px;
  --rt2-radius-lg: 10px;
  --rt2-space-1: 6px;
  --rt2-space-2: 10px;
  --rt2-space-3: 14px;
  --rt2-space-4: 20px;
  --rt2-space-5: 28px;
  --rt2-space-6: 40px;
  --rt2-space-7: 56px;
  --rt2-display: Georgia, "Times New Roman", serif;
  --rt2-ui: Inter, "Segoe UI", Arial, sans-serif;
  --rt2-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

html { background: var(--rt2-bg); }
body,
.site {
  background: var(--rt2-bg) !important;
  color: var(--rt2-text);
  font-family: var(--rt2-ui) !important;
  font-size: 15px;
  line-height: 1.6;
}

body :where(h1, h2, h3, h4, h5, h6),
.site :where(h1, h2, h3, h4, h5, h6) {
  color: var(--rt2-text);
  font-family: var(--rt2-display);
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.14;
}

body :where(p, li),
.site :where(p, li) { line-height: 1.68; }
body :where(button, input, select, textarea),
.site :where(button, input, select, textarea) { font-family: var(--rt2-ui); }
body :where(a, button) { -webkit-tap-highlight-color: transparent; }
body :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--rt2-gold-bright) !important;
  outline-offset: 3px;
}

/* Shared masthead: readable, calm and identical throughout the public site. */
.site .notice,
.rt-site-notice {
  min-height: 36px !important;
  padding: 7px 20px !important;
  border-bottom: 1px solid #4c3b20 !important;
  background: #15120c !important;
  color: #d8c7a3 !important;
  font-size: 12px !important;
  letter-spacing: .01em !important;
}
.site .notice button,
.rt-site-notice a { color: var(--rt2-gold-bright) !important; font-size: 12px !important; }
.site .header,
.app-topbar {
  height: 72px !important;
  border-bottom: 1px solid var(--rt2-line-soft) !important;
  background: rgba(8, 10, 15, .97) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .22) !important;
  backdrop-filter: blur(14px) !important;
}
.site .header-inner,
.app-topbar .topbar-menu { height: 72px !important; }
.site .nav button,
.site .nav > a,
.site .nav > .rt-home-direct,
.rt-global-nav > a,
.rt-nav-group > summary {
  height: 48px !important;
  padding: 0 13px !important;
  color: #a9b0bc !important;
  font-family: var(--rt2-ui) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .035em !important;
}
.site .nav button:hover,
.site .nav > a:hover,
.rt-global-nav > a:hover,
.rt-nav-group > summary:hover { color: #fff !important; }
.site .nav button.active:after,
.rt-global-nav > a.is-active:after,
.rt-nav-group.is-active > summary:before {
  height: 2px !important;
  background: var(--rt2-gold) !important;
}
.site .nav-menu,
.rt-nav-menu {
  padding: 12px !important;
  border: 1px solid var(--rt2-line) !important;
  border-radius: var(--rt2-radius-lg) !important;
  background: #0c1017 !important;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .5) !important;
}
.site .nav-menu .rt-home-nav-link,
.rt-nav-menu a {
  min-height: 44px !important;
  padding: 9px 11px !important;
  border-radius: var(--rt2-radius-sm) !important;
  color: var(--rt2-copy) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}
.site .nav-menu .rt-home-nav-link:hover,
.rt-nav-menu a:hover,
.rt-nav-menu a.is-active {
  background: #171c26 !important;
  color: #fff !important;
}
.site .nav-menu .rt-home-nav-icon,
.rt-nav-menu a i { color: var(--rt2-gold) !important; }
.rt-nav-menu:before {
  color: var(--rt2-text) !important;
  font-family: var(--rt2-display) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}

/* Buttons use one height, one text size and two clear levels. */
.site :where(.primary, .secondary, .ranking-vote, .ranking-visit, .load-more),
body :where(.rt-btn, .btn, .rtu-actions a, .rtn-actions a, .sotd-actions a, .rtr-links a, .rtsp-actions a),
body :where(.rtsr-form button, .rts-tabs a, .rtc-pages a) {
  min-height: 44px !important;
  border-radius: var(--rt2-radius-sm) !important;
  font-family: var(--rt2-ui) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.15 !important;
  letter-spacing: .01em !important;
  box-shadow: none !important;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease !important;
}
.site :where(.primary, .ranking-vote),
body :where(.rt-btn--gold, .rt-btn--purple, .btn-primary, .sotd-actions .gold),
body :where(.rtsr-form button, .rtn-actions a:last-child) {
  border: 1px solid #e3bd5d !important;
  background: var(--rt2-gold) !important;
  color: #171207 !important;
}
.site :where(.primary, .ranking-vote):hover,
body :where(.rt-btn--gold, .rt-btn--purple, .btn-primary, .sotd-actions .gold):hover,
body :where(.rtsr-form button, .rtn-actions a:last-child):hover {
  background: var(--rt2-gold-bright) !important;
  transform: none !important;
}
.site :where(.secondary, .ranking-visit, .load-more),
body :where(.btn-secondary, .rtr-links a, .rtu-actions a, .rtsp-actions a, .rtn-actions a:first-child) {
  border: 1px solid var(--rt2-line) !important;
  background: var(--rt2-surface-2) !important;
  color: #e3e7ed !important;
}

/* Homepage â€” an editorial gaming portal, not a SaaS dashboard. */
.site .hero {
  padding: 58px 0 0 !important;
  border-bottom: 1px solid var(--rt2-line-soft) !important;
  background:
    linear-gradient(90deg, rgba(141, 85, 199, .10), transparent 34%),
    linear-gradient(180deg, #0c0f16, #090b11) !important;
}
.site .hero:before {
  opacity: .42;
  background-image:
    linear-gradient(135deg, transparent 0 49.5%, rgba(212,169,65,.055) 49.5% 50.5%, transparent 50.5% 100%) !important;
  background-size: 34px 34px !important;
}
.site .hero-orb { display: none !important; }
.site .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(390px, .8fr) !important; gap: 64px !important; }
.site .hero-copy { padding: 4px 0 42px !important; }
.site .hero h1 {
  max-width: 720px !important;
  margin: 15px 0 18px !important;
  color: #f7f2e7 !important;
  font-family: var(--rt2-display) !important;
  font-size: clamp(44px, 5vw, 66px) !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
  line-height: 1.02 !important;
}
.site .hero h1 em { color: var(--rt2-gold-bright) !important; }
.site .hero-copy > p { max-width: 600px !important; color: var(--rt2-copy) !important; font-size: 16px !important; line-height: 1.7 !important; }
.site .eyebrow {
  color: var(--rt2-gold) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .13em !important;
}
.site .hero-search {
  height: 54px !important;
  margin-top: 24px !important;
  padding-left: 18px !important;
  border: 1px solid #384151 !important;
  border-radius: var(--rt2-radius) !important;
  background: #10141d !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.25) !important;
}
.site .hero-search input { font-size: 15px !important; }
.site .hero-search button { min-width: 132px !important; padding: 0 24px !important; border-radius: 0 6px 6px 0 !important; font-size: 14px !important; }
.site .spotlight-card {
  padding: 24px !important;
  border: 1px solid #4b3b1f !important;
  border-radius: var(--rt2-radius-lg) !important;
  background: linear-gradient(145deg, #15140f, #111722 55%) !important;
  box-shadow: var(--rt2-shadow) !important;
}
.site .spotlight-card:after { display: none !important; }
.site .spotlight-top { color: var(--rt2-gold-bright) !important; font-size: 11px !important; letter-spacing: .11em !important; }
.site .spotlight-brand { gap: 16px !important; margin-top: 20px !important; }
.site .spotlight-brand img { width: 64px !important; height: 64px !important; border-radius: var(--rt2-radius) !important; }
.site .spotlight-brand small { color: var(--rt2-muted) !important; font-size: 10px !important; }
.site .spotlight-brand h2 { margin: 3px 0 0 !important; font-size: 28px !important; }
.site .spotlight-card > p { color: var(--rt2-copy) !important; font-size: 13px !important; }
.site .spotlight-numbers { margin: 18px 0 !important; padding: 15px 0 !important; }
.site .spotlight-numbers strong { font-size: 19px !important; }
.site .spotlight-numbers span { color: var(--rt2-muted) !important; font-size: 10px !important; }
.site .hero-stats { padding: 24px 0 !important; }
.site .hero-stat strong { font-size: 17px !important; }
.site .hero-stat small { font-size: 10px !important; }
.site .vote-ticker { height: 44px !important; }
.site .ticker-inner { font-size: 11px !important; }
.site .ticker-inner > strong { font-size: 10px !important; }
.site .section { padding-top: 68px !important; padding-bottom: 68px !important; }
.site .section-heading { margin-bottom: 26px !important; }
.site .section-heading h2,
.site .trust-copy h2 {
  margin: 12px 0 8px !important;
  font-size: 35px !important;
}
.site .section-heading p,
.site .trust-copy > p { color: var(--rt2-copy) !important; font-size: 15px !important; }
.site .category-bar {
  gap: 2px !important;
  margin-bottom: 18px !important;
  padding: 4px !important;
  border: 1px solid var(--rt2-line-soft) !important;
  border-radius: var(--rt2-radius) !important;
  background: #0d1119 !important;
}
.site .category-bar button {
  min-height: 40px !important;
  padding: 8px 15px !important;
  border-radius: var(--rt2-radius-sm) !important;
  color: #9ba5b4 !important;
  font-size: 13px !important;
}
.site .category-bar button.selected { background: #242a34 !important; color: #fff !important; box-shadow: none !important; }
.site .rank-layout { grid-template-columns: minmax(0,1fr) 286px !important; gap: 20px !important; }
.site .list-toolbar {
  height: 52px !important;
  padding: 0 16px !important;
  border: 1px solid var(--rt2-line) !important;
  border-radius: var(--rt2-radius) var(--rt2-radius) 0 0 !important;
  background: #0e1219 !important;
  color: var(--rt2-muted) !important;
  font-size: 12px !important;
}
.site .list-toolbar input,
.site .list-toolbar button { font-size: 12px !important; }

/* Homepage ranking rows: one stable, readable structure at every rank. */
.site .ranking-card {
  grid-template-columns: 104px 66px minmax(0,1fr) 190px !important;
  gap: 18px !important;
  min-height: 164px !important;
  padding: 20px !important;
  border: 1px solid var(--rt2-line-soft) !important;
  border-top: 0 !important;
  border-radius: 0 !important;
  background: #10141d !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.site .ranking-card:hover { background: #131924 !important; border-color: #354052 !important; }
.site .ranking-card.is-vip {
  border-color: #5b4927 !important;
  background: linear-gradient(105deg, #17140d, #12141b 55%, #171221) !important;
  box-shadow: inset 3px 0 #b88b2e !important;
}
.site .ranking-card.is-vip:before,
.site .ranking-card.is-vip:after { display: none !important; animation: none !important; }
.site .ranking-card > * { z-index: 1; }
.site .ranking-position {
  align-self: stretch !important;
  gap: 7px !important;
  padding: 12px 8px !important;
  border: 1px solid var(--rt2-line) !important;
  border-radius: var(--rt2-radius) !important;
  background: #0b0e14 !important;
  box-shadow: none !important;
}
.site .ranking-position small { color: var(--rt2-muted) !important; font-size: 9px !important; letter-spacing: .12em !important; }
.site .ranking-position strong { font-size: 23px !important; }
.site .ranking-position > span { color: #9aa4b3 !important; font-size: 11px !important; }
.site .ranking-icon {
  width: 64px !important;
  height: 64px !important;
  border: 1px solid #404a59 !important;
  border-radius: var(--rt2-radius) !important;
  box-shadow: none !important;
}
.site .ranking-title { gap: 9px !important; }
.site .ranking-title h3 {
  color: var(--rt2-text) !important;
  font-family: var(--rt2-display) !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}
.site .ranking-copy > p {
  margin: 7px 0 9px !important;
  color: var(--rt2-copy) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}
.site :where(.ranking-tags span, .sotm-badge, .ranking-vip, .ranking-vip-ribbon) {
  min-height: 22px !important;
  padding: 4px 7px !important;
  border: 1px solid #3a4351 !important;
  border-radius: var(--rt2-radius-sm) !important;
  background: #171d27 !important;
  color: #aeb7c4 !important;
  font-size: 9px !important;
  font-weight: 750 !important;
  letter-spacing: .05em !important;
  box-shadow: none !important;
  animation: none !important;
}
.site .ranking-card.is-vip :where(.ranking-vip, .ranking-vip-ribbon) {
  border-color: #665126 !important;
  background: #2a2111 !important;
  color: var(--rt2-gold-bright) !important;
}
.site .ranking-vip-ribbon { top: 8px !important; right: 10px !important; }
.site .ranking-banner-wrap {
  min-height: 42px !important;
  max-height: 54px !important;
  margin-top: 10px !important;
  border: 1px solid #3c4656 !important;
  border-radius: var(--rt2-radius-sm) !important;
  box-shadow: none !important;
}
.site .ranking-banner-wrap:after { display: none !important; animation: none !important; }
.site .ranking-actions {
  align-self: end !important;
  gap: 8px !important;
  width: 190px !important;
  min-width: 190px !important;
  height: auto !important;
  margin: 0 !important;
}
.site .ranking-actions button { height: 44px !important; font-size: 13px !important; }
.site .ranking-like { width: 44px !important; min-width: 44px !important; }
.site .ranking-sotm {
  border-color: #4b3b5d !important;
  background: linear-gradient(105deg, #17131d, #11151d) !important;
  box-shadow: inset 3px 0 var(--rt2-purple) !important;
}
.site .ranking-sotm .ranking-title h3 { color: #efe5f8 !important; }

.site :where(.month-card, .side-card, .trust-score, .new-card),
.site #rankings .rt-sotd-side {
  border: 1px solid var(--rt2-line) !important;
  border-radius: var(--rt2-radius) !important;
  background: var(--rt2-surface) !important;
  box-shadow: none !important;
}
.site #rankings .rt-sotd-side .rt-sotd-art {
  min-height: 108px !important;
  padding: 20px !important;
  border-bottom: 1px solid #4a3b20 !important;
  background: #17140e !important;
}
.site #rankings .rt-sotd-side .rt-sotd-label { color: var(--rt2-gold-bright) !important; font-size: 10px !important; }
.site #rankings .rt-sotd-side .rt-sotd-copy { padding: 20px !important; }
.site #rankings .rt-sotd-side .rt-sotd-copy > small { color: var(--rt2-gold) !important; font-size: 10px !important; }
.site #rankings .rt-sotd-side h3 { margin: 8px 0 !important; font-size: 24px !important; }
.site #rankings .rt-sotd-side p { color: var(--rt2-copy) !important; font-size: 12px !important; }
.site #rankings .rt-sotd-side .rt-sotd-meta span {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: #9da7b6 !important;
  font-size: 10px !important;
}
.site #rankings .rt-sotd-side .rt-sotd-meta span + span:before { content: "Â·"; margin-right: 6px; color: #626c7c; }
.site #rankings .rt-sotd-side .rt-sotd-actions a { min-height: 42px !important; border-radius: var(--rt2-radius-sm) !important; font-size: 12px !important; }
.site .discover-strip { padding: 58px 0 !important; background: #0b0e14 !important; }
.site .discover-strip h2 { font-size: 34px !important; }
.site .new-grid { gap: 14px !important; }
.site .new-card { border-radius: var(--rt2-radius) !important; }
.site .new-card > img { height: 118px !important; filter: saturate(.9) contrast(1.04) !important; }
.site .new-card > div { padding: 18px !important; }
.site .new-card span { color: var(--rt2-muted) !important; font-size: 9px !important; }
.site .new-card h3 { font-size: 19px !important; }
.site .new-card p { color: var(--rt2-copy) !important; font-size: 12px !important; }
.site .new-card button { color: var(--rt2-gold-bright) !important; font-size: 12px !important; }
.site .trust-section { gap: 72px !important; }
.site .trust-points strong { font-size: 14px !important; }
.site .trust-points small { color: var(--rt2-copy) !important; font-size: 12px !important; }
.site .trust-score { padding: 26px !important; }
.site .score-ring { border-width: 6px !important; box-shadow: none !important; }
.site .score-row { font-size: 12px !important; }
.site footer { background: #07090d !important; }

/* Homepage SEO links become an understated directory, not a cloud of pills. */
.site .rt-seo-discovery {
  max-width: 1180px !important;
  margin: 12px auto 58px !important;
  padding: 28px !important;
  border: 1px solid var(--rt2-line-soft) !important;
  border-radius: var(--rt2-radius) !important;
  background: #0d1118 !important;
}
.site .rt-seo-discovery h2 { font-size: 27px !important; }
.site .rt-seo-discovery p { color: var(--rt2-copy) !important; font-size: 14px !important; }
.site .rt-seo-discovery nav { gap: 0 !important; border-top: 1px solid var(--rt2-line-soft); }
.site .rt-seo-discovery a {
  flex: 1 1 190px;
  padding: 11px 12px !important;
  border-bottom: 1px solid var(--rt2-line-soft);
  border-radius: 0 !important;
  background: transparent !important;
  color: #bbc2cd !important;
  font-size: 13px !important;
}
.site .rt-seo-discovery a:hover { color: var(--rt2-gold-bright) !important; background: #141923 !important; }

/* Dedicated toplist â€” same hierarchy as the homepage, without the glow show. */
html body .rt-page { background: var(--rt2-bg) !important; color: var(--rt2-text) !important; }
html body .rt-listIntro { margin-bottom: 28px !important; }
html body .rt-listIntro h1 { font-family: var(--rt2-display) !important; font-size: clamp(38px, 5vw, 52px) !important; font-weight: 600 !important; }
html body .rt-listIntro p { color: var(--rt2-copy) !important; font-size: 15px !important; }
html body .rt-container { max-width: 980px !important; }
html body .rt-list { gap: 10px !important; }
html body .rt-card {
  grid-template-columns: 104px minmax(0,1fr) 124px !important;
  column-gap: 16px !important;
  row-gap: 10px !important;
  min-height: 150px !important;
  padding: 18px !important;
  border: 1px solid var(--rt2-line-soft) !important;
  border-radius: var(--rt2-radius) !important;
  background: var(--rt2-surface) !important;
  box-shadow: none !important;
}
html body .rt-card:hover { border-color: #3a4556 !important; background: #151a24 !important; }
html body .rt-rankBox {
  min-height: 104px !important;
  padding: 14px 9px !important;
  border: 1px solid var(--rt2-line) !important;
  border-radius: var(--rt2-radius) !important;
  background: #0b0e14 !important;
  box-shadow: none !important;
}
html body .rt-rankNum { font-size: 22px !important; }
html body .rt-votes { color: #99a3b2 !important; font-size: 11px !important; }
html body .rt-mainCol { gap: 14px !important; }
html body .rt-icon { width: 64px !important; height: 64px !important; border-radius: var(--rt2-radius) !important; box-shadow: none !important; animation: none !important; }
html body .rt-title { color: var(--rt2-text) !important; font-family: var(--rt2-display) !important; font-size: 21px !important; font-weight: 600 !important; text-shadow: none !important; }
html body .rt-desc { margin-top: 6px !important; color: var(--rt2-copy) !important; font-size: 12px !important; line-height: 1.5 !important; }
html body :where(.rt-tag, .rt-ptag, .rt-badge, .rt-vipRibbon) {
  min-height: 22px !important;
  height: auto !important;
  padding: 4px 7px !important;
  border: 1px solid #3a4351 !important;
  border-radius: var(--rt2-radius-sm) !important;
  background: #171d27 !important;
  color: #afb7c3 !important;
  font-size: 9px !important;
  box-shadow: none !important;
  animation: none !important;
}
html body .rt-activity { color: #78c9aa !important; font-size: 10px !important; }
html body .rt-bannerCol a { border-radius: var(--rt2-radius-sm) !important; box-shadow: none !important; }
html body .rt-banner { border-radius: var(--rt2-radius-sm) !important; box-shadow: none !important; }
html body .rt-bannerCol a:after { display: none !important; animation: none !important; }
html body .rt-row--vip {
  overflow: hidden !important;
  border: 1px solid #5c4a29 !important;
  background: linear-gradient(105deg, #19160e, #12151c 60%, #181321) !important;
  box-shadow: inset 3px 0 #b88b2e !important;
}
html body .rt-row--vip:before,
html body .rt-row--vip:after { display: none !important; animation: none !important; }
html body .rt-row--vip .rt-title { color: #f4e9cf !important; }
html body .rt-row--vip :where(.rt-badge--vip, .rt-vipRibbon) {
  border-color: #675327 !important;
  background: #2b2212 !important;
  color: var(--rt2-gold-bright) !important;
}
html body .rt-row--vip .rt-btn--gold { background: var(--rt2-gold) !important; color: #171207 !important; animation: none !important; }
html body .rt-sotm { border-color: #4c3b5f !important; background: #16131c !important; box-shadow: inset 3px 0 var(--rt2-purple) !important; }
html body .rt-listFaq {
  margin: 34px 0 !important;
  padding: 28px !important;
  border: 1px solid var(--rt2-line-soft) !important;
  border-radius: var(--rt2-radius) !important;
  background: #0e1219 !important;
}
html body .rt-listFaq h2 { font-family: var(--rt2-display) !important; font-size: 28px !important; }
html body .rt-listFaq summary { font-size: 14px !important; }
html body .rt-listFaq p { color: var(--rt2-copy) !important; font-size: 13px !important; }

/* Discovery and data pages share one restrained editorial structure. */
html body :is(.sotd-page,.rtu-page,.rtsr-page,.rtr-page,.rts-page,.rtc-main,.rtt-main,.rtsp-page,.rtn-page) {
  min-height: 75vh !important;
  padding: 44px 20px 72px !important;
  background: var(--rt2-bg) !important;
  color: var(--rt2-text) !important;
}
html body :is(.sotd-page,.rtu-page,.rtsr-page,.rtr-page,.rts-page,.rtc-main,.rtt-main,.rtsp-page,.rtn-page):before { display: none !important; }
html body :is(.sotd-shell,.rtu-shell,.rtsr-shell,.rtr-shell,.rts-shell,.rtc-shell,.rtt-shell,.rtsp-shell,.rtn-shell) { max-width: 1100px !important; }
html body :is(.rtu-hero,.rtsr-hero,.rtr-hero,.rts-hero,.rtc-hero,.rtt-hero,.rtsp-hero,.rtn-hero) {
  padding: 38px 40px !important;
  border: 1px solid var(--rt2-line) !important;
  border-left: 4px solid var(--rt2-gold) !important;
  border-radius: var(--rt2-radius) !important;
  background: linear-gradient(105deg, #17150f, #10151e 64%) !important;
  box-shadow: none !important;
}
html body :is(.rtu-hero,.rtsr-hero,.rtr-hero,.rts-hero,.rtc-hero,.rtt-hero,.rtsp-hero,.rtn-hero):after { display: none !important; }
html body :is(.rtu-hero,.rtsr-hero,.rtr-hero,.rts-hero,.rtc-hero,.rtt-hero,.rtsp-hero,.rtn-hero) h1 {
  margin: 8px 0 12px !important;
  color: var(--rt2-text) !important;
  font-family: var(--rt2-display) !important;
  font-size: clamp(38px, 5vw, 52px) !important;
  font-weight: 600 !important;
  letter-spacing: -.025em !important;
}
html body :is(.rtu-hero,.rtsr-hero,.rtr-hero,.rts-hero,.rtc-hero,.rtt-hero,.rtsp-hero,.rtn-hero) p {
  max-width: 760px;
  color: var(--rt2-copy) !important;
  font-size: 15px !important;
}
html body .rt-hero-kicker {
  margin-bottom: 4px !important;
  color: var(--rt2-gold) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
}
html body .rt-hero-kicker:before { display: none !important; }
html body :is(.rtu-card,.rtsr-card,.rtr-card,.rts-card,.rtc-card,.rtt-panel,.rtt-stat,.rtsp-card,.rtn-card,.sotd-history,.sotd-item,.rtn-guide article) {
  border: 1px solid var(--rt2-line-soft) !important;
  border-radius: var(--rt2-radius) !important;
  background: var(--rt2-surface) !important;
  box-shadow: none !important;
  transform: none !important;
}
html body :is(.rtu-card,.rtsr-card,.rtr-card,.rts-card,.rtc-card,.rtt-panel,.rtt-stat,.rtsp-card,.rtn-card):before { display: none !important; }
html body :is(.rtu-card,.rtsr-card,.rtr-card,.rtc-card,.rtt-panel,.rtsp-card,.rtn-card,.sotd-item):hover {
  border-color: #3a4556 !important;
  background: #151b26 !important;
  box-shadow: none !important;
  transform: none !important;
}
html body :is(.rtu-card,.rtsr-card,.rtr-card,.rts-card,.rtc-card,.rtt-panel,.rtsp-card,.rtn-card,.sotd-history) h2,
html body :is(.rtu-card,.rtsr-card,.rtr-card,.rts-card,.rtc-card,.rtt-panel,.rtsp-card,.rtn-card,.sotd-history) h3 {
  font-family: var(--rt2-display) !important;
  font-weight: 600 !important;
}
html body :is(.rtu-card,.rtsr-card,.rtr-card,.rts-card,.rtc-card,.rtt-panel,.rtsp-card,.rtn-card,.sotd-history) p { color: var(--rt2-copy) !important; font-size: 13px !important; }
html body :is(.rtt-panel,.rtr-card) h2:before,
html body .rtu-month h2:before,
html body .sotd-history h2:before { display: none !important; }
html body .rtu-month > h2 {
  margin: 38px 0 18px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rt2-line-soft);
  font-family: var(--rt2-display) !important;
  font-size: 28px !important;
}
html body :where(.rtu-body,.rtn-body,.rtsr-card-body,.rtc-card-body) { padding: 20px !important; }
html body :where(.rtu-banner,.rtsr-banner,.rtc-banner) { filter: saturate(.9) contrast(1.04) !important; transform: none !important; }
html body :where(.rtsr-banner.is-fallback,.rtc-banner.is-fallback,.rtu-banner.is-fallback) {
  padding: 22px 56px !important;
  background: #0b0f16 !important;
}
html body :where(.rtu-meta span,.rtn-chips span,.rtsr-meta span,.rtc-meta a,.sotd-stats span) {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: #9ba5b4 !important;
  font-size: 11px !important;
}
html body .rtsr-form { gap: 8px !important; margin-top: 22px !important; }
html body .rtsr-form input,
html body :where(input, select, textarea).form-control {
  min-height: 46px !important;
  border: 1px solid #3a4454 !important;
  border-radius: var(--rt2-radius-sm) !important;
  background: #0c1017 !important;
  color: #fff !important;
  font-size: 14px !important;
}
html body .rtsr-tags { gap: 0 !important; }
html body .rtsr-tags a {
  padding: 8px 12px !important;
  border: 0 !important;
  border-right: 1px solid var(--rt2-line-soft) !important;
  border-radius: 0 !important;
  background: none !important;
  color: #aeb7c4 !important;
  font-size: 12px !important;
}
html body .rtr-page .rtr-shell { gap: 16px !important; }
html body .rtr-card { padding: 26px !important; }
html body .rtr-callout { border-left: 4px solid var(--rt2-gold) !important; background: #17150f !important; }
html body :where(.rtc-stat,.rtt-stat) { padding: 20px !important; }
html body :where(.rtc-stat,.rtt-stat) strong { font-size: 25px !important; }
html body .rtt-table { font-size: 13px !important; }
html body .rtt-table th { color: #909aa9 !important; font-size: 11px !important; }

/* Server of the Day follows the same system but keeps its celebratory gold cue. */
html body .sotd-hero {
  border: 1px solid #514122 !important;
  border-radius: var(--rt2-radius) !important;
  background: #11151d !important;
  box-shadow: none !important;
}
html body .sotd-hero:after { display: none !important; }
html body .sotd-banner { max-height: 190px; object-fit: cover !important; }
html body .sotd-body { padding: 32px !important; border-top: 3px solid var(--rt2-gold); }
html body .sotd-kicker { color: var(--rt2-gold) !important; font-size: 11px !important; }
html body .sotd-body h1 { margin: 8px 0 12px !important; font-size: clamp(40px, 6vw, 58px) !important; }
html body .sotd-body p { color: var(--rt2-copy) !important; font-size: 15px !important; }
html body .sotd-history { margin-top: 24px !important; padding: 26px !important; }
html body .sotd-item { min-height: 86px !important; padding: 16px !important; }
html body .sotd-item a { color: var(--rt2-text) !important; font-family: var(--rt2-display); font-size: 17px; }
html body .sotd-item small { color: var(--rt2-muted) !important; font-size: 11px !important; }

/* Mobile: preserve hierarchy; never shrink real controls into micro-text. */
@media (max-width: 1100px) {
  .site .hero-grid { grid-template-columns: 1fr 390px !important; gap: 38px !important; }
  .site .rank-layout { grid-template-columns: minmax(0,1fr) 260px !important; }
  .site .ranking-card { grid-template-columns: 94px 60px minmax(0,1fr) !important; }
  .site .ranking-actions { grid-column: 3 !important; width: auto !important; min-width: 0 !important; justify-content: flex-start !important; }
}

@media (max-width: 900px) {
  .site .hero { padding-top: 42px !important; }
  .site .hero-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .site .hero-copy { padding-bottom: 12px !important; }
  .site .spotlight-card { margin-bottom: 38px; }
  .site .rank-layout { grid-template-columns: 1fr !important; }
  .site .rank-layout aside { display: grid !important; grid-template-columns: 1fr 1fr; }
  .site .ranking-card {
    grid-template-columns: 86px 64px minmax(0,1fr) !important;
    grid-template-areas: none !important;
  }
  .site .ranking-actions { grid-column: 3 !important; }
  .site .new-grid { grid-template-columns: repeat(2, 1fr) !important; }
  html body .rt-card {
    grid-template-columns: 94px minmax(0,1fr) !important;
    grid-template-areas: "rank main" "banner banner" "cta cta" !important;
  }
}

@media (max-width: 680px) {
  body, .site { font-size: 14px; }
  .site .notice { font-size: 11px !important; }
  .site .header { height: 64px !important; }
  .site .header-inner { height: 64px !important; }
  .site .hero { padding-top: 34px !important; }
  .site .hero h1 { font-size: clamp(36px, 11vw, 48px) !important; line-height: 1.04 !important; }
  .site .hero-copy > p { font-size: 15px !important; }
  .site .hero-search { height: 50px !important; }
  .site .hero-search button { min-width: 104px !important; padding: 0 16px !important; }
  .site .section { padding-top: 48px !important; padding-bottom: 48px !important; }
  .site .section-heading { align-items: flex-start !important; gap: 16px; flex-direction: column; }
  .site .section-heading h2, .site .trust-copy h2 { font-size: 29px !important; }
  .site .ranking-card {
    grid-template-columns: 72px minmax(0,1fr) !important;
    gap: 14px !important;
    min-height: 0 !important;
    padding: 16px !important;
  }
  .site .ranking-position { grid-row: 1 / span 2 !important; min-height: 104px; }
  .site .ranking-position { overflow: hidden !important; }
  .site .ranking-position > div { flex-direction: column !important; gap: 2px !important; }
  .site .sotm-position strong { max-width: 100%; font-size: 11px !important; letter-spacing: .02em; }
  .site .sotm-position svg { width: 13px; height: 13px; }
  .site .ranking-icon { width: 58px !important; height: 58px !important; }
  .site .ranking-copy { grid-column: 2 !important; }
  .site .ranking-title h3 { font-size: 19px !important; }
  .site .ranking-copy > p { white-space: normal !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .site .ranking-banner-wrap { width: 100% !important; }
  .site .ranking-actions { grid-column: 1 / -1 !important; width: 100% !important; }
  .site .ranking-actions button { flex: 1; }
  .site .rank-layout aside { grid-template-columns: 1fr !important; }
  .site .new-grid { grid-template-columns: 1fr !important; }
  .site .trust-section { grid-template-columns: 1fr !important; gap: 34px !important; }
  .site .rt-seo-discovery { width: calc(100% - 24px); padding: 22px !important; }
  html body :is(.sotd-page,.rtu-page,.rtsr-page,.rtr-page,.rts-page,.rtc-main,.rtt-main,.rtsp-page,.rtn-page) { padding: 30px 12px 54px !important; }
  html body :is(.rtu-hero,.rtsr-hero,.rtr-hero,.rts-hero,.rtc-hero,.rtt-hero,.rtsp-hero,.rtn-hero) { padding: 27px 24px !important; }
  html body :is(.rtu-hero,.rtsr-hero,.rtr-hero,.rts-hero,.rtc-hero,.rtt-hero,.rtsp-hero,.rtn-hero) h1 { font-size: 36px !important; }
  html body .sotd-body { padding: 25px !important; }
  html body .rt-card { padding: 16px !important; }
  html body .rt-title { font-size: 19px !important; }
}

@media (max-width: 430px) {
  .site .notice > span { display: none !important; }
  .site .notice { justify-content: center !important; }
  .site .shell { width: calc(100% - 24px) !important; }
  .site .spotlight-card { padding: 20px !important; }
  .site .spotlight-numbers { gap: 10px; }
  .site .spotlight-numbers div { padding-left: 10px !important; }
  .site .spotlight-actions { grid-template-columns: 1fr !important; }
  .site .ticker-inner { gap: 12px !important; }
  .site .category-bar button { font-size: 12px !important; }
  .site .category-bar { scrollbar-width: none; }
  .site .category-bar::-webkit-scrollbar { display: none; }
  .site .ranking-card { grid-template-columns: 64px minmax(0,1fr) !important; padding: 14px !important; }
  .site .ranking-position strong { font-size: 20px !important; }
  .site .ranking-position > span { font-size: 10px !important; }
  .site .ranking-actions { gap: 7px !important; }
  .site .ranking-actions button { min-width: 0 !important; padding: 0 10px !important; font-size: 12px !important; }
  html body .rtr-page .rtr-shell { display: block !important; }
  html body .rtr-card { margin-top: 14px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition-duration: .01ms !important; }
}

/* RuneTopic UI polish — 2026-08-22
   Keeps cards aligned, prevents action controls from clipping, and gives VIP
   listings a restrained gold perimeter animation inspired by the supplied reference. */
.site .ranking-card {
  align-items: center !important;
}

.site .ranking-copy,
.site .ranking-title,
.site .ranking-actions {
  min-width: 0 !important;
}

.site .ranking-title {
  flex-wrap: wrap !important;
  row-gap: 6px !important;
}

.site :where(.ranking-vip, .ranking-vip-ribbon),
html body :where(.rt-badge--vip, .rt-vipRibbon) {
  white-space: nowrap !important;
  line-height: 1 !important;
  justify-content: center !important;
  vertical-align: middle !important;
  border-color: #9b762f !important;
  background: linear-gradient(135deg, #392b12, #6f501a 52%, #2b210f) !important;
  color: #ffe7a2 !important;
  box-shadow: 0 0 0 1px rgba(236, 189, 85, .08), 0 5px 18px rgba(190, 137, 35, .22) !important;
}

.site .ranking-card.is-vip :where(.ranking-vip, .ranking-vip-ribbon),
html body .rt-row--vip :where(.rt-badge--vip, .rt-vipRibbon) {
  border-color: #9b762f !important;
  background: linear-gradient(135deg, #392b12, #6f501a 52%, #2b210f) !important;
  color: #ffe7a2 !important;
  box-shadow: 0 0 0 1px rgba(236, 189, 85, .08), 0 5px 18px rgba(190, 137, 35, .22) !important;
}

.site .ranking-card.is-vip,
html body .rt-row--vip {
  isolation: isolate !important;
  overflow: hidden !important;
  border-color: var(--rt2-line-soft) !important;
  background: #10141d !important;
  box-shadow: none !important;
}

.site .ranking-card.is-vip:before,
html body .rt-row--vip:before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: -55% !important;
  width: 48% !important;
  z-index: 2 !important;
  pointer-events: none !important;
  border-radius: 0 !important;
  background: linear-gradient(
    100deg,
    transparent 0 12%,
    rgba(205, 151, 45, .035) 28%,
    rgba(232, 183, 78, .14) 48%,
    rgba(255, 226, 151, .18) 53%,
    rgba(224, 169, 62, .07) 67%,
    transparent 88% 100%
  ) !important;
  filter: blur(12px) !important;
  mix-blend-mode: screen !important;
  transform: translateX(0) skewX(-8deg);
  animation: rtVipSweep 3.4s ease-in-out infinite !important;
}

.site .ranking-card.is-vip:after,
html body .rt-row--vip:after {
  content: none !important;
  display: none !important;
  background: none !important;
  animation: none !important;
}

.site .ranking-card.is-vip > *,
html body .rt-row--vip > * {
  position: relative;
  z-index: 1;
}

.site .ranking-banner-wrap {
  width: 100% !important;
  display: flex !important;
}

.site .ranking-banner {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (min-width: 1101px) {
  .site .ranking-card {
    grid-template-columns: 104px 66px minmax(0, 1fr) 244px !important;
  }

  .site .ranking-actions {
    width: 244px !important;
    min-width: 244px !important;
  }
}

.site .ranking-actions {
  justify-content: stretch !important;
  overflow: hidden !important;
}

.site .ranking-actions .ranking-like {
  flex: 0 0 44px !important;
}

.site .ranking-actions .ranking-vote {
  flex: 0 0 80px !important;
}

.site .ranking-actions .ranking-visit {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding-inline: 10px !important;
  white-space: nowrap !important;
}

.site .ranking-actions button,
.site .spotlight-actions button,
.site .hero-search button {
  line-height: 1 !important;
}

@media (max-width: 1100px) {
  .site .ranking-actions {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 360px !important;
  }
}

@media (max-width: 680px) {
  .site .ranking-card {
    align-items: start !important;
  }

  .site .ranking-title {
    align-items: center !important;
  }

  .site .ranking-actions {
    max-width: none !important;
  }

  .site .ranking-actions .ranking-vote {
    flex-basis: 74px !important;
  }
}

@keyframes rtVipSweep {
  0%, 18% { transform: translateX(0) skewX(-8deg); opacity: 0; }
  29% { opacity: .55; }
  70% { opacity: .9; }
  88%, 100% { transform: translateX(330%) skewX(-8deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site .ranking-card.is-vip:before,
  .site .ranking-card.is-vip:after,
  html body .rt-row--vip:before,
  html body .rt-row--vip:after {
    animation: none !important;
  }
}
