:root {
  --bg: #061219;
  --bg-2: #091b25;
  --card: rgba(255, 255, 255, 0.065);
  --card-strong: rgba(255, 255, 255, 0.095);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f3f7f5;
  --muted: #aebfbd;
  --muted-2: #7f9794;
  --accent: #5df2ad;
  --accent-2: #7aa7ff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --light-panel: #f6f8f7;
  --light-card: #ffffff;
  --light-text: #102019;
  --light-muted: #5b6b64;
  --light-line: #dfe6e2;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(93, 242, 173, 0.17), transparent 27rem),
    radial-gradient(circle at 84% 6%, rgba(122, 167, 255, 0.14), transparent 30rem),
    linear-gradient(135deg, #061219 0%, #071822 48%, #040b10 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 80%);
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }

.page-width { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  left: 14px;
  top: -100px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #06140f;
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(5, 16, 22, 0.88);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1320px, calc(100% - 28px));
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  color: var(--text);
  font-weight: 780;
  letter-spacing: -0.025em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(93, 242, 173, 0.42);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(93, 242, 173, 0.18), rgba(122, 167, 255, 0.10));
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 0 34px rgba(93, 242, 173, 0.08);
}
.brand-name { font-size: 1rem; }
.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  color: #dce8e5;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 730;
  white-space: nowrap;
  cursor: pointer;
}
.nav-link:hover,
.nav-trigger:hover,
.nav-trigger:focus-visible,
.nav-link:focus-visible { background: rgba(255,255,255,0.065); outline: none; }
.chevron { margin-left: 5px; color: var(--muted-2); font-size: 0.85em; }
.nav-item { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: rgba(7, 23, 31, 0.98);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 150ms ease;
}
.dropdown-menu-right { left: auto; right: 0; }
.dropdown-menu a {
  display: block;
  padding: 10px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible { background: rgba(255,255,255,0.07); color: var(--text); outline: none; }
.dropdown-menu .dropdown-all { margin-top: 4px; border-top: 1px solid rgba(255,255,255,0.10); border-radius: 0 0 9px 9px; color: var(--accent); font-weight: 750; }
.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu,
.has-dropdown.is-open > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.x-follow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  margin-left: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(93, 242, 173, 0.32);
  border-radius: 999px;
  background: rgba(93, 242, 173, 0.08);
  color: var(--text);
  font-size: 0.87rem;
  font-weight: 800;
}
.x-follow:hover,
.x-follow:focus-visible { border-color: rgba(93, 242, 173, 0.60); background: rgba(93, 242, 173, 0.14); color: var(--accent); outline: none; }
.menu-toggle { display: none; }

/* Hero */
.hero-shell { padding: 62px 0 38px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 64px;
  align-items: end;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-brand-block h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.hero-copy-block { padding-bottom: 4px; }
.hero-lead {
  margin: 0;
  max-width: 720px;
  color: #dce8e5;
  font-size: clamp(1.06rem, 1.9vw, 1.28rem);
  line-height: 1.65;
}
.hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.text-link { color: var(--accent); font-weight: 800; }
.text-link:hover { text-decoration: underline; }
.model-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Main light product panel */
.main-product-section { padding: 24px 0 34px; }
.product-panel {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: var(--radius-xl);
  background: var(--light-panel);
  color: var(--light-text);
  box-shadow: 0 30px 100px rgba(0,0,0,0.42), 0 0 0 1px rgba(93,242,173,0.06);
}
.product-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 30px 24px;
  border-bottom: 1px solid var(--light-line);
}
.product-eyebrow {
  margin: 0 0 8px;
  color: #1a7f58;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.product-panel h2 { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.45rem); line-height: 1.05; letter-spacing: -0.045em; }
.product-subtitle { margin: 10px 0 0; max-width: 760px; color: var(--light-muted); font-size: 1.02rem; line-height: 1.58; }
.freshness-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid #d8e5de;
  border-radius: 999px;
  background: #fff;
  color: #53645c;
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}
.freshness-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb377; box-shadow: 0 0 0 4px rgba(47,179,119,0.12); }
.product-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 30px;
  border-bottom: 1px solid var(--light-line);
  background: rgba(255,255,255,0.66);
}
.segmented-control { display: inline-flex; padding: 3px; border: 1px solid var(--light-line); border-radius: 10px; background: #eef2f0; }
.segment {
  min-height: 34px;
  padding: 6px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #617067;
  font-weight: 800;
  cursor: pointer;
}
.segment.is-active { background: #102019; color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,0.11); }
.filter-group { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.search-control,
.filter-button {
  min-height: 38px;
  border: 1px solid #d7dfdb;
  border-radius: 9px;
  background: #fff;
  color: #47574f;
}
.search-control { display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; }
.search-control input { width: 145px; border: 0; outline: 0; background: transparent; color: #47574f; }
.search-control input::placeholder { color: #85918b; }
.filter-button { padding: 7px 11px; font-size: 0.84rem; font-weight: 750; }
.filter-button:disabled, .search-control input:disabled { opacity: 1; }
.table-wrap { width: 100%; overflow-x: auto; background: var(--light-card); -webkit-overflow-scrolling: touch; }
.projection-table { width: 100%; min-width: 780px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.projection-table th,
.projection-table td { padding: 15px 18px; border-bottom: 1px solid #edf0ee; text-align: left; vertical-align: middle; }
.projection-table thead th {
  background: #f9faf9;
  color: #66746d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}
.projection-table tbody tr:hover { background: #fbfcfb; }
.projection-table tbody tr:last-child td { border-bottom: 0; }
.rank { color: #89958f; font-weight: 850; }
.player-meta { display: block; margin-top: 3px; color: #7b8982; font-size: 0.78rem; }
.metric-highlight { background: rgba(93,242,173,0.075) !important; }
.metric-strong { color: #0c714c; font-size: 1.03rem; font-weight: 900; }
.heat { display: inline-flex; min-width: 48px; justify-content: center; padding: 5px 7px; border-radius: 7px; font-size: 0.78rem; font-weight: 850; }
.heat-high { background: #dcf5e8; color: #176c4b; }
.heat-mid { background: #edf2dd; color: #5a6826; }
.heat-low { background: #f5ece6; color: #815239; }
.product-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 30px;
  border-top: 1px solid var(--light-line);
  background: #f9faf9;
}
.product-panel-foot p { margin: 0; color: var(--light-muted); font-size: 0.84rem; line-height: 1.45; }
.product-panel-foot a { flex: 0 0 auto; color: #126846; font-weight: 850; font-size: 0.9rem; }
.product-panel-foot a:hover { text-decoration: underline; }

/* Interchangeable dark panels */
.flexible-grid {
  padding: 28px 0 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.dark-panel,
.wide-dark-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.085), rgba(255,255,255,0.038));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.dark-panel {
  min-height: 285px;
  padding: 24px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.panel-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.slot-tag {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  color: var(--muted-2);
  background: rgba(255,255,255,0.035);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dark-panel h2 { margin: 13px 0 11px; font-size: clamp(1.35rem, 2.3vw, 1.8rem); line-height: 1.08; letter-spacing: -0.035em; }
.dark-panel p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 1.03rem; line-height: 1.68; }
.panel-link { margin-top: auto; padding-top: 22px; color: var(--accent); font-weight: 800; }
.panel-link:hover { text-decoration: underline; }

/* Wide lower panel */
.wide-slot-section { padding: 10px 0 58px; }
.wide-dark-panel {
  min-height: 220px;
  padding: 30px;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 44px;
  align-items: center;
}
.wide-copy h2 { margin: 0; font-size: clamp(1.8rem, 3.8vw, 3rem); line-height: 1.02; letter-spacing: -0.05em; }
.wide-copy p:not(.eyebrow) { margin: 13px 0 0; max-width: 720px; color: var(--muted); font-size: 1.05rem; line-height: 1.66; }
.signup-form { display: flex; gap: 9px; }
.signup-form label { flex: 1; }
.signup-form input {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  background: rgba(3,10,14,0.70);
  color: var(--text);
  outline: none;
}
.signup-form input:focus { border-color: rgba(93,242,173,0.55); box-shadow: 0 0 0 3px rgba(93,242,173,0.10); }
.signup-form button {
  min-height: 50px;
  padding: 11px 17px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #04120d;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(93,242,173,0.16);
}

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.10); background: rgba(2,8,12,0.34); }
.footer-grid { padding: 38px 0 28px; display: grid; grid-template-columns: 1fr 1.8fr; gap: 52px; }
.footer-brand p { max-width: 390px; margin: 14px 0 0; color: var(--muted-2); font-size: 0.9rem; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.footer-links h3 { margin: 0 0 12px; color: #dbe7e3; font-size: 0.82rem; }
.footer-links a { display: block; margin-top: 8px; color: var(--muted-2); font-size: 0.84rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding: 17px 0 25px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #667d78;
  font-size: 0.78rem;
}
.footer-bottom p { margin: 0; }

/* Tablet */
@media (max-width: 1120px) {
  .brand-name { display: none; }
  .nav-link, .nav-trigger { padding-inline: 8px; font-size: 0.82rem; }
  .x-follow { font-size: 0.82rem; }
  .hero-grid { gap: 36px; }
  .product-controls { align-items: flex-start; }
  .filter-group { max-width: 600px; }
}

@media (max-width: 900px) {
  .page-width { width: min(100% - 30px, 1240px); }
  .header-inner { min-height: 66px; }
  .brand-name { display: inline; }
  .menu-toggle {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255,255,255,0.045);
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
  }
  .menu-icon { width: 18px; display: grid; gap: 4px; }
  .menu-icon span { display: block; height: 2px; border-radius: 99px; background: currentColor; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 10px 15px 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background: rgba(5,16,22,0.985);
    box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  }
  .site-header.menu-open .primary-nav { display: flex; }
  .nav-link, .nav-trigger, .x-follow { width: 100%; justify-content: space-between; min-height: 44px; padding: 10px 11px; border-radius: 10px; font-size: 0.9rem; }
  .nav-home { display: none; }
  .x-follow { margin-left: 0; margin-top: 5px; width: fit-content; justify-content: flex-start; }
  .dropdown-menu,
  .dropdown-menu-right {
    position: static;
    width: auto;
    margin: 0 0 4px 12px;
    padding: 4px 0 7px 10px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .has-dropdown.is-open > .dropdown-menu { display: block; }
  .has-dropdown:hover > .dropdown-menu:not(.force-closed),
  .has-dropdown:focus-within > .dropdown-menu:not(.force-closed) { display: none; }
  .has-dropdown.is-open > .dropdown-menu { display: block !important; }
  .dropdown-menu a { padding: 9px 10px; }

  .hero-shell { padding-top: 46px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .hero-brand-block h1 { max-width: 680px; }
  .hero-copy-block { max-width: 700px; }

  .product-panel-head { flex-direction: column; }
  .product-controls { flex-direction: column; }
  .filter-group { justify-content: flex-start; }
  .flexible-grid { grid-template-columns: 1fr; }
  .dark-panel { min-height: 220px; }
  .wide-dark-panel { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .page-width { width: min(100% - 24px, 1240px); }
  .header-inner { width: min(100% - 20px, 1320px); }
  .brand-name { display: none; }
  .menu-toggle-label { display: none; }
  .hero-shell { padding: 34px 0 20px; }
  .hero-brand-block h1 { font-size: clamp(2.15rem, 12vw, 3.25rem); }
  .hero-lead { font-size: 1.06rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .main-product-section { padding-top: 18px; }
  .product-panel { border-radius: 20px; }
  .product-panel-head { padding: 22px 18px 18px; }
  .product-panel h2 { font-size: 1.68rem; }
  .product-subtitle { font-size: 1rem; }
  .product-controls { padding: 13px 18px; }
  .filter-group { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .search-control { min-width: 155px; }
  .filter-button { white-space: nowrap; }
  .projection-table th,
  .projection-table td { padding: 13px 14px; }
  .product-panel-foot { align-items: flex-start; flex-direction: column; padding: 16px 18px; }
  .flexible-grid { padding-top: 20px; }
  .dark-panel { padding: 20px; }
  .wide-slot-section { padding-bottom: 40px; }
  .wide-dark-panel { padding: 22px 20px; border-radius: 20px; }
  .signup-form { flex-direction: column; }
  .footer-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-bottom { flex-direction: column; }
}

/* === Homepage Mockup v2 refinement overrides === */
.page-width { width: min(1420px, calc(100% - 64px)); }

/* Larger, more valuable global navigation */
.header-inner {
  width: min(1480px, calc(100% - 40px));
  min-height: 86px;
  gap: 24px;
}
.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  font-size: 0.86rem;
}
.primary-nav { gap: 6px; }
.nav-link,
.nav-trigger {
  min-height: 48px;
  padding: 10px 14px;
  font-size: 0.98rem;
}
.dropdown-menu { width: 290px; padding: 9px; }
.dropdown-menu a { padding: 11px 12px; font-size: 0.95rem; }
.x-follow {
  min-height: 46px;
  padding: 9px 15px;
  font-size: 0.95rem;
}

/* Reworked hero lockup */
.hero-shell { padding: 58px 0 26px; }
.hero-grid {
  grid-template-columns: minmax(410px, 0.94fr) minmax(430px, 1.06fr);
  gap: 76px;
  align-items: center;
}
.hero-brand-lockup {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-brand-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(93, 242, 173, 0.50);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(93, 242, 173, 0.20), rgba(122, 167, 255, 0.11));
  color: var(--accent);
  box-shadow: 0 0 56px rgba(93, 242, 173, 0.10);
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -0.035em;
}
.hero-brand-words {
  display: grid;
  gap: 1px;
  color: var(--text);
  font-size: clamp(2.0rem, 3vw, 3.05rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.hero-copy-block h1 {
  margin: 0 0 18px;
  max-width: 720px;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.hero-lead {
  max-width: 760px;
  font-size: clamp(1.08rem, 1.55vw, 1.24rem);
  line-height: 1.62;
}
.model-callout {
  min-height: 66px;
  margin-top: 10px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.model-callout-label {
  color: var(--text);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 850;
  letter-spacing: -0.015em;
}
.model-callout-link {
  color: var(--accent);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  font-weight: 850;
}
.model-callout-link:hover { text-decoration: underline; }

/* Give the product more physical presence */
.main-product-section { padding-top: 24px; padding-bottom: 36px; }
.product-panel-head { padding: 34px 36px 27px; }
.product-controls { padding: 18px 36px; }
.projection-table { min-width: 980px; }
.projection-table th,
.projection-table td { padding: 17px 20px; }
.product-panel-foot { padding: 20px 36px; }

/* Bring supporting panels into the same wider grid */
.flexible-grid { gap: 20px; }
.dark-panel { min-height: 300px; padding: 27px; }
.wide-dark-panel { padding: 34px; }

/* Full footer navigation, intentionally compact */
.footer-grid { grid-template-columns: 0.78fr 2.22fr; gap: 48px; }
.footer-links { grid-template-columns: 1.3fr 1fr 1.25fr 0.8fr 0.75fr; gap: 24px; }
.footer-links h3 { font-size: 0.8rem; }
.footer-links a { margin-top: 7px; font-size: 0.80rem; line-height: 1.32; }

@media (max-width: 1180px) {
  .header-inner { min-height: 78px; }
  .menu-toggle {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255,255,255,0.045);
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
  }
  .menu-icon { width: 18px; display: grid; gap: 4px; }
  .menu-icon span { display: block; height: 2px; border-radius: 99px; background: currentColor; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    padding: 12px 20px 20px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background: rgba(5,16,22,0.985);
    box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  }
  .site-header.menu-open .primary-nav { display: flex; }
  .nav-link, .nav-trigger, .x-follow { width: 100%; justify-content: space-between; min-height: 46px; padding: 10px 12px; border-radius: 10px; font-size: 0.96rem; }
  .nav-home { display: none; }
  .x-follow { margin-left: 0; margin-top: 5px; width: fit-content; justify-content: flex-start; }
  .dropdown-menu,
  .dropdown-menu-right {
    position: static;
    width: auto;
    margin: 0 0 4px 12px;
    padding: 4px 0 7px 10px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,0.12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .has-dropdown.is-open > .dropdown-menu { display: block !important; }
  .has-dropdown:hover > .dropdown-menu:not(.force-closed),
  .has-dropdown:focus-within > .dropdown-menu:not(.force-closed) { display: none; }
  .hero-grid { gap: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .page-width { width: min(100% - 34px, 1420px); }
  .hero-shell { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-brand-mark { width: 100px; height: 100px; border-radius: 26px; }
  .hero-brand-words { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-copy-block h1 { max-width: 760px; }
  .model-callout { flex-direction: column; gap: 6px; padding: 14px 0; }
  .footer-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .page-width { width: min(100% - 24px, 1420px); }
  .header-inner { width: min(100% - 20px, 1480px); min-height: 70px; }
  .brand-mark { width: 46px; height: 46px; }
  .hero-shell { padding-top: 30px; }
  .hero-brand-lockup { gap: 16px; }
  .hero-brand-mark { width: 82px; height: 82px; border-radius: 22px; font-size: 1.08rem; }
  .hero-brand-words { font-size: clamp(1.72rem, 9vw, 2.35rem); }
  .hero-copy-block h1 { margin-bottom: 14px; font-size: clamp(1.9rem, 9vw, 2.65rem); }
  .model-callout { margin-top: 4px; }
  .product-panel-head { padding: 24px 18px 19px; }
  .product-controls { padding: 14px 18px; }
  .projection-table { min-width: 900px; }
  .projection-table th,
  .projection-table td { padding: 14px 14px; }
  .product-panel-foot { padding: 17px 18px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* === Homepage Mockup v3 hero/header refinement === */
.page-width { width: min(1460px, calc(100% - 64px)); }

.header-inner {
  width: min(1520px, calc(100% - 36px));
  min-height: 96px;
  gap: 14px;
}
.brand {
  margin-right: 2px;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 0.9rem;
}
.primary-nav {
  margin-left: 0;
  flex: 1 1 auto;
  gap: 12px;
}
.nav-link,
.nav-trigger {
  min-height: 52px;
  padding: 10px 16px;
  font-size: 1rem;
}
.nav-home {
  margin-right: 8px;
}
.x-follow {
  margin-left: auto;
  min-height: 48px;
  padding: 9px 16px;
  font-size: 0.96rem;
}

.hero-shell {
  padding: 46px 0 18px;
}
.hero-grid {
  grid-template-columns: minmax(460px, 1fr) minmax(480px, 1.16fr);
  gap: 58px;
  align-items: center;
}
.hero-brand-block {
  display: flex;
  align-items: center;
}
.hero-brand-lockup {
  gap: 28px;
}
.hero-brand-mark {
  width: 134px;
  height: 134px;
  border-radius: 34px;
  font-size: 1.7rem;
}
.hero-brand-words {
  gap: 2px;
  font-size: clamp(2.6rem, 4.15vw, 4.1rem);
  line-height: 0.92;
}
.hero-copy-block {
  max-width: 820px;
}
.hero-copy-block h1 {
  margin: 0 0 18px;
  max-width: 820px;
  font-size: clamp(2.35rem, 3.85vw, 3.85rem);
  line-height: 0.98;
}
.hero-lead {
  max-width: 820px;
  font-size: clamp(1.06rem, 1.25vw, 1.18rem);
  line-height: 1.64;
}
.hero-lead + .hero-lead {
  margin-top: 12px;
}
.hero-model-tag {
  margin: 18px 0 0;
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}
.model-callout {
  min-height: 72px;
  margin-top: 10px;
  gap: 30px;
}
.model-callout-label,
.model-callout-link {
  font-size: clamp(1.02rem, 1.28vw, 1.16rem);
}

@media (max-width: 1180px) {
  .header-inner {
    min-height: 84px;
  }
  .hero-grid {
    grid-template-columns: minmax(380px, 0.95fr) minmax(390px, 1.05fr);
    gap: 38px;
  }
  .hero-brand-mark {
    width: 116px;
    height: 116px;
    border-radius: 30px;
  }
  .hero-brand-words {
    font-size: clamp(2.25rem, 4.6vw, 3.4rem);
  }
}

@media (max-width: 900px) {
  .page-width { width: min(100% - 34px, 1460px); }
  .hero-shell {
    padding-top: 38px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-brand-lockup {
    gap: 20px;
  }
  .hero-brand-mark {
    width: 104px;
    height: 104px;
    border-radius: 27px;
    font-size: 1.3rem;
  }
  .hero-brand-words {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero-copy-block h1 {
    max-width: 760px;
    font-size: clamp(2.1rem, 8vw, 3.05rem);
  }
  .model-callout {
    padding: 14px 0;
  }
}

@media (max-width: 640px) {
  .page-width { width: min(100% - 24px, 1460px); }
  .header-inner {
    width: min(100% - 20px, 1520px);
    min-height: 72px;
  }
  .brand-mark {
    width: 48px;
    height: 48px;
  }
  .hero-shell {
    padding-top: 28px;
    padding-bottom: 12px;
  }
  .hero-brand-lockup {
    gap: 16px;
  }
  .hero-brand-mark {
    width: 86px;
    height: 86px;
    border-radius: 23px;
    font-size: 1.06rem;
  }
  .hero-brand-words {
    font-size: clamp(1.86rem, 9vw, 2.5rem);
  }
  .hero-copy-block h1 {
    margin-bottom: 14px;
    font-size: clamp(1.92rem, 9vw, 2.7rem);
  }
  .hero-lead {
    font-size: 1rem;
  }
  .hero-model-tag {
    font-size: 0.92rem;
  }
}

/* === Homepage Mockup v4 hero composition refinement === */
.hero-inner {
  max-width: 1240px;
  margin-inline: auto;
}
.hero-shell {
  padding: 42px 0 16px;
}
.hero-grid {
  grid-template-columns: minmax(430px, 0.95fr) minmax(500px, 1.05fr);
  gap: 34px;
  align-items: start;
}
.hero-brand-block {
  align-self: start;
  padding-top: 2px;
}
.hero-brand-lockup {
  min-height: 176px;
  align-items: flex-start;
  gap: 26px;
}
.hero-brand-mark {
  width: 152px;
  height: 152px;
  border-radius: 34px;
  border: 1px solid rgba(93, 242, 173, 0.34);
  background: linear-gradient(145deg, rgba(4, 12, 16, 0.98), rgba(7, 21, 27, 0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), 0 20px 55px rgba(0,0,0,0.28);
  color: var(--accent);
  font-size: 1.82rem;
}
.hero-brand-words {
  padding-top: 3px;
  font-size: clamp(2.85rem, 4.3vw, 4.25rem);
  line-height: 0.91;
}
.hero-copy-block {
  position: relative;
  padding-left: 40px;
  max-width: 760px;
}
.hero-copy-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.04), rgba(255,255,255,0.18), rgba(255,255,255,0.04));
}
.hero-copy-block h1 {
  margin-top: 0;
  max-width: 720px;
  font-size: clamp(2.3rem, 3.55vw, 3.5rem);
}
.hero-lead {
  max-width: 720px;
  font-size: clamp(1.03rem, 1.18vw, 1.14rem);
  line-height: 1.62;
}
.hero-model-tag {
  margin-top: 16px;
}
.model-callout {
  max-width: 1240px;
  min-height: 68px;
  margin-top: 8px;
}

@media (max-width: 1180px) {
  .hero-inner { max-width: 1060px; }
  .hero-grid {
    grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1.1fr);
    gap: 28px;
  }
  .hero-brand-mark {
    width: 132px;
    height: 132px;
    border-radius: 30px;
  }
  .hero-brand-words {
    font-size: clamp(2.45rem, 4.6vw, 3.45rem);
  }
  .hero-copy-block { padding-left: 30px; }
}

@media (max-width: 900px) {
  .hero-inner { max-width: 760px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-brand-lockup {
    min-height: auto;
    align-items: center;
  }
  .hero-copy-block {
    padding-left: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.10);
  }
  .hero-copy-block::before { display: none; }
  .hero-brand-mark {
    width: 112px;
    height: 112px;
    border-radius: 28px;
    font-size: 1.38rem;
  }
  .hero-brand-words {
    padding-top: 0;
    font-size: clamp(2.15rem, 8vw, 3rem);
  }
}

@media (max-width: 640px) {
  .hero-shell { padding-top: 26px; }
  .hero-inner { max-width: none; }
  .hero-brand-lockup { gap: 15px; }
  .hero-brand-mark {
    width: 88px;
    height: 88px;
    border-radius: 23px;
    font-size: 1.08rem;
  }
  .hero-brand-words {
    font-size: clamp(1.86rem, 9vw, 2.5rem);
  }
  .hero-copy-block { padding-top: 20px; }
}

/* === Homepage Mockup v5 brand-lockup corrections === */
.hero-brand-block {
  display: block;
}
.hero-brand-lockup {
  align-items: center;
}
.hero-brand-words {
  padding-top: 0;
}
.hero-brand-mark {
  font-size: 2.62rem;
  letter-spacing: -0.045em;
}
.hero-brand-strapline {
  margin: 16px 0 0 180px;
  color: var(--muted-2);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

@media (max-width: 1180px) {
  .hero-brand-mark { font-size: 2.28rem; }
  .hero-brand-strapline { margin-left: 158px; }
}

@media (max-width: 900px) {
  .hero-brand-mark { font-size: 1.92rem; }
  .hero-brand-strapline {
    margin-left: 132px;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .hero-brand-mark { font-size: 1.52rem; }
  .hero-brand-strapline {
    margin-left: 103px;
    margin-top: 10px;
    font-size: 0.78rem;
  }
}

/* === Homepage Mockup v6: treated stadium art on left hero block === */
.hero-brand-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 316px;
  padding: 34px 28px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(93, 242, 173, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
}
.hero-brand-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-stadium-treated.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 0.88;
  transform: scale(1.02);
}
.hero-brand-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,17,27,0.32) 0%, rgba(4,17,27,0.18) 36%, rgba(4,17,27,0.48) 74%, rgba(4,17,27,0.76) 100%),
    radial-gradient(circle at 34% 45%, rgba(93,242,173,0.10), rgba(0,0,0,0) 32%),
    linear-gradient(180deg, rgba(4,17,27,0.08) 0%, rgba(4,17,27,0.30) 100%);
}
.hero-brand-group {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
}
.hero-brand-lockup {
  justify-content: center;
  gap: 22px;
}
.hero-brand-mark {
  background: rgba(5, 16, 22, 0.92);
  box-shadow: 0 16px 38px rgba(0,0,0,0.26), inset 0 0 0 1px rgba(255,255,255,0.018);
}
.hero-brand-strapline {
  margin: 18px 0 0;
  text-align: center;
  color: #a8b7b2;
  font-size: 0.96rem;
  font-weight: 725;
  line-height: 1.45;
  letter-spacing: -0.005em;
  max-width: 540px;
}

@media (max-width: 1180px) {
  .hero-brand-block {
    min-height: 294px;
    padding: 30px 24px;
  }
  .hero-brand-strapline {
    font-size: 0.91rem;
    margin-top: 16px;
  }
}

@media (max-width: 900px) {
  .hero-brand-block {
    min-height: 268px;
    padding: 28px 22px;
  }
  .hero-brand-block::after {
    background:
      linear-gradient(180deg, rgba(4,17,27,0.18) 0%, rgba(4,17,27,0.38) 100%),
      radial-gradient(circle at 38% 42%, rgba(93,242,173,0.08), rgba(0,0,0,0) 34%);
  }
}

@media (max-width: 640px) {
  .hero-brand-block {
    min-height: 232px;
    padding: 22px 18px;
    border-radius: 26px;
  }
  .hero-brand-lockup {
    gap: 14px;
  }
  .hero-brand-strapline {
    margin-top: 12px;
    font-size: 0.80rem;
    max-width: 300px;
  }
}

/* === Homepage Mockup v7: stronger left image, full-height feel, consistent hero logo colour === */
.hero-grid {
  align-items: stretch;
}
.hero-brand-block {
  min-height: 352px;
  height: 100%;
  padding: 28px 24px;
}
.hero-brand-block::before {
  opacity: 0.98;
  background-position: center 38%;
}
.hero-brand-block::after {
  background:
    linear-gradient(90deg, rgba(4,17,27,0.18) 0%, rgba(4,17,27,0.12) 34%, rgba(4,17,27,0.34) 70%, rgba(4,17,27,0.60) 100%),
    radial-gradient(circle at 33% 42%, rgba(93,242,173,0.10), rgba(0,0,0,0) 34%),
    linear-gradient(180deg, rgba(4,17,27,0.04) 0%, rgba(4,17,27,0.22) 100%);
}
.hero-brand-group {
  justify-content: center;
  min-height: 100%;
}
.hero-brand-mark {
  background: linear-gradient(135deg, rgba(93, 242, 173, 0.18), rgba(122, 167, 255, 0.10));
  border: 1px solid rgba(93, 242, 173, 0.42);
  color: var(--accent);
  box-shadow: 0 0 34px rgba(93, 242, 173, 0.08);
}
.hero-brand-strapline {
  font-size: 0.98rem;
  max-width: 560px;
}

@media (max-width: 1180px) {
  .hero-brand-block {
    min-height: 326px;
  }
}

@media (max-width: 900px) {
  .hero-grid { align-items: start; }
  .hero-brand-block {
    min-height: 292px;
    height: auto;
  }
  .hero-brand-block::before {
    background-position: center 30%;
  }
}

@media (max-width: 640px) {
  .hero-brand-block {
    min-height: 248px;
  }
  .hero-brand-strapline {
    font-size: 0.82rem;
  }
}

/* === Shared page-family styles for FME-site-next === */
.page-intro-shell,
.article-shell,
.coming-soon-shell {
  padding-top: 56px;
  padding-bottom: 24px;
}
.page-intro-shell h1,
.article-header h1,
.coming-soon-card h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.25rem, 5vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.page-intro-copy {
  max-width: 880px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.68;
}
.hub-grid,
.sitemap-grid {
  padding: 22px 0 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.hub-card { min-height: 245px; }
.data-page-panel { min-height: 410px; }
.data-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 38px;
  background:
    linear-gradient(rgba(24, 82, 59, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 82, 59, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 36px 36px;
  text-align: center;
}
.data-placeholder p { margin: 0; color: #1d352b; font-size: 1.35rem; font-weight: 850; }
.data-placeholder span { color: var(--light-muted); }
.evergreen-section {
  padding: 0 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: 20px;
}
.evergreen-panel { min-height: 250px; }
.article-shell { max-width: 1120px; }
.article-header { padding-bottom: 24px; }
.article-card {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.76;
}
.article-card h2 { color: var(--text); font-size: 1.75rem; line-height: 1.1; }
.article-placeholder-note {
  margin-top: 0;
  padding: 16px 18px;
  border: 1px solid rgba(93,242,173,0.18);
  border-radius: 12px;
  background: rgba(93,242,173,0.055);
}
.share-bar {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted-2);
  font-size: 0.9rem;
}
.share-bar a,
.share-bar button {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
  color: var(--text);
  cursor: pointer;
}
.coming-soon-shell { padding-bottom: 70px; }
.coming-soon-card { min-height: 330px; justify-content: center; }
.sitemap-link {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sitemap-link:hover { color: var(--accent); }

@media (max-width: 900px) {
  .hub-grid,
  .sitemap-grid,
  .evergreen-section { grid-template-columns: 1fr; }
  .page-intro-shell,
  .article-shell,
  .coming-soon-shell { padding-top: 38px; }
}

/* === Blog publishing + long-form article system === */
.blog-index-grid {
  padding: 18px 0 62px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.blog-index-card {
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.blog-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.blog-card-copy {
  padding: 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.blog-card-meta {
  min-height: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-2);
  font-size: 0.78rem;
}
.blog-card-meta .eyebrow { margin: 0; }
.blog-index-card h2 {
  margin: 11px 0 11px;
  color: var(--text);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.blog-index-card h2 a:hover { color: var(--accent); }
.blog-index-card p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 1.03rem; line-height: 1.68; }
.blog-index-card .panel-link { margin-top: auto; }

.article-back { margin: 0 0 16px; color: var(--muted-2); font-size: 0.9rem; }
.article-back a:hover { color: var(--accent); }
.article-meta { margin: 15px 0 0; color: var(--muted-2); font-size: 0.86rem; }
.article-featured-image { margin: 26px 0 0; }
.article-featured-image img,
.article-card figure img,
.article-card > img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.article-featured-image figcaption,
.article-card figcaption { margin-top: 9px; color: var(--muted-2); font-size: 0.82rem; line-height: 1.45; }
.article-card h2 { margin-top: 2.2rem; margin-bottom: 0.7rem; }
.article-card h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.65rem;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.38;
}
.article-card p,
.article-card li { line-height: 1.72; }
.article-card ul { padding-left: 1.25rem; }
.article-card li + li { margin-top: 0.3rem; }
.article-lead { color: #dbe7e3; font-size: 1.2rem; line-height: 1.72; }
.article-question { color: var(--text); font-weight: 800; }
.article-summary-list {
  margin: 1.2rem 0 1.8rem;
  padding: 1rem 1rem 1rem 2.25rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.045);
}
.article-summary-list li + li { margin-top: 0.48rem; }
.player-result-list { margin: 0.85rem 0 1.5rem; }
.article-closing {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 750;
}
.data-table-wrap {
  width: 100%;
  margin: 1rem 0 1.6rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.035);
  -webkit-overflow-scrolling: touch;
}
.data-table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.data-table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.data-table th,
.data-table td {
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  text-align: left;
  vertical-align: top;
}
.data-table thead th {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.data-table tbody th { width: 67%; color: #dbe7e3; font-weight: 650; }
.data-table tbody td { color: var(--text); font-weight: 750; white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.025); }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table-compact { max-width: 620px; }
.comparison-table tbody th { width: 48%; }
.comparison-table tbody td { white-space: normal; }

/* Sorare case-study image-rich layout, retained from the beta article. */
.case-study-subtitle {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.case-study-article > p,
.player-copy p { line-height: 1.78; }
.case-study-article h2 { margin-top: 42px; }
.case-study-article h3 { margin-top: 0; font-size: 1.55rem; letter-spacing: -0.03em; }
.projection-figure { margin: 22px 0 38px; }
.projection-figure img { width: 100%; }
.player-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin: 28px 0 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.035);
}
.player-row.reverse { grid-template-columns: minmax(0, 1fr) 190px; }
.player-row.reverse .player-image { order: 2; }
.player-row.reverse .player-copy { order: 1; }
.player-image { margin: 0; display: flex; justify-content: center; align-items: center; }
.player-image img {
  display: block;
  max-width: 178px;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 12px;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.34));
}
.player-copy p:last-child { margin-bottom: 0; }
.price-line {
  display: inline-block;
  margin-top: 5px;
  padding: 7px 10px;
  border: 1px solid rgba(93,242,173,0.28);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(93,242,173,0.07);
  font-weight: 850;
}
.research-note {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(93,242,173,0.055);
}
.final-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}
.final-team li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 800;
  text-align: center;
}
.total-cost {
  margin: 18px 0 28px;
  padding: 18px 20px;
  border: 1px solid rgba(93,242,173,0.30);
  border-radius: var(--radius-md);
  background: rgba(93,242,173,0.07);
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 850;
}

@media (max-width: 900px) {
  .blog-index-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .player-row,
  .player-row.reverse {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    align-items: start;
  }
  .player-row.reverse .player-image,
  .player-row.reverse .player-copy { order: initial; }
  .player-image img { max-width: 112px; }
  .player-copy h3 { font-size: 1.25rem; }
  .final-team { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .blog-card-copy { padding: 21px; }
  .blog-card-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .evaluation-article h1 { max-width: none; }
  .article-summary-list { padding-right: 0.8rem; padding-left: 2rem; }
  .data-table { min-width: 390px; }
  .data-table th,
  .data-table td { padding: 0.65rem 0.7rem; }
}
@media (max-width: 470px) {
  .player-row,
  .player-row.reverse { grid-template-columns: 1fr; }
  .player-image img { max-width: 160px; }
  .final-team { grid-template-columns: 1fr 1fr; }
}

/* v0.3.1: top-level navigation labels link to their hub pages;
   the adjacent chevron remains a separate submenu control, especially on touch/mobile. */
.nav-group-control {
  display: inline-flex;
  align-items: stretch;
  border-radius: 10px;
}
.nav-trigger-link {
  border-radius: 10px 0 0 10px;
  padding-right: 7px;
  text-decoration: none;
}
.nav-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 52px;
  padding: 0 10px 0 4px;
  border: 0;
  border-radius: 0 10px 10px 0;
  background: transparent;
  color: #dce8e5;
  cursor: pointer;
}
.nav-group-control:hover,
.nav-group-control:focus-within {
  background: rgba(255,255,255,0.065);
}
.nav-group-control:hover .nav-trigger-link,
.nav-group-control:focus-within .nav-trigger-link,
.nav-submenu-toggle:hover,
.nav-submenu-toggle:focus-visible {
  background: transparent;
  outline: none;
}
.nav-submenu-toggle .chevron {
  margin-left: 0;
  transition: transform 150ms ease;
}
.has-dropdown.is-open .nav-submenu-toggle .chevron {
  transform: rotate(180deg);
}

@media (max-width: 900px) {
  .nav-group-control {
    width: 100%;
    display: flex;
  }
  .nav-trigger-link {
    flex: 1 1 auto;
    width: auto;
    justify-content: flex-start;
    border-radius: 10px 0 0 10px;
  }
  .nav-submenu-toggle {
    flex: 0 0 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
  }
}

/* === FPL Predicted Points launch-page mockup === */
.prediction-intro-shell {
  max-width: 1120px;
  padding-top: 62px;
  padding-bottom: 24px;
  text-align: center;
}
.prediction-intro-shell .eyebrow { margin-bottom: 14px; }
.prediction-intro-shell h1 {
  margin: 0 auto;
  max-width: 1050px;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}
.prediction-intro-copy {
  max-width: 980px;
  margin: 22px auto 0;
  color: #d7e5e1;
  font-size: clamp(1.10rem, 1.5vw, 1.24rem);
  line-height: 1.72;
}
.prediction-intro-copy p { margin: 0; }
.prediction-intro-copy p + p { margin-top: 12px; color: var(--muted); }
.prediction-proof-row {
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.prediction-proof-row span {
  padding: 7px 11px;
  border: 1px solid rgba(93,242,173,0.18);
  border-radius: 999px;
  background: rgba(93,242,173,0.055);
  color: #c8ddd6;
  font-size: 0.78rem;
  font-weight: 760;
}
.predicted-points-product { padding-top: 22px; }
.freshness-stack {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.start-assumption {
  color: #66776f;
  font-size: 0.75rem;
  font-weight: 700;
}
.predicted-points-controls .segmented-control { flex-wrap: wrap; }
.predicted-points-table { min-width: 1180px; }
.predicted-points-table th:nth-child(n+5),
.predicted-points-table td:nth-child(n+5) { text-align: center; }
.predicted-points-table td.metric-highlight { font-size: 1.05rem; font-weight: 900; }
.predicted-points-foot p { max-width: 930px; }

.prediction-content-grid {
  padding: 10px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.62fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.prediction-copy-column {
  max-width: 880px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.76;
}
.prediction-copy-column > .eyebrow { margin-top: 12px; }
.prediction-copy-column h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.042em;
}
.prediction-copy-column h2:not(:first-of-type) { margin-top: 46px; }
.prediction-copy-column p { margin: 0; }
.prediction-copy-column p + p { margin-top: 15px; }
.inline-accent-link { color: var(--accent); font-weight: 800; }
.inline-accent-link:hover { text-decoration: underline; }
.prediction-callout {
  margin: 32px 0 4px;
  padding: 22px 24px;
  border: 1px solid rgba(93,242,173,0.20);
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(135deg, rgba(93,242,173,0.075), rgba(122,167,255,0.035));
  color: #dbe8e4;
}
.prediction-callout p { margin: 0; }
.prediction-callout-kicker {
  margin-bottom: 7px !important;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.prediction-faq { margin-top: 48px; }
.prediction-faq > h2 { margin-top: 0 !important; }
.faq-item {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.10); }
.faq-item h3 {
  margin: 0 0 8px;
  color: #eaf2ef;
  font-size: 1.08rem;
  line-height: 1.35;
}
.prediction-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 110px;
}
.prediction-side-card { min-height: 230px; }
.prediction-side-card h2 { font-size: 1.45rem; }

@media (max-width: 980px) {
  .prediction-content-grid { grid-template-columns: 1fr; gap: 28px; }
  .prediction-copy-column { max-width: 900px; }
  .prediction-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
  .prediction-side-card { min-height: 250px; }
}

@media (max-width: 760px) {
  .prediction-intro-shell { padding-top: 40px; }
  .prediction-intro-shell h1 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
  .prediction-intro-copy { text-align: left; font-size: 1.08rem; }
  .prediction-proof-row { justify-content: flex-start; }
  .freshness-stack { align-items: flex-start; }
  .prediction-sidebar { grid-template-columns: 1fr; }
  .prediction-side-card { min-height: 210px; }
  .prediction-content-grid { padding-bottom: 48px; }
}

@media (max-width: 640px) {
  .predicted-points-controls .segmented-control { width: max-content; flex-wrap: nowrap; }
  .predicted-points-controls { overflow: hidden; }
  .predicted-points-controls > .segmented-control {
    max-width: 100%;
    overflow-x: auto;
  }
  .prediction-callout { padding: 18px 18px; }
}

/* === v0.7 FPL Fixture Difficulty / Next 5 launch-page mockup === */
.fixture-intro-shell {
  max-width: 1140px;
  padding-top: 62px;
  padding-bottom: 24px;
  text-align: center;
}
.fixture-intro-shell h1 {
  margin: 0 auto;
  max-width: 1060px;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}
.fixture-intro-copy {
  max-width: 990px;
  margin: 22px auto 0;
  color: #d7e5e1;
  font-size: clamp(1.10rem, 1.5vw, 1.24rem);
  line-height: 1.72;
}
.fixture-intro-copy p { margin: 0; }
.fixture-intro-copy p + p { margin-top: 12px; color: var(--muted); }
.fixture-proof-row {
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.fixture-proof-row span {
  padding: 7px 11px;
  border: 1px solid rgba(93,242,173,0.18);
  border-radius: 999px;
  background: rgba(93,242,173,0.055);
  color: #c8ddd6;
  font-size: 0.78rem;
  font-weight: 760;
}
.fixture-product-section { padding-top: 22px; }
.fixture-scale-key {
  display: flex;
  gap: 7px;
  flex: 0 0 auto;
  align-items: center;
  padding-top: 4px;
  color: #65746e;
  font-size: 0.75rem;
  font-weight: 760;
}
.fixture-scale-key span {
  padding: 6px 9px;
  border: 1px solid var(--light-line);
  border-radius: 999px;
  background: #f7faf8;
}
.fixture-grid-table { min-width: 1120px; }
.fixture-grid-table th:not(:first-child),
.fixture-grid-table td:not(:first-child) { text-align: center; }
.fixture-team { min-width: 120px; }
.fixture-cell {
  min-width: 165px;
  display: grid;
  gap: 8px;
  justify-items: center;
}
.fixture-cell > strong { font-size: 0.88rem; }
.fixture-cell > strong span { color: #708078; font-size: 0.72rem; font-weight: 760; }
.position-ratings { display: flex; gap: 5px; }
.difficulty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 43px;
  justify-content: center;
  padding: 5px 7px;
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 850;
  border: 1px solid rgba(0,0,0,0.06);
}
.difficulty b { font-size: 0.63rem; opacity: 0.72; }
.difficulty.d1 { background: #dff7e8; color: #0d6848; }
.difficulty.d2 { background: #edf7dc; color: #41691b; }
.difficulty.d3 { background: #fff1bf; color: #765700; }
.difficulty.d4 { background: #ffe1c7; color: #8a4519; }
.difficulty.d5 { background: #ffd5d5; color: #8e2d2d; }
.fixture-panel-foot p { max-width: 920px; }

.fixture-breakout-section { padding: 34px 0 42px; }
.fixture-breakout-head {
  max-width: 900px;
  margin-bottom: 26px;
}
.fixture-breakout-head h2 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.03;
  letter-spacing: -0.052em;
}
.fixture-breakout-head > p:last-child {
  margin: 16px 0 0;
  max-width: 830px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.72;
}
.fixture-use-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.fixture-use-card {
  position: relative;
  min-height: 330px;
  padding-top: 64px;
}
.fixture-use-card .use-case-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(93,242,173,0.28);
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}
.fixture-use-card h3 {
  margin: 0 0 13px;
  max-width: 340px;
  color: var(--text);
  font-size: 1.42rem;
  line-height: 1.13;
  letter-spacing: -0.035em;
}
.fixture-use-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.67;
}

.player-next5-section { padding-top: 28px; }
.next5-player-table { min-width: 1220px; }
.next5-player-table th:nth-child(n+4),
.next5-player-table td:nth-child(n+4) { text-align: center; }
.next5-player-table td.metric-highlight { font-size: 1.05rem; font-weight: 900; }
.fixture-run { display: flex; gap: 4px; min-width: 270px; }
.fixture-run span {
  display: inline-flex;
  justify-content: center;
  min-width: 48px;
  padding: 5px 6px;
  border: 1px solid #dce5e0;
  border-radius: 7px;
  background: #f7faf8;
  color: #5f7068;
  font-size: 0.70rem;
  font-weight: 800;
}

.fixture-content-grid {
  padding: 20px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.62fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.fixture-copy-column {
  max-width: 900px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.76;
}
.fixture-copy-column h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.042em;
}
.fixture-copy-column h2:not(:first-of-type) { margin-top: 46px; }
.fixture-copy-column p { margin: 0; }
.fixture-copy-column p + p { margin-top: 15px; }
.fixture-callout {
  margin: 32px 0 4px;
  padding: 22px 24px;
  border: 1px solid rgba(93,242,173,0.20);
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(135deg, rgba(93,242,173,0.075), rgba(122,167,255,0.035));
  color: #dbe8e4;
}
.fixture-callout p { margin: 0; }
.fixture-callout-kicker {
  margin-bottom: 7px !important;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fixture-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 110px;
}

@media (max-width: 980px) {
  .fixture-use-cases { grid-template-columns: 1fr; }
  .fixture-use-card { min-height: 0; }
  .fixture-content-grid { grid-template-columns: 1fr; gap: 28px; }
  .fixture-copy-column { max-width: 900px; }
  .fixture-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .fixture-intro-shell { padding-top: 40px; }
  .fixture-intro-shell h1 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
  .fixture-intro-copy { text-align: left; font-size: 1.08rem; }
  .fixture-proof-row { justify-content: flex-start; }
  .fixture-breakout-head h2 { font-size: clamp(2rem, 9vw, 2.9rem); }
  .fixture-sidebar { grid-template-columns: 1fr; }
  .fixture-content-grid { padding-bottom: 48px; }
}

@media (max-width: 640px) {
  .fixture-controls .segmented-control { width: max-content; flex-wrap: nowrap; }
  .fixture-controls { overflow: hidden; }
  .fixture-controls > .segmented-control { max-width: 100%; overflow-x: auto; }
  .fixture-callout { padding: 18px; }
}

/* === v0.8 FPL Clean Sheet Odds launch-page mockup === */
.clean-sheet-intro-shell { max-width: 1080px; }
.clean-sheet-intro-copy { max-width: 920px; }
.clean-sheet-product { padding-top: 22px; }
.clean-sheet-table { min-width: 980px; }
.clean-sheet-table th:nth-child(n+5),
.clean-sheet-table td:nth-child(n+5) { text-align: center; }
.clean-sheet-table td.metric-highlight { font-size: 1.04rem; font-weight: 900; }
.clean-sheet-prob {
  display: inline-flex;
  min-width: 68px;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
}
.clean-sheet-strong { background: #dff7e8; color: #0d6848; }
.clean-sheet-mid { background: #fff1bf; color: #765700; }
.clean-sheet-low { background: #ffe1d7; color: #8e3e2d; }
.clean-sheet-foot p { max-width: 860px; }

.clean-sheet-bridge {
  margin-top: 30px;
  margin-bottom: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}
.clean-sheet-bridge-copy {
  padding: 30px 32px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.028);
}
.clean-sheet-bridge-copy h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.048em;
}
.clean-sheet-bridge-copy > p:last-child {
  margin: 15px 0 0;
  max-width: 800px;
  color: var(--muted);
  font-size: 1.10rem;
  line-height: 1.72;
}
.clean-sheet-bridge-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 30px 32px;
  border: 1px solid rgba(93,242,173,0.30);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(93,242,173,0.14), rgba(122,167,255,0.07));
  color: var(--text);
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}
.clean-sheet-bridge-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(93,242,173,0.52);
  background: linear-gradient(135deg, rgba(93,242,173,0.19), rgba(122,167,255,0.10));
}
.bridge-kicker {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.clean-sheet-bridge-cta strong {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.clean-sheet-bridge-cta > span:last-child {
  color: #c6d7d1;
  font-size: 0.94rem;
  line-height: 1.5;
}
.clean-sheet-bridge-cta b { color: var(--accent); }

.clean-sheet-content-grid {
  padding: 0 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.62fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.clean-sheet-copy-column { max-width: 880px; }
.clean-sheet-callout { margin-top: 30px; }
.clean-sheet-primary-card {
  border-color: rgba(93,242,173,0.20);
  background: linear-gradient(145deg, rgba(93,242,173,0.075), rgba(122,167,255,0.025));
}

@media (max-width: 980px) {
  .clean-sheet-bridge { grid-template-columns: 1fr; }
  .clean-sheet-content-grid { grid-template-columns: 1fr; gap: 28px; }
  .clean-sheet-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .clean-sheet-bridge { margin-top: 20px; margin-bottom: 34px; }
  .clean-sheet-bridge-copy,
  .clean-sheet-bridge-cta { padding: 22px 20px; }
  .clean-sheet-sidebar { grid-template-columns: 1fr; }
  .clean-sheet-content-grid { padding-bottom: 48px; }
}


/* === v1.19 live Clean Sheet Odds product === */
.clean-sheet-controls {
  justify-content: space-between;
  gap: 16px;
}
.clean-sheet-team-filter { min-width: 190px; }
.clean-sheet-status-row { padding-top: 10px; padding-bottom: 10px; }
.clean-sheet-live-scroll {
  max-height: 760px;
  overflow: auto;
  scrollbar-gutter: stable;
}
.clean-sheet-live-table {
  min-width: 900px;
  table-layout: fixed;
}
.clean-sheet-live-table th,
.clean-sheet-live-table td { padding: 12px 14px; }
.clean-sheet-live-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
}
.clean-sheet-live-table th:nth-child(1),
.clean-sheet-live-table td:nth-child(1) { width: 66px; }
.clean-sheet-live-table th:nth-child(2),
.clean-sheet-live-table td:nth-child(2) { width: 178px; }
.clean-sheet-live-table th:nth-child(3),
.clean-sheet-live-table td:nth-child(3) { width: 188px; }
.clean-sheet-live-table th:nth-child(4),
.clean-sheet-live-table td:nth-child(4) { width: 70px; text-align: center; }
.clean-sheet-live-table th:nth-child(5),
.clean-sheet-live-table td:nth-child(5) { width: 160px; text-align: center; }
.clean-sheet-live-table th:nth-child(6),
.clean-sheet-live-table td:nth-child(6) { width: 122px; text-align: center; }
.clean-sheet-live-table th:nth-child(7),
.clean-sheet-live-table td:nth-child(7) { width: 166px; text-align: center; }
.clean-sheet-live-table thead .clean-sheet-primary {
  border-left: 2px solid rgba(24,129,89,.58);
  border-right: 2px solid rgba(24,129,89,.58);
  box-shadow: inset 0 2px 0 rgba(24,129,89,.72), inset 0 -1px 0 #dce7e1;
  background: #edf6f1;
  color: #315f4d;
}
.clean-sheet-live-table tbody .clean-sheet-primary {
  border-left: 2px solid rgba(24,129,89,.42);
  border-right: 2px solid rgba(24,129,89,.42);
}
.clean-sheet-team-cell strong { display: block; font-size: .94rem; color: #1c3128; }
.clean-sheet-team-cell span {
  display: block;
  margin-top: 2px;
  color: #829089;
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .07em;
}
.clean-sheet-venue-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 27px;
  border-radius: 7px;
  font-size: .72rem;
  font-weight: 950;
}
.clean-sheet-venue-home { background: #e4f2eb; color: #216447; }
.clean-sheet-venue-away { background: #edf0f2; color: #56636c; }
.clean-sheet-live-table tbody tr:hover td:not(.heatmap-cell) { background: #f8fbf9; }
.clean-sheet-live-table .metric-info::after { min-width: 250px; }

@media (max-width: 980px) {
  .clean-sheet-live-table { min-width: 900px; }
}
@media (max-width: 760px) {
  .clean-sheet-controls { align-items: stretch; }
  .clean-sheet-controls .segmented-control { width: max-content; max-width: 100%; overflow-x: auto; }
  .clean-sheet-team-filter { min-width: 0; width: 100%; }
  .clean-sheet-team-filter select { width: 100%; }
  .clean-sheet-live-scroll { max-height: 700px; }
}

/* === v0.9 FPL DEFCON Predictions launch-page mockup === */
.defcon-intro-shell { max-width: 1120px; }
.defcon-intro-copy { max-width: 930px; }
.defcon-product { padding-top: 22px; }
.defcon-table { min-width: 1120px; }
.defcon-table th:nth-child(n+4),
.defcon-table td:nth-child(n+4) { text-align: center; }
.defcon-table td.metric-highlight { font-size: 1.04rem; font-weight: 900; }
.defcon-threshold {
  display: inline-flex;
  min-width: 82px;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 8px;
  background: #edf3f0;
  color: #52665d;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.defcon-prob {
  display: inline-flex;
  min-width: 66px;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
}
.defcon-strong { background: #dff7e8; color: #0d6848; }
.defcon-mid { background: #fff1bf; color: #765700; }
.defcon-low { background: #ffe1d7; color: #8e3e2d; }
.defcon-foot p { max-width: 890px; }

.defcon-rules {
  padding-top: 32px;
  padding-bottom: 42px;
}
.defcon-rules-head {
  max-width: 900px;
  margin-bottom: 20px;
}
.defcon-rules-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.047em;
}
.defcon-rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.defcon-rule-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  background: rgba(255,255,255,0.028);
}
.defcon-rule-card strong {
  display: block;
  margin-top: 7px;
  color: var(--text);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}
.defcon-rule-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
}
.defcon-rule-label {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.defcon-content-grid {
  padding: 14px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.62fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.defcon-copy-column { max-width: 900px; }
.defcon-callout { margin-top: 30px; }
.defcon-sidebar { position: sticky; top: 110px; }
.defcon-primary-card {
  border-color: rgba(93,242,173,0.20);
  background: linear-gradient(145deg, rgba(93,242,173,0.075), rgba(122,167,255,0.025));
}

@media (max-width: 980px) {
  .defcon-rule-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .defcon-content-grid { grid-template-columns: 1fr; gap: 28px; }
  .defcon-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .defcon-rule-grid { grid-template-columns: 1fr; }
  .defcon-rules { padding-top: 22px; padding-bottom: 30px; }
  .defcon-sidebar { grid-template-columns: 1fr; }
  .defcon-content-grid { padding-bottom: 48px; }
}

/* === v1.0 FPL Stats dashboard + explorer === */
.stats-intro-shell { max-width: 1120px; }
.stats-intro-copy { max-width: 940px; }

.stats-dashboard { padding: 22px 0 22px; }
.stats-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}
.stats-section-head > div:first-child { max-width: 830px; }
.stats-section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
}
.stats-section-head p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.66;
}
.stats-view-toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 2px;
}
.stats-view-label {
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stats-view-toggle .segmented-control {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
}
.stats-view-toggle .segment { color: #aebfbd; }
.stats-view-toggle .segment.is-active { background: var(--accent); color: #071811; }

.stats-leader-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 15px;
}
.stats-leader-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.48);
  border-radius: 18px;
  background: var(--light-panel);
  color: var(--light-text);
  box-shadow: 0 18px 48px rgba(0,0,0,0.18);
}
.stats-card-head {
  min-height: 96px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 18px 15px;
  border-bottom: 1px solid var(--light-line);
  background: linear-gradient(145deg, #ffffff, #f3f7f5);
}
.stats-card-kicker {
  display: block;
  margin-bottom: 6px;
  color: #28845f;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.stats-card-head h3 {
  margin: 0;
  font-size: 1.13rem;
  line-height: 1.16;
  letter-spacing: -0.028em;
}
.stats-card-unit {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 7px;
  background: #e7f3ed;
  color: #176b4a;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}
.stats-mini-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  background: #fff;
}
.stats-mini-list li {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-bottom: 1px solid #eef2f0;
  font-variant-numeric: tabular-nums;
}
.stats-mini-list li:last-child { border-bottom: 0; }
.stats-mini-rank { color: #96a29c; font-size: 0.75rem; font-weight: 850; }
.stats-mini-player {
  min-width: 0;
  overflow: hidden;
  color: #2b3e35;
  font-size: 0.86rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stats-mini-list strong { color: #102019; font-size: 0.88rem; }
.stats-card-link {
  display: block;
  padding: 13px 16px;
  border-top: 1px solid var(--light-line);
  background: #f7f9f8;
  color: #176b4a;
  font-size: 0.78rem;
  font-weight: 900;
}
.stats-card-link:hover { text-decoration: underline; }
.mock-note {
  margin: 13px 2px 0;
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.45;
}

.stats-explorer-section { padding-top: 30px; }
.stats-explorer-panel { margin-top: 0; }
.stats-controls .segmented-control { flex-wrap: wrap; }
.stats-master-table { min-width: 1640px; }
.stats-master-table th:not(:first-child),
.stats-master-table td:not(:first-child) { text-align: center; }
.stats-master-table thead th { white-space: nowrap; cursor: default; }
.stats-master-table td.metric-highlight { font-size: 1.02rem; }
.stats-foot p { max-width: 930px; }

.stats-content-grid { padding-top: 18px; }
.stats-copy-column { max-width: 900px; }
.stats-callout { margin-top: 30px; }
.stats-sidebar { position: sticky; top: 110px; }
.stats-primary-card {
  border-color: rgba(93,242,173,0.20);
  background: linear-gradient(145deg, rgba(93,242,173,0.075), rgba(122,167,255,0.025));
}

@media (max-width: 1120px) {
  .stats-leader-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .stats-section-head { align-items: flex-start; flex-direction: column; }
  .stats-content-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}
@media (max-width: 760px) {
  .stats-dashboard { padding-top: 14px; }
  .stats-leader-grid { grid-template-columns: 1fr; }
  .stats-section-head { margin-bottom: 16px; }
  .stats-view-toggle { width: 100%; justify-content: space-between; }
  .stats-sidebar { grid-template-columns: 1fr; }
  .stats-content-grid { padding-bottom: 48px; }
}

/* === v1.1 FPL Fixtures schedule utility === */
.fixtures-intro-shell { max-width: 1120px; }
.fixtures-intro-copy { max-width: 930px; }
.fixtures-product { padding-bottom: 28px; }
.fixtures-panel { overflow: hidden; }
.fixtures-controls { margin-bottom: 18px; }
.fixture-day-block {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--light-line);
  border-radius: 14px;
  background: #fff;
}
.fixture-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--light-line);
  background: #f4f7f5;
  color: #20372c;
}
.fixture-day-head strong { font-size: 0.9rem; }
.fixture-day-head span {
  color: #76877f;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fixture-list { background: #fff; }
.fixture-row {
  display: grid;
  grid-template-columns: 64px minmax(140px,1fr) 24px minmax(140px,1fr) 112px;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 8px 16px;
  border-bottom: 1px solid #edf1ef;
  color: #203229;
}
.fixture-row:last-child { border-bottom: 0; }
.fixture-row time {
  color: #738179;
  font-size: 0.78rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.fixture-team {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.fixture-team-home { justify-content: flex-end; text-align: right; }
.fixture-team-away { justify-content: flex-start; }
.fixture-team strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fixture-team-mark {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #d8e3de;
  border-radius: 50%;
  background: #eff5f2;
  color: #2d7058;
  font-size: 0.68rem;
  font-weight: 900;
}
.fixture-vs { color: #9aa7a0; text-align: center; font-size: 0.74rem; font-weight: 850; }
.fixture-analysis-link {
  color: #187653;
  font-size: 0.75rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}
.fixture-analysis-link:hover { text-decoration: underline; }
.fixtures-foot p { max-width: 900px; }

.fixtures-bridge {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(310px,0.65fr);
  gap: clamp(28px,5vw,70px);
  align-items: center;
  margin-top: 12px;
  margin-bottom: 46px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fixtures-bridge h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(1.9rem,3.4vw,3rem);
  line-height: 1.05;
  letter-spacing: -0.047em;
}
.fixtures-bridge p:last-child {
  max-width: 850px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}
.fixtures-bridge-cta {
  display: block;
  padding: 22px;
  border: 1px solid rgba(93,242,173,0.20);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(93,242,173,0.075), rgba(122,167,255,0.025));
  color: var(--text);
}
.fixtures-bridge-cta strong {
  display: block;
  margin: 7px 0 8px;
  font-size: 1.28rem;
  letter-spacing: -0.025em;
}
.fixtures-bridge-cta > span:last-child { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.fixtures-bridge-cta b { color: var(--accent); }
.fixtures-content-grid { padding-top: 10px; }
.fixtures-copy-column { max-width: 900px; }
.fixtures-callout { margin-top: 30px; }
.fixtures-sidebar { position: sticky; top: 110px; }
.fixtures-primary-card {
  border-color: rgba(93,242,173,0.20);
  background: linear-gradient(145deg, rgba(93,242,173,0.075), rgba(122,167,255,0.025));
}

@media (max-width: 980px) {
  .fixtures-bridge { grid-template-columns: 1fr; gap: 22px; }
  .fixtures-content-grid { grid-template-columns: 1fr; gap: 28px; }
  .fixtures-sidebar { position: static; grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .fixture-row {
    grid-template-columns: 50px minmax(0,1fr) 18px minmax(0,1fr);
    gap: 7px;
    padding: 10px 11px;
  }
  .fixture-team-mark { display: none; }
  .fixture-team strong { font-size: 0.82rem; }
  .fixture-analysis-link { display: none; }
  .fixtures-bridge { margin-bottom: 30px; padding-top: 24px; padding-bottom: 24px; }
  .fixtures-sidebar { grid-template-columns: 1fr; }
  .fixtures-content-grid { padding-bottom: 48px; }
}


/* === Coming-soon landing pages v1.2 === */
.coming-soon-card {
  align-items: flex-start;
}
.coming-soon-card h1 {
  color: var(--accent);
}
.coming-soon-card h2 {
  margin: 16px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.coming-soon-copy {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem !important;
  line-height: 1.68 !important;
}
.coming-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.coming-soon-card .slot-tag {
  margin-top: 24px;
}
@media (max-width: 640px) {
  .coming-soon-copy { font-size: 1.04rem !important; }
}


/* === v1.4 launch-status badges: dropdown + tool hubs === */
.dropdown-menu a.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(93, 242, 173, 0.24);
  border-radius: 999px;
  background: rgba(93, 242, 173, 0.08);
  color: #9deec6;
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}
.hub-card .coming-soon-pill {
  margin-top: 1px;
}
@media (max-width: 900px) {
  .dropdown-menu a.dropdown-item { gap: 10px; }
  .coming-soon-pill { font-size: 0.59rem; }
}

/* === v1.5 Knowledge Base editorial hub + image-rich guides === */
.knowledge-hub-intro { max-width: 1180px; }
.knowledge-feature-list {
  padding: 20px 0 72px;
  display: grid;
  gap: 22px;
}
.knowledge-feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255,255,255,0.072), rgba(255,255,255,0.032));
  box-shadow: var(--shadow);
}
.knowledge-feature-link {
  min-height: 285px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.7fr);
  align-items: stretch;
}
.knowledge-feature-copy {
  padding: clamp(28px, 4.4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.knowledge-feature-copy h2 {
  max-width: 760px;
  margin: 12px 0 14px;
  color: var(--text);
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.knowledge-feature-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}
.knowledge-feature-copy .panel-link { margin-top: 24px; }
.knowledge-feature-media {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: #0a2028;
}
.knowledge-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6,18,25,0.62), rgba(6,18,25,0.08) 44%, transparent 75%);
}
.knowledge-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
  filter: saturate(0.9) contrast(1.03);
}
.knowledge-feature-link:hover .knowledge-feature-media img { transform: scale(1.025); }
.knowledge-feature-link:hover h2 { color: var(--accent); }
.knowledge-feature-media-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--muted-2);
  background:
    radial-gradient(circle at 70% 35%, rgba(93,242,173,0.16), transparent 14rem),
    radial-gradient(circle at 35% 75%, rgba(122,167,255,0.14), transparent 15rem),
    linear-gradient(145deg, #0a2028, #07151d);
}
.knowledge-feature-media-placeholder::after { display: none; }
.knowledge-media-mark {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(93,242,173,0.32);
  border-radius: 20px;
  background: rgba(93,242,173,0.08);
  color: var(--accent);
  font-weight: 950;
  letter-spacing: -0.04em;
}
.knowledge-feature-media-placeholder span {
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.knowledge-featured-image {
  margin: 30px 0 0;
}
.knowledge-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.knowledge-featured-image figcaption,
.knowledge-inline-image figcaption {
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.45;
}
.knowledge-featured-image figcaption a:hover,
.knowledge-inline-image figcaption a:hover { color: var(--accent); }
.knowledge-article-card a:not(.share-bar a) {
  color: #c6f9df;
  text-decoration: underline;
  text-decoration-color: rgba(93,242,173,0.34);
  text-underline-offset: 0.18em;
}
.knowledge-article-card a:not(.share-bar a):hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.knowledge-inline-image {
  margin: 2rem 0 2.1rem;
}
.knowledge-inline-image img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.knowledge-rule-grid {
  margin: 1.3rem 0 1.1rem;
}

@media (max-width: 900px) {
  .knowledge-feature-link { grid-template-columns: 1fr; }
  .knowledge-feature-media {
    min-height: 240px;
    border-left: 0;
    border-top: 1px solid var(--line);
    order: -1;
  }
  .knowledge-feature-media img { min-height: 240px; }
  .knowledge-feature-media::after {
    background: linear-gradient(180deg, transparent 45%, rgba(6,18,25,0.50));
  }
  .knowledge-feature-copy { padding: 28px; }
  .knowledge-feature-copy h2 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
}

@media (max-width: 560px) {
  .knowledge-feature-list { gap: 18px; padding-bottom: 52px; }
  .knowledge-feature-media,
  .knowledge-feature-media img { min-height: 205px; }
  .knowledge-feature-copy { padding: 23px 21px 26px; }
  .knowledge-feature-copy > p:not(.eyebrow) { font-size: 1rem; }
  .knowledge-featured-image img { aspect-ratio: 16 / 9; }
}


/* === v1.6 What Is Sorare guide === */
.sorare-quick-box,
.sorare-caution-box {
  margin: 1.8rem 0 2rem;
  border: 1px solid rgba(93,242,173,0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(93,242,173,0.075), rgba(122,167,255,0.045));
  padding: 22px 24px;
}
.sorare-quick-box .eyebrow { margin-bottom: 12px; }
.sorare-quick-box ul { margin: 0; padding-left: 1.25rem; }
.sorare-quick-box li + li { margin-top: 0.42rem; }
.sorare-caution-box {
  color: var(--muted);
  border-color: rgba(255,202,92,0.25);
  background: linear-gradient(145deg, rgba(255,202,92,0.07), rgba(255,255,255,0.025));
  line-height: 1.68;
}
.sorare-caution-box strong { color: #ffe09a; }
.sorare-card-pair {
  margin: 2rem auto 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 760px;
}
.sorare-card-pair figure { margin: 0; text-align: center; }
.sorare-card-pair img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.sorare-card-pair figcaption {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.45;
}
.sorare-mode-grid {
  margin: 1.5rem 0 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.sorare-mode-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.035);
}
.sorare-mode-card > span {
  display: block;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.sorare-mode-card > strong {
  display: block;
  margin: 8px 0 7px;
  color: var(--text);
  font-size: 1.05rem;
}
.sorare-mode-card p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }
.sorare-portrait-shot { max-width: 430px; margin-left: auto; margin-right: auto; }
.sorare-portrait-shot img { max-height: none; object-fit: contain; }
.sorare-wide-shot img { max-height: none; object-fit: contain; }
@media (max-width: 760px) {
  .sorare-mode-grid { grid-template-columns: 1fr; }
  .sorare-card-pair { gap: 14px; }
}
@media (max-width: 520px) {
  .sorare-card-pair { grid-template-columns: 1fr; }
  .sorare-quick-box,
  .sorare-caution-box { padding: 18px; }
}

/* === v1.7 knowledge editorial + model methodology === */
.knowledge-summary-box {
  margin: 1.7rem 0 2rem;
  padding: 22px 24px;
  border: 1px solid rgba(93,242,173,0.24);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(93,242,173,0.075), rgba(122,167,255,0.05));
}
.knowledge-summary-box .eyebrow { margin: 0 0 10px; }
.knowledge-summary-box p { margin: 0; }
.knowledge-summary-box p + p { margin-top: 0.7rem; }

.knowledge-callout-grid {
  margin: 1.7rem 0 2.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.knowledge-callout-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.knowledge-callout-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.035);
}
.knowledge-callout-card .eyebrow { margin-bottom: 9px; }
.knowledge-callout-card h3 {
  margin: 0 0 9px;
  color: var(--text);
  font-size: 1.08rem;
}
.knowledge-callout-card p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.62; }
.knowledge-callout-card .inline-accent-link { display: inline-block; margin-top: 11px; }

.article-numbered-steps {
  margin: 1.15rem 0 1.8rem;
  padding-left: 1.55rem;
}
.article-numbered-steps li + li { margin-top: 0.75rem; }

.comparison-table-wrap {
  margin: 1.7rem 0 2.3rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.025);
}
.knowledge-comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.knowledge-comparison-table th,
.knowledge-comparison-table td {
  padding: 15px 17px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.knowledge-comparison-table th {
  color: var(--text);
  background: rgba(93,242,173,0.065);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.knowledge-comparison-table td:first-child {
  width: 19%;
  color: var(--text);
  font-weight: 800;
}
.knowledge-comparison-table tr:last-child td { border-bottom: 0; }
.knowledge-compare-card-pair { max-width: 690px; }

.model-big-question {
  margin: 1.2rem 0 1.7rem;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(93,242,173,0.045);
  border-radius: 0 12px 12px 0;
  font-size: 1.15rem;
  line-height: 1.6;
}
.model-flow {
  margin: 1.8rem 0 2.35rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 9px;
  align-items: center;
}
.model-flow-step {
  min-width: 0;
  padding: 16px 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,0.035);
}
.model-flow-step > span {
  display: grid;
  width: 26px;
  height: 26px;
  margin: 0 auto 8px;
  place-items: center;
  border-radius: 999px;
  background: rgba(93,242,173,0.14);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 950;
}
.model-flow-step strong { display: block; color: var(--text); font-size: 0.95rem; }
.model-flow-step small { display: block; margin-top: 5px; color: var(--muted-2); font-size: 0.75rem; line-height: 1.35; }
.model-flow-arrow { color: rgba(93,242,173,0.58); font-size: 1.1rem; font-weight: 900; }

.model-action-list {
  columns: 2;
  column-gap: 2.2rem;
}
.model-action-list li { break-inside: avoid; }
.model-equation-box {
  margin: 1.5rem 0 1.8rem;
  padding: 17px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(93,242,173,0.2);
  border-radius: var(--radius-lg);
  background: rgba(93,242,173,0.045);
}
.model-equation-box span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}
.model-equation-box b { color: var(--accent); }
.model-tactics-image img { object-position: center 38%; }

@media (max-width: 880px) {
  .knowledge-callout-grid,
  .knowledge-callout-grid.two-col { grid-template-columns: 1fr; }
  .model-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .model-flow-arrow { transform: rotate(90deg); text-align: center; }
}
@media (max-width: 600px) {
  .knowledge-summary-box { padding: 18px; }
  .model-action-list { columns: 1; }
  .knowledge-comparison-table { min-width: 650px; }
}

/* === v1.9 utility/legal polish + FPL Stats teaser status === */
.utility-shell { padding-bottom: 72px; }
.utility-header { max-width: 980px; }
.utility-card { max-width: 980px; }
.utility-card h2 { margin-top: 2.25rem; }
.utility-card h2:first-of-type { margin-top: 0.5rem; }
.utility-card a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(93,242,173,0.34); text-underline-offset: 3px; }
.utility-card a:hover { text-decoration-color: currentColor; }
.utility-card ul { margin: 0.8rem 0 1.25rem; }
.utility-meta-line {
  margin: 0 0 24px;
  color: var(--muted-2);
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
}
.utility-callout {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid rgba(93,242,173,0.20);
  border-radius: 14px;
  background: rgba(93,242,173,0.055);
  color: var(--text);
}
.utility-callout p { margin: 7px 0 0; color: var(--muted); }
.footer-contact-lines { margin-top: 16px; display: grid; gap: 6px; }
.footer-contact-lines a { width: fit-content; color: var(--muted-2); font-size: 0.82rem; }
.footer-contact-lines a:hover { color: var(--accent); }
.sitemap-panel .sitemap-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stats-coming-soon-banner {
  width: fit-content;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}
.stats-coming-soon-banner strong { color: var(--text); }
.stats-teaser-card { min-height: 205px; display: flex; flex-direction: column; }
.stats-panel-coming-soon {
  flex: 1;
  min-height: 108px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 22px;
  background:
    linear-gradient(rgba(24,82,59,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,82,59,0.035) 1px, transparent 1px),
    #fff;
  background-size: 28px 28px;
  text-align: center;
}
.stats-panel-coming-soon .coming-soon-pill,
.light-coming-soon-pill {
  border-color: rgba(23,107,74,0.24);
  background: #e7f3ed;
  color: #176b4a;
}
.stats-panel-coming-soon p { margin: 0; color: #6f8178; font-size: 0.82rem; font-weight: 800; }
.stats-coming-soon-row td {
  height: 170px;
  text-align: center !important;
  background:
    linear-gradient(rgba(24,82,59,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,82,59,0.028) 1px, transparent 1px),
    #fff;
  background-size: 34px 34px;
}
.stats-coming-soon-row strong { display: block; margin-bottom: 7px; color: #176b4a; font-size: 1.25rem; }
.stats-coming-soon-row span { display: block; color: #77887f; font-size: 0.88rem; }
@media (max-width: 760px) {
  .footer-bottom { flex-direction: column; }
  .utility-card { padding: 24px 20px; }
}

/* === v1.11 live homepage FPL projection panel === */
.homepage-projection-panel { overflow: visible; }
.homepage-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.if-starts-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #cfe1d8;
  border-radius: 999px;
  background: #edf6f1;
  color: #376554;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.homepage-product-controls {
  align-items: center;
  flex-wrap: wrap;
}
.homepage-control-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.starter-toggle .segment { font-size: 0.78rem; }
.segment:disabled {
  cursor: default;
  opacity: 0.45;
}
.homepage-filter-group { align-items: center; }
.homepage-search-control input { width: 180px; }
.select-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid #d7dfdb;
  border-radius: 9px;
  background: #fff;
  color: #47574f;
}
.select-control::after {
  content: "▾";
  position: absolute;
  right: 10px;
  color: #78877f;
  font-size: 0.72rem;
  pointer-events: none;
}
.select-control select {
  min-width: 128px;
  min-height: 36px;
  padding: 7px 30px 7px 11px;
  border: 0;
  outline: 0;
  border-radius: inherit;
  appearance: none;
  background: transparent;
  color: #47574f;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
}
.select-control:last-child select { min-width: 150px; }
.projection-status-row {
  min-height: 40px;
  padding: 9px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--light-line);
  background: #f9faf9;
  color: #67766f;
  font-size: 0.78rem;
  line-height: 1.4;
}
.projection-status-row [data-result-count] {
  color: #33483e;
  font-weight: 850;
  white-space: nowrap;
}
.projection-status-note { text-align: right; }
.homepage-table-scroll {
  max-height: 720px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.homepage-projection-table {
  width: 100%;
  min-width: 1320px;
}
.homepage-projection-table th,
.homepage-projection-table td {
  padding: 8px 8px;
}
.homepage-projection-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 38px;
  background: #f6f8f7;
  box-shadow: inset 0 -1px 0 #e2e8e4;
  white-space: nowrap;
}
.homepage-projection-table tbody td {
  height: 43px;
  line-height: 1.18;
}
.homepage-projection-table .player-cell { min-width: 172px; }
.homepage-projection-table .player-meta {
  margin-top: 2px;
  font-size: 0.69rem;
  line-height: 1.15;
}
.homepage-projection-table th:nth-child(1),
.homepage-projection-table td:nth-child(1) { width: 60px; }
.homepage-projection-table th:nth-child(3),
.homepage-projection-table td:nth-child(3) { width: 62px; }
.homepage-projection-table th:nth-child(4),
.homepage-projection-table td:nth-child(4) { min-width: 116px; }
.homepage-projection-table th:nth-child(5),
.homepage-projection-table td:nth-child(5) { width: 72px; }
.homepage-projection-table th:nth-child(6),
.homepage-projection-table td:nth-child(6) { width: 76px; }
.homepage-projection-table th:nth-child(7),
.homepage-projection-table td:nth-child(7) { width: 98px; }
.homepage-projection-table th:nth-child(8),
.homepage-projection-table td:nth-child(8),
.homepage-projection-table th:nth-child(9),
.homepage-projection-table td:nth-child(9) { width: 90px; }
.homepage-projection-table th:nth-child(10),
.homepage-projection-table td:nth-child(10) { width: 72px; }
.homepage-projection-table th:nth-child(11),
.homepage-projection-table td:nth-child(11) { width: 90px; }
.homepage-projection-table th:nth-child(12),
.homepage-projection-table td:nth-child(12) { width: 86px; }
.homepage-projection-table th:nth-child(13),
.homepage-projection-table td:nth-child(13) { width: 72px; text-align: center; }
.sort-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: -5px -4px;
  padding: 5px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.sort-button:hover,
.sort-button:focus-visible { color: #174d39; outline: none; }
.sort-indicator {
  display: inline-block;
  min-width: 10px;
  color: #1a7f58;
  font-size: 0.9rem;
}
.metric-heading {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.metric-info {
  position: relative;
  z-index: 8;
  width: 24px;
  height: 24px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7a72;
  font-size: 0.8rem;
  cursor: help;
}
.metric-info:hover,
.metric-info:focus-visible {
  background: #e8efeb;
  color: #175a40;
  outline: none;
}
.metric-info::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 290px;
  padding: 10px 12px;
  border: 1px solid #d6e0db;
  border-radius: 10px;
  background: #102019;
  color: #f4f8f6;
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -3px);
  transition: 120ms ease;
  pointer-events: none;
}
.metric-info:hover::after,
.metric-info:focus-visible::after,
.metric-info:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.heatmap-cell {
  text-align: center !important;
  font-variant-numeric: tabular-nums;
  background-clip: padding-box;
}
.heatmap-cell strong { font-weight: 900; }
.homepage-projection-table .primary-metric-left {
  border-left: 2px solid rgba(24,129,89,0.58) !important;
}
.homepage-projection-table .primary-metric-right {
  border-right: 2px solid rgba(24,129,89,0.58) !important;
}
.homepage-projection-table thead .primary-metric {
  box-shadow: inset 0 2px 0 rgba(24,129,89,0.72), inset 0 -1px 0 #dce7e1;
  background: #edf6f1;
  color: #315f4d;
}
.heatmap-6 { background: #ccebd8 !important; color: #0f5637; }
.heatmap-5 { background: #dff1e5 !important; color: #245f43; }
.heatmap-4 { background: #edf4df !important; color: #536128; }
.heatmap-3 { background: #fff1c9 !important; color: #745c13; }
.heatmap-2 { background: #fbe1c9 !important; color: #7a4a22; }
.heatmap-1 { background: #f7d9d9 !important; color: #7b3636; }
.why-cell { overflow: visible; }
.why-button {
  position: relative;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid #cfe2d9;
  border-radius: 8px;
  background: #eef7f2;
  color: #176b4a;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.055em;
  cursor: pointer;
}
.why-button:hover,
.why-button:focus-visible,
.why-button[aria-expanded="true"] {
  border-color: #9bc9b4;
  background: #dff1e7;
  outline: none;
}
.why-unavailable { color: #aab3ae; }
.why-detail-row td {
  height: auto !important;
  padding: 0 !important;
  background: #f4f8f6;
}
.why-detail-card {
  margin: 0;
  padding: 20px 24px 22px;
  border-top: 1px solid #dce8e2;
  border-bottom: 1px solid #dce8e2;
  background: linear-gradient(135deg, #f1f8f4, #f8faf9);
}
.why-detail-head {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.why-detail-head strong {
  display: block;
  margin-top: 3px;
  color: #14261e;
  font-size: 1rem;
}
.why-detail-eyebrow {
  display: block;
  color: #188159;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.why-close {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #d0dcd6;
  border-radius: 8px;
  background: #fff;
  color: #53675d;
  font-size: 1.05rem;
  cursor: pointer;
}
.why-close:hover,
.why-close:focus-visible { border-color: #a9c5b7; color: #176b4a; outline: none; }
.why-detail-copy {
  max-width: 1040px;
  color: #405249;
  font-size: 0.91rem;
  line-height: 1.65;
}
.why-detail-copy p { margin: 0; }
.why-detail-copy p + p { margin-top: 0.7rem; }
.why-detail-copy strong { color: #183b2b; }
.panel-loading-state,
.panel-empty-state {
  height: 260px !important;
  text-align: center !important;
  color: #73817a;
}
.panel-empty-state strong,
.panel-empty-state span { display: block; }
.panel-empty-state strong { margin-bottom: 7px; color: #42544b; font-size: 1rem; }
.freshness-dot-error { background: #cb5d5d; box-shadow: 0 0 0 4px rgba(203,93,93,0.12); }
.homepage-panel-foot p { max-width: 930px; }

@media (max-width: 1100px) {
  .homepage-product-controls { align-items: flex-start; }
  .homepage-filter-group { width: 100%; justify-content: flex-start; }
  .projection-status-note { display: none; }
}

@media (max-width: 760px) {
  .homepage-title-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .homepage-product-controls { padding-inline: 18px; }
  .homepage-control-left { width: 100%; }
  .starter-toggle { order: 2; }
  .homepage-filter-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .homepage-search-control { min-width: 180px; }
  .projection-status-row { padding-inline: 18px; }
  .homepage-table-scroll { max-height: 690px; }
  .homepage-projection-table { min-width: 1400px; }
  .homepage-projection-table th,
  .homepage-projection-table td { padding: 8px 10px; }
  .homepage-projection-table th:nth-child(2),
  .homepage-projection-table td:nth-child(2) {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #fff;
    box-shadow: 1px 0 0 #e7ece9;
  }
  .homepage-projection-table thead th:nth-child(2) {
    z-index: 7;
    background: #f6f8f7;
  }
  .why-detail-row td { position: static !important; }
  .why-button::after { display: none; }
  .metric-info::after {
    position: fixed;
    top: auto;
    bottom: 22px;
    left: 50%;
    width: min(330px, calc(100vw - 32px));
    transform: translate(-50%, 5px);
  }
  .metric-info:hover::after,
  .metric-info:focus-visible::after,
  .metric-info:focus::after { transform: translate(-50%, 0); }
}

/* v1.11.2: make the platform switch a primary heading-level control. */
.homepage-platform-toggle {
  margin-left: 4px;
  border: 1px solid #c5d5cd;
  border-radius: 11px;
  background: #f2f6f4;
  box-shadow: 0 1px 0 rgba(15,45,33,0.05), 0 4px 12px rgba(15,45,33,0.04);
}
.homepage-platform-toggle .segment {
  min-width: 86px;
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.homepage-platform-toggle .segment.is-active {
  background: #12251d;
  color: #fff;
}
.homepage-platform-toggle .segment:disabled {
  opacity: 0.76;
  color: #53665c;
}
@media (max-width: 760px) {
  .homepage-platform-toggle { margin-left: 0; }
}

/* WHY hover preview is rendered as a fixed overlay by JavaScript so table scrolling cannot clip it. */
.why-button::after { display: none !important; }
.floating-why-preview {
  position: fixed;
  z-index: 999;
  width: min(320px, calc(100vw - 28px));
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: #102019;
  color: #f4f8f6;
  box-shadow: 0 15px 35px rgba(0,0,0,0.26);
  font-size: 0.77rem;
  font-weight: 650;
  line-height: 1.45;
  pointer-events: none;
}

/* v1.13: Sorare homepage projection tab. */
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table {
  min-width: 1450px;
}
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table th:nth-child(5),
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table td:nth-child(5) { width: 108px; }
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table th:nth-child(6),
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table td:nth-child(6),
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table th:nth-child(7),
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table td:nth-child(7),
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table th:nth-child(8),
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table td:nth-child(8) { width: 88px; }
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table th:nth-child(9),
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table td:nth-child(9) { width: 78px; }
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table th:nth-child(10),
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table td:nth-child(10) { width: 86px; }
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table th:nth-child(11),
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table td:nth-child(11) { width: 104px; }
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table th:nth-child(12),
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table td:nth-child(12) { width: 100px; }
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table th:nth-child(13),
.homepage-projection-panel[data-platform="sorare"] .homepage-projection-table td:nth-child(13) { width: 72px; text-align: center; }
.homepage-platform-toggle .segment:not(:disabled) { cursor: pointer; }

/* === v1.15 FPL Predicted Points deep-dive board === */
.fpl-deep-panel { overflow: visible; }
.fpl-deep-headline { align-items: flex-start; }
.fpl-lens-shell {
  padding: 18px 34px 14px;
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  background: linear-gradient(180deg, #f9fbfa, #f5f8f6);
}
.fpl-lens-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fpl-lens-tab {
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid #cfdcd5;
  border-radius: 9px;
  background: #fff;
  color: #496057;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.055em;
  cursor: pointer;
}
.fpl-lens-tab:hover,
.fpl-lens-tab:focus-visible { border-color: #9dbcae; color: #175f44; outline: none; }
.fpl-lens-tab.is-active {
  border-color: #17382b;
  background: #17382b;
  color: #fff;
  box-shadow: 0 5px 15px rgba(17,55,40,0.13);
}
.fpl-lens-explainer {
  margin: 10px 0 0;
  color: #66776f;
  font-size: 0.82rem;
  line-height: 1.45;
}
.fpl-lens-explainer strong { color: #2d4439; }
.fpl-deep-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 34px;
}
.projection-search,
.projection-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #d5dfda;
  border-radius: 9px;
  background: #fff;
}
.projection-search { min-width: 220px; padding-left: 11px; color: #708078; }
.projection-search input {
  width: 200px;
  min-height: 38px;
  padding: 8px 10px 8px 7px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #33483e;
  font-size: 0.87rem;
}
.projection-select::after {
  content: "▾";
  position: absolute;
  right: 10px;
  color: #78877f;
  font-size: 0.72rem;
  pointer-events: none;
}
.projection-select select {
  min-width: 130px;
  min-height: 38px;
  padding: 8px 30px 8px 11px;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: #47574f;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}
.projection-select:nth-of-type(3) select { min-width: 160px; }
.projection-starter-toggle {
  margin-left: auto;
  display: inline-flex;
  padding: 3px;
  border: 1px solid #d3ddd8;
  border-radius: 10px;
  background: #f5f8f6;
}
.starter-filter {
  min-height: 34px;
  padding: 7px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #617169;
  font-size: 0.75rem;
  font-weight: 850;
  cursor: pointer;
}
.starter-filter.is-active { background: #fff; color: #174f3a; box-shadow: 0 1px 5px rgba(20,52,40,.09); }
.fpl-deep-status { padding-inline: 34px; }
.fpl-deep-table-scroll {
  max-height: 770px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: #fff;
}
.fpl-deep-table {
  width: 100%;
  min-width: 1360px;
  table-layout: auto;
}
.fpl-deep-table th,
.fpl-deep-table td {
  padding: 8px 8px;
  white-space: nowrap;
}
.fpl-deep-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #f4f7f5;
  box-shadow: inset 0 -1px 0 #dde6e1;
  font-size: 0.73rem;
}
.fpl-deep-table tbody td { height: 43px; line-height: 1.18; }
.fpl-deep-table .player-cell { min-width: 176px; }
.fpl-deep-table .player-meta { margin-top: 2px; font-size: 0.69rem; line-height: 1.15; }
.fpl-deep-table td:nth-child(n+5):not(.player-drawer-row td) { text-align: center; }
.fpl-deep-table .primary-metric-left { border-left: 2px solid rgba(24,129,89,.58) !important; }
.fpl-deep-table .primary-metric-right { border-right: 2px solid rgba(24,129,89,.58) !important; }
.fpl-deep-table thead .primary-metric {
  background: #eaf4ef;
  color: #285844;
  box-shadow: inset 0 2px 0 rgba(24,129,89,.72), inset 0 -1px 0 #dce7e1;
}
.fpl-deep-table thead .primary-metric-single,
.fpl-deep-table td.primary-metric-single {
  border-left: 2px solid rgba(24,129,89,.58) !important;
  border-right: 2px solid rgba(24,129,89,.58) !important;
}
.player-profile-link {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #192d24;
  text-align: left;
  cursor: pointer;
}
.player-profile-link:hover,
.player-profile-link:focus-visible { color: #14734f; outline: none; text-decoration: underline; text-underline-offset: 2px; }
.profile-cell { text-align: center; }
.profile-button {
  min-height: 29px;
  padding: 5px 8px;
  border: 1px solid #c8ddd3;
  border-radius: 8px;
  background: #edf7f2;
  color: #166747;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.055em;
  cursor: pointer;
}
.profile-button:hover,
.profile-button:focus-visible,
.profile-button[aria-expanded="true"] { border-color: #91c2aa; background: #dff1e7; outline: none; }
.action-rate-cell { text-align: center !important; font-variant-numeric: tabular-nums; }
.action-rate-cell strong { font-weight: 900; }
.action-rate-1 { background: #f2f6f4 !important; color: #66766e; }
.action-rate-2 { background: #e7f1ed !important; color: #47665a; }
.action-rate-3 { background: #d9ebe4 !important; color: #315d4d; }
.action-rate-4 { background: #c4e2d7 !important; color: #235745; }
.action-rate-5 { background: #a7d5c4 !important; color: #174b38; }
.action-rate-6 { background: #83c3ab !important; color: #0e3f2d; }
.fpl-deep-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 11px 34px;
  border-top: 1px solid #e3e9e6;
  background: #fafbfa;
  color: #6a7972;
  font-size: 0.74rem;
  line-height: 1.4;
}
.fpl-deep-legend strong { color: #43564c; }
.player-drawer-row td {
  height: auto !important;
  padding: 0 !important;
  white-space: normal !important;
  text-align: left !important;
  background: #edf5f1;
}
.player-drawer-card {
  padding: 24px 26px 28px;
  border-top: 2px solid #99cdb5;
  border-bottom: 2px solid #d9e8e0;
  background: linear-gradient(145deg, #f4f9f6 0%, #fbfcfb 58%, #f2f7f4 100%);
}
.player-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.drawer-eyebrow,
.drawer-section-kicker {
  margin: 0 0 4px;
  color: #168258;
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.player-drawer-head h3 { margin: 0; color: #16271f; font-size: 1.3rem; }
.player-drawer-head p:last-child { margin: 4px 0 0; color: #6a7972; font-size: .83rem; }
.player-drawer-summary {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 8px;
}
.player-drawer-summary > div {
  padding: 11px 12px;
  border: 1px solid #d9e5df;
  border-radius: 10px;
  background: rgba(255,255,255,.78);
}
.player-drawer-summary span { display: block; color: #6f7c76; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.player-drawer-summary strong { display: block; margin-top: 3px; color: #173d2d; font-size: 1.05rem; }
.player-drawer-summary > div.heatmap-1,
.player-drawer-summary > div.heatmap-2,
.player-drawer-summary > div.heatmap-3,
.player-drawer-summary > div.heatmap-4,
.player-drawer-summary > div.heatmap-5,
.player-drawer-summary > div.heatmap-6 {
  border-color: rgba(45,92,70,.14);
}
.player-drawer-summary > div.heatmap-1 strong,
.player-drawer-summary > div.heatmap-2 strong,
.player-drawer-summary > div.heatmap-3 strong,
.player-drawer-summary > div.heatmap-4 strong,
.player-drawer-summary > div.heatmap-5 strong,
.player-drawer-summary > div.heatmap-6 strong { color: inherit; }
.player-drawer-summary > div.heatmap-1 span,
.player-drawer-summary > div.heatmap-2 span,
.player-drawer-summary > div.heatmap-3 span,
.player-drawer-summary > div.heatmap-4 span,
.player-drawer-summary > div.heatmap-5 span,
.player-drawer-summary > div.heatmap-6 span { color: currentColor; opacity: .78; }
.player-drawer-why {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid #d8e5de;
  border-radius: 12px;
  background: rgba(255,255,255,.8);
}
.player-drawer-why .why-detail-copy { max-width: 1180px; font-size: .9rem; }
.drawer-muted { margin: 6px 0 0; color: #718079; font-size: .86rem; }
.player-drawer-actions { margin-top: 22px; }
.player-drawer-actions-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}
.player-drawer-actions-head h4 { margin: 0; color: #1c3429; font-size: 1.03rem; }
.player-drawer-actions-head > p { max-width: 580px; margin: 0; color: #6b7a73; font-size: .76rem; line-height: 1.45; text-align: right; }
.action-profile-group + .action-profile-group { margin-top: 16px; }
.action-profile-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}
.action-profile-group-head h4 { margin: 0; color: #344b40; font-size: .82rem; }
.action-profile-group-head span { color: #849089; font-size: .67rem; text-transform: uppercase; letter-spacing: .06em; }
.action-profile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}
.action-profile-tile {
  min-height: 84px;
  padding: 10px 11px;
  border: 1px solid rgba(31,92,67,.10);
  border-radius: 9px;
}
.action-profile-label { display: block; min-height: 30px; color: #4e6258; font-size: .68rem; font-weight: 800; line-height: 1.25; }
.action-profile-tile strong { display: block; margin-top: 3px; color: #173c2d; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.action-profile-tile small { display: block; margin-top: 3px; color: #5f7369; font-size: .61rem; line-height: 1.2; }
.fpl-deep-empty { padding: 60px 20px; }

@media (max-width: 1100px) {
  .projection-starter-toggle { margin-left: 0; }
  .player-drawer-summary { grid-template-columns: repeat(3, minmax(110px,1fr)); }
  .action-profile-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .fpl-lens-shell,
  .fpl-deep-controls,
  .fpl-deep-status,
  .fpl-deep-legend { padding-inline: 18px; }
  .fpl-lens-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .fpl-lens-tab { flex: 0 0 auto; }
  .fpl-deep-controls { flex-wrap: nowrap; overflow-x: auto; }
  .projection-search { min-width: 190px; }
  .projection-starter-toggle { flex: 0 0 auto; }
  .fpl-deep-table-scroll { max-height: 720px; }
  .fpl-deep-table { min-width: 1450px; }
  .fpl-deep-table th:nth-child(2),
  .fpl-deep-table td:nth-child(2) {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #fff;
    box-shadow: 1px 0 0 #e5ece8;
  }
  .fpl-deep-table thead th:nth-child(2) { z-index: 7; background: #f4f7f5; }
  .player-drawer-row td { position: static !important; }
  .player-drawer-card { padding: 20px 16px 24px; }
  .player-drawer-summary { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .player-drawer-actions-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .player-drawer-actions-head > p { text-align: left; }
  .action-profile-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .action-profile-tile { min-height: 78px; }
}

/* === v1.16 player-row drawers + wide-table navigation === */
.projection-player-row {
  cursor: pointer;
}
.projection-player-row > td {
  transition: box-shadow 120ms ease, filter 120ms ease;
}
.projection-player-row:hover > td,
.projection-player-row:focus-visible > td,
.projection-player-row[aria-expanded="true"] > td {
  box-shadow: inset 0 1px 0 rgba(24,129,89,.24), inset 0 -1px 0 rgba(24,129,89,.24);
}
.projection-player-row:hover > td { filter: brightness(.992); }
.projection-player-row:focus-visible {
  outline: 2px solid rgba(24,129,89,.62);
  outline-offset: -2px;
}
.homepage-profile-button { min-width: 62px; }
.homepage-player-drawer-row .player-drawer-card {
  padding-top: 22px;
}

/* Give the dedicated projections product more room on large screens, while
   retaining an explicit horizontal scrollbar for narrower windows. */
.predicted-points-product.page-width {
  width: min(1600px, calc(100% - 40px));
}
.fpl-deep-table { min-width: 1360px; }
.fpl-x-scrollbar {
  height: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid #e2e9e5;
  border-bottom: 1px solid #e2e9e5;
  background: #f7f9f8;
  scrollbar-color: #9eb8aa #edf2ef;
  scrollbar-width: auto;
}
.fpl-x-scrollbar[hidden] { display: none; }
.fpl-x-scrollbar-track { height: 1px; }
.fpl-deep-table-scroll {
  overflow-x: auto;
  scrollbar-color: #9eb8aa #edf2ef;
}

@media (max-width: 760px) {
  .predicted-points-product.page-width { width: calc(100% - 20px); }
  .fpl-deep-table { min-width: 1450px; }
  .fpl-x-scrollbar { height: 17px; }
}

/* === v1.16.1 small fit + drawer heatmap polish ===
   Desktop tables should use the full panel width without forcing a tiny
   horizontal overflow. Mobile keeps the intentionally scrollable wide view. */
@media (min-width: 761px) {
  .homepage-projection-table,
  .homepage-projection-panel[data-platform="sorare"] .homepage-projection-table,
  .fpl-deep-table {
    width: 100%;
    min-width: 0;
  }
  .homepage-projection-table th,
  .homepage-projection-table td { padding-left: 7px; padding-right: 7px; }
  .fpl-deep-table th,
  .fpl-deep-table td { padding-left: 6px; padding-right: 6px; }
  .homepage-projection-table .player-cell,
  .fpl-deep-table .player-cell { min-width: 158px; }
}

/* === v1.16.2 desktop table-fit correction ===
   Metric tooltips were extending the scrollable table's intrinsic scroll width,
   creating a small horizontal scrollbar even when the columns themselves fit.
   Anchor tooltips inward from their info icon instead. The deep overview also
   gives back 1px of horizontal padding per side so it fits cleanly at common
   desktop widths without making the table feel cramped. */
@media (min-width: 761px) {
  .metric-info::after {
    left: auto;
    right: 0;
    transform: translateY(-3px);
  }
  .metric-info:hover::after,
  .metric-info:focus-visible::after,
  .metric-info:focus::after {
    transform: translateY(0);
  }
  .fpl-deep-table th,
  .fpl-deep-table td {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* === v1.17 live Fixture Difficulty + Next 5 === */
.fixture-live-product.page-width {
  width: min(1600px, calc(100% - 40px));
}
.fixture-live-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 34px;
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  background: linear-gradient(180deg, #f9fbfa, #f5f8f6);
}
.fixture-position-tabs {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.fixture-position-tab {
  min-width: 62px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #cfdcd5;
  border-radius: 9px;
  background: #fff;
  color: #496057;
  font-size: .73rem;
  font-weight: 950;
  letter-spacing: .065em;
  cursor: pointer;
}
.fixture-position-tab:hover,
.fixture-position-tab:focus-visible { border-color: #9dbcae; color: #175f44; outline: none; }
.fixture-position-tab.is-active {
  border-color: #17382b;
  background: #17382b;
  color: #fff;
  box-shadow: 0 5px 15px rgba(17,55,40,.13);
}
.fixture-team-select select { min-width: 176px; }
.fixture-scale-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 34px;
  border-bottom: 1px solid #e1e8e4;
  background: #fff;
  color: #738179;
  font-size: .78rem;
}
.fixture-live-scale { gap: 4px; padding: 0; }
.fixture-live-scale > span {
  min-width: 28px;
  padding: 4px 7px;
  border: 1px solid rgba(0,0,0,.06);
}
.fixture-live-scale small { margin-left: 5px; color: #6e7d75; font-size: .72rem; font-weight: 800; }
.fixture-live-table-scroll {
  max-height: 760px;
  overflow: auto;
  scrollbar-color: #9eb8aa #edf2ef;
}
.fixture-live-grid {
  width: 100%;
  min-width: 1120px;
  table-layout: fixed;
}
.fixture-live-grid thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #f7faf8;
}
.fixture-live-grid th:first-child,
.fixture-live-grid td:first-child {
  width: 15%;
  min-width: 160px;
  text-align: left;
}
.fixture-live-grid th:not(:first-child),
.fixture-live-grid td:not(:first-child) { width: 17%; }
.fixture-live-grid td { padding: 8px 7px; }
.fixture-team {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #fff !important;
  box-shadow: 1px 0 0 #e3eae6;
}
.fixture-team strong { display: block; color: #21382e; font-size: .86rem; line-height: 1.14; }
.fixture-team span { display: block; margin-top: 3px; color: #87928d; font-size: .65rem; font-weight: 850; letter-spacing: .05em; }
.fixture-live-cell {
  min-width: 0;
  display: grid;
  gap: 7px;
  justify-items: center;
  padding: 4px 3px;
  border-radius: 9px;
}
.fixture-live-cell > strong { color: #293f35; font-size: .81rem; white-space: nowrap; }
.fixture-live-cell > strong span { color: #728179; font-size: .68rem; }
.fixture-live-grid .position-ratings { gap: 4px; }
.fixture-live-grid .difficulty {
  min-width: 38px;
  padding: 4px 6px;
  font-size: .69rem;
}
.fixture-position-detail {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 9px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 9px;
  text-align: left;
}
.fixture-position-detail .fixture-fdr-number {
  grid-row: 1 / span 2;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 950;
}
.fixture-position-detail strong { color: #283d34; font-size: .73rem; }
.fixture-position-detail small { color: #607169; font-size: .65rem; line-height: 1.25; }
.fixture-position-detail.d1 { background: #edf9f1; }
.fixture-position-detail.d2 { background: #f3f9e9; }
.fixture-position-detail.d3 { background: #fff8dc; }
.fixture-position-detail.d4 { background: #fff0e3; }
.fixture-position-detail.d5 { background: #ffebeb; }
.fixture-position-detail.d1 .fixture-fdr-number { background: #dff7e8; color: #0d6848; }
.fixture-position-detail.d2 .fixture-fdr-number { background: #edf7dc; color: #41691b; }
.fixture-position-detail.d3 .fixture-fdr-number { background: #fff1bf; color: #765700; }
.fixture-position-detail.d4 .fixture-fdr-number { background: #ffe1c7; color: #8a4519; }
.fixture-position-detail.d5 .fixture-fdr-number { background: #ffd5d5; color: #8e2d2d; }
.fixture-live-foot { align-items: flex-start; }
.fixture-live-foot p { max-width: 1040px; }

.next5-lens-shell { padding-top: 15px; padding-bottom: 12px; }
.next5-controls { border-top: 0; }
.next5-table-scroll {
  max-height: 680px;
  overflow: auto;
  scrollbar-color: #9eb8aa #edf2ef;
}
.next5-live-table {
  width: 100%;
  min-width: 0;
  table-layout: auto;
}
.next5-live-table thead th {
  position: sticky;
  top: 0;
  z-index: 6;
  background: #f7faf8;
}
.next5-live-table th,
.next5-live-table td { padding-left: 7px; padding-right: 7px; }
.next5-live-table .player-cell { min-width: 176px; }
.next5-live-table th:not(:nth-child(2)),
.next5-live-table td:not(:nth-child(2)) { text-align: center; }
.next5-live-table .next5-gw-cell { min-width: 115px; }
.next5-gw-fixture {
  display: block;
  margin-bottom: 3px;
  color: #6f7d76;
  font-size: .67rem;
  font-weight: 800;
  white-space: nowrap;
}
.next5-gw-cell strong { font-size: .91rem; }
.next5-market-note {
  padding: 10px 34px;
  border-top: 1px solid #e3eae6;
  background: #f8faf9;
  color: #6b7a72;
  font-size: .75rem;
  line-height: 1.4;
}
.next5-market-note strong { color: #334a3f; }
.next5-haul-6 { background: #cbeed8; color: #0b5a3d; }
.next5-haul-5 { background: #dff3d6; color: #315f24; }
.next5-haul-4 { background: #edf2c7; color: #5f651b; }
.next5-haul-3 { background: #fff0bd; color: #745700; }
.next5-haul-2 { background: #ffe0c8; color: #874516; }
.next5-haul-1 { background: #ffd7d7; color: #8b3030; }
.next5-drawer-week-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.next5-week-card {
  overflow: hidden;
  border: 1px solid #dbe5e0;
  border-radius: 12px;
  background: #fff;
}
.next5-week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
  border-bottom: 1px solid #e4ebe7;
  background: #f8faf9;
}
.next5-week-head strong { color: #253d32; font-size: .78rem; }
.next5-week-source {
  padding: 3px 6px;
  border-radius: 999px;
  background: #edf4f0;
  color: #61746a;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.next5-week-proj {
  padding: 11px;
  text-align: center;
}
.next5-week-proj span { display: block; color: #6e7d75; font-size: .67rem; font-weight: 800; }
.next5-week-proj strong { display: block; margin-top: 2px; font-size: 1.42rem; color: #173d2d; }
.next5-week-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #e4ebe7;
}
.next5-week-metrics div {
  min-height: 58px;
  padding: 8px;
  border-right: 1px solid #e4ebe7;
  border-bottom: 1px solid #e4ebe7;
}
.next5-week-metrics div:nth-child(2n) { border-right: 0; }
.next5-week-metrics div:nth-last-child(-n+2) { border-bottom: 0; }
.next5-week-metrics span { display: block; color: #7a8881; font-size: .60rem; font-weight: 800; }
.next5-week-metrics strong { display: block; margin-top: 2px; color: #294137; font-size: .80rem; }

@media (max-width: 1100px) {
  .next5-drawer-week-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fixture-live-toolbar { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .fixture-live-product.page-width { width: calc(100% - 20px); }
  .fixture-live-toolbar,
  .fixture-scale-row,
  .next5-market-note { padding-left: 16px; padding-right: 16px; }
  .fixture-scale-row { align-items: flex-start; flex-direction: column; }
  .fixture-live-grid { min-width: 920px; }
  .next5-live-table { min-width: 1120px; }
  .next5-drawer-week-grid { grid-template-columns: 1fr; }
}
/* Ensure Next5 haul-count heat bands carry into drawer summary cards. */
.player-drawer-summary > div.next5-haul-1 { background: #ffd7d7; color: #8b3030; }
.player-drawer-summary > div.next5-haul-2 { background: #ffe0c8; color: #874516; }
.player-drawer-summary > div.next5-haul-3 { background: #fff0bd; color: #745700; }
.player-drawer-summary > div.next5-haul-4 { background: #edf2c7; color: #5f651b; }
.player-drawer-summary > div.next5-haul-5 { background: #dff3d6; color: #315f24; }
.player-drawer-summary > div.next5-haul-6 { background: #cbeed8; color: #0b5a3d; }
.player-drawer-summary > div[class*="next5-haul-"] span,
.player-drawer-summary > div[class*="next5-haul-"] strong { color: inherit; }
@media (min-width: 761px) {
  .fixture-live-grid { min-width: 1040px; }
}


/* === v1.17.1 fixture-matrix clarity + denser Next 5 viewport === */
.fixture-live-scale {
  display: inline-flex;
  align-items: center;
}
.fixture-live-scale .fixture-scale-label {
  margin: 0;
  color: #6e7d75;
  font-size: .72rem;
  font-weight: 850;
}
.fixture-live-scale .fixture-scale-label-easier { margin-right: 5px; }
.fixture-live-scale .fixture-scale-label-harder { margin-left: 5px; }
.fixture-team strong {
  font-size: .96rem;
  font-weight: 950;
  line-height: 1.10;
}
.fixture-vs {
  margin-right: 2px;
  color: #7b8982 !important;
  font-size: .67rem !important;
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: lowercase;
}
.next5-table-scroll { max-height: 800px; }
.next5-live-table th,
.next5-live-table td {
  padding-top: 8px;
  padding-bottom: 8px;
}
.next5-live-table .player-meta {
  margin-top: 2px;
  font-size: .70rem;
  line-height: 1.15;
}
.next5-live-table .player-cell strong { line-height: 1.10; }
@media (max-width: 760px) {
  .next5-table-scroll { max-height: 720px; }
}

/* FPL market data freshness note: price/ownership can move during the week. */
.market-snapshot-note {
  margin: .3rem 0 0;
  color: var(--muted, #6f7f7a);
  font-size: .76rem;
  line-height: 1.35;
  font-weight: 600;
}

/* === v1.20 live DEFCON prediction board === */
.defcon-live-product.page-width {
  width: min(1600px, calc(100% - 40px));
}
.defcon-live-panel .fpl-lens-shell { border-top: 1px solid var(--light-line); }
.defcon-live-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.defcon-filter-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 660px;
  flex-wrap: wrap;
}
.defcon-live-status { padding-top: 10px; padding-bottom: 10px; }
.defcon-live-scroll {
  max-height: 800px;
  overflow: auto;
  scrollbar-gutter: stable;
  scrollbar-color: #9eb8aa #edf2ef;
}
.defcon-live-table {
  width: 100%;
  table-layout: fixed;
  min-width: 1180px;
}
.defcon-live-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
}
.defcon-live-table th,
.defcon-live-table td {
  padding: 10px 8px;
}
.defcon-live-table th:nth-child(1),
.defcon-live-table td:nth-child(1) { width: 58px; }
.defcon-live-table th:nth-child(2),
.defcon-live-table td:nth-child(2) { width: 205px; }
.defcon-live-table th:nth-child(3),
.defcon-live-table td:nth-child(3) { width: 62px; text-align: center; }
.defcon-live-table th:nth-child(4),
.defcon-live-table td:nth-child(4) { width: 150px; }
.defcon-live-table th:nth-child(5),
.defcon-live-table td:nth-child(5) { width: 112px; text-align: center; }
.defcon-live-table th:nth-child(n+6),
.defcon-live-table td:nth-child(n+6) { text-align: center; }
.defcon-live-table .defcon-primary {
  border-left: 2px solid rgba(24,129,89,.42);
  border-right: 2px solid rgba(24,129,89,.42);
}
.defcon-live-table thead .defcon-primary {
  box-shadow: inset 0 2px 0 rgba(24,129,89,.70), inset 0 -1px 0 #dce7e1;
  background: #edf6f1;
  color: #315f4d;
}
.defcon-live-table .metric-info::after { min-width: 260px; }
.defcon-live-table .player-cell strong { font-size: .91rem; }
.defcon-live-table .player-meta { font-size: .66rem; }
.defcon-live-table .defcon-threshold {
  min-width: 74px;
  padding: 5px 7px;
  font-size: .69rem;
}
.defcon-na {
  color: #8a9690;
  text-align: center;
}
.defcon-na span,
.defcon-na small { display: block; }
.defcon-na small { margin-top: 2px; font-size: .61rem; font-weight: 800; }
.defcon-live-foot code {
  padding: 1px 4px;
  border-radius: 4px;
  background: #eef3f0;
  color: #456257;
  font-size: .84em;
}
.defcon-component-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e9e5;
}
.defcon-component-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.defcon-component-tile {
  min-height: 86px;
  padding: 13px 14px;
  border: 1px solid rgba(76,101,89,.10);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.defcon-component-tile > span {
  color: #5c6f66;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.defcon-component-tile > strong {
  margin-top: 5px;
  color: #183329;
  font-size: 1.22rem;
}
.defcon-component-tile > small {
  margin-top: 4px;
  color: #6f8078;
  font-size: .65rem;
  line-height: 1.3;
}
.defcon-component-neutral { background: #f3f6f4; }
.defcon-component-neutral > strong { font-size: 1rem; }

@media (min-width: 761px) {
  .defcon-live-table { min-width: 0; }
}
@media (max-width: 980px) {
  .defcon-live-controls { align-items: stretch; }
  .defcon-filter-cluster { justify-content: flex-start; }
  .defcon-live-table { min-width: 1180px; }
  .defcon-component-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .defcon-live-product.page-width { width: calc(100% - 20px); }
  .defcon-filter-cluster { flex: 1 1 100%; }
  .defcon-filter-cluster .projection-search,
  .defcon-filter-cluster .projection-select { width: 100%; }
  .defcon-filter-cluster .projection-search input,
  .defcon-filter-cluster .projection-select select { width: 100%; }
  .defcon-live-scroll { max-height: 720px; }
  .defcon-live-table { min-width: 1220px; }
  .defcon-component-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* === v1.20.1 DEFCON clean-sheet context === */
.defcon-drawer-card .player-drawer-summary {
  grid-template-columns: repeat(4, minmax(110px, 1fr));
}
@media (max-width: 980px) {
  .defcon-drawer-card .player-drawer-summary { grid-template-columns: repeat(2, minmax(110px, 1fr)); }
}

/* === v1.21 Live FPL Fixtures === */
.fixtures-live-panel { overflow: hidden; }
.fixtures-live-head { align-items: flex-start; }
.fixtures-live-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.fixtures-gw-tabs {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid #dce6e1;
  border-radius: 12px;
  background: #f4f7f5;
}
.fixtures-gw-tabs .segment {
  min-width: 66px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #53645b;
  font-weight: 900;
}
.fixtures-gw-tabs .segment.is-active {
  background: #1f6f52;
  color: #fff;
  box-shadow: 0 2px 8px rgba(31,111,82,.16);
}
.fixtures-live-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px 8px;
  color: #75837c;
  font-size: .76rem;
  font-weight: 850;
}
.fixtures-live-summary strong {
  color: #274437;
  font-size: .88rem;
}
.fixtures-live-block { margin-top: 0; }
.fixtures-live-panel .live-fixture-row {
  grid-template-columns: minmax(180px,1fr) 34px minmax(180px,1fr) 126px;
  gap: 12px;
  min-height: 54px;
  padding: 7px 16px;
}
.fixtures-live-panel .fixture-team {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0;
  background: transparent;
}
.fixtures-live-panel .fixture-team-home { justify-content: flex-end; text-align: right; }
.fixtures-live-panel .fixture-team-away { justify-content: flex-start; text-align: left; }
.fixtures-live-panel .fixture-team strong {
  display: block;
  overflow: hidden;
  color: #203229;
  font-size: .9rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fixtures-live-panel .fixture-team-mark {
  display: inline-grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin: 0;
  place-items: center;
  border: 1px solid #d8e3de;
  border-radius: 50%;
  background: #eff5f2;
  color: #2d7058;
  font-size: .64rem;
  font-weight: 950;
  letter-spacing: 0;
}
.fixtures-live-panel .fixture-vs {
  color: #8c9a93;
  text-align: center;
  font-size: .74rem;
  font-weight: 900;
  text-transform: lowercase;
}
.fixtures-live-panel .fixture-analysis-link {
  justify-self: end;
  color: #187653;
  font-size: .74rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}
.fixtures-live-foot { margin-top: 14px; }
.fixtures-empty-state {
  padding: 26px 18px;
  color: #718079;
  font-size: .9rem;
  font-weight: 750;
  text-align: center;
}

@media (max-width: 820px) {
  .fixtures-live-controls { align-items: stretch; flex-direction: column; }
  .fixtures-gw-tabs { overflow-x: auto; width: 100%; }
  .fixtures-gw-tabs .segment { flex: 1 0 62px; }
  .fixture-team-select select { width: 100%; min-width: 0; }
  .fixtures-live-panel .live-fixture-row {
    grid-template-columns: minmax(0,1fr) 26px minmax(0,1fr);
    gap: 7px;
    min-height: 52px;
    padding: 8px 10px;
  }
  .fixtures-live-panel .fixture-analysis-link { display: none; }
  .fixtures-live-panel .fixture-team-mark { display: none; }
  .fixtures-live-panel .fixture-team strong { font-size: .82rem; }
}

/* Homepage launch feature cards */
.home-feature-card { overflow: hidden; }
.home-feature-media {
  display: block;
  margin: 16px 0 16px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.035);
}
.home-feature-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}
.home-feature-media:hover img { transform: scale(1.015); filter: brightness(1.04); }
.home-feature-card h2 { margin-top: 2px; }
.newsletter-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.newsletter-status {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.newsletter-fallback-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(93,242,173,0.28);
  border-radius: 12px;
  background: rgba(93,242,173,0.08);
  color: var(--accent);
  font-weight: 850;
}
.newsletter-fallback-link:hover { background: rgba(93,242,173,0.13); }

@media (max-width: 900px) {
  .home-feature-media { margin-top: 14px; }
}

/* v1.24 — homepage feature cards: content-first, not interchangeable placeholders */
.homepage-feature-grid { align-items: stretch; }
.home-feature-card { min-width: 0; }
.home-feature-card .panel-topline { align-items: center; }
.home-feature-card .slot-tag { white-space: nowrap; text-transform: none; letter-spacing: .015em; }
.home-feature-card .home-feature-media { position: relative; margin: 16px -4px 18px; aspect-ratio: 16/9; }
.home-feature-card .home-feature-media img { height: 100%; width: 100%; aspect-ratio: auto; object-fit: cover; }
.home-feature-image-label {
  position: absolute; bottom: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 10px; border-radius: 9px;
  background: rgba(4,15,18,.88); border: 1px solid rgba(255,255,255,.16);
  color: #effff5; font-size: .73rem; font-weight: 850; letter-spacing: .01em;
}
.home-feature-image-label span { color: var(--accent); }
.home-feature-card h2 a:hover { color: var(--accent); }
.home-feature-current_fpl .home-feature-media img { object-position: center 46%; }
.home-feature-latest_blog .home-feature-media img { object-position: center 35%; }
.home-feature-fixture_next5 .home-feature-media img { object-position: center 19%; }
.home-feature-latest_blog .slot-tag { color: #e8f6d6; background: rgba(93,242,173,.09); border-color: rgba(93,242,173,.22); }
.home-feature-fixture_next5 .slot-tag { color: #d1e6ff; background: rgba(127,184,244,.09); border-color: rgba(127,184,244,.24); }
.kit-signup-embed { width: 100%; min-height: 74px; }
.kit-signup-embed form { max-width: 100%; }
@media(max-width:900px){ .home-feature-card .home-feature-media { margin-left:0; margin-right:0; } }

/* v1.25 — homepage cards are real destinations, not generic flexible slots */
.homepage-feature-grid { gap: 22px; }
.home-feature-card {
  min-height: 430px;
  padding: 18px 18px 20px;
  border-top: 2px solid rgba(93,242,173,.24);
}
.home-feature-card .home-feature-media {
  margin: 14px 0 18px;
  border-radius: 12px;
  background: #f4f7f5;
}
.home-feature-card .home-feature-media img { aspect-ratio: 16 / 9; object-fit: cover; }
.home-feature-current_fpl { border-top-color: rgba(93,242,173,.72); }
.home-feature-latest_blog { border-top-color: rgba(235,241,207,.62); }
.home-feature-fixture_next5 { border-top-color: rgba(130,219,188,.66); }
.home-feature-current_fpl .home-feature-media img { object-position: center center; }
.home-feature-latest_blog .home-feature-media img { object-position: center 28%; }
.home-feature-fixture_next5 .home-feature-media img { object-position: center 20%; }
.home-feature-card > p:not(.eyebrow) { font-size: .96rem; line-height: 1.56; }
.home-feature-card .panel-link { padding-top: 18px; }
@media (max-width: 900px) { .home-feature-card { min-height: 0; } }

/* v1.26 — final homepage launch cards */
.homepage-feature-grid {
  gap: 22px;
  align-items: stretch;
}
.home-feature-card {
  display: flex;
  min-width: 0;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.09);
  border-top: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(21,38,43,.98), rgba(15,30,35,.98));
}
.home-feature-card .home-feature-media {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
  border-radius: 0;
  overflow: hidden;
  background: #0c191d;
}
.home-feature-card .home-feature-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(3,13,16,.30));
  pointer-events: none;
}
.home-feature-card .home-feature-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}
.home-feature-card .home-feature-media:hover img {
  transform: scale(1.018);
  filter: brightness(1.04);
}
.home-feature-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 21px;
}
.home-feature-copy .eyebrow { margin: 0 0 9px; }
.home-feature-copy h2 { margin: 0 0 10px; }
.home-feature-copy h2 a { color: inherit; text-decoration: none; }
.home-feature-copy h2 a:hover { color: var(--accent); }
.home-feature-copy > p:not(.eyebrow) {
  margin: 0;
  font-size: .95rem;
  line-height: 1.58;
}
.home-feature-copy .panel-link {
  margin-top: auto;
  padding-top: 20px;
}
.home-feature-current_fpl { box-shadow: inset 0 3px 0 rgba(93,242,173,.72); }
.home-feature-current_fpl .home-feature-media img { object-position: center 45%; }
.home-feature-latest_blog { box-shadow: inset 0 3px 0 rgba(232,246,214,.50); }
.home-feature-latest_blog .home-feature-media img { object-position: center 26%; }
.home-feature-fixture_next5 { box-shadow: inset 0 3px 0 rgba(127,184,244,.62); }
.home-feature-fixture_next5 .home-feature-media img { object-position: center 26%; }
.homepage-email-panel {
  align-items: center;
  gap: 34px;
}
.homepage-email-panel .newsletter-slot {
  min-width: min(100%, 420px);
}
.kit-signup-shell {
  width: 100%;
  min-height: 86px;
  padding: 12px 14px;
  border: 1px solid rgba(93,242,173,.16);
  border-radius: 14px;
  background: rgba(3,13,16,.20);
}
.kit-signup-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.kit-signup-embed { width: 100%; min-height: 44px; }
.kit-signup-embed form { max-width: 100%; }
@media (max-width: 900px) {
  .home-feature-card { min-height: 0; }
  .homepage-email-panel { align-items: stretch; gap: 22px; }
  .homepage-email-panel .newsletter-slot { min-width: 0; width: 100%; }
}
