:root {
  --bg: #0c0b10;
  --ink: #f8f5fa;
  --lav: #cbb6f2;
  --border: #342d3d;
}
.top { background: #100e16; }
.top-inner { gap: clamp(20px, 3vw, 52px); }
.primary a { font-size: 14px; }
.account { background: transparent; }
.account:hover { background: #2b2038; }

.home { padding-top: clamp(18px, 3vw, 44px); }
.hero { min-height: clamp(420px, 39vw, 590px); border-radius: 3px 3px 0 0; }
.hero-copy { padding-inline: clamp(24px, 5vw, 78px); }
.hero h1 { font-size: clamp(46px, 8.4vw, 128px); }
.hero-intro { max-width: 41ch; }
.hero-caption { border: 1px solid #bfa0ed60; }
.signal-bar { border-radius: 0; border-top: 0; padding-block: 17px; }
.home .section { margin-top: clamp(58px, 7vw, 110px); }
.home .section-heading { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.home .dashboard { grid-template-columns: 1.18fr 1fr; gap: 20px; }
.home .feature { min-height: 232px; border-radius: 2px; padding: clamp(18px, 3vw, 34px); }
.home .rank-card { background: linear-gradient(130deg, #25171f, #141018 78%); border-top: 2px solid #b77f9c; }
.home .recap-card { background: linear-gradient(135deg, #211732, #111016 75%); border-top: 2px solid #9975c7; }
.home .feature h3 { font-size: clamp(25px, 3vw, 41px); }
.home .media-grid { grid-template-columns: 1.55fr 1fr 1fr; align-items: start; }
.home .media-card:first-child h3 { font-size: clamp(20px, 2vw, 28px); }

.archive-intro, .live-masthead { border-radius: 2px; }
.archive-intro { padding-top: clamp(32px, 5vw, 70px); }
.archive-intro h1, .live-masthead h1 { text-transform: uppercase; }
.archive-index { margin-top: 32px; }
.filters label { min-width: 0; }
.filters input, .filters select { width: 100%; }
body[data-page="/planning"] .calendar-head { border-left: 3px solid #b091d4; }
body[data-page="/planning"] .day { border-bottom: 1px solid #43334e; }
body[data-page="/planning"] .day.today { background: #332340; }
body[data-page="/valorant"] .game-banner { background: linear-gradient(120deg, #301b2a, #151018 80%); }
body[data-page="/valorant"] .history { padding: clamp(14px, 3vw, 34px); background: #17121b; border-top: 2px solid #ad7998; }
.site-footer { border-top-color: #463451; }

@media (max-width: 800px) {
  .home .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .media-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(42px, 10.6vw, 64px); }
  .hero-copy { padding-inline: 19px; }
  .home .dashboard, .home .media-grid { grid-template-columns: 1fr; }
  .home .feature { min-height: 175px; }
  .home .section-heading { gap: 10px; }
}

/* Media takes the lead, with a wide opening slate and a compact archive toolbar. */
.archive-intro {
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  margin-bottom: 20px;
}
.archive-intro::after { display: none; }
.archive-intro h1 { text-transform: none; }
.archive-intro .page-deck { margin-bottom: 16px; }
.archive-index { align-items: center; margin-top: 24px; }
.archive-index nav { display: flex; gap: 18px; }
.archive-index a[aria-current] { color: #fff; border-bottom: 2px solid #c9a9f9; }
body:is([data-page="/clips"], [data-page="/replays"]) .media-grid,
.home .media-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
body:is([data-page="/clips"], [data-page="/replays"]) .media-card,
.home .media-card { grid-column: span 4; }
.home .media-card:first-child { grid-column: span 6; }
.home .media-card:not(:first-child) { grid-column: span 3; }
body:is([data-page="/clips"], [data-page="/replays"]) .media-card:first-child { grid-column: span 8; grid-row: span 2; }
body:is([data-page="/clips"], [data-page="/replays"]) .media-card:first-child h3 { font-size: clamp(24px, 3vw, 40px); }
.media-card { border: 1px solid #30273a; border-radius: 10px; background: #19151f; }
.media-card h3, .media-card > p, .media-card form { margin-inline: 16px; }
.media-card form button { min-height: 34px; background: transparent; border-radius: 20px; font-size: 13px; }
.media-card:hover { border-color: #9e7cbc; }

.competitive-board { display: grid; grid-template-columns: 1fr minmax(220px, .38fr); gap: 12px; margin-bottom: 32px; }
body[data-page="/valorant"] .competitive-board .game-banner { margin: 0; }
.rr-score { display: grid; align-content: center; padding: clamp(22px, 3vw, 48px); background: #e8bad1; color: #240f21; }
.rr-score h2 { font: 650 14px Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.rr-score strong { font-size: clamp(54px, 7vw, 100px); line-height: 1.1; letter-spacing: -.085em; }
.rr-score strong small { color: inherit; font-size: .26em; letter-spacing: 0; }
.rr-score p { color: #47293f; }

body[data-page="/community"] .member-shell { width: min(calc(100% - 32px), 1320px); }
body[data-page="/community"] .member-head { background: transparent; border: 0; padding: 0; margin-bottom: 24px; }
body[data-page="/community"] .member-grid { gap: clamp(20px, 4vw, 56px); }
body[data-page="/community"] .member-row { background: transparent; border: 0; border-bottom: 1px solid #44334e; padding-inline: 4px; }
body[data-page="/community"] .member-row h3 a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
body[data-page="/community"] .member-aside { border: 0; border-radius: 10px; background: #251a31; }

@media (max-width: 700px) {
  .competitive-board { grid-template-columns: minmax(0, 1fr); }
  body:is([data-page="/clips"], [data-page="/replays"]) .media-grid, .home .media-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
  body:is([data-page="/clips"], [data-page="/replays"]) .media-grid .media-card, .home .media-grid .media-card { grid-column: 1; grid-row: auto; }
}
