:root {
  --ink: #f7f8f8;
  --muted: #9ca5aa;
  --soft: #c8ced2;
  --paper: #07090c;
  --panel: rgba(18, 21, 27, 0.82);
  --panel-solid: #11151b;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --green: #63d59b;
  --blue: #73a7ff;
  --gold: #e4bd72;
  --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(150deg, rgba(228, 189, 114, 0.11), transparent 27rem),
    linear-gradient(212deg, rgba(99, 213, 155, 0.12), transparent 31rem),
    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%);
}

a {
  color: inherit;
}

button,
input,
table {
  font: inherit;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.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,
.pick-topline,
.prop-topline,
.prop-meta,
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 {
  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,
.lab-link[aria-current="page"] {
  color: var(--ink);
}

.mobile-lab-menu {
  display: none;
  position: relative;
}

.mobile-lab-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.065);
  cursor: pointer;
  list-style: none;
}

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

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

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

.mobileLabPanel {
  position: absolute;
  z-index: 20;
  right: 0;
  top: calc(100% + 10px);
  width: min(320px, calc(100vw - 36px));
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(17, 21, 27, 0.97);
  box-shadow: var(--shadow);
}

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

.mobileLabPanel a + a {
  border-top: 1px solid var(--line);
}

.mobileLabPanel strong {
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.25rem, 7vw, 6.6rem);
  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: 690px;
  margin: 20px auto 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.6;
}

.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;
  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;
  line-height: 1;
  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;
}

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 article {
  min-width: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.015);
}

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

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

.scoreboard span,
.readiness-grid p,
.prop-detail span,
.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.3fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: start;
}

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

.props-band {
  padding-bottom: clamp(22px, 3vw, 34px);
}

.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.good {
  color: #06100c;
  background: var(--green);
}

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

.pill.bad {
  color: #ffd2cf;
  background: rgba(239, 116, 108, 0.12);
}

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

.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pick-card,
.slate-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.028);
  overflow: hidden;
}

.pick-card {
  padding: 16px;
}

.pick-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(228, 189, 114, 0.34);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(228, 189, 114, 0.14);
}

.pick-banner.over {
  border-color: rgba(99, 213, 155, 0.38);
  background: rgba(99, 213, 155, 0.14);
}

.pick-banner.under {
  border-color: rgba(228, 189, 114, 0.38);
  background: rgba(228, 189, 114, 0.14);
}

.pick-banner strong {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.05;
}

.pick-banner span {
  color: var(--soft);
  font-weight: 780;
  white-space: nowrap;
}

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

.pick-name {
  display: block;
  font-size: 1.2rem;
  line-height: 1.12;
  font-weight: 900;
}

.pick-subtitle {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.35;
}

.lineup-status-tag {
  display: inline-flex !important;
  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 !important;
  font-weight: 840;
  line-height: 1;
}

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

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

.confidence-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #07110d;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 860;
  white-space: nowrap;
}

.prop-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.prop-detail {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.04);
}

.prop-detail span {
  display: block;
  font-size: 0.76rem;
  font-weight: 820;
}

.prop-detail strong {
  display: block;
  margin-top: 6px;
  font-size: 1.08rem;
  line-height: 1;
}

.model-context {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.model-context summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 0;
  color: var(--soft);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.model-context summary::-webkit-details-marker {
  display: none;
}

.model-context summary::after {
  content: "⌄";
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
}

.factor-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.factor-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.factor-list strong {
  color: var(--ink);
  text-align: right;
}

.slate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.side-shortlist {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(14px, 2vw, 18px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.02);
}

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

.mini-section-heading h3 {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  line-height: 1.05;
}

.mini-section-heading .side-chip {
  min-width: 76px;
  min-height: 32px;
}

.side-shortlist .slate-grid {
  grid-template-columns: 1fr;
}

.slate-card {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
}

.prop-topline {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.prop-topline > div {
  min-width: 0;
}

.prop-topline strong {
  display: block;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.prop-topline > div > span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

.side-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 104px;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  color: #07110d;
  background: rgba(99, 213, 155, 0.86);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.side-chip.over {
  color: #07110d;
  background: rgba(99, 213, 155, 0.9);
}

.side-chip.under {
  color: #171005;
  background: rgba(228, 189, 114, 0.9);
}

.prop-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: start;
  gap: 7px;
  margin-top: 0;
}

.prop-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.036);
  font-size: 0.75rem;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
}

.ledger-grid div {
  text-align: center;
}

#ledgerUnits {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}

.status-panel {
  padding: 22px;
}

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

.status-panel > p:not(.eyebrow) {
  line-height: 1.55;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.readiness-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.readiness-grid span {
  font-size: clamp(1.22rem, 2vw, 1.65rem);
}

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

.searchBox input {
  width: min(390px, 44vw);
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  outline: none;
}

.searchBox input:focus {
  border-color: rgba(91, 224, 199, 0.72);
  box-shadow: 0 0 0 3px rgba(91, 224, 199, 0.12);
}

.searchBox button {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 16px;
  color: #06100f;
  background: #5be0c7;
  font-weight: 880;
  cursor: pointer;
}

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

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

.resultGrid {
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.resultGrid + .resultGrid {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.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);
}

.compact-metric {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  background: rgba(255, 255, 255, 0.035);
}

.compact-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
}

.compact-metric strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.accuracy-band {
  align-items: stretch;
}

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

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

th,
td {
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  font-weight: 860;
  text-transform: uppercase;
}

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

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

.ledger-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 820;
  cursor: pointer;
  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-more-button[hidden] {
  display: none;
}

.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;
}

.result-tag {
  display: inline-flex;
  align-items: center;
  justify-content: 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);
}

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

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

.accuracyChecklist {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.accuracyChecklist li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.035);
}

.accuracyChecklist li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #06100c;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 920;
}

.accuracyChecklist strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.accuracyChecklist em {
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
}

.accuracyChecklist .is-waiting > span {
  color: #171004;
  background: var(--gold);
}

.ledger-band {
  align-items: start;
}

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

.ledger-grid {
  gap: 10px;
}

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

.all-props-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 820;
  cursor: pointer;
}

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

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  line-height: 1.45;
}

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

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

.motion-item.is-visible {
  animation: riseIn 420ms ease forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

  .resultGrid > div:first-child {
    grid-column: 1 / -1;
  }
}

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

  .site-hero {
    min-height: 360px;
    padding-bottom: 48px;
  }

  .nav-actions {
    display: none;
  }

  .mobile-lab-menu {
    display: block;
  }

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

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

  h1 {
    font-size: clamp(3.6rem, 17vw, 5.45rem);
  }

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

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

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

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

  .scoreboard article:nth-child(odd) {
    border-left: 0;
  }

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

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

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

  .side-shortlists {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .picks-grid,
  .slate-grid {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .searchBox input,
  .searchBox button {
    width: 100%;
  }

  .resultGrid {
    grid-template-columns: 1fr;
  }

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

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

  .ledger-table-wrap thead {
    display: table-header-group;
  }

  .ledger-table-wrap tbody {
    display: table-row-group;
  }

  .ledger-table-wrap tr {
    display: table-row;
    border-bottom: 0;
    padding: 0;
  }

  .ledger-table-wrap th {
    display: table-cell;
  }

  .ledger-table-wrap td {
    display: table-cell;
    width: auto;
    border-bottom: 1px solid var(--line);
    padding: 12px 13px;
    white-space: nowrap;
  }

  .ledger-table-wrap td::before {
    content: none;
  }

  th {
    display: none;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  tr {
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }

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

  td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 0;
    padding: 7px 10px;
    white-space: normal;
  }

  td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 820;
  }

  .accuracyChecklist li {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .accuracyChecklist em {
    grid-column: 2;
    white-space: normal;
  }

  .pick-banner {
    min-height: 48px;
    padding: 9px 11px;
  }

  .pick-banner strong {
    font-size: 1.05rem;
  }

  .pick-banner span {
    font-size: 0.86rem;
  }

  .prop-detail-grid,
  .readiness-grid {
    grid-template-columns: 1fr;
  }

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

  .side-chip {
    width: 100%;
  }

  .prop-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .prop-meta span {
    width: 100%;
    min-width: 0;
    min-height: 28px;
    padding: 4px 8px;
    line-height: 1.12;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
  }

  .ledger-grid div {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  #ledgerUnits {
    width: 100%;
    font-size: clamp(1.2rem, 8vw, 1.65rem);
    line-height: 1.05;
  }

  .side-shortlist .prop-topline .side-chip {
    align-self: flex-start;
    width: auto;
  }

  .mini-section-heading .side-chip {
    width: auto;
  }
}
