/* =========================================================
   A Quick One - Fresh Static Frontend
   ---------------------------------------------------------
   Design goals:
   - Landing page may scroll.
   - Play page must NOT scroll.
   - Game frame is designed around a 1366x768 GameMaker canvas.
   - Avoid CSS transforms on the iframe/canvas.
   - Keep browser selection/drag behavior away from gameplay.
   ========================================================= */

:root {
  --bg: #10170f;
  --bg-2: #172316;
  --panel: #20351d;
  --panel-2: #294523;
  --text: #f4efd8;
  --muted: #c6c09e;
  --accent: #e4c95b;
  --accent-dark: #8b6f24;
  --border: rgba(244, 239, 216, 0.18);

  --game-width: 1366px;
  --game-height: 768px;

  --play-header-height: 52px;
  --play-footer-height: 44px;
  --play-gap: 8px;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(228, 201, 91, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

/* =========================================================
   Shared header/footer
   ========================================================= */

.site-header,
.play-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(16, 23, 15, 0.92);
}

.site-header {
  min-height: 64px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.play-header {
  height: var(--play-header-height);
  flex: 0 0 var(--play-header-height);
}

.brand {
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-footer,
.play-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: rgba(16, 23, 15, 0.92);
}

/* =========================================================
   Landing page
   ========================================================= */

.landing-page {
  overflow-x: hidden;
}

.landing-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}

.landing-background-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.8s ease;
}

.landing-background-image.is-visible {
  opacity: 1;
}

.landing-background-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      rgba(9, 18, 8, 0.40),
      rgba(9, 18, 8, 0.58)
    );
}

.landing-main,
.landing-page .site-footer {
  position: relative;
  z-index: 1;
}

.landing-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.hero {
  min-height: 460px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      rgba(25, 58, 22, 0.72),
      rgba(12, 27, 11, 0.66)
    );
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.hero-card {
  text-align: center;
  padding: 32px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.hero-copy {
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 1.35rem;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--accent-dark);
  border-radius: 999px;
  color: #151205;
  background: var(--accent);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 6px 0 var(--accent-dark);
}

.button-primary:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--accent-dark);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.18fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.panel {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(32, 53, 29, 0.88);
}

.panel h2 {
  margin: 0 0 14px;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.5;
}

.panel ul {
  padding-left: 20px;
}

.stat-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* =========================================================
   Yesterday's champion homepage card
   ========================================================= */

.champion-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  text-align: center;
}

.champion-panel .eyebrow {
  margin-bottom: 8px;
}

.champion-loading,
.champion-empty,
.champion-error {
  display: grid;
  justify-items: center;
}

.champion-loading h2,
.champion-empty h2,
.champion-error h2 {
  margin-bottom: 8px;
}

.champion-loading p,
.champion-empty p,
.champion-error p {
  margin-top: 0;
}

.champion-trophy {
  margin: 2px 0 8px;
  font-size: 2.5rem;
  line-height: 1;
}

.champion-name {
  max-width: 100%;
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
  white-space: nowrap;
}

.champion-verified,
.champion-guest {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-top: 10px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.champion-verified {
  border-color: rgba(228, 201, 91, 0.5);
  color: var(--accent);
  background: rgba(228, 201, 91, 0.08);
}

.champion-guest {
  color: var(--muted);
  background: rgba(244, 239, 216, 0.04);
}

.champion-result {
  margin: 18px 0 2px;
}

.champion-result strong {
  color: var(--text);
  font-size: 1.15rem;
}

.champion-score {
  margin: 0 0 20px;
  color: var(--accent) !important;
  font-size: 1.05rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.champion-panel .panel-link {
  margin-top: auto;
}

/* =========================================================
   Play page
   ========================================================= */

.play-page {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
}

.play-main {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: var(--play-gap);
  overflow: hidden;
}

.game-shell {
  aspect-ratio: 1366 / 768;

  width: min(
    calc(100vw - 16px),
    calc((100vh - var(--play-header-height) - var(--play-footer-height) - (var(--play-gap) * 2)) * 1366 / 768),
    var(--game-width)
  );

  max-height: min(
    calc(100vh - var(--play-header-height) - var(--play-footer-height) - (var(--play-gap) * 2)),
    var(--game-height)
  );

  border: 2px solid rgba(244, 239, 216, 0.24);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
}

.game-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  touch-action: none;
}

.play-footer {
  height: var(--play-footer-height);
  flex: 0 0 var(--play-footer-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* =========================================================
   Smaller screens
   ========================================================= */

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .play-header {
    padding: 0 14px;
  }

  .site-nav {
    gap: 10px;
    font-size: 0.85rem;
  }

  .play-footer {
    font-size: 0.75rem;
    gap: 10px;
  }
}

/* =========================================================
   Immersive phone/tablet play mode
   ---------------------------------------------------------
   The mobile-play class is added by play.html when the browser
   is touch-oriented and running on a phone/tablet-sized screen.
   In landscape, the iframe becomes the entire visual viewport.
   In portrait, only the rotate-device overlay is shown.
   ========================================================= */

.rotate-overlay {
  display: none;
}

html.mobile-play,
html.mobile-play body.play-page {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: #000;
}

html.mobile-play body.play-page {
  position: fixed;
  inset: 0;
  display: block;
  touch-action: none;
}

html.mobile-play .play-header,
html.mobile-play .play-footer {
  display: none;
}

html.mobile-play .play-main,
html.mobile-play .game-shell,
html.mobile-play .game-frame {
  position: fixed;
  inset: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #000;
}

html.mobile-play .play-main {
  display: block;
  overflow: hidden;
}

html.mobile-play .game-shell {
  aspect-ratio: auto;
  overflow: hidden;
}

html.mobile-play .game-frame {
  display: block;
  touch-action: none;
}

@media (orientation: portrait) {
  html.mobile-play .game-shell {
    visibility: hidden;
  }

  html.mobile-play .rotate-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding:
      max(24px, env(safe-area-inset-top))
      max(24px, env(safe-area-inset-right))
      max(24px, env(safe-area-inset-bottom))
      max(24px, env(safe-area-inset-left));
    color: var(--text);
    text-align: center;
    background:
      radial-gradient(circle at 50% 30%, rgba(228, 201, 91, 0.15), transparent 18rem),
      #10170f;
  }

  html.mobile-play .rotate-card {
    width: min(100%, 420px);
  }

  html.mobile-play .rotate-phone {
    width: 78px;
    height: 118px;
    margin: 0 auto 26px;
    display: grid;
    place-items: center;
    border: 5px solid var(--accent);
    border-radius: 15px;
    color: var(--accent);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    transform: rotate(-90deg);
    animation: aqo-rotate-device 1.8s ease-in-out infinite;
  }

  html.mobile-play .rotate-card h1 {
    margin: 0;
    font-size: clamp(2rem, 11vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
  }

  html.mobile-play .rotate-card p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 4.5vw, 1.3rem);
    font-weight: 700;
  }
}

@keyframes aqo-rotate-device {
  0%, 100% { transform: rotate(0deg); }
  45%, 75% { transform: rotate(-90deg); }
}

@media (prefers-reduced-motion: reduce) {
  html.mobile-play .rotate-phone {
    animation: none;
    transform: rotate(-90deg);
  }
}


/* =========================================================
   Leaderboard page
   ========================================================= */

.leaderboard-page {
  min-height: 100vh;
}

.page.leaderboard-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 48px;
}

.leaderboard-hero {
  padding: clamp(22px, 4vw, 42px);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(32, 53, 29, 0.94), rgba(24, 39, 22, 0.94)),
    radial-gradient(circle at 80% 0%, rgba(228, 201, 91, 0.12), transparent 24rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.leaderboard-hero h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
}

.leaderboard-hero .muted {
  margin: 18px 0 0;
}

.daily-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 26px 0 22px;
}

.daily-stat {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(16, 23, 15, 0.34);
}

.daily-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.daily-stat strong {
  display: block;
  font-size: 1.35rem;
}

.leaderboard-card,
.distribution-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(16, 23, 15, 0.38);
}

.table-wrap {
  overflow-x: auto;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(244, 239, 216, 0.1);
}

.leaderboard-table th {
  color: var(--accent);
  background: rgba(16, 23, 15, 0.55);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.leaderboard-table tbody tr:nth-child(odd) {
  background: rgba(244, 239, 216, 0.035);
}

.leaderboard-table tbody tr:hover {
  background: rgba(228, 201, 91, 0.08);
}

.leaderboard-table tbody tr:last-child td {
  border-bottom: 0;
}

.rank-cell {
  width: 92px;
  font-size: 1.25rem;
  font-weight: 900;
}

.player-cell {
  font-weight: 900;
}

.score-cell,
.strokes-cell {
  width: 130px;
  font-weight: 1000;
  font-variant-numeric: tabular-nums;
}

.score-cell {
  font-size: 1.15rem;
}

.tiebreak-cell {
  width: 190px;
  white-space: nowrap;
  color: var(--accent);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.score-under {
  color: #8ee36e;
}

.score-even {
  color: var(--text);
}

.score-over {
  color: #f2a65a;
}

.current-player {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  background: rgba(228, 201, 91, 0.12) !important;
}

.empty-state {
  padding: 24px;
  color: var(--muted);
  font-weight: 800;
}

.distribution-card {
  margin-top: 18px;
  padding: 20px;
}

.distribution-card h2 {
  margin: 0 0 16px;
}

.distribution-bars {
  display: grid;
  gap: 10px;
}

.distribution-row {
  display: grid;
  grid-template-columns: 150px 1fr 42px;
  align-items: center;
  gap: 12px;
}

.distribution-label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.distribution-track {
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(244, 239, 216, 0.09);
}

.distribution-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}

.distribution-count {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.site-footer {
  padding: 14px 24px;
}

@media (max-width: 760px) {
  .daily-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .distribution-row {
    grid-template-columns: 110px 1fr 34px;
  }
}

@media (max-width: 520px) {
  .daily-stats {
    grid-template-columns: 1fr;
  }

  .distribution-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .distribution-count {
    text-align: left;
  }
}

.leaderboard-table tbody tr.ace-row td {
  background: rgba(228, 201, 91, 0.08);
}


/* =========================================================
   Account / auth UI
   ========================================================= */

.auth-link,
.auth-user,
.auth-logout {
  font: inherit;
  font-size: 0.92rem;
}

.auth-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: rgba(228, 201, 91, 0.08);
  text-decoration: none;
  font-weight: 800;
}

.auth-link:hover,
.auth-warning {
  border-color: rgba(228, 201, 91, 0.6);
  background: rgba(228, 201, 91, 0.16);
}

.auth-user {
  color: var(--accent);
  font-weight: 900;
}

.auth-logout {
  margin-left: 8px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.auth-logout:hover {
  color: var(--text);
  border-color: rgba(244, 239, 216, 0.36);
}

.auth-main {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.auth-card {
  padding: clamp(24px, 5vw, 44px);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(32, 53, 29, 0.94), rgba(24, 39, 22, 0.94)),
    radial-gradient(circle at 80% 0%, rgba(228, 201, 91, 0.12), transparent 24rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.auth-card h1 {
  font-size: clamp(3rem, 10vw, 6.2rem);
}

.auth-copy {
  max-width: 56ch;
  margin: 18px 0 24px;
}

.auth-status {
  min-height: 1.5em;
  color: var(--accent);
  font-weight: 800;
}

.auth-actions {
  display: grid;
  gap: 14px;
  max-width: 360px;
  margin-top: 24px;
}

.auth-provider {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.username-form {
  display: grid;
  gap: 10px;
  max-width: 360px;
  margin-top: 18px;
}

.username-form label {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.username-form input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: rgba(16, 23, 15, 0.62);
  font: inherit;
  font-weight: 800;
}

.username-form input:focus {
  outline: 2px solid rgba(228, 201, 91, 0.45);
  outline-offset: 2px;
}

.username-rules {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

/* =========================================================
   Career snapshot and stats page
   ========================================================= */

.career-snapshot-panel .eyebrow {
  margin-bottom: 8px;
}

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

.snapshot-grid p {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(16, 23, 15, 0.36);
}

.snapshot-grid span,
.career-stat span,
.result-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.snapshot-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 1.3rem;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(228, 201, 91, 0.5);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(228, 201, 91, 0.08);
  font-weight: 900;
  text-decoration: none;
}

.panel-link:hover {
  color: var(--text);
  background: rgba(228, 201, 91, 0.14);
}

.stats-page {
  min-height: 100vh;
}

.page.stats-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 48px;
}

.stats-hero {
  padding: clamp(22px, 4vw, 42px);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(32, 53, 29, 0.94), rgba(24, 39, 22, 0.94)),
    radial-gradient(circle at 80% 0%, rgba(228, 201, 91, 0.12), transparent 24rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.stats-hero > h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
}

.stats-hero > .muted {
  margin: 18px 0 0;
}

.career-primary-grid,
.career-secondary-grid {
  display: grid;
  gap: 12px;
}

.career-primary-grid {
  grid-template-columns: 1.35fr repeat(3, 1fr);
  margin: 26px 0 12px;
}

.career-secondary-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
}

.career-stat {
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(16, 23, 15, 0.38);
}

.career-stat-featured {
  background:
    linear-gradient(135deg, rgba(228, 201, 91, 0.13), transparent 60%),
    rgba(16, 23, 15, 0.48);
  border-color: rgba(228, 201, 91, 0.4);
}

.career-stat strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.career-stat small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.stats-card {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(16, 23, 15, 0.38);
}

.section-heading .eyebrow {
  margin-bottom: 5px;
}

.section-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

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

.result-grid > div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(244, 239, 216, 0.035);
}

.result-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
}

.stats-table td:nth-child(n+2),
.stats-table th:nth-child(n+2) {
  width: 130px;
}

.stats-table td {
  font-weight: 800;
}

@media (max-width: 900px) {
  .career-primary-grid,
  .career-secondary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 560px) {
  .snapshot-grid,
  .career-primary-grid,
  .career-secondary-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }
}

/* Guest account additions */
.auth-guest-label {
  margin-left: 6px;
  padding: 3px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth-choice { margin-top: 24px; }
.auth-choice h2 { margin-bottom: 6px; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* DNF leaderboard entries */
.leaderboard-table .score-dnf {
  color: var(--muted, #b8b8a8);
  font-weight: 800;
  letter-spacing: 0.06em;
}