:root {
  --bg: #ffffff;
  --panel: #f7f9fb;
  --panel-2: #eef1f5;
  --border: #e2e6ec;
  --text: #12151a;
  --text-dim: #5b6472;
  --accent: #2f6fed;
  --win: #16a34a;
  --loss: #dc2626;
  --pending: #6b7280;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site-header {
  --hdr-accent: #2f6fed;
  --hdr-accent-dim: rgba(47,111,237,0.09);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  overflow: hidden;
}

header.site-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hdr-accent), transparent);
  opacity: 0.55;
}

header.site-header::after {
  content: "";
  position: absolute;
  top: -60%;
  left: 50%;
  width: 340px;
  height: 140px;
  transform: translateX(-50%);
  background: var(--hdr-accent);
  opacity: 0.06;
  filter: blur(40px);
  pointer-events: none;
}

.pk-page header.site-header { --hdr-accent: #16a34a; --hdr-accent-dim: rgba(22,163,74,0.10); }
.el-page header.site-header { --hdr-accent: #ea580c; --hdr-accent-dim: rgba(234,88,12,0.10); }

.header-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand .logo {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hdr-accent-dim);
  border: 1px solid color-mix(in srgb, var(--hdr-accent) 40%, transparent);
  transition: transform 0.2s ease;
}

.brand:hover .logo { transform: rotate(-18deg) scale(1.06); }

.brand h1 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--text);
}

.brand .sub {
  margin: 1px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--hdr-accent);
  opacity: 0.9;
}

.theme-toggle {
  appearance: none;
  margin-left: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--hdr-accent) 45%, transparent);
  background: var(--hdr-accent-dim);
  color: var(--hdr-accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s ease;
  line-height: 1.3;
}
.theme-toggle:hover { background: color-mix(in srgb, var(--hdr-accent) 20%, transparent); }

@media (max-width: 520px) {
  .theme-toggle { padding: 6px 11px; font-size: 11px; }
}

nav.tabs { display: flex; gap: 6px; flex-wrap: wrap; }

nav.tabs a {
  position: relative;
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
nav.tabs a:hover { color: var(--text); text-decoration: none; border-color: var(--border); }

nav.tabs a.active {
  color: var(--hdr-accent);
  background: var(--hdr-accent-dim);
  border-color: color-mix(in srgb, var(--hdr-accent) 40%, transparent);
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.card h2 { margin-top: 0; font-size: 17px; }

.card p { color: var(--text-dim); font-size: 14px; margin: 0 0 10px; line-height: 1.55; }
.card p:last-child { margin-bottom: 0; }

.rich-list {
  margin: 0 0 10px;
  padding-left: 20px;
  color: var(--text-dim);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rich-list:last-child { margin-bottom: 0; }

.rich-sublist {
  margin: 6px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.week-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

select {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
}
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn-secondary { background: var(--panel-2); border: 1px solid var(--border); color: var(--text); }

.game-grid { display: grid; gap: 12px; }

.game-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}

.game-row .kickoff {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.team-chip { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }

.team-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.12);
}

.at { color: var(--text-dim); font-size: 12px; text-align: center; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--border); }
th:first-child, td:first-child { text-align: left; }
thead th { color: var(--text-dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; }
tbody tr:hover { background: var(--panel-2); }

.rank-1 td:first-child { color: #b8860b; font-weight: 800; }
.rank-2 td:first-child { color: #6b7280; font-weight: 700; }
.rank-3 td:first-child { color: #b06a2e; font-weight: 700; }

.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; }
.pill-win { background: rgba(22,163,74,0.12); color: #15803d; }
.pill-loss { background: rgba(220,38,38,0.12); color: #b91c1c; }
.pill-pending { background: rgba(107,114,128,0.12); color: var(--text-dim); }

.pick-grid-wrap { overflow-x: auto; }

.pick-cell { font-weight: 700; font-size: 12px; }
.pick-cell.correct { color: #15803d; }
.pick-cell.wrong { color: #b91c1c; }
.pick-cell.pending { color: var(--text-dim); }

.empty-state { text-align: center; color: var(--text-dim); padding: 30px 10px; font-size: 14px; }

footer { text-align: center; color: var(--text-dim); font-size: 12px; padding: 30px 20px 40px; }

.banner {
  background: rgba(47,111,237,0.07);
  border: 1px solid rgba(47,111,237,0.25);
  color: #1d4ed8;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
}

/* ---------- Home page hero (photo) ---------- */

.hero-photo {
  width: 100%;
  max-width: 780px;
  margin: 28px auto 0;
  padding: 0 20px;
  box-sizing: content-box;
}

.hero-photo .hero-photo-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(18,21,26,0.12);
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 620px) {
  .hero-photo { max-width: 100%; margin-top: 16px; }
}

/* ---------- Home page hero (legacy animated version, unused but kept for reference) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 90px 20px 70px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(47,111,237,0.10), transparent),
    linear-gradient(180deg, #ffffff 0%, #f7f9fb 55%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-field {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(18,21,26,0.03) 0px,
    rgba(18,21,26,0.03) 2px,
    transparent 2px,
    transparent 90px
  );
  mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000 40%, transparent 90%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  pointer-events: none;
  animation: drift 9s ease-in-out infinite alternate;
}

.glow-a { width: 340px; height: 340px; background: #2f6fed; top: -120px; left: 8%; animation-delay: 0s; }
.glow-b { width: 260px; height: 260px; background: #dc2626; top: 40px; right: 10%; animation-delay: 1.5s; }
.glow-c { width: 300px; height: 300px; background: #f59e0b; bottom: -160px; left: 42%; animation-delay: 3s; opacity: 0.2; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(24px, 18px) scale(1.08); }
}

.hero-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #1d4ed8;
  background: rgba(47,111,237,0.08);
  border: 1px solid rgba(47,111,237,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(90deg, #2f6fed, #7c3aed 45%, #dc2626 80%, #f59e0b);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.hero-sub {
  color: var(--text-dim);
  font-size: 16px;
  margin: 0 0 34px;
}

.stat-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.stat-chip {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 22px;
  min-width: 110px;
  box-shadow: 0 4px 14px rgba(18,21,26,0.05);
}

.stat-num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ---------- Pool cards ---------- */

.pool-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 6px;
  position: relative;
  z-index: 2;
}

.pool-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, var(--panel) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px 26px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(18,21,26,0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pool-card:hover {
  transform: translateY(-6px);
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(18,21,26,0.12);
}

.card-pickem:hover { border-color: rgba(22,163,74,0.55); }
.card-eliminator:hover { border-color: rgba(234,88,12,0.55); }
.card-schedule:hover { border-color: rgba(47,111,237,0.5); }

.pool-card-glow {
  position: absolute;
  top: -60%;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card-pickem .pool-card-glow { background: #16a34a; }
.card-eliminator .pool-card-glow { background: #ea580c; }
.card-schedule .pool-card-glow { background: #2f6fed; }
.pool-card:hover .pool-card-glow { opacity: 0.12; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.pool-card-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 8px 18px rgba(18,21,26,0.12));
}

.pool-card-icon {
  position: relative;
  z-index: 1;
  width: 110px;
  height: 110px;
  margin: 6px auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  background: rgba(47,111,237,0.08);
  border: 1px solid rgba(47,111,237,0.25);
}

.pool-card p { color: var(--text-dim); font-size: 13.5px; margin: 0 0 20px; position: relative; z-index: 1; text-align: left; }

.pool-card .go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.pool-card .arrow { transition: transform 0.18s ease; }
.pool-card:hover .arrow { transform: translateX(4px); }

@media (max-width: 620px) {
  .hero { padding: 60px 16px 80px; }
  .hero h1 { font-size: 32px; }
  .pool-cards { grid-template-columns: 1fr; margin-top: 6px; }
}

/* ---------- Eliminator team grid ---------- */

.team-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.team-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 13px;
}

.team-tile .team-badge { width: 26px; height: 26px; font-size: 9px; }

.team-tile.used {
  opacity: 0.4;
  filter: grayscale(1);
}

.team-tile.used .team-tag {
  text-decoration: line-through;
}

.team-tag { font-size: 10px; font-weight: 700; margin-left: auto; padding: 2px 7px; border-radius: 999px; }

.status-alive { color: var(--win); }
.status-out { color: var(--loss); }

@media (max-width: 560px) {
  .game-row { grid-template-columns: 1fr; text-align: left; }
  .at { text-align: left; }
}

/* ============================================================
   PICK'EM HUD THEME — used only on pickem.html
   ============================================================ */

.pk-page {
  /* root-level tokens: everything built on .card/table/pill/select/banner
     inherits these automatically, flipping to glass-on-photo */
  --bg: #04140b;
  --panel: rgba(8,26,17,0.76);
  --panel-2: rgba(13,34,23,0.7);
  --border: rgba(148,255,190,0.3);
  --text: #f4fffa;
  --text-dim: #bdeed3;
  --accent: #39ff8c;

  --pk-bg: #04140b;
  --pk-panel: rgba(8,26,17,0.76);
  --pk-panel-2: rgba(13,34,23,0.7);
  --pk-border: rgba(148,255,190,0.3);
  --pk-green: #39ff8c;
  --pk-green-dim: rgba(57,255,140,0.16);
  --pk-cyan: #22d3ee;
  --pk-text-dim: #bdeed3;

  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

.pk-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100vh + 170px);
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(2,9,5,0.72) 0%, rgba(2,12,7,0.85) 45%, rgba(1,6,3,0.94) 100%),
    url("assets/hero-stadium.jpg");
  background-size: cover, cover;
  background-position: center top, center 110px;
  background-repeat: no-repeat, no-repeat;
}

.pk-photo-hero {
  position: relative;
  height: 220px;
  border-bottom: 1px solid var(--pk-border);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(2,12,7,0.55) 100%);
}

.pk-photo-hero .pk-photo-hero-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b6ffd9;
  background: rgba(4,20,11,0.55);
  border: 1px solid rgba(57,255,140,0.4);
  padding: 7px 18px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pk-page select { background: rgba(255,255,255,0.95); color: #12151a; border-color: var(--border); }
.pk-page .pill-win { color: #6ee7a8; }
.pk-page .pill-loss { color: #ff8b8b; }
.pk-page .pick-cell.correct { color: #6ee7a8; }
.pk-page .pick-cell.wrong { color: #ff8b8b; }
.pk-page .banner { background: rgba(57,255,140,0.12); border-color: rgba(57,255,140,0.35); color: #ccffe4; }
.pk-page .rank-1 td:first-child { color: #ffd54a; }
.pk-page .rank-2 td:first-child { color: #e4e9ee; }
.pk-page .rank-3 td:first-child { color: #e2b183; }
.pk-page .card {
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
}
.pk-page .card h2 { color: var(--text); }
.pk-page thead th { color: #d3f5e3; }

@media (max-width: 620px) {
  .pk-photo-hero { height: 150px; }
  .pk-photo-hero .pk-photo-hero-tag { font-size: 10px; letter-spacing: 2px; padding: 6px 14px; }
}

.pk-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 20px 26px;
  background:
    linear-gradient(180deg, rgba(22,163,74,0.05), transparent 60%),
    var(--pk-bg);
  border-bottom: 1px solid var(--pk-border);
}

.pk-hero::before, .pk-hero::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--pk-green);
  opacity: 0.6;
}
.pk-hero::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.pk-hero::after { top: 10px; right: 10px; border-left: none; border-bottom: none; }

.pk-hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.pk-title h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--text);
}

.pk-title .pk-sub {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--pk-green);
}

.pk-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.pk-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pk-select-wrap label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--pk-text-dim);
  text-transform: uppercase;
}

.pk-select {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--pk-border);
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 700;
  min-width: 150px;
}

.pk-select:focus { outline: 1px solid var(--pk-green); }

.pk-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 20px 10px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 22px;
  align-items: start;
}

.pk-panel-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--pk-text-dim);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.pk-matchup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pk-game-card {
  background: var(--pk-panel);
  border: 1px solid var(--pk-border);
  border-radius: 6px;
  overflow: hidden;
}

.pk-game-kickoff {
  font-size: 10px;
  color: var(--pk-text-dim);
  padding: 7px 12px 0;
  letter-spacing: 0.4px;
}

.pk-pick-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin: 8px;
  border-radius: 4px;
  border: 1px solid var(--pk-border);
  background: #fbfdfc;
  transition: all 0.15s ease;
}

.pk-pick-row.picked {
  border-color: var(--pk-green);
  background: linear-gradient(90deg, rgba(22,163,74,0.10), rgba(22,163,74,0.02));
}

.pk-pick-row.picked.wrong {
  border-color: #dc2626;
  background: linear-gradient(90deg, rgba(220,38,38,0.10), rgba(220,38,38,0.02));
}

.pk-pick-row .team-badge {
  width: 32px;
  height: 32px;
  font-size: 10px;
}

.pk-pick-team {
  flex: 1;
  min-width: 0;
}

.pk-pick-team .name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pk-pick-team .code {
  font-size: 10px;
  color: var(--pk-text-dim);
  letter-spacing: 0.5px;
}

.pk-conf-badge {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: var(--pk-panel-2);
  color: var(--pk-text-dim);
  border: 1px solid var(--pk-border);
  flex-shrink: 0;
}

.pk-pick-row.picked .pk-conf-badge {
  background: var(--pk-green);
  color: #f4fff8;
  border-color: var(--pk-green);
}

.pk-pick-row.picked.wrong .pk-conf-badge {
  background: #dc2626;
  color: #fff5f5;
  border-color: #dc2626;
}

.pk-check {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid var(--pk-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  color: transparent;
}

.pk-pick-row.picked .pk-check {
  background: var(--pk-green);
  border-color: var(--pk-green);
  color: #f4fff8;
}

.pk-pick-row.picked.wrong .pk-check {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff5f5;
}

.pk-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pk-sidebar-panel {
  background: var(--pk-panel);
  border: 1px solid var(--pk-border);
  border-radius: 6px;
  padding: 16px;
}

.pk-status-grid {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pk-status-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--pk-text-dim);
}

.pk-status-row strong {
  font-size: 16px;
  color: var(--pk-green);
}

.pk-lb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }

.pk-lb-list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 4px;
  color: var(--text);
}

.pk-lb-list li.me {
  background: var(--pk-green-dim);
  border: 1px solid rgba(22,163,74,0.35);
  color: var(--pk-green);
  font-weight: 800;
}

.pk-lb-list .rank { color: var(--pk-text-dim); width: 20px; display: inline-block; }

.pk-progress-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 2px;
}

.pk-dash {
  height: 6px;
  flex: 1;
  border-radius: 2px;
  background: var(--pk-border);
}

.pk-dash.filled {
  background: var(--pk-green);
}

.pk-footer-bar {
  max-width: 1100px;
  margin: 4px auto 30px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.pk-footer-left { flex: 1; min-width: 220px; }

.pk-complete-text {
  font-size: 12px;
  color: var(--pk-text-dim);
  letter-spacing: 0.4px;
}

.pk-complete-text strong { color: var(--pk-green); }

.pk-season-tag {
  font-size: 11px;
  color: var(--pk-text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pk-btn {
  display: inline-block;
  background: var(--pk-green);
  border: 1px solid var(--pk-green);
  color: #f4fff8;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.6px;
  padding: 12px 22px;
  border-radius: 4px;
}
.pk-btn:hover { opacity: 0.9; text-decoration: none; }

.pk-tables {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 50px;
}

.pk-tables .card {
  background: var(--pk-panel);
  border-color: var(--pk-border);
}

.pk-tables table thead th {
  color: var(--pk-text-dim);
}

.pk-tables .rank-1 td:first-child { color: var(--pk-green); }

@media (max-width: 820px) {
  .pk-body { grid-template-columns: 1fr; }
  .pk-matchup-grid { grid-template-columns: 1fr; }
}

/* ---------- Pick'em card: circuit-board scoreboard layout ---------- */

.pk-outer {
  max-width: 1180px;
  margin: 22px auto;
  padding: 0 16px;
}

.pk-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--pk-border);
  background:
    radial-gradient(circle at 12% 8%, rgba(22,163,74,0.06), transparent 40%),
    radial-gradient(circle at 88% 85%, rgba(22,163,74,0.05), transparent 45%),
    repeating-linear-gradient(115deg, rgba(22,163,74,0.035) 0px, rgba(22,163,74,0.035) 1px, transparent 1px, transparent 46px),
    repeating-linear-gradient(25deg, rgba(8,145,178,0.03) 0px, rgba(8,145,178,0.03) 1px, transparent 1px, transparent 46px),
    var(--pk-panel);
  padding: 30px 28px 26px;
  box-shadow: 0 4px 18px rgba(18,21,26,0.05);
}

.pk-card .corner {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid var(--pk-green);
  opacity: 0.6;
}
.pk-card .corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.pk-card .corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.pk-card-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.pk-card-head h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--text);
  text-transform: uppercase;
}

.pk-card-head .pk-sub {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--pk-green);
  text-transform: uppercase;
}

.pk-layout {
  position: relative;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
  align-items: start;
}

.pk-scoreboard {
  background: var(--pk-panel-2);
  border: 1px solid var(--pk-border);
  border-left: 3px solid var(--pk-green);
  border-radius: 8px;
  padding: 16px;
}

.pk-scoreboard h3 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text);
  text-transform: uppercase;
  border-bottom: 1px solid var(--pk-border);
  padding-bottom: 10px;
}

.pk-scoreboard-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--pk-text-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pk-scoreboard-row strong {
  font-size: 18px;
  color: var(--pk-green);
  text-transform: none;
  letter-spacing: 0;
}

.pk-tabs {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.pk-tab {
  flex: 1;
  text-align: center;
  padding: 9px 4px;
  border: 1px solid var(--pk-border);
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--pk-text-dim);
  cursor: pointer;
  text-transform: uppercase;
  font-family: inherit;
}

.pk-tab.active {
  border-color: var(--pk-green);
  color: var(--pk-green);
  background: var(--pk-green-dim);
}

.pk-selects {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.pk-selects label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--pk-text-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pk-selects select {
  width: 100%;
}

.pk-panes { position: relative; }
.pk-pane { display: none; }
.pk-pane.active { display: block; }

.pk-row-header {
  display: grid;
  grid-template-columns: 74px 1fr 84px 84px 74px;
  padding: 0 14px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--pk-text-dim);
  text-transform: uppercase;
}

.pk-game-row {
  display: grid;
  grid-template-columns: 74px 1fr 84px 84px 74px;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-left: 4px solid var(--pk-border);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--pk-border);
  border-left-width: 4px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.pk-game-row.correct { border-left-color: var(--pk-green); }
.pk-game-row.wrong { border-left-color: #ff5566; }
.pk-game-row.pending { border-left-color: var(--pk-cyan); }

.pk-game-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.5px;
}

.pk-matchup-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pk-matchup-cell .vs { font-size: 10px; color: var(--pk-text-dim); font-weight: 700; }

.pk-matchup-teams {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pk-matchup-teams .teams-line {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pk-matchup-teams .kickoff-line {
  font-size: 10px;
  color: var(--pk-text-dim);
}

.pk-mypick-cell { display: flex; justify-content: center; }

.pk-mypick-box {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  border: 1px solid var(--pk-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--pk-text-dim);
}

.pk-game-row.correct .pk-mypick-box {
  background: var(--pk-green);
  color: #f4fff8;
  border-color: var(--pk-green);
}

.pk-game-row.wrong .pk-mypick-box {
  background: #ff5566;
  color: #2a0406;
  border-color: #ff5566;
}

.pk-game-row.pending .pk-mypick-box {
  border-color: var(--pk-cyan);
  color: var(--pk-cyan);
}

.pk-points-cell { text-align: center; font-size: 13px; font-weight: 800; }
.pk-game-row.correct .pk-points-cell { color: var(--pk-green); }
.pk-game-row.wrong .pk-points-cell { color: #ff5566; text-decoration: line-through; opacity: 0.7; }
.pk-game-row.pending .pk-points-cell { color: var(--pk-text-dim); }

.pk-winner-cell { text-align: center; font-size: 12px; font-weight: 700; color: var(--pk-text-dim); }
.pk-game-row.correct .pk-winner-cell,
.pk-game-row.wrong .pk-winner-cell { color: var(--text); }

.pk-footer-bar {
  position: relative;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--pk-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.pk-footer-left { flex: 1; min-width: 220px; }

.pk-pane table thead { display: none; }
.pk-pane table td { border-bottom-color: var(--pk-border); color: var(--text); }
.pk-pane table tbody tr:hover { background: rgba(22,163,74,0.05); }
.pk-pane .rank-1 td:first-child { color: var(--pk-green); }

.pk-rules-card p { color: var(--text-dim); font-size: 14px; margin: 0; }

@media (max-width: 820px) {
  .pk-layout { grid-template-columns: 1fr; }
  .pk-row-header { display: none; }
  .pk-game-row { grid-template-columns: 1fr; }
  .pk-mypick-cell, .pk-points-cell, .pk-winner-cell { justify-content: flex-start; text-align: left; }
}

/* ============================================================
   ELIMINATOR — fire / ember theme
   ============================================================ */

.el-page {
  /* root-level tokens: everything built on .card/table/pill/select/banner
     inherits these automatically, flipping to glass-on-photo */
  --bg: #170905;
  --panel: rgba(32,15,7,0.76);
  --panel-2: rgba(40,20,10,0.7);
  --border: rgba(255,180,120,0.32);
  --text: #fff8f0;
  --text-dim: #ffd9b3;
  --accent: #ff8a3d;

  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

.el-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100vh + 170px);
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(8,3,2,0.68) 0%, rgba(10,5,3,0.84) 45%, rgba(5,2,1,0.94) 100%),
    url("assets/hero-stadium.jpg");
  background-size: cover, cover;
  background-position: center top, center 110px;
  background-repeat: no-repeat, no-repeat;
}

.el-page select { background: rgba(255,255,255,0.95); color: #12151a; border-color: var(--border); }
.el-page .pill-win { color: #6ee7a8; }
.el-page .pill-loss { color: #ff8b8b; }
.el-page .pick-cell.correct { color: #6ee7a8; }
.el-page .pick-cell.wrong { color: #ff8b8b; }
.el-page .banner { background: rgba(234,88,12,0.14); border-color: rgba(234,88,12,0.4); color: #ffdcb8; }
.el-page .rank-1 td:first-child { color: #ffb35c; }
.el-page .rank-2 td:first-child { color: #e4e9ee; }
.el-page .rank-3 td:first-child { color: #e2b183; }
.el-page .card {
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
}
.el-page .card h2 { color: var(--text); }
.el-page thead th { color: #ffe6cc; }

.el-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 20px 54px;
  text-align: center;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

.el-hero .bar {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, transparent, #ea580c, #f59e0b, #ea580c, transparent);
  opacity: 0.55;
}
.el-hero .bar.left { left: 5%; }
.el-hero .bar.right { right: 5%; }

.el-embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.el-ember {
  position: absolute;
  bottom: -10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ea580c;
  box-shadow: 0 0 8px 2px rgba(234,88,12,0.5);
  animation: emberFloat 6s ease-in infinite;
  opacity: 0;
}

@keyframes emberFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-260px) translateX(18px); opacity: 0; }
}

.el-hero-content { position: relative; max-width: 640px; margin: 0 auto; }

.el-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #ffb35c;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.el-hero h1 {
  margin: 0;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(180deg, #fff2d9 0%, #ffb84d 35%, #ff5a1f 70%, #c92e0e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255,90,20,0.5)) drop-shadow(0 0 40px rgba(255,60,10,0.3));
}

.el-hero h2 {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #f4e3cf;
  text-transform: uppercase;
  opacity: 0.85;
}

.el-hero .el-tagline {
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffb35c;
  text-transform: uppercase;
}

.el-week-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 20px;
  border: 1px solid rgba(255,140,50,0.5);
  border-radius: 999px;
  background: rgba(255,110,30,0.10);
  color: #ffd9a8;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ---------- eliminator body restyle ---------- */

.el-body { max-width: 1000px; margin: 0 auto; padding: 26px 20px 50px; }

.el-body .card {
  background: var(--panel);
  border-color: var(--border);
}

.el-body .status-alive { color: #ffb35c; }
.el-body .status-out { color: var(--text-dim); }

.el-body .rank-1 td:first-child { color: #ffb35c; }

.el-rules-card p { color: var(--text-dim); font-size: 14px; margin: 0 0 10px; }

.team-tile.el-alive-tile {
  box-shadow: 0 0 0 1px rgba(234,88,12,0.25);
}

.team-tile.used {
  position: relative;
  background: var(--panel-2) !important;
  color: #9aa1ab;
}

.team-tile.used::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: repeating-linear-gradient(
    115deg,
    transparent 0px, transparent 9px,
    rgba(18,21,26,0.10) 9px, rgba(18,21,26,0.10) 10px
  );
  pointer-events: none;
}

.team-tile.used .team-tag {
  background: rgba(255,140,50,0.16) !important;
  color: #ffb98a !important;
}

/* ---------- Eliminator: "who's still in it" status card ---------- */

.el-status-card h2 { margin-bottom: 16px; }

.el-alive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 10px;
}

.el-alive-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,140,50,0.16), rgba(255,90,20,0.05));
  border: 1px solid rgba(255,140,50,0.55);
  box-shadow: 0 0 22px rgba(255,110,30,0.25), inset 0 0 16px rgba(255,140,50,0.08);
  animation: alivePulse 2.6s ease-in-out infinite;
}

@keyframes alivePulse {
  0%, 100% { box-shadow: 0 0 22px rgba(255,110,30,0.25), inset 0 0 16px rgba(255,140,50,0.08); }
  50% { box-shadow: 0 0 32px rgba(255,140,50,0.4), inset 0 0 20px rgba(255,140,50,0.14); }
}

.el-flame { font-size: 26px; filter: drop-shadow(0 0 8px rgba(255,140,50,0.7)); }

.el-alive-name {
  font-size: 18px;
  font-weight: 900;
  color: #fff3e6;
  text-shadow: 0 0 12px rgba(255,150,60,0.5);
  letter-spacing: 0.3px;
}

.el-alive-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffb35c;
}

.el-notice-heading {
  margin: 22px 0 12px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffcf7a;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.el-notice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.el-notice-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(245,158,11,0.14);
  border: 1px solid rgba(245,158,11,0.5);
  color: #ffe1a3;
  font-size: 13px;
}

.el-notice-name {
  font-weight: 800;
  color: #ffe8bd;
}

.el-notice-tag {
  font-size: 11px;
  font-weight: 700;
  color: #ffcf7a;
}

.el-eliminated-heading {
  margin: 22px 0 12px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.el-eliminated-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.el-out-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}

.el-out-name {
  font-weight: 700;
  text-decoration: line-through;
  color: #8a94a3;
}

.el-out-tag {
  font-size: 11px;
  color: var(--text-dim);
}

/* ============================================================
   WHITE MODE — toggled via the header button, overrides the
   immersive stadium-photo theme on Pick'em / Eliminator only
   ============================================================ */

body.pk-page.theme-light {
  --bg: #ffffff;
  --panel: #f7f9fb;
  --panel-2: #f2f8f4;
  --border: #dbe8e0;
  --text: #12151a;
  --text-dim: #5b6472;
  --accent: #16a34a;

  --pk-bg: #ffffff;
  --pk-panel: #ffffff;
  --pk-panel-2: #f2f8f4;
  --pk-border: #dbe8e0;
  --pk-green: #16a34a;
  --pk-green-dim: rgba(22,163,74,0.10);
  --pk-cyan: #0891b2;
  --pk-text-dim: #5b6472;
}

body.el-page.theme-light {
  --bg: #ffffff;
  --panel: #f7f9fb;
  --panel-2: #f2f8f4;
  --border: #f0e2d6;
  --text: #12151a;
  --text-dim: #5b6472;
  --accent: #ea580c;
}

body.pk-page.theme-light::before,
body.el-page.theme-light::before { display: none; }

body.pk-page.theme-light,
body.el-page.theme-light { background: #ffffff; }

.theme-light .pk-photo-hero { display: none; }

.theme-light .el-hero {
  background:
    radial-gradient(ellipse 60% 80% at 50% 30%, rgba(234,88,12,0.09), transparent 70%),
    linear-gradient(180deg, #fffaf5 0%, #ffffff 60%, var(--bg) 100%);
}

.theme-light .el-hero h1 {
  background: linear-gradient(180deg, #ea580c 0%, #c2410c 55%, #9a3412 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none;
}

.theme-light .el-hero h2 { color: #7c2d12; }
.theme-light .el-kicker,
.theme-light .el-hero .el-tagline { color: #c2410c; }
.theme-light .el-week-badge { background: rgba(234,88,12,0.06); border-color: rgba(234,88,12,0.35); color: #9a3412; }

.theme-light .card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 4px 18px rgba(18,21,26,0.05);
}
.theme-light .card h2 { color: var(--text); }
.theme-light thead th { color: var(--text-dim); }

.theme-light select { background: #ffffff; color: var(--text); border-color: var(--border); }

.theme-light .pill-win { color: #15803d; }
.theme-light .pill-loss { color: #b91c1c; }
.theme-light .pick-cell.correct { color: #15803d; }
.theme-light .pick-cell.wrong { color: #b91c1c; }
.theme-light .banner { background: rgba(47,111,237,0.07); border-color: rgba(47,111,237,0.25); color: #1d4ed8; }
.theme-light .rank-1 td:first-child { color: #b8860b; }
.theme-light .rank-2 td:first-child { color: #6b7280; }
.theme-light .rank-3 td:first-child { color: #b06a2e; }

.theme-light .pk-tab { background: #ffffff; }
.theme-light .pk-game-row { background: #ffffff; }
.theme-light .pk-pane .rank-1 td:first-child,
.theme-light .pk-tables .rank-1 td:first-child { color: var(--pk-green); }
.theme-light .pk-game-row.wrong .pk-mypick-box { background: #dc2626; color: #fff5f5; border-color: #dc2626; }
.theme-light .pk-game-row.wrong .pk-points-cell { color: #dc2626; }
.theme-light .pk-card-head h1 { color: var(--text); }

.theme-light .el-body .status-alive { color: #c2410c; }
.theme-light .el-body .status-out { color: var(--text-dim); }
.theme-light .el-body .rank-1 td:first-child { color: #c2410c; }

.theme-light .team-tile.used {
  background: var(--panel-2) !important;
  color: #9aa1ab;
}
.theme-light .team-tile.used::after {
  background: repeating-linear-gradient(
    115deg,
    transparent 0px, transparent 9px,
    rgba(18,21,26,0.10) 9px, rgba(18,21,26,0.10) 10px
  );
}
.theme-light .team-tile.used .team-tag { background: rgba(234,88,12,0.14) !important; color: #9a3412 !important; }

.theme-light .el-alive-chip {
  background: linear-gradient(180deg, rgba(234,88,12,0.08), rgba(234,88,12,0.02));
  border-color: rgba(234,88,12,0.4);
  box-shadow: 0 4px 16px rgba(234,88,12,0.10);
  animation: none;
}
.theme-light .el-flame { filter: none; }
.theme-light .el-alive-name { color: #7c2d12; text-shadow: none; }
.theme-light .el-alive-tag { color: #c2410c; }

.theme-light .el-notice-heading { color: #92650a; }
.theme-light .el-notice-chip { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.45); color: #92650a; }
.theme-light .el-notice-name { color: #7a5205; }
.theme-light .el-notice-tag { color: #92650a; }

/* ============================================================
   WEEKLY PRINT SHEETS — schedule.html + week.html
   ============================================================ */

.week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}

.week-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.week-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
  border-color: rgba(47,111,237,0.45);
  box-shadow: 0 10px 26px rgba(18,21,26,0.08);
}

.week-card-num { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.week-card-meta { font-size: 12px; color: var(--text-dim); margin-bottom: 14px; }
.week-card .go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 13px; }
.week-card .arrow { transition: transform 0.15s ease; }
.week-card:hover .arrow { transform: translateX(4px); }

.back-link { display: inline-block; margin-bottom: 14px; font-weight: 600; font-size: 13px; }

.print-sheet-head .print-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ---- Print sheet: day-grouped checkbox layout ---- */

.ps-sheet { max-width: 720px; margin: 0 auto; }

.ps-title-wrap { text-align: center; margin-bottom: 6px; }

.ps-poster-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #12151a;
  -webkit-text-stroke: 1px #12151a;
  text-transform: uppercase;
  margin: 0 0 4px;
}
@supports not (-webkit-text-stroke: 1px #12151a) {
  .ps-poster-title { text-shadow: -0.5px -0.5px 0 #12151a, 0.5px -0.5px 0 #12151a, -0.5px 0.5px 0 #12151a, 0.5px 0.5px 0 #12151a; }
}

.ps-instructions { text-align: center; color: var(--text-dim); font-size: 13px; margin: 0 0 22px; }

.ps-day-block { margin-bottom: 18px; }

.ps-day-heading {
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fff;
  background: #12151a;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.ps-day-rows { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }

.ps-day-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.ps-day-row:last-child { border-bottom: none; }
.ps-day-row:nth-child(odd) { background: rgba(0,0,0,0.015); }

.ps-team {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}
.ps-team-away { justify-content: flex-end; text-align: right; }
.ps-team-home { justify-content: flex-start; text-align: left; }
.ps-team-away span { order: 1; }
.ps-team-away input { order: 2; }

.ps-check {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex: none;
}

.ps-vs { color: var(--text-dim); font-size: 12px; font-weight: 600; }

.ps-time { color: var(--text-dim); font-size: 12px; white-space: nowrap; }

.ps-pts {
  width: 64px;
  text-align: center;
}

.ps-input {
  border: none;
  border-bottom: 2px solid var(--border);
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  padding: 6px 2px;
}
.ps-input:focus { outline: none; border-bottom-color: var(--accent); }

select.ps-pts-select {
  appearance: auto;
  cursor: pointer;
  background: transparent;
}
select.ps-pts-select option:disabled { color: #b9b9b9; }

.ps-elim-block {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0,0,0,0.015);
}
.ps-elim-heading { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.ps-elim-hint { font-size: 12px; color: var(--text-dim); margin: 0 0 10px; }
.ps-elim-select { width: 100%; max-width: 320px; }

.ps-footer {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.ps-footer-field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 140px; }
.ps-footer-field label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); font-weight: 700; }

.ps-footer-top {
  margin-top: 0;
  margin-bottom: 18px;
  padding-top: 0;
  padding-bottom: 16px;
  border-top: none;
  border-bottom: 1px solid var(--border);
}
.ps-footer-top .ps-footer-field { max-width: 280px; }
.ps-footer-top select.ps-input { appearance: auto; cursor: pointer; }

.ps-brand {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin: 22px 0 0;
}

/* Netlify honeypot field — must stay in the DOM and be a real input for
   spam-bot detection to work, but should never be visible to a person. */
.ps-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ps-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.ps-submit-status { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.ps-submit-success { color: #1a8a4a; }
.ps-submit-error { color: #c0392b; }

@media (max-width: 560px) {
  .ps-poster-title { font-size: 24px; }
  .ps-day-row { grid-template-columns: 1fr auto 1fr; row-gap: 8px; }
  .ps-time, .ps-pts { grid-column: span 1; }
}

@media print {
  [data-no-print] { display: none !important; }
  body { background: #ffffff !important; }
  main { max-width: 100%; padding: 0; }
  .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .ps-input { border-bottom: 1px solid #999; }
  .ps-day-heading { background: #12151a !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a[href]::after { content: ""; }
}
