
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f7;
  color: #111827;
  line-height: 1.6;
}

.site-header {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.branding h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #111827;
}

.tagline {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-btn {
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, border-color 0.15s;
}

.nav-btn.active {
  background: #22c55e;
  color: #052e16;
  border-color: #22c55e;
  font-weight: 600;
}

.nav-btn:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.25rem 3.5rem;
}

.sidebar {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #111827;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.filter-group label {
  color: #374151;
}

.filter-group select {
  padding: 0.35rem 0.45rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  font-size: 0.85rem;
}

.sidebar-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  border-top: 1px dashed #e5e7eb;
  padding-top: 0.5rem;
}

.content {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem 1.5rem;
  border: 1px solid #e5e7eb;
  min-height: 60vh;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.section-header h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #111827;
}

.section-intro {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.controls-row {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.control {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.control label {
  color: #374151;
}

.control select {
  margin-top: 0.15rem;
  padding: 0.3rem 0.45rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  font-size: 0.85rem;
}

.card-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.75rem;
}

.matchup-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.matchup-card:hover {
  border-color: #22c55e;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
}

.matchup-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.matchup-header h3 {
  margin: 0;
  font-size: 1rem;
  color: #111827;
}

.kickoff {
  font-size: 0.8rem;
  color: #6b7280;
}

.matchup-meta {
  font-size: 0.8rem;
  color: #047857;
}

.matchup-notes {
  font-size: 0.8rem;
  color: #374151;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  border: 1px solid #9ca3af;
  margin-left: 0.3rem;
  color: #374151;
}

.sample-stats {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed #e5e7eb;
}

.sample-stats h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: #111827;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.stats-card {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
}

.stats-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #111827;
}

.stats-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: #374151;
}

.game-detail {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed #e5e7eb;
}

.game-detail h3 {
  margin-top: 0;
  font-size: 1.05rem;
  color: #111827;
}

.game-detail-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}

.game-panel {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
}

.game-panel h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: #111827;
}

.small-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0 0 0.4rem;
}

.scoreboard {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.team-col {
  flex: 1;
  text-align: center;
}

.team-name {
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
  color: #374151;
}

.team-score {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.mini-table th,
.mini-table td {
  padding: 0.3rem 0.4rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  color: #111827;
}

.mini-table thead {
  background: #f3f4f6;
}

.game-panel-lines {
  border-color: #bbf7d0;
  background: #ecfdf3;
}

.tiny-disclaimer {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: #047857;
}

.table-wrapper {
  margin-top: 0.9rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

thead {
  background: #f3f4f6;
}

th,
td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  color: #111827;
}

th {
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background: #f9fafb;
}

.status-out {
  color: #b91c1c;
  font-weight: 600;
}

.status-questionable {
  color: #b45309;
  font-weight: 600;
}

.status-probable {
  color: #15803d;
  font-weight: 600;
}

.practice-dnp {
  color: #b91c1c;
}

.practice-limited {
  color: #d97706;
}

.practice-full {
  color: #15803d;
}

.teams-grid,
.offseason-grid,
.remembrance-grid,
.legal-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}

.teams-card,
.off-card,
.rem-card,
.legal-card {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
}

.teams-card h3,
.off-card h3,
.rem-card h3,
.legal-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  color: #111827;
}

.teams-card ul,
.off-card ul,
.legal-card ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: #374151;
}

.rem-card p,
.off-card p {
  font-size: 0.85rem;
  color: #374151;
}

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1rem 1.25rem 2rem;
  font-size: 0.8rem;
  background: #f3f4f6;
  color: #4b5563;
}

.site-footer p {
  margin: 0.25rem 0;
}

.responsible-gaming {
  margin-top: 0.4rem;
  color: #b45309;
}

.disclaimer {
  color: #374151;
}

@media (max-width: 840px) {
  .page {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    order: -1;
  }
}


/* === PFH Functional Build (Scores/Standings/News) === */
.site-header { padding: 18px 16px 10px; }
.branding h1 { margin: 0; }
.tagline { margin: 6px 0 0; opacity: 0.85; }

.top-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.nav-btn { border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: inherit; padding: 10px 14px; border-radius: 14px; cursor: pointer; }
.nav-btn.active { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.12); }

.site-main { padding: 12px 16px 24px; }
.content-section { display: none; }
.content-section.active { display: block; }

.controls-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.control label { display: block; font-weight: 650; margin-bottom: 6px; }
.control select, .control input { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.15); background: rgba(0,0,0,0.15); color: inherit; }
.muted { opacity: 0.85; font-size: 0.92rem; }

.feed-status { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.06); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.matchup-card { padding: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); cursor: pointer; }
.matchup-top { display: flex; flex-direction: column; gap: 10px; }
.team-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; }
.team-badge { width: 24px; height: 24px; object-fit: contain; }
.team-name { font-weight: 700; }
.team-score { font-weight: 900; font-size: 1.15rem; }

.matchup-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; opacity: 0.9; margin-top: 10px; }

.detail-panel { margin-top: 16px; padding: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.detail-panel h3 { margin: 0 0 10px; }
#game-detail .game-meta { display: grid; gap: 6px; }
#game-detail .game-body { margin-top: 10px; }

.standings-wrap { margin-top: 14px; padding: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.standings-table { width: 100%; border-collapse: collapse; }
.standings-table th, .standings-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.team-cell { display: flex; gap: 10px; align-items: center; }

.updates-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.update-item { padding: 14px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); }
.update-link { font-weight: 800; text-decoration: none; }
.update-link:hover { text-decoration: underline; }
.update-meta { font-size: 0.86rem; opacity: 0.85; margin-top: 6px; }
.update-desc { margin-top: 8px; opacity: 0.95; }

.site-footer { padding: 16px; border-top: 1px solid rgba(255,255,255,0.10); }

@media (max-width: 720px) {
  .hide-sm { display: none; }
}


.support-link { display:inline-flex; align-items:center; justify-content:center; padding:0.55rem 0.9rem; border-radius:999px; text-decoration:none; font-weight:700; background:#111827; color:#fff; border:1px solid #111827; }
.support-link:hover,.support-btn:hover,.inline-support:hover { opacity:0.92; }
.support-callout { margin-top:1rem; }
.support-btn,.inline-support { display:inline-flex; align-items:center; justify-content:center; padding:0.7rem 1rem; border-radius:12px; text-decoration:none; font-weight:700; background:#111827; color:#fff; border:1px solid #111827; }
.team-row { display:grid; grid-template-columns: 28px 1fr auto; align-items:center; gap:0.55rem; }
.team-badge { width:24px; height:24px; object-fit:contain; }
.team-cell { display:flex; align-items:center; gap:0.55rem; }
.detail-panel { margin-top:1rem; background:#fff; border:1px solid #e5e7eb; border-radius:0.75rem; padding:1rem; }
.game-meta { display:grid; gap:0.35rem; margin-bottom:0.75rem; }
.empty-state { padding:1rem; background:#fff; border:1px dashed #d1d5db; border-radius:0.75rem; color:#4b5563; }
.updates-list { list-style:none; padding:0; margin:1rem 0 0; display:grid; gap:0.85rem; }
.update-item { background:#fff; border:1px solid #e5e7eb; border-radius:0.75rem; padding:0.9rem; }
.update-link { color:#111827; font-weight:700; text-decoration:none; }
.update-link:hover { text-decoration:underline; }
.update-meta { margin-top:0.35rem; font-size:0.85rem; color:#6b7280; }
.update-desc { margin-top:0.45rem; color:#374151; }
@media (max-width: 640px) { .support-link { width:100%; } .top-nav { width:100%; } }



:root {
  --pfh-bg: #091016;
  --pfh-surface: #101922;
  --pfh-surface-2: #152230;
  --pfh-border: rgba(255,255,255,0.08);
  --pfh-text: #f5f7fb;
  --pfh-muted: #b9c2cf;
  --pfh-accent: #1db954;
  --pfh-accent-2: #ff8a00;
  --pfh-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

body {
  background:
    radial-gradient(circle at top left, rgba(255,138,0,0.14), transparent 22%),
    radial-gradient(circle at top right, rgba(29,185,84,0.18), transparent 24%),
    linear-gradient(180deg, #081018 0%, #0c141d 100%);
  color: var(--pfh-text);
}

.site-header {
  padding: 1.4rem 1.2rem 1rem;
  background: transparent;
  border-bottom: none;
  gap: 1rem;
}

.branding-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.branding,
.hero-side-card,
.content-section,
.site-footer {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--pfh-border);
  box-shadow: var(--pfh-shadow);
}

.branding {
  border-radius: 1.25rem;
  padding: 1.6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.branding::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,138,0,0.18), transparent 62%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: #ffd089;
}

.branding h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.tagline {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  max-width: 62ch;
  color: var(--pfh-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.hero-btn {
  padding: 0.8rem 1rem;
  border-radius: 0.95rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-support {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}

.hero-side-card {
  border-radius: 1.25rem;
  padding: 1.35rem 1.2rem;
}

.hero-side-card h2 {
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-size: 1.2rem;
}

.hero-side-card p {
  margin: 0;
  color: var(--pfh-muted);
}

.hero-bullets {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #edf1f7;
}

.hero-bullets li + li {
  margin-top: 0.5rem;
}

.top-nav {
  gap: 0.65rem;
  padding: 0 0.15rem;
}

.nav-btn {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #dce5f2;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.nav-btn.active {
  background: linear-gradient(180deg, rgba(29,185,84,0.95), rgba(19,145,64,0.95));
  color: #04150a;
  border-color: rgba(29,185,84,0.95);
}

.nav-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}

.support-link,
.support-btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  background: linear-gradient(180deg, #ff9a27, #ea7600);
  color: #1f1200;
  font-weight: 700;
  border: 1px solid rgba(255,154,39,0.9);
  box-shadow: 0 4px 14px rgba(234,118,0,0.25);
}

.homepage-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0 1.35rem 1rem;
}

.feature-tile {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--pfh-border);
  border-radius: 1rem;
  padding: 1rem 1rem 0.95rem;
  box-shadow: var(--pfh-shadow);
}

.feature-tile h3 {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-size: 1.05rem;
}

.feature-tile p {
  margin: 0;
  color: var(--pfh-muted);
}

.site-main {
  padding: 0 1.2rem 1.75rem;
}

.content-section {
  border-radius: 1.15rem;
  padding: 1.15rem 1.15rem 1.3rem;
  margin-bottom: 1rem;
}

.section-header h2,
.matchup-header h3,
.sample-stats h3,
.site-footer p {
  color: #ffffff;
}

.section-intro,
.muted,
.kickoff,
.matchup-notes,
.control label,
.control small,
#updates-source {
  color: var(--pfh-muted);
}

.control select,
#scores-date,
#team-search {
  margin-top: 0.15rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(4,10,17,0.8);
  color: #f5f7fb;
  font-size: 0.9rem;
}

.feed-status {
  margin-top: 0.85rem;
  color: #d8e3ee;
}

.matchup-card,
.detail-panel,
.standings-wrap,
.support-callout {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--pfh-border);
  border-radius: 1rem;
}

.matchup-card {
  padding: 0.9rem 0.95rem;
}

.matchup-card:hover {
  border-color: rgba(29,185,84,0.95);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.matchup-header h3,
.team-name,
.team-score,
.meta-status {
  color: #ffffff;
}

.matchup-meta {
  color: #bdeccf;
}

.standings-table {
  background: transparent;
  color: #eef2f8;
}

.standings-table th,
.standings-table td {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.updates-list li,
.updates-list a {
  color: #f3f6fb;
}

.site-footer {
  margin: 0 1.2rem 1.25rem;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
}

@media (max-width: 900px) {
  .branding-shell,
  .homepage-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-main,
  .homepage-strip,
  .site-footer {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .branding {
    padding: 1.25rem 1rem;
  }

  .hero-btn,
  .support-link,
  .support-btn {
    width: 100%;
    justify-content: center;
  }
}


.hero-wrap {
  position: relative;
  background: url('hero.jpg') center/cover no-repeat;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.65);
  padding: 40px 20px;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 42px;
  margin-bottom: 10px;
  color: #ffffff;
}

.hero-overlay p {
  font-size: 18px;
  color: #dddddd;
  margin-bottom: 20px;
}



/* PFH light homepage adjustment */
body {
  background: #e9edf2 !important;
  color: #111 !important;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.35) !important;
}

.content-section,
.feature-tile,
.site-footer,
.matchup-card,
.detail-panel,
.standings-wrap,
.support-callout,
.branding,
.hero-side-card {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08) !important;
}

.section-header h2,
.matchup-header h3,
.sample-stats h3,
.site-footer p,
.feature-tile h3,
.hero-side-card h2,
.team-name,
.team-score,
.meta-status {
  color: #111 !important;
}

.section-intro,
.muted,
.kickoff,
.matchup-notes,
.control label,
.control small,
#updates-source,
.feature-tile p,
.tagline,
.hero-side-card p,
.feed-status {
  color: #4b5563 !important;
}

.control select,
#scores-date,
#team-search {
  background: #f8fafc !important;
  color: #111 !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
}

.standings-table {
  color: #111 !important;
}

.standings-table th,
.standings-table td {
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

.updates-list li,
.updates-list a,
#updates-list a {
  color: #111 !important;
}

#updates-list a,
.update-link,
.updates-list a {
  position: relative !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
  display: inline !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  -webkit-tap-highlight-color: rgba(0,0,0,0.12);
}

.updates-list li,
.update-item,
#updates-list li {
  position: relative !important;
  z-index: 1 !important;
}

#updates-list,
.updates-list {
  position: relative !important;
  z-index: 2 !important;
}

@media (max-width: 720px) {
  .hero-overlay {
    padding: 28px 16px !important;
  }
  .hero-overlay h1 {
    font-size: 32px !important;
  }
  .hero-overlay p {
    font-size: 16px !important;
  }
}


/* PFH nav/news/hero cleanup */
.top-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.65rem !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.top-nav .nav-btn,
.top-nav .support-link {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.top-nav .nav-btn {
  color: #111 !important;
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.14) !important;
}

.top-nav .nav-btn.active {
  background: linear-gradient(180deg, rgba(29,185,84,0.95), rgba(19,145,64,0.95)) !important;
  color: #04150a !important;
  border-color: rgba(29,185,84,0.95) !important;
}

.site-header {
  padding: 0.9rem 1rem 0.6rem !important;
}

.hero-wrap {
  margin-top: 0.2rem !important;
}

.hero-overlay {
  padding: 22px 18px !important;
}

.hero-overlay h1 {
  margin-bottom: 6px !important;
}

.hero-overlay p {
  margin-bottom: 12px !important;
  max-width: 52ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.35 !important;
}

.hero-actions {
  margin-top: 0.7rem !important;
}

@media (max-width: 720px) {
  .hero-overlay {
    padding: 18px 14px !important;
  }
  .hero-overlay h1 {
    font-size: 28px !important;
  }
  .hero-overlay p {
    font-size: 15px !important;
    margin-bottom: 10px !important;
  }
  .top-nav {
    gap: 0.45rem !important;
  }
}


/* PFH bullet visibility fix */
.hero-bullets {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #ffffff !important;
  font-weight: 500;
}

.hero-bullets li {
  color: #ffffff !important;
  opacity: 0.95;
}

.hero-bullets li::marker {
  color: #ff8a00;
}


/* FIX bullet rendering issue */
.hero-bullets {
  list-style: disc !important;
  padding-left: 1.5rem !important;
}

.hero-bullets li {
  display: list-item !important;
}


/* Remove Game Day Focus layout gap */
.branding-shell {
  grid-template-columns: 1fr !important;
}
.hero-side-card {
  display: none !important;
}

/* === PFH Game Lines & Trends Preview === */
.feature-tile-strong {
  border-color: rgba(34, 197, 94, 0.45) !important;
  background: linear-gradient(135deg, rgba(5, 46, 22, 0.95), rgba(17, 24, 39, 0.92)) !important;
  color: #f9fafb !important;
}
.feature-tile-strong p,
.feature-tile-strong h3 { color: #f9fafb !important; }
.tile-kicker,
.eyebrow,
.trend-label {
  display: inline-flex;
  width: fit-content;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
  color: #bbf7d0;
}
.tile-action {
  margin-top: 10px;
  background: #22c55e !important;
  color: #052e16 !important;
  border-color: #22c55e !important;
  font-weight: 800;
}
.lines-section {
  border-radius: 22px;
}
.lines-hero {
  padding: 22px;
  border-radius: 22px;
  background: radial-gradient(circle at top left, rgba(34,197,94,.18), transparent 32%), linear-gradient(135deg, #07140d, #111827 60%, #1f2937);
  color: #f9fafb;
  border: 1px solid rgba(34,197,94,.28);
  box-shadow: 0 16px 40px rgba(15,23,42,.18);
}
.lines-hero h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin-top: 8px;
}
.lines-hero .section-intro,
.lines-hero .tiny-disclaimer { color: rgba(249,250,251,.86); }
.lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.lines-card {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lines-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
  color: #111827;
}
.lines-card p {
  margin: 0;
  color: #374151;
  font-size: .94rem;
}
.lines-card a {
  margin-top: auto;
  font-weight: 800;
  color: #047857;
  text-decoration: none;
}
.lines-card a:hover { text-decoration: underline; }
.heat-card { border-top: 5px solid #22c55e; }
.watch-card { border-top: 5px solid #f59e0b; }
.cool-card { border-top: 5px solid #64748b; }
.watch-card .trend-label { color: #92400e; }
.cool-card .trend-label { color: #475569; }
.heat-card .trend-label { color: #047857; }
.trend-board {
  margin-top: 20px;
  padding: 18px;
  border-radius: 20px;
  border: 1px dashed rgba(34,197,94,.45);
  background: #f8fafc;
}
.trend-board h3 { margin-top: 0; }
.quick-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.quick-board-grid div {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  font-size: .92rem;
}
@media (max-width: 700px) {
  .lines-hero, .lines-card, .trend-board { border-radius: 16px; padding: 16px; }
  .lines-card { min-height: auto; }
}

/* === PFH contrast repair: Game Lines & Trends labels/buttons === */
.lines-hero .eyebrow,
.lines-section .lines-hero .eyebrow,
.lines-standalone .lines-hero .eyebrow {
  background: #bbf7d0 !important;
  color: #052e16 !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18) !important;
}

.lines-hero h2,
.lines-hero .section-intro,
.lines-hero .tiny-disclaimer {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35) !important;
}

.site-crosslinks-plain {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 14px !important;
  padding: 24px 16px 32px !important;
  background: #07111f !important;
}

.crosslink-pill,
.crosslink-pill:visited,
.crosslink-pill.secondary,
.crosslink-pill.secondary:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 12px 24px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}

.crosslink-pill {
  background: #020617 !important;
  color: #ffffff !important;
  border: 2px solid #f97316 !important;
}

.crosslink-pill.secondary {
  background: #f97316 !important;
  color: #ffffff !important;
  border: 2px solid #fed7aa !important;
}

.crosslink-pill:hover,
.crosslink-pill.secondary:hover {
  opacity: .94 !important;
  transform: translateY(-1px);
}

/* === PFH self-contained Game Lines polish === */
.lines-card .source-note {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: .82rem;
  font-weight: 800;
}
.lines-hero .curation-note {
  margin-top: 12px;
  max-width: 860px;
  color: #ecfdf5 !important;
  font-size: .95rem;
  line-height: 1.55;
}
