:root {
  --bg: #eef3f8;
  --bg-deep: #dde7f2;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --surface-tint: rgba(247, 250, 253, 0.92);
  --ink: #132033;
  --muted: #617187;
  --line: rgba(19, 32, 51, 0.12);
  --accent: #d96c2f;
  --accent-strong: #b55220;
  --accent-soft: rgba(217, 108, 47, 0.09);
  --navy: #183153;
  --navy-soft: rgba(24, 49, 83, 0.08);
  --gold: #b5892b;
  --shadow: 0 20px 48px rgba(24, 34, 52, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --bg-photo: none;
}

.is-fantasy-embedded,
.is-fantasy-embedded body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #ffffff;
  overscroll-behavior: none;
}

.is-fantasy-embedded .page-shell {
  width: 100%;
  min-height: 0;
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
}

.is-fantasy-embedded .site-header,
.is-fantasy-embedded .site-footer {
  display: none;
}

.is-fantasy-embedded .home-visual-page,
.is-fantasy-embedded .home-page-main-column,
.is-fantasy-embedded .sport-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.is-fantasy-embedded .fantasy-slot-hero-shell {
  width: min(92%, 42rem);
  margin: 0 auto;
}

.is-fantasy-embedded.is-fantasy-embedded-past-step-one .fantasy-slot-hero-shell {
  display: none;
}

.is-fantasy-embedded.is-fantasy-embedded-past-step-one .sport-page {
  display: none;
}

.is-fantasy-embedded .fantasy-hero-edit-form {
  width: min(100%, 34rem);
  margin-inline: auto;
  justify-content: center;
}

.is-fantasy-embedded .fantasy-hero-edit-form input {
  min-width: 0;
  flex: 1 1 16rem;
  max-width: 22rem;
}

.is-fantasy-embedded .fantasy-hub-shell {
  width: 100%;
  margin-top: 0;
}

.is-fantasy-embedded body[data-page="fantasy-hub"] .sport-hero-copy h1 {
  font-size: clamp(2rem, 6vw, 3.1rem);
}

.is-fantasy-embedded .sport-hero {
  min-height: 0;
  padding: clamp(0.55rem, 1.8vw, 0.95rem);
}

.is-fantasy-embedded .julio-tool-home-panel .home-magazine-row-shell {
  width: min(92%, 54rem);
  margin-inline: auto;
  justify-items: center;
  gap: 0.5rem;
  padding-top: 0.1rem;
}

.is-fantasy-embedded.is-fantasy-embedded-past-step-one .julio-tool-home-panel .home-magazine-row-shell {
  padding-top: 0.55rem;
}

.is-fantasy-embedded .fantasy-slot-survey {
  width: 100%;
  gap: 0.62rem;
  justify-items: center;
}

.is-fantasy-embedded .fantasy-slot-survey-topbar {
  width: min(100%, 34.2rem);
  padding-inline: 0.2rem;
}

.is-fantasy-embedded .fantasy-slot-survey-form {
  justify-items: center;
}

.is-fantasy-embedded .fantasy-slot-survey-step {
  gap: 0.62rem;
}

.is-fantasy-embedded .fantasy-slot-survey-form .fantasy-slot-survey-step[data-fantasy-slot-step="2"] {
  width: min(100%, 58rem);
  gap: 0.28rem;
}

.is-fantasy-embedded .fantasy-slot-survey-step h3 {
  font-size: clamp(1.12rem, 2.5vw, 1.45rem);
}

.is-fantasy-embedded .fantasy-slot-survey-form .fantasy-slot-survey-step[data-fantasy-slot-step="1"],
.is-fantasy-embedded .fantasy-slot-survey-form .fantasy-slot-survey-step[data-fantasy-slot-step="3"],
.is-fantasy-embedded .fantasy-slot-survey-form .fantasy-slot-survey-step[data-fantasy-slot-step="4"] {
  width: min(100%, 32.4rem);
}

.is-fantasy-embedded .fantasy-slot-position-picker {
  width: min(100%, 42rem);
  gap: 0.28rem;
  transform: none;
  margin-bottom: -0.4rem;
}

.is-fantasy-embedded .fantasy-slot-position-chip-list {
  gap: 0.34rem;
}

.is-fantasy-embedded .fantasy-slot-position-chip {
  padding: 0.28rem 0.58rem;
  font-size: 0.92rem;
}

.is-fantasy-embedded .fantasy-slot-position-search-row {
  padding-bottom: 0;
}

.is-fantasy-embedded .fantasy-slot-position-search-field input {
  min-height: 1.82rem;
  font-size: 0.64rem;
}

.is-fantasy-embedded .fantasy-slot-player-results {
  grid-auto-columns: 82px;
  gap: 0.38rem;
  min-height: 5.6rem;
}

.is-fantasy-embedded .fantasy-slot-player-result-card {
  width: 78px;
  min-height: 82px;
  grid-template-rows: 54px auto;
  gap: 0.12rem;
}

.is-fantasy-embedded .fantasy-slot-player-result-headshot-wrap {
  width: 52px;
  height: 52px;
}

.is-fantasy-embedded .fantasy-slot-player-result-jersey-shell {
  width: 54px;
  max-width: 54px;
  min-height: 66px;
  height: 66px;
  transform: scale(0.68);
}

.is-fantasy-embedded .fantasy-slot-player-result-name {
  margin-top: -0.14rem;
}

.is-fantasy-embedded .fantasy-slot-player-result-name span {
  font-size: 0.56rem;
}

.is-fantasy-embedded .fantasy-slot-roster-grid,
.is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl,
.is-fantasy-embedded .fantasy-slot-roster-grid.is-mlb,
.is-fantasy-embedded .fantasy-slot-roster-grid.is-nba,
.is-fantasy-embedded .fantasy-slot-roster-grid.is-wnba,
.is-fantasy-embedded .fantasy-slot-roster-grid.is-nhl {
  width: min(100%, 68rem);
  max-width: 68rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(4.7rem, 1fr);
  grid-template-rows: repeat(2, minmax(5.65rem, 1fr));
  grid-template-columns: none;
  grid-template-areas: none !important;
  gap: 0.34rem;
  align-items: stretch;
  padding: 0.62rem;
  border-width: 4px;
  border-color: rgba(24, 49, 83, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 252, 0.98)),
    repeating-linear-gradient(90deg, rgba(24, 49, 83, 0.035) 0 1px, transparent 1px 4.9rem);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 28px rgba(19, 32, 51, 0.1);
  transform: none;
  transform-origin: top center;
  margin-top: -0.9rem;
  margin-bottom: 0.34rem;
  overflow: hidden;
}

.is-fantasy-embedded .fantasy-slot-survey-form .fantasy-slot-survey-step[data-fantasy-slot-step="2"] .account-survey-footer {
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.is-fantasy-embedded .fantasy-slot-roster-grid .fantasy-slot-roster-field {
  min-width: 0;
  min-height: 5.65rem;
  display: grid;
  grid-template-rows: auto minmax(2.75rem, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 0.18rem;
  padding: 0.32rem 0.24rem;
  border: 1px solid rgba(24, 49, 83, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: none !important;
  grid-area: auto !important;
}

.is-fantasy-embedded .fantasy-slot-roster-grid .fantasy-slot-roster-field > .fantasy-slot-roster-label {
  display: inline-flex !important;
  width: auto;
  max-width: 100%;
  min-height: 1.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.14rem 0.36rem;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.09);
  color: var(--navy);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.is-fantasy-embedded .fantasy-slot-roster-grid [data-slot-key="FLEX"] span {
  width: auto;
  max-width: 100%;
  font-size: 0.56rem;
}

.is-fantasy-embedded .fantasy-slot-roster-grid .fantasy-slot-roster-headshot-shell {
  width: 38px;
  height: 38px;
  border-width: 2px;
}

.is-fantasy-embedded .fantasy-slot-roster-grid .fantasy-slot-roster-headshot-fallback {
  font-size: 1.12rem;
}

.is-fantasy-embedded .fantasy-slot-roster-grid .fantasy-slot-roster-jersey-shell {
  width: 44px;
  max-width: 44px;
  min-height: 54px;
  height: 54px;
  transform: scale(0.66);
  transform-origin: top center;
  margin-bottom: -1rem;
}

.is-fantasy-embedded .fantasy-slot-roster-grid .fantasy-slot-roster-field input {
  min-height: 1.52rem;
  padding: 0.24rem 0.34rem;
  border-radius: 999px;
  font-size: 0.56rem;
}

.is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(5.35rem, 1fr));
  gap: 0.42rem;
  padding: 0.56rem;
}

.is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl.is-slot-count-15 {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl .fantasy-slot-roster-field {
  min-height: 5.25rem;
  padding-inline: 0.18rem;
}

.is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl .fantasy-slot-roster-field > .fantasy-slot-roster-label,
.is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl [data-slot-key="FLEX"] span {
  font-size: 0.48rem;
  letter-spacing: 0.04em;
}

.is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl .fantasy-slot-roster-headshot-shell {
  width: 32px;
  height: 32px;
}

.is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl .fantasy-slot-roster-field input {
  font-size: 0.48rem;
}

@media (max-width: 980px) {
  .is-fantasy-embedded .julio-tool-home-panel .home-magazine-row-shell {
    width: min(98%, 52rem);
    gap: 0.34rem;
  }

  .is-fantasy-embedded.is-fantasy-embedded-past-step-one .julio-tool-home-panel .home-magazine-row-shell {
    padding-top: 0.28rem;
  }

  .is-fantasy-embedded .fantasy-slot-survey {
    gap: 0.38rem;
  }

  .is-fantasy-embedded .fantasy-slot-survey-topbar {
    width: min(100%, 31rem);
  }

  .is-fantasy-embedded .fantasy-slot-survey-form .fantasy-slot-survey-step[data-fantasy-slot-step="2"] {
    width: min(100%, 50rem);
    gap: 0.16rem;
  }

  .is-fantasy-embedded .fantasy-slot-survey-step h3 {
    font-size: clamp(0.95rem, 2.8vw, 1.16rem);
  }

  .is-fantasy-embedded .fantasy-slot-position-picker {
    width: min(100%, 36rem);
    gap: 0.16rem;
    margin-bottom: -0.2rem;
  }

  .is-fantasy-embedded .fantasy-slot-position-chip {
    padding: 0.22rem 0.42rem;
    font-size: 0.54rem;
  }

  .is-fantasy-embedded .fantasy-slot-position-search-field input {
    min-height: 1.86rem;
    font-size: 0.64rem;
  }

  .is-fantasy-embedded .fantasy-slot-player-results {
    grid-auto-columns: 66px;
    gap: 0.24rem;
    min-height: 4.45rem;
  }

  .is-fantasy-embedded .fantasy-slot-player-result-card {
    width: 62px;
    min-height: 68px;
    grid-template-rows: 42px auto;
  }

  .is-fantasy-embedded .fantasy-slot-player-result-headshot-wrap {
    width: 40px;
    height: 40px;
  }

  .is-fantasy-embedded .fantasy-slot-player-result-name span {
    font-size: 0.5rem;
  }

  .is-fantasy-embedded .fantasy-slot-roster-grid,
  .is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl,
  .is-fantasy-embedded .fantasy-slot-roster-grid.is-mlb,
  .is-fantasy-embedded .fantasy-slot-roster-grid.is-nba,
  .is-fantasy-embedded .fantasy-slot-roster-grid.is-wnba,
  .is-fantasy-embedded .fantasy-slot-roster-grid.is-nhl {
    grid-auto-columns: minmax(3.55rem, 1fr);
    grid-template-rows: repeat(2, minmax(4.85rem, 1fr));
    gap: 0.32rem;
    padding: 0.46rem;
    margin-top: -0.42rem;
    margin-bottom: 0.18rem;
    border-width: 3px;
    border-radius: 18px;
  }

  .is-fantasy-embedded .fantasy-slot-roster-grid .fantasy-slot-roster-field {
    min-height: 4.85rem;
    grid-template-rows: auto minmax(2.15rem, 1fr) auto;
    gap: 0.12rem;
    padding: 0.24rem 0.18rem;
    border-radius: 12px;
  }

  .is-fantasy-embedded .fantasy-slot-roster-grid .fantasy-slot-roster-field > .fantasy-slot-roster-label {
    min-height: 1rem;
    padding: 0.1rem 0.24rem;
    font-size: 0.48rem;
  }

  .is-fantasy-embedded .fantasy-slot-roster-grid .fantasy-slot-roster-headshot-shell {
    width: 30px;
    height: 30px;
  }

  .is-fantasy-embedded .fantasy-slot-roster-grid .fantasy-slot-roster-field input {
    min-height: 1.28rem;
    padding: 0.18rem 0.24rem;
    font-size: 0.48rem;
  }

  .is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(4.35rem, 1fr));
    gap: 0.24rem;
    padding: 0.38rem;
  }

  .is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl.is-slot-count-15 {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl .fantasy-slot-roster-field {
    min-height: 4.55rem;
    padding-inline: 0.12rem;
  }

  .is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl .fantasy-slot-roster-field > .fantasy-slot-roster-label,
  .is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl [data-slot-key="FLEX"] span {
    font-size: 0.42rem;
    letter-spacing: 0.02em;
  }

  .is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl .fantasy-slot-roster-headshot-shell {
    width: 26px;
    height: 26px;
  }

  .is-fantasy-embedded .fantasy-slot-roster-grid.is-nfl .fantasy-slot-roster-field input {
    font-size: 0.42rem;
  }
}

.julio-search-shell {
  margin-top: 1.15rem;
}

.julio-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.72rem;
  align-items: center;
  padding: 0.88rem 0.94rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(19, 32, 51, 0.06);
}

.julio-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
}

.julio-search-input::placeholder {
  color: rgba(97, 113, 135, 0.88);
}

.julio-search-submit {
  border: 0;
  border-radius: 999px;
  padding: 0.82rem 1.3rem;
  background: var(--navy);
  color: #f8fbff;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.julio-search-submit:hover,
.julio-search-submit:focus-visible {
  background: #22436f;
  transform: translateY(-1px);
}

.julio-search-results {
  margin-top: 1rem;
}

.julio-search-result-shell {
  display: grid;
  gap: 1rem;
}

.julio-search-card {
  display: grid;
  gap: 0.5rem;
}

.julio-search-action-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.julio-search-action-card {
  display: grid;
  gap: 0.42rem;
  padding: 1rem 1.02rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.98));
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(19, 32, 51, 0.06);
}

.julio-search-action-card:hover,
.julio-search-action-card:focus-visible {
  border-color: rgba(24, 49, 83, 0.22);
  transform: translateY(-2px);
}

.julio-search-action-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
}

.julio-search-action-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.julio-search-results-shell {
  margin-top: 0.2rem;
}

.julio-search-headline-list {
  display: grid;
  gap: 0.9rem;
}

.julio-search-result-card {
  display: grid;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
}

.julio-search-result-card h3 {
  margin: 0;
  color: var(--navy);
}

.julio-search-result-card p:last-of-type {
  margin: 0;
  color: var(--muted);
}

.julio-search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: rgba(97, 113, 135, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .julio-search-action-grid {
    grid-template-columns: 1fr;
  }

  .julio-search-form {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Barlow", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(24, 49, 83, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(217, 108, 47, 0.09), transparent 18%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(238, 243, 248, 0.86)),
    url("https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: multiply;
}

body[data-page="fantasy-hub"] {
  --bg: #ced8e2;
  --bg-deep: #becbd8;
  --bg-fade: #cfe6fb;
  --surface: rgba(229, 233, 238, 0.9);
  --surface-strong: rgba(227, 231, 236, 0.98);
  --surface-tint: rgba(221, 227, 233, 0.92);
  background:
    radial-gradient(circle at top left, rgba(24, 49, 83, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(217, 108, 47, 0.07), transparent 18%),
    radial-gradient(circle at 50% 0%, rgba(224, 229, 234, 0.9), transparent 42%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 26%, var(--bg-fade) 50%, #d8efff 100%);
}

body[data-page="fantasy-hub"]::before {
  background: linear-gradient(180deg, rgba(232, 236, 241, 0.5), rgba(232, 236, 241, 0.08));
}

body[data-page="fantasy-hub"]::after {
  background-image:
    linear-gradient(180deg, rgba(236, 239, 242, 0.88), rgba(220, 229, 238, 0.92)),
    url("https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&w=1800&q=80");
  opacity: 0.14;
}

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

button,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.site-footer {
  margin-top: 1.1rem;
  padding: clamp(0.68rem, 1.35vw, 0.92rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(4, 10, 22, 0.52), rgba(9, 21, 42, 0.34)),
    linear-gradient(180deg, rgba(217, 108, 47, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(5px);
}

.site-footer-auth {
  width: min(1320px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 1.5rem;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.36fr);
  align-items: center;
  gap: 0.8rem;
}

.site-footer-copy {
  display: grid;
  align-content: center;
  gap: 0.42rem;
  max-width: 860px;
  padding: 0.12rem 0.1rem;
}

.site-footer-kicker,
.site-footer-links-title {
  margin: 0;
  color: #ffb06f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer-brand {
  margin: 0;
  color: #ffffff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 0.95;
  text-transform: uppercase;
}

.site-footer-text,
.site-footer-meta {
  margin: 0;
  color: rgba(244, 248, 255, 0.84);
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-footer-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.site-footer-feature-row span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 251, 255, 0.94);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer-actions {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding: 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
}

.site-footer-links {
  display: grid;
  gap: 0.34rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.site-footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 1.72rem;
  padding: 0.3rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 251, 255, 0.95);
  text-decoration: none;
}

.site-footer-links a::after {
  content: ">";
  color: #ffb06f;
  font-size: 0.95rem;
  line-height: 1;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
  border-color: rgba(255, 176, 111, 0.42);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.site-footer-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.36rem 0.58rem;
  align-items: center;
  margin-top: 0.58rem;
  padding-top: 0.58rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(229, 236, 247, 0.78);
  font-size: 0.7rem;
  font-weight: 700;
}

.legal-page {
  gap: 1.1rem;
}

.legal-hero .hero-text {
  max-width: 760px;
}

.legal-grid {
  align-items: stretch;
}

.legal-card {
  height: 100%;
}

.legal-card-full {
  grid-column: 1 / -1;
}

.legal-copy {
  display: grid;
  gap: 0.65rem;
}

.legal-copy p {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

@media (max-width: 780px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-meta {
    grid-template-columns: 1fr;
  }

  .site-footer-auth {
    width: min(1320px, calc(100% - 2rem));
  }
}

.preview-mode-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(240, 139, 50, 0.34);
  border-radius: 999px;
  background: rgba(240, 139, 50, 0.12);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.front-header,
.site-header,
.sport-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.1rem;
}

body[data-page="home"] .site-header {
  z-index: 900;
  overflow: visible;
}

.front-strip-date-row {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.1rem 0 0.45rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.front-strip-date {
  text-align: center;
}

.front-strip-sign-in {
  position: absolute;
  top: calc(50% - 11px);
  right: 0;
  transform: translateY(-50%);
  padding: 0.1rem 0;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.front-strip-sign-in:hover,
.front-strip-sign-in:focus-visible {
  color: #0f2f57;
  text-decoration-thickness: 2px;
}

.home-photo-masthead-band {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  padding: 0.85rem 1rem 0;
  border-radius: 22px 22px 0 0;
  background: #10233d;
  box-shadow:
    0 2px 0 rgba(248, 251, 255, 0.28),
    0 18px 42px rgba(10, 22, 38, 0.16);
}

.home-photo-masthead-band::before,
.home-photo-masthead-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 22px 22px 0 0;
}

.home-photo-masthead-band::before {
  z-index: 0;
  background-image: var(--home-masthead-photo, url("https://commons.wikimedia.org/wiki/Special:FilePath/Jrobinson.jpg?width=1280"));
  background-position: var(--home-masthead-position, 44% 42%);
  background-repeat: no-repeat;
  background-size: var(--home-masthead-size, cover);
  transform: scale(1.02);
  opacity: var(--home-masthead-opacity, 0.97);
  filter: var(--home-masthead-filter, contrast(1.08));
}

.home-photo-masthead-band::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 32, 0.72), rgba(9, 19, 33, 0.22) 48%, rgba(8, 18, 32, 0.74)),
    linear-gradient(180deg, rgba(7, 16, 30, 0.54), rgba(15, 30, 50, 0.16) 42%, rgba(246, 249, 252, 0.02) 82%, rgba(247, 250, 255, 0.62));
}

.home-photo-masthead-band > * {
  position: relative;
  z-index: 1;
}

.home-photo-masthead-band .front-strip-date-row {
  border-bottom-color: rgba(248, 251, 255, 0.28);
  color: rgba(248, 251, 255, 0.78);
  text-shadow: 0 1px 2px rgba(5, 12, 22, 0.44);
}

.home-photo-masthead-band .front-strip-sign-in {
  color: #f8fbff;
  text-shadow: 0 1px 2px rgba(5, 12, 22, 0.5);
}

.home-photo-masthead-band .front-strip-sign-in:hover,
.home-photo-masthead-band .front-strip-sign-in:focus-visible {
  color: #ffd9b8;
}

.home-photo-masthead-band .front-strip-loading {
  color: rgba(248, 251, 255, 0.86);
  text-shadow: 0 1px 2px rgba(5, 12, 22, 0.44);
}

.home-photo-masthead-band .score-chip {
  border-color: rgba(248, 251, 255, 0.28);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(6, 14, 25, 0.18);
}

.home-photo-masthead-band .home-magazine-scroll-arrow {
  border-color: rgba(248, 251, 255, 0.34);
  background: rgba(255, 255, 255, 0.9);
}

.home-photo-masthead-band .masthead {
  border-bottom: 0;
  box-shadow:
    0 1px 0 rgba(248, 251, 255, 0.42),
    0 10px 24px rgba(3, 10, 20, 0.2);
}

.home-photo-masthead-band .home-masthead-full-divider {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: rgba(24, 49, 83, 0.98);
}

.home-photo-masthead-band .masthead-title {
  color: #f8fbff;
  text-shadow:
    0 3px 18px rgba(3, 10, 20, 0.62),
    0 1px 1px rgba(3, 10, 20, 0.72);
}

.home-photo-masthead-band .masthead-byline {
  color: #ffd0a9;
  -webkit-text-stroke: 0.35px rgba(24, 49, 83, 0.72);
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 rgba(24, 49, 83, 0.82),
    0 2px 3px rgba(3, 10, 20, 0.72),
    0 5px 14px rgba(3, 10, 20, 0.62);
}

.home-photo-masthead-band .home-masthead-photo-credit {
  position: absolute;
  right: 0.7rem;
  bottom: 0.25rem;
  z-index: 2;
  max-width: calc(100% - 1.4rem);
  overflow: hidden;
  color: rgba(248, 251, 255, 0.68);
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  text-decoration: none;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(3, 10, 20, 0.72);
  text-transform: uppercase;
  white-space: nowrap;
}

.home-photo-masthead-band .home-masthead-photo-credit:hover,
.home-photo-masthead-band .home-masthead-photo-credit:focus-visible {
  color: rgba(255, 217, 184, 0.92);
}

.account-page {
  display: grid;
  gap: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-page {
  display: grid;
  place-items: center;
  padding: 0.5rem 0 1.5rem;
}

.auth-page-minimal {
  min-height: 100vh;
  padding: 2rem 1rem;
  position: relative;
  display: grid;
  place-items: center;
}

body[data-page="signin"],
body[data-page="account"] {
  background: #0b1220;
}

body[data-page="signin"] .auth-page-minimal,
body[data-page="account"] .auth-page-minimal {
  min-height: 100dvh;
}

body[data-page="signin"] .auth-page-minimal {
  height: 100dvh;
  padding: 0;
  overflow: hidden;
}

body[data-page="account"] .auth-page-minimal {
  min-height: 100dvh;
  height: 100dvh;
  padding: 0;
  overflow: hidden;
}

.auth-page-minimal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06) 24%, rgba(10, 18, 31, 0.18) 54%, rgba(10, 18, 31, 0.34)),
    linear-gradient(180deg, rgba(245, 248, 252, 0.08), rgba(9, 17, 29, 0.08));
  pointer-events: none;
  z-index: 0;
}

.auth-shell {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.auth-shell-minimal {
  width: min(1120px, calc(100vw - 2rem));
  min-height: min(88vh, 820px);
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 0.35rem);
  padding: 2rem;
  isolation: isolate;
  box-shadow: 0 28px 56px rgba(24, 34, 52, 0.18);
}

body[data-page="account"] .auth-shell-minimal {
  width: 100vw;
  min-height: 100dvh;
  height: 100dvh;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  place-items: center;
}

body[data-page="signin"] .auth-shell-minimal {
  width: 100vw;
  min-height: 100dvh;
  height: 100dvh;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-page="signin"] .auth-signin-backdrop {
  inset: 0;
}

body[data-page="signin"] .auth-card-minimal {
  position: relative;
  width: min(500px, calc(100vw - 2.5rem));
  min-height: 500px;
  margin: 0 auto;
}

body[data-page="account"] .auth-signin-backdrop {
  inset: 0;
  width: 100vw;
  height: 100dvh;
}

body[data-page="account"] .auth-card-minimal {
  position: relative;
  width: min(500px, calc(100vw - 2.5rem));
  min-height: 610px;
  margin: 0 auto;
}

body[data-page="account"] .auth-card-minimal:has(.account-favorite-players-view:not([hidden])) {
  aspect-ratio: auto;
  min-height: min(735px, calc(100dvh - 2rem));
  padding-bottom: 1.25rem;
  align-content: start;
}

.auth-hero,
.auth-card {
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(24, 34, 52, 0.08);
}

.auth-hero {
  padding: 1.4rem 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 253, 0.92)),
    radial-gradient(circle at top right, rgba(217, 108, 47, 0.14), transparent 32%);
}

.auth-hero h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--navy);
}

.auth-hero p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.auth-card {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}

.auth-card-minimal {
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  min-height: 500px;
  padding: 1.35rem;
  gap: 0.85rem;
  align-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.69), rgba(248, 251, 255, 0.66)),
    radial-gradient(circle at top right, rgba(217, 108, 47, 0.05), transparent 38%);
  border: 1px solid rgba(24, 49, 83, 0.12);
  box-shadow: 0 20px 42px rgba(24, 34, 52, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.auth-signin-backdrop {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(8, 15, 27, 0.16), rgba(8, 15, 27, 0.08)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 26%);
  overflow: hidden;
}

.auth-signin-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 17, 29, 0.54), rgba(9, 17, 29, 0.36)),
    var(--signin-collage-hero, linear-gradient(135deg, rgba(24, 49, 83, 0.32), rgba(217, 108, 47, 0.2)));
  background-size: cover;
  background-position: center center;
  filter: blur(8px) saturate(0.95);
  transform: scale(1.01);
  opacity: 0.9;
}

.auth-signin-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(90deg, rgba(9, 17, 29, 0.16), transparent 10%, transparent 90%, rgba(9, 17, 29, 0.16)),
    linear-gradient(180deg, rgba(9, 17, 29, 0.12), transparent 10%, transparent 90%, rgba(9, 17, 29, 0.12));
}

.auth-collage-tile {
  position: absolute;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(10, 18, 31, 0.18));
  box-shadow: none;
}

.auth-collage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--collage-position, 50% 50%);
  filter: saturate(1.02) contrast(1.03);
  transform: scale(1);
  opacity: 0;
  transition: opacity 320ms ease;
}

.auth-collage-tile.is-loaded .auth-collage-image {
  opacity: 1;
}

.auth-collage-tile.is-failed .auth-collage-image {
  opacity: 0;
}

.auth-collage-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 38%, rgba(8, 15, 27, 0.14));
}

.auth-collage-tile-label {
  display: none;
}

.auth-collage-tile--1 { top: 0; left: 0; width: 20%; height: 34%; clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%); }
.auth-collage-tile--2 { top: 0; left: 20%; width: 20%; height: 34%; clip-path: polygon(0 0, 100% 0, 100% 97%, 3% 100%); }
.auth-collage-tile--3 { top: 0; left: 40%; width: 20%; height: 34%; clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 97%); }
.auth-collage-tile--4 { top: 0; left: 60%; width: 20%; height: 34%; clip-path: polygon(0 0, 98% 0, 100% 100%, 0 98%); }
.auth-collage-tile--5 { top: 0; left: 80%; width: 20%; height: 34%; clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 96%); }
.auth-collage-tile--6 { top: 33%; left: 0; width: 20%; height: 34%; clip-path: polygon(0 2%, 100% 0, 97% 100%, 0 98%); }
.auth-collage-tile--7 { top: 33%; left: 20%; width: 20%; height: 34%; clip-path: polygon(0 0, 100% 2%, 98% 100%, 0 100%); }
.auth-collage-tile--8 { top: 33%; left: 40%; width: 20%; height: 34%; clip-path: polygon(2% 0, 100% 0, 100% 98%, 0 100%); }
.auth-collage-tile--9 { top: 33%; left: 60%; width: 20%; height: 34%; clip-path: polygon(0 0, 100% 3%, 98% 100%, 0 97%); }
.auth-collage-tile--10 { top: 33%; left: 80%; width: 20%; height: 34%; clip-path: polygon(0 1%, 100% 0, 100% 100%, 2% 98%); }
.auth-collage-tile--11 { top: 66%; left: 0; width: 20%; height: 34%; clip-path: polygon(0 0, 100% 0, 96% 100%, 0 98%); }
.auth-collage-tile--12 { top: 66%; left: 20%; width: 20%; height: 34%; clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 96%); }
.auth-collage-tile--13 { top: 66%; left: 40%; width: 20%; height: 34%; clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%); }
.auth-collage-tile--14 { top: 66%; left: 60%; width: 20%; height: 34%; clip-path: polygon(0 0, 100% 2%, 100% 98%, 0 100%); }
.auth-collage-tile--15 { top: 66%; left: 80%; width: 20%; height: 34%; clip-path: polygon(0 0, 100% 0, 100% 100%, 3% 97%); background-position: 50% 34%; }

.auth-bandwagon-copy {
  display: grid;
  gap: 0.5rem;
  padding: 0.2rem 0.1rem 0.15rem;
}

.auth-bandwagon-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.auth-bandwagon-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.auth-kicker {
  color: var(--accent-strong);
}

.auth-provider-copy-minimal {
  width: min(100%, 340px);
  margin: 0 auto;
  text-align: center;
  font-size: 0.98rem;
}

.auth-benefit-grid {
  width: min(100%, 360px);
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}

.auth-benefit-card {
  display: grid;
  gap: 0.18rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.88)),
    rgba(255, 255, 255, 0.9);
  text-align: left;
  box-shadow: 0 10px 22px rgba(19, 32, 51, 0.05);
}

.auth-benefit-card strong {
  color: var(--navy);
  font-size: 0.97rem;
  line-height: 1.25;
}

.auth-benefit-label {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.auth-provider-copy {
  color: var(--muted);
  line-height: 1.65;
}

.auth-provider-copy p {
  margin: 0;
}

.auth-page-callback {
  min-height: 100vh;
  align-items: center;
}

.auth-card-callback {
  text-align: center;
}

.auth-mode-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.auth-mode-button,
.auth-provider-button {
  min-height: 46px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.auth-mode-button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #f8fbff;
}

.auth-form {
  display: grid;
  gap: 0.85rem;
}

.auth-name-field.is-hidden,
.auth-confirm-field.is-hidden {
  display: none;
}

.auth-submit {
  width: 100%;
  justify-content: center;
}

.auth-feedback {
  min-height: 1.2rem;
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
}

.auth-divider {
  position: relative;
  display: flex;
  justify-content: center;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(24, 49, 83, 0.12);
}

.auth-divider span {
  position: relative;
  padding: 0 0.8rem;
  background: rgba(255, 255, 255, 0.92);
}

.auth-provider-stack {
  display: grid;
  gap: 0.7rem;
}

.auth-provider-stack-live {
  gap: 0;
}

.auth-provider-stack-custom {
  gap: 0.75rem;
}

.auth-provider-stack-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.auth-clerk-shell {
  min-height: 420px;
}

.auth-card-minimal .auth-clerk-shell {
  min-height: 0;
}

.auth-card-minimal {
  border-radius: 22px;
  position: relative;
}

.auth-card-minimal .auth-bandwagon-copy,
.auth-card-minimal .auth-benefit-grid,
.auth-card-minimal .auth-provider-copy-minimal,
.auth-card-minimal .auth-provider-stack-custom,
.auth-card-minimal .auth-feedback,
.auth-card-minimal .auth-trust-note {
  width: min(100%, 360px);
  margin-left: auto;
  margin-right: auto;
}

.auth-card-minimal .auth-bandwagon-copy {
  text-align: center;
}

.auth-close-button {
  position: absolute;
  top: 0.9rem;
  right: 0.95rem;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(24, 49, 83, 0.58);
  text-decoration: none;
  font-size: 1.7rem;
  line-height: 1;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.auth-close-button:hover,
.auth-close-button:focus-visible {
  color: var(--navy);
  background: rgba(24, 49, 83, 0.08);
  transform: scale(1.03);
}

.auth-provider-button {
  min-height: 52px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(24, 49, 83, 0.14);
  box-shadow: 0 8px 18px rgba(19, 32, 51, 0.06);
}

.auth-provider-button:hover,
.auth-provider-button:focus-visible {
  border-color: rgba(24, 49, 83, 0.28);
  background: #ffffff;
  transform: translateY(-1px);
}

.auth-provider-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.auth-provider-button-google {
  color: #183153;
}

.auth-provider-button-mark {
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbc05, #ea4335 46%, #4285f4 78%, #34a853);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.auth-trust-note {
  margin: 0 auto;
  color: var(--muted);
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.45;
}

.auth-provider-button-apple {
  color: #111111;
}

.auth-provider-button-meta {
  color: #0f3d91;
}

.auth-provider-button-muted {
  color: var(--muted);
}

.account-hero h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.auth-card-survey {
  width: 100%;
  min-height: 500px;
  padding: 1.35rem 1.35rem 1.15rem;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  align-content: center;
}

.auth-card-survey:not(.is-intro) {
  position: relative;
  padding-top: 3.55rem;
}

.auth-card-survey.is-intro {
  display: block;
  position: relative;
}

.auth-card-survey.is-intro .account-survey-progress,
.auth-card-survey.is-intro .account-survey-form,
.auth-card-survey.is-intro .account-survey-feedback {
  display: none;
}

.auth-card-survey:not(.is-intro) .account-survey-hero {
  display: none;
}

.auth-card-survey.is-intro .account-survey-hero {
  width: min(calc(100% - 2.7rem), 28rem);
  max-width: 28rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
}

.auth-card-survey.is-settings-view {
  display: grid;
  align-items: center;
}

.auth-card-survey.is-settings-view .account-survey-hero,
.auth-card-survey.is-settings-view .account-survey-progress,
.auth-card-survey.is-settings-view .account-survey-form,
.auth-card-survey.is-settings-view .account-survey-feedback {
  display: none;
}

.account-settings-view[hidden],
.account-survey-hero[hidden],
.account-survey-progress[hidden],
.account-survey-form[hidden],
.account-survey-feedback[hidden] {
  display: none !important;
}

.account-survey-hero {
  width: min(100%, 320px);
  display: grid;
  justify-items: center;
  padding: 0;
}

.auth-bandwagon-copy-survey {
  width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  text-align: center;
}

.auth-bandwagon-copy-survey h1 {
  margin: 0;
  width: 100%;
  text-align: center;
}

.account-survey-kicker {
  margin: -0.15rem 0 0.15rem;
  color: #d96c2f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-settings-view {
  display: grid;
  gap: 1rem;
  width: min(100%, 23.5rem);
  margin: auto;
  align-content: center;
  justify-items: stretch;
  text-align: center;
}

.account-settings-header {
  display: grid;
  gap: 0.5rem;
  text-align: center;
}

.account-settings-kicker {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.account-settings-header h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.02;
}

.account-settings-copy {
  margin: 0;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.08);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.account-settings-actions {
  display: grid;
  gap: 0.65rem;
  width: 100%;
}

.account-settings-actions .account-survey-action {
  width: 100%;
  min-width: 0;
}

.account-favorite-players-view[hidden] {
  display: none !important;
}

.account-favorite-players-view {
  width: min(100%, 29rem);
  margin: auto;
  display: grid;
  gap: 0.92rem;
  align-content: start;
  text-align: center;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.account-favorite-players-view .account-settings-header {
  gap: 0;
}

.account-favorite-players-view .account-settings-header h1 {
  font-size: clamp(1.32rem, 5vw, 1.9rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.account-favorite-player-builder {
  display: grid;
  gap: 0.72rem;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.account-favorite-player-leagues,
.account-favorite-player-teams {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.account-favorite-player-teams {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  max-height: 18.6rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.15rem 0.2rem 0.45rem;
}

.account-favorite-player-teams.is-selected {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) 2.4rem;
  align-items: center;
  max-height: none;
  overflow: visible;
  padding: 0.05rem 0.2rem 0.1rem;
}

.account-favorite-player-teams .account-team-category-button {
  width: 100%;
  min-height: 2.18rem;
  padding: 0.44rem 0.35rem;
  border-color: rgba(24, 49, 83, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font-size: 0.64rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(24, 49, 83, 0.06);
}

.account-favorite-player-teams .account-team-category-button.has-team-theme {
  border-color: color-mix(in srgb, var(--favorite-team-primary, var(--navy)) 42%, rgba(24, 49, 83, 0.12));
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--favorite-team-primary, var(--navy)) 16%, #ffffff) 0%, #ffffff 42% 100%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--favorite-team-secondary, var(--accent)) 18%, transparent),
    0 8px 16px rgba(24, 49, 83, 0.06);
}

.account-favorite-player-teams .account-team-category-button:hover,
.account-favorite-player-teams .account-team-category-button:focus-visible {
  border-color: rgba(24, 49, 83, 0.24);
  background: #ffffff;
}

.account-favorite-player-teams .account-team-category-button.has-team-theme:hover,
.account-favorite-player-teams .account-team-category-button.has-team-theme:focus-visible,
.account-favorite-player-teams .account-team-category-button.has-team-theme.is-active {
  border-color: color-mix(in srgb, var(--favorite-team-primary, var(--navy)) 70%, #ffffff);
  background:
    linear-gradient(135deg, var(--favorite-team-primary, var(--navy)), color-mix(in srgb, var(--favorite-team-primary, var(--navy)) 76%, #111827));
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  box-shadow:
    inset 0 -3px 0 var(--favorite-team-secondary, var(--accent)),
    0 10px 18px color-mix(in srgb, var(--favorite-team-primary, var(--navy)) 22%, transparent);
}

.account-favorite-player-teams.is-selected .account-favorite-selected-team {
  grid-column: 2;
  justify-self: center;
  width: min(100%, 10.5rem);
  min-height: 2.24rem;
  pointer-events: none;
}

.account-favorite-team-back {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.24rem;
  height: 2.24rem;
  border: 1px solid rgba(24, 49, 83, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(24, 49, 83, 0.08);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.account-favorite-team-back:hover,
.account-favorite-team-back:focus-visible {
  background: var(--accent);
  color: #ffffff;
  transform: translateX(-1px);
}

.account-favorite-player-roster {
  min-height: 15rem;
  max-height: 16rem;
  overflow: auto;
  padding: 0.15rem 0.2rem;
}

.account-favorite-player-summary {
  width: min(100%, 21.5rem);
  min-height: 1.76rem;
  margin: 0.18rem auto 0;
  padding: 0.34rem 0.72rem;
  border-top: 1px solid rgba(24, 49, 83, 0.18);
  border-bottom: 1px solid rgba(24, 49, 83, 0.08);
  color: var(--navy);
  font-family: "Barlow", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.12;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-favorite-player-summary.is-empty {
  color: rgba(24, 49, 83, 0.48);
  font-size: 0.64rem;
}

.account-favorite-players-view .account-settings-actions {
  justify-items: center;
  gap: 0.55rem;
  margin-top: 0.28rem;
}

.account-favorite-players-view .account-settings-actions .account-survey-action {
  width: min(100%, 18rem);
  min-height: 48px;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  box-shadow: 0 12px 22px rgba(24, 49, 83, 0.18);
}

.account-favorite-players-view .account-settings-actions .account-favorite-player-clear {
  min-height: 38px;
  width: min(100%, 14rem);
  padding: 0.62rem 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent-strong);
  font-size: 0.64rem;
  box-shadow: 0 8px 16px rgba(24, 49, 83, 0.08);
}

.account-favorite-players-view .account-settings-actions .account-favorite-player-clear:hover,
.account-favorite-players-view .account-settings-actions .account-favorite-player-clear:focus-visible {
  background: #ffffff;
  color: var(--accent-strong);
}

.account-favorite-players-view .account-settings-actions .account-survey-action:hover,
.account-favorite-players-view .account-settings-actions .account-survey-action:focus-visible {
  background: #22436f;
  color: #ffffff;
}

.account-manual-player-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  align-content: start;
  gap: 0.32rem;
  max-height: none;
  height: 100%;
  overflow: visible;
}

.account-manual-player-checklist .account-team-option {
  width: 100%;
}

.account-manual-player-checklist .account-team-option span {
  width: 100%;
  min-height: 1.86rem;
  padding: 0.38rem 0.52rem;
  font-size: 0.64rem;
  line-height: 1.05;
}

.account-survey-progress {
  width: min(100%, 28rem);
  display: grid;
  gap: 0.45rem;
}

.auth-card-survey:not(.is-intro) .account-survey-progress {
  position: absolute;
  top: 1rem;
  left: 1.35rem;
  width: min(calc(100% - 5.6rem), 28rem);
  margin: 0;
  pointer-events: none;
  z-index: 1;
}

.account-survey-progress.is-hidden {
  display: none;
}

.account-survey-progress-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-survey-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.1);
  overflow: hidden;
}

.account-survey-progress-fill {
  display: block;
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #183153, #d96c2f);
  transition: width 180ms ease;
}

.account-survey-form {
  width: min(100%, 20.5rem);
  min-height: calc(500px - 6.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: 0;
  margin-top: 0;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.account-survey-step {
  display: none;
}

.account-survey-step.is-active {
  display: grid;
  width: 100%;
  margin: 0 auto;
  gap: 0.8rem;
  min-height: 100%;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  padding-top: 0;
  justify-items: center;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.account-survey-step-spacer {
  min-height: 0.25rem;
}


.account-survey-step h3 {
  margin: -0.45rem 0 0;
  font-size: clamp(1.45rem, 3vw, 1.7rem);
  color: var(--navy);
  white-space: nowrap;
  justify-self: center;
  text-align: center;
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.account-survey-step .account-copy,
.account-survey-step .julio-field {
  width: 100%;
  justify-self: center;
  text-align: center;
}

.account-sport-limit-copy {
  margin: -0.25rem 0 0.1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.account-sport-coming-soon-copy {
  margin: -0.42rem 0 0.08rem;
  color: rgba(24, 49, 83, 0.58);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.account-sport-checklist {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
  justify-self: center;
  justify-content: center;
  align-content: start;
  position: relative;
  z-index: 12;
  pointer-events: auto;
}

.account-sport-option {
  position: relative;
  display: inline-flex;
  z-index: 13;
  pointer-events: auto;
}

.account-sport-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-sport-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.4rem;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 49, 83, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  touch-action: manipulation;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}

.account-sport-option:hover .account-sport-chip,
.account-sport-option input:focus-visible + .account-sport-chip,
.account-sport-chip:focus-visible {
  border-color: rgba(24, 49, 83, 0.28);
  transform: translateY(-1px);
}

.account-sport-option input:checked + .account-sport-chip {
  border-color: rgba(40, 122, 54, 0.24);
  background: #2f8f3e;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(47, 143, 62, 0.22);
}

.account-sport-chip.is-selected {
  border-color: rgba(40, 122, 54, 0.24);
  background: #2f8f3e;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(47, 143, 62, 0.22);
}

.account-sport-option.is-disabled .account-sport-chip {
  opacity: 0.42;
  transform: none;
  box-shadow: none;
}

.account-team-picker,
.account-player-picker {
  width: 100%;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  min-height: 14.4rem;
  align-self: stretch;
}

.account-player-picker {
  min-height: 15.8rem;
  grid-template-rows: auto 1fr;
}

.account-player-selector-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
}

.account-player-selector-shell.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.account-player-selector-shell:not(.is-scrollable) {
  grid-template-columns: minmax(0, 1fr);
}

.account-player-selector-shell.is-single .account-team-selector {
  justify-content: center;
}

.account-player-selector-shell:not(.is-scrollable) .account-team-selector {
  justify-content: center;
}

.account-player-selector-shell.is-single .account-team-sport-button {
  min-width: 10rem;
  max-width: 14rem;
}

.account-player-selector-shell:not(.is-scrollable) .account-player-scroll-arrow {
  display: none;
}

.account-survey-step[data-account-step="2"].is-active {
  grid-template-rows: auto auto 1fr auto;
  gap: 0.12rem;
}

.account-survey-step[data-account-step="2"].is-active .account-team-picker {
  margin-top: 0.7rem;
  gap: 0.28rem;
  transform: none;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.account-survey-step[data-account-step="2"].is-active .account-team-selector {
  margin-top: 0;
}

.account-survey-step[data-account-step="2"].is-active .account-sport-limit-copy {
  margin: -0.38rem 0 -0.18rem;
}

.account-survey-step[data-account-step="2"].is-active .account-team-picker-static {
  margin-top: auto;
  gap: 0.38rem;
  padding-top: 0.65rem;
}

.account-survey-step[data-account-step="2"].is-active .account-team-picker-note-inline {
  font-size: 0.74rem;
}

.account-survey-step[data-account-step="2"].is-active .account-survey-footer {
  margin-top: 0.72rem;
}

.account-survey-step[data-account-step="3"].is-active {
  grid-template-rows: auto 1fr auto auto;
  gap: 0.12rem;
}

.account-survey-step[data-account-step="3"].is-active .account-player-limit-copy {
  margin: -0.38rem 0 -0.1rem;
  align-self: start;
}

.account-survey-step[data-account-step="3"].is-active .account-player-picker {
  margin-top: 0.18rem;
  margin-bottom: 0;
}

.account-survey-step[data-account-step="3"].is-active .account-survey-footer {
  margin-top: auto;
  transform: translateY(1.65rem);
}

.account-survey-step[data-account-step="4"].is-active {
  grid-template-rows: auto auto 1fr auto;
  gap: 0.2rem;
}

.account-survey-step[data-account-step="4"].is-active .account-final-tune-copy {
  margin: -0.34rem 0 0.15rem;
}

.account-survey-step[data-account-step="4"].is-active .account-survey-summary {
  margin-top: 0.18rem;
}

.account-survey-step[data-account-step="4"].is-active .account-survey-actions {
  margin-top: 0.85rem;
}

.account-team-picker-empty,
.account-team-group-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}

.account-team-picker-empty,
.account-team-picker-static {
  grid-column: 1 / -1;
}

.account-team-selector {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.38rem;
  width: 100%;
}

.account-team-sport-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.32rem;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 49, 83, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font: inherit;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  flex: 1 1 0;
  min-width: 0;
}

.account-player-picker .account-team-selector {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.42rem;
  align-items: stretch;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0.1rem 0.08rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.account-player-picker .account-team-selector::-webkit-scrollbar {
  display: none;
}

.account-player-scroll-arrow {
  width: 1.9rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font: inherit;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.account-player-scroll-arrow:hover,
.account-player-scroll-arrow:focus-visible {
  border-color: rgba(24, 49, 83, 0.28);
  background: #ffffff;
  transform: translateY(-1px);
}

.account-player-picker .account-team-sport-button {
  flex: 0 0 auto;
  min-width: 6.5rem;
  max-width: 8.5rem;
  min-height: 2.35rem;
  padding: 0.42rem 0.7rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  align-self: stretch;
}

.account-team-sport-button:hover,
.account-team-sport-button:focus-visible {
  border-color: rgba(24, 49, 83, 0.28);
  transform: translateY(-1px);
}

.account-team-sport-button.is-active {
  border-color: rgba(24, 49, 83, 0.18);
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(24, 49, 83, 0.18);
}

.account-team-sport-button.is-complete:not(.is-active) {
  border-color: rgba(40, 122, 54, 0.24);
  background: rgba(47, 143, 62, 0.12);
  color: #216a2d;
  box-shadow: 0 8px 16px rgba(47, 143, 62, 0.12);
}

.account-team-sport-button.is-active.is-complete {
  border-color: rgba(40, 122, 54, 0.24);
  background: #2f8f3e;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(47, 143, 62, 0.22);
}

.account-team-panels {
  width: 100%;
  min-height: 0;
}

.account-player-picker .account-team-panels {
  min-height: 0;
}

.account-team-panel {
  display: none;
  width: 100%;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.72rem 0.82rem 0.78rem;
  overflow: hidden;
}

.account-player-picker .account-team-panel {
  min-height: 0;
}

.account-team-panel.is-active {
  display: grid;
  gap: 0.58rem;
}

.account-player-picker .account-team-panel.is-active {
  grid-template-rows: auto 1fr;
  min-height: 0;
}

.account-team-panel-heading {
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.account-player-picker .account-team-panel-heading {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.account-team-category-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.42rem;
}

.account-team-category-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.42rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 49, 83, 0.11);
  background: rgba(24, 49, 83, 0.06);
  color: rgba(24, 49, 83, 0.84);
  font: inherit;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.account-team-category-button:hover,
.account-team-category-button:focus-visible {
  border-color: rgba(24, 49, 83, 0.2);
  transform: translateY(-1px);
}

.account-team-category-button.is-active {
  border-color: rgba(24, 49, 83, 0.18);
  background: var(--navy);
  color: #ffffff;
}

.account-team-category-panel {
  display: none;
}

.account-team-category-panel.is-active {
  display: block;
}

.account-team-group-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.42rem;
}

.account-team-group-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.42rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 49, 83, 0.1);
  background: rgba(245, 248, 252, 0.96);
  color: rgba(24, 49, 83, 0.78);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.account-team-group-button:hover,
.account-team-group-button:focus-visible {
  border-color: rgba(24, 49, 83, 0.2);
  transform: translateY(-1px);
}

.account-team-group-button.is-active {
  border-color: rgba(214, 127, 45, 0.2);
  background: rgba(214, 127, 45, 0.12);
  color: #8f4b10;
}

.account-team-category-panel .account-team-group-selector {
  margin-top: 0.12rem;
}

.account-team-group-panels {
  min-height: 0;
}

.account-team-group-panel {
  display: none;
}

.account-team-group-panel.is-active {
  display: block;
}

.account-team-checklist {
  max-height: 8.85rem;
  overflow: auto;
  display: grid;
  gap: 0.46rem;
  padding: 0 0.15rem 0.15rem 0;
}

.account-player-picker .account-team-checklist {
  max-height: 13.3rem;
  min-height: 0;
}

.account-team-option {
  position: relative;
  display: block;
}

.account-team-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-team-option span {
  display: flex;
  align-items: center;
  min-height: 2.35rem;
  width: 100%;
  padding: 0.58rem 0.78rem;
  border-radius: 14px;
  border: 1px solid rgba(24, 49, 83, 0.12);
  background: rgba(248, 251, 255, 0.94);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.account-team-option:hover span,
.account-team-option input:focus-visible + span {
  border-color: rgba(24, 49, 83, 0.26);
  transform: translateY(-1px);
}

.account-favorite-player-roster {
  --favorite-player-row-height: 2.08rem;
  --favorite-player-row-gap: 0.34rem;
  height: calc((var(--favorite-player-row-height) * 6) + (var(--favorite-player-row-gap) * 5) + 0.5rem);
  min-height: calc((var(--favorite-player-row-height) * 6) + (var(--favorite-player-row-gap) * 5) + 0.5rem);
  max-height: calc((var(--favorite-player-row-height) * 6) + (var(--favorite-player-row-gap) * 5) + 0.5rem);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.25rem 0.2rem;
}

.account-favorite-player-roster .account-manual-player-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: var(--favorite-player-row-height);
  align-content: start;
  gap: var(--favorite-player-row-gap);
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.account-favorite-player-roster .account-manual-player-checklist .account-team-option {
  min-height: 0;
  width: 100%;
}

.account-favorite-player-roster .account-manual-player-checklist .account-team-option span {
  justify-content: center;
  min-height: var(--favorite-player-row-height);
  height: var(--favorite-player-row-height);
  padding: 0.34rem 0.48rem;
  font-size: 0.64rem;
  line-height: 1.05;
}

.account-team-option input:checked + span {
  border-color: rgba(40, 122, 54, 0.24);
  background: #2f8f3e;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(47, 143, 62, 0.18);
}

.account-team-option.is-disabled span {
  opacity: 0.42;
  transform: none;
  box-shadow: none;
}

.account-team-picker-static {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.1rem;
}

.account-team-picker-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.account-team-picker-note-inline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(24, 49, 83, 0.62);
}

.account-team-static-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.account-team-static-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.08);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-survey-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0;
  flex-wrap: nowrap;
  width: auto;
  justify-self: center;
  align-self: end;
  padding-right: 0;
  padding-bottom: 0;
  position: relative;
  z-index: 14;
  pointer-events: auto;
  background: transparent;
}

.account-survey-footer {
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 0.16rem;
  width: 100%;
  margin-top: auto;
}

.account-survey-actions-inline {
  flex-wrap: nowrap;
}

.account-survey-actions-intro {
  width: 100%;
}

.account-survey-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0.82rem 1.05rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  position: relative;
  z-index: 15;
  pointer-events: auto;
}

.account-survey-action:hover,
.account-survey-action:focus-visible {
  border-color: rgba(24, 49, 83, 0.28);
  background: #ffffff;
  transform: translateY(-1px);
}

.account-survey-action-primary {
  border-color: rgba(24, 49, 83, 0.18);
  background: var(--navy);
  color: #ffffff;
}

.account-survey-action-primary:hover,
.account-survey-action-primary:focus-visible {
  border-color: rgba(24, 49, 83, 0.28);
  background: #0f2f57;
  color: #ffffff;
}

.account-survey-clear {
  border: 0;
  background: transparent;
  color: rgba(24, 49, 83, 0.62);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.16rem;
  cursor: pointer;
  justify-self: center;
  align-self: end;
  margin-top: 0;
  padding: 0.1rem 0.25rem 0;
  transition: color 160ms ease, opacity 160ms ease;
}

.account-survey-clear:hover,
.account-survey-clear:focus-visible {
  color: var(--navy);
  opacity: 1;
}

.account-survey-summary {
  display: grid;
  gap: 0.65rem;
  width: 100%;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 0.15rem;
  align-content: start;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.account-survey-summary::-webkit-scrollbar {
  display: none;
}

.account-summary-scroll-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: 0;
  position: relative;
}

.account-summary-scroll-controls {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: center;
  gap: 0.4rem;
  position: absolute;
  top: 50%;
  right: -2.6rem;
  transform: translateY(-50%);
}

.account-summary-scroll-shell:not(.is-scrollable) {
  grid-template-columns: minmax(0, 1fr);
}

.account-summary-scroll-shell:not(.is-scrollable) .account-summary-scroll-controls {
  display: none;
}

.account-summary-scroll-arrow {
  width: 1.9rem;
  height: 2rem;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font: inherit;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.account-summary-scroll-arrow:hover,
.account-summary-scroll-arrow:focus-visible {
  border-color: rgba(24, 49, 83, 0.28);
  background: #ffffff;
}

.account-summary-review {
  display: grid;
  gap: 0.7rem;
}

.account-summary-section {
  display: grid;
  gap: 0.42rem;
  padding: 0.82rem 0.88rem;
  border: 1px solid rgba(24, 49, 83, 0.1);
  border-radius: 18px;
  background: rgba(247, 250, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.account-summary-section-label {
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.account-summary-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.account-summary-chip,
.account-summary-empty-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.4rem 0.68rem;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.08);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.account-summary-empty-chip {
  background: rgba(24, 49, 83, 0.05);
  color: rgba(24, 49, 83, 0.62);
}

.account-survey-feedback {
  width: min(100%, 28rem);
  min-height: 1.25rem;
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}

.account-survey-debug {
  min-height: 1rem;
  color: rgba(24, 49, 83, 0.62);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}


.account-survey-step .account-survey-action,
.account-survey-actions:not(.account-survey-actions-intro) .account-survey-action {
  width: auto;
  min-width: 9.5rem;
  min-height: 44px;
}

.account-hero p:last-child {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.65;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1rem;
}

.account-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(24, 34, 52, 0.08);
}

.account-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.5rem;
  color: var(--navy);
}

.account-copy {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
}

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

.account-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  grid-column: 1 / -1;
  margin-top: 0.2rem;
}

.account-clear {
  min-height: 44px;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.account-clear-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.account-summary-stack {
  display: grid;
  gap: 0.85rem;
}

.account-summary-header h4 {
  margin: 0.15rem 0 0.25rem;
  font-size: 1.5rem;
  color: var(--navy);
}

.account-summary-header p {
  margin: 0;
  color: var(--muted);
}

.account-summary-list {
  display: grid;
  gap: 0.75rem;
}

.account-summary-block {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(24, 49, 83, 0.1);
  border-radius: var(--radius-md);
  background: rgba(247, 250, 255, 0.92);
}

.account-summary-block span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-summary-block strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.5;
}

.account-summary-note,
.account-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.front-strip {
  display: block;
  padding: 0.45rem 0 0.55rem;
}

.front-strip-date {
  text-align: center;
}

.front-strip-scores {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: hidden;
  overflow-y: hidden;
  padding-bottom: 0.38rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: auto;
  overscroll-behavior-x: none;
  opacity: 1;
  transition: opacity 140ms ease;
  contain: layout paint;
  will-change: scroll-position;
  touch-action: pan-y;
}

.front-strip-scores-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.45rem;
  width: max-content;
  min-width: max-content;
  will-change: transform;
}

.front-strip-scores[data-scroll-ready="false"] {
  opacity: 0;
}

.front-strip-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.18rem;
}

.front-strip-controls[hidden] {
  display: none;
}

.front-strip-scores::-webkit-scrollbar {
  display: none;
}

.front-strip-loading {
  white-space: nowrap;
}

.score-league-divider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #f8fbff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: 0 0 auto;
}

.score-league-mlb {
  background: linear-gradient(135deg, #0b2a4a, #d33b3b);
}

.score-league-nba {
  background: linear-gradient(135deg, #9a3412, #f59e0b);
}

.score-league-nhl {
  background: linear-gradient(135deg, #111827, #4b5563);
}

.score-league-nfl {
  background: linear-gradient(135deg, #5a3117, #c97b2c);
}

.score-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  white-space: nowrap;
  flex: 0 0 auto;
}

.score-chip-status {
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.score-chip-matchup {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.score-chip-league {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.masthead {
  padding: 1rem 0 0.45rem;
  text-align: center;
  border-bottom: 3px solid var(--ink);
}

.masthead-kicker,
.masthead-tagline {
  margin: 0;
}

.masthead-kicker {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.masthead-title {
  margin: 0.15rem 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 9vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.masthead-title-home-link {
  color: inherit;
  text-decoration: none;
}

.masthead-title-home-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.14em;
}

.masthead-tagline {
  max-width: 44rem;
  margin-inline: auto;
  padding-bottom: 0.95rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.masthead-byline {
  padding-bottom: 0.7rem;
  color: var(--accent-strong);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.topbar {
  position: sticky;
  top: 0.75rem;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: nowrap;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 0;
  border-right: 0;
  background: rgba(24, 49, 83, 0.94);
  box-shadow: 0 18px 40px rgba(12, 24, 44, 0.18);
  backdrop-filter: blur(16px);
}

.topbar.is-resting {
  position: relative;
  top: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.brand,
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.brand {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
}

.brand-home {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 0 1 auto;
  flex-wrap: nowrap;
}

.brand-home-copy {
  line-height: 1;
  white-space: nowrap;
  font-size: 1.02rem;
}

.topbar .brand,
.topbar .brand-home,
.topbar .brand-home-copy {
  color: #f8fbff;
}

.brand-socials {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.topbar-refresh {
  min-height: 40px;
  padding: 0.6rem 0.95rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  flex: 0 0 auto;
}

.topbar-refresh-inline {
  min-height: 35px;
  padding: 0.48rem 0.72rem;
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  border-radius: 999px;
}

body[data-page="home"] .topbar,
body[data-page="tool"] .topbar,
body[data-page="fantasy-hub"] .topbar {
  position: relative;
  top: 0;
  z-index: 220;
  display: flex;
  justify-content: center;
  padding: 0.15rem 0 0.55rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.topbar-home-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  overflow: visible;
}

body[data-page="home"] .topbar-actions,
body[data-page="home"] .topbar-links,
body[data-page="tool"] .topbar-actions,
body[data-page="tool"] .topbar-links,
body[data-page="fantasy-hub"] .topbar-actions,
body[data-page="fantasy-hub"] .topbar-links {
  overflow: visible;
}

body[data-page="home"] .topbar-home,
body[data-page="home"] .topbar-dropdown-toggle,
body[data-page="tool"] .topbar-home,
body[data-page="tool"] .topbar-dropdown-toggle,
body[data-page="fantasy-hub"] .topbar-home,
body[data-page="fantasy-hub"] .topbar-dropdown-toggle {
  min-height: 41px;
  padding: 0.58rem 0.88rem;
  font-size: 0.79rem;
  letter-spacing: 0.06em;
}

body[data-page="home"] .brand-social-link {
  width: 39px;
  height: 39px;
}

body[data-page="tool"] .home-visual-page {
  display: grid;
  gap: 1.4rem;
}

body[data-page="fantasy-hub"] .home-visual-page {
  display: grid;
  gap: 1.4rem;
}

body[data-page="tool"] .home-page-main-column {
  display: grid;
  gap: 1.4rem;
  width: min(100%, 940px);
  margin: 0 auto;
  min-width: 0;
}

body[data-page="fantasy-hub"] .home-page-main-column {
  display: grid;
  gap: 1.4rem;
  width: min(100%, 940px);
  margin: 0 auto;
  min-width: 0;
}

body[data-page="tool"] .sport-page.magazine-section {
  gap: 1.4rem;
}

body[data-page="fantasy-hub"] .sport-page.magazine-section {
  gap: 1.4rem;
}

.fantasy-slot-hero-shell {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

body[data-page="fantasy-hub"] .sport-hero {
  grid-template-columns: minmax(0, 1fr);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 1.2rem;
  justify-items: center;
}

body[data-page="fantasy-hub"] .sport-hero-copy {
  align-items: center;
  text-align: center;
}


.fantasy-hub-shell {
  gap: 1.15rem;
  padding-bottom: 1.25rem;
}

.fantasy-home-shell {
  display: grid;
  gap: 1.4rem;
}

.fantasy-home-slots-section {
  display: grid;
  gap: 1rem;
  min-height: 405px;
  padding: 1.05rem;
}

.fantasy-home-team-builder {
  margin: 0;
  padding: 0.75rem;
  border-color: var(--accent);
}

.fantasy-home-team-builder-heading {
  margin: 0;
}

.fantasy-home-team-builder-saved {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
}

.fantasy-home-team-builder-link {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 0.82rem;
  padding: 0.64rem 0.72rem;
  border: 1px solid rgba(217, 108, 47, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(19, 32, 51, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.fantasy-home-team-card-main {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 0.82rem;
  min-width: 0;
  padding: 0.64rem 0.72rem;
  border: 1px solid rgba(217, 108, 47, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(19, 32, 51, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.fantasy-home-team-builder-link:hover,
.fantasy-home-team-builder-link:focus-visible,
.fantasy-home-team-card-main:hover,
.fantasy-home-team-card-main:focus-visible {
  border-color: rgba(217, 108, 47, 0.48);
  box-shadow: 0 16px 30px rgba(19, 32, 51, 0.11);
  transform: translateY(-1px);
}

.fantasy-home-team-builder-plus {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--navy);
  color: #f8fbff;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.fantasy-home-team-builder-initial {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.fantasy-home-team-builder-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.fantasy-home-team-builder-copy strong {
  color: var(--navy);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.fantasy-home-team-builder-copy em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fantasy-home-team-settings {
  position: relative;
  flex: 0 0 auto;
  color: var(--navy);
}

.fantasy-home-team-settings-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: inherit;
  box-shadow: 0 10px 24px rgba(19, 32, 51, 0.06);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.fantasy-home-team-settings-toggle:hover,
.fantasy-home-team-settings-toggle:focus-visible {
  border-color: rgba(24, 49, 83, 0.28);
  box-shadow: 0 16px 30px rgba(19, 32, 51, 0.11);
  transform: translateY(-1px);
}

.fantasy-home-team-settings-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.fantasy-home-team-settings-menu {
  position: absolute;
  top: calc(100% + 0.42rem);
  right: 0;
  z-index: 12;
  min-width: 132px;
  overflow: hidden;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(19, 32, 51, 0.16);
}

.fantasy-home-team-settings-menu.is-hidden {
  display: none;
}

.fantasy-home-team-settings-menu a,
.fantasy-home-team-settings-menu button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0.72rem 0.84rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.fantasy-home-team-settings-menu a:hover,
.fantasy-home-team-settings-menu a:focus-visible,
.fantasy-home-team-settings-menu button:hover,
.fantasy-home-team-settings-menu button:focus-visible {
  background: rgba(24, 49, 83, 0.08);
}

.fantasy-home-team-settings-menu button {
  color: #a84625;
}

.fantasy-home-slots-section .home-personalized-header,
.fantasy-home-slots-grid,
.fantasy-home-add-row {
  grid-column: 1 / -1;
}

.fantasy-home-slots-section .home-personalized-header h2 {
  color: #f8fbff;
}

.fantasy-home-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

.fantasy-home-empty-slots {
  grid-column: 1 / -1;
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.5rem;
  padding: 1.4rem;
  border: 1px dashed rgba(24, 49, 83, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.fantasy-home-empty-slots h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: 0;
}

.fantasy-home-empty-slots p {
  max-width: 31rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.fantasy-home-slot-card {
  min-height: 190px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(19, 32, 51, 0.08);
}

.fantasy-home-slot-main {
  display: grid;
  align-content: end;
  gap: 0.45rem;
  min-width: 0;
  padding: 1rem;
  color: var(--navy);
  text-decoration: none;
}

.fantasy-home-slot-main h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.fantasy-home-slot-main p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
}

.fantasy-home-slot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(24, 49, 83, 0.12);
}

.fantasy-home-slot-actions a,
.fantasy-home-slot-actions button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.fantasy-home-slot-actions button {
  border-left: 1px solid rgba(24, 49, 83, 0.12);
}

.fantasy-home-slot-actions a:hover,
.fantasy-home-slot-actions a:focus-visible,
.fantasy-home-slot-actions button:hover,
.fantasy-home-slot-actions button:focus-visible {
  background: rgba(24, 49, 83, 0.08);
}

.fantasy-home-add-row {
  display: flex;
  justify-content: center;
}

.fantasy-home-add-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  border: 1px solid rgba(24, 49, 83, 0.18);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(19, 32, 51, 0.14);
}

.fantasy-home-add-slot span {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
  line-height: 1;
}

.fantasy-home-add-slot:hover,
.fantasy-home-add-slot:focus-visible {
  background: #d96c2f;
}

.fantasy-home-slot-limit {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-blank-space.fantasy-home-magazine {
  display: block;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-blank-space.fantasy-home-magazine::before {
  content: none;
}

.home-magazine-grid.fantasy-home-row-grid {
  gap: 0.68rem;
  padding: 0;
}

.fantasy-home-row-box {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.42rem;
  min-width: 0;
  padding: 0.56rem 0.62rem 0.5rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.fantasy-home-team-row-box {
  border-color: var(--accent);
}

.fantasy-home-top-news-row {
  gap: 0.8rem;
  padding: 0.95rem 0.95rem 0.72rem;
}

.fantasy-home-top-news-row.is-loading .home-magazine-row-controls {
  display: none;
}

.fantasy-home-top-news-row.is-loading .fantasy-home-scroll-row {
  display: none;
}

.home-magazine-scroll-row.fantasy-home-scroll-row {
  padding: 0.06rem 0.08rem 0.2rem;
}

.fantasy-home-top-news-heading {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding-inline: 0.15rem;
}

.fantasy-home-top-news-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.fantasy-home-top-news-heading a {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.fantasy-home-scroll-row .home-magazine-scroll-track {
  gap: 0.58rem;
}

.home-magazine-story-card.fantasy-home-row-card {
  flex: 0 0 212px;
  min-width: 212px;
  min-height: 132px;
  border-radius: 18px;
}

.fantasy-home-row-card .home-magazine-copy {
  gap: 0.16rem;
  padding: 0.38rem 0.46rem 0.42rem;
}

.fantasy-home-card-kicker {
  margin: 0;
  color: rgba(248, 251, 255, 0.82);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.fantasy-home-row-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(0.74rem, 0.9vw, 0.86rem);
  line-height: 1.03;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fantasy-home-row-card .home-magazine-meta {
  gap: 0.2rem 0.38rem;
  font-size: 0.47rem;
}

.fantasy-home-sport-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.62rem;
}

.fantasy-home-sport-heading > div {
  min-width: 0;
}

.fantasy-home-sport-heading .panel-label {
  font-size: 0.58rem;
}

.fantasy-home-sport-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 2.2vw, 1.46rem);
  letter-spacing: 0;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.fantasy-home-sport-heading a {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.fantasy-home-team-heading {
  align-items: flex-start;
}

.fantasy-home-team-heading p {
  margin: 0.26rem 0 0;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fantasy-home-sport-heading .fantasy-home-team-settings {
  color: var(--navy);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.fantasy-home-sport-heading .fantasy-home-team-settings-menu a,
.fantasy-home-sport-heading .fantasy-home-team-settings-menu button {
  flex: none;
  color: var(--navy);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fantasy-home-sport-heading .fantasy-home-team-settings-menu button {
  color: #a84625;
}

.fantasy-home-row-box .home-magazine-row-controls {
  gap: 0.38rem;
  margin-top: -0.04rem;
}

.fantasy-home-row-box .home-magazine-scroll-arrow {
  width: 1.55rem;
  height: 1.55rem;
  font-size: 0.92rem;
}

.fantasy-player-database-box {
  gap: 0.78rem;
  padding: 0.72rem;
}

.fantasy-player-database-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.fantasy-player-database-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.fantasy-player-database-count {
  flex: 0 0 auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0.44rem 0.62rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.fantasy-player-database-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.fantasy-player-database-sports {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.38rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.fantasy-player-database-chip {
  min-height: 34px;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.fantasy-player-database-chip {
  padding: 0.48rem 0.7rem;
}

.fantasy-player-database-chip:hover,
.fantasy-player-database-chip:focus-visible {
  border-color: rgba(24, 49, 83, 0.28);
  transform: translateY(-1px);
}

.fantasy-player-database-chip.is-selected {
  background: var(--navy);
  border-color: var(--navy);
  color: #f8fbff;
}

.fantasy-player-database-search {
  display: block;
  flex: 1 1 320px;
  min-width: 0;
}

.fantasy-player-database-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.68rem 0.9rem;
  outline: none;
}

.fantasy-player-database-search input:focus {
  border-color: rgba(210, 104, 42, 0.62);
  box-shadow: 0 0 0 3px rgba(210, 104, 42, 0.14);
}

.fantasy-player-database-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.62rem;
  min-height: 150px;
}

.fantasy-player-database-box.is-detail-mode {
  gap: 0;
}

.fantasy-player-database-box.is-detail-mode .fantasy-player-database-header,
.fantasy-player-database-box.is-detail-mode .fantasy-player-database-controls {
  display: none;
}

.fantasy-player-database-box.is-detail-mode .fantasy-player-database-results {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.fantasy-player-database-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(116px, 1fr) auto;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  box-shadow: 0 10px 22px rgba(19, 32, 51, 0.06);
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.fantasy-player-database-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  z-index: 2;
  width: 0.86rem;
  height: 0.86rem;
  border-left: 1px solid rgba(24, 49, 83, 0.16);
  border-top: 1px solid rgba(24, 49, 83, 0.16);
  background: rgba(248, 251, 255, 0.98);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.4rem) rotate(45deg);
  transition: opacity 160ms ease, transform 160ms ease;
}

.fantasy-player-database-card:hover,
.fantasy-player-database-card:focus-visible,
.fantasy-player-database-card.is-active {
  border-color: rgba(24, 49, 83, 0.32);
  box-shadow: 0 16px 30px rgba(19, 32, 51, 0.11);
  transform: translateY(-2px);
}

.fantasy-player-database-card.is-active {
  background: linear-gradient(180deg, #ffffff, #edf4ff);
}

.fantasy-player-database-card.is-active::after {
  opacity: 1;
  transform: translate(-50%, 0) rotate(45deg);
}

.fantasy-player-database-photo {
  min-height: 116px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #f3f6fb 100%);
  border-radius: 7px 7px 0 0;
  border-bottom: 1px solid rgba(24, 49, 83, 0.08);
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.fantasy-player-database-photo img {
  width: 100%;
  height: 100%;
  display: block;
  box-sizing: border-box;
  padding: 0.38rem 0.28rem 0;
  filter: drop-shadow(0 10px 13px rgba(19, 32, 51, 0.14));
  object-fit: contain;
  object-position: center bottom;
}

.fantasy-player-database-card-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
  min-height: 58px;
  align-content: center;
  padding: 0.52rem 0.58rem;
}

.fantasy-player-database-card-copy h3 {
  margin: 0;
  overflow: hidden;
  color: var(--navy);
  font-size: 0.92rem;
  letter-spacing: 0;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fantasy-player-database-card-copy p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fantasy-player-database-empty {
  grid-column: 1 / -1;
  min-height: 128px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(24, 49, 83, 0.18);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.fantasy-player-database-detail {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.7rem;
  padding: 0.78rem;
  border: 1px solid rgba(24, 49, 83, 0.16);
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.94);
  animation: fantasyDatabaseDetailEnter 190ms ease both;
  transform-origin: top center;
}

.fantasy-player-database-full-detail {
  padding: 0;
  border: 0;
  background: transparent;
  animation: fantasyDatabaseDetailEnter 170ms ease both;
}

@keyframes fantasyDatabaseDetailEnter {
  from {
    opacity: 0;
    transform: translateY(-0.32rem) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fantasy-player-database-detail-header .home-player-detail-header-main > div:last-child {
  min-width: 0;
}

.fantasy-player-database-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.34rem;
}

.fantasy-player-database-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.28rem 0.42rem;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.08);
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.fantasy-player-database-chip-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fantasy-player-database-info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.fantasy-player-database-info-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.36rem 0.56rem;
  border: 1px solid rgba(28, 71, 145, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.fantasy-player-database-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.fantasy-player-database-info-item {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
  padding: 0.5rem 0.56rem;
  border: 1px solid rgba(28, 71, 145, 0.14);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
}

.fantasy-player-database-info-item span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fantasy-player-database-info-item strong {
  min-width: 0;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.12;
}

.fantasy-player-database-info-item small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 750;
  line-height: 1.25;
}

.fantasy-player-database-notes {
  display: grid;
  gap: 0.42rem;
}

.fantasy-player-database-notes p {
  margin: 0;
  padding: 0.56rem 0.62rem;
  border: 1px solid rgba(28, 71, 145, 0.14);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.38;
}

.fantasy-hero-title-row {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.2rem;
  width: auto;
  max-width: 100%;
}

.fantasy-hero-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-top: 0.08rem;
  padding: 0.05rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.fantasy-hero-edit-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.fantasy-hero-edit:hover,
.fantasy-hero-edit:focus-visible {
  color: #f08b32;
}

.fantasy-hero-edit.is-hidden {
  display: none;
}

.fantasy-hero-settings {
  position: absolute;
  top: 1rem;
  left: calc(100% + 0.7rem);
  display: inline-flex;
  align-items: center;
}

.fantasy-hero-settings.is-hidden {
  display: none;
}

body[data-page="fantasy-hub"] .fantasy-hero-settings {
  display: none;
}

.fantasy-hero-settings-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(91, 102, 121, 0.92);
  cursor: pointer;
}

.fantasy-hero-settings-toggle.is-hidden {
  display: none;
}

.fantasy-hero-settings-toggle:hover,
.fantasy-hero-settings-toggle:focus-visible {
  color: rgba(62, 73, 93, 0.98);
}

.fantasy-hero-settings-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  min-width: 11.5rem;
  display: grid;
  gap: 0.3rem;
  padding: 0.45rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16);
  z-index: 20;
}

.fantasy-hero-settings-menu.is-hidden {
  display: none;
}

.fantasy-hero-settings-menu a,
.fantasy-hero-settings-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.fantasy-hero-settings-menu a:hover,
.fantasy-hero-settings-menu a:focus-visible,
.fantasy-hero-settings-menu button:hover,
.fantasy-hero-settings-menu button:focus-visible {
  background: rgba(24, 49, 83, 0.08);
}

.fantasy-hero-edit-form {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.fantasy-hero-edit-form.is-hidden {
  display: none;
}

.fantasy-hero-edit-form input {
  min-width: min(16rem, 70vw);
  min-height: 44px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

.fantasy-hero-edit-limit {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="fantasy-hub"] .sport-hero-copy h1 {
  max-width: 100%;
  white-space: nowrap;
  font-size: var(--fantasy-slot-title-size, clamp(1.9rem, 4.3vw, 3.1rem));
}

.fantasy-slot-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.fantasy-slot-button {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  box-shadow: 0 12px 24px rgba(19, 32, 51, 0.06);
}

.fantasy-slot-button span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fantasy-slot-button strong {
  font-size: 1.02rem;
}

.fantasy-slot-button.is-active {
  border-color: rgba(24, 49, 83, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 255, 0.98));
}

.fantasy-team-setup-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fantasy-roster-builder {
  gap: 0.65rem;
}

.fantasy-roster-add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.fantasy-roster-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.fantasy-roster-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 0.82rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fantasy-roster-chip strong {
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
}

.fantasy-feature-grid {
  display: grid;
  gap: 1rem;
}

.fantasy-feature-card .home-magazine-row-shell {
  gap: 0.8rem;
}

.fantasy-feature-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.fantasy-slot-survey {
  display: grid;
  gap: 1rem;
}

.fantasy-slot-survey-topbar {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  justify-items: start;
  gap: 0.35rem;
}

.fantasy-slot-survey-progress {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  margin-top: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
}

.fantasy-slot-survey-form {
  width: 100%;
  display: grid;
  margin: 0 auto;
}

.fantasy-slot-survey-form .fantasy-slot-survey-step[data-fantasy-slot-step="1"] {
  width: min(100%, 38rem);
  justify-self: center;
}

.fantasy-slot-survey-form .fantasy-slot-survey-step[data-fantasy-slot-step="3"] {
  width: min(100%, 28rem);
  justify-self: center;
}

.fantasy-slot-survey-form .fantasy-slot-survey-step[data-fantasy-slot-step="4"] {
  width: min(100%, 28rem);
  justify-self: center;
}

.fantasy-slot-survey-form .fantasy-slot-survey-step[data-fantasy-slot-step="2"] {
  width: min(100%, 84rem);
  justify-self: center;
}

.fantasy-slot-survey-form .fantasy-slot-survey-step[data-fantasy-slot-step="2"] .account-survey-footer {
  margin-top: -5.5rem;
}

.fantasy-slot-survey-step {
  display: none;
  gap: 0.9rem;
  justify-items: center;
}

.fantasy-slot-survey-step.is-active {
  display: grid;
}

.fantasy-slot-survey-step h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 1.7rem);
  text-align: center;
}

.fantasy-slot-survey-step .julio-field,
.fantasy-slot-survey-step .account-copy {
  width: 100%;
  max-width: 28rem;
  text-align: center;
}

.fantasy-slot-survey-step .julio-field input,
.fantasy-slot-survey-step .julio-field select,
.fantasy-slot-survey-step .julio-field textarea {
  text-align: center;
}

.fantasy-slot-feed-fieldset {
  width: 100%;
  max-width: 32rem;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.7rem;
}

.fantasy-slot-feed-fieldset .fantasy-slot-section-label {
  justify-self: center;
}

.fantasy-slot-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
}

.fantasy-slot-feed-option {
  position: relative;
  display: flex;
}

.fantasy-slot-feed-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fantasy-slot-feed-option span {
  width: 100%;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  min-height: 2.7rem;
  padding: 0.62rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(24, 49, 83, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 20px rgba(19, 32, 51, 0.06);
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
  cursor: pointer;
}

.fantasy-slot-feed-option input:checked + span {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-1px);
}

.fantasy-slot-feed-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.08);
  color: inherit;
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1;
}

.fantasy-slot-feed-option input:checked + span .fantasy-slot-feed-rank {
  background: rgba(255, 255, 255, 0.2);
}

.fantasy-slot-feed-text {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
}

.fantasy-slot-feed-option input:focus-visible + span {
  outline: 2px solid rgba(24, 49, 83, 0.24);
  outline-offset: 2px;
}

.fantasy-slot-step-one-footer .account-survey-actions {
  justify-content: center;
}

.fantasy-slot-player-pool-shell {
  width: min(100%, 50rem);
  display: grid;
  gap: 0.8rem;
}

.fantasy-slot-position-picker {
  width: min(100%, 72rem);
  display: grid;
  gap: 0.7rem;
  justify-items: stretch;
  position: relative;
  z-index: 3;
  transform: scale(0.85);
  transform-origin: top center;
  margin-bottom: -2.7rem;
}

.fantasy-slot-position-chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.fantasy-slot-position-chip {
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 49, 83, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fantasy-slot-position-chip.is-selected {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.fantasy-slot-position-chip.is-filled {
  box-shadow: inset 0 -2px 0 rgba(217, 108, 47, 0.42);
}

.fantasy-slot-position-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  justify-items: center;
  position: relative;
  z-index: 4;
  padding-bottom: 0.25rem;
}

.fantasy-slot-position-search-field {
  width: min(100%, 16rem);
  margin: 0;
  position: relative;
  z-index: 5;
}

.fantasy-slot-position-search-field input {
  text-align: center;
  position: relative;
  z-index: 6;
  min-height: 3.15rem;
}

.fantasy-slot-player-results {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 128px;
  justify-content: center;
  justify-self: stretch;
  gap: 0.7rem;
  min-height: 10rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: visible;
}

.fantasy-slot-player-result-card {
  width: 116px;
  min-height: 138px;
  display: grid;
  grid-template-rows: 92px auto;
  align-content: start;
  gap: 0.4rem;
  padding: 0.2rem 0.1rem 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: grab;
}

.fantasy-slot-player-result-card:active {
  cursor: grabbing;
}

.fantasy-slot-player-result-headshot-wrap {
  width: 92px;
  height: 92px;
  margin: 0 auto;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, #edf3fb, #dfe8f5);
  box-shadow: 0 10px 24px rgba(24, 34, 52, 0.12);
}

.fantasy-slot-player-result-headshot-wrap.is-jersey {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.fantasy-slot-player-result-jersey-shell {
  display: flex !important;
  width: 92px;
  max-width: 92px;
  min-height: 112px;
  height: 112px;
  margin: 0 auto;
  transform: scale(0.95);
  transform-origin: top center;
}

.fantasy-slot-player-result-jersey-shell.is-dst-search-jersey {
  width: 74px;
  max-width: 74px;
  min-height: 92px;
  height: 92px;
  transform: scale(0.82);
}

.fantasy-slot-player-result-jersey-shell.is-dst-search-jersey .fantasy-slot-roster-jersey-name {
  top: 2.05rem;
  width: calc(100% - 0.05rem);
  font-size: var(--slot-player-jersey-name-size, 0.84rem) !important;
  line-height: 0.92;
  letter-spacing: 0.005em;
}

.fantasy-slot-player-result-headshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.fantasy-slot-player-result-headshot.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
}

.fantasy-slot-player-result-name {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: -0.45rem;
}

.fantasy-slot-player-result-name span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.fantasy-slot-player-pool-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.fantasy-slot-player-pool-controls input {
  min-width: 0;
}

.fantasy-slot-player-pool {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  min-height: 5.5rem;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px dashed rgba(24, 49, 83, 0.22);
  background: rgba(255, 255, 255, 0.5);
}

.fantasy-slot-player-pool-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  width: 100%;
  margin-top: -2rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.fantasy-slot-player-chip {
  display: inline-grid;
  justify-items: center;
  gap: 0.38rem;
  width: 5.9rem;
  padding: 0.45rem 0.38rem 0.5rem;
  border-radius: 16px;
  border: 1px solid rgba(18, 24, 31, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: rgba(14, 18, 24, 0.96);
  cursor: grab;
  box-shadow: 0 8px 18px rgba(19, 32, 51, 0.08);
}

.fantasy-slot-player-chip:active {
  cursor: grabbing;
}

.fantasy-slot-player-chip img {
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(18, 24, 31, 0.1);
}

.fantasy-slot-player-chip span {
  width: 100%;
  font-size: 0.64rem;
  line-height: 1.05;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.fantasy-slot-roster-grid {
  width: 100%;
  max-width: 48rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 1.15rem;
  border-radius: 18px;
  border: 8px solid rgba(124, 129, 135, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 28px rgba(19, 32, 51, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 246, 248, 0.97)),
    radial-gradient(circle at 22% 18%, rgba(0, 0, 0, 0.03), transparent 28%),
    radial-gradient(circle at 76% 62%, rgba(0, 0, 0, 0.025), transparent 24%),
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 34px),
    #fcfdfe;
  transform: scale(0.65025);
  transform-origin: top center;
  margin-top: -3rem;
  margin-bottom: -8.2rem;
}

.fantasy-slot-roster-field {
  max-width: none;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.24rem;
  padding: 0.1rem 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  position: relative;
}

.fantasy-slot-roster-field.is-pointer-drag-source {
  opacity: 0.38;
}

.fantasy-slot-roster-headshot-shell {
  box-sizing: border-box;
  justify-self: center;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), rgba(225, 233, 242, 0.7));
  box-shadow:
    0 8px 18px rgba(19, 32, 51, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  pointer-events: auto;
  cursor: grab;
}

.fantasy-slot-roster-headshot-shell.has-player-photo {
  background-color: #dfe6ee;
  background-image: var(--slot-player-headshot-image) !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

.fantasy-slot-roster-field.uses-team-jersey-visual .fantasy-slot-roster-headshot-shell {
  display: none !important;
}

.fantasy-slot-roster-field.uses-team-jersey-visual .fantasy-slot-roster-jersey-shell {
  display: flex !important;
}

.fantasy-slot-roster-field.is-drop-target .fantasy-slot-roster-headshot-shell {
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.24),
    0 10px 20px rgba(19, 32, 51, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.fantasy-slot-roster-headshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.fantasy-slot-roster-headshot-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.fantasy-slot-roster-field input {
  display: none;
}

.fantasy-slot-roster-jersey-shell {
  display: none;
  position: relative;
  justify-self: center;
  width: min(100%, 7.6rem);
  max-width: 7.9rem;
  min-height: 9.2rem;
  height: 9.2rem;
  justify-content: center;
  align-items: flex-start;
  margin-top: -0.05rem;
  pointer-events: auto;
  cursor: grab;
  --slot-player-team-primary: #183153;
  --slot-player-team-secondary: #d2682a;
  --slot-player-jersey-fill: var(--slot-player-team-primary);
  --slot-player-jersey-shadow: color-mix(in srgb, var(--slot-player-team-primary) 88%, #050c1c);
  --slot-player-card-overlay: linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.14) 8% 10%, transparent 10% 90%, rgba(255, 255, 255, 0.14) 90% 92%, transparent 92% 100%);
  --slot-player-panel-overlay: linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, 0.06) 12% 18%, transparent 18% 82%, rgba(255, 255, 255, 0.06) 82% 88%, transparent 88% 100%);
  --slot-player-card-clip: polygon(24% 0, 40% 0, 45% 10%, 55% 10%, 60% 0, 76% 0, 88% 12%, 88% 100%, 12% 100%, 12% 12%);
  --slot-player-collar-width: 28%;
  --slot-player-collar-height: 12%;
  --slot-player-collar-radius: 0 0 20px 20px;
  --slot-player-collar-trim-size: 2.8px;
  --slot-player-collar-fill: var(--slot-player-team-primary);
  --slot-player-collar-trim: var(--slot-player-team-secondary);
  --slot-player-name-color: #f8fbff;
  --slot-player-number-color: rgba(255, 255, 255, 0.96);
  --slot-player-sleeve-width: 27%;
  --slot-player-sleeve-height: 34%;
  --slot-player-sleeve-top: 4%;
  --slot-player-sleeve-width-trim: 0%;
  --slot-player-sleeve-left-offset: 0%;
  --slot-player-sleeve-right-offset: 0%;
  --slot-player-sleeve-left: linear-gradient(180deg, transparent, transparent);
  --slot-player-sleeve-right: linear-gradient(180deg, transparent, transparent);
  --slot-player-torso-left: 0%;
  --slot-player-torso-right: 0%;
  --slot-player-torso-top: 0%;
  --slot-player-torso-bottom: 0%;
  --slot-player-torso-radius: 0;
  --slot-player-jersey-name-size: 1.28rem;
  padding: 0.48rem 0.42rem 0.34rem;
  border-radius: 18px 18px 16px 16px;
  text-align: center;
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 16%),
    linear-gradient(180deg, var(--slot-player-jersey-fill), var(--slot-player-jersey-shadow));
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
  clip-path: var(--slot-player-card-clip);
}

.fantasy-slot-roster-field[draggable="true"] {
  cursor: grab;
}

.fantasy-slot-roster-field[draggable="true"]:active,
.fantasy-slot-roster-headshot-shell[draggable="true"]:active,
.fantasy-slot-roster-jersey-shell[draggable="true"]:active {
  cursor: grabbing;
}

.fantasy-slot-drag-ghost {
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: none !important;
  z-index: 9999;
  opacity: 0.96;
  filter: drop-shadow(0 12px 22px rgba(19, 32, 51, 0.24));
}

.fantasy-slot-roster-jersey-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--slot-player-collar-width);
  height: var(--slot-player-collar-height);
  transform: translateX(-50%);
  border-radius: var(--slot-player-collar-radius);
  background: var(--slot-player-collar-fill);
  box-shadow:
    0 1px 0 rgba(8, 20, 46, 0.16),
    inset 0 calc(var(--slot-player-collar-trim-size) * -1) 0 var(--slot-player-collar-trim);
  z-index: 1;
}

.fantasy-slot-roster-jersey-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--slot-player-card-overlay);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.fantasy-slot-roster-jersey {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  background: var(--slot-player-panel-overlay);
  overflow: hidden;
}

.fantasy-slot-roster-jersey::before,
.fantasy-slot-roster-jersey::after {
  display: none;
}

.fantasy-slot-roster-jersey.show-custom-sleeves::before,
.fantasy-slot-roster-jersey.show-custom-sleeves::after {
  content: "";
  display: block;
  position: absolute;
  top: var(--slot-player-sleeve-top);
  width: calc(var(--slot-player-sleeve-width) - var(--slot-player-sleeve-width-trim));
  height: var(--slot-player-sleeve-height);
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  opacity: var(--slot-player-sleeve-opacity, 1);
  z-index: 0;
}

.fantasy-slot-roster-jersey.show-custom-sleeves::before {
  left: var(--slot-player-sleeve-left-offset);
  background: var(--slot-player-sleeve-left);
}

.fantasy-slot-roster-jersey.show-custom-sleeves::after {
  right: var(--slot-player-sleeve-right-offset);
  background: var(--slot-player-sleeve-right);
}

.fantasy-slot-roster-jersey-torso {
  display: none;
  position: absolute;
  left: var(--slot-player-torso-left);
  right: var(--slot-player-torso-right);
  top: var(--slot-player-torso-top);
  bottom: var(--slot-player-torso-bottom);
  border-radius: var(--slot-player-torso-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 18%),
    linear-gradient(180deg, var(--slot-player-jersey-fill), var(--slot-player-jersey-shadow));
  z-index: 0;
}

.fantasy-slot-roster-jersey-name {
  position: absolute;
  top: 2.28rem;
  left: 50%;
  transform: translateX(-50%);
  min-height: 0;
  width: calc(100% - 1.08rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: color-mix(in srgb, var(--slot-player-name-color, #ffffff) 92%, #ffffff);
  font-family: "Bebas Neue", sans-serif;
  font-size: var(--slot-player-jersey-name-size, 1.28rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(7, 14, 27, 0.62),
    0 0 18px rgba(255, 255, 255, 0.34);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

.fantasy-slot-roster-jersey-number {
  position: absolute;
  top: 49.5%;
  left: 50%;
  transform: translate(-50%, 8%);
  color: color-mix(in srgb, var(--slot-player-number-color, #ffffff) 94%, #ffffff);
  font-family: "Bebas Neue", sans-serif;
  margin-top: 0;
  font-size: 4.45rem;
  line-height: 1;
  letter-spacing: 0.03em;
  -webkit-text-stroke: 1.25px rgba(8, 20, 46, 0.4);
  text-shadow:
    0 3px 0 rgba(8, 20, 46, 0.42),
    0 0 22px rgba(255, 255, 255, 0.38);
  z-index: 2;
}

.fantasy-slot-roster-jersey-shell.is-basketball-jersey {
  --slot-player-card-clip: polygon(24% 0, 40% 0, 45% 10%, 55% 10%, 60% 0, 76% 0, 88% 12%, 88% 100%, 12% 100%, 12% 12%);
  --slot-player-collar-width: 28%;
  --slot-player-collar-height: 12%;
  --slot-player-collar-radius: 0 0 20px 20px;
  --slot-player-collar-trim-size: 2.8px;
}

.fantasy-slot-roster-jersey-shell.is-football-jersey {
  --slot-player-card-clip: polygon(12% 0, 36% 0, 43% 10%, 57% 10%, 64% 0, 88% 0, 100% 12%, 100% 32%, 82% 32%, 82% 100%, 18% 100%, 18% 32%, 0 32%, 0 12%);
  --slot-player-collar-width: 26%;
  --slot-player-collar-height: 14%;
  --slot-player-collar-radius: 0 0 18px 18px;
  --slot-player-torso-left: 18%;
  --slot-player-torso-right: 18%;
}

.fantasy-slot-roster-jersey-shell.is-football-jersey .fantasy-slot-roster-jersey-torso {
  display: none;
}

.fantasy-slot-roster-jersey-shell.is-baseball-jersey {
  --slot-player-card-clip: polygon(18% 4%, 36% 4%, 42.5% 10%, 57.5% 10%, 64% 4%, 82% 4%, 93% 12%, 93% 31%, 81% 31%, 81% 100%, 19% 100%, 19% 31%, 7% 31%, 7% 12%);
  --slot-player-collar-width: 26%;
  --slot-player-collar-height: 13%;
  --slot-player-collar-radius: 0 0 18px 18px;
  --slot-player-collar-trim-size: 2.4px;
}

.fantasy-slot-roster-jersey-shell.is-baseball-jersey .fantasy-slot-roster-jersey {
  background:
    radial-gradient(circle at 50% 23%, var(--slot-player-baseball-button-color, color-mix(in srgb, var(--slot-player-team-secondary) 82%, rgba(18, 24, 38, 0.28))) 0 1.35%, transparent 1.4%),
    radial-gradient(circle at 50% 35%, var(--slot-player-baseball-button-color, color-mix(in srgb, var(--slot-player-team-secondary) 82%, rgba(18, 24, 38, 0.28))) 0 1.35%, transparent 1.4%),
    radial-gradient(circle at 50% 47%, var(--slot-player-baseball-button-color, color-mix(in srgb, var(--slot-player-team-secondary) 82%, rgba(18, 24, 38, 0.28))) 0 1.35%, transparent 1.4%),
    radial-gradient(circle at 50% 59%, var(--slot-player-baseball-button-color, color-mix(in srgb, var(--slot-player-team-secondary) 82%, rgba(18, 24, 38, 0.28))) 0 1.35%, transparent 1.4%),
    radial-gradient(circle at 50% 71%, var(--slot-player-baseball-button-color, color-mix(in srgb, var(--slot-player-team-secondary) 82%, rgba(18, 24, 38, 0.28))) 0 1.35%, transparent 1.4%),
    linear-gradient(
      90deg,
      transparent 49.15%,
      var(--slot-player-baseball-placket-color, color-mix(in srgb, var(--slot-player-team-secondary) 70%, rgba(255, 255, 255, 0.92))) 49.15% 49.72%,
      color-mix(in srgb, var(--slot-player-baseball-seam-shadow, var(--slot-player-team-primary)) 48%, rgba(24, 31, 45, 0.34)) 49.72% 50.28%,
      var(--slot-player-baseball-placket-color, color-mix(in srgb, var(--slot-player-team-secondary) 70%, rgba(255, 255, 255, 0.92))) 50.28% 50.85%,
      transparent 50.85%
    ),
    var(--slot-player-panel-overlay);
}

.fantasy-slot-roster-jersey-shell.is-hockey-jersey {
  --slot-player-card-clip: polygon(12% 4%, 31% 4%, 39% 11%, 61% 11%, 69% 4%, 88% 4%, 100% 16%, 100% 76%, 78% 76%, 78% 100%, 22% 100%, 22% 76%, 0 76%, 0 16%);
  --slot-player-collar-width: 42%;
  --slot-player-collar-height: 16%;
  --slot-player-collar-radius: 0 0 12px 12px;
  --slot-player-collar-trim-size: 4px;
}

.fantasy-slot-roster-jersey-shell:not(.is-football-jersey) .fantasy-slot-roster-jersey-torso {
  display: block;
}

.fantasy-slot-roster-field > .fantasy-slot-roster-label {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 92px;
  max-width: 92px;
  min-height: 1.95rem;
  margin: 0 0 0.12rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(14, 18, 24, 0.98);
  border: 1px solid rgba(14, 18, 24, 0.14);
  text-shadow: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  line-height: 1;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  pointer-events: none;
}

.fantasy-slot-roster-field input::placeholder {
  color: rgba(18, 24, 31, 0.42);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.fantasy-slot-roster-grid.is-nfl {
  position: relative;
  max-width: 66rem;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-areas:
    "wr1 . te . . . flex . wr2"
    ". . . . qb . . . ."
    ". . . rb1 . rb2 . . ."
    ". . . . . . . . ."
    ". . . . superflex . . . ."
    "dst . . . . . . . k"
    "bench1 . bench2 . bench3 . bench4 . bench5";
  border-color: rgba(255, 255, 255, 0.98);
  background: linear-gradient(180deg, rgba(49, 131, 70, 0.98), rgba(41, 120, 62, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 16px 28px rgba(255, 255, 255, 0.06),
    0 16px 28px rgba(19, 32, 51, 0.08);
}

.fantasy-slot-roster-grid.is-nfl [data-slot-key="QB"],
.fantasy-slot-roster-grid.is-nfl [data-slot-key="RB1"],
.fantasy-slot-roster-grid.is-nfl [data-slot-key="RB2"] {
  transform: translateY(-0.85rem);
}

.fantasy-slot-roster-grid.is-nfl [data-slot-key="RB1"],
.fantasy-slot-roster-grid.is-nfl [data-slot-key="RB2"] {
  transform: translateY(-1.7rem);
}

.fantasy-slot-roster-grid.is-nfl [data-slot-key="DST"],
.fantasy-slot-roster-grid.is-nfl [data-slot-key="K"] {
  transform: translateY(-6rem);
}

.fantasy-slot-roster-grid.is-nfl [data-slot-key="BENCH1"] > .fantasy-slot-roster-label,
.fantasy-slot-roster-grid.is-nfl [data-slot-key="BENCH2"] > .fantasy-slot-roster-label,
.fantasy-slot-roster-grid.is-nfl [data-slot-key="BENCH4"] > .fantasy-slot-roster-label,
.fantasy-slot-roster-grid.is-nfl [data-slot-key="BENCH5"] > .fantasy-slot-roster-label {
  display: none;
}

.fantasy-slot-roster-grid.is-nfl [data-slot-key="FLEX"] span {
  width: 92px;
  max-width: 92px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.fantasy-slot-roster-grid.is-mlb {
  max-width: 62rem;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-template-areas:
    "of1 . . . of2 . . . of3"
    ". . ss . . . second . ."
    ". third . . sp1 . . first ."
    ". . . . c . . . ."
    ". p1 p2 p3 p4 sp2 rp1 rp2 ."
    ". . . util1 . util2 . . .";
  background: linear-gradient(180deg, rgba(79, 145, 82, 0.98), rgba(63, 126, 67, 0.98));
  border-color: rgba(244, 246, 239, 0.96);
}

.fantasy-slot-roster-grid.is-nba,
.fantasy-slot-roster-grid.is-wnba {
  max-width: 58rem;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-areas:
    ". . . c . . ."
    ". . sf . pf . ."
    "pg . . . . . sg"
    ". . . . . . ."
    ". . g . f . ."
    ". util1 . . . util2 .";
  background: linear-gradient(180deg, rgba(221, 183, 135, 0.98), rgba(206, 166, 116, 0.98));
  border-color: rgba(246, 237, 224, 0.98);
}

.fantasy-slot-roster-grid.is-wnba {
  grid-template-areas:
    ". . . c . . ."
    ". . f1 . f2 . ."
    "g1 . . . . . g2"
    ". . . . . . ."
    ". . . util . . .";
}

.fantasy-slot-roster-grid.is-nhl {
  max-width: 58rem;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-areas:
    ". lw1 . c1 . rw1 ."
    ". . d1 . d2 . ."
    ". . . g1 . . ."
    ". . . . . . ."
    ". lw2 . c2 . rw2 ."
    ". . d3 . d4 . ."
    ". . . g2 . . .";
  background: rgba(240, 246, 252, 0.98);
  border-color: rgba(229, 236, 244, 0.98);
}

.fantasy-slot-roster-grid [data-slot-key="QB"] { grid-area: qb; }
.fantasy-slot-roster-grid [data-slot-key="RB1"] { grid-area: rb1; }
.fantasy-slot-roster-grid [data-slot-key="RB2"] { grid-area: rb2; }
.fantasy-slot-roster-grid [data-slot-key="WR1"] { grid-area: wr1; }
.fantasy-slot-roster-grid [data-slot-key="WR2"] { grid-area: wr2; }
.fantasy-slot-roster-grid [data-slot-key="TE"] { grid-area: te; }
.fantasy-slot-roster-grid [data-slot-key="FLEX"] { grid-area: flex; }
.fantasy-slot-roster-grid [data-slot-key="SUPERFLEX"] { grid-area: superflex; }
.fantasy-slot-roster-grid [data-slot-key="K"] { grid-area: k; }
.fantasy-slot-roster-grid [data-slot-key="DST"] { grid-area: dst; }
.fantasy-slot-roster-grid [data-slot-key="BENCH1"] { grid-area: bench1; }
.fantasy-slot-roster-grid [data-slot-key="BENCH2"] { grid-area: bench2; }
.fantasy-slot-roster-grid [data-slot-key="BENCH3"] { grid-area: bench3; }

.fantasy-slot-roster-grid.is-nfl [data-slot-key="QB"] {
  justify-self: center;
}

.fantasy-slot-roster-grid.is-nfl [data-slot-key="BENCH3"] {
  justify-self: center;
  margin-top: -2.4rem;
}

.fantasy-slot-roster-grid.is-mlb [data-slot-key="OF1"],
.fantasy-slot-roster-grid.is-mlb [data-slot-key="OF2"],
.fantasy-slot-roster-grid.is-mlb [data-slot-key="OF3"] {
  transform: translateY(-0.45rem);
}

.fantasy-slot-roster-grid.is-mlb [data-slot-key="SP1"] {
  transform: translateY(-0.32rem);
}

.fantasy-slot-roster-grid.is-mlb [data-slot-key="1B"],
.fantasy-slot-roster-grid.is-mlb [data-slot-key="3B"],
.fantasy-slot-roster-grid.is-mlb [data-slot-key="SS"],
.fantasy-slot-roster-grid.is-mlb [data-slot-key="2B"] {
  transform: translateY(-0.08rem);
}

.fantasy-slot-roster-grid.is-mlb [data-slot-key="C"] {
  transform: translateY(0.08rem);
}

.fantasy-slot-roster-grid.is-nba [data-slot-key="C"],
.fantasy-slot-roster-grid.is-wnba [data-slot-key="C"] {
  transform: translateY(-0.25rem);
}

.fantasy-slot-roster-grid.is-nba [data-slot-key="PG"],
.fantasy-slot-roster-grid.is-nba [data-slot-key="SG"],
.fantasy-slot-roster-grid.is-wnba [data-slot-key="G1"],
.fantasy-slot-roster-grid.is-wnba [data-slot-key="G2"] {
  transform: translateY(0.1rem);
}

.fantasy-slot-roster-grid.is-nhl [data-slot-key="LW1"],
.fantasy-slot-roster-grid.is-nhl [data-slot-key="C1"],
.fantasy-slot-roster-grid.is-nhl [data-slot-key="RW1"] {
  transform: translateY(-0.1rem);
}

.fantasy-slot-roster-grid.is-nhl [data-slot-key="G1"],
.fantasy-slot-roster-grid.is-nhl [data-slot-key="G2"] {
  transform: translateY(0.1rem);
}

.fantasy-slot-roster-grid [data-slot-key="BENCH4"] { grid-area: bench4; }
.fantasy-slot-roster-grid [data-slot-key="BENCH5"] { grid-area: bench5; }

.fantasy-slot-roster-grid.is-nba [data-slot-key="PG"] { grid-area: pg; }
.fantasy-slot-roster-grid.is-nba [data-slot-key="SG"] { grid-area: sg; }
.fantasy-slot-roster-grid.is-nba [data-slot-key="SF"] { grid-area: sf; }
.fantasy-slot-roster-grid.is-nba [data-slot-key="PF"] { grid-area: pf; }
.fantasy-slot-roster-grid.is-nba [data-slot-key="C"] { grid-area: c; }
.fantasy-slot-roster-grid.is-nba [data-slot-key="G"] { grid-area: g; }
.fantasy-slot-roster-grid.is-nba [data-slot-key="F"] { grid-area: f; }
.fantasy-slot-roster-grid.is-nba [data-slot-key="UTIL1"] { grid-area: util1; }
.fantasy-slot-roster-grid.is-nba [data-slot-key="UTIL2"] { grid-area: util2; }

.fantasy-slot-roster-grid.is-wnba [data-slot-key="G1"] { grid-area: g1; }
.fantasy-slot-roster-grid.is-wnba [data-slot-key="G2"] { grid-area: g2; }
.fantasy-slot-roster-grid.is-wnba [data-slot-key="F1"] { grid-area: f1; }
.fantasy-slot-roster-grid.is-wnba [data-slot-key="F2"] { grid-area: f2; }
.fantasy-slot-roster-grid.is-wnba [data-slot-key="C"] { grid-area: c; }
.fantasy-slot-roster-grid.is-wnba [data-slot-key="UTIL"] { grid-area: util; }

.fantasy-slot-roster-grid.is-mlb [data-slot-key="1B"] { grid-area: first; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="2B"] { grid-area: second; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="3B"] { grid-area: third; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="SS"] { grid-area: ss; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="C"] { grid-area: c; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="OF1"] { grid-area: of1; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="OF2"] { grid-area: of2; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="OF3"] { grid-area: of3; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="UTIL1"] { grid-area: util1; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="UTIL2"] { grid-area: util2; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="SP1"] { grid-area: sp1; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="SP2"] { grid-area: sp2; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="RP1"] { grid-area: rp1; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="RP2"] { grid-area: rp2; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="P1"] { grid-area: p1; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="P2"] { grid-area: p2; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="P3"] { grid-area: p3; }
.fantasy-slot-roster-grid.is-mlb [data-slot-key="P4"] { grid-area: p4; }

.fantasy-slot-roster-grid.is-nhl [data-slot-key="C1"] { grid-area: c1; }
.fantasy-slot-roster-grid.is-nhl [data-slot-key="C2"] { grid-area: c2; }
.fantasy-slot-roster-grid.is-nhl [data-slot-key="LW1"] { grid-area: lw1; }
.fantasy-slot-roster-grid.is-nhl [data-slot-key="LW2"] { grid-area: lw2; }
.fantasy-slot-roster-grid.is-nhl [data-slot-key="RW1"] { grid-area: rw1; }
.fantasy-slot-roster-grid.is-nhl [data-slot-key="RW2"] { grid-area: rw2; }
.fantasy-slot-roster-grid.is-nhl [data-slot-key="D1"] { grid-area: d1; }
.fantasy-slot-roster-grid.is-nhl [data-slot-key="D2"] { grid-area: d2; }
.fantasy-slot-roster-grid.is-nhl [data-slot-key="D3"] { grid-area: d3; }
.fantasy-slot-roster-grid.is-nhl [data-slot-key="D4"] { grid-area: d4; }
.fantasy-slot-roster-grid.is-nhl [data-slot-key="G1"] { grid-area: g1; }
.fantasy-slot-roster-grid.is-nhl [data-slot-key="G2"] { grid-area: g2; }

.fantasy-slot-format-shell.is-hidden {
  display: none;
}

@media (max-width: 680px) {
  .fantasy-slot-survey-topbar {
    justify-items: start;
  }

  .fantasy-slot-survey-progress {
    justify-self: start;
  }

  .fantasy-slot-roster-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none !important;
    max-width: 28rem;
  }
}

.fantasy-slot-sport-checklist {
  width: 100%;
  flex-wrap: nowrap;
  justify-content: center;
}

.fantasy-slot-section-label {
  width: 100%;
  max-width: 28rem;
  color: rgba(86, 98, 121, 0.92);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.fantasy-slot-sport-checklist input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fantasy-slot-survey-add {
  width: 100%;
}

.fantasy-slot-survey-chip-list {
  justify-content: center;
  min-height: 2.5rem;
}

.fantasy-slot-summary {
  width: min(100%, 28rem);
}

.fantasy-slot-summary-players-block {
  display: grid;
  gap: 0.45rem;
}

.fantasy-slot-summary-players-block p {
  margin: 0;
}

.fantasy-slot-summary-players-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  gap: 0.5rem 0.65rem;
}

.fantasy-slot-summary-player {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  overflow: hidden;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), rgba(225, 233, 242, 0.7));
  border: 2px solid rgba(24, 49, 83, 0.12);
  box-shadow: 0 8px 16px rgba(19, 32, 51, 0.08);
}

.fantasy-slot-summary-player.is-jersey {
  width: 2.95rem;
  height: 3.4rem;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.fantasy-slot-summary-player.is-jersey .fantasy-slot-player-result-jersey-shell {
  width: 2.95rem;
  max-width: 2.95rem;
  min-height: 3.4rem;
  height: 3.4rem;
  transform: none;
}

.fantasy-slot-summary-player.is-jersey .fantasy-slot-player-result-jersey-shell.is-dst-search-jersey {
  width: 2.95rem;
  max-width: 2.95rem;
  min-height: 3.4rem;
  height: 3.4rem;
  transform: none;
}

.fantasy-slot-summary-player.is-jersey .fantasy-slot-roster-jersey-name {
  top: 1rem;
  width: calc(100% - 0.08rem);
  line-height: 0.88;
  font-size: clamp(0.42rem, 0.55vw, 0.58rem) !important;
  letter-spacing: 0.01em;
}

.fantasy-slot-summary-player img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.fantasy-slot-summary-player.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.fantasy-slot-summary-empty {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.fantasy-auth-gate {
  justify-items: center;
  text-align: center;
}

.fantasy-auth-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.fantasy-slot-management {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.fantasy-slot-feed-status-row {
  min-height: 220px;
}

.fantasy-slot-feed-loading {
  display: grid;
  min-height: 178px;
  place-items: center;
  border: 1px solid rgba(25, 35, 48, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: rgba(24, 31, 43, 0.72);
  font-family: "Barlow", Arial, sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  padding: 1.25rem;
  text-align: center;
}

.fantasy-slot-feed-row-shell {
  position: relative;
}

.fantasy-slot-feed-row .home-magazine-story-card {
  min-width: clamp(236px, 24vw, 310px);
}

@media (max-width: 900px) {
  .fantasy-slot-switcher {
    grid-template-columns: 1fr;
  }

  .fantasy-team-setup-form,
  .fantasy-feature-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .fantasy-roster-add,
  .fantasy-team-setup-form,
  .fantasy-feature-form {
    grid-template-columns: 1fr;
  }
}

body[data-page="home"] .brand-social-icon {
  width: 19px;
  height: 19px;
}

body[data-page="home"] .topbar-refresh-inline {
  min-height: 41px;
  padding: 0.58rem 0.88rem;
  font-size: 0.79rem;
  letter-spacing: 0.06em;
}

body[data-page="home"] .brand-scroll-cue {
  font-size: 1.36rem;
}

body[data-page="home"] .brand-cluster {
  gap: 0.68rem;
}

body[data-page="home"] .brand-home-copy {
  font-size: 1.38rem;
  letter-spacing: 0.02em;
}

.brand-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.brand-social-icon {
  width: 21px;
  height: 21px;
  display: block;
}

.brand-social-link:hover,
.brand-social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(24, 49, 83, 0.28);
  background: var(--navy);
  color: #f8fbff;
}

.brand-scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1;
  transform: translateY(1px);
  text-shadow: 0 6px 14px rgba(8, 16, 30, 0.24);
  animation: scroll-nudge 1.8s ease-in-out infinite;
}

.brand-home:hover .brand-scroll-cue,
.brand-home:focus-visible .brand-scroll-cue {
  color: var(--accent);
  transform: translate(2px, 3px);
}

@keyframes scroll-nudge {
  0%,
  100% {
    transform: translateY(1px);
  }

  50% {
    transform: translate(2px, 4px);
  }
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.topbar-home,
.topbar-league,
.topbar-dropdown-toggle,
.dropdown-sport-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(24, 49, 83, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.topbar-league {
  background: rgba(255, 255, 255, 0.96);
}

.topbar-home.is-active {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
  color: var(--navy);
}

.topbar-home-accent {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
  color: var(--navy);
}

body[data-page="my-feed"] .topbar-home-accent.is-active {
  position: relative;
  padding-inline: 1.15rem 1.3rem;
  border-radius: 16px;
  border-color: rgba(24, 49, 83, 0.78);
  background: linear-gradient(180deg, rgba(24, 49, 83, 0.98), rgba(18, 38, 66, 0.98));
  color: #f8fbff;
  letter-spacing: 0.1em;
  box-shadow: 0 12px 26px rgba(7, 15, 28, 0.2);
}

body[data-page="my-feed"] .topbar-home-accent.is-active::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.34rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f08b32, #f5a24c);
  opacity: 0.95;
}

body[data-page="my-feed"] .topbar-home-accent.is-active:hover,
body[data-page="my-feed"] .topbar-home-accent.is-active:focus-visible {
  background: linear-gradient(180deg, rgba(27, 56, 95, 0.99), rgba(19, 43, 75, 0.99));
  border-color: rgba(24, 49, 83, 0.86);
  color: #ffffff;
}

.topbar-dropdown {
  position: relative;
  z-index: 121;
}

.topbar-dropdown[open] {
  z-index: 400;
}

.topbar-dropdown-toggle {
  list-style: none;
  gap: 0.55rem;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.96);
}

.topbar-dropdown-toggle::-webkit-details-marker {
  display: none;
}

.topbar-chevron {
  font-size: 0.95rem;
  transition: transform 160ms ease;
}

.topbar-dropdown[open] .topbar-chevron {
  transform: rotate(180deg);
}

.topbar-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(24, 49, 83, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.995);
  color: var(--navy);
  box-shadow: 0 28px 64px rgba(16, 24, 40, 0.2);
  backdrop-filter: none;
  opacity: 1;
  isolation: isolate;
  z-index: 500;
}

.dropdown-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.dropdown-heading p,
.dropdown-heading span {
  margin: 0;
}

.dropdown-heading p {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.dropdown-heading span {
  max-width: 24rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: right;
}

.dropdown-heading-centered {
  justify-content: center;
  text-align: center;
}

.topbar-dropdown-menu > .dropdown-heading-centered:first-child {
  display: none;
}

.dropdown-sport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.dropdown-sport-slot-shell {
  position: relative;
  display: block;
}

.dropdown-sport-slot-shell .dropdown-sport-link {
  display: flex;
  height: 100%;
  padding-right: 2.25rem;
}

.dropdown-slot-settings {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  z-index: 2;
}

.dropdown-slot-settings-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(91, 102, 121, 0.92);
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  cursor: pointer;
}

.dropdown-slot-settings-toggle:hover,
.dropdown-slot-settings-toggle:focus-visible {
  background: rgba(24, 49, 83, 0.08);
  color: rgba(62, 73, 93, 0.98);
}

.dropdown-slot-settings-icon {
  width: 0.85rem;
  height: 0.85rem;
  display: block;
}

.dropdown-slot-settings-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 10.5rem;
  display: grid;
  gap: 0.25rem;
  padding: 0.4rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16);
  z-index: 30;
}

.dropdown-slot-settings-menu.is-hidden {
  display: none;
}

.dropdown-slot-settings-menu a,
.dropdown-slot-settings-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0.68rem 0.8rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.dropdown-slot-settings-menu a:hover,
.dropdown-slot-settings-menu a:focus-visible,
.dropdown-slot-settings-menu button:hover,
.dropdown-slot-settings-menu button:focus-visible {
  background: rgba(24, 49, 83, 0.08);
}

.dropdown-coming-soon {
  display: grid;
  gap: 0.45rem;
  min-width: 180px;
  padding: 0.2rem 0;
  color: var(--navy);
  text-align: center;
}

.dropdown-coming-soon-kicker {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(24, 49, 83, 0.62);
}

.dropdown-coming-soon strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.dropdown-sport-link {
  justify-content: flex-start;
  gap: 0.7rem;
  min-height: 0;
  padding: 0.72rem 0.9rem;
  border-radius: 18px;
  background: rgba(247, 250, 253, 0.98);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  font-weight: 700;
  align-items: center;
}

.dropdown-sport-copy {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
  flex: 1;
}

.dropdown-sport-copy strong {
  font-size: 0.95rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.dropdown-sport-kicker {
  color: rgba(24, 49, 83, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dropdown-sport-highlight {
  color: var(--orange);
}

.dropdown-heading-compact {
  margin-top: 1rem;
}

.dropdown-heading-compact p {
  font-size: 1rem;
}

.dropdown-sport-link.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #f8fbff;
}

.dropdown-sport-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 34px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--navy-soft);
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.dropdown-sport-link.is-active .dropdown-sport-mark {
  background: rgba(255, 255, 255, 0.18);
  color: #f8fbff;
}

.betting-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
}

.betting-dropdown-card {
  display: block;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 20px;
  background: rgba(247, 250, 253, 0.92);
}

.betting-dropdown-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
}

.betting-dropdown-card-head::-webkit-details-marker {
  display: none;
}

.betting-dropdown-card-head strong {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.15;
}

.betting-dropdown-chevron {
  color: rgba(24, 49, 83, 0.62);
  font-size: 0.95rem;
  transition: transform 160ms ease;
}

.betting-dropdown-card[open] .betting-dropdown-chevron {
  transform: rotate(180deg);
}

.betting-dropdown-books {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.9rem;
}

.betting-dropdown-card[open] .betting-dropdown-books {
  display: grid;
}

.betting-dropdown-book-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0.15rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  text-align: center;
}

.betting-dropdown-book-logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: 100%;
  object-fit: contain;
}

.betting-dropdown-book-link-betmgm {
  width: 34px;
  height: 34px;
  overflow: hidden;
  justify-self: center;
}

.betting-dropdown-book-logo-betmgm {
  width: 68px;
  height: 34px;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

.betting-dropdown-book-link:hover,
.betting-dropdown-book-link:focus-visible {
  background: transparent;
  color: var(--navy);
  transform: translateY(-1px) scale(1.04);
}

.betting-odds-page {
  display: grid;
  gap: 1rem;
}

.betting-odds-hero {
  --bg-photo: linear-gradient(135deg, rgba(10, 24, 47, 0.92), rgba(17, 58, 105, 0.82)), url("https://images.unsplash.com/photo-1511886929837-354d827aae26?auto=format&fit=crop&w=1600&q=80");
}

.betting-odds-shell {
  --bg-photo: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 248, 252, 0.9));
}

.betting-odds-board {
  display: grid;
  gap: 1rem;
}

.betting-odds-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 252, 0.9));
  box-shadow: 0 22px 40px rgba(16, 24, 40, 0.08);
}

.betting-odds-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.betting-odds-card-head h3 {
  margin: 0.18rem 0 0;
  color: var(--navy);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.betting-odds-start {
  min-width: max-content;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.08);
  color: rgba(24, 49, 83, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.betting-odds-market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}

.betting-odds-market {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 49, 83, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.betting-odds-market-book {
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
}

.betting-odds-market-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(24, 49, 83, 0.78);
  font-size: 0.92rem;
}

.betting-odds-market-line span {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.betting-odds-market-line strong {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.topbar-home:hover,
.topbar-home:focus-visible,
.topbar-dropdown-toggle:hover,
.topbar-dropdown-toggle:focus-visible {
  background: #ffffff;
  border-color: rgba(24, 49, 83, 0.28);
  color: var(--navy);
  transform: translateY(-2px);
}

.topbar-refresh-inline {
  border-color: rgba(24, 49, 83, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
}

.home-magazine-refresh.topbar-refresh-inline {
  border-color: rgba(24, 49, 83, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
}

.topbar-refresh-inline:hover,
.topbar-refresh-inline:focus-visible {
  background: #ffffff;
  border-color: rgba(24, 49, 83, 0.28);
  color: var(--navy);
}

.home-magazine-refresh.topbar-refresh-inline:hover,
.home-magazine-refresh.topbar-refresh-inline:focus-visible {
  background: #ffffff;
  border-color: rgba(24, 49, 83, 0.28);
  color: var(--navy);
}

.topbar-league:hover,
.topbar-league:focus-visible,
.dropdown-sport-link:hover,
.dropdown-sport-link:focus-visible,
.article-link:hover,
.hub-link:hover,
.snapshot-head a:hover,
.section-cover:hover {
  transform: translateY(-2px);
}

.topbar-league:hover,
.topbar-league:focus-visible {
  background: var(--navy-soft);
  border-color: rgba(24, 49, 83, 0.18);
  color: var(--navy);
}

.dropdown-sport-link:hover,
.dropdown-sport-link:focus-visible {
  background: var(--navy-soft);
  border-color: rgba(24, 49, 83, 0.18);
  color: var(--navy);
}

.front-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1rem;
}

.home-visual-page {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-top: 1rem;
}

.masthead-home-visual {
  padding-bottom: 1.1rem;
}

.visual-hero,
.logo-launchpad {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visual-hero::before,
.logo-launchpad::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/U%20S%20Armed%20Forces%20supports%20NFL%20game%20%288111035%29.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  pointer-events: none;
}

.visual-hero > *,
.logo-launchpad > * {
  position: relative;
  z-index: 1;
}

.visual-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 1rem;
  padding: 1rem;
}

.visual-hero-main,
.visual-promo,
.home-poster {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 6px);
  box-shadow: var(--shadow);
}

.visual-hero-main {
  min-height: 460px;
}

.visual-hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(18, 32, 51, 0.08), rgba(18, 32, 51, 0.76)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/NBA%20Game.jpg");
  background-size: cover;
  background-position: center;
}

.visual-hero-copy,
.visual-promo-copy,
.home-poster-copy {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  z-index: 1;
  color: #f8fbff;
}

.visual-hero-copy .panel-label,
.visual-promo-copy .panel-label,
.home-poster-copy .panel-label {
  color: rgba(248, 251, 255, 0.76);
}

.visual-hero-copy h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 0.94;
  max-width: 8ch;
}

.visual-hero-copy p:last-child,
.visual-promo-copy,
.home-poster-copy {
  line-height: 1.55;
}

.hero-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(248, 251, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f8fbff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.hero-action-pill:hover,
.hero-action-pill:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(248, 251, 255, 0.52);
}

.visual-promo-copy h3,
.home-poster-copy h3 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 0.96;
}

.visual-hero-side {
  display: grid;
  gap: 1rem;
}

.visual-promo {
  min-height: 220px;
}

.visual-promo::before,
.home-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(18, 32, 51, 0.12), rgba(18, 32, 51, 0.76)), var(--promo-photo);
  background-size: cover;
  background-position: center;
}

.visual-promo-college {
  --promo-photo: url("https://commons.wikimedia.org/wiki/Special:FilePath/Little%20Rock%20vs.%20UT%20Arlington%20men%27s%20basketball%202020%2009%20%28in-game%20action%29.jpg");
}

.visual-promo-baseball {
  --promo-photo: url("https://commons.wikimedia.org/wiki/Special:FilePath/Taichung%20Intercontinental%20Baseball%20Stadium01.jpg");
}

.visual-promo-football {
  --promo-photo: url("https://images.unsplash.com/photo-1508098682722-e99c643e7485?auto=format&fit=crop&w=1200&q=80");
}

.visual-promo-basketball {
  --promo-photo: url("https://images.unsplash.com/photo-1546519638-68e109498ffc?auto=format&fit=crop&w=1200&q=80");
}

.logo-launchpad {
  padding: 1.1rem;
}

.logo-launchpad-compact {
  width: 100%;
  margin: 0 auto;
  padding: 0.9rem;
}

.logo-launchpad-compact .section-heading {
  padding-bottom: 0.65rem;
}

.logo-launchpad-compact .logo-button-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.55rem;
}

.logo-launchpad-compact .logo-button {
  gap: 0.35rem;
  min-height: 108px;
  padding: 0.65rem 0.45rem;
  border-radius: 18px;
}

.logo-launchpad-compact .logo-mark {
  min-width: 54px;
  min-height: 54px;
  padding: 0.45rem;
  font-size: 1.2rem;
}

.logo-launchpad-compact .logo-name {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

.home-julio-chat-shell {
  display: grid;
  gap: 0.9rem;
  padding: 0.9rem 1rem 1rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(24, 49, 83, 0.06), rgba(24, 49, 83, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  box-shadow: var(--shadow);
  position: relative;
  overflow: visible;
}

.home-julio-chat-shell.fantasy-home-team-builder {
  border-color: var(--accent);
}

.home-blank-space.home-blank-space-personalized.home-blank-space-player-hub {
  margin-bottom: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.home-favorite-player-drawer-anchor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: visible;
  pointer-events: none;
}

.home-favorite-player-drawer {
  position: absolute;
  top: 0;
  left: calc(0px - var(--home-side-rail-width, 238px) - var(--home-rail-gap, 1rem) - 0.65rem);
  z-index: 120;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  pointer-events: none;
}

.home-favorite-player-drawer-check {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 2;
  width: 38px;
  height: 100%;
  min-height: 92px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(146, 73, 27, 0.42);
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, #f08a3e, #d96c2f);
  color: #fff7ef;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(19, 32, 51, 0.28);
  pointer-events: auto;
  transition:
    background 160ms ease,
    transform 220ms ease,
    box-shadow 160ms ease;
}

.home-favorite-player-drawer-check::after {
  content: "MY PLAYERS";
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-90deg);
  white-space: nowrap;
}

.home-favorite-player-drawer-check:hover,
.home-favorite-player-drawer-check:focus-visible {
  background: linear-gradient(180deg, #ff9c4f, #df7130);
  box-shadow: 0 15px 28px rgba(19, 32, 51, 0.22);
  outline: none;
}

.home-favorite-player-drawer-check:checked {
  transform: none;
}

.home-favorite-player-drawer-toggle {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 100%;
  min-height: 92px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(146, 73, 27, 0.42);
  border-radius: 12px 0 0 12px;
  background: linear-gradient(180deg, #f08a3e, #d96c2f);
  color: #fff7ef;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  overflow: hidden;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(19, 32, 51, 0.28);
  pointer-events: auto;
  transition:
    background 160ms ease,
    transform 220ms ease,
    box-shadow 160ms ease;
}

.home-favorite-player-drawer-toggle-label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%) rotate(-90deg) scaleX(0.9);
  white-space: nowrap;
}

.home-favorite-player-drawer-toggle::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -14px;
  bottom: -1px;
  width: 16px;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(217, 108, 47, 0.5), rgba(255, 255, 255, 0.86) 72%, rgba(255, 255, 255, 0));
  box-shadow: 5px 0 12px rgba(217, 108, 47, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.home-favorite-player-drawer-toggle::-webkit-details-marker {
  display: none;
}

.home-favorite-player-drawer-toggle:hover,
.home-favorite-player-drawer-toggle:focus-visible {
  background: linear-gradient(180deg, #ff9c4f, #df7130);
  box-shadow: 0 15px 28px rgba(19, 32, 51, 0.22);
  outline: none;
}

.home-favorite-player-drawer.is-open .home-favorite-player-drawer-toggle {
  transform: none;
}

.home-favorite-player-drawer-check:checked + .home-favorite-player-drawer-toggle {
  transform: none;
}

.home-favorite-player-drawer[open] .home-favorite-player-drawer-toggle {
  transform: none;
}

.home-favorite-player-drawer.is-open .home-favorite-player-drawer-toggle::after,
.home-favorite-player-drawer-check:checked + .home-favorite-player-drawer-toggle::after,
.home-favorite-player-drawer[open] .home-favorite-player-drawer-toggle::after {
  opacity: 1;
}

.home-favorite-player-drawer-panel {
  position: absolute;
  top: 0;
  left: 38px;
  z-index: 1;
  width: 0;
  max-width: 0;
  height: 100%;
  min-height: 100%;
  margin-left: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 49, 83, 0);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: #ffffff;
  box-shadow:
    0 18px 34px rgba(19, 32, 51, 0.18),
    inset 0 0 0 1px rgba(217, 108, 47, 0.1);
  opacity: 0;
  pointer-events: none;
  transform-origin: left center;
  transition:
    max-width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    width 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 150ms ease,
    border-color 150ms ease;
}

.home-favorite-player-drawer.is-open .home-favorite-player-drawer-panel {
  width: calc(100% + var(--home-side-rail-width, 238px) + var(--home-side-rail-width, 238px) + var(--home-rail-gap, 1rem) + var(--home-rail-gap, 1rem) - 38px + 0.65rem);
  max-width: calc(100% + var(--home-side-rail-width, 238px) + var(--home-side-rail-width, 238px) + var(--home-rail-gap, 1rem) + var(--home-rail-gap, 1rem) - 38px + 0.65rem);
  border-color: rgba(24, 49, 83, 0.14);
  opacity: 1;
  pointer-events: auto;
}

.home-favorite-player-drawer-check:checked ~ .home-favorite-player-drawer-panel {
  width: calc(100% + var(--home-side-rail-width, 238px) + var(--home-side-rail-width, 238px) + var(--home-rail-gap, 1rem) + var(--home-rail-gap, 1rem) - 38px + 0.65rem);
  max-width: calc(100% + var(--home-side-rail-width, 238px) + var(--home-side-rail-width, 238px) + var(--home-rail-gap, 1rem) + var(--home-rail-gap, 1rem) - 38px + 0.65rem);
  border-color: rgba(24, 49, 83, 0.14);
  opacity: 1;
  pointer-events: auto;
}

.home-favorite-player-drawer[open] .home-favorite-player-drawer-panel {
  width: calc(100% + var(--home-side-rail-width, 238px) + var(--home-side-rail-width, 238px) + var(--home-rail-gap, 1rem) + var(--home-rail-gap, 1rem) - 38px + 0.65rem);
  max-width: calc(100% + var(--home-side-rail-width, 238px) + var(--home-side-rail-width, 238px) + var(--home-rail-gap, 1rem) + var(--home-rail-gap, 1rem) - 38px + 0.65rem);
  border-color: rgba(24, 49, 83, 0.14);
  opacity: 1;
  pointer-events: auto;
}

.home-favorite-player-drawer-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-width: 100%;
  min-height: 100%;
  padding: 0.46rem 3rem 0.42rem 1rem;
}

.home-favorite-player-drawer-jerseys {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  width: 100%;
  min-width: 0;
}

.home-favorite-player-drawer-faces {
  display: grid;
  grid-template-columns: repeat(var(--favorite-player-count, 1), minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(0.28rem, 0.8vw, 0.82rem);
  width: 100%;
  min-width: 0;
}

.home-favorite-player-face {
  display: grid;
  justify-items: center;
  gap: 0.22rem;
  min-width: 0;
  width: 100%;
  max-width: 7.9rem;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}

.home-favorite-player-drawer-settings {
  position: absolute;
  top: 0.42rem;
  right: 1.05rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.12rem;
  height: 1.46rem;
  padding: 0 0.38rem;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(217, 108, 47, 0.22);
}

.home-favorite-player-drawer-settings:hover,
.home-favorite-player-drawer-settings:focus-visible {
  background: #f08b32;
  color: #ffffff;
  transform: translateY(-1px);
}

.home-favorite-player-face-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: min(4.08rem, 100%);
  max-width: 4.08rem;
  aspect-ratio: 1;
  height: auto;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.95), rgba(231, 237, 245, 0.96)),
    var(--navy);
  box-shadow:
    0 8px 16px rgba(24, 49, 83, 0.16),
    inset 0 0 0 1px rgba(24, 49, 83, 0.08);
}

.home-favorite-player-face-photo img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.home-favorite-player-face-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.home-favorite-player-face-photo:not(.is-empty):has(img) .home-favorite-player-face-fallback {
  display: none;
}

.home-favorite-player-face-name {
  max-width: min(7.5rem, 100%);
  transform: translateY(-0.22rem);
  overflow: hidden;
  color: rgba(24, 49, 83, 0.82);
  font-size: clamp(0.68rem, 0.88vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-favorite-player-drawer-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.4rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-favorite-player-drawer-add-icon {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  padding-bottom: 0.08rem;
}

.home-favorite-player-drawer-empty {
  min-width: 14rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.home-favorite-player-face.is-active .home-favorite-player-face-photo {
  border-color: rgba(217, 108, 47, 0.76);
  box-shadow:
    0 10px 18px rgba(217, 108, 47, 0.2),
    inset 0 0 0 1px rgba(217, 108, 47, 0.18);
}

.home-favorite-player-face.is-active .home-favorite-player-face-name {
  color: var(--accent-strong);
}

.home-favorite-player-drawer:not(.is-open) .home-favorite-player-drawer-detail,
.home-favorite-player-drawer-detail.is-hidden {
  display: none;
}

.home-favorite-player-drawer-detail {
  position: absolute;
  top: calc(100% + 0.38rem);
  left: 0;
  z-index: 122;
  width: calc(100% + var(--home-side-rail-width, 238px) + var(--home-side-rail-width, 238px) + var(--home-rail-gap, 1rem) + var(--home-rail-gap, 1rem) + 1.05rem);
  max-width: calc(100% + var(--home-side-rail-width, 238px) + var(--home-side-rail-width, 238px) + var(--home-rail-gap, 1rem) + var(--home-rail-gap, 1rem) + 1.05rem);
  min-height: 100%;
  pointer-events: auto;
  animation: favoritePlayerDrawerDetailIn 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-favorite-player-drawer-detail-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(10.5rem, 0.72fr) minmax(13rem, 0.95fr) minmax(0, 2.15fr);
  grid-template-areas:
    "heading snapshot body"
    "footer footer body";
  align-items: stretch;
  gap: 0.46rem;
  min-height: 100%;
  padding: 0.62rem 0.76rem 0.66rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.96));
  box-shadow: 0 18px 34px rgba(19, 32, 51, 0.16);
}

.home-favorite-player-drawer-detail-card::before {
  content: "";
  position: absolute;
  top: -8px;
  left: var(--favorite-player-detail-pointer-x, 2.25rem);
  width: 16px;
  height: 16px;
  transform: translateX(-50%) rotate(45deg);
  border-left: 1px solid rgba(24, 49, 83, 0.12);
  border-top: 1px solid rgba(24, 49, 83, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.home-favorite-player-drawer-detail-close {
  position: absolute;
  top: 0.42rem;
  right: 0.5rem;
  width: 1.55rem;
  height: 1.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.08);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.home-favorite-player-drawer-detail-heading {
  display: flex;
  grid-area: heading;
  align-items: center;
  gap: 0.58rem;
  padding-right: 1.55rem;
  text-align: left;
}

.home-favorite-player-drawer-detail-heading p {
  margin: 0 0 0.12rem;
  color: var(--accent-strong);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-favorite-player-drawer-detail-heading h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.24rem;
  letter-spacing: 0.04em;
  line-height: 0.96;
  text-transform: uppercase;
}

.home-favorite-player-drawer-detail-avatar {
  flex: 0 0 auto;
  width: 2.78rem;
  height: 2.78rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.98);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.95), rgba(231, 237, 245, 0.96)),
    var(--navy);
  box-shadow: 0 10px 18px rgba(24, 49, 83, 0.14);
  color: var(--navy);
  font-weight: 900;
}

.home-favorite-player-drawer-detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.home-favorite-player-drawer-detail-avatar.is-loading {
  background:
    linear-gradient(90deg, rgba(231, 237, 245, 0.88), rgba(255, 255, 255, 0.96), rgba(231, 237, 245, 0.88));
  background-size: 220% 100%;
  animation: favoritePlayerDrawerLoading 1.2s ease-in-out infinite;
}

.home-favorite-player-drawer-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.44rem;
}

.home-favorite-player-drawer-detail-stats span {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
  padding: 0.34rem 0.36rem;
  border: 1px solid rgba(24, 49, 83, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.home-favorite-player-drawer-detail-stats small {
  color: rgba(24, 49, 83, 0.56);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-favorite-player-drawer-detail-stats strong {
  min-width: 0;
  overflow: hidden;
  color: var(--navy);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-favorite-player-drawer-detail-note,
.home-favorite-player-drawer-detail-link {
  color: rgba(24, 49, 83, 0.72);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.home-favorite-player-drawer-detail-link {
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.82rem;
  padding: 0.38rem 0.68rem;
  border: 1px solid rgba(174, 75, 22, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9a43, #e56f23);
  color: #ffffff;
  box-shadow:
    0 9px 18px rgba(217, 108, 47, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-favorite-player-drawer-detail-role {
  margin-top: 0.08rem;
  color: rgba(24, 49, 83, 0.62);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-favorite-player-drawer-detail-snapshot {
  grid-area: snapshot;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.34rem;
}

.home-favorite-player-drawer-detail-snapshot span,
.home-favorite-player-drawer-detail-stat-grid span {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
  padding: 0.34rem 0.36rem;
  border: 1px solid rgba(24, 49, 83, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.home-favorite-player-drawer-detail-snapshot small,
.home-favorite-player-drawer-detail-stat-grid small,
.home-favorite-player-drawer-detail-vitals small,
.home-favorite-player-drawer-detail-career small {
  color: rgba(24, 49, 83, 0.56);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-favorite-player-drawer-detail-snapshot strong,
.home-favorite-player-drawer-detail-stat-grid strong {
  min-width: 0;
  overflow: hidden;
  color: var(--navy);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-favorite-player-drawer-detail-body {
  grid-area: body;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.94fr) minmax(0, 0.94fr);
  gap: 0.42rem;
  align-items: stretch;
}

.home-favorite-player-drawer-detail-section {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.3rem;
  padding: 0.46rem;
  border: 1px solid rgba(24, 49, 83, 0.1);
  border-radius: 14px;
  background: rgba(246, 249, 255, 0.72);
}

.home-favorite-player-drawer-detail-section-title {
  color: var(--accent-strong);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.home-favorite-player-drawer-detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.28rem;
}

.home-favorite-player-drawer-detail-games {
  display: grid;
  gap: 0.28rem;
}

.home-favorite-player-drawer-detail-game {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
  padding: 0.34rem 0.4rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(24, 49, 83, 0.76);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.18;
  text-align: left;
}

.home-favorite-player-drawer-detail-game strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-favorite-player-drawer-detail-game span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-favorite-player-drawer-detail-footer {
  grid-area: footer;
  display: grid;
  align-content: start;
  gap: 0.34rem;
  min-width: 0;
}

.home-favorite-player-drawer-detail-vitals,
.home-favorite-player-drawer-detail-career {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  flex-wrap: wrap;
  color: rgba(24, 49, 83, 0.72);
  font-size: 0.62rem;
  font-weight: 900;
}

.home-favorite-player-drawer-detail-vitals span,
.home-favorite-player-drawer-detail-career span {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.18rem 0.34rem;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.06);
  white-space: nowrap;
}

.home-favorite-player-drawer-detail-empty {
  min-height: 1.82rem;
  display: grid;
  place-items: center;
  padding: 0.4rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.66);
  color: rgba(24, 49, 83, 0.56);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

@media (max-width: 820px) {
  .home-favorite-player-drawer-detail-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "snapshot"
      "body"
      "footer";
  }

  .home-favorite-player-drawer-detail-snapshot,
  .home-favorite-player-drawer-detail-body {
    grid-template-columns: 1fr;
  }
}

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

@keyframes favoritePlayerDrawerLoading {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.home-favorite-player-drawer .home-favorite-player-card {
  flex: 0 0 48px;
  width: 48px;
  max-width: 48px;
  min-height: 66px;
  padding: 0.18rem 0.16rem 0.12rem;
  border-radius: 9px 9px 8px 8px;
}

.home-favorite-player-drawer .home-favorite-player-card-copy {
  min-height: 100%;
  padding: 0;
}

.home-favorite-player-drawer .home-favorite-player-card-copy span {
  max-width: 100%;
  font-size: 0.52rem;
  letter-spacing: 0.025em;
}

.home-blank-space.home-blank-space-personalized.home-blank-space-player-hub::before {
  display: none;
}

.home-blank-space-player-hub.is-compact-prompt {
  min-height: 0;
  margin-top: 0.45rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-blank-space-player-hub.is-compact-prompt::before {
  display: none;
}

.home-blank-space-player-hub.is-compact-prompt .home-magazine-grid {
  grid-auto-rows: auto;
  gap: 0;
  padding: 0;
}

.home-blank-space-player-hub.is-compact-prompt .home-magazine-rolling-player-hub-signed-out {
  grid-column: span 12;
  padding: 0;
}

.home-blank-space-player-hub.is-compact-prompt .home-magazine-rolling-player-hub {
  min-height: 0 !important;
  height: auto !important;
  padding: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.home-blank-space-player-hub.is-compact-prompt .home-magazine-rolling-player-hub .home-personalized-layout {
  min-height: 0;
  height: auto;
  gap: 0;
}

.home-blank-space-player-hub.is-compact-prompt .home-personalized-athlete-strip-shell {
  min-height: auto;
  padding: 0.55rem 0.7rem;
}

.home-blank-space-player-hub.is-compact-prompt + .fantasy-player-database-box {
  margin-top: -0.9rem;
}

.home-personalized-athlete-strip-shell {
  min-width: 0;
  display: grid;
  align-content: start;
  min-height: 164px;
  height: auto;
  position: relative;
  z-index: 1;
  padding: 0.9rem 1rem 1rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(24, 49, 83, 0.06), rgba(24, 49, 83, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  box-shadow: var(--shadow);
}

.home-personalized-signin-prompt {
  width: 100%;
  height: 100%;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border: 1.5px solid rgba(255, 214, 180, 0.48);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(245, 139, 65, 0.98), rgba(203, 91, 36, 0.98));
  box-shadow: 0 14px 26px rgba(95, 38, 12, 0.18);
  color: #f8fbff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.12rem, 1.6vw, 1.46rem);
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.02;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.home-personalized-signin-prompt:hover,
.home-personalized-signin-prompt:focus-visible {
  border-color: rgba(255, 216, 185, 0.68);
  background: linear-gradient(180deg, rgba(255, 154, 82, 0.98), rgba(217, 108, 47, 0.98));
}

.home-blank-space-personalized {
  margin-top: 1rem;
  border-color: var(--navy);
  background: var(--navy);
}

.home-blank-space-player-hub {
  min-height: auto;
}

.home-blank-space-personalized.is-cta-only {
  min-height: auto;
}

.home-blank-space-personalized.is-cta-only .home-magazine-grid {
  grid-auto-rows: auto;
  padding: 0.55rem 0.95rem 0.7rem;
}

.home-blank-space-personalized.is-cta-only .home-magazine-rolling-player-hub {
  min-height: 188px;
  padding: 0.45rem 0.7rem 0.55rem;
}

.home-blank-space-personalized.is-cta-only .home-magazine-rolling-personalized-empty {
  min-height: 150px;
  padding: 0.2rem 0.25rem;
  flex-direction: column;
  gap: 0.2rem;
}

.home-blank-space-personalized.is-cta-only .home-personalized-header {
  padding: 0;
}

.home-blank-space-personalized::before {
  background:
    linear-gradient(180deg, rgba(24, 49, 83, 1), rgba(24, 49, 83, 1)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.028));
}

.home-julio-chatbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(19, 32, 51, 0.06);
}

.home-julio-chatbar-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-julio-chatbar-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
}

.home-julio-chatbar-input::placeholder {
  color: rgba(97, 113, 135, 0.88);
}

.home-julio-chatbar-submit {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #f8fbff;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}

.home-julio-chatbar-submit:hover,
.home-julio-chatbar-submit:focus-visible {
  background: #22436f;
  transform: translateY(-1px);
}

.home-julio-chat-result {
  display: grid;
  gap: 0.75rem;
  max-height: 224px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.home-julio-chat-result.is-idle {
  display: none;
}

.home-julio-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(24, 49, 83, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.home-julio-loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.home-julio-loading-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.45);
  animation: home-julio-bounce 1.2s ease-in-out infinite;
}

.home-julio-loading-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.home-julio-loading-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes home-julio-bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }

  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.home-julio-chat-response {
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 49, 83, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.home-julio-chat-response.is-user {
  margin-left: auto;
  background: rgba(24, 49, 83, 0.92);
  border-color: rgba(24, 49, 83, 0.92);
  color: #f8fbff;
}

.home-julio-chat-response.is-user .home-julio-chat-speaker,
.home-julio-chat-response.is-user .home-julio-chat-sources {
  color: rgba(248, 251, 255, 0.76);
}

.home-julio-chat-response.is-user .home-julio-chat-message {
  color: #f8fbff;
}

.home-julio-chat-response p {
  margin: 0;
}

.home-julio-chat-speaker {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-julio-chat-message {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy);
}

.home-julio-chat-sources {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.home-julio-chat-sources summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.home-julio-chat-sources summary::-webkit-details-marker {
  display: none;
}

.home-julio-chat-sources-list {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.1rem;
}

.home-julio-chat-sources-list p {
  margin: 0;
}

.home-blank-space {
  position: relative;
  overflow: hidden;
  min-height: 860px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.home-blank-space::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.92)),
    linear-gradient(90deg, rgba(24, 49, 83, 0.02), rgba(217, 108, 47, 0.03), rgba(24, 49, 83, 0.02));
  pointer-events: none;
}

.home-blank-space > * {
  position: relative;
  z-index: 1;
}

.home-magazine-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(96px, auto);
  gap: 0.85rem;
  padding: 0.95rem;
}

.home-personalized-header {
  grid-column: span 12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0 0.1rem;
}

.home-personalized-header h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-magazine-rolling-personalized-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 1.2rem;
}

.home-magazine-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #f8fbff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}


.home-magazine-refresh:hover,
.home-magazine-refresh:focus-visible {
  transform: translateY(-2px);
  background: #22436f;
  border-color: #22436f;
}

.home-magazine-rolling {
  grid-column: span 12;
  padding: 0.95rem 0.95rem 0.35rem;
  border: 2px solid #1f5ea8;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.home-magazine-rolling-personalized {
  --my-feed-frame-height: 620px;
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--navy);
  box-shadow: none;
  min-height: var(--my-feed-frame-height);
}

.home-magazine-rolling-player-hub {
  --my-feed-frame-height: 405px;
  padding-bottom: 0.95rem;
}

.home-magazine-rolling-personalized .home-magazine-row-title,
.home-magazine-rolling-personalized .panel-label,
.home-magazine-rolling-personalized .home-magazine-kicker,
.home-magazine-rolling-personalized .home-top-performers-note {
  color: #f8fbff;
}

.home-magazine-rolling-personalized .home-magazine-row-title::after {
  background: rgba(255, 255, 255, 0.5);
}

.home-magazine-rolling-personalized .empty-state {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 251, 255, 0.88);
}

.home-personalized-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 112px;
  flex: 1 1 auto;
  text-align: center;
}

.home-personalized-empty h3 {
  margin: 0;
  color: #f8fbff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-personalized-loading {
  display: grid;
  gap: 0.95rem;
  min-height: 420px;
}

.home-personalized-loading-layout {
  display: grid;
  grid-template-columns: minmax(128px, 168px) minmax(0, 1fr) minmax(128px, 168px);
  gap: 1rem;
  align-items: stretch;
  min-height: 390px;
}

.home-personalized-loading-rail {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.home-personalized-loading-player-card,
.home-personalized-loading-story-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
}

.home-personalized-loading-player-card::after,
.home-personalized-loading-story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  animation: homePersonalizedLoadingSweep 1.8s ease-in-out infinite;
}

.home-personalized-loading-player-card {
  min-height: 142px;
}

.home-personalized-loading-player-card:nth-child(2)::after,
.home-personalized-loading-story-card:nth-child(2)::after {
  animation-delay: 0.12s;
}

.home-personalized-loading-player-card:nth-child(3)::after,
.home-personalized-loading-story-card:nth-child(3)::after {
  animation-delay: 0.24s;
}

.home-personalized-loading-center {
  min-width: 0;
}

.home-personalized-loading-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.home-personalized-loading-story-card {
  min-height: 188px;
}

.home-personalized-loading-story-card-feature {
  min-height: 214px;
}

.home-personalized-loading-note {
  margin: 0;
  color: rgba(248, 251, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-align: center;
}

@keyframes homePersonalizedLoadingSweep {
  100% {
    transform: translateX(100%);
  }
}

.home-blank-space-personalized .home-top-performer-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 34px rgba(6, 12, 21, 0.18);
}

.home-blank-space-personalized .home-top-performer-card:hover,
.home-blank-space-personalized .home-top-performer-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.26);
}

.home-blank-space-personalized .home-top-performer-copy .panel-label,
.home-blank-space-personalized .home-top-performer-copy h3,
.home-blank-space-personalized .home-top-performer-statline,
.home-blank-space-personalized .home-top-performer-system,
.home-blank-space-personalized .home-top-performer-meta {
  color: #f8fbff;
}

.home-magazine-rolling-personalized .home-favorite-player-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
  box-shadow: 0 18px 34px rgba(6, 12, 21, 0.18);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
}

.home-magazine-rolling-personalized .home-favorite-player-card:hover,
.home-magazine-rolling-personalized .home-favorite-player-card:focus-visible,
.home-magazine-rolling-personalized .home-favorite-player-card.is-active {
  border-color: rgba(255, 255, 255, 0.26);
}

.home-magazine-rolling-personalized .home-favorite-player-card-copy,
.home-magazine-rolling-personalized .home-player-detail-header h3,
.home-magazine-rolling-personalized .home-player-detail-game-top strong,
.home-magazine-rolling-personalized .home-player-detail-game-line,
.home-magazine-rolling-personalized .home-player-detail-fallback-note,
.home-magazine-rolling-personalized .home-player-detail-empty,
.home-magazine-rolling-personalized .home-player-detail-meta-chip strong,
.home-magazine-rolling-personalized .home-player-detail-chip strong {
  color: #f8fbff;
}

.home-magazine-rolling-personalized .home-favorite-player-detail,
.home-magazine-rolling-personalized .home-player-detail-meta-chip,
.home-magazine-rolling-personalized .home-player-detail-chip,
.home-magazine-rolling-personalized .home-player-detail-game {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.home-magazine-rolling-personalized .home-player-detail-avatar {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  color: #f8fbff;
}

.home-magazine-rolling-personalized .home-player-detail-loading,
.home-magazine-rolling-personalized .home-favorite-player-detail-empty,
.home-magazine-rolling-personalized .home-player-detail-game-top,
.home-magazine-rolling-personalized .home-player-detail-meta-chip span,
.home-magazine-rolling-personalized .home-player-detail-chip span {
  color: rgba(248, 251, 255, 0.76);
}


.home-magazine-row-controls {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.22rem;
}

.home-magazine-scroll-arrow {
  width: 1.9rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font: inherit;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.home-magazine-scroll-arrow:hover,
.home-magazine-scroll-arrow:focus-visible {
  border-color: rgba(24, 49, 83, 0.28);
  background: #ffffff;
  transform: translateY(-1px);
}

.home-magazine-rolling-personalized .home-magazine-scroll-arrow {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #f8fbff;
}

.home-magazine-rolling-personalized .home-magazine-scroll-arrow:hover,
.home-magazine-rolling-personalized .home-magazine-scroll-arrow:focus-visible {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.2);
}

.home-magazine-heading-bar {
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.home-magazine-heading-bar > div {
  flex: 0 1 56%;
  min-width: 0;
}

.home-magazine-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  flex: 0 1 44%;
  padding-right: 1.15rem;
}

.home-magazine-julio {
  display: block;
  width: auto;
  height: 64px;
  object-fit: contain;
}

.home-magazine-heading-bar h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  line-height: 1.04;
}

.home-magazine-kicker {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.home-magazine-scroll-wrap {
  display: grid;
  gap: 0.8rem;
}

.home-magazine-row-shell {
  display: grid;
  gap: 0.45rem;
}

.home-magazine-row-title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.22rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-magazine-row-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--accent);
  transform: translateY(1px);
}

.home-magazine-row-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding-inline: 0.15rem;
}

.home-magazine-row-header .panel-label {
  margin: 0;
}

.home-magazine-row-header .home-magazine-kicker {
  margin: 0;
  text-align: right;
}

.home-photo-mosaic {
  margin-top: 0;
  padding-top: 0;
}

.home-photo-mosaic .home-magazine-row-shell {
  gap: 0.32rem;
}

.home-photo-mosaic .home-magazine-row-title {
  margin-bottom: 0.3rem;
}

.home-photo-mosaic .home-magazine-row-controls {
  margin-top: -0.08rem;
}

.home-top-performers-section {
  display: grid;
  gap: 0.8rem;
  padding: 0.45rem 0 1.1rem;
}

.home-top-performers-note {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.home-top-performers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.home-top-performers-pager {
  display: grid;
  gap: 0.75rem;
}

.home-top-performers-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.home-top-performers-sport {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-top-performers-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.home-top-performers-page-frame {
  position: relative;
  overflow: hidden;
}

.home-top-performers-page-frame.is-wiping {
  animation: topPerformerPageWipe 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-top-performers-page-frame[data-wipe-direction="left"].is-wiping {
  animation-name: topPerformerPageWipeLeft;
}

.home-top-performers-grid.is-wiping {
  animation: topPerformerGridWipe 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-top-performers-grid[data-wipe-direction="left"].is-wiping {
  animation-name: topPerformerGridWipeLeft;
}

@keyframes topPerformerPageWipe {
  0% {
    opacity: 0.82;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes topPerformerPageWipeLeft {
  0% {
    opacity: 0.82;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes topPerformerGridWipe {
  0% {
    opacity: 0.35;
    transform: translateX(18px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes topPerformerGridWipeLeft {
  0% {
    opacity: 0.35;
    transform: translateX(-18px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-personalized-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  align-content: start;
  min-height: var(--my-feed-frame-height);
}

.home-magazine-rolling-player-hub .home-personalized-layout {
  gap: 0.75rem;
}

.home-personalized-feed-wrap {
  display: grid;
  gap: 0;
}

.home-personalized-feed-shell {
  min-width: 0;
  display: grid;
  align-content: start;
  padding: 0.9rem 1rem 1rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(24, 49, 83, 0.06), rgba(24, 49, 83, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  box-shadow: var(--shadow);
}

.home-personalized-feed-heading {
  margin: 0 0 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.22rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-personalized-feed-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--accent);
  transform: translateY(1px);
}

.home-personalized-feed-settings {
  display: inline-grid;
  place-items: center;
  min-width: 2.35rem;
  height: 1.75rem;
  margin-left: 2.35rem;
  padding: 0 0.45rem;
  border: 1px solid rgba(24, 49, 83, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 14px rgba(19, 32, 51, 0.12);
}

.home-personalized-feed-settings:hover,
.home-personalized-feed-settings:focus-visible {
  border-color: rgba(217, 108, 47, 0.42);
  color: var(--accent-strong);
  outline: none;
}

.home-personalized-feed-row {
  padding: 0.2rem 0.15rem 0.62rem;
}

.home-personalized-feed-row[data-loop-segments="1"] {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
}

.home-personalized-feed-row[data-loop-segments="1"]::-webkit-scrollbar {
  display: block;
  height: 8px;
}

.home-personalized-feed-row[data-loop-segments="1"]::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.24);
}

.home-personalized-feed-row .home-magazine-scroll-track {
  gap: 0.75rem;
}

.home-personalized-feed-row .home-magazine-story-card {
  flex: 0 0 292px;
  width: 292px;
  min-width: 292px;
  height: 154px;
  min-height: 154px;
  max-height: 154px;
  border-radius: var(--radius-md);
}

.home-personalized-feed-row .home-personalized-feed-story-card {
  flex: 0 0 292px !important;
  width: 292px;
  min-width: 292px;
  height: 154px !important;
  min-height: 154px !important;
  max-height: 154px;
}

.home-personalized-feed-story-card {
  background:
    var(--article-photo-fit, none) var(--article-photo-position, center) / var(--article-photo-fit-size, contain) no-repeat,
    var(--article-photo, none) var(--article-photo-position, center) / var(--article-photo-size, cover) no-repeat,
    var(--fallback-photo, none) center / 54% no-repeat,
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(24, 49, 83, 0.94), rgba(28, 71, 145, 0.82));
  background-color: rgba(24, 49, 83, 0.16);
}

.home-personalized-feed-story-card .home-magazine-copy {
  gap: 0.22rem;
  padding: 0.48rem 0.58rem 0.54rem;
}

.home-personalized-feed-story-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.06;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-personalized-feed-story-card .home-magazine-meta {
  gap: 0.3rem 0.6rem;
  font-size: 0.54rem;
  letter-spacing: 0.1em;
}

.home-personalized-feed-card-image {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.home-personalized-feed-story-card > .home-personalized-feed-card-image {
  position: absolute;
  z-index: 0;
}

.home-personalized-feed-story-card > .home-personalized-feed-card-image-fallback {
  padding: 2.1rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(24, 49, 83, 0.94), rgba(28, 71, 145, 0.82));
  object-fit: contain;
  opacity: 0.92;
}

.home-personalized-feed-story-card > .home-personalized-feed-card-image-overlay {
  padding: 0;
  object-fit: cover;
  opacity: 1;
}

.home-personalized-feed-story-card > .home-magazine-copy {
  position: relative;
  z-index: 2;
}

.home-personalized-feed-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6rem;
  padding: 0.95rem 1rem;
  border: 1px dashed rgba(24, 49, 83, 0.2);
  border-radius: var(--radius-md);
  color: rgba(24, 49, 83, 0.76);
  font-weight: 800;
  text-align: center;
}

.home-personalized-athlete-strip {
  display: grid;
  width: 100%;
  gap: 0.58rem;
  align-items: stretch;
  align-content: start;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-personalized-athlete-strip[data-player-count="1"] {
  grid-template-columns: minmax(0, 1fr);
}

.home-personalized-athlete-strip[data-player-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-personalized-athlete-strip[data-player-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-personalized-athlete-strip[data-player-count="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-personalized-athlete-strip[data-player-count="6"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-personalized-athlete-strip[data-player-count="7"],
.home-personalized-athlete-strip[data-player-count="8"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-personalized-athlete-strip .home-favorite-player-card {
  width: 100%;
  min-height: 2.7rem;
  padding: 0.52rem 0.78rem;
  border-radius: 16px;
  text-align: center;
  border-width: 1.5px;
  box-shadow: 0 14px 26px rgba(6, 12, 21, 0.16);
}

.home-personalized-athlete-strip .home-favorite-player-card-copy {
  min-height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.home-personalized-athlete-strip .home-favorite-player-card-copy span {
  display: inline-block;
  color: #f8fbff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(0.95rem, 1.05vw, 1.08rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-personalized-story-grid-wrap {
  min-width: 0;
  display: grid;
  align-content: stretch;
  min-height: var(--my-feed-frame-height);
}

.home-personalized-story-panel,
.home-favorite-player-detail {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(28, 71, 145, 0.2);
  border-radius: calc(var(--radius-lg) - 0.2rem);
  background: rgba(248, 251, 255, 0.94);
}

.home-personalized-story-panel-intro {
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.home-personalized-story-panel {
  height: var(--my-feed-frame-height);
  align-content: start;
  overflow: auto;
}

.home-personalized-story-panel.is-hidden {
  display: none;
}

.home-personalized-athlete-strip .home-favorite-player-card:hover,
.home-personalized-athlete-strip .home-favorite-player-card:focus-visible,
.home-personalized-athlete-strip .home-favorite-player-card.is-active {
  transform: translateY(-1px);
}

.home-personalized-athlete-strip .home-favorite-player-card.is-active .home-favorite-player-card-copy span,
.home-personalized-athlete-strip .home-favorite-player-card:hover .home-favorite-player-card-copy span,
.home-personalized-athlete-strip .home-favorite-player-card:focus-visible .home-favorite-player-card-copy span {
  color: #ffd8b9;
}

.home-personalized-athlete-strip-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  color: rgba(248, 251, 255, 0.8);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

.home-player-hub-intro {
  display: grid;
  gap: 0.6rem;
  max-width: 720px;
  align-content: center;
}

.home-player-hub-intro h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.05;
}

.home-player-hub-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.home-personalized-news-section {
  display: grid;
  gap: 0.6rem;
}

.home-personalized-headline-list {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.home-personalized-headline-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(28, 71, 145, 0.14);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.home-personalized-headline-item:hover,
.home-personalized-headline-item:focus-visible {
  border-color: rgba(28, 71, 145, 0.32);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(24, 34, 52, 0.08);
}

.home-personalized-headline-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.15;
}

.home-personalized-headline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-personalized-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 78px;
  gap: 0.8rem;
  align-content: start;
}

.home-personalized-news-grid .home-magazine-story-card {
  min-height: 0;
  height: 100%;
}

.home-personalized-news-grid .home-magazine-story-card.home-personalized-story-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.home-personalized-news-grid .home-magazine-story-card.home-personalized-story-card-tall {
  grid-row: span 2;
}

.home-personalized-news-grid .home-magazine-story-card.home-personalized-story-card-wide {
  grid-column: span 2;
}

.home-personalized-news-grid .home-magazine-story-card.home-personalized-story-card-compact {
  grid-row: span 1;
}

.home-personalized-player-detail {
  width: 100%;
  height: var(--my-feed-frame-height);
  overflow: hidden;
}

.home-personalized-story-grid-wrap .home-personalized-player-detail {
  height: var(--my-feed-frame-height);
}

.home-favorite-players-shell {
  display: grid;
  gap: 0.9rem;
}

.home-favorite-players-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.7rem;
}

.home-favorite-players-grid[data-player-count="1"] .home-favorite-player-card {
  width: 300px;
  flex-basis: 300px;
}

.home-favorite-players-grid[data-player-count="2"] .home-favorite-player-card {
  width: 248px;
  flex-basis: 248px;
}

.home-favorite-players-grid[data-player-count="3"] .home-favorite-player-card {
  width: 192px;
  flex-basis: 192px;
}

.home-favorite-players-grid[data-player-count="4"] .home-favorite-player-card {
  width: 156px;
  flex-basis: 156px;
}

.home-favorite-player-card {
  display: grid;
  grid-template-rows: minmax(0, 92px) auto;
  width: 124px;
  flex: 0 0 124px;
  padding: 0;
  border: 1px solid rgba(28, 71, 145, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  box-shadow: 0 18px 34px rgba(24, 34, 52, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.home-favorite-player-card:hover,
.home-favorite-player-card:focus-visible,
.home-favorite-player-card.is-active {
  transform: translateY(-3px);
  box-shadow: 0 22px 38px rgba(24, 34, 52, 0.12);
  border-color: rgba(28, 71, 145, 0.34);
}

.home-favorite-player-card-image-wrap {
  position: relative;
  min-height: 92px;
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.06), rgba(12, 18, 28, 0.18)),
    var(--player-photo);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.home-favorite-player-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-favorite-player-card-image.is-empty {
  opacity: 0;
}

.home-favorite-player-card-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.5rem 0.6rem;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.15;
}

.home-personalized-player-rail-individual .home-favorite-player-card-image-wrap {
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.1), rgba(12, 18, 28, 0.26)),
    var(--player-photo);
}

.home-favorite-player-detail.is-hidden {
  display: none;
}

.home-favorite-player-detail-empty,
.home-player-detail-loading {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-player-detail-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.8rem;
}

.home-player-detail-header-main {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.home-player-detail-header h3 {
  margin: 0.15rem 0 0;
  color: var(--navy);
  font-size: 1.14rem;
}

.home-player-detail-avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(28, 71, 145, 0.14);
  background: linear-gradient(180deg, rgba(24, 49, 83, 0.12), rgba(24, 49, 83, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
}

.home-player-detail-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

.home-player-detail-avatar.is-loading,
.home-player-detail-avatar.is-empty {
  background: linear-gradient(180deg, rgba(24, 49, 83, 0.16), rgba(24, 49, 83, 0.06));
}

.home-player-detail-back {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28, 71, 145, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.home-player-detail-back:hover,
.home-player-detail-back:focus-visible {
  border-color: rgba(28, 71, 145, 0.34);
  background: #ffffff;
}

.home-player-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--navy);
  color: #f8fbff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-player-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.home-player-detail-meta-chip,
.home-player-detail-chip {
  display: grid;
  gap: 0.2rem;
  padding: 0.48rem 0.56rem;
  border: 1px solid rgba(28, 71, 145, 0.14);
  border-radius: var(--radius-sm);
  background: #fff;
}

.home-player-detail-meta-chip span,
.home-player-detail-chip span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-player-detail-meta-chip strong,
.home-player-detail-chip strong {
  color: var(--navy);
  font-size: 0.86rem;
  line-height: 1.2;
}

.home-player-detail-section {
  display: grid;
  gap: 0.42rem;
}

.home-player-detail-section-label {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-player-detail-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
}

.home-player-detail-recent {
  display: grid;
  gap: 0.38rem;
}

.home-player-detail-game {
  display: grid;
  gap: 0.22rem;
  padding: 0.48rem 0.56rem;
  border: 1px solid rgba(28, 71, 145, 0.14);
  border-radius: var(--radius-sm);
  background: #fff;
}

.home-player-detail-game-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.home-player-detail-game-top strong {
  color: var(--navy);
}

.home-player-detail-game-context {
  color: rgba(28, 71, 145, 0.82);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-player-detail-game-line,
.home-player-detail-fallback-note,
.home-player-detail-empty {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.38;
}

.home-top-performer-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: stretch;
  min-height: 132px;
  border: 1px solid rgba(28, 71, 145, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  box-shadow: 0 18px 34px rgba(24, 34, 52, 0.08);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  cursor: pointer;
  text-decoration: none;
}

.home-top-performer-card:hover,
.home-top-performer-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 38px rgba(24, 34, 52, 0.12);
  border-color: rgba(28, 71, 145, 0.34);
}

.home-top-performer-image-wrap {
  position: relative;
  min-height: 132px;
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.06), rgba(12, 18, 28, 0.18)),
    var(--performer-photo);
  background-size: cover;
  background-position: center;
}

.home-top-performer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-top-performer-copy {
  display: grid;
  align-content: center;
  gap: 0.26rem;
  padding: 0.8rem 0.85rem 0.82rem;
}

.home-top-performer-copy .panel-label {
  margin: 0;
  color: var(--ink-soft);
}

.home-top-performer-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.08;
}

.home-top-performer-statline {
  margin: 0;
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
}

.home-top-performer-fantasy {
  margin: 0;
  color: var(--accent);
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-top-performer-system {
  margin: -0.05rem 0 0;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.2;
  font-weight: 700;
}

.home-top-performer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.64rem;
  line-height: 1.2;
}

.home-photo-mosaic-heading {
  margin-bottom: 0.8rem;
  align-items: center;
}

.home-photo-refresh {
  min-height: 38px;
  padding: 0.62rem 0.9rem;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.home-photo-scroll-row {
  padding-bottom: 0.04rem;
}

.home-photo-story-card {
  flex: 0 0 324px;
  min-width: 324px;
  min-height: 182px;
}

.home-photo-story-card .home-magazine-copy {
  padding: 0.48rem 0.58rem 0.54rem;
}

.home-photo-story-card h3 {
  font-size: clamp(0.82rem, 1.08vw, 0.94rem);
  line-height: 1.02;
}

.home-photo-story-card .home-magazine-meta {
  font-size: 0.5rem;
  gap: 0.24rem 0.5rem;
}

.photo-layout-1 {
  grid-column: 1 / span 4;
  grid-row: 1 / span 4;
}

.photo-layout-2 {
  grid-column: 5 / span 4;
  grid-row: 1 / span 4;
}

.photo-layout-3 {
  grid-column: 9 / span 4;
  grid-row: 1 / span 4;
}

.photo-layout-4 {
  grid-column: 1 / span 3;
  grid-row: 5 / span 4;
}

.photo-layout-5 {
  grid-column: 4 / span 4;
  grid-row: 5 / span 4;
}

.photo-layout-6 {
  grid-column: 8 / span 5;
  grid-row: 5 / span 4;
}

.photo-layout-7 {
  grid-column: 1 / span 4;
  grid-row: 9 / span 4;
}

.photo-layout-8 {
  grid-column: 5 / span 4;
  grid-row: 9 / span 4;
}

.photo-layout-9 {
  grid-column: 9 / span 4;
  grid-row: 9 / span 2;
}

.photo-layout-10 {
  grid-column: 9 / span 4;
  grid-row: 11 / span 2;
}

.home-magazine-scroll-row {
  overflow: hidden;
  overflow-y: hidden;
  padding: 0.2rem 0.15rem 0.62rem;
}

.home-magazine-scroll-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.home-magazine-story-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 188px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 170px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    var(--magazine-photo-fit, none) var(--magazine-photo-position, center) / var(--magazine-photo-fit-size, contain) no-repeat,
    var(--magazine-photo, none) var(--magazine-photo-position, center) / var(--magazine-photo-size, cover) no-repeat,
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(24, 49, 83, 0.96), rgba(20, 63, 118, 0.86));
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
  scroll-snap-align: start;
}

.home-personalized-feed-story-card.home-magazine-story-card {
  background:
    var(--article-photo-fit, none) var(--article-photo-position, center) / var(--article-photo-fit-size, contain) no-repeat,
    var(--article-photo, none) var(--article-photo-position, center) / var(--article-photo-size, cover) no-repeat,
    var(--fallback-photo, none) center / 54% no-repeat,
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(24, 49, 83, 0.94), rgba(28, 71, 145, 0.82));
  background-color: rgba(24, 49, 83, 0.16);
}

.home-magazine-story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.02) 0%, rgba(12, 18, 28, 0.08) 52%, rgba(12, 18, 28, 0.28) 100%);
}

.home-magazine-story-card > * {
  position: relative;
  z-index: 1;
}

.home-magazine-card-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.home-magazine-story-card.home-score-graphic-card,
.home-personalized-feed-story-card.home-score-graphic-card {
  isolation: isolate;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(24, 49, 83, 0.94), rgba(28, 71, 145, 0.82));
}

.home-magazine-story-card.home-score-graphic-card::before,
.home-magazine-story-card.home-score-graphic-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-magazine-story-card.home-score-graphic-card::before {
  inset: -16%;
  z-index: 0;
  background: var(--score-card-photo) center / cover no-repeat;
  filter: blur(16px) saturate(1.18);
  opacity: 0.62;
  transform: scale(1.04);
}

.home-magazine-story-card.home-score-graphic-card::after {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.02) 0%, rgba(12, 18, 28, 0.05) 52%, rgba(12, 18, 28, 0.3) 100%),
    var(--score-card-photo) center / 100% auto no-repeat;
}

.home-magazine-copy {
  display: grid;
  gap: 0.28rem;
  margin: auto 0 0;
  padding: 0.58rem 0.62rem 0.62rem;
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.02) 0%, rgba(12, 18, 28, 0.6) 30%, rgba(12, 18, 28, 0.82) 100%);
}

.home-magazine-topic-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.24rem;
}

.home-magazine-topic-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 15px;
  padding: 0.16rem 0.34rem;
  border-radius: 999px;
  background: rgba(216, 100, 46, 0.92);
  color: #fff;
  font-size: 0.44rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 5px 14px rgba(11, 23, 39, 0.18);
}

.fantasy-home-top-news-row .home-magazine-copy {
  gap: 0.14rem;
  padding: 0.42rem 0.5rem 0.46rem;
}

.fantasy-home-top-news-row .home-magazine-story-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(0.76rem, 1vw, 0.88rem);
  line-height: 1.02;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fantasy-home-top-news-row .home-magazine-meta {
  display: flex;
  gap: 0.22rem 0.42rem;
  color: rgba(248, 251, 255, 0.86);
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.fantasy-home-top-news-row .home-magazine-meta span:first-child {
  color: #fff;
  font-weight: 950;
}

.home-magazine-story-card:hover,
.home-magazine-story-card:focus-visible {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 46px rgba(24, 34, 52, 0.15);
}

.home-magazine-story-card-game {
  box-shadow: inset 0 0 0 1px rgba(88, 176, 255, 0.24), var(--shadow);
}

.home-magazine-story-card-player_feature {
  box-shadow: inset 0 0 0 1px rgba(255, 194, 92, 0.24), var(--shadow);
}

.home-magazine-story-card-transaction {
  box-shadow: inset 0 0 0 1px rgba(120, 230, 186, 0.24), var(--shadow);
}

.home-magazine-story-card-injury {
  box-shadow: inset 0 0 0 1px rgba(255, 119, 119, 0.24), var(--shadow);
}

.home-magazine-story-card-big_news {
  box-shadow: inset 0 0 0 1px rgba(226, 160, 255, 0.22), var(--shadow);
}

.home-magazine-story-card h3 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(0.88rem, 1.25vw, 1rem);
  line-height: 1.05;
}

.home-magazine-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  color: rgba(248, 251, 255, 0.88);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-magazine-rolling .section-heading-paper {
  padding-bottom: 0.65rem;
  margin-bottom: 0.7rem;
}

.article-julio-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(13, 20, 33, 0.14), rgba(13, 20, 33, 0.84)),
    var(--article-photo);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.article-julio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.06), rgba(12, 18, 28, 0.8));
}

.article-julio-hero > * {
  position: relative;
  z-index: 1;
}

.article-julio-hero .panel-label,
.article-julio-hero p,
.article-julio-hero h2 {
  color: #f8fbff;
}

.article-julio-hero h2 {
  margin: 0 0 0.7rem;
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.article-julio-hero p:last-child {
  margin: 0;
  max-width: 42rem;
  line-height: 1.6;
}

.article-julio-notes {
  margin-top: 0;
}

.article-story-shell {
  margin-top: 0;
}

.article-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.95fr);
  gap: 1rem;
  align-items: start;
}

.article-story-stack {
  display: grid;
  gap: 0.9rem;
}

.article-story-stack-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-story-card {
  position: relative;
  overflow: hidden;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(217, 108, 47, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(24, 49, 83, 0.05), rgba(255, 255, 255, 0.92) 48%),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.article-story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 49, 83, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(24, 49, 83, 0.025) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.38;
  pointer-events: none;
}

.article-story-card > * {
  position: relative;
  z-index: 1;
}

.article-story-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  line-height: 1.08;
}

.article-story-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.article-intro-grid .section-intro-card h2 {
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
}

.article-game-sidebar {
  display: grid;
  gap: 0.9rem;
  position: sticky;
  top: 1rem;
}

.article-game-panel {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.article-game-panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.08;
}

.article-game-grid,
.article-game-list {
  display: grid;
  gap: 0.5rem;
}

.article-game-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(24, 49, 83, 0.08);
}

.article-game-row:last-child {
  border-bottom: 0;
}

.article-game-row strong,
.article-game-row span,
.article-game-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.boxscore-page {
  min-height: 100vh;
  padding: 24px;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}

.boxscore-shell {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.boxscore-score-card,
.boxscore-panel {
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.boxscore-score-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--away-team, #113d78) 9%, white) 0%, rgba(255, 255, 255, 0.98) 36%, color-mix(in srgb, var(--home-team, #113d78) 9%, white) 100%);
  border-color: color-mix(in srgb, var(--away-team, #113d78) 16%, var(--home-team, #113d78) 16%, white);
}

.boxscore-score-meta {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.95rem;
}

.boxscore-state-pill-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.8rem;
}

.boxscore-state-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 61, 120, 0.12);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boxscore-score-detail {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.boxscore-score-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.boxscore-team-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.92) 100%);
  border: 1px solid rgba(17, 61, 120, 0.1);
  position: relative;
  overflow: hidden;
}

.boxscore-team-pill::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--team-accent, var(--accent));
}

.boxscore-team-pill-away {
  --team-accent: var(--away-accent, var(--away-team, var(--accent)));
  background: linear-gradient(180deg, color-mix(in srgb, var(--away-team, #113d78) 18%, white) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-color: color-mix(in srgb, var(--away-team, #113d78) 22%, white);
}

.boxscore-team-pill-home {
  --team-accent: var(--home-accent, var(--home-team, var(--accent)));
  background: linear-gradient(180deg, color-mix(in srgb, var(--home-team, #113d78) 18%, white) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-color: color-mix(in srgb, var(--home-team, #113d78) 22%, white);
}

.boxscore-team-pill strong {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--navy);
}

.boxscore-team-name-wrap {
  display: grid;
  gap: 0.22rem;
}

.boxscore-team-name {
  display: block;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}

.boxscore-team-record {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.3;
}

.boxscore-score-separator {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: var(--accent);
}

.boxscore-line-score-wrap {
  margin-top: 1rem;
}

.boxscore-line-score {
  display: grid;
  gap: 0.45rem;
}

.boxscore-line-head,
.boxscore-line-row {
  display: grid;
  grid-template-columns: 72px repeat(auto-fit, minmax(28px, 1fr));
  gap: 0.35rem;
  align-items: center;
}

.boxscore-line-head {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.boxscore-line-row {
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid rgba(17, 61, 120, 0.08);
}

.boxscore-line-row strong {
  color: var(--navy);
  font-size: 0.92rem;
}

.boxscore-line-head span,
.boxscore-line-row span {
  text-align: center;
}

.boxscore-team-edge {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17, 61, 120, 0.12);
}

.boxscore-team-edge p:last-child {
  margin: 0.3rem 0 0;
  color: var(--ink);
  line-height: 1.5;
}

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

.boxscore-fact-card {
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 61, 120, 0.1);
}

.boxscore-fact-card p:last-child {
  margin: 0.3rem 0 0;
  color: var(--ink);
  line-height: 1.45;
}

.boxscore-watch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.boxscore-watch-list span {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(17, 61, 120, 0.1);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
}

.boxscore-inline-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 61, 120, 0.2);
}

.boxscore-inline-link:hover {
  color: var(--accent);
  border-bottom-color: rgba(210, 104, 42, 0.35);
}

.boxscore-panel .article-game-row + .article-game-row {
  margin-top: 0.7rem;
}

.boxscore-panel h3 {
  margin: 0.2rem 0 0.85rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.boxscore-empty {
  margin: 0;
  color: var(--muted);
}

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

@media (max-width: 760px) {
  .boxscore-page {
    padding: 16px;
  }

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

  .boxscore-facts-grid {
    grid-template-columns: 1fr;
  }

  .boxscore-score-top {
    grid-template-columns: 1fr;
  }

  .boxscore-score-separator {
    display: none;
  }
}

.article-game-scoreline {
  font-weight: 800;
  color: var(--ink);
}

@media (max-width: 980px) {
  .article-story-layout {
    grid-template-columns: 1fr;
  }

  .article-game-sidebar {
    position: static;
  }
}

.julio-game-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.julio-game-card.is-hidden,
.julio-game-answer.is-hidden {
  display: none;
}

.julio-game-card .julio-answer-toggle {
  margin-top: 0.55rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.julio-ask-shell {
  margin-top: 0;
}

.bio-result-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.bio-generator-shell {
  display: grid;
  gap: 1rem;
}

.bio-julio-hero h2 {
  max-width: 14ch;
}

.bio-julio-hero {
  min-height: 360px;
}

.bio-julio-hero .panel-label {
  color: rgba(255, 197, 131, 0.95);
}

.bio-result-stack .home-magazine-headlines {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 255, 0.92));
}

.bio-result-stack .home-magazine-headline {
  padding: 0.4rem 0 0.7rem;
}

.bio-result-stack .home-magazine-headline h3 {
  font-size: 1rem;
}

.julio-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.85rem;
  margin-top: 1rem;
}

.julio-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.julio-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.julio-field input,
.julio-field select,
.julio-field textarea {
  min-height: 44px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

.julio-field textarea {
  min-height: 112px;
  resize: vertical;
}

.julio-field-wide {
  grid-column: span 2;
}

.julio-fantasy-profile-shell {
  padding: 1.15rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(244, 248, 255, 0.98), rgba(234, 242, 250, 0.95));
  color: var(--ink);
}

.julio-fantasy-profile-shell .panel-label,
.julio-fantasy-profile-shell .julio-field span {
  color: var(--accent);
}

.julio-fantasy-profile-shell h2,
.julio-fantasy-profile-shell p {
  color: var(--ink);
}

.julio-fantasy-profile-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.julio-fantasy-profile-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.julio-tool-home-shell {
  display: grid;
  gap: 1rem;
  padding-bottom: 1.25rem;
}

.julio-tool-home-panel {
  margin-top: 0;
}

.julio-tool-home-panel .home-magazine-row-shell {
  gap: 0.75rem;
}

.julio-tool-home-intro {
  display: grid;
  gap: 0.35rem;
  padding: 0.2rem 0.2rem 0.55rem;
}

.julio-tool-home-intro .panel-label,
.julio-tool-home-intro h2,
.julio-tool-home-intro p {
  margin: 0;
}

.julio-tool-home-intro h2 {
  max-width: 20ch;
  color: var(--navy);
}

.julio-tool-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 0.2rem;
}

.julio-tool-form-grid .home-magazine-refresh {
  justify-self: start;
  margin-top: 0.15rem;
}

.julio-tool-result-stack {
  gap: 0.9rem;
  margin-top: 0.1rem;
}

.julio-tool-result-stack .article-julio-hero {
  min-height: auto;
  padding: 1.3rem 1.35rem 1.45rem;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(17, 40, 74, 0.98), rgba(29, 58, 103, 0.94)),
    radial-gradient(circle at top right, rgba(255, 170, 84, 0.18), transparent 40%);
  box-shadow: 0 18px 34px rgba(13, 31, 57, 0.16);
}

.julio-tool-result-stack .article-julio-hero h2 {
  max-width: 17ch;
}

.julio-tool-result-stack .section-section-grid {
  gap: 0.9rem;
}

.julio-tool-result-stack .section-intro-card {
  min-height: 100%;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 252, 0.94));
  border: 1px solid rgba(24, 49, 83, 0.09);
  box-shadow: 0 16px 30px rgba(18, 38, 68, 0.08);
}

.julio-tool-result-stack .section-intro-card h2 {
  color: var(--navy);
}

.julio-tool-result-stack .section-intro-card p,
.julio-tool-result-stack .section-intro-card li {
  color: var(--ink);
}

.julio-tool-result-stack .home-magazine-headlines {
  border-radius: 26px;
  border: 1px solid rgba(24, 49, 83, 0.09);
  box-shadow: 0 16px 30px rgba(18, 38, 68, 0.08);
}

.julio-tool-result-stack .home-magazine-headline-list {
  gap: 0.55rem;
}

.julio-tool-result-stack .home-magazine-headline {
  padding: 0.55rem 0 0.85rem;
}

.julio-tool-result-stack .home-magazine-headline h3 {
  color: var(--navy);
  font-size: 1.06rem;
}

.julio-tool-result-stack .home-magazine-headline p {
  color: var(--ink);
}

.julio-bullet-list,
.julio-data-list {
  display: grid;
  gap: 0.55rem;
}

.julio-bullet-list p,
.julio-data-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}


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

.logo-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 168px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  text-align: center;
}

.logo-button:hover,
.logo-button:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(24, 34, 52, 0.12);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 92px;
  padding: 0.9rem;
  border-radius: 999px;
  color: #f8fbff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 24px rgba(18, 32, 51, 0.18);
}

.logo-name {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.logo-button-college .logo-mark {
  background: linear-gradient(135deg, #183e9f, #2e66d3);
}

.logo-button-baseball .logo-mark {
  background: linear-gradient(135deg, #0b2a4a, #d33b3b);
}

.logo-button-soccer .logo-mark {
  background: linear-gradient(135deg, #153a67, #0f766e);
}

.logo-button-hockey .logo-mark {
  background: linear-gradient(135deg, #20232a, #5b6472);
}

.logo-button-ufc .logo-mark {
  background: linear-gradient(135deg, #111111, #c0392b);
}

.logo-button-golf .logo-mark {
  background: linear-gradient(135deg, #0f5132, #c79c2c);
}

.logo-button-football .logo-mark {
  background: linear-gradient(135deg, #5a3117, #c97b2c);
}

.logo-button-basketball .logo-mark {
  background: linear-gradient(135deg, #9a3412, #f59e0b);
}

.logo-button-tennis .logo-mark {
  background: linear-gradient(135deg, #0f766e, #65a30d);
}

.logo-button-racing .logo-mark {
  background: linear-gradient(135deg, #111827, #ef4444);
}

.logo-button-wrestling .logo-mark {
  background: linear-gradient(135deg, #4c1d95, #dc2626);
}

.logo-button-boxing .logo-mark {
  background: linear-gradient(135deg, #7f1d1d, #ef4444);
}

.logo-button-volleyball .logo-mark {
  background: linear-gradient(135deg, #1d4ed8, #f59e0b);
}

.home-poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.home-poster {
  min-height: 280px;
  transition: transform 160ms ease;
}

.home-poster-copy {
  inset: auto 1.1rem 1.1rem 1.1rem;
}

.home-poster:hover,
.home-poster:focus-visible,
.visual-promo:hover,
.visual-promo:focus-visible,
.visual-hero-main:hover,
.visual-hero-main:focus-visible {
  transform: translateY(-3px);
}

.home-poster-soccer {
  --promo-photo: url("https://commons.wikimedia.org/wiki/Special:FilePath/Soccer%20match.jpg");
}

.home-poster-hockey {
  --promo-photo: url("https://commons.wikimedia.org/wiki/Special:FilePath/DerekDorsett.jpg");
}

.home-poster-ufc {
  --promo-photo: url("https://commons.wikimedia.org/wiki/Special:FilePath/UFC%20129.jpg");
}

.home-poster-golf {
  --promo-photo: url("https://commons.wikimedia.org/wiki/Special:FilePath/Gary%20Woodland%20at%202015%20PGA%20Championship.jpg");
}

.home-poster-football {
  --promo-photo: url("https://images.unsplash.com/photo-1508098682722-e99c643e7485?auto=format&fit=crop&w=1200&q=80");
}

.home-poster-basketball {
  --promo-photo: url("https://images.unsplash.com/photo-1546519638-68e109498ffc?auto=format&fit=crop&w=1200&q=80");
}

.home-poster-tennis {
  --promo-photo: url("https://images.unsplash.com/photo-1542144582-1ba00456b5e3?auto=format&fit=crop&w=1200&q=80");
}

.home-poster-racing {
  --promo-photo: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1200&q=80");
}

.welcome-banner,
.front-column,
.lead-story-panel,
.front-secondary,
.front-secondary-column,
.paper-section,
.sport-hub-card,
.snapshot-panel,
.briefing-card,
.sport-hero,
.section-intro-card,
.section-feed-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.welcome-banner::before,
.front-column::before,
.lead-story-panel::before,
.front-secondary-column::before,
.paper-section::before,
.sport-hub-card::before,
.snapshot-panel::before,
.briefing-card::before,
.sport-hero::before,
.section-intro-card::before,
.section-feed-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88)),
    var(--bg-photo);
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  pointer-events: none;
}

.welcome-banner > *,
.front-column > *,
.lead-story-panel > *,
.front-secondary-column > *,
.paper-section > *,
.sport-hub-card > *,
.snapshot-panel > *,
.briefing-card > *,
.sport-hero > *,
.section-intro-card > *,
.section-feed-shell > * {
  position: relative;
  z-index: 1;
}

.welcome-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 1.25rem;
  padding: 1.4rem;
  --bg-photo: url("https://images.unsplash.com/photo-1508098682722-e99c643e7485?auto=format&fit=crop&w=1600&q=80");
}

.welcome-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.welcome-copy p:last-child {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.7;
}

.welcome-stats {
  display: grid;
  gap: 0.85rem;
}

.welcome-stat {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
}

.welcome-stat span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.03em;
}

.welcome-stat p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.front-lead {
  display: grid;
  gap: 1.25rem;
}

.front-lead-magazine {
  grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.5fr) minmax(250px, 0.82fr);
  align-items: start;
}

.front-column,
.lead-story-panel,
.front-secondary-column {
  padding: 1.15rem;
}

.front-column {
  min-height: 100%;
}

.front-column-left {
  --bg-photo: url("https://images.unsplash.com/photo-1517649763962-0c623066013b?auto=format&fit=crop&w=1400&q=80");
}

.front-column-right {
  --bg-photo: url("https://images.unsplash.com/photo-1546519638-68e109498ffc?auto=format&fit=crop&w=1400&q=80");
}

.column-head,
.section-heading-paper {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.front-mini-list,
.news-column-list,
.magazine-note-stack {
  display: grid;
}

.front-mini-list,
.news-column-list,
.magazine-note-stack {
  gap: 0.95rem;
  padding-top: 0.85rem;
}

.mini-story,
.news-column-story,
.magazine-note {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.mini-story:last-child,
.news-column-story:last-child,
.magazine-note:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mini-story-kicker,
.hub-kicker,
.eyebrow,
.panel-label {
  margin: 0 0 0.35rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mini-story h3,
.news-column-story h3,
.magazine-note h3,
.snapshot-head h3,
.hub-copy h3,
.section-cover-copy h3 {
  margin: 0 0 0.45rem;
  font-size: 1.42rem;
  line-height: 1.08;
}

.mini-story p,
.news-column-story p,
.magazine-note p,
.briefing-card p,
.sport-hero-side p,
.section-intro-card p,
.hero-text,
.article-summary,
.hub-copy p,
.snapshot-head a,
.empty-state,
.loading-state {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.lead-story {
  display: grid;
  gap: 1rem;
}

.lead-story-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 8px);
  box-shadow: 0 12px 28px rgba(24, 34, 52, 0.08);
}

.lead-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lead-story-copy h2 {
  margin: 0.4rem 0 0.7rem;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.lead-summary {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.front-secondary {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 1.25rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.briefing-card {
  padding: 1rem;
  --bg-photo: url("https://images.unsplash.com/photo-1518091043644-c1d4457512c6?auto=format&fit=crop&w=1400&q=80");
}

.paper-section {
  padding: 1.1rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.75rem;
}

.sport-hub-grid,
.snapshot-grid,
.articles-grid,
.section-cover-grid,
.section-section-grid {
  display: grid;
  gap: 1rem;
}

.sport-hub-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

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

.section-cover-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.section-cover {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 160ms ease;
}

.section-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(18, 24, 38, 0.1), rgba(18, 24, 38, 0.72)), var(--cover-photo);
  background-size: cover;
  background-position: center;
}

.section-cover-copy {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  z-index: 1;
  color: #f8fbff;
}

.section-cover-copy .panel-label {
  color: rgba(248, 251, 255, 0.76);
}

.section-cover-college {
  --cover-photo: url("https://images.unsplash.com/photo-1546519638-68e109498ffc?auto=format&fit=crop&w=1200&q=80");
}

.section-cover-baseball {
  --cover-photo: url("https://images.unsplash.com/photo-1508344928928-7165b67de128?auto=format&fit=crop&w=1200&q=80");
}

.section-cover-soccer {
  --cover-photo: url("https://images.unsplash.com/photo-1518091043644-c1d4457512c6?auto=format&fit=crop&w=1200&q=80");
}

.section-cover-hockey {
  --cover-photo: url("https://images.unsplash.com/photo-1547347298-4074fc3086f0?auto=format&fit=crop&w=1200&q=80");
}

.section-cover-ufc {
  --cover-photo: url("https://images.unsplash.com/photo-1549719386-74dfcbf7dbed?auto=format&fit=crop&w=1200&q=80");
}

.section-cover-golf {
  --cover-photo: url("https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=1200&q=80");
}

.sport-hub-card,
.snapshot-panel,
.article-card,
.section-intro-card,
.section-feed-shell {
  padding: 1.15rem;
}

.sport-hub-card {
  --bg-photo: url("https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&w=1400&q=80");
}

.hub-visual {
  position: relative;
  height: 170px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.hub-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hub-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.74));
}

.hub-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 56px;
  padding: 0.4rem 0.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.hub-copy {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.article-card {
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    var(--card-photo);
  background-size: cover;
  background-position: center;
  opacity: 0.36;
  pointer-events: none;
}

.article-card > * {
  position: relative;
  z-index: 1;
}

.article-card[data-feed-card="world"] {
  --card-photo: url("https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="college"] {
  --card-photo: url("https://images.unsplash.com/photo-1546519638-68e109498ffc?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="baseball"] {
  --card-photo: url("https://images.unsplash.com/photo-1508344928928-7165b67de128?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="soccer"] {
  --card-photo: url("https://images.unsplash.com/photo-1518091043644-c1d4457512c6?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="hockey"] {
  --card-photo: url("https://images.unsplash.com/photo-1547347298-4074fc3086f0?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="mma"] {
  --card-photo: url("https://images.unsplash.com/photo-1549719386-74dfcbf7dbed?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="golf"] {
  --card-photo: url("https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="football"] {
  --card-photo: url("https://images.unsplash.com/photo-1508098682722-e99c643e7485?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="basketball"] {
  --card-photo: url("https://images.unsplash.com/photo-1546519638-68e109498ffc?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="tennis"] {
  --card-photo: url("https://images.unsplash.com/photo-1542144582-1ba00456b5e3?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="racing"] {
  --card-photo: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="wrestling"] {
  --card-photo: url("https://images.unsplash.com/photo-1511886929837-354d827aae26?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="boxing"] {
  --card-photo: url("https://images.unsplash.com/photo-1517438984742-1262db08379e?auto=format&fit=crop&w=1200&q=80");
}

.article-card[data-feed-card="volleyball"] {
  --card-photo: url("https://images.unsplash.com/photo-1612872087720-bb876e2e67d1?auto=format&fit=crop&w=1200&q=80");
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.article-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--navy-soft);
  color: var(--navy);
}

.article-link,
.hub-link,
.snapshot-head a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 160ms ease;
}

.hub-link {
  color: var(--accent-strong);
}

.snapshot-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.magazine-section {
  gap: 1.2rem;
}

.sport-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 1rem;
  padding: 1.5rem;
}

.sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1546519638-68e109498ffc?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="baseball"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1508344928928-7165b67de128?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="soccer"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1518091043644-c1d4457512c6?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="hockey"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1547347298-4074fc3086f0?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="mma"] .sport-hero-rich,
body[data-sport="ufc"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1549719386-74dfcbf7dbed?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="golf"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="football"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1508098682722-e99c643e7485?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="basketball"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1546519638-68e109498ffc?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="tennis"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1542144582-1ba00456b5e3?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="racing"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="wrestling"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1511886929837-354d827aae26?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="boxing"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1517438984742-1262db08379e?auto=format&fit=crop&w=1600&q=80");
}

body[data-sport="volleyball"] .sport-hero-rich {
  --bg-photo: url("https://images.unsplash.com/photo-1612872087720-bb876e2e67d1?auto=format&fit=crop&w=1600&q=80");
}

.sport-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.sport-hero-side {
  align-self: end;
  padding: 1rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.section-intro-card {
  --bg-photo: url("https://images.unsplash.com/photo-1508098682722-e99c643e7485?auto=format&fit=crop&w=1400&q=80");
}

.section-intro-card h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-feed-shell {
  --bg-photo: url("https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&w=1600&q=80");
}

.section-articles {
  margin-top: 0.4rem;
}

.empty-state,
.loading-state {
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(24, 49, 83, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

@media (max-width: 980px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-shell-minimal {
    width: min(460px, 100%);
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    overflow: visible;
    box-shadow: none;
  }

  body[data-page="signin"] .auth-shell-minimal {
    width: 100vw;
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
  }

  body[data-page="signin"] .auth-card-minimal {
    width: min(460px, calc(100vw - 1.75rem));
    min-height: 480px;
  }

  body[data-page="account"] .auth-shell-minimal {
    width: 100vw;
    min-height: 100dvh;
    height: 100dvh;
    overflow: hidden;
  }

  body[data-page="account"] .auth-card-minimal {
    width: min(460px, calc(100vw - 1.75rem));
    min-height: 480px;
  }

  .home-julio-chatbar {
    grid-template-columns: 1fr auto;
    padding: 0.7rem;
  }

  .home-julio-chatbar-label {
    grid-column: 1 / -1;
  }

  .home-julio-chatbar-input {
    grid-column: 1 / 2;
  }

  .home-julio-chatbar-submit {
    grid-column: 2 / 3;
  }

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

  .account-form {
    grid-template-columns: 1fr;
  }

  .topbar,
  .welcome-banner,
  .sport-hero,
  .front-lead-magazine,
  .front-secondary,
  .visual-hero {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: start;
    flex-direction: column;
  }

  .article-story-stack-grid {
    grid-template-columns: 1fr;
  }

  .topbar-actions,
  .topbar-links {
    justify-content: start;
  }

  .topbar-home-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }

  .brand-cluster {
    flex-wrap: wrap;
  }

  .topbar-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .topbar-dropdown {
    width: 100%;
  }

  .topbar-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 0.7rem;
  }

  .dropdown-heading {
    align-items: start;
    flex-direction: column;
  }

  .dropdown-heading span {
    text-align: left;
  }

  .betting-dropdown-books {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .betting-odds-card-head {
    flex-direction: column;
  }

  .betting-odds-start {
    min-width: 0;
  }

  .home-player-detail-chip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .home-favorite-player-card {
    width: 118px;
    flex-basis: 118px;
  }

  .home-favorite-players-grid[data-player-count="1"] .home-favorite-player-card {
    width: 260px;
    flex-basis: 260px;
  }

  .home-favorite-players-grid[data-player-count="2"] .home-favorite-player-card {
    width: 210px;
    flex-basis: 210px;
  }

  .home-favorite-players-grid[data-player-count="3"] .home-favorite-player-card {
    width: 170px;
    flex-basis: 170px;
  }

  .home-personalized-layout,
  .home-personalized-layout.no-left-rail,
  .home-personalized-layout.no-right-rail,
  .home-personalized-layout.no-left-rail.no-right-rail {
    grid-template-columns: 1fr;
  }

  .home-personalized-loading-layout {
    grid-template-columns: 1fr;
  }

  .home-personalized-story-grid {
    grid-template-columns: 1fr;
  }

  .home-personalized-loading-story-grid {
    grid-template-columns: 1fr;
  }

  .home-personalized-player-rail {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }

  .home-personalized-loading-rail {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }

  .fantasy-home-slots-grid {
    grid-template-columns: 1fr;
  }

  .home-magazine-story-card.fantasy-home-row-card {
    flex: 0 0 204px;
    min-width: 204px;
    min-height: 130px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 1320px);
    padding-top: 0.5rem;
  }

  .masthead-title {
    font-size: clamp(2.9rem, 15vw, 4.8rem);
  }

  h1 {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .front-strip {
    padding-top: 0.35rem;
  }

  .front-strip-scores {
    width: 100%;
    justify-content: flex-start;
    overflow-x: hidden;
    padding-bottom: 0.15rem;
  }

  .home-player-detail-chip-grid,
  .home-player-detail-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-favorite-player-card {
    width: 108px;
    flex-basis: 108px;
    grid-template-rows: minmax(0, 82px) auto;
  }

  .home-favorite-players-grid[data-player-count="1"] .home-favorite-player-card,
  .home-favorite-players-grid[data-player-count="2"] .home-favorite-player-card {
    width: min(100%, 210px);
    flex-basis: min(100%, 210px);
  }

  .home-favorite-player-card-image-wrap {
    min-height: 82px;
  }

  .home-favorite-player-card-image {
    max-height: 76px;
  }

  .welcome-banner,
  .front-column,
  .lead-story-panel,
  .front-secondary-column,
  .paper-section,
  .sport-hub-card,
  .snapshot-panel,
  .briefing-card,
  .sport-hero,
  .section-intro-card,
  .section-feed-shell {
    padding: 1rem;
    border-radius: 22px;
  }

  .visual-hero-main {
    min-height: 340px;
  }

  .logo-launchpad-compact {
    width: 100%;
  }

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

  .home-blank-space {
    min-height: 760px;
  }

  .home-magazine-grid {
    grid-template-columns: 1fr;
  }

  .home-magazine-story-card {
    flex-basis: 250px;
    min-height: 220px;
  }

  .fantasy-home-slots-section {
    min-height: 360px;
    padding: 0.85rem;
  }

  .fantasy-home-team-builder {
    padding: 0.62rem;
  }

  .fantasy-home-team-builder-saved {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
  }

  .fantasy-home-team-builder-link,
  .fantasy-home-team-card-main {
    min-height: 60px;
    gap: 0.62rem;
    padding: 0.54rem 0.58rem;
  }

  .fantasy-home-team-builder-plus,
  .fantasy-home-team-settings-toggle {
    width: 38px;
    height: 38px;
  }

  .fantasy-home-team-builder-copy strong {
    font-size: 0.98rem;
  }

  .fantasy-home-team-builder-copy em {
    font-size: 0.64rem;
  }

  .fantasy-home-sport-heading {
    align-items: center;
    flex-direction: row;
    gap: 0.34rem;
  }

  .fantasy-home-sport-heading h2 {
    font-size: clamp(0.98rem, 5vw, 1.2rem);
  }

  .fantasy-home-sport-heading a {
    font-size: 0.58rem;
  }

  .fantasy-home-team-heading p {
    font-size: 0.92rem;
  }

  .fantasy-home-sport-heading .fantasy-home-team-settings-toggle {
    width: 38px;
    height: 38px;
  }

  .fantasy-home-row-box {
    gap: 0.28rem;
    padding: 0.5rem;
  }

  .fantasy-home-top-news-row {
    gap: 0.62rem;
    padding: 0.78rem 0.72rem 0.6rem;
  }

  .fantasy-home-top-news-heading {
    align-items: center;
    gap: 0.5rem;
    padding-inline: 0.05rem;
  }

  .fantasy-home-scroll-row {
    padding: 0.04rem 0 0.18rem;
  }

  .home-magazine-story-card.fantasy-home-row-card {
    flex: 0 0 204px;
    min-width: 204px;
    min-height: 148px;
  }

  .fantasy-home-row-card .home-magazine-copy {
    padding: 0.36rem 0.42rem 0.4rem;
  }

  .fantasy-player-database-box {
    padding: 0.58rem;
  }

  .fantasy-player-database-header {
    align-items: center;
  }

  .fantasy-player-database-count {
    min-height: 24px;
    padding: 0.35rem 0.48rem;
    font-size: 0.54rem;
  }

  .fantasy-player-database-controls {
    gap: 0.52rem;
  }

  .fantasy-player-database-sports,
  .fantasy-player-database-search {
    flex: 1 1 100%;
  }

  .fantasy-player-database-search input {
    min-height: 40px;
    font-size: 0.82rem;
  }

  .fantasy-player-database-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.46rem;
  }

  .fantasy-player-database-card {
    grid-template-rows: minmax(104px, 1fr) auto;
  }

  .fantasy-player-database-photo {
    min-height: 104px;
  }

  .fantasy-player-database-card-copy {
    min-height: 54px;
    padding: 0.48rem;
  }

  .fantasy-player-database-detail {
    padding: 0.62rem;
  }

  .fantasy-player-database-chip-grid,
  .fantasy-player-database-detail-meta {
    grid-template-columns: 1fr 1fr;
  }

  .home-top-performers-grid {
    grid-template-columns: 1fr;
  }

  .home-top-performer-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .home-photo-mosaic-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 72px;
    aspect-ratio: auto;
    min-height: 0;
  }

  .photo-layout-1 {
    grid-column: 1 / span 3;
    grid-row: 1 / span 4;
  }

  .photo-layout-2 {
    grid-column: 4 / span 3;
    grid-row: 1 / span 4;
  }

  .photo-layout-3 {
    grid-column: 1 / span 3;
    grid-row: 5 / span 4;
  }

  .photo-layout-4 {
    grid-column: 4 / span 3;
    grid-row: 5 / span 4;
  }

  .photo-layout-5 {
    grid-column: 1 / span 3;
    grid-row: 9 / span 4;
  }

  .photo-layout-6 {
    grid-column: 4 / span 3;
    grid-row: 9 / span 4;
  }

  .photo-layout-7 {
    grid-column: 1 / span 6;
    grid-row: 13 / span 3;
  }

  .photo-layout-8 {
    grid-column: 1 / span 3;
    grid-row: 16 / span 4;
  }

  .photo-layout-9 {
    grid-column: 4 / span 3;
    grid-row: 16 / span 2;
  }

  .photo-layout-10 {
    grid-column: 4 / span 3;
    grid-row: 18 / span 2;
  }

  .julio-form {
    grid-template-columns: 1fr;
  }

  .julio-fantasy-profile-form {
    grid-template-columns: 1fr;
  }

  .julio-tool-form-grid {
    grid-template-columns: 1fr;
  }

  .julio-field-wide {
    grid-column: auto;
  }

  .home-poster {
    min-height: 230px;
  }

  .snapshot-head {
    flex-direction: column;
  }

  .section-cover {
    min-height: 210px;
  }
}
