/* ===== 2026-10 redesign: slim header, ticker, homepage sections, player card =====
   Loaded after style.css. Everything is scoped to new class names so older
   pages keep their look apart from the header. */

:root {
  --rd-bg: #0a0e17;
  --rd-panel: rgba(8, 12, 20, 0.88);
  --rd-line: rgba(255, 255, 255, 0.08);
  --rd-text: #e8eef7;
  --rd-soft: #c9d6e6;
  --rd-muted: #93a1b5;
  --rd-yellow: #ffcc00;
  --rd-cyan: #22d3ee;
  --rd-pink: #ff3d8b;
  --rd-pink-soft: #ff6ba6;
  --rd-green: #34d399;
  --rd-orange: #ff9b80;
  --rd-purple: #a78bfa;
}
body.classic {
  --rd-bg: #0d1117;
  --rd-panel: #161b22;
  --rd-line: #30363d;
  --rd-text: #e6edf3;
  --rd-soft: #c9d1d9;
  --rd-muted: #8b949e;
  --rd-yellow: #d29922;
  --rd-cyan: #58a6ff;
  --rd-pink: #f778ba;
  --rd-pink-soft: #f778ba;
  --rd-green: #3fb950;
}

/* ---------- Slim sticky header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: block;
  padding: 0;
  background: rgba(10, 14, 23, 0.94);
  border-bottom: 1px solid rgba(34, 211, 238, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
body.classic header.site-header { background: #161b22; border-bottom: 1px solid #30363d; padding: 0; }
.site-header .sh-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-header .sh-logo { display: flex; align-items: center; flex: 0 0 auto; }
.site-header .sh-logo img { height: 56px; width: auto; display: block; }
body.classic .site-header .sh-logo img { height: 44px; }

.site-header nav { flex: 1 1 auto; min-width: 0; }
.site-header nav ul#nav-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: none;
  overflow: visible;
}
.site-header nav ul#nav-menu > li > a {
  color: var(--rd-soft);
  font-family: 'Titillium Web', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transform: none;
}
.site-header nav ul#nav-menu > li > a:hover { color: var(--rd-yellow); background: rgba(255, 255, 255, 0.05); transform: none; }
.site-header nav ul#nav-menu > li > a.nav-current { color: var(--rd-text); box-shadow: inset 0 -2px 0 var(--rd-cyan); }
.site-header nav ul#nav-menu > li > a.nav-get-started,
.site-header nav ul#nav-menu > li > a.nav-get-started:hover { background: var(--rd-yellow); color: #111 !important; box-shadow: none; }
.site-header .nav-dropdown-menu { left: 0; transform: none; }
.site-header .emoji-label { display: none; }
.site-header .nav-dropdown-menu .emoji-label { display: inline; }

.site-header .sh-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.site-header .sh-live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--rd-muted); white-space: nowrap; }
.site-header .sh-live strong { color: var(--rd-text); }
.rd-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rd-green); display: inline-block; box-shadow: 0 0 10px var(--rd-green); flex: 0 0 auto; }
.rd-dot.pink { background: var(--rd-pink); box-shadow: 0 0 10px var(--rd-pink); }
@keyframes rd-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.rd-dot { animation: rd-pulse 1.6s ease-in-out infinite; }

.site-header .sh-mystats {
  display: none;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rd-cyan);
  white-space: nowrap;
}
.site-header .sh-mystats:hover { color: var(--rd-yellow); border-color: var(--rd-yellow); }
.site-header .sh-mystats.show { display: inline-flex; }

.site-header .sh-theme {
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--rd-line);
  background: transparent;
  color: var(--rd-soft);
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
}
.site-header .sh-theme:hover { border-color: var(--rd-cyan); }
.site-header .sh-theme .classic { display: none; }
body.classic .site-header .sh-theme .gamer { display: none; }
body.classic .site-header .sh-theme .classic { display: inline; }

.site-header .sh-play {
  display: none;
  background: var(--rd-yellow); color: #111 !important;
  font-family: 'Titillium Web', sans-serif; font-weight: 700;
  padding: 9px 14px; border-radius: 8px; min-height: 44px; align-items: center;
}
.site-header .nav-toggle { margin: 0; }

/* Old floating theme toggle is replaced by the header button */
.theme-toggle-wrapper { display: none !important; }

@media (max-width: 1180px) {
  .site-header .sh-live .sh-live-word { display: none; }
}
@media (max-width: 1024px) {
  .site-header .sh-inner { flex-wrap: wrap; padding: 6px 14px; gap: 8px; }
  .site-header .sh-logo img { height: 46px; }
  .site-header .sh-play { display: inline-flex; }
  .site-header .nav-toggle {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    font-size: 1.3rem; border-width: 1px;
  }
  .site-header .sh-right { margin-left: auto; }
  .site-header .sh-live { display: none; }
  .site-header nav { order: 10; flex: 1 0 100%; }
  .site-header nav ul#nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0 10px;
  }
  .site-header nav ul#nav-menu.nav-open { display: flex; max-height: none; }
  .site-header nav ul#nav-menu > li > a { width: 100%; }
  .site-header nav ul#nav-menu > li > a.nav-get-started { display: none; }
  .site-header .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; background: rgba(255,255,255,0.03); }
  .site-header .nav-dropdown.open .nav-dropdown-menu { display: flex; }
}
@media (max-width: 480px) {
  .site-header .sh-logo img { height: 40px; }
  .site-header .sh-mystats { display: none !important; }
}

/* ---------- Live ticker ---------- */
.rd-ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--rd-line);
  background: rgba(255, 61, 139, 0.06);
}
.rd-ticker-label {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  font-family: 'Titillium Web', sans-serif; font-weight: 900; letter-spacing: 2px; font-size: 0.8rem;
  color: var(--rd-pink);
  background: var(--rd-bg);
  border-right: 1px solid rgba(255, 61, 139, 0.3);
  position: relative; z-index: 1;
}
.rd-ticker-window { flex: 1 1 auto; overflow: hidden; padding: 9px 0; }
@keyframes rd-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rd-ticker-track { display: flex; gap: 40px; width: max-content; animation: rd-ticker 70s linear infinite; }
.rd-ticker-track:hover { animation-play-state: paused; }
.rd-ticker-item { white-space: nowrap; font-size: 0.9rem; color: var(--rd-soft); }
.rd-ticker-item a { color: var(--rd-text); font-weight: 700; }
.rd-ticker-item .t-tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 1px; margin-right: 4px; }
.rd-ticker-item.steal .t-tag, .rd-ticker-item.steal .t-pts { color: var(--rd-pink-soft); }
.rd-ticker-item.qso .t-tag { color: var(--rd-cyan); }
.rd-ticker-item.qso .t-pts { color: var(--rd-green); }
.rd-ticker-item.dupe .t-tag, .rd-ticker-item.dupe .t-pts { color: var(--rd-orange); }
.rd-ticker-item .t-pts { font-weight: 800; margin-left: 4px; }
@media (prefers-reduced-motion: reduce) {
  .rd-ticker-track { animation: none; }
  .rd-ticker-window { overflow-x: auto; }
  .rd-dot { animation: none; }
}

/* ---------- Homepage layout ---------- */
.rd-home { display: flex; flex-direction: column; gap: 28px; }
.rd-home .card { margin: 0; }
.rd-home .card:hover { transform: none; }
.rd-section { display: flex; flex-direction: column; gap: 14px; }
.rd-section > h2.rd-h {
  margin: 0;
  font-family: 'Titillium Web', sans-serif; font-weight: 900; font-size: 1.6rem; letter-spacing: 1px;
  color: var(--rd-text);
  text-shadow: none;
}
.rd-grid-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.rd-grid-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.rd-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rd-home .dashboard-grid { margin: 0; }
@media (max-width: 900px) {
  .rd-grid-hero, .rd-grid-2-1, .rd-grid-3 { grid-template-columns: minmax(0, 1fr); }
}

.rd-panel-title {
  margin: 0;
  font-family: 'Titillium Web', sans-serif; font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.rd-sub { font-size: 0.85rem; color: var(--rd-muted); }
.rd-link { font-size: 0.9rem; font-weight: 600; color: var(--rd-cyan); }
.rd-link:hover { color: var(--rd-yellow); }

/* Hero */
#intro-hero.rd-hero {
  margin: 0;
  padding: 30px 32px;
  border: 1px solid rgba(255, 204, 0, 0.45);
  background: linear-gradient(160deg, rgba(255, 204, 0, 0.10), rgba(10, 14, 23, 0.6) 55%);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  position: relative;
}
#intro-hero.rd-hero h1 {
  margin: 0;
  font-family: 'Titillium Web', sans-serif; font-weight: 900; font-size: 2.7rem; line-height: 1.05;
  color: #fff; text-shadow: none;
}
body.classic #intro-hero.rd-hero h1 { color: var(--rd-text); }
#intro-hero.rd-hero h1 span { color: var(--rd-yellow); }
#intro-hero.rd-hero p { margin: 0; font-size: 1.1rem; line-height: 1.55; color: var(--rd-soft); max-width: 600px; }
#intro-hero .hero-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
#intro-hero .hero-x {
  position: absolute; top: 6px; right: 8px;
  width: 44px; height: 44px; border: 0; background: none;
  color: var(--rd-muted); font-size: 1.4rem; cursor: pointer;
}
#intro-hero .hero-x:hover { color: var(--rd-text); }
.rd-home.hero-hidden #intro-hero { display: none; }
.rd-home.hero-hidden .rd-grid-hero { grid-template-columns: minmax(0, 1fr); }
.rd-home.hero-hidden .rd-clocks-list { flex-direction: row; flex-wrap: wrap; }
.rd-home.hero-hidden .rd-clock { flex: 1 1 240px; }
@media (max-width: 600px) {
  #intro-hero.rd-hero { padding: 22px 18px; }
  #intro-hero.rd-hero h1 { font-size: 2rem; padding-right: 30px; }
  #intro-hero.rd-hero p { font-size: 1rem; }
  #intro-hero .hero-long { display: none; }
}

.rd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: 10px;
  background: var(--rd-yellow); color: #111 !important;
  font-family: 'Titillium Web', sans-serif; font-weight: 700; font-size: 1.1rem;
  text-decoration: none; border: 0; cursor: pointer; text-shadow: none; box-shadow: none;
}
.rd-btn:hover { background: #ffe066; color: #111 !important; }
.rd-btn.ghost { background: transparent; border: 1px solid rgba(34, 211, 238, 0.5); color: var(--rd-cyan) !important; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; }
.rd-btn.ghost:hover { border-color: var(--rd-yellow); color: var(--rd-yellow) !important; background: transparent; }

/* Right-now clocks */
.rd-clocks { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.rd-kicker { font-family: 'Titillium Web', sans-serif; font-weight: 700; letter-spacing: 2px; font-size: 0.8rem; color: var(--rd-muted); }
.rd-clocks-list { display: flex; flex-direction: column; gap: 10px; }
.rd-clock {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--rd-line);
}
.rd-clock .c-label { font-weight: 700; font-size: 1rem; color: var(--rd-text); }
.rd-clock .c-sub { font-size: 0.8rem; color: var(--rd-muted); }
.rd-clock .c-time { font-family: 'Titillium Web', sans-serif; font-weight: 900; font-size: 1.6rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-clock.hh .c-time { color: var(--rd-yellow); }
.rd-clock.bounty .c-time { color: var(--rd-cyan); }
.rd-clock.lock .c-time { color: var(--rd-pink); }
.rd-clock.live { border-color: rgba(255, 204, 0, 0.6); background: rgba(255, 204, 0, 0.08); }

/* Bounties */
#bounty-card.rd-bounty { margin: 0; padding: 22px; border: 1px solid rgba(255, 204, 0, 0.35); display: flex; flex-direction: column; gap: 14px; }
.rd-bounty-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .rd-bounty-grid { grid-template-columns: minmax(0, 1fr); } }
.rd-bounty-item { padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--rd-line); display: flex; flex-direction: column; gap: 6px; }
.rd-bounty-item .b-tier { font-size: 0.75rem; font-weight: 800; letter-spacing: 1.5px; }
.rd-bounty-item .b-tier.easy { color: var(--rd-green); }
.rd-bounty-item .b-tier.medium { color: #facc15; }
.rd-bounty-item .b-tier.hard { color: #ff7a59; }
.rd-bounty-item .b-name { font-family: 'Titillium Web', sans-serif; font-weight: 900; font-size: 1.6rem; line-height: 1.1; color: var(--rd-text); }
.rd-bounty-item .b-claims { font-size: 0.82rem; color: var(--rd-muted); }

/* Generic panel */
.rd-panel { padding: 22px; display: flex; flex-direction: column; gap: 12px; }

/* Division race */
.rd-race-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rd-race-form { display: flex; gap: 8px; align-items: center; }
.rd-race-form label { font-size: 0.85rem; color: var(--rd-muted); }
.rd-race-form input {
  width: 130px; min-height: 44px; padding: 10px 12px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(0, 0, 0, 0.35);
  color: var(--rd-text); font-size: 1rem; text-transform: uppercase; box-sizing: border-box;
}
.rd-race-form input:focus { outline: 2px solid var(--rd-cyan); outline-offset: 1px; }
.rd-you {
  padding: 14px 16px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--rd-line); color: var(--rd-soft);
}
.rd-you.found { background: rgba(34, 211, 238, 0.10); border-color: rgba(34, 211, 238, 0.4); color: var(--rd-text); }
.rd-you.danger { background: rgba(255, 61, 139, 0.08); border-color: rgba(255, 61, 139, 0.4); }
.rd-race-rows { display: flex; flex-direction: column; gap: 4px; }
.rd-race-row { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 8px; font-size: 0.95rem; }
.rd-race-row.you { background: rgba(34, 211, 238, 0.12); outline: 2px solid var(--rd-cyan); }
.rd-race-row .r-rank { color: var(--rd-muted); width: 26px; flex: 0 0 auto; }
.rd-race-row .r-call { font-weight: 700; flex: 0 0 104px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-race-row .r-bar { flex: 1 1 auto; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.rd-race-row .r-bar > div { height: 100%; border-radius: 5px; background: rgba(250, 204, 21, 0.7); }
.rd-race-row.up .r-bar > div { background: var(--rd-green); }
.rd-race-row.down .r-bar > div { background: var(--rd-pink); }
.rd-race-row.you .r-bar > div { background: var(--rd-cyan); }
.rd-race-row .r-pts { font-weight: 700; width: 64px; text-align: right; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.rd-race-line { display: flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; padding: 2px 0; }
.rd-race-line::before, .rd-race-line::after { content: ''; flex: 1 1 auto; border-top: 1px dashed currentColor; opacity: 0.6; }
.rd-race-line.up { color: var(--rd-green); }
.rd-race-line.down { color: var(--rd-pink-soft); }
.rd-race-gap { text-align: center; color: var(--rd-muted); font-size: 0.85rem; letter-spacing: 3px; }
.rd-race-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.rd-race-tabs button {
  min-height: 36px; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rd-line); background: transparent; color: var(--rd-soft); font-weight: 600; font-size: 0.85rem;
}
.rd-race-tabs button[aria-pressed="true"] { border-color: var(--rd-cyan); color: var(--rd-cyan); background: rgba(34, 211, 238, 0.08); }
@media (max-width: 600px) {
  .rd-race-row .r-call { flex-basis: 84px; }
  .rd-race-form input { width: 110px; }
}

/* Season progress inside the week panel */
.rd-home #season-progress-card { margin: 0; padding: 14px 0 0; background: none; border: 0; border-top: 1px solid var(--rd-line); border-radius: 0; box-shadow: none; }

/* Boards */
.rd-board .rd-board-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rd-line); }
.rd-board .rd-board-row:last-of-type { border-bottom: 0; }
.rd-board .r-n { color: var(--rd-muted); margin-right: 8px; }
.rd-board .r-v { color: var(--rd-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-board.streaks .rd-panel-title { color: #ff7a59; }
.rd-board.rookies .rd-panel-title { color: var(--rd-green); }
.rd-board.dx .rd-panel-title { color: var(--rd-purple); }

/* ---------- Player card ---------- */
.rd-player { display: flex; flex-direction: column; gap: 20px; }
.rd-player .card { margin: 0; }
.rd-player .card:hover { transform: none; }
.rd-pcard {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) 280px; gap: 28px; align-items: center;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--div-color, #a855f7) 55%, transparent);
  background: radial-gradient(circle at 12% 30%, color-mix(in srgb, var(--div-color, #a855f7) 24%, transparent), transparent 45%), var(--rd-panel);
}
.rd-pcard.div-elite { --div-color: #a855f7; }
.rd-pcard.div-gold { --div-color: #facc15; }
.rd-pcard.div-silver { --div-color: #cbd5e1; }
.rd-pcard.div-bronze { --div-color: #d97706; }
.rd-emblem-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rd-emblem {
  width: 140px; height: 140px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--div-color) 35%, transparent), color-mix(in srgb, var(--div-color) 5%, transparent) 70%);
  border: 3px solid var(--div-color);
  box-shadow: 0 0 40px color-mix(in srgb, var(--div-color) 45%, transparent);
  font-size: 4rem; line-height: 1;
}
.rd-emblem-name { font-family: 'Titillium Web', sans-serif; font-weight: 900; letter-spacing: 3px; font-size: 1.05rem; color: var(--div-color); text-align: center; }
.rd-pcard-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rd-pcard-main h1 {
  margin: 0; font-family: 'Titillium Web', sans-serif; font-weight: 900; font-size: 3.8rem; line-height: 1; letter-spacing: 2px;
  color: var(--rd-text); text-shadow: none; overflow-wrap: anywhere;
}
.rd-pcard-main .rd-nick { font-size: 1.1rem; color: var(--rd-yellow); font-weight: 700; }
.rd-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-chip { padding: 7px 13px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; border: 1px solid; }
.rd-chip.flame { background: rgba(255, 122, 89, 0.14); border-color: rgba(255, 122, 89, 0.5); color: #ffb39e; }
.rd-chip.rank { background: rgba(255, 204, 0, 0.12); border-color: rgba(255, 204, 0, 0.45); color: #ffe27a; }
.rd-chip.ok { background: rgba(34, 211, 238, 0.10); border-color: rgba(34, 211, 238, 0.4); color: #a5f3fc; }
.rd-chip.warn { background: rgba(255, 204, 0, 0.08); border-color: rgba(255, 204, 0, 0.35); color: #ffe27a; }
.rd-chip.bad { background: rgba(255, 0, 0, 0.18); border-color: #ff4444; color: #ffd0d0; }
.rd-chip.caution { background: rgba(255, 153, 0, 0.18); border-color: #ff9900; color: #ffd9a0; }
.rd-elo { display: flex; flex-direction: column; gap: 6px; max-width: 540px; }
.rd-elo-top { display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; color: var(--rd-muted); flex-wrap: wrap; }
.rd-elo-top strong { color: var(--rd-text); }
.rd-elo-bar { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.rd-elo-bar > div { height: 100%; border-radius: 5px; background: linear-gradient(90deg, #ffcc00, #ff7a59); }
.rd-pcard-actions { display: flex; flex-direction: column; gap: 10px; }
.rd-pcard-actions .rd-btn { width: 100%; box-sizing: border-box; font-size: 1rem; }
.rd-pcard-actions .rd-meta { font-size: 0.8rem; color: var(--rd-muted); text-align: center; }
.rd-pcard-actions .rd-share-msg { font-size: 0.85rem; color: var(--rd-green); text-align: center; min-height: 1.2em; }
@media (max-width: 1000px) {
  .rd-pcard { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .rd-emblem-wrap { flex-direction: row; justify-content: flex-start; }
  .rd-emblem { width: 84px; height: 84px; font-size: 2.4rem; }
  .rd-pcard-main h1 { font-size: 2.6rem; }
}

.rd-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .rd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rd-tile { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.rd-tile .t-label { font-size: 0.78rem; color: var(--rd-muted); letter-spacing: 1px; text-transform: uppercase; }
.rd-tile .t-value { font-family: 'Titillium Web', sans-serif; font-weight: 900; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rd-tile .t-sub { font-size: 0.8rem; color: var(--rd-muted); }

.rd-steal .s-row { display: flex; flex-direction: column; gap: 6px; }
.rd-steal .s-top { display: flex; justify-content: space-between; gap: 8px; font-size: 0.95rem; flex-wrap: wrap; }
.rd-steal .s-bar { height: 12px; border-radius: 6px; overflow: hidden; }
.rd-steal .s-bar > div { height: 100%; border-radius: 6px; }
.rd-steal .s-made .s-bar { background: rgba(52, 211, 153, 0.15); }
.rd-steal .s-made .s-bar > div { background: var(--rd-green); }
.rd-steal .s-lost .s-bar { background: rgba(255, 61, 139, 0.15); }
.rd-steal .s-lost .s-bar > div { background: var(--rd-pink); }

/* Phone: countdowns as three compact tiles */
@media (max-width: 600px) {
  .rd-clocks { padding: 14px; }
  .rd-clocks-list, .rd-home.hero-hidden .rd-clocks-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .rd-clock { flex-direction: column; justify-content: center; text-align: center; gap: 4px; padding: 10px 6px; }
  .rd-clock .c-label { font-size: 0.75rem; font-weight: 600; color: var(--rd-muted); }
  .rd-clock .c-sub { display: none; }
  .rd-clock .c-time { font-size: 1.05rem; }
  .rd-section > h2.rd-h { font-size: 1.35rem; }
}
.rd-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .rd-grid-2 { grid-template-columns: minmax(0, 1fr); } }
.rd-player .rd-grid-2-1 { align-items: stretch; }
.rd-player { overflow-x: clip; }

/* Crisp text: no frosted-glass blur or lift on the new cards (blur layers make text render soft in some browsers) */
.rd-home .card, .rd-player .card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background-color: var(--rd-panel);
  transition: none;
  will-change: auto;
}
body.classic .rd-home .card, body.classic .rd-player .card { background-color: #161b22; }
.rd-bounty-item .b-name { font-weight: 700; letter-spacing: 0.2px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* SEO 2026-10-24: page headings promoted from <h2> to <h1 class="rd-h1">, styled exactly like the old card <h2> */
.card h1.rd-h1 { margin-top: 0; margin-bottom: 12px; text-align: center; font-size: 1.1rem; color: #ffcc00; letter-spacing: 1px; font-weight: 600; }
@media (max-width: 768px) { .card h1.rd-h1 { font-size: 1.3rem; } }
@media (max-width: 480px) { .card h1.rd-h1 { font-size: 1.1rem; } }
@media (max-width: 360px) { .card h1.rd-h1 { font-size: 1rem; } }
body.classic .card h1.rd-h1 { color: #e6edf3; font-size: 0.94rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; text-align: left; }
/* Homepage "About" block */
.rd-about { line-height: 1.65; }
.rd-about h2 { text-align: left; font-size: 1.35rem; margin: 0 0 10px; }
.rd-about h3 { text-align: left; font-size: 1.05rem; margin: 16px 0 6px; color: var(--rd-cyan, #22d3ee); }
.rd-about p, .rd-about ul { margin: 0 0 10px; color: var(--text-secondary, #bcc3cd); }
.rd-about ul { padding-left: 1.2rem; }
.rd-about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 28px; }
