:root {
  --navy: #082b5f;
  --navy-2: #061a38;
  --blue: #09a9f5;
  --red: #cf1624;
  --gold: #f4c137;
  --green: #4fb35d;
  --ink: #142033;
  --muted: #637084;
  --line: #dbe3ef;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(8, 43, 95, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.app-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 70px;
  padding: 10px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  font-weight: 900;
  gap: 10px;
}

.brand img {
  height: 48px;
  object-fit: contain;
  width: 48px;
}

.nav {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  font-weight: 750;
  gap: 20px;
}

.nav a:hover,
.link-button:hover {
  color: var(--red);
}

.nav-subscribe {
  font-size: 13px;
  min-height: 38px;
  padding: 9px 12px;
  white-space: nowrap;
}

.nav-toggle,
.link-button,
.text-action {
  background: transparent;
  border: 0;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
  padding: 0;
}

.danger-text {
  color: var(--red);
}

.nav-toggle {
  display: none;
}

main {
  min-height: calc(100vh - 126px);
}

.promo-hero,
.split-section,
.tenbet-page,
.account-shell,
.recommendations-page,
.content-page,
.admin-page {
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.promo-hero,
.split-section,
.tenbet-page {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
}

.promo-hero {
  min-height: calc(100vh - 70px);
}

.promo-copy {
  max-width: 760px;
}

.promo-title {
  font-size: clamp(34px, 5.2vw, 64px);
}

.eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  color: var(--navy-2);
  font-size: clamp(42px, 7vw, 86px);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 22px;
}

h2 {
  color: var(--navy-2);
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: 0;
  line-height: 1.06;
  margin-bottom: 14px;
}

h3 {
  color: var(--navy-2);
  font-size: 19px;
  margin-bottom: 8px;
}

p,
li {
  color: var(--muted);
  line-height: 1.6;
}

.promo-copy p,
.tenbet-page p {
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.free-account-note {
  font-size: 14px;
  font-weight: 750;
  margin-top: 14px;
}

.button {
  align-items: center;
  border: 1px solid var(--navy);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-align: center;
}

.button.primary {
  background: var(--navy);
  color: white;
}

.button.secondary {
  background: white;
  color: var(--navy);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.logo-stage {
  margin: 0;
  text-align: center;
}

.logo-stage img {
  height: auto;
  max-height: 520px;
  max-width: min(100%, 560px);
  object-fit: contain;
}

.split-section,
.cards-section,
.account-shell,
.recommendations-page,
.admin-page {
  background: var(--soft);
}

.recommendations-page,
.content-page {
  padding-top: 0;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--navy-2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.cards-section,
.advice-grid,
.account-grid,
.admin-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 72px);
}

.cards-section article,
.advice-grid article,
.panel,
.notice,
.season-closed,
.game-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cards-section article,
.advice-grid article,
.panel,
.notice,
.season-closed {
  padding: 24px;
}

.icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  font-weight: 950;
  height: 38px;
  justify-content: center;
  margin-bottom: 18px;
  width: 38px;
}

.icon.high {
  background: var(--red);
  color: white;
  box-shadow: 0 0 0 6px rgba(207, 22, 36, 0.12);
}

.icon.medium {
  background: var(--blue);
  color: var(--navy-2);
}

.icon.low {
  background: #e8edf4;
  color: #6d7890;
}

.notice {
  margin: clamp(28px, 5vw, 64px) clamp(18px, 5vw, 72px);
}

.notice.compact {
  box-shadow: none;
}

.notice a {
  color: var(--red);
  font-weight: 900;
}

#responsible-use {
  scroll-margin-top: 82px;
}

.section-heading {
  max-width: 820px;
}

.admin-page .section-heading h1 {
  font-size: clamp(30px, 4vw, 50px);
}

.page-hero {
  color: white;
  border-radius: 0 0 8px 8px;
  margin: 0 auto 34px;
  max-width: 1280px;
  min-height: clamp(210px, 24vw, 310px);
  overflow: hidden;
  padding: clamp(32px, 5vw, 62px) clamp(20px, 6vw, 82px);
  position: relative;
  width: 100%;
}

.page-hero::before {
  background: linear-gradient(90deg, rgba(6, 25, 54, 0.9), rgba(6, 25, 54, 0.64), rgba(6, 25, 54, 0.34));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.page-hero > * {
  max-width: 760px;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: white;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  max-width: 660px;
}

.animated-sbs-hero {
  align-items: center;
  background:
    radial-gradient(circle at 74% 20%, rgba(9, 169, 245, 0.34), transparent 26%),
    radial-gradient(circle at 78% 80%, rgba(207, 22, 36, 0.26), transparent 24%),
    linear-gradient(135deg, #061a38 0%, #082b5f 52%, #cf1624 100%);
  display: grid;
  isolation: isolate;
}

.animated-sbs-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 12, 28, 0.9), rgba(6, 26, 56, 0.7) 48%, rgba(6, 26, 56, 0.38)),
    linear-gradient(115deg, transparent 0 42%, rgba(9, 169, 245, 0.2) 42% 45%, transparent 45% 58%, rgba(244, 193, 55, 0.16) 58% 60%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 42px);
  animation: heroSweep 7s ease-in-out infinite;
}

.sbs-hero-field {
  animation: fieldDrift 13s linear infinite;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.16) 48% 52%, transparent 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 84px);
  inset: 0;
  opacity: 0.52;
  position: absolute;
  z-index: 0;
}

.sbs-hero-streak {
  animation: streakSlide 6.5s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(9, 169, 245, 0.62), rgba(255, 255, 255, 0.75), transparent);
  height: 3px;
  left: -22%;
  position: absolute;
  transform: rotate(-18deg);
  width: 56%;
  z-index: 1;
}

.streak-one {
  top: 24%;
}

.streak-two {
  animation-delay: 1.8s;
  background: linear-gradient(90deg, transparent, rgba(244, 193, 55, 0.66), rgba(255, 255, 255, 0.75), transparent);
  top: 52%;
}

.streak-three {
  animation-delay: 3.1s;
  background: linear-gradient(90deg, transparent, rgba(207, 22, 36, 0.58), rgba(255, 255, 255, 0.7), transparent);
  top: 76%;
}

.sbs-logo-orbit {
  animation: logoFloat 5.8s ease-in-out infinite;
  bottom: clamp(16px, 5vw, 52px);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
  height: clamp(130px, 22vw, 250px);
  pointer-events: none;
  position: absolute;
  right: clamp(12px, 5vw, 80px);
  width: clamp(130px, 22vw, 250px);
  z-index: 2;
}

.sbs-logo-orbit img {
  height: 100%;
  object-fit: contain;
  opacity: 0.22;
  width: 100%;
}

.orbit-chip {
  align-items: center;
  animation: chipPulse 2.7s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: white;
  display: flex;
  font-size: 14px;
  font-weight: 950;
  height: 38px;
  justify-content: center;
  position: absolute;
  width: 38px;
  z-index: 3;
}

.orbit-chip.high {
  background: var(--red);
  right: 12%;
  top: 10%;
}

.orbit-chip.medium {
  animation-delay: 0.7s;
  background: var(--blue);
  left: 4%;
  top: 42%;
}

.orbit-chip.low {
  animation-delay: 1.4s;
  background: #7d8da2;
  bottom: 8%;
  right: 28%;
}

@keyframes fieldDrift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(84px);
  }
}

@keyframes streakSlide {
  0%,
  100% {
    opacity: 0;
    transform: translateX(0) rotate(-18deg);
  }
  45%,
  62% {
    opacity: 0.95;
  }
  72% {
    opacity: 0;
    transform: translateX(220%) rotate(-18deg);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.025);
  }
}

@keyframes chipPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 26px rgba(255, 255, 255, 0.52);
    transform: scale(1.1);
  }
}

@keyframes heroSweep {
  0%,
  100% {
    background-position: 0 0, -120px 0, 0 0;
  }
  50% {
    background-position: 0 0, 120px 0, 0 22px;
  }
}

@media (max-width: 760px) {
  .animated-sbs-hero {
    min-height: 280px;
  }

  .sbs-logo-orbit {
    bottom: 8px;
    opacity: 0.72;
    right: -44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sbs-hero-field,
  .sbs-hero-streak,
  .sbs-logo-orbit,
  .orbit-chip {
    animation: none;
  }
}

.lines-warning {
  background: #fff7df;
  border: 1px solid #ffd166;
  border-radius: 8px;
  color: #684900;
  font-size: 14px;
  font-weight: 850;
  margin-top: 18px;
  padding: 12px 14px;
}

.free-week-notice {
  background: #eef8ff;
  border: 1px solid rgba(9, 169, 245, 0.32);
  border-radius: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
  margin-top: 18px;
  padding: 12px 14px;
}

.subscription-gate {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.subscription-gate h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.results-subscription-gate {
  grid-column: 1 / -1;
  margin-top: 0;
}

.account-grid {
  padding: 28px 0 0;
}

.panel {
  display: grid;
  gap: 14px;
}

.panel.wide {
  grid-column: 1 / -1;
}

.panel-title {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.odds-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.odds-summary span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
  padding: 8px 10px;
}

.inline-admin-form {
  align-items: center;
  display: flex;
  gap: 10px;
}

.inline-admin-form input {
  max-width: 92px;
}

label {
  color: var(--navy-2);
  display: grid;
  font-size: 14px;
  font-weight: 850;
  gap: 7px;
}

.acknowledgement-row {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  line-height: 1.4;
}

.acknowledgement-row input {
  min-height: 0;
  margin-top: 3px;
  width: auto;
}

.acknowledgement-row a {
  color: var(--red);
  font-weight: 950;
}

input,
select {
  background: #fff;
  border: 1px solid #c7d2e3;
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.locked-input[readonly] {
  background: #f5f7fb;
  color: var(--muted);
  cursor: not-allowed;
}

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

.form-status,
.muted {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.profile-list {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin: 0;
}

.profile-list div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.profile-list dt {
  color: var(--muted);
  font-size: 12px;
}

.profile-list dd {
  color: var(--ink);
  font-weight: 850;
  margin: 2px 0 0;
}

.recommendation-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.recommendation-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 18px;
}

.toggle-row,
.week-select-row {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 0;
}

.toggle-row input {
  min-height: 0;
  width: auto;
}

.week-select-row select {
  min-width: 130px;
}

.game-card {
  overflow: hidden;
}

.game-top {
  align-items: center;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 18px;
}

.custom-action {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  position: relative;
}

.custom-action .custom-help-text {
  flex-basis: min(320px, 100%);
  max-width: 320px;
}

.game-title {
  align-items: center;
  color: var(--navy-2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 20px;
  font-weight: 950;
}

.quit-risk-alert {
  align-items: center;
  background: rgba(198, 9, 32, 0.1);
  border: 1px solid rgba(198, 9, 32, 0.35);
  border-radius: 999px;
  color: var(--red);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  gap: 5px;
  padding: 5px 9px;
  text-transform: uppercase;
}

.quit-risk-alert span {
  letter-spacing: 1px;
}

.quit-risk-line {
  background: transparent;
  border: 0;
  color: var(--muted);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  font-weight: 750;
  margin-top: 4px;
  padding: 0;
  text-align: left;
}

.quit-risk-line strong {
  color: var(--muted);
  font-weight: 950;
}

.quit-risk-line.elevated {
  color: var(--red);
  cursor: pointer;
}

.quit-risk-line.elevated strong {
  color: var(--red);
}

.quit-risk-line.elevated:hover strong {
  text-decoration: underline;
}

.game-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.recommendation-stack {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.empty-recs {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.spread-model-group {
  border: 2px solid rgba(9, 169, 245, 0.42);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 10px;
  position: relative;
}

.spread-model-label {
  background: white;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  left: 10px;
  padding: 0 6px;
  position: absolute;
  text-transform: uppercase;
  top: -9px;
}

.recommendation-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr auto;
  padding: 12px;
}

.recommendation-row.low {
  opacity: 0.58;
}

.recommendation-row.help-open {
  opacity: 1;
  position: relative;
  z-index: 30;
}

.rec-name {
  color: var(--navy-2);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.rec-detail {
  color: var(--muted);
  font-size: 13px;
}

.model-help {
  display: inline-flex;
  gap: 4px;
  position: relative;
}

.model-help-text {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 12px;
  left: 0;
  line-height: 1.35;
  min-width: min(260px, 78vw);
  padding: 10px;
  position: absolute;
  top: 24px;
  z-index: 40;
}

.model-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.model-inputs span,
.custom-input-summary span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  padding: 6px 8px;
}

.model-inputs b,
.custom-input-summary b {
  color: var(--navy);
}

.result-pill {
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
  text-transform: uppercase;
}

.result-pill.win {
  background: var(--green);
}

.result-pill.loss {
  background: var(--red);
}

.result-pill.push {
  background: #7d8da2;
}

.result-pill.pending {
  background: var(--navy);
}

.score-field {
  display: inline-grid;
  margin: 0 8px 8px 0;
  min-width: 92px;
}

.score-field input {
  min-height: 36px;
  padding: 6px 8px;
}

.edit-panel {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 18px;
}

.field-label {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: space-between;
}

.toggle-row {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  font-weight: 850;
  white-space: nowrap;
}

.toggle-row input {
  height: 18px;
  width: 18px;
}

.strategy-result-card h2 {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.strategy-money-line,
.strategy-units-line {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.strategy-money-line span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 6px 8px;
}

.help-link {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 950;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.field-help {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  padding: 8px;
}

.modal-backdrop {
  align-items: center;
  background: rgba(6, 26, 56, 0.62);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 50;
}

.modal-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  max-height: min(86vh, 760px);
  max-width: 820px;
  overflow: auto;
  padding: clamp(18px, 4vw, 28px);
  width: min(100%, 820px);
}

.welcome-panel {
  max-width: 620px;
  width: min(100%, 620px);
}

.welcome-body {
  color: var(--navy);
  display: grid;
  gap: 12px;
  line-height: 1.6;
  padding-bottom: 8px;
}

.quit-risk-panel {
  max-width: 980px;
  width: min(100%, 980px);
}

.quit-risk-detail-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.quit-risk-detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.quit-risk-detail-card.medium,
.quit-risk-detail-card.high {
  border-color: rgba(198, 9, 32, 0.35);
}

.quit-risk-score {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quit-risk-detail-card pre {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  max-height: 420px;
  overflow: auto;
  padding: 12px;
  white-space: pre-wrap;
}

.admin-quit-risk-cell {
  display: grid;
  gap: 6px;
}

.quit-risk-admin-link {
  align-items: flex-start;
  display: inline-grid;
  gap: 2px;
  justify-items: start;
  line-height: 1.2;
}

.quit-risk-admin-link small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.quit-risk-admin-link.elevated,
.quit-risk-admin-link.elevated small {
  color: var(--red);
}

.modal-title {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.modal-title h2 {
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: 0;
}

.custom-rec-eyebrow {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.modal-close {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.custom-input-summary {
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 14px;
}

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

.content-page,
.recommendations-page {
  max-width: none;
  margin: 0;
  padding: 0 0 clamp(42px, 7vw, 92px);
  width: 100%;
}

.content-page .page-hero,
.recommendations-page .page-hero {
  border-radius: 0 0 8px 8px;
  margin: 0 0 34px;
  max-width: none;
  width: 100%;
}

.content-page .hero-content,
.content-page > .advice-grid,
.content-page > .plain-section,
.content-page > .notice,
.recommendations-page .hero-content,
.recommendations-page > .recommendation-controls,
.recommendations-page > .lines-warning,
.recommendations-page > .free-week-notice,
.recommendations-page > .subscription-gate,
.recommendations-page > .season-closed,
.recommendations-page > .recommendation-list {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
  width: min(1120px, calc(100% - clamp(36px, 10vw, 144px)));
}

.content-page > .advice-grid {
  padding: clamp(12px, 3vw, 28px) 0 clamp(22px, 4vw, 42px);
}

.content-page > .plain-section {
  margin-top: 28px;
}

.content-page > .notice {
  margin-top: clamp(28px, 5vw, 64px);
  margin-bottom: clamp(28px, 5vw, 64px);
}

.clean-list {
  padding-left: 20px;
}

.clean-list li + li {
  margin-top: 8px;
}

.strategy-disclaimer-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  margin: -4px 0 10px;
}

.tenbet-page {
  min-height: calc(100vh - 126px);
}

.tenbet-video {
  grid-column: 1 / -1;
  width: 100%;
}

.tenbet-logo {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 420px;
}

.video-loading,
.video-fallback {
  align-items: center;
  color: white;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px 0 0;
}

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

table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  font-size: 13px;
}

td {
  color: var(--muted);
  font-size: 13px;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 14px;
  justify-content: center;
  padding: 22px;
}

.footer a {
  color: var(--navy);
  font-weight: 900;
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    align-items: stretch;
    background: white;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    inset: 70px 0 auto auto;
    padding: 22px;
    position: fixed;
    width: min(320px, 86vw);
  }

  body.nav-open .nav {
    display: flex;
  }

  .promo-hero,
  .split-section,
  .tenbet-page,
  .cards-section,
  .advice-grid,
  .account-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .promo-hero {
    min-height: auto;
  }

  .logo-stage {
    order: -1;
  }

  .logo-stage img {
    max-height: 360px;
  }

  .panel.wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .app-header {
    min-height: 64px;
  }

  .brand span {
    display: none;
  }

  .promo-hero,
  .split-section,
  .tenbet-page,
  .account-shell,
  .recommendations-page,
  .content-page,
  .admin-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 42px;
  }

  .form-pair,
  .input-grid,
  .recommendation-row {
    grid-template-columns: 1fr;
  }

  .game-top,
  .panel-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .content-page,
  .recommendations-page {
    padding-left: 0;
    padding-right: 0;
  }

  .content-page .hero-content,
  .content-page > .advice-grid,
  .content-page > .plain-section,
  .content-page > .notice,
  .recommendations-page .hero-content,
  .recommendations-page > .recommendation-controls,
  .recommendations-page > .lines-warning,
  .recommendations-page > .free-week-notice,
  .recommendations-page > .subscription-gate,
  .recommendations-page > .season-closed,
  .recommendations-page > .recommendation-list {
    width: calc(100% - 32px);
  }
}
