:root {
  --ink: #f7f8f8;
  --muted: #9ca5aa;
  --soft: #c8ced2;
  --paper: #07090c;
  --panel: rgba(18, 21, 27, 0.82);
  --panel-solid: #11151b;
  --panel-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --green: #63d59b;
  --green-deep: #153d2a;
  --blue: #73a7ff;
  --gold: #e4bd72;
  --bronze: #a98255;
  --red: #ef746c;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(160deg, rgba(99, 213, 155, 0.1), transparent 27rem),
    linear-gradient(205deg, rgba(115, 167, 255, 0.14), transparent 30rem),
    linear-gradient(180deg, #0b0f16 0%, var(--paper) 44rem);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 70%);
  animation: gridDrift 28s linear infinite;
}

a {
  color: inherit;
}

button,
input,
select,
textarea,
table {
  font: inherit;
}

.site-hero,
main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.site-hero {
  min-height: 420px;
  display: grid;
  align-content: space-between;
  padding: 0 0 72px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
  font-weight: 760;
}

.brand-lockup,
.nav-actions,
.slate-card-head,
.slate-badges,
.recommendation-banner,
.pick-topline,
footer {
  display: flex;
  align-items: center;
}

.brand-lockup {
  width: min(230px, 52vw);
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.brand-lockup:hover,
.brand-lockup:focus-visible {
  opacity: 0.86;
  transform: translateY(-1px);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 620;
}

.lab-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
  white-space: nowrap;
}

.lab-link:hover,
.lab-link:focus-visible {
  color: var(--ink);
}

.lab-link[aria-current="page"] {
  color: var(--ink);
}

.hero-copy {
  display: grid;
  place-items: center;
  text-align: center;
  width: 100%;
  padding: 44px 0 0;
}

.hero-title {
  position: relative;
  display: inline-block;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: calc(100% + 8px);
  top: clamp(8px, 0.9vw, 12px);
  min-height: 30px;
  margin-top: 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: #04110c;
  background: linear-gradient(135deg, #2ff3bf 0%, #f4ff64 100%);
  box-shadow: 0 0 0 0 rgba(47, 243, 191, 0.34), 0 12px 30px rgba(47, 243, 191, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  font-size: clamp(0.68rem, 0.9vw, 0.84rem);
  font-weight: 920;
  letter-spacing: 0;
  line-height: 1;
  transform: none;
  animation: betaPulse 3.8s ease-in-out infinite;
}

@keyframes betaPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(47, 243, 191, 0.34), 0 12px 30px rgba(47, 243, 191, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    filter: saturate(1);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(244, 255, 100, 0), 0 16px 42px rgba(244, 255, 100, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.78);
    filter: saturate(1.22);
  }
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0;
  font-weight: 760;
  margin: 0 0 5px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.4rem, 7.2vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-top: 5px;
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  line-height: 1.04;
}

.hero-copy p:last-child {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.6;
}

main {
  padding: 0 0 34px;
}

.scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: -18px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scoreboard div {
  min-width: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.015);
}

.scoreboard div + div {
  border-left: 1px solid var(--line);
}

.scoreboard span,
.readiness-grid span {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1;
  font-weight: 920;
}

.scoreboard p,
.readiness-grid p,
.pick-meta p,
td,
th,
.empty-state,
.status-panel p {
  color: var(--muted);
}

.content-band,
.status-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content-band {
  margin-top: 22px;
  padding: clamp(20px, 3vw, 32px);
}

.muted-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.014)),
    rgba(17, 21, 27, 0.72);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.split-band > * {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.pill-text {
  display: inline-block;
  transform: translateY(1px);
}

.pill.neutral {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
}

.pill.warn {
  color: #ffe4ba;
  background: rgba(228, 189, 114, 0.12);
}

.pill.good {
  color: #06100c;
  background: var(--green);
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.slate-grid {
  display: grid;
  gap: 14px;
}

.pick-card,
.slate-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: clamp(15px, 2vw, 18px);
  display: grid;
  gap: 12px;
  overflow: hidden;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pick-card:hover,
.slate-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.scoreboard::before,
.content-band::before,
.status-panel::before,
.pick-card::before,
.slate-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.09) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: shellSheen 8s ease-in-out infinite;
}

.pick-card::before,
.slate-card::before {
  opacity: 0.35;
  animation-duration: 9.5s;
}

.scoreboard > *,
.content-band > *,
.status-panel > *,
.pick-card > *,
.slate-card > * {
  position: relative;
  z-index: 1;
}

.slate-card-head {
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.slate-badges {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.slate-card-head strong,
.pick-topline strong {
  display: block;
  color: var(--ink);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.slate-card-head strong {
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
}

.slate-card-head span,
.pick-topline span {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  margin-top: 5px;
}

.projection-strip,
.slate-data-grid,
.pick-meta,
.compact-stats,
.game-summary,
.detail-grid,
.factor-list,
.readiness-grid {
  display: grid;
  gap: 8px;
}

.projection-strip {
  grid-template-columns: minmax(180px, 1.25fr) repeat(3, minmax(100px, 0.75fr));
}

.slate-data-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pick-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-stats,
.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-summary {
  grid-template-columns: minmax(230px, 1fr) repeat(3, minmax(94px, 0.32fr));
  align-items: stretch;
}

.factor-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.projection-strip > div,
.slate-data-grid > div,
.pick-meta div,
.detail-grid > div,
.compact-metric,
.readiness-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 12px;
}

.projection-strip span,
.slate-data-grid p,
.compact-metric span,
.factor-list span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
}

.projection-strip strong,
.slate-data-grid strong,
.pick-meta strong,
.detail-grid strong,
.compact-metric strong {
  display: block;
  color: var(--ink);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.compact-metric {
  display: grid;
  align-content: center;
  min-height: 64px;
}

.compact-metric strong {
  margin-top: 5px;
  font-size: 1.08rem;
}

.projection-strip strong {
  font-size: 1.28rem;
}

.projection-main {
  color: #06100c;
  background: var(--green) !important;
}

.projection-main span,
.projection-main strong {
  color: #06100c;
}

.projection-main strong {
  font-size: clamp(2.05rem, 4vw, 3.2rem);
}

.inline-side {
  color: var(--blue);
}

.inline-side.nrfi {
  color: var(--gold);
}

.slate-data-grid strong {
  font-size: 1rem;
}

.factor-list p {
  min-width: 0;
  color: var(--soft);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.recommendation-banner {
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.recommendation-banner strong {
  display: block;
  color: #06100c;
  font-size: clamp(1.05rem, 1.7vw, 1.42rem);
  line-height: 1;
  white-space: nowrap;
}

.recommendation-banner span {
  color: rgba(6, 16, 12, 0.78);
  font-size: 0.8rem;
  font-weight: 760;
  text-align: right;
}

.recommendation-banner.play {
  background: var(--green);
  border-color: rgba(99, 213, 155, 0.62);
}

.recommendation-banner.pass {
  background: rgba(255, 255, 255, 0.075);
}

.recommendation-banner.pass strong,
.recommendation-banner.pass span,
.recommendation-banner.watch strong,
.recommendation-banner.watch span,
.recommendation-banner.locked strong,
.recommendation-banner.locked span {
  color: var(--ink);
}

.recommendation-banner.watch {
  background: rgba(228, 189, 114, 0.14);
  border-color: rgba(228, 189, 114, 0.26);
}

.recommendation-banner.locked {
  background: rgba(115, 167, 255, 0.14);
  border-color: rgba(115, 167, 255, 0.26);
}

.pick-topline {
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pick-topline strong {
  font-size: 1.02rem;
}

.side-badge {
  border-radius: 8px;
  padding: 8px 10px;
  color: #06100c;
  background: var(--blue);
  font-weight: 920;
}

.side-badge.nrfi {
  background: var(--gold);
}

.pick-meta strong {
  font-size: clamp(1rem, 1.7vw, 1.32rem);
}

.pick-meta p {
  font-size: 0.72rem;
  margin-top: 4px;
}

.card-details {
  border-top: 1px solid var(--line);
  padding-top: 2px;
}

.card-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
  color: var(--soft);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 760;
  list-style: none;
  outline: none;
}

.card-details > summary::-webkit-details-marker {
  display: none;
}

.card-details > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease, border-color 160ms ease;
}

.card-details > summary:hover,
.card-details > summary:focus-visible {
  color: var(--ink);
}

.card-details > summary:hover::after,
.card-details > summary:focus-visible::after {
  border-color: var(--ink);
}

.card-details[open] > summary {
  margin-bottom: 10px;
}

.card-details[open] > summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

.card-details[open] .projection-strip,
.card-details[open] .slate-data-grid,
.card-details[open] .detail-grid,
.card-details[open] .factor-list {
  animation: detailsIn 220ms ease both;
}

.card-details .projection-strip,
.card-details .slate-data-grid,
.card-details .factor-list,
.compact-factors {
  margin-top: 8px;
}

.result-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 760;
}

.result-tag.win {
  color: #06100c;
  border-color: rgba(99, 213, 155, 0.62);
  background: var(--green);
}

.result-tag.loss {
  color: #160605;
  border-color: rgba(239, 116, 108, 0.62);
  background: var(--red);
}

.result-tag.push {
  color: #06100c;
  border-color: rgba(115, 167, 255, 0.62);
  background: var(--blue);
}

.result-tag.pending,
.result-tag.void {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.06);
}

.ledger-table-wrap table {
  min-width: 760px;
}

.ledger-table-wrap {
  max-width: 100%;
}

.ledger-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.ledger-more-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 820;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ledger-more-button:hover,
.ledger-more-button:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.ledger-table-wrap td strong {
  display: block;
  color: var(--ink);
  line-height: 1.15;
}

.ledger-subtext {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.ledger-panel h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.ledger-grid {
  gap: 10px;
}

.ledger-grid div {
  padding: 14px;
}

.unit-positive {
  color: var(--green);
}

.unit-negative {
  color: var(--red);
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.empty-state strong {
  display: block;
  color: var(--soft);
  margin-bottom: 4px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.025);
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

th {
  color: var(--soft);
  font-weight: 820;
  background: rgba(255, 255, 255, 0.035);
}

td {
  color: var(--muted);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.status-panel {
  padding: 18px;
}

.status-panel h2 {
  margin-bottom: 8px;
}

.readiness-grid {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

footer {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 36px;
  color: var(--muted);
  font-size: 0.82rem;
}

.motion-item {
  opacity: 0;
  transform: translateY(10px);
}

.motion-item.is-visible {
  animation: rowIn 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 64px 64px, 64px 64px;
  }
}

@keyframes shellSheen {
  0%,
  58% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes detailsIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statusPing {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 213, 155, 0.35);
  }
  100% {
    box-shadow: 0 0 0 11px rgba(99, 213, 155, 0);
  }
}

@media (max-width: 880px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .scoreboard,
  .split-band {
    grid-template-columns: 1fr;
  }

  .scoreboard div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section-heading,
  .slate-card-head,
  .recommendation-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .recommendation-banner span {
    text-align: left;
  }

  .projection-strip,
  .slate-data-grid,
  .detail-grid,
  .factor-list {
    grid-template-columns: 1fr 1fr;
  }

  .game-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-summary .recommendation-banner {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-hero,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-hero {
    min-height: 390px;
    padding-bottom: 58px;
  }

  .hero-copy {
    place-items: start;
    text-align: left;
  }

  .hero-title {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }

  .beta-badge {
    position: static;
    min-height: 28px;
    margin-top: 2px;
    padding: 0 12px;
    transform: none;
  }

  .hero-copy p:last-child {
    margin-left: 0;
    margin-right: 0;
  }

  .nav-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .lab-link {
    min-height: 28px;
  }

  .picks-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .projection-strip,
  .slate-data-grid,
  .compact-stats,
  .game-summary,
  .detail-grid,
  .factor-list,
  .pick-meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .motion-item {
    opacity: 1;
    transform: none;
  }

  .beta-badge {
    animation: none;
  }
}

.scoreboard article {
  min-width: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.015);
}

.scoreboard article + article {
  border-left: 1px solid var(--line);
}

.scoreboard strong {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1;
  font-weight: 920;
}

.scoreboard article span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.25;
}

.controls {
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 21, 27, 0.82);
  box-shadow: var(--shadow);
  padding: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-align: left;
}

button,
input {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: inherit;
}

input {
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

input:focus {
  border-color: rgba(99, 213, 155, 0.62);
}

button {
  border-color: rgba(99, 213, 155, 0.62);
  background: var(--green);
  color: #06100c;
  cursor: pointer;
  font-weight: 860;
  padding: 0 16px;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.public-controls {
  align-items: center;
  margin-top: 28px;
}

.public-controls .pill {
  min-height: 42px;
}

.k-prop-card {
  min-height: 100%;
}

.k-prop-card .recommendation-banner strong {
  white-space: normal;
}

.k-prop-card .side-badge {
  flex: 0 0 auto;
  text-align: center;
  white-space: nowrap;
}

.k-prop-card .side-badge.muted {
  color: var(--soft);
  background: rgba(255, 255, 255, 0.075);
}

.k-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-factors p {
  margin: 0;
}

@media (max-width: 880px) {
  .scoreboard article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .public-controls {
    align-items: stretch;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .public-controls {
    flex-direction: column;
  }

  .public-controls button,
  .public-controls .pill {
    width: 100%;
  }

  .k-stats {
    grid-template-columns: 1fr;
  }
}

.searchBox {
  display: flex;
  align-items: end;
  gap: 10px;
}

.searchBox input {
  width: min(390px, 44vw);
}

.lookupHeader p:not(.eyebrow) {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.94rem;
}

.lookupResult {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.resultGrid > div:first-child {
  display: grid;
  align-content: center;
  min-width: 0;
}

.resultGrid > div:first-child strong {
  display: block;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.resultGrid > div:first-child span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.pick-card.pickRow {
  min-height: 0;
}

.pick-card .compact-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.heroCopy {
  display: block;
}

@media (max-width: 880px) {
  .scoreboard article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .searchBox {
    align-items: stretch;
    flex-direction: column;
  }

  .searchBox input {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .controls {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .pick-card .compact-stats {
    grid-template-columns: 1fr;
  }
}

.strikeout-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.k-prop-card {
  height: 100%;
  gap: 11px;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  padding: 15px;
}

.k-prop-card[hidden],
.k-prop-card.is-collapsed-prop {
  display: none !important;
}

.k-prop-card .recommendation-banner {
  align-items: center;
  height: 52px;
  min-height: 52px;
  padding: 10px 12px;
}

.k-prop-card .recommendation-banner strong {
  font-size: clamp(0.96rem, 1.12vw, 1.08rem);
  line-height: 1.08;
}

.k-prop-card .recommendation-banner span {
  opacity: 1;
  text-align: left;
}

.k-prop-card .recommendation-banner.play {
  background: var(--green);
  border-color: rgba(99, 213, 155, 0.62);
}

.k-prop-card .recommendation-banner.play strong {
  color: #06100c;
}

.k-prop-card .recommendation-banner.play span {
  color: rgba(6, 16, 12, 0.78);
}

.k-prop-card .recommendation-banner.watch {
  background: rgba(228, 189, 114, 0.14);
  border-color: rgba(228, 189, 114, 0.26);
}

.k-prop-card .recommendation-banner.watch strong,
.k-prop-card .recommendation-banner.watch span {
  color: var(--ink);
}

.k-prop-card .recommendation-banner.pass {
  background: rgba(255, 255, 255, 0.075);
}

.k-prop-card .pick-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 88px;
  align-content: start;
}

.k-prop-card .pick-topline span {
  line-height: 1.32;
}

.k-prop-card .pick-topline .lineup-status-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.7rem;
  font-weight: 840;
  line-height: 1;
}

.k-prop-card .pick-topline .lineup-status-tag.pending {
  color: #f6dfb3;
  border-color: rgba(228, 189, 114, 0.34);
  background: rgba(228, 189, 114, 0.13);
}

.k-prop-card .pick-topline .lineup-status-tag.confirmed {
  color: #baf4d0;
  border-color: rgba(99, 213, 155, 0.38);
  background: rgba(99, 213, 155, 0.14);
}

.k-prop-card .side-badge {
  justify-self: start;
  min-height: 30px;
  padding: 7px 9px;
  font-size: 0.76rem;
  line-height: 1;
  white-space: normal;
}

.k-prop-card .side-badge.muted {
  color: var(--soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.075);
}

.k-prop-card .k-stats,
.pick-card.k-prop-card .compact-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.k-prop-card .compact-metric {
  min-height: 58px;
  padding: 10px;
}

.k-prop-card .compact-metric strong {
  font-size: 1rem;
}

.all-props-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin: 18px auto 0;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
}

.all-props-toggle:hover,
.all-props-toggle:focus-visible {
  border-color: rgba(99, 213, 155, 0.62);
  background: rgba(255, 255, 255, 0.075);
  color: var(--ink);
}

.all-props-toggle[hidden] {
  display: none;
}

.all-props-toggle span:first-child {
  font-size: 1.08rem;
  line-height: 1;
}

.scoreboard strong.unit-positive {
  color: var(--green);
}

.scoreboard strong.unit-negative {
  color: var(--red);
}

@media (max-width: 1060px) {
  .strikeout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .strikeout-grid,
  .k-prop-card .k-stats,
  .pick-card.k-prop-card .compact-stats {
    grid-template-columns: 1fr;
  }

  .k-prop-card .pick-topline {
    min-height: auto;
  }
}

/* Mobile lab shell */
.mobile-lab-menu {
  display: none;
  position: relative;
}

.mobile-lab-menu summary {
  list-style: none;
}

.mobile-lab-menu summary::-webkit-details-marker {
  display: none;
}

.menuIcon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.menuIcon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  border-top: 2px solid currentColor;
}

.mobileLabPanel {
  position: absolute;
  top: calc(100% - 8px);
  right: 0;
  z-index: 20;
  width: min(330px, calc(100vw - 22px));
  max-width: calc(100vw - 22px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 8px;
  background: rgba(17, 21, 27, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.mobileLabPanel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}

.mobileLabPanel a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.mobileLabPanel span {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 820;
}

.mobileLabPanel strong {
  flex: 0 1 auto;
  min-width: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 760;
  text-align: right;
  text-transform: uppercase;
  white-space: normal;
}

.mobileLabPanel a[aria-current="page"] {
  background: rgba(99, 213, 155, 0.1);
}

@media (max-width: 620px) {
  .site-hero,
  main,
  footer {
    width: min(100% - 22px, 1180px);
  }

  .site-nav {
    position: relative;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 18px 0 8px;
  }

  .brand-lockup {
    width: min(206px, 60vw);
  }

  .nav-actions {
    display: none;
  }

  .mobile-lab-menu {
    display: block;
    margin-left: auto;
  }

  .mobile-lab-menu summary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    font-weight: 820;
    cursor: pointer;
  }

  .site-hero {
    min-height: 0;
    padding-bottom: 34px;
  }

  .hero-copy {
    padding-top: 32px;
  }

  .hero-title {
    align-items: flex-start;
    gap: 10px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 14vw, 4rem);
    line-height: 0.94;
  }

  .beta-badge {
    min-height: 25px;
    margin-top: 7px;
    padding: 0 11px;
    font-size: 0.66rem;
  }

  .hero-copy p:last-child {
    max-width: 350px;
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
    border-radius: 16px;
  }

  .scoreboard > * {
    padding: 16px;
  }

  .scoreboard > * + * {
    border-left: 0 !important;
    border-top: 0 !important;
  }

  .scoreboard > *:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .scoreboard > *:nth-child(n+3) {
    border-top: 1px solid var(--line) !important;
  }

  .scoreboard span,
  .scoreboard strong,
  .readiness-grid span {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }

  .content-band,
  .status-panel {
    border-radius: 16px;
  }

  .content-band {
    margin-top: 16px;
    padding: 18px;
  }

  .section-heading {
    gap: 12px;
  }

  .pill {
    max-width: 100%;
  }

  .pick-card,
  .slate-card,
  .k-prop-card {
    border-radius: 14px;
    padding: 14px;
  }

  .pick-topline,
  .pick-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .k-prop-card .recommendation-banner {
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 42px;
    gap: 6px;
    overflow: hidden;
    padding: 8px 10px;
  }

  .k-prop-card .recommendation-banner strong,
  .k-prop-card .recommendation-banner span {
    min-width: 0;
    max-width: 100%;
  }

  .k-prop-card .recommendation-banner strong {
    font-size: clamp(0.9rem, 4.8vw, 1rem);
    white-space: nowrap;
  }

  .k-prop-card .recommendation-banner span {
    font-size: 0.72rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
    text-align: right;
    white-space: normal;
  }

  .all-props-toggle {
    width: 100%;
  }

  .table-wrap {
    overflow-x: auto;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .brand-lockup {
    width: min(184px, 56vw);
  }

  .mobile-lab-menu summary {
    min-height: 36px;
    padding: 0 12px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.55rem);
  }
}
