:root {
  --bg-main: #f5f5f7;
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.08);
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --accent-blue: #0071e3;
  --accent-gold: #d97706;
  --button-hover: #0077ed;
  --selected-bg: rgba(0, 113, 227, 0.06);
  --selected-border: #0071e3;
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
}

body.auth-locked {
  overflow: hidden;
}

body.auth-locked .auth-chrome,
body.auth-locked #home-splash,
body.auth-locked #dashboard-section,
body.auth-locked #rules-view,
body.auth-locked #h2h-view,
body.auth-locked #score-view,
body.auth-locked #trophy-room-view,
body.auth-locked #hall-of-fame-view {
  display: none !important;
}

.page-shell {
  width: 100%;
}

.app-shell-content {
  width: 100%;
}

.view-panel {
  display: none;
  width: 100%;
}

.view-panel.active {
  display: block;
}

.view-panel.hidden,
.hidden {
  display: none !important;
}

.app-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* Header & Navigation */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 2rem;
}

.header-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-home-trigger {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  font: inherit;
  transition: opacity 0.15s ease;
}

.brand-home-trigger:hover {
  opacity: 0.85;
}

#auth-submit-button {
  width: 100%;
  padding: 0.85rem 1.25rem;
  margin-top: 1.25rem;
  border-radius: 9999px;
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

#auth-submit-button:hover:not(:disabled) {
  background: var(--button-hover);
}

#auth-submit-button:active:not(:disabled) {
  transform: scale(0.99);
}

#auth-submit-button:disabled {
  background: #e5e5ea;
  color: #8e8e93;
  cursor: not-allowed;
  box-shadow: none;
}

#auth-switch-button {
  display: block;
  width: 100%;
  margin-top: 1rem;
  text-align: center;
  background: none;
  border: none;
  color: var(--accent-blue);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0;
}

#auth-switch-button:hover {
  text-decoration: underline;
}

.brand-home-trigger:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 4px;
  border-radius: 6px;
}

.brand-mark {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.brand-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  font-weight: 600;
}

.brand-copy h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.header-season-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: rgba(0, 113, 227, 0.06);
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  line-height: 1.3;
  min-height: 36px;
}

.header-season-pill:hover,
.header-season-pill:focus-visible {
  background: rgba(0, 113, 227, 0.12);
  border-color: rgba(0, 113, 227, 0.35);
  outline: none;
}

.header-season-pill:active {
  transform: translateY(1px);
}

.header-season-pill .season-pill-player {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-season-pill .season-pill-score {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--accent-blue);
}

.header-season-pill .season-pill-separator {
  display: inline-block;
  color: var(--text-secondary);
  margin: 0 4px;
  font-weight: 700;
}

.menu-toggle {
  background: #ffffff;
  border: 1px solid var(--card-border);
  padding: 0.6rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  background: #fafafa;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 1px;
}

/* Drawer Navigation */
.side-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--card-border);
  z-index: 100;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding-top: calc(2rem + env(safe-area-inset-top, 0px));
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  padding-left: calc(1.5rem + env(safe-area-inset-left, 0px));
  padding-right: calc(1.5rem + env(safe-area-inset-right, 0px));
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

.side-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  display: none;
  z-index: 99;
}

.drawer-overlay.open {
  display: block;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-link {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s, color 0.15s, transform 0.15s ease;
}

.drawer-link:hover, .drawer-link.active {
  background-color: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
  font-weight: 600;
}

.drawer-coming-soon {
  color: #6e6e73 !important;
  cursor: default !important;
}

.drawer-coming-soon:hover {
  background-color: transparent !important;
}

.coming-soon-badge {
  font-size: 11px;
  font-weight: 500;
  color: rgba(110, 110, 115, 0.75);
}

.drawer-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0.65rem 0;
  width: 100%;
}

.drawer-link:active {
  transform: translateY(1px);
}

.drawer-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0.65rem 0;
  width: 100%;
}

.drawer-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 1.25rem 0 0.75rem 0;
  width: 100%;
}

.drawer-logout-link {
  width: 100%;
  margin-bottom: 1rem;
  color: #dc2626 !important;
}

.drawer-logout-link:hover {
  background-color: rgba(239, 68, 68, 0.08) !important;
  color: #b91c1c !important;
}

.trophy-room-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.trophy-room-header-row .command-header-controls {
  margin-left: auto;
  flex-shrink: 0;
}

.trophy-room-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue, #0071e3);
}

.trophy-room-header-row .view-subtitle {
  color: var(--text-muted, #64748b);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* Ensure 3-column desktop layout that stacks cleanly on mobile */
.trophy-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 900px) {
  .trophy-room-header-row {
    flex-direction: column;
    align-items: stretch;
  }
  .trophy-showcase {
    grid-template-columns: 1fr;
  }
}

.trophy-pedestal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1rem 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246,247,249,0.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 10px 24px rgba(15, 23, 42, 0.08);
  min-height: 320px;
  cursor: default;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.trophy-pedestal.is-clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.trophy-pedestal.is-clickable:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 14px 30px rgba(15, 23, 42, 0.12);
}

.trophy-pedestal.is-clickable:active {
  transform: translateY(-1px);
}

.trophy-pedestal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.36), rgba(255,255,255,0));
  pointer-events: none;
}

.trophy-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  padding: 0.5rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(148, 163, 184, 0.08));
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.trophy-figure svg {
  width: 88%;
  height: 88%;
  filter: drop-shadow(0 10px 12px rgba(15, 23, 42, 0.18));
}

.trophy-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.award-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251,191,36,0.18), rgba(245,158,11,0.08));
  border: 1px solid rgba(180, 122, 20, 0.35);
  color: #8a560f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trophy-copy h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.trophy-status,
.pedestal-status {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Preseason - True Antique Copper Bronze */
.pedestal-preseason .award-badge {
  background: linear-gradient(135deg, rgba(179, 92, 52, 0.16), rgba(102, 42, 12, 0.08));
  color: #8c3b16;
  border: 1px solid rgba(179, 92, 52, 0.38);
}

/* Regular Season - Cool Platinum & Steel Blue */
.pedestal-regular .award-badge {
  background: linear-gradient(135deg, rgba(98, 147, 209, 0.16), rgba(42, 74, 117, 0.08));
  color: #244b7d;
  border: 1px solid rgba(98, 147, 209, 0.38);
}

/* Postseason - 24k Radiant Gold */
.pedestal-postseason .award-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 119, 6, 0.1));
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.hof-back-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.25rem;
}

.back-link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  color: var(--accent-blue, #0071e3);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0 0.75rem 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.back-link-button:hover {
  opacity: 0.8;
  transform: translateX(-2px);
}

.hof-header-row {
  margin-bottom: 1.25rem;
}

.hall-of-fame-card {
  padding-top: 1rem;
}

@media (max-width: 768px) {
  .hall-of-fame-card {
    padding: 1rem 0.75rem !important;
  }
}

#hof-scope-select {
  min-width: 180px;
}


/* Cards & Shells */
.card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.command-header-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.command-header-top,
.command-header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.command-header-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.command-header-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: auto;
}

.command-header-bottom {
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

#home-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

#dashboard-section {
  margin-top: 0.25rem;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-blue);
  margin-bottom: 0.35rem;
}

.section-copy {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

/* Buttons */
.primary-button {
  background-color: var(--accent-blue);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 113, 227, 0.2);
}

.primary-button:hover {
  background-color: var(--button-hover);
  transform: translateY(-1px);
}

.secondary-button {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.15s;
}

.secondary-button:hover {
  background: rgba(0, 0, 0, 0.03);
}

.ghost-button {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 980px;
  cursor: pointer;
}

.ghost-button:hover {
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.2);
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

/* ==========================================================================
   ARENA SCOREBOARD CABINET (#fcfcfd) & STRUCTURED GRID ALIGNMENT
   ========================================================================== */
.scoreboard-panel {
  margin-top: 1rem;
  background: transparent;
  border: none;
  padding: 0;
}

.scoreboard-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.scoreboard-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.scoreboard-select-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.scoreboard-select-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #4b5563;
}

.scoreboard-select {
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #1f2937;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.32rem 0.7rem;
}

.scoreboard-select:focus-visible {
  outline: 2px solid rgba(0, 113, 227, 0.35);
  outline-offset: 2px;
}

.scoreboard-panel-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4b5563;
}

.gotw-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  background: #ffffff;
  cursor: pointer;
}

.gotw-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gotw-toggle-track {
  position: relative;
  width: 1.8rem;
  height: 1rem;
  border-radius: 999px;
  background: #d1d5db;
  transition: background 0.2s ease;
}

.gotw-toggle-thumb {
  position: absolute;
  top: 0.12rem;
  left: 0.12rem;
  width: 0.76rem;
  height: 0.76rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.gotw-toggle:checked + .gotw-toggle-track {
  background: #10b981;
}

.gotw-toggle:checked + .gotw-toggle-track .gotw-toggle-thumb {
  transform: translateX(0.8rem);
}

.gotw-pill-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #374151;
}

.arena-scoreboard-cabinet {
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  margin-top: 1rem;
}

.scoreboard-center-divider {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-0.5px);
}

.scoreboard-columns {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 0.5rem;
  align-items: stretch;
}

.scoreboard-column {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: 1.25rem;
}

.matrix-cutout {
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
  font-family: 'Doto', monospace;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.matrix-name {
  font-family: 'Doto', monospace;
  font-weight: 900;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  letter-spacing: 0.12em;
  min-height: 52px;
  height: auto;
  line-height: 1.2;
  padding: 0 0 0.25rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  word-break: break-word;
}

.matrix-score {
  font-family: 'Doto', monospace;
  font-weight: 900;
  font-size: clamp(5.5rem, 9vw, 7rem);
  letter-spacing: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.matrix-gotw {
  font-family: 'Doto', monospace;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  margin: 0 auto;
  padding: 0.5rem;
  display: none;
}

.scoreboard-panel.show-gotw .gotw-box {
  display: block;
}

.scoreboard-column.player-one-side .matrix-name,
.scoreboard-column.player-one-side .matrix-score,
.scoreboard-column.player-one-side .matrix-gotw {
  color: #34d399;
  text-shadow: 0 0 16px rgba(52, 211, 153, 0.35);
}

.scoreboard-column.player-two-side .matrix-name,
.scoreboard-column.player-two-side .matrix-score,
.scoreboard-column.player-two-side .matrix-gotw {
  color: #38bdf8;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.scoreboard-empty {
  font-size: 0.8rem;
  color: #4b5563;
  text-align: center;
  padding: 1.2rem 0.75rem;
  grid-column: 1 / -1;
}

.auth-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.auth-form[data-mode='login'] .register-only {
  display: none;
}

.auth-form[data-mode='register'] .register-only {
  display: grid;
}

.auth-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #ffffff;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.field-hint.error {
  color: #b91c1c;
}

.auth-mode-toggle {
  background: transparent;
  border: none;
  color: var(--accent-blue);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.15rem 0;
  cursor: pointer;
  text-align: left;
  width: fit-content;
}

.auth-mode-toggle:hover {
  text-decoration: underline;
}

#h2h-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#h2h-dashboard-section {
  margin-top: 0.25rem;
}

.points-to-clinch-card {
  display: grid;
  gap: 0.9rem;
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.clinch-header-row,
.clinch-score-row,
.clinch-points-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.clinch-header-row {
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.clinch-score-row {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.clinch-score-row.pending-state {
  color: var(--text-secondary);
  font-size: 2.2rem;
  font-weight: 600;
}

.clinch-score-row.pending-state span {
  color: var(--text-secondary);
  font-size: 2.2rem;
  font-weight: 600;
}

.clinch-points-row {
  font-size: 1rem;
  font-weight: 700;
  color: #047857;
}

.clinch-outcome-row {
  color: var(--text-primary);
}

.clinch-score-row span,
.clinch-points-row span,
.clinch-header-row span {
  text-align: center;
}

.clinch-remaining {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
}

.clinch-status {
  text-align: center;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #047857;
  background: rgba(16, 185, 129, 0.08);
}

.picks-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.picks-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  background: #fcfcfd;
}

.pick-game {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pick-team {
  color: var(--accent-blue);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(0, 113, 227, 0.08);
  flex-shrink: 0;
}

.no-picks,
.error-text {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .rules-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.rule-section {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem;
  background: #fcfcfd;
}

.rule-section h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.rule-section p {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 0.92rem;
}

.welcome-card {
  text-align: center;
}

.welcome-graphic {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: #f8f8fa;
  color: var(--text-secondary);
}

.helmet-icon {
  font-size: 1.5rem;
}

.message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  display: none;
}

.message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 12, 20, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 220;
}

.auth-modal-card {
  width: min(100%, 460px);
  margin: 0;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
}

.settings-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.settings-header {
  text-align: left;
  margin-bottom: 2rem;
}

.settings-header .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #86868b;
}

.settings-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin: 0.25rem 0;
}

.settings-header .subtitle {
  font-size: 0.95rem;
  color: #86868b;
}

.settings-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.card-section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 0.5rem 0;
}

.section-desc {
  font-size: 0.82rem;
  color: #86868b;
  margin: 0 0 1.25rem 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #86868b;
  margin-bottom: 0.4rem;
}

#user-settings-form input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  font-size: 0.95rem;
  color: #1d1d1f;
  background: #ffffff;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

#user-settings-form input:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
  outline: none;
}

.settings-alert {
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.settings-alert.error {
  background: #fff2f2;
  color: #d70015;
  border: 1px solid rgba(215, 0, 21, 0.2);
}

.settings-alert.success {
  background: #f0faf0;
  color: #1e824c;
  border: 1px solid rgba(30, 130, 76, 0.2);
}

.admin-portal-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-top: 0.5rem;
}

.settings-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.pill-btn:active {
  transform: translateY(1px);
}

.pill-btn-primary {
  background: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 113, 227, 0.2);
}

.pill-btn-primary:hover {
  background: var(--button-hover);
}

.pill-btn-secondary {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
}

.pill-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.03);
}

.week-dropdown-container {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.25rem 0 0.5rem 0;
}

.week-select-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.week-select-dropdown {
  border: 1px solid var(--card-border);
  border-radius: 980px;
  background: #ffffff;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  outline: none;
}

.h2h-sidebar-container {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.25rem;
}

.week-select-dropdown:focus-visible {
  outline: 2px solid rgba(0, 113, 227, 0.35);
  outline-offset: 2px;
}

.locked-notice-card {
  padding: 2rem;
  text-align: center;
  background: #fffdf5;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 14px;
}

.locked-notice-card h3 {
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.locked-notice-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   RESPONSIVE OVERRIDES (Mobile < 768px)
   ========================================================================== */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
    max-width: 100%;
  }

  .app-shell,
  .page-shell,
  .app-shell-content,
  .arena-scoreboard-cabinet,
  .game-card,
  .h2h-game-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .game-card .team-button,
  .game-card .team-button .team-title,
  .game-card .team-button .score-pill,
  .h2h-game-card .team-title,
  .h2h-game-card .h2h-result-score {
    color: var(--text-primary) !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    appearance: none;
    -webkit-appearance: none;
  }

  .game-card .team-button.locked,
  .game-card .team-button.locked .team-title,
  .game-card .team-button.locked .score-pill {
    color: var(--text-primary) !important;
    -webkit-text-fill-color: var(--text-primary) !important;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .app-shell {
    padding: 1rem 0.85rem 1.5rem;
  }

  .top-nav {
    gap: 0.6rem;
  }

  .header-nav-actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .header-season-pill {
    padding: 6px 10px;
    max-width: min(58vw, 240px);
    font-size: 0.75rem;
  }

  .header-season-pill .season-pill-player {
    max-width: 52px;
  }

  #home-dashboard {
    gap: 1rem;
  }

  .card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }

  .teams-grid {
    grid-template-columns: 1fr;
  }

  .picks-list li {
    gap: 0.65rem;
    padding: 0.6rem 0.7rem;
  }

  .pick-game {
    font-size: 0.85rem;
  }

  /* Scoreboard Panel Adjustments */
  .scoreboard-panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .scoreboard-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .scoreboard-select-group {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .scoreboard-select {
    max-width: 100%;
  }

  /* Switch cabinet grid from 2 side-by-side columns to 1 stacked column */
  .scoreboard-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
  }

  .scoreboard-center-divider {
    display: none;
  }

  .scoreboard-column.player-one-side {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  /* Scale down fonts and reset fixed heights */
  .matrix-name {
    font-size: 1.35rem;
    height: auto;
    min-height: 52px;
    padding: 0.25rem;
  }

  .matrix-score {
    font-size: 5rem;
  }

  .matrix-gotw {
    font-size: 1.1rem;
  }

  .arena-scoreboard-cabinet {
    padding: 1.25rem 1rem;
  }
}

/* Weekly Picks and matchup layout */
.date-group-header,
.h2h-card-header,
.player-heading,
.progress-summary-line {
  display: flex;
  align-items: center;
}

.segmented-control {
  display: inline-flex;
  padding: 0.2rem;
  background: #e9e9ed;
  border-radius: 10px;
}

.segment-button {
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.segment-button.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.progress-summary {
  width: auto;
  max-width: 100%;
}

.progress-summary-line {
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.saved-indicator {
  color: #047857;
}

.progress-track {
  height: 5px;
  margin-top: 0.45rem;
  overflow: hidden;
  background: #e5e7eb;
  border-radius: 999px;
}

.progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent-blue);
  border-radius: inherit;
  transition: width 0.25s ease;
}

.weekly-slate,
.h2h-slate {
  width: 100%;
}

.date-group-header h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.date-group-header span {
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.date-group {
  margin-top: 1.25rem;
}

.date-group-header {
  justify-content: flex-start;
  padding: 0 0.2rem 0.55rem;
  border-bottom: 1px solid var(--card-border);
}

.date-group-header span {
  display: none;
}

.schedule-grid {
  margin-top: 0.75rem;
  gap: 0.85rem;
}

.h2h-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.h2h-results-layer {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0;
}

.h2h-result-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: #f3f4f6;
}

.h2h-result-row.is-winner {
  color: var(--text-primary);
  background: #f3f4f6;
}

.h2h-result-score {
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.h2h-players-layer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--card-border);
}

.h2h-player-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: #f3f4f6;
  border-radius: 9px;
  min-width: 0;
}

.h2h-player-block .player-heading {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  gap: 0.55rem;
  overflow: hidden;
}

.h2h-player-block .player-heading span {
  min-width: 0;
  overflow: hidden;
}

.h2h-player-block .player-heading small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-heading {
  min-width: 0;
  gap: 0.55rem;
}

.player-heading strong,
.player-heading small {
  display: block;
}

.player-heading strong {
  font-size: 0.8rem;
}

.player-heading small {
  max-width: min(230px, 100%);
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-avatar {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border-radius: 50%;
  background: #e5e7eb;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 800;
}

@media (max-width: 640px) {
  .team-name-full { display: none !important; }
  .team-name-short { display: inline !important; }
  .command-header-top,
  .command-header-bottom,
  .weekly-picks-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .command-header-controls {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .command-header-controls .week-select-dropdown {
    width: 100%;
    min-width: 0;
  }

  .segmented-control {
    width: 100%;
  }

  .segment-button {
    flex: 1 1 0;
  }

  .progress-summary {
    width: 100%;
  }

  .h2h-players-layer {
    grid-template-columns: 1fr;
  }
}

/* Final card tokens and interaction states */
.game-card,
.h2h-game-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1rem;
}

.game-card .team-button,
.h2h-game-card .h2h-result-row,
.h2h-game-card .h2h-player-block {
  background: #f3f4f6;
  border: 1.5px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  padding: 0.55rem 0.75rem;
}

.game-card .team-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 2.85rem;
  margin: 0;
  padding: 0.65rem 0.85rem;
  box-sizing: border-box;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.game-card .team-button:hover,
.game-card .team-button:focus,
.game-card .team-button:active {
  background: #f3f4f6;
  border-color: transparent;
  box-shadow: none;
  outline: none;
  transform: none;
}

.game-card .team-button.selected,
.game-card .team-button.user-choice,
.game-card .team-button.selected.user-choice,
.game-card .team-button.locked.selected {
  background: #f3f4f6;
  border: 1.5px solid var(--accent-blue);
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.08);
}

.game-card .team-button:not(.selected) {
  background: #f3f4f6;
  border: 1.5px solid transparent;
}

.game-card .team-button.locked,
.game-card .team-button.locked:hover,
.game-card .team-button:disabled,
.game-card .team-button[disabled],
.game-card.final .team-button {
  pointer-events: none;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.game-card .game-header,
.h2h-game-card .h2h-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: none;
  font-size: 0.95rem;
}

.game-card .teams-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.game-card .team-title,
.game-card .game-date,
.game-card .game-spread,
.h2h-game-card .team-title,
.h2h-game-card .game-date,
.h2h-game-card .game-spread,
.h2h-game-card .h2h-result-score,
.h2h-game-card .player-heading strong {
  font-size: 0.95rem;
}

.game-card .team-title,
.game-card .team-button.selected .team-title,
.game-card .team-button.locked .team-title {
  font-weight: 500;
}

.game-card .team-title {
  flex: 1 1 auto;
  text-align: left;
}

.game-card .team-status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.game-card .score-pill,
.h2h-game-card .h2h-result-score {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.gotw-card {
  border-color: rgba(217, 119, 6, 0.35);
  background: linear-gradient(180deg, rgba(254, 243, 199, 0.42) 0%, #ffffff 72%);
}

.gotw-banner {
  margin-bottom: 0.65rem;
  color: var(--accent-gold);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.h2h-game-card .h2h-player-block {
  background: #f3f4f6;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
}

.h2h-game-card .player-heading small {
  font-size: 0.8rem;
}

.outcome-pill.pending {
  background: #e5e7eb;
  color: var(--text-secondary);
}

.choice-pill,
.outcome-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  line-height: 1.2;
}

.choice-pill {
  background: rgba(0, 113, 227, 0.09);
  color: #0071e3;
}

.choice-pill.opponent-choice {
  background: rgba(109, 40, 217, 0.09);
  color: #6d28d9;
}

.choice-pill.correct,
.outcome-pill.correct {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.choice-pill.missed,
.outcome-pill.missed {
  background: rgba(239, 68, 68, 0.10);
  color: #b42318;
}

.choice-pill.push,
.outcome-pill.push {
  background: rgba(245, 158, 11, 0.13);
  color: #92400e;
}

.game-card .team-button,
.game-card .team-button .team-title,
.game-card .team-button .score-pill,
.h2h-game-card .team-title,
.h2h-game-card .h2h-result-score {
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
}

.game-card .team-button.locked,
.game-card .team-button:disabled,
.game-card .team-button[disabled],
.game-card .team-button.locked .team-title,
.game-card .team-button:disabled .team-title,
.game-card .team-button.locked .score-pill,
.game-card .team-button:disabled .score-pill {
  opacity: 1;
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
  cursor: default;
}

.game-card .team-button.locked .choice-pill.correct,
.game-card .team-button.locked .choice-pill[class*="correct"],
.choice-pill.correct,
.outcome-pill.correct {
  color: #047857;
  -webkit-text-fill-color: #047857;
  background: rgba(16, 185, 129, 0.12);
}

.game-card .team-button.locked .choice-pill.missed,
.game-card .team-button.locked .choice-pill[class*="missed"],
.choice-pill.missed,
.outcome-pill.missed {
  color: #b42318;
  -webkit-text-fill-color: #b42318;
  background: rgba(239, 68, 68, 0.10);
}

.game-card .team-button.locked .choice-pill.push,
.game-card .team-button.locked .choice-pill[class*="push"],
.choice-pill.push,
.outcome-pill.push {
  color: #92400e;
  -webkit-text-fill-color: #92400e;
  background: rgba(245, 158, 11, 0.13);
}

.game-card .team-button.locked .choice-pill.opponent-choice,
.choice-pill.opponent-choice {
  color: #6d28d9;
  -webkit-text-fill-color: #6d28d9;
  background: rgba(109, 40, 217, 0.09);
}

.game-card .team-button .choice-pill.user-choice,
.game-card .team-button .choice-pill.selected,
.choice-pill.user-choice,
.choice-pill.selected,
.game-card .team-button.locked .choice-pill.user-choice {
  color: #0284c7;
  -webkit-text-fill-color: #0284c7;
  background: rgba(2, 132, 199, 0.12);
  font-weight: 700;
}

.game-card .team-record {
  font-size: 0.8rem;
  font-weight: 400;
  color: #86868b;
  -webkit-text-fill-color: #86868b;
  margin-left: 0.4rem;
  font-variant-numeric: tabular-nums;
}

.game-card .team-button.selected.opponent-choice,
.game-card .team-button.locked.selected.opponent-choice {
  background: #f3f4f6;
  border: 1.5px solid #6d28d9;
  box-shadow: inset 0 0 0 1px rgba(109, 40, 217, 0.08);
}

.team-name-short {
  display: none;
}

.team-name-full {
  display: inline;
}

.game-card .team-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.game-card .team-record {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Low Bar Trophy Tokens */
.award-badge.badge-lowbar {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.trophy-epitaph {
  margin: 0.2rem 0 0.35rem 0;
  font-size: 0.8rem;
  font-style: italic;
  color: #64748b;
  line-height: 1.35;
}
