:root {
  --navy: #0b1020;
  --navy-soft: #151b2e;
  --ink: #0b1020;
  --cream: #f5e7d0;
  --paper: #fff8ea;
  --muted: #626c7d;
  --muted-light: #a7b0c0;
  --line: rgba(11, 16, 32, 0.16);
  --orange: #f97316;
  --orange-dark: #ea580c;
  --red: #d71920;
  --cedar: #007a3d;
  --mint: #9cc9b3;
  --mint-light: #e0efe5;
  --yellow: #fbbf24;
  --shadow: 0 18px 44px rgba(11, 16, 32, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.section-shell,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand b {
  color: var(--orange);
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  color: var(--orange);
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark path {
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.4;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 30px;
}

.desktop-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.site-footer a:hover {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.streak-pill {
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 999px;
  min-width: 42px;
  padding: 7px 13px;
  color: var(--muted);
  background: rgba(255, 248, 234, 0.58);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.streak-pill b {
  color: var(--orange);
}

.streak-pill:hover,
.streak-pill:focus-visible {
  border-color: rgba(249, 115, 22, 0.56);
  background: rgba(255, 248, 234, 0.78);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.streak-pill:active {
  transform: translateY(0) scale(0.98);
}

.icon-button {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.icon-button span {
  display: block;
  width: 14px;
  height: 2px;
  margin: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(249, 115, 22, 0.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0, 122, 61, 0.16), transparent 24%),
    radial-gradient(circle at 60% 100%, rgba(215, 25, 32, 0.12), transparent 30%),
    var(--navy);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 231, 208, 0.1) 1px, transparent 1px);
  background-size: 16px 16px;
  content: "";
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  display: grid;
  width: min(1180px, calc(100% - 48px));
  min-height: 510px;
  margin: auto;
  grid-template-columns: 1.06fr 0.94fr;
}

.hero-copy {
  align-self: center;
  padding: 66px 0 58px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.eyebrow [data-games-heading-label] {
  width: auto;
  height: auto;
  background: transparent;
  white-space: nowrap;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 17px;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(63px, 7vw, 92px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 0.94;
}

h1 em,
.community em {
  color: var(--orange);
  font-style: normal;
}

.hero-intro {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted-light);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 6px;
  padding: 13px 17px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(11, 16, 32, 0.1);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--orange), #f45d15);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--red));
}

.button-ghost {
  border: 1px solid rgba(245, 231, 208, 0.3);
  color: white;
  background: rgba(245, 231, 208, 0.06);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 38px;
}

.hero-meta div {
  display: grid;
  gap: 3px;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-meta div:last-child {
  border: 0;
}

.hero-meta b {
  color: white;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 23px;
  letter-spacing: 1px;
}

.hero-meta span {
  color: #9eb4b3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.hero-visual::before {
  position: absolute;
  top: -28px;
  right: -70px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 50%;
  content: "";
}

.scoreboard {
  position: absolute;
  top: 54px;
  right: 18px;
  display: grid;
  width: 128px;
  padding: 10px;
  border: 2px solid rgba(249, 115, 22, 0.55);
  color: var(--muted-light);
  background:
    linear-gradient(90deg, var(--cedar) 0 4px, transparent 4px calc(100% - 4px), var(--red) calc(100% - 4px)),
    #080d1a;
  text-align: center;
}

.scoreboard span,
.scoreboard small {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
}

.scoreboard b {
  margin: 4px 0;
  color: var(--orange);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 35px;
  line-height: 1;
}

.court-lines span {
  position: absolute;
  display: block;
  border: 1px solid rgba(245, 231, 208, 0.18);
}

.court-lines span:first-child {
  right: -9px;
  bottom: -138px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
}

.court-lines span:nth-child(2) {
  right: 160px;
  bottom: -30px;
  width: 290px;
  height: 190px;
}

.court-lines span:last-child {
  right: 280px;
  bottom: -40px;
  width: 2px;
  height: 460px;
  border: 0;
  background: rgba(245, 231, 208, 0.18);
  transform: rotate(48deg);
}

.basketball {
  position: absolute;
  right: 66px;
  bottom: 58px;
  width: 342px;
  height: 342px;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 24%, rgba(251, 191, 36, 0.42), transparent 28%),
    var(--orange);
  box-shadow: -22px 22px 0 rgba(0, 0, 0, 0.18);
}

.ball-line {
  position: absolute;
  display: block;
  border: 5px solid rgba(78, 32, 22, 0.62);
  border-radius: 50%;
}

.line-one {
  top: -90px;
  left: 80px;
  width: 190px;
  height: 520px;
}

.line-two {
  top: 143px;
  left: -44px;
  width: 430px;
  height: 58px;
}

.line-three {
  top: -61px;
  left: -60px;
  width: 455px;
  height: 455px;
}

.daily-section {
  padding: 56px 0 74px;
}

.games-section {
  padding: 82px 0 90px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(40px, 5vw, 58px);
  letter-spacing: -0.8px;
  line-height: 1;
  text-transform: uppercase;
}

.section-subtitle {
  max-width: 470px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.daily-reset {
  display: grid;
  gap: 5px;
  text-align: right;
}

.daily-reset span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.daily-reset b {
  color: var(--orange);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 23px;
  letter-spacing: 1px;
}

.daily-stats-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 15px 17px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.12), transparent),
    radial-gradient(circle at right top, rgba(0, 122, 61, 0.08), transparent 42%),
    var(--paper);
}

.daily-stats-heading {
  display: grid;
  gap: 3px;
}

.daily-stats-heading span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.daily-stats-heading b {
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 29px;
  line-height: 1;
  text-transform: uppercase;
}

.daily-stats-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.daily-stats-grid div {
  padding: 10px 12px;
  border: 1px solid rgba(11, 16, 32, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.58);
}

.daily-stats-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.daily-stats-grid b {
  display: block;
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 26px;
  line-height: 1;
}

.daily-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.33fr 0.67fr;
}

.feature-card {
  display: grid;
  min-height: 355px;
  overflow: hidden;
  border-radius: 5px;
  background:
    radial-gradient(circle at 82% 20%, rgba(251, 191, 36, 0.22), transparent 30%),
    linear-gradient(135deg, var(--orange), #e85d13 54%, #b7351c);
  grid-template-columns: 1fr 0.78fr;
}

.feature-copy {
  padding: 25px 0 25px 26px;
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 41px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 7px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.tag-orange {
  color: var(--orange-dark);
  background: #ffe0d0;
}

.feature-card .tag-orange {
  color: white;
  background: rgba(11, 16, 32, 0.24);
}

.mini-label,
.game-card-label {
  margin-bottom: 5px;
  color: rgba(11, 16, 32, 0.68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: white;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 53px;
  letter-spacing: -0.7px;
  line-height: 0.97;
  text-transform: uppercase;
}

.feature-card p:not(.mini-label) {
  max-width: 340px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.feature-photo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 28%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(115deg, rgba(11, 16, 32, 0.42), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px),
    #a84624;
}

.mystery-visual-card {
  position: absolute;
  inset: 42px 38px;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 7px;
  padding: 26px;
  background: rgba(11, 16, 32, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-align: center;
}

.mystery-visual-card span {
  color: #ffd2bf;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.mystery-visual-card b {
  display: grid;
  width: 116px;
  height: 116px;
  margin: 18px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: white;
  background: rgba(11, 16, 32, 0.46);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 78px;
  line-height: 1;
  place-items: center;
}

.mystery-visual-card div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.mystery-visual-card i {
  border-radius: 999px;
  padding: 7px 10px;
  color: #ffd2bf;
  background: rgba(255, 255, 255, 0.12);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.mystery-court-lines span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.mystery-court-lines span:first-child {
  right: -118px;
  bottom: -142px;
  width: 330px;
  height: 330px;
}

.mystery-court-lines span:last-child {
  top: -92px;
  left: -90px;
  width: 220px;
  height: 220px;
}

.daily-side {
  display: grid;
  align-content: start;
  gap: 10px;
}

.mini-game-card,
.progress-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
}

.mini-game-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 12px;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.mini-game-card:hover,
.game-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.mini-game-card > b {
  margin-left: auto;
  color: var(--orange);
  font-size: 18px;
}

.mini-game-copy {
  min-width: 0;
}

.mini-game-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.mini-game-status-row span,
.mini-game-status-row strong {
  color: var(--orange);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mini-game-status-row strong {
  color: var(--muted);
}

.mini-game-card.is-completed .mini-game-status-row span {
  color: var(--cedar);
}

.mini-game-card.is-completed .mini-game-icon {
  color: var(--cedar);
  background: var(--mint-light);
}

.mini-game-card h3 {
  margin-bottom: 3px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 23px;
  letter-spacing: -0.2px;
  text-transform: uppercase;
}

.mini-game-card p,
.progress-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.mini-game-icon,
.game-card-icon {
  display: grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--mint-light);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 30px;
  place-items: center;
}

.mini-game-icon {
  width: 48px;
  height: 48px;
  font-size: 23px;
}

.icon-grid {
  color: #5d4a1a;
  background: #fee8a3;
}

.daily-tip-card {
  padding: 12px 14px;
  border: 1px dashed rgba(249, 115, 22, 0.48);
  border-radius: 5px;
  background: rgba(255, 248, 234, 0.82);
}

.daily-tip-card b {
  display: block;
  margin-bottom: 3px;
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.daily-tip-card p {
  margin: 0;
  color: #6e3b1f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.progress-card {
  padding: 17px 19px;
}

.progress-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.progress-heading b {
  color: var(--orange);
}

.progress-bar {
  display: block;
  height: 5px;
  margin-bottom: 9px;
  overflow: hidden;
  border-radius: 10px;
  background: #e5ebe7;
}

.progress-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--orange);
}

.games-section {
  padding-top: 0;
}

.games-heading {
  gap: 20px;
}

.filter {
  border: 1px solid #d8ded9;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: 160ms ease;
}

.filter:hover,
.filter.is-active {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.game-grid,
.game-section-group {
  display: grid;
  gap: 18px;
}

.game-section-group {
  padding: 22px 0 4px;
  border-top: 1px solid rgba(11, 16, 32, 0.1);
}

.game-section-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.game-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.game-section-heading span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.game-section-heading h3 {
  margin: 4px 0 5px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 32px;
  letter-spacing: -0.4px;
  line-height: 1;
  text-transform: uppercase;
}

.game-section-heading p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.game-section-heading small {
  flex: none;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.game-section-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.game-empty-card {
  border: 1px dashed rgba(245, 231, 208, 0.18);
  border-radius: 18px;
  padding: 22px;
  background:
    radial-gradient(circle at 92% 18%, rgba(249, 115, 22, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(21, 27, 46, 0.88), rgba(11, 16, 32, 0.92)),
    var(--navy);
}

.game-empty-card b {
  display: block;
  margin-bottom: 4px;
  color: white;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 24px;
  text-transform: uppercase;
}

.game-empty-card p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.data-message {
  grid-column: 1 / -1;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 24px;
  padding: 18px;
  color: var(--paper);
  background:
    linear-gradient(rgba(245, 231, 208, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 231, 208, 0.035) 1px, transparent 1px),
    rgba(11, 16, 32, 0.92);
  background-size: 84px 84px, 84px 84px, auto;
  line-height: 1.6;
}

.data-message b {
  display: block;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 23px;
  letter-spacing: -0.2px;
  text-transform: uppercase;
}

.data-message p {
  margin: 0;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 800;
}

.data-message a {
  color: var(--orange-dark);
  font-weight: 800;
}

.data-message code {
  color: var(--orange-dark);
  font-size: 12px;
}

.career-start-card .button {
  margin-top: 12px;
}

.data-message .game-loading {
  width: 100%;
  margin: 0;
  border: 0;
  padding: 20px;
  background: transparent;
}

.game-card {
  display: flex;
  min-height: 224px;
  flex-direction: column;
  padding: 17px;
  border: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 5px;
  color: white;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--navy-soft);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.game-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.game-card-tags {
  display: grid;
  gap: 5px;
  justify-items: end;
}

.game-card-icon {
  width: 52px;
  height: 52px;
  font-size: 27px;
}

.game-card-badge,
.daily-card-badge {
  color: var(--yellow);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.daily-card-badge {
  border-radius: 999px;
  padding: 4px 7px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.daily-card-badge.is-complete {
  color: white;
  background: var(--cedar);
}

.game-card-badge.is-party {
  color: var(--mint);
}

.game-card-badge.is-new {
  color: var(--orange);
}

.game-card.is-playable {
  border-color: rgba(249, 115, 22, 0.48);
}

.game-card.is-coming-soon .game-card-icon {
  opacity: 0.72;
}

.game-card.is-coming-soon .game-card-badge {
  color: var(--muted);
}

.launch-card {
  display: grid;
  align-content: center;
}

.game-card h3 {
  margin-bottom: 6px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 27px;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: white;
}

.game-card p {
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.5;
}

.game-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid rgba(245, 231, 208, 0.12);
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.game-card-bottom b {
  color: var(--orange);
  font-size: 16px;
}

.leaderboard-section {
  padding: 12px 0 78px;
}

.leaderboard-panel {
  border: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 5px;
  color: white;
  background: var(--navy-soft);
  box-shadow: var(--shadow);
}

body[data-page="leaderboard"] .page-hero {
  min-height: 150px;
  align-content: center;
  padding-top: 26px;
  padding-bottom: 26px;
}

body[data-page="leaderboard"] .page-hero h1 {
  font-size: clamp(44px, 8vw, 72px);
}

body[data-page="leaderboard"] .page-hero p:not(.eyebrow) {
  max-width: 560px;
}

.leaderboard-coming-soon {
  position: relative;
  overflow: hidden;
  padding: 38px;
  background:
    radial-gradient(circle at right top, rgba(249, 115, 22, 0.2), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(0, 122, 61, 0.16), transparent 34%),
    var(--navy-soft);
}

.leaderboard-coming-soon::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 50%;
  content: "";
}

.leaderboard-coming-soon h2 {
  max-width: 720px;
  margin-bottom: 12px;
  color: white;
}

.leaderboard-coming-soon > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-bottom: 22px;
  color: var(--muted-light);
  font-size: 15px;
  line-height: 1.7;
}

.leaderboard-coming-soon .button {
  position: relative;
  z-index: 1;
}

.leaderboard-panel {
  overflow: hidden;
}

.leaderboard-topbar {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(245, 231, 208, 0.1);
}

.leaderboard-tabs,
.leaderboard-game-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.leaderboard-tabs button,
.leaderboard-game-selector button,
.leaderboard-profile button {
  border: 1px solid rgba(245, 231, 208, 0.16);
  border-radius: 4px;
  min-height: 40px;
  padding: 9px 12px;
  color: var(--muted-light);
  background: rgba(245, 231, 208, 0.06);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.leaderboard-tabs button:hover,
.leaderboard-game-selector button:hover,
.leaderboard-profile button:hover,
.leaderboard-tabs button:focus-visible,
.leaderboard-game-selector button:focus-visible,
.leaderboard-profile button:focus-visible {
  border-color: rgba(249, 115, 22, 0.62);
  color: white;
  outline: 2px solid rgba(249, 115, 22, 0.28);
  outline-offset: 2px;
}

.leaderboard-tabs button.is-active,
.leaderboard-game-selector button.is-active {
  border-color: rgba(249, 115, 22, 0.76);
  color: white;
  background: rgba(249, 115, 22, 0.18);
}

.leaderboard-profile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 800;
}

.leaderboard-profile b {
  color: white;
}

.leaderboard-profile button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--yellow);
}

.leaderboard-view {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.leaderboard-view-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 900;
}

.leaderboard-view-heading span {
  color: var(--orange);
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.leaderboard-view-heading b {
  color: white;
  font-size: 14px;
}

.leaderboard-list {
  display: grid;
  gap: 8px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(245, 231, 208, 0.1);
  border-radius: 5px;
  padding: 12px;
  background: rgba(5, 10, 24, 0.42);
}

.leaderboard-row.is-you {
  border-color: rgba(249, 115, 22, 0.5);
  background: rgba(249, 115, 22, 0.12);
}

.leaderboard-rank,
.leaderboard-date {
  color: var(--yellow);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.leaderboard-date {
  color: var(--orange);
  font-size: 15px;
}

.leaderboard-player {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.leaderboard-player b {
  overflow: hidden;
  color: white;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-player span {
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 800;
}

.you-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  border-radius: 4px;
  padding: 2px 5px;
  color: var(--navy);
  background: var(--yellow);
  font-size: 9px;
  font-weight: 900;
  vertical-align: middle;
}

.leaderboard-time {
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.leaderboard-points {
  color: white;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.leaderboard-points.is-total {
  color: var(--yellow);
}

.leaderboard-state {
  display: grid;
  justify-items: start;
  gap: 12px;
  min-height: 190px;
  align-content: center;
  color: var(--muted-light);
}

.leaderboard-state b {
  color: white;
  font-size: 16px;
}

.leaderboard-state.is-error b {
  color: var(--yellow);
}

.leaderboard-state .game-loading {
  min-height: auto;
  padding: 8px 0;
}

.leaderboard-state .game-loading span {
  color: white;
}

@media (max-width: 560px) {
  .leaderboard-topbar,
  .leaderboard-view {
    padding: 14px;
  }

  .leaderboard-tabs,
  .leaderboard-game-selector {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .leaderboard-tabs button,
  .leaderboard-game-selector button {
    min-height: 42px;
    padding: 8px 6px;
    font-size: 11px;
    line-height: 1.15;
  }

  .leaderboard-profile {
    align-items: flex-start;
  }

  .leaderboard-view-heading {
    display: grid;
    gap: 3px;
  }

  .leaderboard-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 11px;
  }

  .leaderboard-time {
    grid-column: 2 / 3;
  }

  .leaderboard-points {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    align-self: center;
    font-size: 18px;
  }

  .my-score-row {
    grid-template-columns: 54px minmax(0, 1fr) auto;
  }

  .leaderboard-player b {
    font-size: 13px;
  }

  .leaderboard-player span,
  .leaderboard-time {
    font-size: 11px;
  }
}

.history-section {
  margin-top: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(249, 115, 22, 0.1), transparent 28%),
    var(--navy);
}

.history-layout {
  display: grid;
  gap: 42px;
  grid-template-columns: 1fr 0.72fr;
}

.history-copy {
  padding: 77px 0 81px;
}

.eyebrow-light {
  color: var(--yellow);
}

.history-copy h2 {
  margin-bottom: 17px;
  color: white;
  font-size: clamp(52px, 6vw, 74px);
}

.history-copy p {
  max-width: 540px;
  margin-bottom: 23px;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.7;
}

.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.history-actions .button-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  color: white;
}

.history-note {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.history-note::before {
  position: absolute;
  top: -120px;
  right: -130px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.history-note span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.history-note p {
  position: relative;
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--muted-light);
  font-size: 15px;
  line-height: 1.7;
}

.community {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding-block: 77px;
}

.community h2 {
  font-size: clamp(42px, 5.3vw, 62px);
}

.community > p {
  max-width: 400px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 30px;
  min-height: 80px;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  background: var(--navy);
}

.site-footer p {
  margin: 0 auto 0 0;
  color: var(--muted-light);
  font-size: 11px;
}

.site-footer div {
  display: flex;
  gap: 17px;
}

.site-footer .brand,
.site-footer a {
  color: white;
}

.modal-backdrop {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  padding: 20px;
  background: rgba(3, 7, 18, 0.78);
  place-items: center;
}

.modal-backdrop[hidden] {
  display: none;
}

.game-modal {
  position: relative;
  width: min(590px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 28px 110px rgba(0, 0, 0, 0.4);
}

.game-modal.is-wide {
  width: min(980px, 100%);
}

.modal-close {
  position: absolute;
  z-index: 1;
  top: 13px;
  right: 13px;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.modal-header {
  padding: 25px 25px 21px;
  border-bottom: 1px solid rgba(245, 231, 208, 0.1);
  color: white;
  background:
    radial-gradient(circle at right top, rgba(249, 115, 22, 0.2), transparent 36%),
    var(--navy);
}

.modal-header h2 {
  margin-top: 12px;
  font-size: 40px;
  color: white;
}

.modal-header p {
  margin: 7px 42px 0 0;
  color: var(--muted-light);
  font-size: 13px;
  line-height: 1.5;
}

.modal-content {
  padding: 20px 25px 25px;
}

.game-mode-switch {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  padding: 5px;
  border: 1px solid rgba(11, 16, 32, 0.12);
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.06);
  grid-template-columns: 1fr 1fr;
}

.game-mode-switch button {
  border: 0;
  border-radius: 999px;
  padding: 9px 11px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.game-mode-switch button.is-active {
  color: white;
  background: var(--navy);
}

.wordle-mode-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 14px;
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: 5px;
  padding: 11px 12px;
  background: rgba(255, 248, 234, 0.84);
}

.wordle-mode-note b {
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordle-mode-note span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.daily-result-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 5px;
  padding: 15px;
  background:
    radial-gradient(circle at right top, rgba(249, 115, 22, 0.12), transparent 34%),
    var(--paper);
}

.daily-result-card > span {
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.daily-result-card > b {
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 28px;
  letter-spacing: -0.2px;
  line-height: 1;
  text-transform: uppercase;
}

.daily-result-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.daily-result-card pre {
  overflow-x: auto;
  margin: 0;
  border-radius: 4px;
  padding: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
  white-space: pre-wrap;
}

.daily-result-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.daily-result-card small {
  min-height: 16px;
  color: var(--cedar);
  font-size: 11px;
  font-weight: 800;
}

.daily-result-card .daily-result-stats {
  color: var(--orange-dark);
}

.leaderboard-submit-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 28px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.leaderboard-submit-status span {
  color: inherit;
}

.leaderboard-submit-status a,
.leaderboard-submit-status button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 0;
  border-radius: 4px;
  padding: 7px 10px;
  color: var(--orange-dark);
  background: rgba(249, 115, 22, 0.1);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.leaderboard-submit-status a:hover,
.leaderboard-submit-status button:hover {
  background: rgba(249, 115, 22, 0.18);
}

.leaderboard-submit-status.is-pending {
  color: var(--orange-dark);
}

.leaderboard-submit-status.is-success {
  color: var(--cedar);
}

.leaderboard-submit-status.is-error {
  color: #a44200;
}

.leaderboard-name-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(11, 16, 32, 0.54);
}

.leaderboard-name-modal {
  display: grid;
  gap: 10px;
  width: min(100%, 360px);
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 6px;
  padding: 18px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(11, 16, 32, 0.24);
}

.leaderboard-name-modal h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
}

.leaderboard-name-modal p,
.leaderboard-name-modal label,
.leaderboard-name-modal small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.leaderboard-name-modal label {
  color: var(--ink);
}

.leaderboard-name-modal input {
  width: 100%;
  border: 1px solid rgba(11, 16, 32, 0.15);
  border-radius: 4px;
  padding: 11px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-weight: 800;
}

.leaderboard-name-modal small.is-error {
  color: #a44200;
}

.leaderboard-name-modal > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
}

.clue-list {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
}

.quiz-player {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 9px;
  border-radius: 4px;
  color: var(--muted);
  background: rgba(11, 16, 32, 0.06);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.quiz-player-image {
  width: 66px;
  height: 66px;
  border-radius: 4px;
  background: var(--mint-light);
  object-fit: cover;
}

.guess-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.guess-scoreboard b {
  color: var(--orange-dark);
}

.game-status-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  text-align: right;
}

.daily-attempt-timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(11, 16, 32, 0.12);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  background: rgba(255, 248, 234, 0.64);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.daily-attempt-timer b {
  color: inherit;
  font-size: inherit;
}

.guess-scoreboard i {
  font-style: normal;
}

.guess-mystery-card {
  position: relative;
  display: grid;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 5px;
  padding: 24px;
  color: white;
  background:
    radial-gradient(circle at 82% 10%, rgba(249, 115, 22, 0.42), transparent 34%),
    radial-gradient(circle at 5% 100%, rgba(0, 122, 61, 0.18), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
  place-items: center;
  text-align: center;
}

.guess-mystery-card span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.guess-mystery-card b {
  margin: 6px 0;
  color: var(--orange);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 92px;
  line-height: 0.9;
}

.guess-mystery-card p {
  max-width: 320px;
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.guess-clues > p {
  margin-bottom: 7px;
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.guess-clues .clue-list {
  gap: 5px;
  margin-bottom: 13px;
}

.guess-clues .clue {
  padding: 8px;
  font-size: 11px;
}

.guess-clues .clue b {
  width: 20px;
  height: 20px;
  font-size: 9px;
}

.guess-options {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.guess-option {
  min-height: 52px;
  padding: 10px;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.guess-option:hover:not(:disabled) {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.guess-option:disabled {
  cursor: default;
}

.guess-option.is-correct {
  border-color: var(--cedar);
  color: var(--cedar);
  background: #ddf2e7;
}

.guess-option.is-wrong {
  border-color: #d5856d;
  color: #9d3f28;
  background: #fae1d9;
}

.career-path-card {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  border-radius: 5px;
  padding: 22px;
  color: white;
  background:
    radial-gradient(circle at 82% 8%, rgba(249, 115, 22, 0.38), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(215, 25, 32, 0.12), transparent 36%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
}

.career-path-card > span,
.career-extra-hints > p,
.career-guesses > p,
.career-guess-form label {
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.career-path-card p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.career-path-route {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.career-path-route b {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--navy);
  background: white;
  font-size: 12px;
  line-height: 1;
}

.career-path-route b.career-path-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 7px 7px;
}

.career-path-team img,
.career-path-team i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(11, 16, 32, 0.12);
  border-radius: 9px;
  background: var(--paper);
}

.career-path-team img {
  object-fit: contain;
  padding: 3px;
}

.career-path-team i {
  color: var(--navy);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.career-path-team img:not([hidden]) + i {
  display: none;
}

.career-path-team.is-logo-missing {
  padding-left: 7px;
}

.career-path-route b.is-hidden {
  color: #d7e5e1;
  background: rgba(255, 255, 255, 0.08);
}

.career-path-route > i {
  color: var(--orange);
  font-style: normal;
  font-weight: 900;
}

.career-status {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  grid-template-columns: 1fr 1fr;
}

.career-status span {
  border-radius: 4px;
  padding: 10px;
  color: var(--muted);
  background: rgba(255, 248, 234, 0.86);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.career-status b {
  color: var(--orange-dark);
}

.career-guess-form {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.career-guess-form > div {
  display: flex;
  gap: 8px;
}

.career-guess-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 3px;
  padding: 12px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 13px;
  outline-color: var(--orange);
}

.career-extra-hints {
  margin-bottom: 12px;
}

.career-extra-hints[hidden],
.career-guesses[hidden] {
  display: none;
}

.career-guesses {
  margin-bottom: 8px;
}

.career-guesses > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.career-guesses span {
  border-radius: 999px;
  padding: 7px 10px;
  color: #9d3f28;
  background: #fae1d9;
  font-size: 11px;
  font-weight: 800;
}

.player-wordle-intro {
  display: grid;
  gap: 9px;
  margin-bottom: 14px;
  border-radius: 5px;
  padding: 20px;
  color: white;
  background:
    radial-gradient(circle at 84% 12%, rgba(249, 115, 22, 0.4), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
  text-align: center;
}

.player-wordle-intro span,
.player-wordle-form label {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.player-wordle-intro b {
  color: var(--orange);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 58px;
  letter-spacing: 5px;
  line-height: 1;
}

.player-wordle-intro p {
  max-width: 420px;
  margin: 0 auto;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.player-wordle-form {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.player-wordle-form > div {
  display: flex;
  gap: 8px;
}

.player-wordle-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 3px;
  padding: 12px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 13px;
  outline-color: var(--orange);
}

.player-autocomplete {
  position: relative;
  min-width: 0;
  flex: 1;
}

.player-autocomplete input {
  width: 100%;
}

.player-autocomplete-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: grid;
  gap: 4px;
  max-height: 230px;
  overflow-y: auto;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 6px;
  padding: 6px;
  background: white;
  box-shadow: 0 16px 36px rgba(11, 16, 32, 0.18);
}

.player-autocomplete-menu[hidden] {
  display: none;
}

.player-autocomplete-option {
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 10px 11px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.player-autocomplete-option:hover,
.player-autocomplete-option.is-active {
  color: var(--orange-dark);
  background: #ffeadb;
}

.player-autocomplete-empty {
  padding: 10px 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.player-wordle-key {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.player-wordle-key span {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.player-wordle-key .is-exact,
.wordle-cell.is-exact {
  color: var(--cedar);
  background: #ddf2e7;
}

.player-wordle-key .is-partial,
.wordle-cell.is-partial {
  color: #8b341f;
  background: #ffd6bf;
}

.player-wordle-key .is-unknown,
.wordle-cell.is-unknown,
.player-wordle-key .is-none,
.wordle-cell.is-none {
  color: var(--muted);
  background: rgba(11, 16, 32, 0.07);
}

.player-wordle-table-wrap {
  overflow-x: auto;
  margin-bottom: 12px;
}

.player-wordle-table-wrap[hidden] {
  display: none;
}

.player-wordle-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 6px;
}

.player-wordle-table th {
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-align: left;
  text-transform: uppercase;
}

.wordle-cell {
  min-width: 120px;
  border-radius: 4px;
  padding: 10px;
  vertical-align: top;
}

.wordle-cell span {
  display: block;
  color: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.wordle-cell small {
  display: block;
  margin-top: 5px;
  opacity: 0.78;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.wordle-result-card {
  display: grid;
  gap: 12px;
  margin-top: 15px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 6px;
  padding: 16px;
  background:
    radial-gradient(circle at right top, rgba(249, 115, 22, 0.12), transparent 34%),
    white;
  box-shadow: 0 14px 34px rgba(11, 16, 32, 0.11);
}

.wordle-result-card > span,
.wordle-guess-summary > small,
.wordle-result-grid small {
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.wordle-result-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 42px;
  line-height: 0.95;
  text-transform: uppercase;
}

.wordle-result-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wordle-result-grid div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 11px;
  background: rgba(245, 231, 208, 0.36);
}

.wordle-result-grid b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.wordle-guess-summary {
  display: grid;
  gap: 8px;
}

.wordle-guess-summary ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wordle-guess-summary li {
  display: grid;
  align-items: center;
  gap: 7px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px 10px;
  background: rgba(245, 231, 208, 0.36);
}

.wordle-guess-summary li span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.wordle-guess-summary li b {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.wordle-guess-summary code {
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
}

.wordle-result-card pre {
  overflow-x: auto;
  margin: 0;
  border-radius: 5px;
  padding: 12px;
  color: var(--ink);
  background: rgba(245, 231, 208, 0.42);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.6;
  white-space: pre-wrap;
}

.wordle-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wordle-result-card > small {
  min-height: 16px;
  color: var(--cedar);
  font-size: 11px;
  font-weight: 800;
}

.connections-intro {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  border-radius: 5px;
  padding: 18px;
  color: white;
  background:
    radial-gradient(circle at 87% 10%, rgba(249, 115, 22, 0.38), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
}

.connections-intro b {
  color: var(--orange);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 28px;
  letter-spacing: -0.2px;
  line-height: 1;
  text-transform: uppercase;
}

.connections-intro p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.connections-solved {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.connections-hints {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.connections-solved[hidden],
.connections-hints[hidden],
.connections-board[hidden],
.connections-actions [hidden] {
  display: none;
}

.connections-solved-group {
  border-radius: 4px;
  padding: 11px;
  color: #245d45;
  background: #ddf2e7;
}

.connections-solved-group span {
  display: block;
  margin-bottom: 4px;
  color: #1e6748;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.connections-solved-group p {
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.connections-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 4px;
  padding: 10px;
  color: #6f4d12;
  background: #fae8aa;
  font-size: 12px;
  font-weight: 800;
}

.connections-hint b {
  color: #5d4a1a;
  font-size: 9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.connections-board {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 1fr);
}

.connections-card {
  min-height: 68px;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 4px;
  padding: 8px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.connections-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.connections-card.is-selected {
  border-color: var(--orange);
  color: white;
  background: var(--orange);
}

.connections-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.connections-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.connections-clear {
  border: 1px solid rgba(11, 16, 32, 0.14);
  color: var(--muted);
  background: white;
}

.tier-list-builder {
  display: grid;
  gap: 16px;
}

.tier-list-intro {
  display: grid;
  gap: 7px;
  border-radius: 5px;
  padding: 18px;
  color: white;
  background:
    radial-gradient(circle at 84% 12%, rgba(249, 115, 22, 0.42), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
}

.tier-list-intro span,
.tier-filter-control span,
.tier-search-control span,
.tier-compact-toggle span,
.tier-filter-summary span,
.tier-player-pool > div:first-child span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tier-list-intro b {
  font-family: "Oswald", Impact, sans-serif;
  font-size: 31px;
  letter-spacing: -0.3px;
  line-height: 1;
  text-transform: uppercase;
}

.tier-list-intro p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.tier-list-filters {
  display: grid;
  align-items: end;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr) auto;
}

.tier-filter-control {
  display: grid;
  gap: 6px;
}

.tier-filter-control select {
  width: 100%;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 4px;
  padding: 10px 11px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.tier-clear-filters {
  border: 1px solid rgba(11, 16, 32, 0.14);
  color: var(--muted);
  background: white;
  white-space: nowrap;
}

.tier-list-toolbar {
  display: grid;
  align-items: end;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.tier-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.tier-toolbar-actions .button {
  min-height: 43px;
}

.tier-toolbar-actions small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.tier-search-control {
  display: grid;
  gap: 6px;
}

.tier-search-control input {
  width: 100%;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 4px;
  padding: 12px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  outline-color: var(--orange);
}

.tier-compact-toggle {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 4px;
  padding: 10px 12px;
  background: white;
  cursor: pointer;
}

.tier-compact-toggle input {
  accent-color: var(--orange);
}

.tier-filter-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.tier-filter-summary article {
  border: 1px solid rgba(11, 16, 32, 0.1);
  border-radius: 5px;
  padding: 12px;
  background: var(--paper);
}

.tier-filter-summary span {
  display: block;
  margin-bottom: 6px;
}

.tier-filter-summary b {
  display: block;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.tier-board {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.tier-row {
  display: grid;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: white;
  grid-template-columns: 72px 1fr;
}

.tier-row:last-child {
  border-bottom: 0;
}

.tier-label {
  display: grid;
  color: white;
  background: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 34px;
  place-items: center;
}

.tier-row:nth-child(1) .tier-label {
  background: var(--orange);
}

.tier-row:nth-child(2) .tier-label {
  background: #d68f22;
}

.tier-row:nth-child(3) .tier-label {
  background: var(--cedar);
}

.tier-row-players {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 8px;
  padding: 12px;
}

.tier-row-players p {
  margin: auto 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tier-chip {
  border: 1px solid #c8d6cf;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(245, 231, 208, 0.32);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.tier-chip span {
  margin-left: 6px;
  color: var(--orange);
}

.tier-player-pool {
  display: grid;
  gap: 10px;
}

.tier-player-pool > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.tier-player-pool h3 {
  margin-bottom: 0;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

.tier-player-grid {
  display: grid;
  gap: 9px;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 4px;
  grid-template-columns: repeat(2, 1fr);
}

.tier-player-card {
  display: grid;
  align-items: center;
  gap: 11px;
  grid-template-columns: 46px 1fr;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 5px;
  padding: 12px;
  background: white;
}

.tier-player-card.is-compact {
  grid-template-columns: 1fr;
  padding: 10px;
}

.tier-player-card img {
  width: 46px;
  height: 46px;
  border: 1px solid #d3e0da;
  border-radius: 50%;
  background: var(--mint-light);
  object-fit: cover;
}

.tier-player-card b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.tier-player-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.tier-player-actions {
  display: grid;
  grid-column: 1 / -1;
  gap: 5px;
  grid-template-columns: repeat(5, 1fr);
}

.tier-player-actions button {
  border: 1px solid #d5ddd8;
  border-radius: 4px;
  padding: 7px 0;
  color: var(--ink);
  background: rgba(245, 231, 208, 0.32);
  cursor: pointer;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 15px;
}

.tier-player-actions button:hover,
.tier-chip:hover {
  border-color: var(--orange);
  color: white;
  background: var(--orange);
}

.tier-show-more {
  width: fit-content;
  justify-self: center;
  border: 1px solid rgba(11, 16, 32, 0.14);
  color: var(--ink);
  background: white;
}

.blind-ranking-builder {
  display: grid;
  gap: 16px;
}

.blind-ranking-intro,
.blind-ranking-player,
.blind-ranking-board,
.blind-ranking-result-card,
.blind-ranking-setup {
  border: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 6px;
  color: var(--cream);
  background:
    radial-gradient(circle at 86% 16%, rgba(249, 115, 22, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(35, 28, 39, 0.95));
}

.blind-ranking-intro {
  display: grid;
  gap: 7px;
  padding: 18px;
}

.blind-ranking-intro span,
.blind-ranking-control span,
.blind-ranking-count span,
.blind-ranking-player > span,
.blind-ranking-board-header span,
.blind-ranking-result-card > span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blind-ranking-intro b,
.blind-ranking-player h3,
.blind-ranking-result-card h3 {
  font-family: "Oswald", Impact, sans-serif;
  line-height: 1;
  text-transform: uppercase;
}

.blind-ranking-intro b {
  font-size: 36px;
}

.blind-ranking-intro p,
.blind-ranking-note {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.blind-ranking-setup {
  display: grid;
  gap: 0;
  padding: 0 0 18px;
  overflow: hidden;
}

.blind-ranking-controls {
  display: grid;
  align-items: end;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 16px 20px 0;
}

.blind-ranking-controls.has-team-filter {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.blind-ranking-control,
.blind-ranking-count {
  display: grid;
  gap: 6px;
}

.blind-ranking-control select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--cream);
  background: rgba(11, 16, 32, 0.82);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  outline-color: var(--orange);
}

.blind-ranking-count {
  min-height: 44px;
  justify-content: center;
  border: 1px solid rgba(245, 231, 208, 0.16);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(11, 16, 32, 0.54);
}

.blind-ranking-count b {
  font-size: 13px;
  line-height: 1.2;
}

.blind-ranking-note {
  padding: 0 16px 16px;
}

.blind-ranking-stage {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
}

.blind-ranking-player {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 13px;
  min-height: 430px;
  padding: 22px 18px;
  text-align: center;
}

.blind-ranking-player img {
  width: min(42vw, 210px);
  max-width: 100%;
  aspect-ratio: 1;
  border: 2px solid rgba(245, 231, 208, 0.32);
  border-radius: 50%;
  background: rgba(245, 231, 208, 0.14);
  object-fit: cover;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.blind-ranking-player h3 {
  margin-bottom: 0;
  color: var(--cream);
  font-size: clamp(32px, 5vw, 56px);
}

.blind-ranking-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.blind-ranking-meta span {
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--muted-light);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
}

.blind-ranking-meta span + span::before {
  margin: 0 8px;
  color: var(--orange);
  content: "\2022";
}

.blind-ranking-board {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.blind-ranking-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blind-ranking-board-header b {
  color: var(--cream);
  font-size: 12px;
  font-weight: 900;
}

.blind-ranking-slots {
  display: grid;
  gap: 9px;
}

.blind-ranking-slot {
  display: grid;
  align-items: center;
  gap: 10px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 68px;
  border: 1px solid rgba(245, 231, 208, 0.16);
  border-radius: 5px;
  padding: 12px;
  color: var(--cream);
  background: rgba(11, 16, 32, 0.62);
  cursor: pointer;
  text-align: left;
}

.blind-ranking-slot span {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 18px;
  place-items: center;
}

.blind-ranking-slot strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 900;
}

.blind-ranking-slot b {
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.blind-ranking-slot.is-used {
  border-color: rgba(249, 115, 22, 0.36);
  background: rgba(249, 115, 22, 0.11);
  cursor: not-allowed;
}

.blind-ranking-slot.is-used b {
  color: var(--orange);
  background: rgba(11, 16, 32, 0.72);
}

.blind-ranking-slot:disabled {
  opacity: 1;
}

.blind-ranking-slot.is-available:hover {
  border-color: var(--orange);
  transform: translateY(-1px);
}

.blind-ranking-result-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.blind-ranking-result-card h3 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 54px);
}

.blind-ranking-result-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blind-ranking-result-list li {
  display: grid;
  align-items: center;
  gap: 10px;
  grid-template-columns: 42px minmax(0, 1fr);
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 5px;
  padding: 11px 12px;
  background: rgba(11, 16, 32, 0.54);
}

.blind-ranking-result-list span {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 17px;
  place-items: center;
}

.blind-ranking-result-list b {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.blind-ranking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blind-ranking-actions .button {
  min-height: 43px;
}

.blind-ranking-result-card small {
  min-height: 16px;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 900;
}

.starting-five-builder {
  display: grid;
  gap: 16px;
}

.starting-five-intro {
  display: grid;
  gap: 7px;
  border-radius: 5px;
  padding: 18px;
  color: white;
  background:
    radial-gradient(circle at 86% 14%, rgba(249, 115, 22, 0.45), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
}

.starting-five-intro span,
.starting-five-name span,
.starting-five-board-header span,
.starting-five-pool-header span,
.starting-five-saved-card span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.starting-five-intro b {
  font-family: "Oswald", Impact, sans-serif;
  font-size: 31px;
  letter-spacing: -0.3px;
  line-height: 1;
  text-transform: uppercase;
}

.starting-five-intro p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.starting-five-filters {
  display: grid;
  align-items: end;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.starting-five-prompt-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(11, 16, 32, 0.12);
  border-radius: 5px;
  padding: 15px;
  background:
    radial-gradient(circle at 92% 10%, rgba(249, 115, 22, 0.18), transparent 32%),
    rgba(245, 231, 208, 0.32);
}

.starting-five-prompt-card.has-prompt {
  border-color: rgba(249, 115, 22, 0.36);
  background:
    radial-gradient(circle at 92% 10%, rgba(249, 115, 22, 0.24), transparent 34%),
    var(--paper);
}

.starting-five-prompt-card span {
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.starting-five-prompt-card b {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.starting-five-prompt-card p {
  max-width: 600px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.starting-five-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.starting-five-name {
  display: grid;
  gap: 6px;
}

.starting-five-toolbar {
  display: grid;
  align-items: end;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.starting-five-search-control {
  display: grid;
  gap: 6px;
}

.starting-five-search-control span,
.starting-five-pool-count span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.starting-five-name input,
.starting-five-search-control input {
  width: 100%;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 4px;
  padding: 10px 11px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  outline-color: var(--orange);
}

.starting-five-pool-count {
  min-width: 150px;
  border: 1px solid rgba(11, 16, 32, 0.1);
  border-radius: 5px;
  padding: 10px 12px;
  background: var(--paper);
}

.starting-five-pool-count span {
  display: block;
  margin-bottom: 5px;
}

.starting-five-pool-count b {
  display: block;
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.starting-five-layout {
  display: grid;
  align-items: start;
  gap: 16px;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
}

.starting-five-board,
.starting-five-pool,
.starting-five-saved {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 14px;
  background: var(--paper);
}

.starting-five-board-header,
.starting-five-pool-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.starting-five-board-header h3,
.starting-five-pool-header h3 {
  margin-bottom: 0;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

.starting-five-board-header span {
  color: var(--navy);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 28px;
  letter-spacing: -0.3px;
  line-height: 1;
  text-transform: uppercase;
}

.starting-five-board-header p,
.starting-five-pool-header p {
  max-width: 240px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.starting-five-soft-button,
.starting-five-slot button,
.starting-five-player-card button,
.starting-five-saved-actions button {
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.starting-five-soft-button:hover,
.starting-five-slot button:hover,
.starting-five-player-card button:hover,
.starting-five-saved-actions button:hover {
  border-color: var(--orange);
  color: white;
  background: var(--orange);
}

.starting-five-slots {
  display: grid;
  gap: 9px;
}

.starting-five-slot {
  display: grid;
  align-items: center;
  min-height: 78px;
  border: 1px dashed #c8d6cf;
  border-radius: 5px;
  padding: 11px;
  background: rgba(245, 231, 208, 0.32);
  grid-template-columns: 84px 1fr auto;
}

.starting-five-slot.has-player {
  border-style: solid;
  background: white;
}

.starting-five-slot.is-out-of-position {
  border-color: rgba(249, 115, 22, 0.55);
  background: #fff0e3;
}

.starting-five-slot-label {
  display: grid;
  gap: 3px;
}

.starting-five-slot-label span {
  display: grid;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 21px;
  place-items: center;
}

.starting-five-slot-label b,
.starting-five-slot-player b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.starting-five-slot p,
.starting-five-slot-player p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.starting-five-slot-player small {
  display: inline-block;
  margin-top: 5px;
  border-radius: 999px;
  padding: 4px 7px;
  color: var(--cedar);
  background: #e4f2eb;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.starting-five-slot.is-out-of-position .starting-five-slot-player small {
  color: #b64d2d;
  background: #ffe4d8;
}

.starting-five-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.starting-five-pool {
  position: sticky;
  top: 14px;
}

.starting-five-player-grid {
  display: grid;
  gap: 9px;
  max-height: 680px;
  overflow-y: auto;
  padding-right: 4px;
}

.starting-five-player-card {
  display: grid;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 5px;
  padding: 10px;
  background: white;
  grid-template-columns: 46px 1fr auto;
}

.starting-five-player-card img {
  width: 46px;
  height: 46px;
  border: 1px solid #d8e1dc;
  border-radius: 50%;
  background: var(--mint-light);
  object-fit: cover;
}

.starting-five-player-card b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.starting-five-player-card p,
.starting-five-player-card small {
  display: block;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.starting-five-show-more {
  width: fit-content;
  justify-self: center;
  border: 1px solid rgba(11, 16, 32, 0.14);
  color: var(--ink);
  background: white;
}

.starting-five-saved {
  background: rgba(245, 231, 208, 0.32);
}

.starting-five-saved-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.starting-five-saved-card {
  display: grid;
  gap: 11px;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 5px;
  padding: 13px;
  background: white;
}

.starting-five-saved-card b {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.starting-five-saved-card p,
.starting-five-saved-card small {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.starting-five-saved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sbc-game {
  display: grid;
  gap: 16px;
}

.sbc-intro {
  display: grid;
  gap: 7px;
  border-radius: 5px;
  padding: 18px;
  color: white;
  background:
    radial-gradient(circle at 84% 10%, rgba(249, 115, 22, 0.42), transparent 34%),
    radial-gradient(circle at 4% 100%, rgba(0, 122, 61, 0.16), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
}

.sbc-intro span,
.sbc-filter-control span,
.sbc-summary span,
.sbc-player-copy span {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sbc-intro b {
  font-family: "Oswald", Impact, sans-serif;
  font-size: 31px;
  letter-spacing: -0.3px;
  line-height: 1;
  text-transform: uppercase;
}

.sbc-intro p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.sbc-filters {
  display: grid;
  align-items: end;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sbc-filter-control {
  display: grid;
  gap: 6px;
}

.sbc-filter-control select {
  width: 100%;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 4px;
  padding: 10px 11px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.sbc-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.sbc-summary article {
  border: 1px solid rgba(11, 16, 32, 0.12);
  border-radius: 5px;
  padding: 12px;
  background: var(--paper);
}

.sbc-summary span {
  display: block;
  margin-bottom: 6px;
}

.sbc-summary b {
  display: block;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.sbc-board {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sbc-player-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 5px;
  padding: 14px;
  background:
    radial-gradient(circle at 92% 8%, rgba(249, 115, 22, 0.1), transparent 32%),
    white;
}

.sbc-player-card.has-role {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 10px 24px rgba(11, 16, 32, 0.11);
}

.sbc-role-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  padding: 6px 9px;
  color: white;
  background: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.sbc-player-card.is-bench .sbc-role-badge {
  background: var(--cedar);
}

.sbc-player-card.is-cut .sbc-role-badge {
  background: var(--ink);
}

.sbc-player-card img {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 50%;
  background: var(--mint-light);
  object-fit: cover;
}

.sbc-player-copy {
  display: grid;
  gap: 5px;
}

.sbc-player-copy b {
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 25px;
  line-height: 1.05;
  text-transform: uppercase;
}

.sbc-player-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.sbc-role-actions {
  display: grid;
  gap: 7px;
  margin-top: auto;
  grid-template-columns: repeat(3, 1fr);
}

.sbc-role-actions button {
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 4px;
  padding: 9px 8px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.sbc-role-actions button:hover,
.sbc-role-actions button.is-selected {
  border-color: var(--orange);
  color: white;
  background: var(--orange);
}

.sbc-role-actions button.is-used {
  border-color: rgba(11, 16, 32, 0.1);
  color: #60736f;
  background: rgba(245, 231, 208, 0.32);
}

.sbc-role-actions button:disabled {
  border-color: #dde5e1;
  color: #9aa9a5;
  background: #f3f6f4;
  cursor: not-allowed;
}

.sbc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sbc-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.both-matchup-card {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  border-radius: 5px;
  padding: 20px;
  color: white;
  background:
    radial-gradient(circle at 82% 16%, rgba(249, 115, 22, 0.42), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(215, 25, 32, 0.12), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
  text-align: center;
}

.both-matchup-card > span,
.both-guess-form label,
.both-found-list > p,
.both-reveal > p {
  color: var(--orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.both-team-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.both-team-row b {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.both-team-row i {
  color: var(--orange);
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
}

.both-matchup-card p {
  max-width: 460px;
  margin: 0 auto;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.both-guess-form {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.both-guess-form > div {
  display: flex;
  gap: 8px;
}

.both-guess-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 3px;
  padding: 12px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 13px;
  outline-color: var(--orange);
}

.both-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  border-radius: 5px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(245, 231, 208, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.both-progress b,
.both-progress strong {
  color: var(--orange-dark);
}

.both-copy-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.both-copy-actions[hidden] {
  display: none;
}

.both-copy-actions small {
  color: var(--muted);
  font-weight: 800;
}

.both-found-list,
.both-reveal {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.both-found-list[hidden],
.both-reveal[hidden] {
  display: none;
}

.both-found-list > div,
.both-reveal > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.both-found-list span,
.both-reveal span {
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 900;
}

.both-found-list span,
.both-reveal span.is-found {
  color: #1d5c35;
  background: #dff3e4;
}

.both-reveal span.is-missed {
  color: #9d3f28;
  background: #fae1d9;
}

.both-reveal small {
  margin-left: 5px;
  font-size: 9px;
  opacity: 0.72;
  text-transform: uppercase;
}

.score-submit-card {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 5px;
  padding: 14px;
  background: #fff0e3;
}

.score-submit-card > div span,
.score-submit-card label {
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.score-submit-card > div b {
  display: block;
  margin: 3px 0;
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 25px;
  letter-spacing: -0.2px;
  text-transform: uppercase;
}

.score-submit-card > div p,
.score-submit-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.score-submit-card label {
  display: grid;
  gap: 6px;
}

.score-submit-card input {
  width: 100%;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 4px;
  padding: 12px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 13px;
  outline-color: var(--orange);
}

.score-submit-card button {
  width: fit-content;
}

.score-submit-status.is-success {
  color: var(--cedar);
}

.score-submit-status.is-error {
  color: #b64d2d;
}

.guess-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  margin-top: 8px;
}

.guess-next[hidden] {
  display: none;
}

.clue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--mint-light);
  font-size: 12px;
  font-weight: 700;
}

.clue b {
  display: grid;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-size: 10px;
  place-items: center;
}

.quiz-form {
  display: flex;
  gap: 8px;
}

.quiz-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(11, 16, 32, 0.14);
  border-radius: 3px;
  padding: 12px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 13px;
  outline-color: var(--orange);
}

.feedback {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.feedback.is-right {
  color: var(--cedar);
}

.feedback.is-wrong {
  color: #b64d2d;
}

.preview-panel {
  display: grid;
  min-height: 198px;
  place-items: center;
  border-radius: 4px;
  color: #bed0cc;
  background: var(--navy);
  text-align: center;
}

.preview-panel b {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 66px;
  line-height: 1;
}

.preview-panel p {
  max-width: 340px;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.6;
}

.preview-panel small {
  display: block;
  margin-top: 13px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.data-health-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 72px;
  border: 1px solid rgba(249, 115, 22, 0.32);
  border-radius: 6px;
  padding: 24px;
  background: #fff0e3;
}

.data-health-panel h2 {
  margin-bottom: 6px;
  font-size: 42px;
}

.data-health-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.data-health-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.data-health-grid article {
  border: 1px solid rgba(23, 66, 53, 0.12);
  border-radius: 5px;
  padding: 14px;
  background: white;
}

.data-health-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.data-health-grid b {
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 31px;
  line-height: 1;
}

@media (max-width: 950px) {
  .hero-grid {
    grid-template-columns: 1fr 0.72fr;
  }

  .basketball {
    right: -56px;
    bottom: 76px;
  }

  .scoreboard {
    right: 10px;
  }

  .daily-layout {
    grid-template-columns: 1fr;
  }

  .daily-side {
    grid-template-columns: 1fr 1fr;
  }

  .progress-card {
    grid-column: span 2;
  }

  .game-section-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .data-health-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tier-filter-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .sbc-filters,
  .sbc-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .sbc-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header,
  .section-shell,
  .site-footer,
  .hero-grid {
    width: min(100% - 28px, 560px);
  }

  .site-header {
    min-height: 67px;
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .desktop-nav {
    order: 3;
    display: flex;
    width: 100%;
    gap: 8px;
    margin: 10px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .desktop-nav::-webkit-scrollbar {
    display: none;
  }

  .desktop-nav a {
    flex: 0 0 auto;
  }

  .streak-pill span {
    display: none;
  }

  .icon-button {
    display: none;
  }

  .hero-grid {
    display: block;
    min-height: auto;
  }

  .hero-copy {
    padding: 48px 0 42px;
  }

  h1 {
    font-size: clamp(61px, 19vw, 84px);
  }

  .hero-intro {
    font-size: 14px;
  }

  .hero-visual {
    display: none;
  }

  .daily-section {
    padding: 44px 0 58px;
  }

  .games-section {
    padding: 59px 0 66px;
  }

  .games-section {
    padding-top: 0;
  }

  .section-heading {
    display: block;
  }

  .daily-reset {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    text-align: left;
  }

  .daily-reset b {
    font-size: 18px;
  }

  .daily-stats-panel {
    display: grid;
    gap: 12px;
  }

  .daily-stats-grid {
    grid-template-columns: 1fr;
  }

  .daily-stats-heading b {
    font-size: 25px;
  }

  .feature-card {
    display: block;
    min-height: 390px;
  }

  .feature-copy {
    position: relative;
    z-index: 1;
    padding: 20px;
  }

  .card-topline {
    margin-bottom: 33px;
  }

  .feature-card h3 {
    font-size: 48px;
  }

  .feature-photo {
    position: absolute;
    display: none;
  }

  .daily-side {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mini-game-card {
    min-height: 88px;
  }

  .progress-card {
    grid-column: auto;
  }

  .games-heading .filter-row {
    margin-top: 17px;
  }

  .game-section-heading {
    display: block;
  }

  .game-section-heading small {
    display: block;
    margin-top: 8px;
  }

  .leaderboard-section {
    padding-bottom: 66px;
  }

  .leaderboard-coming-soon {
    padding: 26px;
  }

  .game-section-cards {
    grid-template-columns: 1fr 1fr;
  }

  .game-card {
    min-height: 218px;
    padding: 13px;
  }

  .game-card h3 {
    font-size: 24px;
  }

  .game-card p {
    font-size: 11px;
  }

  .history-layout {
    display: block;
  }

  .history-copy {
    padding: 61px 0 28px;
  }

  .history-actions {
    display: grid;
  }

  .history-actions .button {
    width: 100%;
  }

  .history-note {
    min-height: 0;
    padding: 24px 0 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
    background: transparent;
  }

  .community {
    display: block;
    padding-block: 60px;
  }

  .community > p {
    margin-top: 18px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 13px;
    padding: 18px 0;
  }

  .site-footer p {
    order: 3;
    width: 100%;
  }

  .site-footer div {
    margin-left: auto;
  }

  .modal-header,
  .modal-content {
    padding-right: 17px;
    padding-left: 17px;
  }

  .modal-header h2 {
    font-size: 34px;
  }

  .daily-result-card > div {
    display: grid;
  }

  .daily-result-card .button {
    width: 100%;
  }

  .quiz-form {
    display: grid;
  }

  .guess-mystery-card {
    padding: 20px;
  }

  .guess-options {
    grid-template-columns: 1fr;
  }

  .career-status,
  .career-guess-form > div {
    grid-template-columns: 1fr;
  }

  .career-status {
    display: grid;
  }

  .career-guess-form > div {
    display: grid;
  }

  .player-autocomplete {
    width: 100%;
  }

  .career-guess-form button {
    width: 100%;
  }

  .player-wordle-form > div {
    display: grid;
  }

  .player-wordle-form button {
    width: 100%;
  }

  .wordle-mode-note,
  .wordle-result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .wordle-result-grid,
  .wordle-guess-summary li {
    grid-template-columns: 1fr;
  }

  .wordle-result-card h3 {
    font-size: 34px;
  }

  .wordle-result-actions .button {
    width: 100%;
  }

  .both-team-row b {
    font-size: 20px;
  }

  .both-guess-form > div {
    display: grid;
  }

  .both-guess-form button {
    width: 100%;
  }

  .both-copy-actions,
  .both-copy-actions .button {
    width: 100%;
  }

  .both-progress {
    align-items: flex-start;
    flex-direction: column;
  }

  .tier-list-filters {
    grid-template-columns: 1fr;
  }

  .tier-list-toolbar,
  .tier-filter-summary {
    grid-template-columns: 1fr;
  }

  .tier-toolbar-actions {
    display: grid;
    justify-content: stretch;
  }

  .tier-toolbar-actions .button,
  .tier-toolbar-actions .tier-compact-toggle {
    width: 100%;
  }

  .tier-clear-filters {
    width: 100%;
  }

  .tier-row {
    grid-template-columns: 52px 1fr;
  }

  .tier-label {
    font-size: 26px;
  }

  .tier-player-pool > div:first-child {
    display: grid;
    align-items: start;
  }

  .tier-player-grid {
    max-height: 380px;
    grid-template-columns: 1fr;
  }

  .tier-player-card {
    grid-template-columns: 42px 1fr;
  }

  .tier-player-card img {
    width: 42px;
    height: 42px;
  }

  .starting-five-filters,
  .starting-five-toolbar,
  .starting-five-layout,
  .starting-five-saved-grid {
    grid-template-columns: 1fr;
  }

  .starting-five-pool-count {
    min-width: 0;
  }

  .starting-five-prompt-card {
    display: grid;
  }

  .starting-five-prompt-actions,
  .starting-five-prompt-actions .button {
    width: 100%;
  }

  .starting-five-prompt-actions {
    display: grid;
  }

  .starting-five-pool {
    position: static;
  }

  .starting-five-board-header,
  .starting-five-pool-header {
    display: grid;
    align-items: start;
  }

  .starting-five-board-header p,
  .starting-five-pool-header p {
    max-width: none;
    text-align: left;
  }

  .starting-five-slot {
    align-items: start;
    grid-template-columns: 58px 1fr;
  }

  .starting-five-slot button {
    width: 100%;
    grid-column: 1 / -1;
  }

  .starting-five-player-grid {
    max-height: 410px;
  }

  .starting-five-player-card {
    grid-template-columns: 42px 1fr;
  }

  .starting-five-player-card img {
    width: 42px;
    height: 42px;
  }

  .starting-five-player-card button {
    width: 100%;
    grid-column: 1 / -1;
  }

  .starting-five-actions {
    display: grid;
  }

  .starting-five-actions .button {
    width: 100%;
  }

  .starting-five-show-more {
    width: 100%;
  }

  .sbc-filters,
  .sbc-summary,
  .sbc-role-actions {
    grid-template-columns: 1fr;
  }

  .sbc-player-card {
    grid-template-columns: 58px 1fr;
  }

  .sbc-player-card img {
    width: 58px;
    height: 58px;
  }

  .sbc-player-copy {
    padding-right: 64px;
  }

  .sbc-role-actions {
    grid-column: 1 / -1;
  }

  .sbc-actions {
    display: grid;
  }

  .sbc-actions .button {
    width: 100%;
  }

  .player-wordle-table {
    min-width: 0;
    border-spacing: 0;
  }

  .player-wordle-table thead {
    display: none;
  }

  .player-wordle-table tbody,
  .player-wordle-table tr,
  .player-wordle-table td {
    display: block;
  }

  .player-wordle-table tr {
    display: grid;
    gap: 7px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
  }

  .wordle-cell {
    min-width: 0;
  }

  .wordle-cell::before {
    display: block;
    margin-bottom: 4px;
    content: attr(data-label);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.8px;
    opacity: 0.72;
    text-transform: uppercase;
  }

  .connections-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .connections-actions {
    display: grid;
  }

  .connections-actions .button {
    width: 100%;
  }

  .score-submit-card button {
    width: 100%;
  }

  .guess-footer {
    display: grid;
  }

  .guess-next {
    width: 100%;
  }

  .data-health-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .game-section-cards {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 190px;
  }
}

/* Timeout LB launch redesign layer */
body {
  background:
    radial-gradient(circle at 15% 7%, rgba(249, 115, 22, 0.2), transparent 28rem),
    radial-gradient(circle at 93% 28%, rgba(0, 122, 61, 0.13), transparent 24rem),
    linear-gradient(180deg, #f8ead3 0, var(--cream) 34%, #ead7b7 100%);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 16, 32, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(11, 16, 32, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

.site-header {
  position: sticky;
  z-index: 8;
  top: 12px;
  min-height: 64px;
  margin-top: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 18px;
  padding: 0 18px;
  color: white;
  background:
    linear-gradient(90deg, rgba(249, 115, 22, 0.16), transparent 34%),
    rgba(11, 16, 32, 0.92);
  box-shadow: 0 18px 45px rgba(11, 16, 32, 0.18);
  backdrop-filter: blur(14px);
}

.site-header .brand,
.site-header .desktop-nav a {
  color: white;
}

.site-header .brand {
  gap: 9px;
  font-size: 19px;
  letter-spacing: 1.6px;
}

.brand-mark {
  border-radius: 12px;
  color: var(--orange);
  background:
    radial-gradient(circle at 30% 25%, rgba(251, 191, 36, 0.45), transparent 35%),
    rgba(249, 115, 22, 0.16);
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.28);
}

.desktop-nav {
  gap: 10px;
}

.desktop-nav a {
  flex: 0 0 auto;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 9px 7px 7px;
  color: var(--muted-light);
  white-space: nowrap;
}

.desktop-nav a:hover {
  border-bottom-color: rgba(249, 115, 22, 0.48);
  color: white;
  background: transparent;
}

.desktop-nav a.is-active,
.desktop-nav a[aria-current="page"] {
  border-bottom-color: var(--orange);
  color: var(--yellow);
  background: transparent;
  box-shadow: none;
}

.site-footer a.is-active,
.site-footer a[aria-current="page"] {
  color: var(--yellow);
}

.streak-pill {
  border-color: rgba(249, 115, 22, 0.28);
  color: var(--muted-light);
  background: rgba(245, 231, 208, 0.08);
}

.page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-left: 7px solid var(--orange);
  border-radius: 28px;
  margin-top: 36px;
  margin-bottom: 30px;
  padding: 46px 34px;
  color: white;
  background:
    radial-gradient(circle at 90% 40%, rgba(249, 115, 22, 0.18), transparent 24%),
    radial-gradient(circle at 8% 100%, rgba(215, 25, 32, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.98)),
    var(--navy);
  box-shadow: 0 24px 56px rgba(11, 16, 32, 0.2);
}

.page-hero::after {
  position: absolute;
  right: 28px;
  bottom: 20px;
  width: 160px;
  height: 54px;
  border: 1px solid rgba(245, 231, 208, 0.13);
  border-radius: 50%;
  content: "";
}

.page-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(44px, 6.8vw, 78px);
}

.page-hero p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted-light);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.home-shortcuts {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
  margin-bottom: 48px;
}

.home-shortcuts article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 16, 32, 0.1);
  border-radius: 24px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 248, 234, 0.92), rgba(245, 231, 208, 0.68)),
    var(--paper);
  box-shadow: 0 18px 38px rgba(11, 16, 32, 0.08);
}

.home-shortcuts article::after {
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(11, 16, 32, 0.1);
  border-radius: 50%;
  content: "";
}

.home-shortcuts span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.home-shortcuts h2 {
  margin: 9px 0 8px;
  font-size: 34px;
}

.home-shortcuts p {
  color: var(--muted);
  font-weight: 700;
}

.home-shortcuts a {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.streak-pill b {
  color: var(--yellow);
}

.hero {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto 24px;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 32px;
  box-shadow: 0 28px 90px rgba(11, 16, 32, 0.36);
}

.hero::before {
  background:
    linear-gradient(115deg, transparent 0 52%, rgba(245, 231, 208, 0.09) 52% 53%, transparent 53%),
    radial-gradient(rgba(245, 231, 208, 0.12) 1px, transparent 1px);
  background-size: auto, 18px 18px;
  opacity: 0.85;
}

.hero::after {
  position: absolute;
  right: -100px;
  bottom: -210px;
  width: 540px;
  height: 540px;
  border: 2px solid rgba(245, 231, 208, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  min-height: 520px;
  grid-template-columns: 1fr;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 70px 0 32px;
}

.hero-copy::before {
  position: absolute;
  top: 78px;
  left: -34px;
  width: 7px;
  height: 275px;
  border-radius: 999px;
  background: linear-gradient(var(--orange), var(--red));
  content: "";
}

.hero h1 {
  display: grid;
  gap: 8px;
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(76px, 10vw, 142px);
  letter-spacing: -4px;
}

.hero h1 span {
  display: block;
  width: fit-content;
  border-radius: 16px;
  padding: 0 18px 7px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(245, 231, 208, 0.1), transparent),
    rgba(245, 231, 208, 0.04);
  box-shadow: inset 0 -5px 0 rgba(249, 115, 22, 0.62);
}

.hero h1 em {
  display: block;
  width: fit-content;
  border-radius: 18px;
  padding: 0 18px 8px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  box-shadow: 12px 12px 0 rgba(215, 25, 32, 0.45);
}

.hero-intro {
  display: grid;
  gap: 7px;
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--muted-light);
}

.hero-intro strong {
  color: white;
  font-size: clamp(20px, 2.3vw, 29px);
  line-height: 1.18;
}

.hero-intro span {
  font-size: 16px;
  line-height: 1.65;
}

.hero-huddle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  margin-bottom: 28px;
}

.hero-huddle-tags span {
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--paper);
  background: rgba(245, 231, 208, 0.08);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.9px;
  white-space: nowrap;
  text-transform: uppercase;
}

.button {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  padding: 14px 20px;
  box-shadow: 0 5px 14px rgba(11, 16, 32, 0.14);
}

.button::after {
  content: none;
}

.button:hover::after {
  transform: translateX(120%);
}

.button-primary {
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #190c03;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.button-primary:hover {
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--red));
  transform: translateY(-3px) scale(1.02);
}

.button-ghost {
  border-color: rgba(245, 231, 208, 0.3);
}

.button-light {
  color: var(--navy);
  background: white;
}

.button-dark {
  border: 1px solid rgba(11, 16, 32, 0.12);
  color: white;
  background: var(--navy);
}

.button-dark:hover {
  color: white;
  background: linear-gradient(135deg, var(--navy), #252b40);
  transform: translateY(-3px) scale(1.02);
}

.hero-visual {
  min-height: 650px;
}

.hero-visual::before {
  top: 72px;
  right: 30px;
  width: 460px;
  height: 460px;
  border-color: rgba(245, 231, 208, 0.12);
}

.division-clubs-panel {
  position: relative;
  z-index: 3;
  display: grid;
  overflow: hidden;
  width: min(620px, 100%);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  border-radius: 22px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 231, 208, 0.08), transparent 35%),
    linear-gradient(rgba(245, 231, 208, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 231, 208, 0.032) 1px, transparent 1px),
    rgba(8, 13, 26, 0.68);
  background-size: auto, 26px 26px, 26px 26px, auto;
  box-shadow:
    inset 0 0 0 1px rgba(245, 231, 208, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.division-clubs-panel::before {
  position: absolute;
  right: -70px;
  bottom: -96px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(245, 231, 208, 0.1);
  border-radius: 50%;
  content: "";
}

.division-clubs-panel::after {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 1px;
  height: 260px;
  background: rgba(245, 231, 208, 0.07);
  content: "";
  transform: rotate(62deg);
}

.division-clubs-panel article {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 58px;
  align-content: center;
  justify-items: center;
  border: 0;
  border-radius: 16px;
  padding: 5px;
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(255, 248, 234, 0.08), rgba(255, 248, 234, 0.018));
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.division-clubs-panel article::after {
  display: none;
}

.division-clubs-panel article:hover {
  background:
    linear-gradient(145deg, rgba(255, 248, 234, 0.12), rgba(255, 248, 234, 0.035));
  transform: translateY(-2px);
}

.division-clubs-panel article:hover::after {
  opacity: 1;
}

.division-clubs-panel img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(11, 16, 32, 0.1);
  border-radius: 14px;
  padding: 5px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 248, 234, 0.96), rgba(245, 231, 208, 0.86));
  object-fit: contain;
  box-shadow:
    0 7px 13px rgba(0, 0, 0, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.home-action-band {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  justify-content: center;
  margin: 22px auto 32px;
}

.home-action-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 0;
}

.home-action-card .button {
  min-width: 230px;
  justify-content: center;
  padding: 18px 26px;
  font-size: 13px;
}

.timeout-board {
  position: absolute;
  z-index: 2;
  top: 76px;
  right: 42px;
  width: min(460px, 82%);
  min-height: 440px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 26px;
  padding: 22px;
  color: white;
  background:
    linear-gradient(rgba(245, 231, 208, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 231, 208, 0.045) 1px, transparent 1px),
    rgba(21, 27, 46, 0.88);
  background-size: 28px 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
  transform: rotate(-2deg);
}

.timeout-board::before {
  position: absolute;
  top: -16px;
  left: 50%;
  width: 122px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  content: "";
  transform: translateX(-50%);
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.board-header span,
.timeout-board p {
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.board-header b {
  display: grid;
  width: 62px;
  height: 54px;
  border: 1px solid rgba(249, 115, 22, 0.48);
  border-radius: 14px;
  color: var(--yellow);
  background: rgba(11, 16, 32, 0.82);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 36px;
  place-items: center;
}

.play-diagram {
  position: relative;
  height: 285px;
  border: 2px solid rgba(245, 231, 208, 0.15);
  border-radius: 22px;
  background:
    radial-gradient(circle at center, transparent 0 74px, rgba(245, 231, 208, 0.12) 75px 76px, transparent 77px),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(245, 231, 208, 0.12) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}

.player-dot {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(245, 231, 208, 0.9);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
  place-items: center;
}

.player-dot::after {
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  content: "•";
}

.dot-one { top: 34px; left: 42px; }
.dot-two { top: 72px; right: 66px; background: var(--yellow); }
.dot-three { top: 148px; left: 148px; background: var(--cedar); }
.dot-four { right: 128px; bottom: 38px; background: var(--red); }
.dot-five { bottom: 50px; left: 56px; }

.play-line {
  position: absolute;
  z-index: 2;
  height: 3px;
  border-radius: 999px;
  background: rgba(245, 231, 208, 0.72);
  transform-origin: left center;
}

.play-line::after {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 9px;
  height: 9px;
  border-top: 3px solid rgba(245, 231, 208, 0.72);
  border-right: 3px solid rgba(245, 231, 208, 0.72);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.line-a { top: 63px; left: 78px; width: 220px; transform: rotate(9deg); }
.line-b { top: 183px; left: 85px; width: 140px; transform: rotate(-25deg); }
.line-c { right: 120px; bottom: 72px; width: 102px; transform: rotate(205deg); }

.timeout-board p {
  margin: 18px 0 0;
  color: var(--paper);
}

.scoreboard {
  top: 430px;
  right: 74px;
  z-index: 3;
  border-radius: 16px;
  transform: rotate(3deg);
}

.basketball {
  right: -54px;
  bottom: -30px;
  width: 275px;
  height: 275px;
  opacity: 0.92;
}

.court-lines span:first-child {
  right: -104px;
  bottom: -184px;
  width: 620px;
  height: 620px;
}

.coach-board {
  position: absolute;
  z-index: 3;
  top: 72px;
  right: 40px;
  width: min(520px, 88%);
  min-height: 505px;
  border: 1px solid rgba(245, 231, 208, 0.2);
  border-radius: 30px;
  padding: 28px;
  color: var(--paper);
  background:
    linear-gradient(rgba(245, 231, 208, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 231, 208, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.96));
  background-size: 30px 30px, 30px 30px, auto;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 248, 234, 0.04);
  transform: rotate(-1.5deg);
}

.coach-board::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(245, 231, 208, 0.08);
  border-radius: 22px;
  content: "";
  pointer-events: none;
}

.coach-clip {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 142px;
  height: 38px;
  border: 1px solid rgba(251, 191, 36, 0.46);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
}

.coach-clip::after {
  position: absolute;
  inset: 11px 28px;
  border-radius: 999px;
  background: rgba(11, 16, 32, 0.22);
  content: "";
}

.coach-board-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.coach-board-header span,
.mini-play-card span {
  display: block;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.coach-board-header b {
  display: block;
  margin-top: 5px;
  color: white;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 34px;
  letter-spacing: -0.6px;
  line-height: 1;
  text-transform: uppercase;
}

.coach-board-header strong {
  display: grid;
  width: 68px;
  height: 60px;
  border: 1px solid rgba(249, 115, 22, 0.54);
  border-radius: 18px;
  color: var(--yellow);
  background: rgba(11, 16, 32, 0.9);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 39px;
  line-height: 1;
  place-items: center;
}

.court-board {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 292px;
  border: 2px solid rgba(245, 231, 208, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 100%, transparent 0 70px, rgba(245, 231, 208, 0.13) 71px 73px, transparent 74px),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(245, 231, 208, 0.12) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    radial-gradient(circle at 18% 22%, rgba(249, 115, 22, 0.13), transparent 28%),
    rgba(255, 255, 255, 0.015);
}

.court-key {
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 130px;
  height: 96px;
  border: 2px solid rgba(245, 231, 208, 0.16);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  transform: translateX(-50%);
}

.court-arc {
  position: absolute;
  bottom: 50px;
  left: 50%;
  width: 210px;
  height: 112px;
  border: 2px solid rgba(245, 231, 208, 0.12);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.court-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86px;
  height: 86px;
  border: 2px solid rgba(245, 231, 208, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.player-marker {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 248, 234, 0.92);
  border-radius: 50%;
  color: var(--navy);
  background: var(--orange);
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  place-items: center;
}

.marker-one { top: 40px; left: 46px; }
.marker-two { top: 62px; right: 70px; background: var(--yellow); }
.marker-three { top: 142px; left: 44%; color: white; background: var(--cedar); }
.marker-four { right: 132px; bottom: 38px; color: white; background: var(--red); }
.marker-five { bottom: 54px; left: 62px; }

.route {
  position: absolute;
  z-index: 2;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.72);
  transform-origin: left center;
}

.route::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 9px;
  height: 9px;
  border-top: 3px solid rgba(255, 248, 234, 0.72);
  border-right: 3px solid rgba(255, 248, 234, 0.72);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.route-one { top: 62px; left: 82px; width: 225px; transform: rotate(8deg); }
.route-two { top: 180px; left: 90px; width: 146px; transform: rotate(-24deg); }
.route-three { right: 118px; bottom: 70px; width: 108px; transform: rotate(204deg); }

.play-call-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.play-call-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(245, 231, 208, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--muted-light);
  background: rgba(245, 231, 208, 0.05);
  font-size: 12px;
  font-weight: 800;
}

.play-call-list b {
  color: var(--yellow);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 18px;
  letter-spacing: 0.4px;
}

.mini-play-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(245, 231, 208, 0.16);
  border-radius: 18px;
  padding: 14px 16px;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.24), transparent 45%),
    rgba(11, 16, 32, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.mini-play-card b {
  display: block;
  margin-top: 4px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.mini-play-card-one {
  top: 176px;
  left: 18px;
  transform: rotate(2.5deg);
}

.mini-play-card-two {
  right: 6px;
  bottom: 92px;
  transform: rotate(-3deg);
}

.daily-section,
.games-section {
  position: relative;
}

.section-heading {
  position: relative;
  align-items: center;
  border-left: 7px solid var(--orange);
  border-radius: 18px;
  padding: 17px 20px;
  background: rgba(255, 248, 234, 0.72);
  box-shadow: 0 14px 34px rgba(11, 16, 32, 0.08);
}

.section-heading::after {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 128px;
  height: 42px;
  border: 1px solid rgba(11, 16, 32, 0.12);
  border-radius: 50%;
  content: "";
  opacity: 0.5;
}

.section-heading h2 {
  letter-spacing: -1.5px;
}

.daily-stats-panel {
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 18px 38px rgba(11, 16, 32, 0.11);
}

.daily-layout {
  gap: 20px;
}

.feature-card {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(245, 231, 208, 0.22);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(249, 115, 22, 0.22);
}

.feature-card::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 22px;
  content: "";
  pointer-events: none;
}

.feature-copy {
  position: relative;
  z-index: 2;
  padding: 34px 0 34px 36px;
}

.feature-card h3 {
  font-size: clamp(58px, 6vw, 82px);
}

.mystery-visual-card {
  border-radius: 22px;
  background:
    linear-gradient(rgba(245, 231, 208, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 231, 208, 0.05) 1px, transparent 1px),
    rgba(11, 16, 32, 0.48);
  background-size: 18px 18px;
  transform: rotate(2deg);
}

.mini-game-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 16, 32, 0.11);
  border-radius: 20px;
  min-height: 94px;
  background:
    linear-gradient(90deg, rgba(249, 115, 22, 0.12), transparent 42%),
    var(--paper);
  box-shadow: 0 12px 28px rgba(11, 16, 32, 0.08);
}

.mini-game-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(var(--orange), var(--red));
  content: "";
}

.mini-game-card:hover {
  transform: translateX(5px) translateY(-2px);
}

.mini-game-icon,
.game-card-icon {
  border-radius: 15px;
  color: white;
  background:
    radial-gradient(circle at 30% 22%, rgba(251, 191, 36, 0.35), transparent 35%),
    var(--navy);
}

.icon-grid {
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), #ffe7a3);
}

.daily-tip-card {
  border-radius: 18px;
}

.filter-row {
  position: relative;
  z-index: 1;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid rgba(11, 16, 32, 0.18);
}

.filter {
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 10px 14px 8px;
  color: var(--muted);
}

.filter.is-active,
.filter:hover {
  border-bottom-color: var(--orange);
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.game-section-group {
  position: relative;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(11, 16, 32, 0.16);
  border-radius: 0;
  padding: 34px 0 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.game-section-group::before {
  content: none;
}

.game-section-group:first-child {
  border-top: 0;
  padding-top: 0;
}

.game-section-group + .game-section-group {
  margin-top: 14px;
}

.game-section-heading {
  margin-bottom: 16px;
}

.game-section-heading h3 {
  font-size: clamp(34px, 4vw, 48px);
  color: var(--ink);
}

.game-section-heading p {
  color: var(--muted);
}

.game-section-heading small {
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
}

.game-section-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-card {
  position: relative;
  overflow: hidden;
  min-height: 255px;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 8px;
  padding: 20px;
  background: var(--navy-soft);
  box-shadow: none;
}

.game-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--orange);
  content: "";
}

.game-card::after {
  content: none;
}

.game-card:hover {
  border-color: rgba(251, 191, 36, 0.72);
  box-shadow: 0 10px 24px rgba(11, 16, 32, 0.16);
  transform: translateY(-2px);
}

.game-card-top,
.game-card-label,
.game-card h3,
.game-card p,
.game-card-bottom {
  position: relative;
  z-index: 1;
}

.game-card-icon {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  font-size: 28px;
  border-radius: 6px;
  box-shadow: none;
}

.game-card-badge,
.daily-card-badge {
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.game-card h3 {
  font-size: 32px;
}

.game-card-bottom {
  border-top-style: solid;
}

.game-card-bottom b {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  color: var(--navy);
  background: var(--orange);
  place-items: center;
  flex: 0 0 34px;
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.modal-backdrop {
  background:
    radial-gradient(circle at 50% 10%, rgba(249, 115, 22, 0.18), transparent 30rem),
    rgba(3, 7, 18, 0.84);
}

.game-modal {
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(180deg, var(--paper), #f4dfbb);
}

.modal-header {
  border-radius: 24px 24px 0 0;
}

.modal-content {
  background:
    linear-gradient(90deg, rgba(11, 16, 32, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(11, 16, 32, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
}

.game-mode-switch,
.wordle-mode-note,
.daily-result-card,
.wordle-result-card,
.tier-list-intro,
.starting-five-intro,
.sbc-intro,
.connections-intro,
.guess-mystery-card,
.career-path-card,
.both-matchup-card {
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(11, 16, 32, 0.1);
}

.guess-scoreboard {
  border: 1px solid rgba(11, 16, 32, 0.1);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 248, 234, 0.78);
}

.guess-option,
.connections-card,
.tier-player-card,
.starting-five-player-card,
.sbc-player-card {
  border-radius: 18px;
}

.guess-option:hover:not(:disabled),
.connections-card:hover,
.tier-player-actions button:hover,
.tier-chip:hover,
.starting-five-player-card button:hover,
.sbc-role-actions button:hover {
  transform: translateY(-2px);
}

.connections-board {
  gap: 10px;
}

.connections-card {
  min-height: 76px;
  background:
    linear-gradient(135deg, rgba(255, 248, 234, 0.96), rgba(245, 231, 208, 0.6));
}

.connections-card.is-selected {
  color: white;
  background:
    radial-gradient(circle at right top, rgba(251, 191, 36, 0.3), transparent 34%),
    var(--navy);
}

.tier-board,
.starting-five-board,
.starting-five-pool,
.starting-five-saved,
.tier-player-pool,
.sbc-summary article,
.tier-filter-summary article,
.starting-five-pool-count {
  border-radius: 20px;
}

.tier-label {
  border-radius: 16px;
  margin: 8px;
}

.starting-five-slot {
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 248, 234, 0.9), rgba(245, 231, 208, 0.55));
}

.starting-five-slot-label span {
  box-shadow: 0 10px 20px rgba(11, 16, 32, 0.16);
}

.sbc-player-card {
  box-shadow: 0 14px 30px rgba(11, 16, 32, 0.08);
}

.leaderboard-coming-soon,
.history-note {
  border-radius: 28px;
}

@media (max-width: 950px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    padding-bottom: 28px;
  }

  .hero-visual {
    min-height: 210px;
  }

  .timeout-board {
    top: 20px;
    right: auto;
    left: 50%;
    width: min(390px, 92%);
    transform: translateX(-50%) rotate(-1deg);
  }

  .coach-board {
    top: 20px;
    right: auto;
    left: 50%;
    width: min(540px, 92%);
    min-height: 450px;
    transform: translateX(-50%) rotate(-1deg);
  }

  .division-clubs-panel article {
    min-height: 56px;
  }

  .division-clubs-panel img {
    width: 44px;
    height: 44px;
  }

  .mini-play-card-one {
    top: 154px;
    left: 4%;
  }

  .mini-play-card-two {
    right: 4%;
    bottom: 54px;
  }

  .scoreboard {
    right: 11%;
    top: 330px;
  }

  .basketball {
    right: -34px;
    bottom: -60px;
  }

  .game-section-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body::before {
    background-size: 30px 30px;
  }

  .site-header {
    top: 8px;
    width: min(100% - 20px, 560px);
    padding: 0 12px;
  }

  .hero {
    width: min(100% - 16px, 580px);
    border-radius: 24px;
  }

  .hero-grid {
    width: min(100% - 28px, 560px);
  }

  .hero-copy {
    padding: 34px 0 8px;
  }

  .hero-copy::before {
    left: -14px;
    height: 178px;
  }

  .hero h1 {
    font-size: clamp(64px, 18vw, 104px);
    letter-spacing: -2px;
  }

  .hero h1 span,
  .hero h1 em {
    border-radius: 12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .home-action-band {
    width: min(100% - 28px, 560px);
    margin-top: 12px;
    margin-bottom: 22px;
  }

  .home-action-card {
    width: 100%;
    padding: 12px;
    border-radius: 24px;
  }

  .home-action-card .button {
    width: 100%;
  }

  .timeout-board {
    min-height: 285px;
    padding: 16px;
  }

  .coach-board {
    min-height: 300px;
    padding: 17px;
    border-radius: 22px;
  }

  .division-clubs-panel {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
    padding: 8px 7px;
    border-radius: 18px;
  }

  .division-clubs-panel article {
    min-height: 48px;
    border-radius: 12px;
    padding: 3px;
  }

  .division-clubs-panel img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    padding: 4px;
  }

  .coach-board-header {
    margin-bottom: 14px;
  }

  .coach-board-header b {
    font-size: 25px;
  }

  .coach-board-header strong {
    width: 52px;
    height: 46px;
    border-radius: 13px;
    font-size: 29px;
  }

  .coach-clip {
    width: 112px;
    height: 30px;
  }

  .play-diagram {
    height: 165px;
  }

  .court-board {
    height: 172px;
    border-radius: 18px;
  }

  .player-dot {
    width: 26px;
    height: 26px;
    border-width: 2px;
  }

  .player-marker {
    width: 26px;
    height: 26px;
    border-width: 2px;
    font-size: 10px;
  }

  .dot-one { top: 24px; left: 30px; }
  .dot-two { top: 44px; right: 42px; }
  .dot-three { top: 84px; left: 42%; }
  .dot-four { right: 72px; bottom: 28px; }
  .dot-five { bottom: 26px; left: 38px; }
  .line-a { top: 43px; left: 56px; width: 142px; }
  .line-b { top: 108px; left: 54px; width: 94px; }
  .line-c { right: 72px; bottom: 48px; width: 64px; }

  .marker-one { top: 24px; left: 30px; }
  .marker-two { top: 42px; right: 42px; }
  .marker-three { top: 82px; left: 42%; }
  .marker-four { right: 72px; bottom: 28px; }
  .marker-five { bottom: 27px; left: 38px; }
  .route-one { top: 43px; left: 56px; width: 142px; }
  .route-two { top: 107px; left: 54px; width: 94px; }
  .route-three { right: 72px; bottom: 48px; width: 64px; }

  .play-call-list {
    gap: 6px;
    margin-top: 11px;
  }

  .play-call-list span {
    padding: 7px 9px;
    font-size: 10px;
  }

  .play-call-list b {
    font-size: 14px;
  }

  .scoreboard,
  .basketball,
  .mini-play-card {
    display: none;
  }

  .section-heading {
    border-radius: 20px;
    padding: 16px;
  }

  .filter-row {
    border-radius: 20px;
  }

  .filter {
    flex: 1 1 calc(50% - 8px);
  }

  .feature-card {
    border-radius: 24px;
  }

  .feature-copy {
    padding: 24px;
  }

  .game-section-group {
    border-radius: 22px;
    padding: 30px 18px 18px;
  }

  .game-section-group:first-child {
    padding-top: 30px;
  }

  .game-section-cards {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 220px;
  }

  .game-modal {
    border-radius: 22px;
  }

  .modal-header {
    border-radius: 20px 20px 0 0;
  }
}

/* Homepage alignment refinements */
.hero h1 {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 10px;
  max-width: none;
  font-size: clamp(66px, 9.2vw, 132px);
  letter-spacing: -3px;
}

.hero h1 span,
.hero h1 em {
  display: inline-flex;
  align-items: center;
  line-height: 0.9;
  white-space: nowrap;
}

.hero h1 em {
  margin-bottom: 2px;
  font-size: 0.9em;
}

.games-heading {
  gap: 18px;
}

.games-heading .filter-row {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 5px;
  white-space: nowrap;
}

.games-heading .filter {
  flex: 0 0 auto;
  padding: 9px 10px;
  font-size: 9px;
  letter-spacing: 0.75px;
}

@media (max-width: 920px) {
  .hero h1 {
    gap: 7px;
    font-size: clamp(54px, 12.5vw, 92px);
    letter-spacing: -2px;
  }

  .hero h1 span,
  .hero h1 em {
    padding-right: 12px;
    padding-left: 12px;
  }

  .games-heading .filter-row {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .games-heading .filter-row::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    gap: 6px;
    font-size: clamp(43px, 13.8vw, 74px);
  }

  .hero h1 span,
  .hero h1 em {
    border-radius: 10px;
    padding: 0 10px 6px;
  }

  .hero h1 em {
    box-shadow: 7px 7px 0 rgba(215, 25, 32, 0.42);
  }

  .hero-huddle-tags {
    flex-wrap: nowrap;
    gap: 5px;
    margin-top: 12px;
    margin-bottom: 4px;
  }

  .hero-huddle-tags span {
    padding: 8px 10px;
    font-size: 9.3px;
    letter-spacing: 0.25px;
  }

  .games-heading .filter {
    flex: 0 0 auto;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    gap: 4px;
    font-size: clamp(36px, 12.8vw, 52px);
    letter-spacing: -1px;
  }

  .hero h1 span,
  .hero h1 em {
    padding-right: 8px;
    padding-left: 8px;
  }

  .hero-huddle-tags {
    gap: 4px;
  }

  .hero-huddle-tags span {
    padding: 7px 8px;
    font-size: 8.45px;
    letter-spacing: 0.1px;
  }
}

/* Shared Timeout LB wordmark treatment */
.site-header,
.site-footer {
  border: 1px solid rgba(245, 231, 208, 0.14);
  background:
    radial-gradient(circle at 6% 45%, rgba(249, 115, 22, 0.22), transparent 22%),
    linear-gradient(105deg, rgba(249, 115, 22, 0.13), transparent 35%),
    rgba(11, 16, 32, 0.94);
}

.site-footer {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: min(1180px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  border-radius: 18px;
  padding: 0 18px;
  background: rgba(11, 16, 32, 0.94);
  box-shadow: 0 18px 45px rgba(11, 16, 32, 0.18);
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  top: -1px;
  bottom: -28px;
  left: 50%;
  width: 100vw;
  background: var(--navy);
  transform: translateX(-50%);
  content: "";
}

.site-header .brand,
.site-footer .brand {
  gap: 0;
  color: var(--paper);
}

.site-header .brand-wordmark,
.site-footer .brand-wordmark {
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 1.2px;
  line-height: 0.92;
  text-transform: uppercase;
}

.site-header .brand-wordmark > span,
.site-footer .brand-wordmark > span {
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  padding: 3px 7px 5px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(245, 231, 208, 0.12), transparent),
    rgba(245, 231, 208, 0.05);
  box-shadow: inset 0 -3px 0 rgba(249, 115, 22, 0.72);
}

.site-header .brand-wordmark > b,
.site-footer .brand-wordmark > b {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 3px 7px 5px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  box-shadow: 5px 5px 0 rgba(215, 25, 32, 0.44);
}

.site-footer p {
  color: rgba(245, 231, 208, 0.72);
}

.site-footer a {
  color: rgba(245, 231, 208, 0.82);
}

@media (max-width: 700px) {
  .site-header .brand-wordmark,
  .site-footer .brand-wordmark {
    gap: 4px;
    font-size: 17px;
    letter-spacing: 0.7px;
  }

  .site-header .brand-wordmark > span,
  .site-header .brand-wordmark > b,
  .site-footer .brand-wordmark > span,
  .site-footer .brand-wordmark > b {
    border-radius: 6px;
    padding: 2px 5px 4px;
  }

  .site-header .brand-wordmark > b,
  .site-footer .brand-wordmark > b {
    box-shadow: 4px 4px 0 rgba(215, 25, 32, 0.4);
  }

  .site-footer {
    width: min(100% - 28px, 560px);
    margin-top: 22px;
    padding: 16px;
  }

  .page-hero {
    width: min(100% - 28px, 560px);
    margin-top: 20px;
    padding: 28px 20px;
    border-radius: 22px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .page-hero p:not(.eyebrow) {
    font-size: 15px;
  }

  .home-shortcuts {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 560px);
    margin-top: 18px;
    margin-bottom: 34px;
  }
}

.games-heading .eyebrow {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.games-heading .eyebrow span:first-child {
  flex: 0 0 20px;
}

.games-heading [data-games-heading-label] {
  display: inline;
  flex: none;
  width: auto;
  height: auto;
  min-width: max-content;
  background: transparent;
  white-space: nowrap;
}

.page-hero h1 {
  color: white;
}

.page-hero-with-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.page-hero-with-filters > div:first-child {
  min-width: 0;
}

.page-hero-with-filters .filter-row {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 6px;
  max-width: 100%;
  white-space: nowrap;
}

.page-hero-with-filters .filter {
  flex: 0 0 auto;
  padding: 10px 13px;
}

@media (max-width: 920px) {
  .page-hero-with-filters {
    display: grid;
  }

  .page-hero-with-filters .filter-row {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .page-hero-with-filters .filter-row::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  .desktop-nav {
    order: 3;
    display: flex;
    width: 100%;
    gap: 8px;
    margin: 10px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .desktop-nav::-webkit-scrollbar {
    display: none;
  }

  .desktop-nav a {
    flex: 0 0 auto;
  }

  .icon-button {
    display: none;
  }
}

/* Shared directory page theme */
body[data-page="daily"] main,
body[data-page="all-games"] main,
body[data-page="multiplayer"] main {
  padding-bottom: 26px;
  background:
    radial-gradient(circle at 8% 16%, rgba(249, 115, 22, 0.08), transparent 24%),
    radial-gradient(circle at 92% 44%, rgba(0, 122, 61, 0.055), transparent 28%),
    linear-gradient(rgba(11, 16, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 16, 32, 0.035) 1px, transparent 1px),
    var(--cream);
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
}

body[data-page="daily"] .page-hero {
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-left: 7px solid var(--orange);
  color: white;
  background:
    radial-gradient(circle at 88% 50%, rgba(249, 115, 22, 0.18), transparent 26%),
    linear-gradient(90deg, rgba(249, 115, 22, 0.1), transparent 38%),
    linear-gradient(135deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.98)),
    var(--navy);
}

body[data-page="daily"] .page-hero h1 {
  color: white;
}

body[data-page="daily"] .page-hero p:not(.eyebrow) {
  color: var(--muted-light);
}

.daily-hero-pills {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 6px;
  max-width: 100%;
  padding: 6px;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 999px;
  background: rgba(245, 231, 208, 0.08);
  white-space: nowrap;
}

.daily-hero-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 13px;
  color: var(--muted-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.daily-hero-pills span:first-child {
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.18);
}

body[data-page="daily"] .daily-section {
  padding-top: 36px;
  padding-bottom: 38px;
}

body[data-page="daily"] .daily-stats-panel {
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 26px;
  color: white;
  background:
    radial-gradient(circle at 94% 12%, rgba(249, 115, 22, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.98)),
    var(--navy);
}

body[data-page="daily"] .daily-stats-grid div {
  border-color: rgba(245, 231, 208, 0.14);
  border-radius: 18px;
  background: rgba(245, 231, 208, 0.08);
}

body[data-page="daily"] .daily-stats-heading b,
body[data-page="daily"] .daily-stats-grid b {
  color: white;
}

body[data-page="daily"] .daily-stats-grid span {
  color: var(--muted-light);
}

body[data-page="daily"] .feature-card {
  border: 1px solid rgba(245, 231, 208, 0.22);
  background:
    radial-gradient(circle at 82% 20%, rgba(251, 191, 36, 0.22), transparent 30%),
    linear-gradient(135deg, var(--orange), #e85d13 54%, #b7351c);
  box-shadow: 0 26px 70px rgba(249, 115, 22, 0.22);
}

body[data-page="daily"] .feature-card::before {
  border-color: rgba(245, 231, 208, 0.13);
}

body[data-page="daily"] .feature-photo {
  background:
    radial-gradient(circle at 75% 28%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(115deg, rgba(11, 16, 32, 0.42), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px),
    #a84624;
}

body[data-page="daily"] .feature-card .button-light {
  color: var(--navy);
  background: linear-gradient(135deg, var(--cream), var(--paper));
}

body[data-page="daily"] .mini-game-card {
  border-color: rgba(245, 231, 208, 0.14);
  color: white;
  background:
    radial-gradient(circle at 88% 22%, rgba(249, 115, 22, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.98)),
    var(--navy);
}

body[data-page="daily"] .mini-game-card:hover {
  border-color: rgba(249, 115, 22, 0.72);
}

body[data-page="daily"] .mini-game-card h3 {
  color: white;
}

body[data-page="daily"] .mini-game-card p,
body[data-page="daily"] .mini-game-status-row strong {
  color: var(--muted-light);
}

body[data-page="daily"] .mini-game-card > b,
body[data-page="daily"] .mini-game-status-row span {
  color: var(--orange);
}

body[data-page="daily"] .daily-tip-card {
  border-color: rgba(249, 115, 22, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 248, 234, 0.96), rgba(245, 231, 208, 0.72)),
    var(--paper);
}

body[data-page="daily"] .site-footer {
  margin-top: 0;
}

@media (max-width: 700px) {
  body[data-page="daily"] .daily-section {
    padding-top: 18px;
    padding-bottom: 24px;
  }

  .daily-hero-pills {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .daily-hero-pills::-webkit-scrollbar {
    display: none;
  }

  body[data-page="daily"] .daily-stats-panel,
body[data-page="daily"] .feature-card,
  body[data-page="daily"] .mini-game-card {
    border-radius: 22px;
  }
}

/* Public launch polish: shared game screens and contact paths */
html,
body {
  overflow-x: hidden;
}

.modal-backdrop {
  padding: clamp(10px, 3vw, 22px);
  background:
    radial-gradient(circle at 12% 8%, rgba(249, 115, 22, 0.18), transparent 26rem),
    radial-gradient(circle at 88% 82%, rgba(0, 122, 61, 0.12), transparent 28rem),
    rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(8px);
}

.game-modal {
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 28px;
  color: var(--paper);
  background:
    radial-gradient(circle at 100% 0%, rgba(249, 115, 22, 0.16), transparent 28rem),
    linear-gradient(135deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.98)),
    var(--navy);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.48);
}

.modal-close {
  top: 17px;
  right: 17px;
  border-color: rgba(245, 231, 208, 0.24);
  background: rgba(245, 231, 208, 0.1);
}

.modal-close:hover {
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.modal-header {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 28px 28px 0 0;
  padding: 26px 70px 24px 28px;
  background:
    linear-gradient(90deg, rgba(245, 231, 208, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(245, 231, 208, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 82% 26%, rgba(249, 115, 22, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.98));
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.modal-header::after {
  position: absolute;
  right: -54px;
  bottom: -82px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 50%;
  content: "";
}

.modal-header h2 {
  color: var(--paper);
  font-size: clamp(36px, 6vw, 58px);
  line-height: 0.92;
}

.modal-header p {
  max-width: 620px;
  color: rgba(245, 231, 208, 0.72);
  font-weight: 700;
}

.modal-feedback-link,
.footer-feedback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 999px;
  color: rgba(245, 231, 208, 0.84);
  background: rgba(245, 231, 208, 0.06);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.modal-feedback-link {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 8px 11px;
}

.modal-feedback-link:hover,
.footer-feedback:hover {
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.modal-content {
  padding: 24px 28px 28px;
  color: rgba(245, 231, 208, 0.82);
  background:
    linear-gradient(90deg, rgba(245, 231, 208, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(245, 231, 208, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 12% 18%, rgba(249, 115, 22, 0.08), transparent 24rem);
  background-size: 34px 34px, 34px 34px, auto;
}

.game-mode-switch,
.wordle-mode-note,
.guess-scoreboard,
.career-status,
.both-progress,
.tier-filter-summary article,
.sbc-summary article,
.starting-five-pool-count,
.score-submit-card {
  border: 1px solid rgba(245, 231, 208, 0.14);
  background: rgba(245, 231, 208, 0.08);
}

.game-mode-switch button,
.wordle-mode-note span,
.guess-scoreboard,
.career-status,
.both-progress,
.tier-filter-summary b,
.sbc-summary b,
.starting-five-pool-count b,
.score-submit-card > div b {
  color: var(--paper);
}

.game-mode-switch button.is-active {
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.wordle-mode-note b,
.guess-scoreboard b,
.career-status b,
.both-progress b,
.both-progress strong {
  color: var(--yellow);
}

.guess-mystery-card,
.career-path-card,
.player-wordle-intro,
.connections-intro,
.tier-list-intro,
.starting-five-intro,
.starting-five-prompt-card,
.both-matchup-card,
.sbc-intro,
.daily-result-card,
.wordle-result-card {
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 12%, rgba(249, 115, 22, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.98));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.daily-result-card > b,
.wordle-result-card h3,
.wordle-result-grid b,
.wordle-guess-summary li b,
.wordle-guess-summary code,
.score-submit-card > div b {
  color: var(--paper);
}

.daily-result-card p,
.wordle-result-grid div,
.wordle-guess-summary li,
.wordle-result-card pre,
.daily-result-card pre,
.score-submit-card,
.score-submit-card > div p,
.score-submit-status,
.wordle-result-card > small {
  color: rgba(245, 231, 208, 0.74);
}

.daily-result-card pre,
.wordle-result-card pre,
.wordle-result-grid div,
.wordle-guess-summary li {
  border: 1px solid rgba(245, 231, 208, 0.12);
  background: rgba(245, 231, 208, 0.075);
}

.button,
.connections-clear,
.tier-clear-filters,
.tier-show-more,
.starting-five-soft-button,
.starting-five-slot button,
.starting-five-player-card button,
.starting-five-saved-actions button,
.sbc-role-actions button {
  border-radius: 999px;
}

.connections-clear,
.tier-clear-filters,
.tier-show-more,
.starting-five-soft-button,
.starting-five-slot button,
.starting-five-player-card button,
.starting-five-saved-actions button,
.sbc-role-actions button {
  border-color: rgba(245, 231, 208, 0.16);
  color: var(--paper);
  background: rgba(245, 231, 208, 0.08);
}

.connections-clear:hover,
.tier-clear-filters:hover,
.tier-show-more:hover,
.starting-five-soft-button:hover,
.starting-five-slot button:hover,
.starting-five-player-card button:hover,
.starting-five-saved-actions button:hover,
.sbc-role-actions button:hover,
.sbc-role-actions button.is-selected {
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.career-guess-form input,
.player-wordle-form input,
.both-guess-form input,
.quiz-form input,
.score-submit-card input,
.tier-filter-control select,
.tier-search-control input,
.tier-compact-toggle,
.starting-five-name input,
.starting-five-search-control input,
.sbc-filter-control select,
.player-autocomplete-menu {
  border-color: rgba(249, 115, 22, 0.2);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.player-autocomplete-option,
.player-autocomplete-empty {
  border-radius: 10px;
}

.connections-card,
.guess-option,
.tier-player-card,
.starting-five-player-card,
.sbc-player-card,
.starting-five-slot,
.starting-five-board,
.starting-five-pool,
.starting-five-saved,
.tier-player-pool,
.tier-board {
  border-color: rgba(245, 231, 208, 0.14);
  color: var(--paper);
  background:
    radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.11), transparent 32%),
    rgba(245, 231, 208, 0.075);
}

.connections-card {
  color: var(--paper);
  background:
    radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.12), transparent 32%),
    rgba(245, 231, 208, 0.09);
}

.connections-card:hover,
.guess-option:hover:not(:disabled),
.tier-player-card:hover,
.starting-five-player-card:hover,
.sbc-player-card:hover {
  border-color: rgba(249, 115, 22, 0.68);
}

.connections-card.is-selected {
  border-color: rgba(251, 191, 36, 0.82);
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.tier-player-card b,
.starting-five-player-card b,
.sbc-player-copy b,
.starting-five-slot-label b,
.starting-five-slot-player b,
.tier-player-pool h3,
.starting-five-board-header h3,
.starting-five-pool-header h3 {
  color: var(--paper);
}

.tier-player-card p,
.starting-five-player-card p,
.starting-five-player-card small,
.sbc-player-copy p,
.starting-five-slot p,
.starting-five-slot-player p,
.starting-five-board-header p,
.starting-five-pool-header p {
  color: rgba(245, 231, 208, 0.68);
}

.tier-row {
  border-color: rgba(245, 231, 208, 0.12);
  background: rgba(245, 231, 208, 0.06);
}

.tier-chip {
  border-color: rgba(245, 231, 208, 0.18);
  color: var(--paper);
  background: rgba(245, 231, 208, 0.08);
}

.feedback {
  color: rgba(245, 231, 208, 0.72);
}

.feedback.is-right {
  color: #69d69b;
}

.feedback.is-wrong {
  color: #ff9b79;
}

.site-footer {
  gap: 18px;
}

.site-footer .footer-feedback {
  margin-left: 0;
  padding: 8px 11px;
  color: rgba(245, 231, 208, 0.84);
}

@media (max-width: 700px) {
  .modal-backdrop {
    align-items: start;
    padding: 8px;
  }

  .game-modal {
    max-height: calc(100vh - 16px);
    border-radius: 22px;
  }

  .modal-header {
    border-radius: 22px 22px 0 0;
    padding: 22px 58px 20px 18px;
  }

  .modal-content {
    padding: 18px;
  }

  .modal-feedback-link {
    padding: 7px 10px;
    font-size: 9px;
  }

  .footer-feedback {
    order: 4;
    width: 100%;
    margin-top: 2px;
    padding: 10px 12px;
  }

  .site-footer div {
    width: 100%;
    margin-left: 0;
  }

  .game-mode-switch {
    border-radius: 18px;
  }

  .connections-card {
    min-height: 66px;
    font-size: 10px;
  }
}

/* Keep the app to one clean page scrollbar */
html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

main,
.site-header,
.site-footer,
.section-shell,
.hero,
.hero-grid,
.page-hero,
.games-section,
.daily-section,
.home-action-band,
.history-section,
.leaderboard-section {
  max-width: 100%;
}

body::before,
.site-footer::before {
  right: 0;
  left: 0;
  width: auto;
  transform: none;
}

.hero::after,
.division-clubs-panel::before,
.leaderboard-coming-soon::after,
.history-note::before,
.game-card::after,
.modal-header::after {
  pointer-events: none;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

/* Mobile-first app polish */
@media (hover: none) and (pointer: coarse) {
  .button:hover,
  .game-card:hover,
  .mini-game-card:hover,
  .connections-card:hover,
  .guess-option:hover:not(:disabled),
  .tier-player-card:hover,
  .starting-five-player-card:hover,
  .sbc-player-card:hover {
    transform: none;
  }
}

@media (max-width: 700px) {
  body {
    background:
      radial-gradient(circle at 12% 4%, rgba(249, 115, 22, 0.14), transparent 19rem),
      linear-gradient(180deg, #f7e8cf 0, var(--cream) 45%, #ead8ba 100%);
  }

  .site-header {
    top: 6px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    width: min(100% - 18px, 560px);
    min-height: 0;
    margin-top: 8px;
    margin-bottom: 12px;
    border-radius: 18px;
    padding: 10px;
  }

  .site-header .brand {
    min-width: 0;
  }

  .site-header .brand-wordmark {
    font-size: clamp(15px, 4.8vw, 18px);
  }

  .header-actions {
    justify-self: end;
  }

  .streak-pill {
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
    border-color: rgba(249, 115, 22, 0.34);
    padding: 0 11px;
    color: var(--paper);
    background: rgba(245, 231, 208, 0.08);
  }

  .desktop-nav {
    order: 3;
    display: grid;
    width: 100%;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 8px;
    margin: 0;
    overflow: visible;
  }

  .desktop-nav a {
    display: grid;
    min-height: 42px;
    place-items: center;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 0 4px;
    color: rgba(245, 231, 208, 0.82);
    background: transparent;
    font-size: clamp(9px, 2.55vw, 11px);
    letter-spacing: 0.35px;
    text-align: center;
    white-space: nowrap;
  }

  .desktop-nav a.is-active,
  .desktop-nav a[aria-current="page"] {
    border-bottom-color: var(--orange);
    color: var(--yellow);
    background: transparent;
    box-shadow: none;
  }

  .section-shell,
  .hero-grid,
  .site-footer {
    width: min(100% - 20px, 560px);
  }

  .hero {
    width: min(100% - 12px, 580px);
    margin-bottom: 12px;
    border-radius: 24px;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy {
    padding: 28px 0 18px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
    letter-spacing: 1.3px;
  }

  .hero h1 {
    gap: 5px;
    margin-bottom: 16px;
    font-size: clamp(42px, 13.8vw, 64px);
    letter-spacing: -1.5px;
  }

  .hero h1 span,
  .hero h1 em {
    padding: 0 9px 6px;
  }

  .hero-intro {
    margin-bottom: 14px;
  }

  .hero-intro strong {
    font-size: clamp(20px, 5.8vw, 26px);
    line-height: 1.18;
  }

  .division-clubs-panel {
    margin-top: 12px;
    margin-bottom: 14px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    padding: 9px;
    border-radius: 18px;
  }

  .division-clubs-panel article {
    min-height: 46px;
  }

  .division-clubs-panel img {
    width: 36px;
    height: 36px;
  }

  .hero-huddle-tags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 8px;
  }

  .hero-huddle-tags span {
    min-height: 34px;
    padding: 7px 4px;
    font-size: clamp(7.4px, 2.25vw, 9px);
    letter-spacing: 0.15px;
  }

  .home-action-band {
    width: min(100% - 20px, 560px);
    margin-top: 8px;
    margin-bottom: 18px;
  }

  .home-action-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 22px;
  }

  .home-action-card .button,
  .button {
    min-height: 48px;
    padding: 13px 16px;
  }

  .history-section,
  .leaderboard-section,
  .games-section,
  .daily-section {
    padding-bottom: 28px;
  }

  .history-copy {
    padding-top: 38px;
  }

  .history-copy h2,
  .leaderboard-coming-soon h2 {
    font-size: clamp(44px, 14vw, 66px);
  }

  .page-hero {
    width: min(100% - 20px, 560px);
    margin-top: 14px;
    border-radius: 22px;
    padding: 28px 20px 22px;
  }

  .page-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .page-hero-with-filters {
    gap: 18px;
  }

  .page-hero-with-filters .filter-row,
  .filter-row {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
    border-radius: 20px;
    padding: 7px;
  }

  .filter {
    min-height: 42px;
    padding: 0 8px;
    font-size: 9px;
    white-space: normal;
  }

  .daily-section {
    padding-top: 14px;
  }

  .daily-stats-panel {
    gap: 14px;
    border-radius: 22px;
    padding: 16px;
  }

  .daily-stats-heading b {
    font-size: clamp(28px, 9vw, 38px);
  }

  .daily-stats-grid {
    gap: 8px;
  }

  .daily-stats-grid div {
    padding: 12px;
  }

  .feature-card {
    min-height: 0;
    border-radius: 24px;
  }

  .feature-copy {
    padding: 24px 20px;
  }

  .feature-card h3 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .mini-game-card {
    min-height: 96px;
    border-radius: 18px;
    padding: 14px;
  }

  .mini-game-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .game-section-group {
    border-radius: 24px;
    padding: 28px 14px 14px;
  }

  .game-section-cards {
    gap: 12px;
  }

  .game-card {
    min-height: 0;
    border-radius: 22px;
    padding: 18px;
  }

  .game-card-icon {
    width: 54px;
    height: 54px;
  }

  .game-card h3 {
    font-size: clamp(30px, 9.5vw, 42px);
  }

  .game-card p {
    font-size: 13px;
    line-height: 1.45;
  }

  .game-card-bottom {
    min-height: 44px;
    margin-top: 18px;
  }

  .game-card-bottom b {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    color: var(--navy);
    background: var(--orange);
  }

  .leaderboard-coming-soon {
    padding: 28px 20px;
  }

  .site-footer {
    display: grid;
    gap: 13px;
    min-height: 0;
    margin-top: 18px;
    border-radius: 18px;
    padding: 18px;
  }

  .site-footer p {
    order: initial;
    width: auto;
  }

  .site-footer div {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-footer a:not(.brand):not(.footer-feedback) {
    display: grid;
    min-height: 40px;
    place-items: center;
    border: 1px solid rgba(245, 231, 208, 0.12);
    border-radius: 999px;
    background: rgba(245, 231, 208, 0.045);
    text-align: center;
  }

  .footer-feedback {
    width: 100%;
    min-height: 44px;
  }

  .modal-backdrop {
    padding: 6px;
  }

  .game-modal,
  .game-modal.is-wide {
    width: 100%;
    max-height: calc(100dvh - 12px);
    border-radius: 22px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .modal-header {
    padding: 22px 58px 18px 18px;
  }

  .modal-header h2 {
    margin-top: 10px;
    font-size: clamp(34px, 11vw, 46px);
  }

  .modal-header p {
    margin-right: 0;
    font-size: 13px;
  }

  .modal-feedback-link {
    min-height: 38px;
  }

  .modal-content {
    padding: 16px;
  }

  .game-mode-switch {
    gap: 6px;
    border-radius: 18px;
  }

  .game-mode-switch button {
    min-height: 42px;
    font-size: 10px;
  }

  .guess-scoreboard,
  .career-status,
  .both-progress {
    gap: 9px;
    border-radius: 16px;
  }

  .guess-mystery-card,
  .career-path-card,
  .player-wordle-intro,
  .connections-intro,
  .tier-list-intro,
  .starting-five-intro,
  .starting-five-prompt-card,
  .both-matchup-card,
  .sbc-intro,
  .daily-result-card,
  .wordle-result-card,
  .score-submit-card {
    border-radius: 20px;
    padding: 16px;
  }

  .career-guess-form > div,
  .player-wordle-form > div,
  .both-guess-form > div,
  .quiz-form {
    display: grid;
    gap: 10px;
  }

  .career-guess-form input,
  .player-wordle-form input,
  .both-guess-form input,
  .quiz-form input,
  .score-submit-card input,
  .tier-filter-control select,
  .tier-search-control input,
  .starting-five-name input,
  .starting-five-search-control input,
  .sbc-filter-control select {
    min-height: 50px;
    width: 100%;
    font-size: 16px;
  }

  .player-autocomplete-menu {
    max-height: min(280px, 44dvh);
    border-radius: 16px;
    padding: 8px;
  }

  .player-autocomplete-option,
  .player-autocomplete-empty {
    min-height: 46px;
    padding: 12px;
    font-size: 14px;
  }

  .guess-options,
  .connections-actions,
  .wordle-result-actions,
  .both-copy-actions,
  .starting-five-actions,
  .sbc-actions,
  .tier-toolbar-actions {
    display: grid;
    gap: 10px;
  }

  .guess-option,
  .connections-actions .button,
  .wordle-result-actions .button,
  .both-copy-actions .button,
  .starting-five-actions .button,
  .sbc-actions .button,
  .tier-toolbar-actions .button,
  .tier-clear-filters,
  .starting-five-show-more {
    min-height: 48px;
    width: 100%;
  }

  .connections-board {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connections-card {
    min-height: 76px;
    padding: 10px 8px;
    font-size: 11px;
  }

  .wordle-cell {
    border-radius: 14px;
    padding: 12px;
  }

  .wordle-result-grid,
  .wordle-guess-summary li,
  .tier-list-filters,
  .tier-list-toolbar,
  .tier-filter-summary,
  .starting-five-filters,
  .starting-five-toolbar,
  .starting-five-layout,
  .starting-five-saved-grid,
  .sbc-filters,
  .sbc-summary {
    grid-template-columns: 1fr;
  }

  .tier-player-grid,
  .starting-five-player-grid {
    max-height: none;
    overflow: visible;
    grid-template-columns: 1fr;
  }

  .tier-player-card,
  .starting-five-player-card,
  .sbc-player-card {
    border-radius: 18px;
    padding: 13px;
  }

  .tier-player-card img,
  .starting-five-player-card img {
    width: 46px;
    height: 46px;
  }

  .starting-five-slot {
    border-radius: 18px;
    grid-template-columns: 54px 1fr;
  }

  .starting-five-slot-label span {
    width: 44px;
    height: 44px;
  }

  .sbc-board {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .sbc-role-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sbc-role-actions button {
    min-height: 44px;
  }
}

@media (max-width: 430px) {
  .desktop-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: clamp(36px, 12.5vw, 52px);
  }

  .division-clubs-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-huddle-tags span {
    font-size: clamp(7px, 2.1vw, 8px);
  }

  .page-hero-with-filters .filter-row,
  .filter-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 375px) {
  .site-header {
    width: min(100% - 12px, 560px);
    padding: 8px;
  }

  .site-header .brand-wordmark {
    font-size: 15px;
  }

  .hero,
  .section-shell,
  .site-footer,
  .home-action-band,
  .page-hero {
    width: min(100% - 14px, 560px);
  }

  .hero h1 {
    font-size: clamp(33px, 12vw, 46px);
  }

  .hero-huddle-tags {
    grid-template-columns: 1fr;
  }

  .connections-card {
    min-height: 70px;
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .desktop-nav a {
    min-height: 40px;
    font-size: 9px;
  }

  .modal-content {
    padding: 14px;
  }

  .connections-board {
    grid-template-columns: 1fr;
  }

  .sbc-role-actions {
    grid-template-columns: 1fr;
  }
}

/* Footer placement and text alignment cleanup */
.site-footer {
  width: 100%;
  max-width: none;
  min-height: 86px;
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 0;
  padding: 22px max(24px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 8% 45%, rgba(249, 115, 22, 0.12), transparent 22%),
    var(--navy);
  box-shadow: none;
}

.site-footer::before {
  content: none;
}

.site-footer .brand,
.site-footer div,
.site-footer p,
.site-footer .footer-feedback {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .history-section {
  padding-bottom: 0;
}

.streak-pill,
.tag,
.game-card-badge,
.daily-card-badge,
.mini-game-icon,
.game-card-icon,
.game-card-bottom b,
.starting-five-slot-label span,
.sbc-role-badge,
.button,
.desktop-nav a,
.site-footer a:not(.brand) {
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

.streak-pill {
  display: inline-flex;
  min-height: 38px;
  gap: 0;
  line-height: 1;
}

.streak-pill b,
.streak-pill span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.streak-pill b {
  min-width: 1ch;
  justify-content: center;
}

.streak-pill span {
  display: none;
}

.brand-wordmark,
.brand-wordmark > span,
.brand-wordmark > b {
  align-items: center;
}

@media (max-width: 700px) {
  .site-footer {
    width: 100%;
    max-width: none;
    margin-top: 0;
    border-radius: 0;
    padding: 20px 14px 22px;
  }

  .site-footer .brand {
    justify-self: start;
  }

  .site-footer p {
    max-width: 26ch;
    line-height: 1.35;
  }

  .streak-pill {
    display: grid;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    place-items: center;
  }

  .streak-pill b {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    line-height: 1;
  }

  .streak-pill span {
    display: none;
  }
}

/* Chrome and mobile margin cleanup */
:root {
  --page-gutter: clamp(18px, 3vw, 32px);
  --content-max: 1180px;
}

html {
  scrollbar-gutter: stable;
}

main {
  overflow-x: clip;
}

.site-header,
.section-shell,
.hero,
.home-action-band,
.page-hero,
.daily-section,
.games-section,
.leaderboard-section {
  width: min(var(--content-max), calc(100% - (var(--page-gutter) * 2)));
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  margin-top: clamp(10px, 1.6vw, 16px);
  margin-bottom: clamp(10px, 1.6vw, 16px);
}

.hero {
  margin-bottom: clamp(14px, 2vw, 24px);
}

.home-action-band {
  margin-top: clamp(8px, 1.5vw, 18px);
  margin-bottom: clamp(20px, 3vw, 38px);
}

.page-hero {
  margin-top: clamp(14px, 2vw, 24px);
}

.history-section {
  margin-top: clamp(24px, 4vw, 44px);
}

body[data-page="home"] .history-section {
  margin-top: 0;
}

body[data-page="home"] .hero-grid {
  min-height: clamp(390px, 38vw, 455px);
}

body[data-page="home"] .hero-copy {
  padding-top: clamp(44px, 5vw, 58px);
  padding-bottom: clamp(24px, 3vw, 30px);
}

body[data-page="home"] .hero h1 {
  margin-bottom: 16px;
}

body[data-page="home"] .hero-intro {
  margin-bottom: 14px;
}

.home-help-link {
  grid-column: 1 / -1;
  justify-self: center;
  border: 0;
  padding: 4px 8px;
  color: rgba(11, 16, 32, 0.62);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.home-help-link:hover,
.home-help-link:focus-visible {
  color: var(--orange-dark);
}

.site-footer {
  padding-right: max(var(--page-gutter), calc((100% - var(--content-max)) / 2));
  padding-left: max(var(--page-gutter), calc((100% - var(--content-max)) / 2));
}

@media (max-width: 700px) {
  :root {
    --page-gutter: 12px;
  }

  html {
    scrollbar-gutter: auto;
  }

  .site-header,
  .section-shell,
  .hero,
  .home-action-band,
  .page-hero,
  .daily-section,
  .games-section,
  .leaderboard-section {
    width: calc(100% - (var(--page-gutter) * 2));
  }

  .site-header {
    margin-top: 8px;
    margin-bottom: 10px;
  }

  .hero {
    margin-bottom: 10px;
  }

  body[data-page="home"] .hero-grid {
    min-height: 0;
  }

  body[data-page="home"] .hero-copy {
    padding-top: 28px;
    padding-bottom: 18px;
  }

  .home-action-band {
    margin-top: 8px;
    margin-bottom: 18px;
  }

  .page-hero {
    margin-top: 12px;
  }

  body[data-page="leaderboard"] .page-hero {
    min-height: 110px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .daily-section,
  .games-section,
  .leaderboard-section {
    padding-right: 0;
    padding-left: 0;
  }

  .history-section {
    margin-top: 18px;
  }

  body[data-page="home"] .history-section {
    margin-top: 0;
  }

  .site-footer {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 380px) {
  :root {
    --page-gutter: 10px;
  }

  .site-header,
  .section-shell,
  .hero,
  .home-action-band,
  .page-hero,
  .daily-section,
  .games-section,
  .leaderboard-section {
    width: calc(100% - (var(--page-gutter) * 2));
  }

  .site-footer {
    padding-right: 10px;
    padding-left: 10px;
  }
}

/* Simpler game structure pass */
.game-grid.is-grouped {
  display: grid;
  gap: 18px;
}

.game-grid.is-grouped .game-section-group {
  padding-top: 34px;
}

.game-grid.is-grouped .game-section-heading {
  align-items: center;
  margin-bottom: 18px;
}

.game-grid.is-grouped .game-section-heading h3 {
  margin-bottom: 3px;
}

.game-grid.is-grouped .game-section-heading small {
  color: var(--yellow);
}

@media (max-width: 700px) {
  .game-grid.is-grouped {
    gap: 14px;
  }

  .game-grid.is-grouped .game-section-group {
    padding-top: 26px;
  }
}

/* Timeout Grid */
.timeout-grid-board {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(58px, 0.78fr) repeat(3, minmax(0, 1fr));
  margin: 18px 0;
}

.timeout-grid-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
}

.timeout-grid-lives,
.timeout-grid-timer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(245, 231, 208, 0.16);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 20%, rgba(249, 115, 22, 0.16), transparent 32%),
    rgba(245, 231, 208, 0.06);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.timeout-grid-timer {
  justify-content: flex-end;
  margin-left: auto;
}

.timeout-grid-lives > span,
.timeout-grid-lives b,
.timeout-grid-timer span,
.timeout-grid-timer b {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.timeout-grid-timer b {
  min-width: 36px;
  color: var(--orange);
  text-align: right;
}

.timeout-grid-lives div {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.timeout-grid-lives div span {
  filter: drop-shadow(0 4px 8px rgba(249, 115, 22, 0.28));
}

.timeout-grid-lives div span.is-used {
  filter: grayscale(1);
  opacity: 0.26;
}

/* Dedicated Game Pages */
body[data-page="game"] {
  min-height: 100vh;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 8%, rgba(249, 115, 22, 0.18), transparent 24%),
    radial-gradient(circle at 90% 22%, rgba(0, 122, 61, 0.16), transparent 28%),
    linear-gradient(135deg, #050917, #0b1020 48%, #171220);
}

.game-page-shell {
  padding-bottom: 0;
}

.game-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px max(18px, calc((100vw - 1160px) / 2)) 0;
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  color: var(--muted-light);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.game-page-hero {
  margin-top: 16px;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 30%, rgba(249, 115, 22, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.96));
}

.game-page-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.92;
  text-transform: uppercase;
}

.game-page-hero p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted-light);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
}

.game-page-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.game-page-badges span {
  border: 1px solid rgba(245, 231, 208, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--paper);
  background: rgba(245, 231, 208, 0.08);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.game-page-panel {
  margin-top: 18px;
  margin-bottom: 18px;
  color: var(--paper);
  background: rgba(11, 16, 32, 0.96);
}

.game-page-panel > [data-game-content] {
  max-width: none;
}

.game-page-info {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  margin-top: 18px;
  color: var(--paper);
  background: rgba(11, 16, 32, 0.92);
}

.game-page-info-single {
  grid-template-columns: 1fr;
}

.game-page-info article {
  border: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 22px;
  padding: 20px;
  background: rgba(245, 231, 208, 0.05);
}

.game-page-info h2 {
  margin-bottom: 8px;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

.game-page-info p {
  margin: 0;
  color: var(--muted-light);
  font-weight: 700;
}

.game-page-info a {
  display: inline-flex;
  margin-top: 6px;
  border: 1px solid rgba(245, 231, 208, 0.22);
  border-radius: 999px;
  padding: 11px 14px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.game-loading {
  display: grid;
  gap: 14px;
  width: min(520px, 100%);
  margin: 20px auto;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 22px;
  padding: 22px;
  color: var(--paper);
  background: rgba(21, 27, 46, 0.78);
  text-align: center;
}

.game-loading span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.game-loading b {
  position: relative;
  display: block;
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(245, 231, 208, 0.12);
}

.game-loading b::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  animation: timeout-loading 1s ease-in-out infinite;
  content: "";
}

@keyframes timeout-loading {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(230%);
  }
}

body[data-page="game"] .site-footer {
  margin-top: 0;
}

@media (max-width: 760px) {
  .game-back-link {
    margin-inline: 14px;
  }

  .game-page-hero,
  .game-page-panel,
  .game-page-info {
    margin-top: 14px;
  }

  .game-page-info {
    grid-template-columns: 1fr;
  }
}

.timeout-grid-corner,
.timeout-grid-clue,
.timeout-grid-cell {
  min-width: 0;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 16px;
}

.timeout-grid-corner {
  min-height: 54px;
  background:
    radial-gradient(circle at 35% 35%, rgba(249, 115, 22, 0.18), transparent 36%),
    rgba(245, 231, 208, 0.05);
}

.timeout-grid-clue {
  display: grid;
  min-height: 54px;
  place-items: center;
  padding: 8px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(21, 27, 46, 0.9)),
    var(--navy);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(12px, 1.8vw, 18px);
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.timeout-grid-clue span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.timeout-grid-clue.is-team {
  grid-template-columns: auto minmax(0, auto);
  gap: 8px;
  justify-content: center;
}

.timeout-grid-clue.is-team img,
.timeout-grid-clue.is-team i {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(245, 231, 208, 0.22);
  border-radius: 10px;
  background: rgba(245, 231, 208, 0.9);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.timeout-grid-clue.is-team img {
  object-fit: contain;
  padding: 3px;
}

.timeout-grid-clue.is-team img:not([hidden]) + i {
  display: none;
}

.timeout-grid-clue.is-row {
  justify-items: start;
  padding-left: 11px;
  text-align: left;
}

.timeout-grid-clue.is-row.is-team {
  justify-content: start;
}

.timeout-grid-cell {
  display: grid;
  min-height: 92px;
  gap: 5px;
  align-content: center;
  padding: 9px;
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 18%, rgba(249, 115, 22, 0.14), transparent 30%),
    rgba(245, 231, 208, 0.06);
  cursor: pointer;
  text-align: center;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.timeout-grid-cell:hover,
.timeout-grid-cell.is-selected {
  border-color: rgba(249, 115, 22, 0.85);
  background:
    radial-gradient(circle at 88% 18%, rgba(249, 115, 22, 0.22), transparent 30%),
    rgba(249, 115, 22, 0.08);
}

.timeout-grid-cell.is-correct {
  border-color: rgba(0, 122, 61, 0.9);
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 122, 61, 0.22), transparent 30%),
    rgba(0, 122, 61, 0.12);
}

.timeout-grid-cell span {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(11px, 1.7vw, 15px);
  font-weight: 900;
  line-height: 1.15;
}

.timeout-grid-cell small {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}

.timeout-grid-form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.timeout-grid-form label {
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.timeout-grid-form > div {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.timeout-grid-form .player-autocomplete {
  min-width: 0;
}

.timeout-grid-form .player-autocomplete input {
  min-height: 52px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 18px;
  padding: 0 16px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(245, 231, 208, 0.08), rgba(245, 231, 208, 0.03)),
    rgba(11, 16, 32, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 26px rgba(0, 0, 0, 0.18);
  font: inherit;
  font-weight: 800;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.timeout-grid-form .player-autocomplete input::placeholder {
  color: rgba(245, 231, 208, 0.58);
  font-weight: 700;
}

.timeout-grid-form .player-autocomplete input:focus {
  border-color: rgba(249, 115, 22, 0.8);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(245, 231, 208, 0.04)),
    rgba(11, 16, 32, 0.82);
  box-shadow:
    0 0 0 3px rgba(249, 115, 22, 0.18),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

.timeout-grid-form .player-autocomplete-menu {
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 18px;
  padding: 8px;
  background:
    linear-gradient(145deg, rgba(31, 38, 61, 0.98), rgba(11, 16, 32, 0.98));
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.36);
}

.timeout-grid-form .player-autocomplete-option,
.timeout-grid-form .player-autocomplete-empty {
  border-radius: 13px;
  color: var(--paper);
  background: transparent;
}

.timeout-grid-form .player-autocomplete-option:hover,
.timeout-grid-form .player-autocomplete-option.is-active {
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.timeout-grid-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.timeout-grid-reveal {
  margin-top: 18px;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 20px;
  padding: 16px;
  background: rgba(245, 231, 208, 0.05);
}

.timeout-grid-reveal h3 {
  margin-bottom: 12px;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 26px;
  text-transform: uppercase;
}

.timeout-grid-reveal > div {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeout-grid-reveal article {
  border: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 14px;
  padding: 11px;
  background: rgba(11, 16, 32, 0.34);
}

.timeout-grid-reveal b {
  display: block;
  margin-bottom: 5px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeout-grid-reveal p {
  margin: 0;
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .timeout-grid-status-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .timeout-grid-lives {
    width: auto;
    min-width: 0;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
  }

  .timeout-grid-lives > span,
  .timeout-grid-lives b,
  .timeout-grid-timer span,
  .timeout-grid-timer b {
    font-size: 10px;
  }

  .timeout-grid-lives div {
    gap: 2px;
  }

  .timeout-grid-timer {
    min-width: 92px;
    padding: 8px 10px;
  }

  .timeout-grid-board {
    gap: 5px;
    grid-template-columns: minmax(48px, 0.7fr) repeat(3, minmax(0, 1fr));
  }

  .timeout-grid-corner,
  .timeout-grid-clue {
    min-height: 48px;
    border-radius: 12px;
  }

  .timeout-grid-clue {
    padding: 6px;
    font-size: clamp(9px, 2.7vw, 12px);
    letter-spacing: 0;
  }

  .timeout-grid-clue.is-team {
    gap: 5px;
  }

  .timeout-grid-clue.is-team img,
  .timeout-grid-clue.is-team i {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    font-size: 8px;
  }

  .timeout-grid-clue.is-row {
    padding-left: 7px;
  }

  .timeout-grid-cell {
    min-height: 76px;
    border-radius: 13px;
    padding: 6px 4px;
  }

  .timeout-grid-cell span {
    font-size: clamp(9px, 2.7vw, 12px);
  }

  .timeout-grid-cell small {
    display: none;
  }

  .timeout-grid-form > div {
    grid-template-columns: 1fr;
  }

  .timeout-grid-form .button,
  .timeout-grid-actions .button {
    width: 100%;
  }

  .timeout-grid-reveal {
    padding: 13px;
  }

  .timeout-grid-reveal > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .timeout-grid-timer {
    min-width: 76px;
  }

  .timeout-grid-timer span {
    display: none;
  }

  .timeout-grid-board {
    gap: 4px;
    grid-template-columns: minmax(42px, 0.62fr) repeat(3, minmax(0, 1fr));
  }

  .timeout-grid-clue.is-team {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .timeout-grid-clue.is-row.is-team {
    justify-items: start;
  }

  .timeout-grid-clue.is-team img,
  .timeout-grid-clue.is-team i {
    width: 22px;
    height: 22px;
  }

  .timeout-grid-cell {
    min-height: 68px;
  }
}

/* Multiplayer */
body[data-page="multiplayer"] {
  min-height: 100vh;
  color: var(--ink);
  background: var(--cream);
}

.multiplayer-hero h1 {
  margin: 0;
  color: var(--paper);
}

.multiplayer-hero {
  min-height: 150px;
  align-content: center;
  padding-block: 24px;
}

.multiplayer-hub {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
  margin-bottom: 42px;
}

.multiplayer-game-card {
  display: grid;
  min-height: 178px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 8px;
  padding: 24px 26px;
  color: var(--paper);
  background: rgba(21, 27, 46, 0.96);
  box-shadow: none;
}

.multiplayer-game-card.is-playable:hover {
  border-color: rgba(249, 115, 22, 0.72);
  transform: translateY(-2px);
}

.multiplayer-game-card.is-disabled {
  opacity: 0.72;
}

.multiplayer-game-card span,
.showdown-kicker {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.multiplayer-game-card h2,
.showdown-entry-panel h2 {
  margin: 0 0 10px;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.98;
  text-transform: uppercase;
}

.multiplayer-game-card p,
.showdown-entry-panel p,
.showdown-room-actions p {
  margin: 0;
  color: var(--muted-light);
  font-weight: 750;
}

.multiplayer-game-card > b {
  display: grid;
  width: 72px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 6px;
  color: var(--navy);
  background: var(--orange);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 22px;
}

.showdown-page .game-page-panel {
  padding-top: 18px;
}

.showdown-page .game-page-hero {
  padding-block: 34px;
}

.game-rule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  border: 0;
  border-bottom: 1px solid rgba(245, 231, 208, 0.16);
  border-radius: 0;
  padding: 20px 0 16px;
  color: var(--paper);
  background: transparent;
  box-shadow: none;
}

.game-rule-header h1 {
  margin: 0;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
}

.showdown-page .game-rule-header {
  padding-block: 22px;
}

.game-help-trigger {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid rgba(251, 191, 36, 0.36);
  border-radius: 5px;
  padding: 0 16px;
  color: var(--yellow);
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: none;
}

.game-help-trigger:hover {
  border-color: var(--orange);
  color: var(--paper);
  background: rgba(249, 115, 22, 0.14);
  transform: none;
}

.showdown-entry {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showdown-entry-panel {
  display: grid;
  align-content: center;
  gap: 14px;
}

.showdown-entry-panel,
.showdown-room,
.showdown-match {
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 18px;
  padding: 18px;
  background: rgba(21, 27, 46, 0.76);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.showdown-entry-panel form {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.showdown-entry-panel label,
.showdown-room-code span {
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.showdown-entry-panel input,
.showdown-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 14px;
  padding: 11px 13px;
  color: var(--paper);
  background: rgba(5, 9, 23, 0.7);
  font: inherit;
  font-weight: 800;
}

.showdown-entry-panel input {
  text-transform: uppercase;
}

.showdown-room {
  display: grid;
  gap: 18px;
}

.showdown-room-code {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.showdown-room-code span {
  grid-column: 1 / -1;
}

.showdown-room-code strong {
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(38px, 9vw, 72px);
  letter-spacing: 0.08em;
  line-height: 0.95;
}

.showdown-versus {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.showdown-versus > i {
  color: var(--orange);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 22px;
  font-style: normal;
  text-transform: uppercase;
}

.showdown-player-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  border: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 16px;
  padding: 14px 10px;
  background: rgba(245, 231, 208, 0.05);
  text-align: center;
}

.showdown-player-card.is-ready {
  border-color: rgba(0, 122, 61, 0.72);
}

.showdown-player-card b,
.showdown-turn-pill,
.showdown-marker {
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-family: "Oswald", Impact, sans-serif;
  font-weight: 900;
  line-height: 1;
}

.showdown-player-card b,
.showdown-turn-pill {
  width: 42px;
  aspect-ratio: 1;
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.showdown-player-card:nth-of-type(2) b,
.showdown-turn-pill:not(.is-you) {
  color: var(--paper);
  background: linear-gradient(135deg, #007a3d, #1b8f5a);
}

.showdown-player-card span {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--paper);
  font-weight: 900;
}

.showdown-player-card small,
.showdown-selected-player,
.showdown-disconnect {
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 800;
}

.showdown-room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.showdown-match {
  display: grid;
  gap: 12px;
}

.showdown-match-top {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.showdown-match-top span {
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.showdown-match-top b {
  display: block;
  margin-top: 4px;
  color: var(--paper);
  font-size: clamp(18px, 4vw, 26px);
}

.showdown-board {
  margin: 6px 0 0;
}

.showdown-cell {
  position: relative;
  min-height: 88px;
}

.showdown-cell.is-claimed {
  cursor: default;
}

.showdown-cell.player1 {
  border-color: rgba(249, 115, 22, 0.8);
  background:
    radial-gradient(circle at 88% 18%, rgba(249, 115, 22, 0.24), transparent 30%),
    rgba(249, 115, 22, 0.1);
}

.showdown-cell.player2 {
  border-color: rgba(0, 122, 61, 0.82);
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 122, 61, 0.24), transparent 30%),
    rgba(0, 122, 61, 0.12);
}

.showdown-cell.is-winning {
  box-shadow: inset 0 0 0 2px rgba(245, 231, 208, 0.64), 0 0 22px rgba(249, 115, 22, 0.24);
}

.showdown-marker {
  width: 28px;
  height: 28px;
  margin: 0 auto 5px;
  color: var(--navy);
  background: var(--yellow);
  font-size: 16px;
}

.showdown-cell.player2 .showdown-marker {
  color: var(--paper);
  background: #007a3d;
}

.showdown-search {
  position: relative;
}

.showdown-search-results {
  position: absolute;
  z-index: 10;
  right: 0;
  left: 0;
  overflow: hidden;
  margin-top: 6px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 14px;
  background: #0b1020;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.showdown-search-results button {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(245, 231, 208, 0.08);
  padding: 11px 12px;
  color: var(--paper);
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.showdown-search-results button:hover {
  background: rgba(249, 115, 22, 0.12);
}

.showdown-result {
  display: grid;
  gap: 12px;
  justify-items: start;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 16px;
  padding: 16px;
  background: rgba(245, 231, 208, 0.06);
}

.showdown-result > b {
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(28px, 7vw, 48px);
  text-transform: uppercase;
}

.showdown-result > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.showdown-disconnect {
  margin: 0;
  color: var(--yellow);
}

@media (max-width: 820px) {
  .multiplayer-hub,
  .showdown-entry {
    grid-template-columns: 1fr;
  }

  .multiplayer-hub {
    margin-bottom: 30px;
  }

  .multiplayer-game-card {
    min-height: 132px;
  }
}

@media (max-width: 520px) {
  .multiplayer-hero {
    min-height: 110px;
    padding-block: 18px;
  }

  .multiplayer-game-card {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 18px;
  }

  .multiplayer-game-card h2 {
    font-size: clamp(30px, 11vw, 42px);
  }

  .multiplayer-game-card > b {
    width: 58px;
    border-radius: 14px;
    font-size: 19px;
  }

  .showdown-entry-panel,
  .showdown-room,
  .showdown-match {
    border-radius: 14px;
    padding: 12px;
  }

  .showdown-room-code {
    grid-template-columns: 1fr;
  }

  .showdown-room-code .button,
  .showdown-entry-panel .button,
  .showdown-room-actions .button {
    width: 100%;
  }

  .showdown-versus {
    grid-template-columns: 1fr;
  }

  .showdown-versus > i {
    text-align: center;
  }

  .showdown-match-top {
    align-items: flex-start;
  }

  .showdown-turn-pill {
    width: 38px;
  }

  .showdown-cell {
    min-height: 72px;
  }

  .showdown-marker {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
}

/* Shared game-page polish: keep individual game screens close to the Timeout Grid style. */
body[data-page="game"] .game-page-info {
  background: transparent;
}

body[data-page="game"] .game-page-info article,
body[data-page="game"] .wordle-mode-note,
body[data-page="game"] .player-wordle-intro,
body[data-page="game"] .connections-intro,
body[data-page="game"] .career-path-card,
body[data-page="game"] .tier-list-intro,
body[data-page="game"] .starting-five-intro,
body[data-page="game"] .starting-five-prompt-card,
body[data-page="game"] .sbc-intro,
body[data-page="game"] .wordle-result-card,
body[data-page="game"] .daily-result-card {
  border: 1px solid rgba(245, 231, 208, 0.14);
  background:
    radial-gradient(circle at 88% 18%, rgba(249, 115, 22, 0.1), transparent 26%),
    rgba(21, 27, 46, 0.72);
  box-shadow: none;
}

body[data-page="game"] .game-page-info article {
  padding: clamp(16px, 3vw, 22px);
}

body[data-page="game"] .game-page-info h2,
body[data-page="game"] .wordle-result-card h3,
body[data-page="game"] .tier-player-pool h3,
body[data-page="game"] .starting-five-board-header h3,
body[data-page="game"] .starting-five-pool-header h3 {
  color: var(--paper);
}

body[data-page="game"] .game-page-info p,
body[data-page="game"] .player-wordle-intro p,
body[data-page="game"] .connections-intro p,
body[data-page="game"] .career-path-card p,
body[data-page="game"] .tier-list-intro p,
body[data-page="game"] .starting-five-intro p,
body[data-page="game"] .sbc-intro p,
body[data-page="game"] .starting-five-board-header p,
body[data-page="game"] .starting-five-pool-header p {
  color: var(--muted-light);
}

body[data-page="game"] .guess-scoreboard,
body[data-page="game"] .tier-filter-summary article,
body[data-page="game"] .starting-five-pool-count,
body[data-page="game"] .sbc-summary article {
  border: 1px solid rgba(245, 231, 208, 0.14);
  background: rgba(21, 27, 46, 0.68);
  box-shadow: none;
}

body[data-page="game"] .guess-scoreboard span,
body[data-page="game"] .tier-filter-summary span,
body[data-page="game"] .starting-five-pool-count span,
body[data-page="game"] .sbc-summary span {
  color: var(--muted-light);
}

body[data-page="game"] .guess-scoreboard b,
body[data-page="game"] .tier-filter-summary b,
body[data-page="game"] .starting-five-pool-count b,
body[data-page="game"] .sbc-summary b {
  color: var(--yellow);
}

body[data-page="game"] .daily-attempt-timer {
  border-color: rgba(245, 231, 208, 0.14);
  color: rgba(245, 231, 208, 0.84);
  background: rgba(245, 231, 208, 0.075);
}

body[data-page="game"] .daily-attempt-timer b {
  color: var(--yellow);
}

body[data-page="game"] .player-wordle-form input,
body[data-page="game"] .tier-filter-control select,
body[data-page="game"] .tier-search-control input,
body[data-page="game"] .starting-five-name input,
body[data-page="game"] .starting-five-search-control input,
body[data-page="game"] .sbc-filter-control select {
  border-color: rgba(245, 231, 208, 0.16);
  color: var(--paper);
  background: rgba(11, 16, 32, 0.76);
}

body[data-page="game"] .player-wordle-form input::placeholder,
body[data-page="game"] .tier-search-control input::placeholder,
body[data-page="game"] .starting-five-name input::placeholder,
body[data-page="game"] .starting-five-search-control input::placeholder {
  color: rgba(245, 231, 208, 0.52);
}

body[data-page="game"] .connections-card,
body[data-page="game"] .tier-player-card,
body[data-page="game"] .starting-five-player-card,
body[data-page="game"] .sbc-player-card,
body[data-page="game"] .starting-five-slot,
body[data-page="game"] .tier-board,
body[data-page="game"] .tier-player-pool,
body[data-page="game"] .starting-five-board,
body[data-page="game"] .starting-five-pool,
body[data-page="game"] .starting-five-saved {
  border-color: rgba(245, 231, 208, 0.14);
  background:
    radial-gradient(circle at 92% 12%, rgba(249, 115, 22, 0.1), transparent 26%),
    rgba(21, 27, 46, 0.64);
  box-shadow: none;
}

body[data-page="game"] .connections-card,
body[data-page="game"] .tier-player-card b,
body[data-page="game"] .starting-five-player-card b,
body[data-page="game"] .sbc-player-card h3,
body[data-page="game"] .starting-five-slot-label b,
body[data-page="game"] .starting-five-slot-player b {
  color: var(--paper);
}

body[data-page="game"] .tier-player-card p,
body[data-page="game"] .starting-five-player-card p,
body[data-page="game"] .starting-five-player-card small,
body[data-page="game"] .sbc-player-meta,
body[data-page="game"] .starting-five-slot p,
body[data-page="game"] .starting-five-slot-player p {
  color: var(--muted-light);
}

body[data-page="game"] .connections-card.is-selected {
  border-color: rgba(249, 115, 22, 0.9);
  background:
    radial-gradient(circle at 90% 18%, rgba(251, 191, 36, 0.22), transparent 30%),
    rgba(249, 115, 22, 0.2);
}

body[data-page="game"] .connections-clear,
body[data-page="game"] .tier-clear-filters,
body[data-page="game"] .tier-show-more,
body[data-page="game"] .starting-five-soft-button,
body[data-page="game"] .starting-five-slot button,
body[data-page="game"] .starting-five-player-card button,
body[data-page="game"] .starting-five-saved-actions button,
body[data-page="game"] .sbc-role-actions button {
  border-color: rgba(245, 231, 208, 0.18);
  color: var(--paper);
  background: rgba(245, 231, 208, 0.08);
}

@media (max-width: 700px) {
  body[data-page="game"] .game-page-panel,
  body[data-page="game"] .game-page-info {
    margin-top: 12px;
  }

  body[data-page="game"] .game-page-info h2 {
    font-size: 24px;
  }

  body[data-page="game"] .player-wordle-form .player-autocomplete-menu,
  body[data-page="game"] .career-guess-form .player-autocomplete-menu,
  body[data-page="game"] .timeout-grid-form .player-autocomplete-menu,
  body[data-page="game"] .showdown-form .showdown-search-results {
    position: static;
    margin-top: 8px;
    max-height: 224px;
  }

  body[data-page="game"] .player-wordle-form .button,
  body[data-page="game"] .career-guess-form .button,
  body[data-page="game"] .timeout-grid-form .button,
  body[data-page="game"] .showdown-form .button {
    min-height: 50px;
    width: 100%;
  }
}

/* Scroll navigation: full header at the top, compact app rail while browsing. */
.site-header {
  transform: translateY(0);
  transition:
    transform 220ms ease,
    opacity 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled-away {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 26px));
}

.scroll-side-nav {
  position: fixed;
  z-index: 20;
  top: 50%;
  right: max(12px, calc((100vw - var(--content-max)) / 2 - 78px));
  display: grid;
  gap: 8px;
  width: 70px;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 24px;
  padding: 10px;
  background:
    radial-gradient(circle at 45% 0%, rgba(249, 115, 22, 0.18), transparent 45%),
    rgba(11, 16, 32, 0.93);
  box-shadow: 0 18px 44px rgba(11, 16, 32, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-44%) translateX(14px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  backdrop-filter: blur(16px);
}

.scroll-side-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.scroll-side-nav a {
  display: grid;
  min-height: 50px;
  place-items: center;
  border: 1px solid rgba(245, 231, 208, 0.1);
  border-radius: 18px;
  padding: 7px 5px;
  color: rgba(245, 231, 208, 0.78);
  background: rgba(245, 231, 208, 0.045);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.35px;
  text-align: center;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.scroll-side-nav a:hover {
  color: var(--paper);
  background: rgba(245, 231, 208, 0.1);
  transform: translateX(-2px);
}

.scroll-side-nav a.is-active,
.scroll-side-nav a[aria-current="page"] {
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.26);
}

@media (max-width: 1320px) {
  .scroll-side-nav {
    right: 12px;
  }
}

@media (max-width: 760px) {
  .site-header.is-scrolled-away {
    transform: translateY(calc(-100% - 16px));
  }

  .scroll-side-nav {
    top: auto;
    right: 50%;
    bottom: 10px;
    width: min(420px, calc(100% - 20px));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    border-radius: 22px;
    padding: 8px;
    transform: translateX(50%) translateY(18px);
  }

  .scroll-side-nav.is-visible {
    transform: translateX(50%) translateY(0);
  }

  .scroll-side-nav a {
    min-height: 42px;
    border-radius: 999px;
    padding: 6px 5px;
    font-size: clamp(8px, 2.5vw, 10px);
    letter-spacing: 0.2px;
  }

  .scroll-side-nav a:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .scroll-side-nav,
  .scroll-side-nav a {
    transition: none;
  }
}

.onboarding-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(12px, 3vw, 28px);
  background:
    radial-gradient(circle at 14% 10%, rgba(249, 115, 22, 0.2), transparent 20rem),
    rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(10px);
}

.onboarding-backdrop[hidden] {
  display: none;
}

.onboarding-dialog {
  position: relative;
  display: grid;
  width: min(520px, 100%);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(245, 231, 208, 0.16);
  border-radius: 28px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(245, 231, 208, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(245, 231, 208, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 94% 16%, rgba(249, 115, 22, 0.2), transparent 25%),
    linear-gradient(135deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.98));
  background-size: 32px 32px, 32px 32px, auto, auto;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.5);
}

.onboarding-dialog::after {
  position: absolute;
  right: -76px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.onboarding-topline,
.onboarding-progress-row,
.onboarding-body,
.onboarding-actions {
  position: relative;
  z-index: 1;
}

.onboarding-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px 12px;
}

.onboarding-topline .brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
}

.onboarding-topline .brand-wordmark > span {
  border-radius: 7px;
  padding: 4px 7px 5px;
  color: var(--paper);
  background: rgba(245, 231, 208, 0.1);
  box-shadow: inset 0 -3px 0 rgba(249, 115, 22, 0.68);
}

.onboarding-topline .brand-wordmark > b {
  border-radius: 8px;
  padding: 5px 7px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--orange), var(--yellow));
}

.onboarding-skip,
.onboarding-back {
  border: 1px solid rgba(245, 231, 208, 0.16);
  border-radius: 999px;
  color: rgba(245, 231, 208, 0.82);
  background: rgba(245, 231, 208, 0.07);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.onboarding-skip {
  min-height: 38px;
  padding: 0 14px;
}

.onboarding-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 24px 0;
  color: rgba(245, 231, 208, 0.62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.onboarding-dots {
  display: flex;
  gap: 6px;
}

.onboarding-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(245, 231, 208, 0.22);
}

.onboarding-dots span.is-active {
  width: 22px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.onboarding-body {
  align-self: center;
  padding: 26px 32px 20px;
}

.onboarding-body h2 {
  max-width: 420px;
  margin-bottom: 14px;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(44px, 7vw, 66px);
  line-height: 0.95;
  text-transform: uppercase;
}

.onboarding-copy {
  display: grid;
  gap: 7px;
  max-width: 420px;
  color: rgba(245, 231, 208, 0.76);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.38;
}

.onboarding-items {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.onboarding-items:empty {
  display: none;
}

.onboarding-items span {
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--paper);
  background: rgba(245, 231, 208, 0.08);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.onboarding-actions {
  align-self: end;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px 24px;
}

.onboarding-back {
  min-width: 94px;
  min-height: 48px;
  padding: 0 18px;
}

.onboarding-back[hidden] {
  visibility: hidden;
  display: inline-flex;
}

.onboarding-actions .button {
  min-width: 190px;
  min-height: 48px;
}

.onboarding-dialog button:focus-visible,
.home-help-link:focus-visible {
  outline: 3px solid rgba(251, 191, 36, 0.72);
  outline-offset: 3px;
}

.how-to-play-backdrop {
  position: fixed;
  z-index: 135;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
  background:
    radial-gradient(circle at 14% 10%, rgba(249, 115, 22, 0.18), transparent 22rem),
    rgba(3, 7, 18, 0.84);
  backdrop-filter: blur(8px);
}

.how-to-play-backdrop[hidden] {
  display: none;
}

.how-to-play-dialog {
  position: relative;
  width: min(520px, 100%);
  overflow: hidden;
  border: 1px solid rgba(245, 231, 208, 0.16);
  border-radius: 26px;
  padding: 26px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(245, 231, 208, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(245, 231, 208, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 92% 18%, rgba(249, 115, 22, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.98));
  background-size: 32px 32px, 32px 32px, auto, auto;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
}

.how-to-play-dialog > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.how-to-play-dialog h2 {
  max-width: calc(100% - 46px);
  margin: 0 0 18px;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(34px, 7vw, 54px);
  line-height: 0.95;
  text-transform: uppercase;
}

.how-to-play-dialog ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: how-to-play;
}

.how-to-play-dialog li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 16px;
  padding: 12px;
  color: rgba(245, 231, 208, 0.82);
  background: rgba(245, 231, 208, 0.07);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.how-to-play-dialog li::before {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #190c03;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  font-size: 12px;
  font-weight: 900;
  content: counter(how-to-play);
  counter-increment: how-to-play;
  place-items: center;
}

.how-to-play-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(245, 231, 208, 0.08);
  font-size: 27px;
  line-height: 1;
  place-items: center;
}

.how-to-play-close:hover {
  color: #190c03;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.streak-progress-backdrop {
  position: fixed;
  z-index: 136;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
  background:
    radial-gradient(circle at 78% 12%, rgba(251, 191, 36, 0.18), transparent 20rem),
    rgba(3, 7, 18, 0.84);
  backdrop-filter: blur(8px);
}

.streak-progress-backdrop[hidden] {
  display: none;
}

.streak-progress-dialog {
  position: relative;
  width: min(500px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(249, 115, 22, 0.82) rgba(245, 231, 208, 0.06);
  border: 1px solid rgba(245, 231, 208, 0.16);
  border-radius: 26px;
  padding: 22px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(245, 231, 208, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(245, 231, 208, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 92% 8%, rgba(249, 115, 22, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(21, 27, 46, 0.98), rgba(11, 16, 32, 0.98));
  background-size: 32px 32px, 32px 32px, auto, auto;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
}

.streak-progress-dialog::-webkit-scrollbar {
  width: 8px;
}

.streak-progress-dialog::-webkit-scrollbar-track {
  margin-block: 18px;
  border-radius: 999px;
  background: rgba(245, 231, 208, 0.05);
}

.streak-progress-dialog::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(var(--yellow), var(--orange)) padding-box;
}

.streak-progress-dialog::-webkit-scrollbar-thumb:hover {
  background: var(--orange) padding-box;
}

.streak-progress-summary {
  display: grid;
  gap: 8px;
  padding-right: 46px;
}

.streak-progress-summary > span,
.streak-progress-note b {
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.streak-progress-summary h2 {
  margin: 0;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(44px, 10vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
}

.streak-progress-summary strong {
  color: var(--yellow);
  font-size: 20px;
  font-weight: 950;
}

.streak-progress-summary p,
.streak-progress-summary small,
.streak-progress-note p {
  margin: 0;
  color: rgba(245, 231, 208, 0.76);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.streak-progress-bar {
  overflow: hidden;
  height: 10px;
  margin-top: 4px;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 999px;
  background: rgba(245, 231, 208, 0.08);
}

.streak-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}

.streak-rank-ladder {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.streak-rank-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(245, 231, 208, 0.1);
  border-radius: 14px;
  padding: 10px;
  color: rgba(245, 231, 208, 0.62);
  background: rgba(245, 231, 208, 0.045);
}

.streak-rank-row > span {
  position: relative;
  display: grid;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 999px;
  color: inherit;
  background: rgba(245, 231, 208, 0.055);
  place-items: center;
}

.streak-rank-row > span::before {
  content: "";
  display: block;
}

.streak-rank-row.is-achieved > span {
  border-color: rgba(251, 191, 36, 0.42);
  color: var(--yellow);
  background: rgba(251, 191, 36, 0.1);
}

.streak-rank-row.is-achieved > span::before {
  content: "✓";
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.streak-rank-row b {
  color: inherit;
  font-size: 14px;
  font-weight: 950;
}

.streak-rank-row small,
.streak-rank-row em {
  color: inherit;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.streak-rank-row.is-achieved {
  color: rgba(245, 231, 208, 0.86);
}

.streak-rank-row.is-current {
  border-color: rgba(249, 115, 22, 0.56);
  color: var(--paper);
  background:
    radial-gradient(circle at 92% 18%, rgba(251, 191, 36, 0.18), transparent 28%),
    rgba(249, 115, 22, 0.16);
}

.streak-rank-row.is-current > span {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.streak-rank-row.is-current > span::before {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(25, 12, 3, 0.35);
  transform: rotate(45deg);
}

.streak-rank-row.is-locked {
  opacity: 0.72;
}

.streak-rank-row.is-locked > span::before {
  width: 6px;
  height: 6px;
  border: 1.5px solid rgba(245, 231, 208, 0.58);
  border-radius: 999px;
}

.streak-progress-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  border: 1px solid rgba(245, 231, 208, 0.1);
  border-radius: 16px;
  padding: 12px;
  background: rgba(245, 231, 208, 0.055);
}

.streak-progress-cta {
  width: 100%;
  margin-top: 14px;
}

.streak-progress-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(245, 231, 208, 0.08);
  font-size: 27px;
  line-height: 1;
  place-items: center;
}

.streak-progress-close:hover {
  color: #190c03;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.how-to-play-close:focus-visible,
.game-help-trigger:focus-visible,
.streak-progress-close:focus-visible {
  outline: 3px solid rgba(251, 191, 36, 0.72);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .onboarding-backdrop {
    align-items: stretch;
    padding: 8px;
  }

  .onboarding-dialog {
    width: 100%;
    min-height: calc(100dvh - 16px);
    border-radius: 24px;
  }

  .onboarding-topline {
    padding: 16px 16px 8px;
  }

  .onboarding-progress-row {
    padding: 6px 16px 0;
  }

  .onboarding-body {
    padding: 22px 18px 18px;
  }

  .onboarding-body h2 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .onboarding-copy {
    font-size: 14px;
  }

  .onboarding-items {
    gap: 7px;
    margin-top: 18px;
  }

  .onboarding-items span {
    padding: 8px 10px;
    font-size: 10px;
  }

  .onboarding-actions {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    padding: 0 16px 16px;
  }

  .onboarding-actions .button,
  .onboarding-back {
    width: 100%;
    min-width: 0;
  }

  .game-rule-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    border-radius: 20px;
    padding: 16px;
  }

  .game-rule-header h1 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .game-help-trigger {
    width: 100%;
    min-height: 44px;
  }

  .how-to-play-backdrop {
    align-items: stretch;
    padding: 8px;
  }

  .how-to-play-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    border-radius: 22px;
    padding: 22px 16px 16px;
  }

  .how-to-play-dialog h2 {
    font-size: clamp(34px, 10.5vw, 44px);
  }

  .how-to-play-dialog li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
    font-size: 13px;
  }

  .how-to-play-dialog li::before {
    width: 30px;
    height: 30px;
  }

  .streak-progress-backdrop {
    align-items: end;
    padding: 8px;
  }

  .streak-progress-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 22px;
    padding: 18px 14px 14px;
  }

  .streak-progress-summary {
    padding-right: 44px;
  }

  .streak-progress-summary h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .streak-rank-row {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 7px;
  }

  .streak-rank-row em {
    grid-column: 2 / -1;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .onboarding-topline .brand-wordmark {
    font-size: 19px;
  }

  .onboarding-body h2 {
    font-size: clamp(35px, 12vw, 46px);
  }

  .onboarding-progress-row {
    font-size: 9px;
  }
}

/* Scroll menu button: replaces the side rail with a tucked-away hamburger menu. */
.scroll-menu {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: max(14px, calc((100vw - var(--content-max)) / 2));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.scroll-menu.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-menu-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(245, 231, 208, 0.16);
  border-radius: 18px;
  padding: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 20% 0%, rgba(249, 115, 22, 0.26), transparent 48%),
    rgba(11, 16, 32, 0.94);
  box-shadow: 0 16px 38px rgba(11, 16, 32, 0.28);
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.scroll-menu-button span {
  display: block;
  flex: 0 0 3px;
  width: 24px;
  height: 3px;
  margin: 0;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.scroll-menu.is-open .scroll-menu-button span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.scroll-menu.is-open .scroll-menu-button span:nth-child(2) {
  opacity: 0;
}

.scroll-menu.is-open .scroll-menu-button span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.scroll-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  min-width: 220px;
  gap: 8px;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 18px;
  padding: 10px;
  background:
    radial-gradient(circle at 12% 0%, rgba(249, 115, 22, 0.18), transparent 50%),
    rgba(11, 16, 32, 0.96);
  box-shadow: 0 18px 44px rgba(11, 16, 32, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(16px);
}

.scroll-menu.is-open .scroll-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-menu-panel a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(245, 231, 208, 0.1);
  border-radius: 14px;
  padding: 0 14px;
  color: rgba(245, 231, 208, 0.78);
  background: rgba(245, 231, 208, 0.045);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.scroll-menu-panel a::after {
  color: var(--orange);
  content: "->";
}

.scroll-menu-panel a:hover {
  color: var(--paper);
  background: rgba(245, 231, 208, 0.1);
  transform: translateX(2px);
}

.scroll-menu-panel a.is-active,
.scroll-menu-panel a[aria-current="page"] {
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.26);
}

.scroll-menu-panel a.is-active::after,
.scroll-menu-panel a[aria-current="page"]::after {
  color: var(--navy);
}

@media (max-width: 760px) {
  .scroll-menu {
    top: 10px;
    left: 10px;
  }

  .scroll-menu-button {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .scroll-menu-panel {
    min-width: min(250px, calc(100vw - 20px));
  }

  .scroll-menu-panel a:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .blind-ranking-controls,
  .blind-ranking-stage {
    grid-template-columns: 1fr;
  }

  .blind-ranking-controls {
    padding: 0 12px;
  }

  .blind-ranking-note {
    padding: 0 12px 14px;
  }

  .blind-ranking-intro,
  .blind-ranking-board,
  .blind-ranking-result-card {
    padding: 15px;
  }

  .blind-ranking-player {
    min-height: 0;
    padding: 18px 14px;
  }

  .blind-ranking-player img {
    width: min(58vw, 170px);
  }

  .blind-ranking-player h3 {
    font-size: clamp(30px, 11vw, 44px);
  }

  .blind-ranking-board-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .blind-ranking-slot {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 64px;
  }

  .blind-ranking-slot b {
    grid-column: 2;
    width: fit-content;
  }

  .blind-ranking-actions,
  .blind-ranking-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-menu,
  .scroll-menu-button span,
  .scroll-menu-panel,
  .scroll-menu-panel a {
    transition: none;
  }
}

/* Tower multiplayer */
.tower-match {
  gap: 14px;
}

.tower-how-to,
.tower-secret-status,
.tower-action-panel,
.tower-board-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(245, 231, 208, 0.12);
  border-radius: 14px;
  padding: 12px;
  background: rgba(11, 16, 32, 0.34);
}

.tower-how-to {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tower-how-to p,
.tower-secret-status p,
.tower-empty-history {
  margin: 0;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 800;
}

.tower-secret-status {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tower-secret-status b {
  color: var(--paper);
}

.tower-search-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 14px;
  padding: 0 16px;
  color: var(--paper);
  background: rgba(5, 8, 18, 0.8);
  font: inherit;
  font-weight: 800;
}

.tower-candidate-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
}

.tower-candidate-grid.is-compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.tower-candidate {
  display: grid;
  min-width: 0;
  min-height: 72px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 12px;
  padding: 9px;
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 12%, rgba(249, 115, 22, 0.13), transparent 34%),
    rgba(31, 39, 58, 0.72);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;
}

.tower-candidate:hover {
  border-color: rgba(249, 115, 22, 0.64);
  transform: translateY(-1px);
}

.tower-candidate.is-selected {
  border-color: rgba(255, 184, 28, 0.86);
  box-shadow: inset 0 0 0 2px rgba(255, 184, 28, 0.22);
}

.tower-candidate.is-eliminated {
  opacity: 0.42;
  text-decoration: line-through;
}

.tower-candidate img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(245, 231, 208, 0.12);
}

.tower-candidate span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.tower-candidate b,
.tower-candidate small,
.tower-candidate em {
  overflow-wrap: anywhere;
}

.tower-candidate b {
  color: var(--paper);
  font-size: 13px;
  line-height: 1.12;
}

.tower-candidate small,
.tower-candidate em {
  color: var(--muted-light);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.18;
}

.tower-action-switch,
.tower-tabs,
.tower-question-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tower-action-switch button,
.tower-tabs button,
.tower-question-options button {
  min-height: 40px;
  border: 1px solid rgba(245, 231, 208, 0.14);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(245, 231, 208, 0.82);
  background: rgba(245, 231, 208, 0.06);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  cursor: pointer;
}

.tower-action-switch button.is-active,
.tower-tabs button.is-active,
.tower-question-options button.is-selected {
  color: var(--navy);
  border-color: transparent;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.tower-panel-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.tower-panel-heading h3 {
  margin: 0;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
}

.tower-history-list {
  display: grid;
  gap: 8px;
}

.tower-history-list article {
  display: grid;
  grid-template-columns: minmax(70px, 0.68fr) minmax(0, 1.5fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(245, 231, 208, 0.1);
  border-radius: 12px;
  padding: 9px 10px;
  background: rgba(245, 231, 208, 0.045);
}

.tower-history-list span,
.tower-history-list b,
.tower-history-list strong {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.tower-history-list span {
  color: var(--muted-light);
  font-weight: 900;
}

.tower-history-list b {
  color: var(--paper);
}

.tower-history-list strong {
  color: var(--yellow);
}

.tower-final .tower-reveals {
  display: grid;
  gap: 4px;
}

.tower-final .tower-reveals p {
  margin: 0;
  color: var(--muted-light);
  font-weight: 850;
}

.tower-final .tower-reveals strong {
  color: var(--paper);
}

@media (max-width: 720px) {
  .tower-how-to,
  .tower-secret-status {
    grid-template-columns: 1fr;
  }

  .tower-candidate-grid,
  .tower-candidate-grid.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tower-candidate {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
    min-height: 68px;
    padding: 8px;
  }

  .tower-candidate img {
    width: 36px;
    height: 36px;
  }

  .tower-history-list article {
    grid-template-columns: 1fr auto;
  }

  .tower-history-list b {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 430px) {
  .tower-action-switch button,
  .tower-tabs button,
  .tower-question-options button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 10px;
  }

  .tower-candidate b {
    font-size: 12px;
  }

  .tower-candidate small,
  .tower-candidate em {
    font-size: 9px;
  }

  .tower-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Shared game directory layout, based on the daily selection. */
.directory-page {
  padding-top: 36px;
  padding-bottom: 38px;
}

.directory-page .directory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.directory-page .directory-filters .filter {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0;
}

.directory-page .directory-filters .filter:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

body[data-page="all-games"] .directory-page .game-section-group {
  margin: 0;
  padding: 26px 0 0;
}

body[data-page="all-games"] .directory-page .game-section-group:first-child {
  padding-top: 0;
}

.directory-page .game-section-heading {
  margin: 0 0 18px;
}

.directory-page .game-section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.directory-page .game-section-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.directory-tier-visual {
  flex-direction: column;
  gap: 4px;
}

.directory-tier-visual i {
  width: 100%;
  border-left: 3px solid var(--orange);
  padding-left: 8px;
  color: var(--cream);
  background: rgba(245, 231, 208, 0.08);
  font: 700 14px/18px "DM Sans", sans-serif;
}

.directory-ranking-visual {
  align-items: flex-end;
  gap: 4px;
}

.directory-ranking-visual i {
  display: grid;
  flex: 1;
  height: 46px;
  place-items: center;
  border-top: 2px solid var(--orange);
  color: var(--cream);
  background: rgba(245, 231, 208, 0.08);
  font: 600 16px/1 "Oswald", sans-serif;
}

.directory-ranking-visual i:nth-child(2) { height: 36px; }
.directory-ranking-visual i:nth-child(3) { height: 26px; }

.daily-page-heading {
  margin-bottom: 22px;
  padding: 24px 0 18px;
  border-bottom: 2px solid var(--ink);
}

.daily-page-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: 0;
}

.daily-lineup {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.daily-lineup-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.daily-lineup-card {
  display: grid;
  grid-template-rows: 64px 1fr auto;
  gap: 24px;
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(245, 231, 208, 0.2);
  border-radius: 8px;
  color: var(--cream);
  background: var(--navy-soft);
  text-decoration: none;
}

.daily-lineup-card:hover {
  border-color: var(--orange);
}

.daily-lineup-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.daily-lineup-copy h2,
.daily-lineup-copy h3 {
  margin: 0 0 8px;
  color: var(--cream);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}

.daily-lineup-copy p {
  margin: 0;
  color: var(--muted-light);
  font-size: 15px;
  line-height: 1.5;
}

.daily-lineup-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--orange);
}

.daily-lineup-mystery {
  border: 2px solid var(--orange);
  border-radius: 8px;
  font: 600 48px/1 "Oswald", Impact, sans-serif;
}

.daily-lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
}

.daily-lineup-grid i {
  width: 100%;
  height: 100%;
  border: 1px solid var(--muted-light);
  border-radius: 2px;
}

.daily-lineup-grid i:nth-child(5) {
  border-color: var(--orange);
  background: var(--orange);
}

.daily-lineup-route {
  gap: 3px;
}

.daily-lineup-route i {
  flex: 0 0 10px;
  height: 10px;
  border: 2px solid var(--cream);
  border-radius: 50%;
}

.daily-lineup-route i:last-child {
  border-color: var(--orange);
  background: var(--orange);
}

.daily-lineup-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 231, 208, 0.16);
  color: var(--orange);
  font-size: 15px;
}

.daily-lineup-card.is-completed .daily-lineup-action {
  color: var(--cream);
}

body[data-page="daily"] .daily-section .daily-stats-grid div {
  padding: 0 12px;
  border: 0;
  border-left: 1px solid rgba(245, 231, 208, 0.2);
  border-radius: 0;
  background: transparent;
}

@media (max-width: 700px) {
  .directory-page {
    padding-top: 18px;
    padding-bottom: 24px;
  }

  .directory-page .directory-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 22px;
  }

  .directory-page .directory-filters .filter {
    padding: 8px 4px;
    font-size: 12px;
  }

  .directory-page .game-section-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .directory-page .game-section-heading h2 {
    font-size: 24px;
  }

  body[data-page="daily"] .daily-section .daily-stats-panel {
    display: grid;
    gap: 18px;
    padding: 18px;
  }

  body[data-page="daily"] .daily-section .daily-stats-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page="daily"] .daily-section .daily-stats-grid div {
    min-width: 0;
    padding: 0;
    border: 0;
  }

  body[data-page="daily"] .daily-section .daily-stats-grid span {
    min-height: 28px;
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: 0;
  }

  body[data-page="daily"] .daily-section .daily-stats-grid b {
    font-size: 20px;
  }

  .daily-page-heading {
    padding: 12px 0 14px;
    margin-bottom: 16px;
  }

  .daily-page-heading h1 {
    font-size: 40px;
  }

  .daily-lineup {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .daily-lineup-card {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 12px 16px;
    padding: 18px;
    align-items: center;
  }

  .daily-lineup-visual {
    width: 48px;
    height: 48px;
  }

  .daily-lineup-mystery {
    font-size: 36px;
  }

  .daily-lineup-route {
    gap: 1px;
    font-size: 12px;
  }

  .daily-lineup-route i {
    flex-basis: 8px;
    height: 8px;
  }

  .daily-lineup-copy h2,
  .daily-lineup-copy h3 {
    font-size: 26px;
    margin-bottom: 5px;
  }

  .daily-lineup-copy p {
    font-size: 14px;
  }

  .daily-lineup-action {
    grid-column: 1 / -1;
    padding-top: 10px;
  }
}

/* Deliberate restraint pass: keep navigation and gameplay prominent. */
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

body > main {
  width: 100%;
  flex: 1 0 auto;
}

body > .site-footer {
  flex: 0 0 auto;
  background: var(--navy);
}

.button,
.home-action-card .button,
.feature-card .button {
  border-radius: 6px;
}

body[data-page="all-games"] .page-hero,
body[data-page="multiplayer"] .page-hero,
body[data-page="leaderboard"] .page-hero {
  min-height: 0;
  overflow: visible;
  margin-bottom: 22px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  padding: 24px 0 18px;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

body[data-page="all-games"] .page-hero::after,
body[data-page="multiplayer"] .page-hero::after,
body[data-page="leaderboard"] .page-hero::after {
  content: none;
}

body[data-page="all-games"] .page-hero h1,
body[data-page="multiplayer"] .page-hero h1,
body[data-page="leaderboard"] .page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 64px);
}

body[data-page="daily"] .daily-stats-panel {
  border-radius: 8px;
  background: var(--navy-soft);
  box-shadow: none;
}

body[data-page="daily"] .feature-card {
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(11, 16, 32, 0.16);
}

body[data-page="daily"] .feature-card::before {
  content: none;
}

body[data-page="daily"] .mini-game-card {
  border-radius: 8px;
  background: var(--navy-soft);
  box-shadow: none;
}

body[data-page="daily"] .mini-game-card::before {
  background: var(--orange);
}

body[data-page="daily"] .mini-game-card:hover {
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .desktop-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-action-card {
    gap: 8px;
    padding: 0;
    border-radius: 0;
  }

  .site-footer a:not(.brand):not(.footer-feedback) {
    min-height: 38px;
    border: 0;
    border-bottom: 1px solid rgba(245, 231, 208, 0.14);
    border-radius: 0;
    background: transparent;
  }

  .site-footer .footer-feedback {
    border-radius: 6px;
  }

  body[data-page="all-games"] .page-hero,
  body[data-page="multiplayer"] .page-hero,
  body[data-page="leaderboard"] .page-hero {
    margin-top: 8px;
    margin-bottom: 16px;
    padding: 18px 0 14px;
  }

  body[data-page="all-games"] .page-hero h1,
  body[data-page="multiplayer"] .page-hero h1,
  body[data-page="leaderboard"] .page-hero h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  body[data-page="all-games"] .page-hero-with-filters {
    gap: 12px;
  }

  body[data-page="all-games"] .page-hero-with-filters .filter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
    border-radius: 0;
    padding: 0;
  }

  body[data-page="all-games"] .filter {
    min-height: 40px;
    padding: 6px 4px;
    font-size: 8px;
  }

  body[data-page="all-games"] .game-section-group,
  body[data-page="all-games"] .game-grid.is-grouped .game-section-group {
    border-radius: 0;
    padding: 26px 0 0;
  }

  body[data-page="all-games"] .game-section-group:first-child,
  body[data-page="all-games"] .game-grid.is-grouped .game-section-group:first-child {
    padding-top: 0;
  }

  body[data-page="all-games"] .game-card {
    border-radius: 8px;
  }

  body[data-page="daily"] .daily-stats-panel,
  body[data-page="daily"] .feature-card,
  body[data-page="daily"] .mini-game-card {
    border-radius: 8px;
  }

  .game-rule-header {
    gap: 10px;
    border-radius: 0;
    padding: 16px 0 12px;
  }

  .game-help-trigger {
    width: auto;
    min-height: 40px;
    align-self: flex-start;
  }

  .multiplayer-game-card,
  .multiplayer-game-card > b {
    border-radius: 6px;
  }
}

/* Streak rewards and rank recognition */
.streak-rank-badge {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 231, 208, 0.22);
  border-radius: 3px;
  padding: 3px 6px;
  color: rgba(245, 231, 208, 0.78);
  background: rgba(245, 231, 208, 0.05);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.55px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.streak-rank-badge.is-starter {
  border-color: rgba(249, 115, 22, 0.46);
  color: #ffc08d;
}

.streak-rank-badge.is-all-star {
  border-color: rgba(251, 191, 36, 0.5);
  color: var(--yellow);
  background: rgba(251, 191, 36, 0.07);
}

.streak-rank-badge.is-mvp {
  border-color: rgba(249, 115, 22, 0.72);
  color: var(--paper);
  background: rgba(249, 115, 22, 0.2);
}

.streak-rank-badge.is-legend {
  border-color: rgba(245, 231, 208, 0.56);
  color: var(--paper);
  box-shadow: inset 3px 0 0 var(--orange);
}

.streak-rank-badge.is-icon {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(251, 191, 36, 0.12);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.2);
}

.streak-rank-badge.is-current,
.streak-rank-badge.is-milestone {
  min-height: 26px;
  padding: 5px 8px;
  font-size: 11px;
}

.streak-rank-badge.is-leaderboard,
.streak-rank-badge.is-profile {
  flex: 0 0 auto;
  margin-left: 3px;
  vertical-align: middle;
}

.streak-pill[data-streak-rank="starter"] {
  border-color: rgba(249, 115, 22, 0.58);
}

.streak-pill[data-streak-rank="all-star"] {
  border-color: rgba(251, 191, 36, 0.68);
  box-shadow: inset 0 -3px 0 rgba(251, 191, 36, 0.38);
}

.streak-pill[data-streak-rank="mvp"] {
  border-color: rgba(249, 115, 22, 0.82);
  background: rgba(249, 115, 22, 0.16);
  box-shadow: inset 0 -3px 0 rgba(249, 115, 22, 0.5);
}

.streak-pill[data-streak-rank="legend"] {
  border-color: rgba(245, 231, 208, 0.66);
  outline: 1px solid rgba(249, 115, 22, 0.24);
  outline-offset: 2px;
}

.streak-pill[data-streak-rank="icon"] {
  border-color: var(--yellow);
  background: rgba(251, 191, 36, 0.12);
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.18), inset 0 -3px 0 rgba(249, 115, 22, 0.5);
}

.streak-progress-rank {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.streak-progress-rank > small {
  color: rgba(245, 231, 208, 0.72);
  font-size: 11px;
}

.hundred-day-club {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  border-left: 3px solid var(--yellow);
  padding: 4px 8px;
  color: var(--paper);
  background: rgba(251, 191, 36, 0.08);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.streak-rank-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  justify-items: start;
}

.streak-rank-copy > b {
  color: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.streak-progress-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.streak-progress-actions .button {
  min-height: 42px;
}

.streak-progress-actions span,
.streak-share-status {
  min-height: 18px;
  margin: 0;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 850;
}

.leaderboard-profile-identity,
.leaderboard-player b {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.leaderboard-player b {
  overflow: visible;
  white-space: normal;
}

.leaderboard-player-name {
  min-width: 0;
  overflow: hidden;
  color: white !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.streak-milestone-backdrop {
  position: fixed;
  z-index: 145;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3, 7, 18, 0.86);
  backdrop-filter: blur(6px);
}

.streak-milestone-backdrop[hidden] {
  display: none;
}

.streak-milestone-dialog {
  position: relative;
  width: min(420px, 100%);
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  padding: 24px;
  color: var(--paper);
  background: var(--navy-soft);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.streak-milestone-card {
  display: grid;
  gap: 10px;
  padding-right: 42px;
}

.streak-milestone-card > span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.streak-milestone-card h2 {
  margin: 4px 0 0;
  color: var(--paper);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(38px, 8vw, 54px);
  line-height: 0.96;
  text-transform: uppercase;
}

.streak-milestone-card > strong {
  color: var(--yellow);
  font-size: 18px;
  font-weight: 950;
}

.streak-milestone-card > p {
  margin: 0;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 800;
}

.streak-milestone-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.streak-milestone-actions .button:only-child {
  grid-column: 1 / -1;
}

.streak-milestone-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 231, 208, 0.18);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(245, 231, 208, 0.06);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  place-items: center;
}

.streak-milestone-close:hover {
  border-color: var(--orange);
  background: rgba(249, 115, 22, 0.14);
}

.streak-milestone-close:focus-visible,
.streak-milestone-actions .button:focus-visible {
  outline: 3px solid rgba(251, 191, 36, 0.72);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .streak-rank-row {
    grid-template-columns: 24px minmax(0, 1fr) auto;
  }

  .streak-rank-row em {
    grid-column: 2 / -1;
  }

  .streak-milestone-backdrop {
    align-items: end;
    padding: 8px;
  }

  .streak-milestone-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    padding: 22px 16px 16px;
  }

  .streak-milestone-card {
    padding-right: 40px;
  }
}

@media (max-width: 380px) {
  .streak-rank-row {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    padding: 9px 8px;
  }

  .streak-rank-badge {
    font-size: 8px;
  }

  .streak-milestone-actions {
    grid-template-columns: 1fr;
  }

  .streak-milestone-actions .button:only-child {
    grid-column: auto;
  }
}
