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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 981px) {
  body[data-page="account"] {
    zoom: 1.111111;
  }
}

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

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

body[data-page="home"] .page-shell {
  isolation: isolate;
  padding-bottom: 1rem;
  position: relative;
}

body[data-page="home"] .page-shell::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background-image: url("home-bandwagon-backdrop.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

body[data-page="home"] .page-shell > * {
  position: relative;
  z-index: 1;
}

body[data-page="home"] {
  --bg: #0d121b;
  --bg-deep: #05070c;
  --bg-fade: #111a27;
  --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(72, 87, 108, 0.32), transparent 28%),
    radial-gradient(circle at top right, rgba(217, 108, 47, 0.12), transparent 22%),
    radial-gradient(circle at 50% 8%, rgba(214, 224, 237, 0.16), transparent 44%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 36%, var(--bg-fade) 68%, #06090f 100%);
  overflow-x: hidden;
  position: relative;
}

body[data-page="home"]::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 14, 0.12), rgba(3, 7, 14, 0.4)),
    radial-gradient(circle at 50% 30%, rgba(210, 220, 235, 0.08), transparent 44%);
}

body[data-page="home"]::after {
  content: none;
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  min-height: 1024px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
  background-image: url("home-bandwagon-backdrop.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: max(1440px, 100vw) auto;
  mix-blend-mode: normal;
}

.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-home {
  padding-inline: clamp(0.75rem, 1.45vw, 1rem);
}

body[data-page="home"] .site-footer-home {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

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

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

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

body[data-page="home"] .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: transparent;
  box-shadow: none;
}

body[data-page="home"] .home-photo-masthead-band::before,
body[data-page="home"] .home-photo-masthead-band::after {
  content: "";
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 22px 22px 0 0;
}

body[data-page="home"] .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));
}

body[data-page="home"] .home-photo-masthead-band::after {
  z-index: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(4, 10, 18, 0.42) 82%, rgba(4, 10, 18, 0.86) 100%),
    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));
}

body[data-page="home"] .home-photo-masthead-band > * {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .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);
}

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

body[data-page="home"] .home-photo-masthead-band .front-strip-sign-in:hover,
body[data-page="home"] .home-photo-masthead-band .front-strip-sign-in:focus-visible {
  color: #ffd9b8;
}

body[data-page="home"] .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);
}

body[data-page="home"] .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);
}

body[data-page="home"] .home-photo-masthead-band .home-magazine-scroll-arrow {
  border-color: rgba(248, 251, 255, 0.34);
  background: rgba(255, 255, 255, 0.9);
}

body[data-page="home"] .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);
}

body[data-page="home"] .home-photo-masthead-band .home-masthead-full-divider {
  display: none;
  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);
  box-shadow: 0 10px 18px rgba(4, 10, 18, 0.42);
}

body[data-page="home"] .home-photo-masthead-band .masthead-title {
  color: #f8fbff;
  -webkit-text-stroke: clamp(1.7px, 0.26vw, 3.1px) rgba(0, 0, 0, 0.76);
  paint-order: stroke fill;
  text-shadow:
    0 5px 18px rgba(3, 10, 20, 0.5),
    0 0 2px rgba(0, 0, 0, 0.82);
}

body[data-page="home"] .home-photo-masthead-band .masthead-byline {
  color: #ffd0a9;
  font-family: "Oswald", "Bebas Neue", sans-serif;
  font-size: clamp(1.14rem, 2vw, 1.72rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.16em;
  -webkit-text-stroke: 1.25px rgba(24, 49, 83, 0.82);
  paint-order: stroke fill;
  text-shadow:
    0 3px 10px rgba(3, 10, 20, 0.42),
    0 0 1px rgba(24, 49, 83, 0.8);
}

.home-about-trigger {
  align-self: center;
  margin-top: -0.25rem;
  min-height: 38px;
  padding: 0.58rem 1.05rem;
  border: 1px solid rgba(255, 208, 169, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 208, 169, 0.98), rgba(240, 139, 50, 0.92));
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    0 12px 24px rgba(3, 10, 20, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.home-about-trigger:hover,
.home-about-trigger:focus-visible {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(255, 221, 192, 1), rgba(245, 156, 70, 0.98));
  box-shadow:
    0 16px 30px rgba(3, 10, 20, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.home-about-is-open {
  overflow: visible;
}

.home-about-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: start center;
  padding: clamp(5rem, 13vh, 8.5rem) 1rem 1rem;
  background:
    radial-gradient(circle at 50% 14%, rgba(240, 139, 50, 0.18), transparent 32%),
    rgba(5, 12, 22, 0.44);
  -webkit-backdrop-filter: blur(10px) saturate(0.9);
  backdrop-filter: blur(10px) saturate(0.9);
  pointer-events: auto;
}

.home-about-modal-backdrop[hidden] {
  display: none;
}

.home-about-modal {
  position: relative;
  width: min(520px, calc(100vw - 2rem));
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid rgba(255, 208, 169, 0.5);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 253, 0.96));
  color: var(--navy);
  box-shadow:
    0 30px 72px rgba(3, 10, 20, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: left;
}

.home-about-eyebrow {
  margin: 0 0 0.38rem;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-about-modal h2 {
  margin: 0 2rem 0.78rem 0;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.35rem);
  letter-spacing: 0.03em;
  line-height: 0.92;
}

.home-about-modal p {
  margin: 0;
  color: rgba(24, 49, 83, 0.86);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.home-about-modal p + p {
  margin-top: 0.72rem;
}

.home-about-features {
  margin-top: 0.95rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(24, 49, 83, 0.1);
  border-radius: 18px;
  background: rgba(246, 249, 255, 0.78);
}

.home-about-features h3 {
  margin: 0 0 0.52rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-about-features ul {
  display: grid;
  gap: 0.32rem;
  margin: 0;
  padding-left: 1.05rem;
  color: rgba(24, 49, 83, 0.84);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.3;
}

.home-about-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(24, 49, 83, 0.16);
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.96);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.home-about-modal-close:hover,
.home-about-modal-close:focus-visible {
  background: var(--accent);
  color: var(--navy);
}

body[data-page="home"] .home-photo-masthead-band .home-masthead-photo-credit {
  display: none;
  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;
  letter-spacing: 0;
  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;
}

body[data-page="home"] .home-photo-masthead-band .home-masthead-photo-credit:hover,
body[data-page="home"] .home-photo-masthead-band .home-masthead-photo-credit:focus-visible {
  color: rgba(255, 217, 184, 0.92);
}

body[data-page="home"] .home-masthead-preview {
  display: grid;
  gap: 0.95rem;
  margin: 1rem 0 1.3rem;
  padding: 0.95rem;
  border: 1px solid rgba(16, 35, 61, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(16, 35, 61, 0.12);
}

body[data-page="home"] .home-masthead-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body[data-page="home"] .home-masthead-preview-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

body[data-page="home"] .home-masthead-preview-head a {
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18rem;
  text-transform: uppercase;
}

body[data-page="home"] .home-masthead-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.85rem;
}

body[data-page="home"] .home-masthead-preview-card {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  color: var(--navy);
  text-decoration: none;
}

body[data-page="home"] .home-masthead-preview-image {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background-color: #10233d;
  background-image: var(--preview-photo);
  background-position: var(--preview-position, center);
  background-repeat: no-repeat;
  background-size: var(--preview-size, cover);
  box-shadow: inset 0 0 0 1px rgba(16, 35, 61, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

body[data-page="home"] .home-masthead-preview-card:hover .home-masthead-preview-image,
body[data-page="home"] .home-masthead-preview-card:focus-visible .home-masthead-preview-image {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(16, 35, 61, 0.18),
    0 12px 22px rgba(16, 35, 61, 0.16);
}

body[data-page="home"] .home-masthead-preview-meta {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

body[data-page="home"] .home-masthead-preview-number,
body[data-page="home"] .home-masthead-preview-credit {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-sans);
  letter-spacing: 0;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="home"] .home-masthead-preview-number {
  color: #c94f2d;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

body[data-page="home"] .home-masthead-preview-credit {
  color: rgba(16, 35, 61, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  body[data-page="home"] .home-masthead-preview-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  body[data-page="home"] .home-masthead-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

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

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

.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: -4%;
  background:
    linear-gradient(180deg, rgba(9, 17, 29, 0.68), rgba(9, 17, 29, 0.48)),
    var(--signin-collage-hero, linear-gradient(135deg, rgba(24, 49, 83, 0.32), rgba(217, 108, 47, 0.2)));
  background-size: cover;
  background-position: 50% 35%;
  filter: blur(20px) saturate(0.9);
  transform: scale(1.06);
  opacity: 0.82;
}

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

.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.04) contrast(1.08);
  transform: scale(1.03);
  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.35rem;
  padding: 0.2rem 0.1rem 0.15rem;
}

.auth-bandwagon-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.02;
}

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

.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-provider-stack-custom,
.auth-card-minimal .auth-feedback {
  width: min(100%, 320px);
  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%;
  justify-content: center;
  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-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: min(100%, 500px);
  min-height: 500px;
  padding: 1.35rem 1.35rem 1.15rem;
  display: grid;
  gap: 0.85rem;
  justify-items: 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-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: 1.08rem;
  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-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-wnba {
  background: linear-gradient(135deg, #0f172a, #f97316);
}

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

body[data-page="home"] .site-header {
  z-index: 900;
  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 {
  overflow: visible;
}

body[data-page="home"] .topbar-home,
body[data-page="home"] .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="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;
}

.topbar-mini-games-menu {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(4, 8, 16, 0.98), rgba(0, 0, 0, 0.98));
  color: #ffffff;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.42);
}

.topbar-mini-games-menu .dropdown-heading {
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.topbar-mini-games-menu .dropdown-heading p,
.topbar-mini-games-menu .dropdown-heading span,
.topbar-mini-games-menu .dropdown-sport-copy strong,
.topbar-mini-games-menu .dropdown-sport-kicker {
  color: #ffffff;
}

.topbar-mini-games-menu .dropdown-sport-link {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.96);
  color: #050910;
}

.topbar-mini-games-menu .dropdown-sport-link .dropdown-sport-copy strong,
.topbar-mini-games-menu .dropdown-sport-link .dropdown-sport-kicker {
  color: #050910;
}

.topbar-mini-games-menu .dropdown-sport-mark {
  background: rgba(232, 112, 39, 0.16);
  color: #050910;
}

.topbar-mini-games-menu .dropdown-sport-link:hover,
.topbar-mini-games-menu .dropdown-sport-link:focus-visible {
  background: #ffffff;
  box-shadow: 0 16px 26px rgba(113, 44, 12, 0.22);
}

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

.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: 0.2rem;
}

.home-page-with-rails {
  --home-side-rail-width: clamp(132px, 18vw, 238px);
  --home-side-rail-offset: 300px;
  --home-side-rail-height: 612px;
  --home-rail-gap: clamp(0.65rem, 1.4vw, 1.4rem);
  --home-moment-art-top: -3.35rem;
  display: grid;
  grid-template-columns:
    minmax(0, var(--home-side-rail-width, 238px))
    minmax(0, 1fr)
    minmax(0, var(--home-side-rail-width, 238px));
  grid-template-areas:
    "watch main betting";
  gap: var(--home-rail-gap);
  align-items: start;
  isolation: isolate;
  position: relative;
  overflow: visible;
  padding-inline: clamp(0.25rem, 1vw, 1rem);
}

.home-page-with-rails::before,
.home-page-with-rails::after {
  display: none;
}

.home-page-with-rails::before {
  content: none;
}

.home-page-with-rails::after {
  content: none;
}

.home-page-with-rails > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 760px) {
  .home-page-with-rails:not(.is-side-rail-ready) > .home-watch-rail,
  .home-page-with-rails:not(.is-side-rail-ready) > .home-betting-rail {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.home-page-main-column {
  grid-area: main;
  display: grid;
  gap: 0.95rem;
  min-width: 0;
}

.home-page-with-rails:has(.home-favorite-player-drawer.is-open) > .home-page-main-column,
.home-page-with-rails:has(.home-favorite-player-drawer-detail:not(.is-hidden)) > .home-page-main-column {
  z-index: 13000;
}

.home-page-with-rails:has(.home-favorite-player-drawer.is-open) > .home-watch-rail,
.home-page-with-rails:has(.home-favorite-player-drawer-detail:not(.is-hidden)) > .home-watch-rail,
.home-page-with-rails:has(.home-favorite-player-drawer.is-open) > .home-betting-rail,
.home-page-with-rails:has(.home-favorite-player-drawer-detail:not(.is-hidden)) > .home-betting-rail {
  z-index: 1;
}

.home-ad-rail {
  display: none;
}

.home-ad-placeholder,
.home-ad-slot-shell {
  display: grid;
  gap: 0.45rem;
  position: sticky;
  top: 1.4rem;
  padding: 1.1rem 0.95rem;
  min-height: 560px;
  border: 1px dashed rgba(24, 49, 83, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 252, 0.92)),
    linear-gradient(135deg, rgba(24, 49, 83, 0.04), rgba(217, 108, 47, 0.05));
  box-shadow: 0 16px 30px rgba(18, 38, 68, 0.08);
  text-align: center;
  align-content: start;
}

.home-ad-placeholder-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-ad-placeholder strong {
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-ad-placeholder p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-adsbygoogle-slot {
  width: 100%;
  min-height: 520px;
  margin-top: 0.75rem;
  border-radius: 18px;
  background: rgba(24, 49, 83, 0.04);
}

.home-betting-rail {
  --home-side-rail-width: 238px;
  --home-side-rail-height: 612px;
  grid-area: betting;
  display: block;
  min-width: 0;
  margin-top: var(--home-side-rail-offset, 0);
  overflow: visible;
  position: relative;
  width: 100%;
}

.home-fantasy-rail {
  --home-side-rail-width: 238px;
  --home-side-rail-height: 612px;
  grid-area: fantasy;
  display: block;
  min-width: 0;
  width: 100%;
}

.home-watch-rail {
  --home-side-rail-width: 238px;
  --home-side-rail-height: 612px;
  grid-area: watch;
  display: block;
  min-width: 0;
  margin-top: var(--home-side-rail-offset, 0);
  overflow: visible;
  position: relative;
  width: 100%;
}

.home-watch-rail::before,
.home-watch-rail::after,
.home-betting-rail::before,
.home-betting-rail::after {
  content: "";
  display: none;
  position: absolute;
  left: 50%;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 16px 24px rgba(18, 38, 68, 0.12));
  opacity: 0.48;
  transform: translateX(-50%);
}

.home-watch-rail::before {
  aspect-ratio: 1 / 1;
  background-image: url("home-rail-art-soccer.png");
  top: -178px;
  width: clamp(126px, 12vw, 170px);
}

.home-watch-rail::after {
  aspect-ratio: 170 / 245;
  background-image: url("home-rail-art-hockey.png");
  bottom: -218px;
  width: clamp(116px, 10vw, 146px);
}

.home-betting-rail::before {
  aspect-ratio: 1 / 1;
  background-image: url("home-rail-art-baseball.png");
  top: -184px;
  width: clamp(134px, 12vw, 174px);
}

.home-betting-rail::after {
  aspect-ratio: 190 / 260;
  background-image: url("home-rail-art-lebron.png");
  bottom: -238px;
  width: clamp(124px, 10vw, 156px);
}

.home-betting-rail-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 0.62rem;
  position: relative;
  z-index: 1;
  min-height: var(--home-side-rail-height);
  height: var(--home-side-rail-height);
  align-content: start;
  min-width: 0;
  overflow: hidden;
  padding: 0.98rem 0.86rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(24, 49, 83, 0.98), rgba(10, 29, 56, 0.98));
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.24);
  color: #f8fbff;
}

.home-betting-rail-header {
  display: grid;
  gap: 0.26rem;
  justify-items: center;
  text-align: center;
}

.home-betting-rail-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  width: 100%;
  min-width: 0;
}

.home-betting-rail-header .panel-label,
.home-betting-parlay-head .panel-label {
  color: #ffd0a9;
}

.home-betting-rail-header .panel-label {
  grid-column: 2;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.home-betting-rail-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 1.74rem);
  letter-spacing: 0;
  line-height: 0.95;
}

.home-betting-rail-header p {
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-betting-history-button {
  grid-column: 3;
  justify-self: start;
  display: inline-grid;
  place-items: center;
  width: 1.58rem;
  height: 1.58rem;
  padding: 0;
  border: 1px solid rgba(255, 177, 110, 0.72);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.94), rgba(255, 247, 238, 0.96) 46%, rgba(255, 220, 184, 0.94) 100%);
  color: var(--accent-strong);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(19, 32, 51, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.home-betting-history-button:hover,
.home-betting-history-button:focus-visible {
  background:
    radial-gradient(circle at 34% 24%, #ffffff, #fff8f0 44%, #ffd7ae 100%);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(217, 108, 47, 0.18);
}

.home-betting-history-button svg {
  width: 0.98rem;
  height: 0.98rem;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-betting-history-book {
  fill: rgba(255, 255, 255, 0.78);
}

.home-betting-history-spine {
  stroke-width: 2.1;
}

.home-betting-history-smile {
  stroke-width: 1.55;
}

.home-betting-rail-list {
  display: grid;
  gap: 0.52rem;
  min-height: 0;
}

.home-betting-sport-card {
  display: block;
  padding: 0.58rem;
  border: 1px solid rgba(217, 108, 47, 0.42);
  border-radius: var(--radius-sm);
  background: rgba(217, 108, 47, 0.15);
  box-shadow: 0 10px 20px rgba(3, 12, 24, 0.12);
}

.home-watch-rail-card {
  display: grid;
  gap: 0.7rem;
  grid-template-rows: auto auto minmax(0, 1fr);
  position: relative;
  z-index: 1;
  min-height: var(--home-side-rail-height);
  height: var(--home-side-rail-height);
  align-content: start;
  padding: 0.86rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(24, 49, 83, 0.98), rgba(10, 29, 56, 0.98));
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.24);
  color: #f8fbff;
}

.home-watch-rail-card.is-detail {
  grid-template-rows: auto minmax(0, 1fr);
}

.home-watch-rail-header {
  display: grid;
  gap: 0.16rem;
  justify-items: center;
  text-align: center;
}

.home-watch-rail-header .panel-label {
  color: #ffd0a9;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.home-watch-rail-header p {
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-watch-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.42rem;
  align-items: center;
  padding: 0.42rem;
  border: 1px solid rgba(217, 108, 47, 0.42);
  border-radius: var(--radius-sm);
  background: rgba(217, 108, 47, 0.15);
}

.home-watch-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 0.64rem;
  font-weight: 850;
  line-height: 1.1;
}

.home-watch-search-input::placeholder {
  color: rgba(255, 208, 169, 0.74);
}

.home-watch-search-button {
  width: 1.62rem;
  height: 1.62rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 208, 169, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
}

.home-watch-search-button:hover,
.home-watch-search-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.home-watch-list {
  display: grid;
  gap: 0.34rem;
  align-content: start;
  min-height: 0;
}

.home-watch-list-label {
  color: rgba(255, 208, 169, 0.9);
  font-size: 0.52rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.home-watch-result-row {
  appearance: none;
  min-width: 0;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  align-content: center;
  min-height: 4.28rem;
  padding: 0.52rem 0.58rem;
  border: 1px solid rgba(217, 108, 47, 0.42);
  border-radius: 8px;
  background: rgba(217, 108, 47, 0.15);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.home-watch-result-row span {
  color: rgba(255, 208, 169, 0.9);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.home-watch-result-row strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
  font-weight: 950;
  letter-spacing: 0.045em;
  line-height: 0.98;
  text-transform: uppercase;
}

.home-watch-result-row em {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: rgba(248, 251, 255, 0.66);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.14;
}

.home-watch-result-row:hover,
.home-watch-result-row:focus-visible {
  border-color: rgba(255, 208, 169, 0.62);
  background: rgba(217, 108, 47, 0.24);
  outline: none;
}

.home-watch-card {
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 0.42rem;
  padding: 0.58rem;
  border: 1px solid rgba(217, 108, 47, 0.42);
  border-radius: var(--radius-sm);
  background: rgba(217, 108, 47, 0.15);
  color: #ffffff;
  font: inherit;
  text-align: left;
}

.home-watch-card-head {
  display: grid;
  gap: 0.12rem;
  justify-items: center;
  text-align: center;
}

.home-watch-card-head strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.home-watch-card-head span {
  color: rgba(255, 208, 169, 0.86);
  font-size: 0.5rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.home-watch-meta {
  display: grid;
  gap: 0.34rem;
  margin: 0;
}

.home-watch-meta div {
  display: grid;
  gap: 0.08rem;
}

.home-watch-meta dt {
  color: rgba(255, 208, 169, 0.9);
  font-size: 0.5rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-watch-meta dd {
  margin: 0;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 850;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.home-watch-card p {
  margin: 0;
  padding-top: 0.34rem;
  border-top: 1px solid rgba(248, 251, 255, 0.1);
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.58rem;
  font-weight: 780;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.home-watch-detail {
  display: grid;
  min-height: 0;
  height: 100%;
  gap: 0.58rem;
  grid-template-rows: auto minmax(0, 1fr);
}

.home-watch-detail-header {
  grid-template-columns: auto minmax(0, 1fr);
}

.home-watch-detail-card {
  min-height: 0;
  height: 100%;
  align-content: stretch;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 0.62rem;
}

.home-watch-current-info {
  display: grid;
  gap: 0.5rem;
  padding: 0.58rem;
  border: 1px solid rgba(255, 208, 169, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.home-watch-current-info > div:first-child {
  display: grid;
  gap: 0.12rem;
  justify-items: center;
  text-align: center;
}

.home-watch-current-label {
  color: rgba(255, 208, 169, 0.9);
  font-size: 0.5rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.home-watch-current-info strong {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.home-watch-current-meta {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.home-watch-current-meta div {
  justify-items: center;
}

.home-watch-detail-main {
  display: grid;
  align-content: stretch;
  gap: 0.58rem;
  height: 100%;
  min-height: 0;
}

.home-watch-lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  align-items: stretch;
  gap: 0.34rem;
  height: 100%;
  min-height: 0;
}

.home-watch-team-card {
  display: grid;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: 0.38rem;
  border: 1px solid color-mix(in srgb, var(--watch-team-accent, #d96c2f) 58%, rgba(255, 255, 255, 0.22));
  border-radius: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--watch-team-accent, #d96c2f) 22%, transparent), rgba(255, 255, 255, 0.06));
}

.home-watch-lineup-card span {
  color: rgba(255, 208, 169, 0.88);
  font-size: 0.46rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.home-watch-lineup-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: stretch;
  gap: 0.2rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.home-watch-lineup-card strong {
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1;
}

.home-watch-lineup-card p,
.home-watch-lineup-card ul,
.home-watch-lineup-card ol {
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.2;
}

.home-watch-lineup-card ul,
.home-watch-lineup-card ol {
  display: grid;
  align-content: stretch;
  gap: clamp(0.04rem, 0.42vh, 0.18rem);
  padding: 0;
  list-style: none;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.home-watch-lineup-player-list li {
  display: grid;
  grid-template-columns: 0.9rem minmax(0, 1fr) minmax(1.15rem, auto);
  align-items: center;
  gap: 0.16rem;
  min-height: 0;
  padding: clamp(0.105rem, 0.48vh, 0.26rem) 0;
  border-top: 1px solid rgba(248, 251, 255, 0.1);
}

.home-watch-lineup-player-list li:first-child {
  border-top: 0;
}

.home-watch-lineup-player-list.is-placeholder li {
  color: rgba(248, 251, 255, 0.58);
}

.home-watch-lineup-player-list.is-placeholder strong {
  color: rgba(248, 251, 255, 0.7);
}

.home-watch-lineup-player-list span {
  width: 0.76rem;
  height: 0.76rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 208, 169, 0.3);
  border-radius: 999px;
  color: rgba(255, 208, 169, 0.92);
  font-size: 0.42rem;
}

.home-watch-lineup-player-list strong {
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.5rem;
  line-height: 0.98;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-watch-lineup-player-list em {
  color: rgba(248, 251, 255, 0.58);
  font-size: 0.44rem;
  font-style: normal;
  font-weight: 950;
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-watch-lineup-card b {
  color: rgba(255, 208, 169, 0.9);
  font-weight: 950;
}

.home-watch-detail-foot {
  display: grid;
  gap: 0.62rem;
  align-self: end;
}

.home-watch-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.82rem;
  padding: 0.42rem 0.52rem;
  border: 1px solid rgba(255, 208, 169, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.home-watch-detail-link:hover,
.home-watch-detail-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.home-betting-rail-card,
.home-watch-rail-card {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(24, 49, 83, 0.72), rgba(24, 49, 83, 0.56));
  box-shadow: 0 20px 48px rgba(24, 34, 52, 0.12);
  color: var(--ink);
}

.home-betting-rail-header .panel-label,
.home-betting-parlay-head .panel-label,
.home-watch-rail-header .panel-label,
.home-betting-detail-header .panel-label,
.home-watch-current-label,
.home-watch-lineup-card span,
.home-watch-result-row span,
.home-watch-card-head span,
.home-watch-meta dt,
.home-betting-sport-head span,
.home-betting-pick span,
.home-betting-pick-summary span,
.home-betting-parlay-head p,
.home-betting-parlay-list span,
.home-betting-reason-toggle {
  color: var(--accent-strong);
}

.home-betting-rail-header h2,
.home-betting-sport-head strong,
.home-betting-pick strong,
.home-betting-pick-summary strong,
.home-betting-parlay-head strong,
.home-betting-parlay-list strong,
.home-watch-rail-header p,
.home-watch-result-row strong,
.home-watch-card-head strong,
.home-watch-current-info strong,
.home-watch-lineup-card strong,
.home-watch-lineup-player-list strong,
.home-watch-meta dd {
  color: var(--ink);
}

.home-betting-rail-header p,
.home-betting-detail-header p,
.home-betting-pick em,
.home-betting-pick-summary em,
.home-betting-pick-reason,
.home-betting-parlay-list em,
.home-betting-parlay-empty,
.home-watch-result-row em,
.home-watch-current-meta dd,
.home-watch-lineup-card p,
.home-watch-lineup-card ul,
.home-watch-lineup-card ol,
.home-watch-lineup-player-list em,
.home-watch-card p {
  color: var(--muted);
}

.home-betting-sport-card,
.home-betting-pick,
.home-betting-parlay-card,
.home-watch-search,
.home-watch-result-row,
.home-watch-card,
.home-watch-current-info,
.home-watch-team-card,
.home-betting-empty-state {
  border: 1px solid rgba(24, 49, 83, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.98));
  box-shadow: 0 12px 28px rgba(19, 32, 51, 0.05);
  color: var(--ink);
}

.home-betting-sport-button:hover,
.home-betting-sport-button:focus-visible,
.home-watch-result-row:hover,
.home-watch-result-row:focus-visible,
.home-betting-pick:hover,
.home-betting-pick:focus-within {
  border-color: rgba(24, 49, 83, 0.22);
  background: #ffffff;
}

.home-watch-search-input {
  color: var(--ink);
}

.home-watch-search-input::placeholder {
  color: rgba(97, 113, 135, 0.82);
}

.home-watch-search-button,
.home-betting-back-button,
.home-betting-sports-page-arrow,
.home-betting-more-sports-tab,
.home-watch-detail-link {
  border-color: rgba(24, 49, 83, 0.14);
  background: var(--surface-tint);
  color: var(--navy);
  box-shadow: 0 10px 20px rgba(19, 32, 51, 0.06);
}

.home-watch-search-button:hover,
.home-watch-search-button:focus-visible,
.home-betting-back-button:hover,
.home-betting-back-button:focus-visible,
.home-betting-sports-page-arrow:hover,
.home-betting-sports-page-arrow:focus-visible,
.home-betting-more-sports-tab:hover,
.home-betting-more-sports-tab:focus-visible,
.home-watch-detail-link:hover,
.home-watch-detail-link:focus-visible {
  border-color: rgba(24, 49, 83, 0.24);
  background: #ffffff;
  color: var(--navy);
}

.home-betting-sport-head::after,
.home-betting-parlay-head::after,
.home-betting-reason-toggle::after {
  border-color: rgba(24, 49, 83, 0.18);
  color: var(--accent-strong);
}

.home-betting-sport-card[open] .home-betting-sport-head::after,
.home-betting-parlay-card[open] .home-betting-parlay-head::after,
.home-betting-reason-toggle[aria-expanded="true"]::after {
  border-color: rgba(24, 49, 83, 0.26);
  background: var(--navy-soft);
  color: var(--navy);
}

.home-betting-parlay-list li::before,
.home-watch-lineup-player-list span {
  border-color: rgba(24, 49, 83, 0.14);
  background: #ffffff;
  color: var(--navy);
}

.home-betting-sport-button {
  appearance: none;
  width: 100%;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.home-betting-sport-button:hover,
.home-betting-sport-button:focus-visible {
  border-color: rgba(255, 208, 169, 0.62);
  background: rgba(217, 108, 47, 0.22);
  outline: none;
}

.home-betting-sport-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  min-height: 1.18rem;
  padding: 0 1.45rem;
}

.home-betting-sport-head::-webkit-details-marker,
.home-betting-parlay-head::-webkit-details-marker {
  display: none;
}

.home-betting-sport-head::after,
.home-betting-parlay-head::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 208, 169, 0.34);
  border-radius: 999px;
  color: #ffd0a9;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.home-betting-sport-card[open] .home-betting-sport-head::after,
.home-betting-parlay-card[open] .home-betting-parlay-head::after {
  content: "-";
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: rotate(180deg);
}

.home-betting-sport-button .home-betting-sport-head::after {
  display: none;
}

.home-betting-sport-button .home-betting-sport-head {
  padding: 0;
}

.home-betting-parlay-card .home-betting-parlay-head::after {
  display: none;
}

.home-betting-more-sports-card {
  width: 100%;
  display: grid;
  grid-template-rows: 0fr auto;
  justify-items: stretch;
  margin-top: -0.04rem;
  transition: grid-template-rows 260ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.home-betting-more-sports-card.is-open {
  grid-template-rows: 1fr auto;
}

.home-betting-more-sports-panel {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-0.42rem);
  transition:
    opacity 180ms ease,
    transform 260ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.home-betting-more-sports-card.is-open .home-betting-more-sports-panel {
  opacity: 1;
  transform: translateY(0);
}

.home-betting-more-sports-tab {
  appearance: none;
  width: 3.1rem;
  height: 1.24rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 208, 169, 0.5);
  border-radius: 0 0 999px 999px;
  background: linear-gradient(180deg, #e57931, #c8581f);
  box-shadow:
    0 10px 18px rgba(4, 13, 28, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
  justify-self: center;
  list-style: none;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 260ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.home-betting-more-sports-tab:hover,
.home-betting-more-sports-tab:focus-visible {
  background: linear-gradient(180deg, #ee8541, #d56127);
  box-shadow:
    0 12px 22px rgba(4, 13, 28, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.home-betting-more-sports-tab:focus-visible {
  outline: 2px solid rgba(255, 208, 169, 0.7);
  outline-offset: 3px;
}

.home-betting-more-sports-tab span {
  width: 0.44rem;
  height: 0.44rem;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 180ms ease;
}

.home-betting-more-sports-card.is-open .home-betting-more-sports-tab span {
  transform: rotate(225deg) translate(-1px, -1px);
}

.home-betting-more-sports-list {
  width: 100%;
  display: grid;
  gap: 0.38rem;
  padding: 0.08rem 0 0.56rem;
}

.home-betting-sports-pager {
  display: grid;
  gap: 0.42rem;
}

.home-betting-sports-page-frame {
  position: relative;
  overflow: hidden;
}

.home-betting-sports-page-grid {
  display: grid;
  gap: 0.42rem;
}

.home-betting-sports-page-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
}

.home-betting-sports-page-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
}

.home-betting-sports-page-tab {
  appearance: none;
  width: 0.48rem;
  height: 0.48rem;
  padding: 0;
  border: 1px solid rgba(255, 208, 169, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.home-betting-sports-page-tab.is-active {
  width: 1rem;
  background: rgba(217, 108, 47, 0.78);
}

.home-betting-sports-page-tab:hover,
.home-betting-sports-page-tab:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(217, 108, 47, 0.48);
  outline: none;
}

.home-betting-sports-page-arrow {
  width: 1.82rem;
  height: 1.82rem;
  min-height: 1.82rem;
  border-color: rgba(217, 108, 47, 0.42);
  background: rgba(217, 108, 47, 0.15);
  color: #ffffff;
}

.home-betting-sports-page-arrow:hover,
.home-betting-sports-page-arrow:focus-visible {
  border-color: rgba(255, 208, 169, 0.62);
  background: rgba(217, 108, 47, 0.24);
  color: #ffffff;
}

.home-betting-sport-head strong {
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-betting-sport-head span {
  flex: 0 0 auto;
  color: rgba(255, 208, 169, 0.86);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-betting-pick-list,
.home-betting-parlay-list {
  min-width: 0;
  display: grid;
  gap: 0.56rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-betting-sport-card .home-betting-pick-list,
.home-betting-parlay-card .home-betting-parlay-list {
  margin-top: 0.48rem;
}

.home-betting-accordion-panel,
.home-betting-pick-panel {
  overflow: hidden;
}

.home-betting-pick {
  min-width: 0;
  max-width: 100%;
  display: block;
  overflow: hidden;
  padding: 0.45rem;
  border: 1px solid rgba(217, 108, 47, 0.42);
  border-radius: 10px;
  background: rgba(217, 108, 47, 0.15);
}

.home-betting-pick-detail {
  display: block;
}

.home-betting-pick-summary {
  display: grid;
  gap: 0.12rem;
  cursor: pointer;
  list-style: none;
}

.home-betting-pick-summary::-webkit-details-marker {
  display: none;
}

.home-betting-pick span,
.home-betting-pick-summary span {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: rgba(255, 208, 169, 0.9);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.08;
  text-transform: uppercase;
}

.home-betting-pick strong,
.home-betting-pick-summary strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.12;
}

.home-betting-pick em,
.home-betting-pick-summary em {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: rgba(248, 251, 255, 0.67);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.15;
  white-space: normal;
}

.home-betting-pick-reason {
  max-width: 100%;
  margin: 0.4rem 0 0;
  padding-top: 0.38rem;
  border-top: 1px solid rgba(248, 251, 255, 0.11);
  color: rgba(248, 251, 255, 0.78);
  font-size: 0.62rem;
  font-weight: 760;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.home-betting-reason-toggle {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.42rem;
  padding: 0.32rem 0 0;
  border: 0;
  border-top: 1px solid rgba(248, 251, 255, 0.1);
  background: transparent;
  color: rgba(255, 208, 169, 0.9);
  cursor: pointer;
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.home-betting-reason-toggle::after {
  content: "+";
  width: 1rem;
  height: 1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 208, 169, 0.32);
  border-radius: 999px;
  color: #ffd0a9;
  font-size: 0.64rem;
  line-height: 1;
}

.home-betting-reason-toggle[aria-expanded="true"]::after {
  content: "-";
  border-color: rgba(255, 255, 255, 0.54);
  color: #ffffff;
}

.home-betting-reason-toggle:hover,
.home-betting-reason-toggle:focus-visible {
  color: #ffffff;
  outline: none;
}

.home-betting-rail-card-detail {
  grid-template-rows: auto auto;
  gap: 0.72rem;
  align-content: start;
  height: auto;
  min-height: var(--home-side-rail-height);
  overflow: visible;
}

.home-betting-detail-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.56rem;
  align-items: center;
}

.home-betting-back-button {
  width: 1.95rem;
  height: 1.95rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 208, 169, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
}

.home-betting-back-button:hover,
.home-betting-back-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.home-betting-detail-header .panel-label {
  color: #ffd0a9;
}

.home-betting-detail-header p {
  margin: 0.12rem 0 0;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-betting-pick-list-detail {
  gap: 0.34rem;
  overflow: visible;
}

.home-betting-pick-static {
  padding: 0.54rem;
  flex: 0 0 auto;
}

.home-betting-parlays {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
  gap: 0.28rem;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.home-betting-parlay-page-frame {
  display: grid;
  min-height: 0;
  overflow: hidden;
}

.home-betting-parlay-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: 0.62rem 0.58rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(238, 243, 248, 0.98), rgba(226, 234, 243, 0.96));
}

.home-betting-parlay-card-muted {
  background: linear-gradient(180deg, rgba(238, 243, 248, 0.94), rgba(226, 234, 243, 0.92));
  border-color: rgba(24, 49, 83, 0.1);
}

.home-betting-parlay-head {
  position: relative;
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-height: 1.18rem;
  padding: 0;
  cursor: default;
  list-style: none;
  text-align: center;
}

.home-betting-parlay-head strong {
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.home-betting-parlay-head p {
  margin: 0;
  color: rgba(255, 208, 169, 0.82);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.12;
  text-transform: uppercase;
}

.home-betting-parlay-card .home-betting-parlay-head p {
  color: var(--muted);
}

.home-betting-parlay-list {
  display: grid;
  align-content: space-evenly;
  counter-reset: julio-parlay;
  gap: 0.3rem;
  min-height: 0;
  height: 100%;
  padding-top: 0.42rem;
  overflow: hidden;
}

.home-betting-parlay-list li {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
  counter-increment: julio-parlay;
  align-content: center;
  padding-left: 1rem;
  position: relative;
}

.home-betting-parlay-list li::before {
  content: counter(julio-parlay);
  position: absolute;
  left: 0;
  top: 0.02rem;
  width: 0.82rem;
  height: 0.82rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.48rem;
  font-weight: 950;
  line-height: 1;
}

.home-betting-parlay-list span {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: rgba(255, 208, 169, 0.9);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.08;
  text-transform: uppercase;
}

.home-betting-parlay-list strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.12;
}

.home-betting-parlay-list em {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: rgba(248, 251, 255, 0.66);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.16;
}

.home-betting-parlay-empty {
  margin: 0;
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.25;
}

.home-betting-loading {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 0.7rem;
  border: 1px dashed rgba(217, 108, 47, 0.42);
  border-radius: var(--radius-sm);
  background: rgba(217, 108, 47, 0.12);
  color: rgba(248, 251, 255, 0.74);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.home-betting-empty-state {
  display: grid;
  gap: 0.2rem;
  min-height: 86px;
  align-content: center;
  padding: 0.68rem;
  border: 1px solid rgba(217, 108, 47, 0.42);
  border-radius: var(--radius-sm);
  background: rgba(217, 108, 47, 0.15);
}

.home-betting-empty-state strong {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.1;
}

.home-betting-empty-state span {
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.62rem;
  font-weight: 760;
  line-height: 1.25;
}

.home-betting-rail-note {
  margin: 0;
  color: rgba(248, 251, 255, 0.62);
  font-size: 0.64rem;
  font-weight: 750;
  line-height: 1.35;
}

body.home-betting-history-is-open {
  overflow: hidden;
}

.home-betting-history-backdrop {
  position: fixed;
  inset: 0;
  z-index: 22000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.5vw, 2rem);
  background: rgba(3, 7, 15, 0.62);
  backdrop-filter: blur(12px);
}

.home-betting-history-card {
  position: relative;
  width: min(94vw, 860px);
  max-height: min(88vh, 720px);
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  gap: 0.9rem;
  overflow: hidden;
  padding: clamp(1.1rem, 2.4vw, 1.55rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(217, 108, 47, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(8, 18, 34, 0.98), rgba(2, 6, 13, 0.98));
  color: #f8fbff;
  box-shadow: 0 34px 72px rgba(0, 0, 0, 0.48);
}

.home-betting-history-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  z-index: 2;
  width: 2.05rem;
  height: 2.05rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font: inherit;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.home-betting-history-header {
  display: grid;
  gap: 0.22rem;
  padding-right: 2.5rem;
  text-align: left;
}

.home-betting-history-header span {
  color: #ffb06f;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-betting-history-header h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.55rem);
  letter-spacing: 0.08em;
  line-height: 0.9;
  text-transform: uppercase;
}

.home-betting-history-header p {
  max-width: 42rem;
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.35;
}

.home-betting-history-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
}

.home-betting-history-stats span {
  display: grid;
  gap: 0.12rem;
  justify-items: center;
  padding: 0.7rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.home-betting-history-stats strong {
  color: #ffffff;
  font-size: 1.24rem;
  font-weight: 950;
  line-height: 1;
}

.home-betting-history-stats small {
  color: rgba(255, 176, 111, 0.86);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-betting-history-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.home-betting-history-filter {
  min-height: 2.05rem;
  padding: 0.48rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(248, 251, 255, 0.76);
  font: inherit;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-betting-history-filter:hover,
.home-betting-history-filter:focus-visible {
  border-color: rgba(255, 176, 111, 0.42);
  background: rgba(255, 176, 111, 0.16);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.home-betting-history-filter.is-active {
  border-color: rgba(255, 176, 111, 0.7);
  background: linear-gradient(135deg, #ff8f3f, #d96c2f);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(217, 108, 47, 0.22);
}

.home-betting-history-note {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.58rem 0.74rem;
  border: 1px solid rgba(255, 176, 111, 0.22);
  border-radius: 16px;
  background: rgba(217, 108, 47, 0.12);
  color: rgba(248, 251, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
}

.home-betting-history-note strong {
  color: #ffb06f;
  white-space: nowrap;
}

.home-betting-history-list {
  min-height: 0;
  display: grid;
  gap: 0.52rem;
  overflow: auto;
  padding-right: 0.18rem;
}

.home-betting-history-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.68rem;
  align-items: start;
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.home-betting-history-entry[hidden] {
  display: none;
}

.home-betting-history-result {
  display: grid;
  place-items: center;
  width: 2.18rem;
  height: 2.18rem;
  border-radius: 999px;
  background: rgba(24, 49, 83, 0.08);
  color: var(--muted);
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1;
}

.home-betting-history-entry.is-hit .home-betting-history-result {
  background: rgba(21, 128, 61, 0.12);
  color: #15803d;
}

.home-betting-history-entry.is-miss .home-betting-history-result {
  background: rgba(185, 28, 28, 0.12);
  color: #b91c1c;
}

.home-betting-history-entry.is-push .home-betting-history-result {
  background: rgba(217, 108, 47, 0.12);
  color: var(--accent-strong);
}

.home-betting-history-entry-main {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.home-betting-history-entry-top {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  color: var(--accent-strong);
  font-size: 0.6rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1.15;
  text-transform: uppercase;
}

.home-betting-history-entry strong {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.1;
}

.home-betting-history-entry em {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.home-betting-history-entry p {
  display: -webkit-box;
  margin: 0.1rem 0 0;
  overflow: hidden;
  color: rgba(24, 49, 83, 0.68);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-betting-history-empty {
  display: grid;
  gap: 0.2rem;
  place-items: center;
  min-height: 11rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: rgba(248, 251, 255, 0.72);
  text-align: center;
}

.home-betting-history-empty strong {
  color: #ffffff;
  font-size: 1rem;
}

.home-betting-history-filter-empty[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .home-betting-history-card {
    width: min(96vw, 860px);
    max-height: 90vh;
    border-radius: 22px;
  }

  .home-betting-history-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-betting-history-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-betting-history-entry-top {
    flex-direction: column;
    gap: 0.14rem;
  }
}

.home-betting-rail-card,
.home-watch-rail-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.home-betting-sport-card,
.home-betting-pick,
.home-betting-parlay-card,
.home-betting-parlay-card-muted,
.home-betting-empty-state,
.home-watch-search,
.home-watch-result-row,
.home-watch-card,
.home-watch-current-info,
.home-watch-team-card {
  border: 1px solid rgba(24, 49, 83, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.98));
  box-shadow: 0 12px 28px rgba(19, 32, 51, 0.05);
  color: var(--ink);
}

.home-betting-rail-header .panel-label,
.home-betting-parlay-head .panel-label,
.home-betting-detail-header .panel-label,
.home-betting-sport-head span,
.home-betting-pick span,
.home-betting-pick-summary span,
.home-betting-parlay-head p,
.home-betting-parlay-list span,
.home-betting-reason-toggle,
.home-watch-rail-header .panel-label,
.home-watch-current-label,
.home-watch-lineup-card span,
.home-watch-result-row span,
.home-watch-card-head span,
.home-watch-meta dt {
  color: var(--accent-strong);
}

.home-betting-rail-header h2,
.home-betting-sport-head strong,
.home-betting-pick strong,
.home-betting-pick-summary strong,
.home-betting-parlay-head strong,
.home-betting-parlay-list strong,
.home-betting-empty-state strong,
.home-watch-result-row strong,
.home-watch-card-head strong,
.home-watch-current-info strong,
.home-watch-lineup-card strong,
.home-watch-lineup-player-list strong,
.home-watch-meta dd {
  color: var(--ink);
}

.home-betting-rail-header p,
.home-betting-detail-header p,
.home-betting-pick em,
.home-betting-pick-summary em,
.home-betting-pick-reason,
.home-betting-parlay-list em,
.home-betting-parlay-empty,
.home-betting-empty-state span,
.home-betting-rail-note,
.home-watch-rail-header p,
.home-watch-result-row em,
.home-watch-lineup-card p,
.home-watch-lineup-card ul,
.home-watch-lineup-card ol,
.home-watch-lineup-player-list em,
.home-watch-card p {
  color: var(--muted);
}

.home-watch-detail-header p,
.home-betting-rail-card-detail .home-betting-detail-header p {
  color: #ffffff;
}

.home-watch-search-button,
.home-betting-back-button,
.home-betting-sports-page-arrow,
.home-betting-more-sports-tab,
.home-watch-detail-link {
  border-color: rgba(24, 49, 83, 0.14);
  background: var(--surface-tint);
  color: var(--navy);
  box-shadow: 0 10px 20px rgba(19, 32, 51, 0.06);
}

.home-watch-search-button:hover,
.home-watch-search-button:focus-visible,
.home-betting-back-button:hover,
.home-betting-back-button:focus-visible,
.home-betting-sports-page-arrow:hover,
.home-betting-sports-page-arrow:focus-visible,
.home-betting-more-sports-tab:hover,
.home-betting-more-sports-tab:focus-visible,
.home-watch-detail-link:hover,
.home-watch-detail-link:focus-visible,
.home-betting-sport-button:hover,
.home-betting-sport-button:focus-visible,
.home-watch-result-row:hover,
.home-watch-result-row:focus-visible {
  border-color: rgba(24, 49, 83, 0.24);
  background: #ffffff;
  color: var(--navy);
}

.home-betting-sport-head::after,
.home-betting-parlay-head::after,
.home-betting-reason-toggle::after {
  border-color: rgba(24, 49, 83, 0.18);
  color: var(--accent-strong);
}

.home-betting-sport-card[open] .home-betting-sport-head::after,
.home-betting-parlay-card[open] .home-betting-parlay-head::after,
.home-betting-reason-toggle[aria-expanded="true"]::after {
  border-color: rgba(24, 49, 83, 0.26);
  background: var(--navy-soft);
  color: var(--navy);
}

.home-betting-parlay-list li::before,
.home-watch-lineup-player-list span {
  border-color: rgba(24, 49, 83, 0.14);
  background: #ffffff;
  color: var(--navy);
}

.home-watch-search-input {
  color: var(--ink);
}

.home-watch-search-input::placeholder {
  color: rgba(97, 113, 135, 0.82);
}

.home-betting-rail-card .home-betting-parlay-card .home-betting-parlay-head p {
  color: var(--muted);
}

.home-betting-rail-card,
.home-watch-rail-card {
  font-size: 1rem;
}

.home-fantasy-rail-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: 0.82rem;
  min-width: 0;
  min-height: var(--home-side-rail-height);
  height: var(--home-side-rail-height);
  padding: 0.98rem 0.86rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(24, 49, 83, 0.98), rgba(10, 29, 56, 0.98));
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.24);
  color: #f8fbff;
}

.home-fantasy-rail-header {
  display: grid;
  gap: 0.22rem;
  justify-items: center;
  text-align: center;
}

.home-fantasy-rail-header .panel-label {
  color: var(--accent-strong);
  font-size: 0.92rem;
}

.home-fantasy-rail-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 0.98;
}

.home-fantasy-rail-header p:last-child {
  margin: 0;
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.16;
  text-transform: uppercase;
}

.home-fantasy-sport-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.24rem;
}

.home-fantasy-sport-tab {
  appearance: none;
  min-width: 0;
  min-height: 1.48rem;
  padding: 0.22rem 0.1rem;
  border: 1px solid rgba(255, 208, 169, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 251, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 0.54rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
}

.home-fantasy-sport-tab.is-active,
.home-fantasy-sport-tab:hover,
.home-fantasy-sport-tab:focus-visible {
  border-color: rgba(255, 208, 169, 0.58);
  background: rgba(217, 108, 47, 0.24);
  color: #ffffff;
  outline: none;
}

.home-fantasy-search,
.home-fantasy-team-form {
  display: grid;
  gap: 0.38rem;
}

.home-fantasy-search {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 0.42rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.98));
}

.home-fantasy-search-input,
.home-fantasy-team-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.1;
}

.home-fantasy-search-input::placeholder,
.home-fantasy-team-input::placeholder {
  color: rgba(97, 113, 135, 0.82);
}

.home-fantasy-search-button,
.home-fantasy-team-button {
  appearance: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: var(--surface-tint);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(19, 32, 51, 0.06);
}

.home-fantasy-search-button {
  width: 1.62rem;
  height: 1.62rem;
  font-size: 0.92rem;
  line-height: 1;
}

.home-fantasy-panel,
.home-fantasy-player-card,
.home-fantasy-team-card,
.home-fantasy-empty {
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.98));
  box-shadow: 0 12px 28px rgba(19, 32, 51, 0.05);
  color: var(--ink);
}

.home-fantasy-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: 0.46rem;
  padding: 0.58rem;
  min-height: 0;
}

.home-fantasy-panel:last-child {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.home-fantasy-custom-panel {
  gap: 0.72rem;
  padding: 0.78rem;
}

.home-fantasy-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.home-fantasy-panel-head strong,
.home-fantasy-player-card strong,
.home-fantasy-team-card strong,
.home-fantasy-empty strong {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1.08;
}

.home-fantasy-panel-head span,
.home-fantasy-player-card span,
.home-fantasy-team-card span {
  color: var(--accent-strong);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-fantasy-player-list,
.home-fantasy-team-list {
  display: grid;
  align-content: stretch;
  gap: 0.62rem;
  min-height: 0;
}

.home-fantasy-player-card,
.home-fantasy-team-card,
.home-fantasy-empty {
  display: grid;
  gap: 0.14rem;
  align-content: center;
  padding: 0.7rem;
}

.home-fantasy-team-card em,
.home-fantasy-empty span {
  color: var(--muted);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 780;
  line-height: 1.18;
}

.home-fantasy-team-form {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.52rem;
}

.home-fantasy-team-input {
  min-height: 2.18rem;
  padding: 0.54rem 0.68rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
}

.home-fantasy-team-button {
  min-height: 2.18rem;
  padding: 0.54rem 0.68rem;
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.home-fantasy-open-customizer {
  width: 100%;
  margin-top: auto;
}

.home-fantasy-modal-is-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.home-fantasy-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  background: rgba(8, 17, 31, 0.58);
  backdrop-filter: blur(12px);
  overscroll-behavior: none;
}

.home-fantasy-modal {
  position: relative;
  width: min(94vw, 980px);
  min-height: min(88vh, 820px);
  max-height: 92vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(24, 49, 83, 0.98), rgba(10, 29, 56, 0.99));
  box-shadow: 0 36px 90px rgba(4, 12, 26, 0.48);
  color: #f8fbff;
}

.home-fantasy-modal-embedded {
  grid-template-rows: auto minmax(0, 1fr);
}

.home-fantasy-modal-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #ffffff;
  overflow: hidden;
}

.home-fantasy-modal-close {
  position: absolute;
  top: 0.92rem;
  right: 0.92rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.home-fantasy-modal-header {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  padding: 1.35rem 3.2rem 0.9rem;
  text-align: center;
}

.home-fantasy-modal-header .panel-label {
  color: var(--accent-strong);
  font-size: 0.92rem;
}

.home-fantasy-modal-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.95;
}

.home-fantasy-modal-header p {
  margin: 0;
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-fantasy-modal-progress {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.34rem;
  margin-top: 0.34rem;
}

.home-fantasy-modal-progress span {
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.home-fantasy-modal-progress span.is-active {
  background: linear-gradient(90deg, #d96c2f, #ffd0a9);
}

.home-fantasy-modal-form {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 0 1.2rem 1.2rem;
}

.home-fantasy-modal-step {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 0.9rem;
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 255, 0.98));
  color: var(--ink);
}

.home-fantasy-modal-step h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
}

.home-fantasy-modal-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

.home-fantasy-modal-field {
  display: grid;
  gap: 0.34rem;
}

.home-fantasy-modal-field span,
.home-fantasy-modal-fieldset legend {
  color: var(--accent-strong);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-fantasy-modal-field input,
.home-fantasy-modal-field select {
  width: 100%;
  min-height: 2.45rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 820;
  padding: 0.55rem 0.8rem;
  outline: 0;
}

.home-fantasy-modal-sport-grid,
.home-fantasy-modal-fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.58rem;
}

.home-fantasy-modal-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.home-fantasy-modal-fieldset legend {
  grid-column: 1 / -1;
  margin-bottom: 0.1rem;
}

.home-fantasy-modal-choice,
.home-fantasy-modal-check {
  display: grid;
}

.home-fantasy-modal-choice input,
.home-fantasy-modal-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.home-fantasy-modal-choice span,
.home-fantasy-modal-check span {
  min-height: 2.35rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.home-fantasy-modal-choice input:checked + span,
.home-fantasy-modal-check input:checked + span {
  border-color: rgba(217, 108, 47, 0.42);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.home-fantasy-modal-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.home-fantasy-modal-review {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 20px;
  background: rgba(24, 49, 83, 0.05);
}

.home-fantasy-modal-review strong {
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1;
}

.home-fantasy-modal-review span,
.home-fantasy-modal-review p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.35;
}

.home-fantasy-modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.home-fantasy-modal-primary,
.home-fantasy-modal-secondary {
  min-height: 2.5rem;
  padding: 0.62rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-fantasy-modal-primary {
  margin-left: auto;
  background: #ffffff;
  color: var(--navy);
}

.home-fantasy-modal-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.home-fantasy-modal-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

@media (max-width: 980px) {
  .home-fantasy-modal-backdrop {
    padding: 0.45rem;
  }

  .home-fantasy-modal {
    width: min(98vw, 980px);
    min-height: min(96vh, 820px);
    max-height: 96vh;
    border-radius: 22px;
  }

  .home-fantasy-modal-header {
    gap: 0.18rem;
    padding: 0.82rem 2.8rem 0.54rem;
  }

  .home-fantasy-modal-header h2 {
    font-size: clamp(1.45rem, 5vw, 2.25rem);
  }

  .home-fantasy-modal-header p {
    font-size: 0.62rem;
  }
}

.home-betting-rail-header .panel-label,
.home-watch-rail-header .panel-label {
  font-size: 0.92rem;
}

.home-betting-rail-header p,
.home-watch-rail-header p {
  font-size: 0.76rem;
  line-height: 1.16;
}

.home-betting-sport-head strong {
  font-size: 1.18rem;
}

.home-betting-sport-head span,
.home-betting-pick span,
.home-betting-pick-summary span,
.home-betting-parlay-head p,
.home-betting-parlay-list span,
.home-watch-list-label,
.home-watch-result-row span,
.home-watch-card-head span,
.home-watch-meta dt,
.home-watch-current-label,
.home-watch-lineup-card span {
  font-size: 0.64rem;
}

.home-betting-pick strong,
.home-betting-pick-summary strong,
.home-betting-parlay-head strong,
.home-betting-parlay-list strong {
  font-size: 0.9rem;
  line-height: 1.16;
}

.home-betting-pick em,
.home-betting-pick-summary em,
.home-betting-pick-reason,
.home-betting-parlay-list em,
.home-betting-parlay-empty,
.home-watch-result-row em,
.home-watch-card p {
  font-size: 0.74rem;
  line-height: 1.28;
}

.home-betting-reason-toggle,
.home-watch-detail-link {
  font-size: 0.62rem;
}

.home-watch-search-input {
  font-size: 0.84rem;
}

.home-watch-result-row strong {
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
  line-height: 1.02;
}

.home-watch-card-head strong,
.home-watch-current-info strong {
  font-size: 1.12rem;
  line-height: 1.04;
}

.home-watch-meta dd {
  font-size: 0.78rem;
  line-height: 1.22;
}

.home-watch-lineup-card strong {
  font-size: 0.82rem;
  line-height: 1.08;
}

.home-watch-lineup-card p,
.home-watch-lineup-card ul,
.home-watch-lineup-card ol {
  font-size: 0.64rem;
  line-height: 1.24;
}

.home-watch-lineup-player-list strong {
  font-size: 0.92rem;
  line-height: 1.08;
}

.home-watch-lineup-player-list em {
  font-size: 0.52rem;
}

.home-watch-detail .home-watch-lineup-player-list li {
  grid-template-columns: 0.92rem minmax(0, 1fr) minmax(1.1rem, auto);
  gap: 0.18rem;
  padding-block: clamp(0.08rem, 0.36vh, 0.18rem);
}

.home-watch-detail .home-watch-lineup-player-list span {
  width: 0.72rem;
  height: 0.72rem;
  font-size: 0.38rem;
}

.home-watch-detail .home-watch-lineup-player-list strong {
  overflow: hidden;
  font-size: clamp(0.54rem, 0.74vw, 0.68rem);
  line-height: 1.04;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-watch-detail .home-watch-lineup-player-list em {
  overflow: hidden;
  font-size: clamp(0.4rem, 0.52vw, 0.5rem);
  line-height: 1;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-watch-list-label {
  color: rgba(248, 251, 255, 0.68);
}

.home-watch-rail-header p {
  color: rgba(248, 251, 255, 0.68);
}

.home-betting-rail-header p {
  color: rgba(248, 251, 255, 0.68);
}

.home-betting-rail-card,
.home-watch-rail-card {
  border-color: var(--navy);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(24, 49, 83, 0.98), rgba(10, 29, 56, 0.98));
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.24);
}

.home-page-with-rails.is-signed-out-home .home-betting-rail-card,
.home-page-with-rails.is-signed-out-home .home-watch-rail-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.home-page-with-rails.is-signed-in-home .home-betting-rail-card,
.home-page-with-rails.is-signed-in-home .home-watch-rail-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.home-page-with-rails.is-signed-out-home .home-betting-rail-header .panel-label,
.home-page-with-rails.is-signed-out-home .home-betting-rail-header h2,
.home-page-with-rails.is-signed-out-home .home-betting-rail-header p,
.home-page-with-rails.is-signed-out-home .home-watch-rail-header .panel-label,
.home-page-with-rails.is-signed-out-home .home-watch-rail-header p,
.home-page-with-rails.is-signed-out-home .home-watch-list-label,
.home-page-with-rails.is-signed-in-home .home-betting-rail-header .panel-label,
.home-page-with-rails.is-signed-in-home .home-betting-rail-header h2,
.home-page-with-rails.is-signed-in-home .home-betting-rail-header p,
.home-page-with-rails.is-signed-in-home .home-watch-rail-header .panel-label,
.home-page-with-rails.is-signed-in-home .home-watch-rail-header p,
.home-page-with-rails.is-signed-in-home .home-watch-list-label {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.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(145deg, #ff9a43, #e56f23);
  box-shadow: 0 18px 34px rgba(155, 65, 18, 0.24);
  position: relative;
  overflow: visible;
}

.home-julio-chat-shell:has(.home-favorite-player-drawer.is-open),
.home-julio-chat-shell:has(.home-favorite-player-drawer-detail:not(.is-hidden)) {
  z-index: 13001;
}

.home-favorite-player-drawer-anchor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 12000;
  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: 12000;
  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: 12001;
  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-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 1px solid rgba(217, 108, 47, 0.52);
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(217, 108, 47, 0.22);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.home-favorite-player-drawer-settings:hover,
.home-favorite-player-drawer-settings:focus-visible {
  background: #f08b32;
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(217, 108, 47, 0.28);
}

.home-favorite-player-drawer-settings span {
  display: block;
  transform: translateY(-0.02rem);
}

.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: 12002;
  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: 13.75rem;
  padding: 0.02rem;
  border-radius: 19px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 20px 38px rgba(19, 32, 51, 0.22);
  opacity: 1 !important;
  overflow: hidden;
  isolation: isolate;
  mix-blend-mode: normal;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: auto;
  animation: favoritePlayerDrawerDetailIn 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-favorite-player-drawer-detail::before {
  content: "";
  position: absolute;
  inset: -0.35rem;
  z-index: 0;
  border-radius: inherit;
  background: #ffffff !important;
  pointer-events: none;
}

.home-favorite-player-drawer-detail-card {
  position: relative;
  z-index: 1;
  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: 13.75rem;
  overflow: hidden;
  padding: 0.62rem 0.76rem 0.66rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 18px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 18px 34px rgba(19, 32, 51, 0.16);
  opacity: 1 !important;
}

.home-favorite-player-drawer-detail-card *,
.home-favorite-player-drawer-detail-card *::before,
.home-favorite-player-drawer-detail-card *::after {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  mix-blend-mode: normal;
}

.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: #ffffff;
}

.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: #ffffff;
}

.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: #ffffff;
}

.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: #f6f9ff;
}

.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: #ffffff;
  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: #eef3fb;
  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: #ffffff;
  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 {
    transform: translateY(-6px);
  }
  to {
    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;
  height: 66px;
  min-height: 66px;
  padding: 0.18rem 0.16rem 0.12rem;
  border-radius: 9px 9px 8px 8px;
}

.home-favorite-player-drawer .home-favorite-player-card-number {
  font-size: 0.94rem;
  -webkit-text-stroke-width: 0.64px;
  text-shadow:
    0 1px 0 rgba(8, 20, 46, 0.22),
    0 0 6px rgba(255, 255, 255, 0.1);
}

.home-favorite-player-drawer .home-favorite-player-card-copy {
  top: 1.04rem;
  width: calc(100% - 0.34rem);
}

.home-favorite-player-drawer .home-favorite-player-card-copy span {
  max-width: 100%;
  font-size: min(var(--favorite-player-jersey-name-size, 0.52rem), 0.52rem);
  letter-spacing: min(var(--favorite-player-jersey-name-spacing, 0.025em), 0.025em);
}

.home-blank-space-personalized {
  margin-top: 1rem;
  min-height: auto;
  border-color: var(--navy);
  background: var(--navy);
}

.home-blank-space-personalized .home-magazine-grid {
  grid-auto-rows: auto;
  align-content: start;
  padding-bottom: 0;
}

.home-blank-space-player-hub {
  min-height: auto;
}

.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-blank-space.home-blank-space-personalized.home-blank-space-player-hub:has(.home-favorite-player-drawer.is-open),
.home-blank-space.home-blank-space-personalized.home-blank-space-player-hub:has(.home-favorite-player-drawer-detail:not(.is-hidden)) {
  z-index: 12000;
}

.home-blank-space.home-blank-space-personalized.home-blank-space-player-hub.has-custom-my-feed {
  margin-bottom: clamp(0.35rem, 1vw, 0.85rem);
}

.home-page-with-rails.is-signed-in-home .home-blank-space.home-blank-space-personalized.home-blank-space-player-hub.has-custom-my-feed {
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0.35rem;
  margin-bottom: clamp(0.12rem, 0.55vw, 0.42rem);
}

.home-blank-space.home-blank-space-personalized.home-blank-space-player-hub::before {
  display: none;
}

@media (min-width: 760px) {
  .home-page-with-rails.is-signed-in-home .home-page-main-column > .home-blank-space-personalized.home-blank-space-player-hub {
    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));
    margin-left: calc(0px - var(--home-side-rail-width, 238px) - var(--home-rail-gap, 1rem));
    z-index: 4;
  }

  .home-page-with-rails.is-signed-in-home .home-personalized-feed-wrap {
    width: 100%;
    margin-left: 0;
    z-index: 1;
  }

  .home-page-with-rails.is-signed-in-home .home-personalized-athlete-strip-wrap {
    width: 100%;
    margin-left: 0;
    z-index: 1;
  }

  .home-page-with-rails.is-signed-in-home .home-page-main-column > .home-blank-space-personalized.home-blank-space-player-hub:has(.home-favorite-player-drawer.is-open),
  .home-page-with-rails.is-signed-in-home .home-page-main-column > .home-blank-space-personalized.home-blank-space-player-hub:has(.home-favorite-player-drawer-detail:not(.is-hidden)) {
    z-index: 12000;
  }
}

.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-collapsed-player-hub {
  min-height: auto;
  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-collapsed-player-hub::before {
  display: none;
}

.home-blank-space-player-hub.is-compact-prompt .home-magazine-grid {
  grid-auto-rows: auto;
  padding: 0;
  gap: 0;
}

.home-blank-space-player-hub.is-collapsed-player-hub .home-magazine-grid {
  grid-auto-rows: auto;
  padding: 0 0 0.1rem;
  gap: 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-personalized-athlete-strip-shell {
  min-height: auto;
  padding: 0.55rem 0.7rem;
}

.home-magazine-signed-out-feed-prompt {
  margin: 0.25rem 0 0.35rem;
  padding: 0;
}

.home-magazine-signed-out-feed-prompt .home-personalized-layout {
  display: block;
}

.home-magazine-signed-out-feed-prompt .home-personalized-athlete-strip-shell {
  min-height: auto;
  padding: 0.55rem 0.7rem;
}

.home-blank-space-player-hub.is-collapsed-player-hub .home-magazine-rolling-player-hub {
  grid-column: span 12;
  padding: 0;
}

.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 {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 4.05rem;
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  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.08);
  cursor: text;
}

.home-julio-chatbar-label {
  color: #050910;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-julio-chatbar-input {
  width: 100%;
  height: 100%;
  min-height: 2.75rem;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #050910;
  font: inherit;
  font-size: var(--home-julio-input-size, 1rem);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  transition: font-size 140ms ease;
}

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

.home-julio-chatbar-submit {
  width: 46px;
  height: 46px;
  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);
}

@media (min-width: 760px) {
  .home-page-with-rails {
    --home-side-rail-width: clamp(132px, 18vw, 238px);
    --home-rail-gap: clamp(0.65rem, 1.4vw, 1.4rem);
    grid-template-columns:
      minmax(0, var(--home-side-rail-width, 238px))
      minmax(0, 1fr)
      minmax(0, var(--home-side-rail-width, 238px));
    grid-template-areas:
      "watch main betting";
    gap: var(--home-rail-gap);
    min-height: auto;
    padding-inline: clamp(0.65rem, 1.55vw, 1.35rem);
  }

  .home-page-with-rails::before,
  .home-page-with-rails::after {
    opacity: 0.34;
  }

  .home-ad-rail {
    display: block;
    position: absolute;
    top: 0;
    width: 238px;
    z-index: 0;
    pointer-events: none;
  }

  .home-ad-rail-left {
    left: 0;
  }

  .home-ad-rail-right {
    right: 0;
  }

  .home-page-main-column {
    grid-area: main;
    width: 100%;
    margin: 0;
  }

  .home-page-with-betting-rail .home-betting-rail {
    grid-area: betting;
    display: block;
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    margin-top: var(--home-side-rail-offset, 0);
    width: 100%;
  }

  .home-page-with-watch-rail .home-watch-rail {
    grid-area: watch;
    display: block;
    position: relative;
    top: auto;
    left: auto;
    z-index: 1;
    margin-top: var(--home-side-rail-offset, 0);
    width: 100%;
  }

  .home-page-with-watch-rail .home-watch-rail::before,
  .home-page-with-watch-rail .home-watch-rail::after,
  .home-page-with-betting-rail .home-betting-rail::before,
  .home-page-with-betting-rail .home-betting-rail::after {
    display: none;
  }

  .home-page-with-betting-rail .home-betting-rail-card {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .home-page-with-watch-rail .home-watch-rail-card {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
  }
}

.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-blank-space[data-home-magazine] {
  margin-bottom: 1rem;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.home-blank-space[data-home-magazine]::before {
  display: none;
}

.home-magazine-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(96px, auto);
  gap: 0.85rem;
  padding: 0;
}

.home-blank-space[data-home-magazine][data-mcp-ready="true"] .home-magazine-grid {
  opacity: 1;
  transition: opacity 140ms ease;
}

.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;
  display: grid;
  gap: 0.95rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.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;
  min-height: 0 !important;
  height: auto !important;
  padding: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.home-magazine-rolling-personalized.home-magazine-rolling-player-hub {
  min-height: auto !important;
  height: auto !important;
}

.home-magazine-rolling-player-hub .home-personalized-header {
  display: none;
}

.home-magazine-rolling-player-hub .home-personalized-layout {
  gap: 0.7rem;
  min-height: 0;
  height: auto;
}

.home-magazine-rolling-player-hub.is-player-detail-open .home-personalized-layout {
  gap: 0.7rem;
  align-content: start;
  height: auto;
}

.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(173, 204, 246, 0.6);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 16%),
    linear-gradient(180deg, color-mix(in srgb, var(--favorite-player-team-primary) 94%, white 6%), color-mix(in srgb, var(--favorite-player-team-primary) 90%, #050c1c));
  box-shadow: none;
  border-radius: 18px 18px 16px 16px;
  padding: 0.48rem 0.42rem 0.34rem;
}

.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(147, 184, 236, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 16%),
    linear-gradient(180deg, color-mix(in srgb, var(--favorite-player-team-primary) 92%, white 8%), color-mix(in srgb, var(--favorite-player-team-primary) 88%, #050c1c));
}

.home-magazine-rolling-personalized .home-favorite-player-card.is-active {
  border-color: rgba(173, 204, 246, 0.6);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 16%),
    linear-gradient(180deg, color-mix(in srgb, var(--favorite-player-team-primary) 94%, white 6%), color-mix(in srgb, var(--favorite-player-team-primary) 90%, #050c1c));
  box-shadow: none;
}

.home-magazine-rolling-player-hub.is-player-detail-open .home-favorite-player-card:hover,
.home-magazine-rolling-player-hub.is-player-detail-open .home-favorite-player-card:focus-visible,
.home-magazine-rolling-player-hub.is-player-detail-open .home-favorite-player-card.is-active {
  transform: none;
}

.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(125, 181, 255, 0.2);
  background: linear-gradient(180deg, rgba(12, 45, 112, 0.98), rgba(8, 30, 79, 0.98));
}

.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-rolling-personalized .home-player-detail-section-label,
.home-magazine-rolling-personalized .home-player-detail-game-context,
.home-magazine-rolling-personalized .home-player-detail-note,
.home-magazine-rolling-personalized .panel-label {
  color: #c0d8ff;
}


.home-magazine-row-controls {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.22rem;
}

.home-julio-search-shell {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 12;
  pointer-events: auto;
}

.home-julio-search-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(24, 49, 83, 0.12);
}

.home-julio-search-summary .home-magazine-refresh {
  align-self: center;
}

.home-julio-search-summary h2 {
  margin: 0.2rem 0 0;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
  text-transform: uppercase;
  font-size: var(--home-julio-search-heading-size, clamp(1.8rem, 3.5vw, 2.7rem));
  line-height: 0.98;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.home-julio-search-summary h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #d97a3a;
}

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

.home-julio-search-results {
  display: grid;
  gap: 0.95rem;
  position: relative;
  z-index: 13;
  pointer-events: auto;
}

.home-julio-search-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.05);
  position: relative;
  z-index: 14;
  pointer-events: auto;
  cursor: pointer;
  width: 100%;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}

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

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

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

.home-julio-search-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;
}

.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-personalized-feed-shell .home-magazine-scroll-arrow {
  border-color: rgba(24, 49, 83, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
}

.home-personalized-feed-shell .home-magazine-scroll-arrow:hover,
.home-personalized-feed-shell .home-magazine-scroll-arrow:focus-visible {
  border-color: rgba(24, 49, 83, 0.28);
  background: #ffffff;
  color: var(--navy);
}

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

@media (min-width: 760px) {
  .home-page-with-rails.is-signed-out-home .home-game-news-wide-wrap,
  .home-page-with-rails.is-signed-out-home .home-player-news-wide-wrap,
  .home-page-with-rails.is-signed-in-home .home-game-news-wide-wrap,
  .home-page-with-rails.is-signed-in-home .home-photo-mosaic {
    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));
    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));
    margin-left: calc(0px - var(--home-side-rail-width, 238px) - var(--home-rail-gap, 1rem));
    position: relative;
    z-index: 3;
  }
}

.home-page-with-rails.is-signed-out-home .home-game-news-wide-wrap .home-magazine-row-shell,
.home-page-with-rails.is-signed-out-home .home-player-news-wide-wrap .home-magazine-row-shell,
.home-page-with-rails.is-signed-out-home .home-top-performers-section .home-magazine-row-shell,
.home-page-with-rails.is-signed-in-home .home-game-news-wide-wrap .home-magazine-row-shell,
.home-page-with-rails.is-signed-in-home .home-player-news-wide-wrap .home-magazine-row-shell,
.home-page-with-rails.is-signed-in-home .home-top-performers-section .home-magazine-row-shell {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.home-page-with-rails.is-signed-out-home .home-game-news-wide-wrap .home-magazine-row-title,
.home-page-with-rails.is-signed-out-home .home-player-news-wide-wrap .home-magazine-row-title,
.home-page-with-rails.is-signed-out-home .home-top-performers-section .home-magazine-row-title,
.home-page-with-rails.is-signed-in-home .home-game-news-wide-wrap .home-magazine-row-title,
.home-page-with-rails.is-signed-in-home .home-player-news-wide-wrap .home-magazine-row-title,
.home-page-with-rails.is-signed-in-home .home-top-performers-section .home-magazine-row-title,
.home-page-with-rails.is-signed-in-home .home-personalized-feed-heading {
  justify-content: center;
  gap: 0.95rem;
  color: #050910;
  font-family: "Oswald", "Bebas Neue", sans-serif;
  font-size: clamp(1.82rem, 3.05vw, 2.56rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.12em;
  -webkit-text-stroke: 3.8px rgba(255, 255, 255, 0.98);
  paint-order: stroke fill;
  text-shadow:
    0 3px 10px rgba(0, 0, 0, 0.34),
    0 0 1px rgba(255, 255, 255, 0.85);
  text-align: center;
}

.home-page-with-rails.is-signed-out-home .home-game-news-wide-wrap .home-magazine-row-title-label,
.home-page-with-rails.is-signed-out-home .home-player-news-wide-wrap .home-magazine-row-title-label,
.home-page-with-rails.is-signed-out-home .home-top-performers-section .home-magazine-row-title-label,
.home-page-with-rails.is-signed-in-home .home-game-news-wide-wrap .home-magazine-row-title-label,
.home-page-with-rails.is-signed-in-home .home-player-news-wide-wrap .home-magazine-row-title-label,
.home-page-with-rails.is-signed-in-home .home-top-performers-section .home-magazine-row-title-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.18rem;
  background: transparent;
  box-shadow: none;
  transform: skewX(-5deg);
}

.home-page-with-rails.is-signed-out-home .home-game-news-wide-wrap .home-magazine-row-title::before,
.home-page-with-rails.is-signed-out-home .home-player-news-wide-wrap .home-magazine-row-title::before,
.home-page-with-rails.is-signed-out-home .home-top-performers-section .home-magazine-row-title::before,
.home-page-with-rails.is-signed-out-home .home-game-news-wide-wrap .home-magazine-row-title::after,
.home-page-with-rails.is-signed-out-home .home-player-news-wide-wrap .home-magazine-row-title::after,
.home-page-with-rails.is-signed-out-home .home-top-performers-section .home-magazine-row-title::after,
.home-page-with-rails.is-signed-in-home .home-game-news-wide-wrap .home-magazine-row-title::before,
.home-page-with-rails.is-signed-in-home .home-player-news-wide-wrap .home-magazine-row-title::before,
.home-page-with-rails.is-signed-in-home .home-top-performers-section .home-magazine-row-title::before,
.home-page-with-rails.is-signed-in-home .home-personalized-feed-heading::before,
.home-page-with-rails.is-signed-in-home .home-game-news-wide-wrap .home-magazine-row-title::after,
.home-page-with-rails.is-signed-in-home .home-player-news-wide-wrap .home-magazine-row-title::after,
.home-page-with-rails.is-signed-in-home .home-top-performers-section .home-magazine-row-title::after,
.home-page-with-rails.is-signed-in-home .home-personalized-feed-heading::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background: rgba(255, 176, 111, 0.86);
  transform: translateY(1px);
}

.home-page-with-rails.is-signed-in-home .home-personalized-feed-shell {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.home-page-with-rails.is-signed-in-home .home-personalized-feed-heading {
  margin-bottom: 0.38rem;
}

.home-page-with-rails.is-signed-in-home .home-top-performers-section {
  order: 1;
}

.home-page-with-rails.is-signed-in-home .home-game-news-wide-wrap {
  order: 2;
}

.home-page-with-rails.is-signed-in-home .home-photo-mosaic {
  order: 3;
}

.home-magazine-row-shell {
  display: grid;
  gap: 0.45rem;
  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);
}

.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;
  padding: 0;
  margin-bottom: 0.95rem;
}

.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 {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 7.5rem;
  padding: 0.22rem 0.7rem 0.26rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #050910;
  font-family: "Oswald", "Bebas Neue", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.42rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  -webkit-text-stroke: 1.45px rgba(255, 255, 255, 0.96);
  paint-order: stroke fill;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.32),
    0 0 1px rgba(255, 255, 255, 0.85);
  text-align: center;
  box-shadow: 0 10px 20px rgba(10, 22, 40, 0.12);
}

.home-top-performers-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.36rem;
  transform: translateY(0.18rem);
}

.home-top-performers-controls .home-magazine-scroll-arrow {
  width: 2.34rem;
  height: 2.34rem;
  font-size: 1.38rem;
  box-shadow: 0 8px 18px rgba(7, 15, 30, 0.16);
}

.home-top-performers-page-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-top-performers-page-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 58, 102, 0.14) 0%, rgba(26, 58, 102, 0.72) 42%, rgba(224, 113, 46, 0.82) 68%, rgba(255, 255, 255, 0.96) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(26, 58, 102, 0.08) inset;
}

.home-top-performers-page-frame.is-wiping {
  animation: none;
}

.home-top-performers-page-frame[data-wipe-direction="left"].is-wiping {
  animation-name: none;
}

.home-top-performers-page-frame.is-wiping::after {
  animation: topPerformerWipeOverlay 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-top-performers-page-frame[data-wipe-direction="left"].is-wiping::after {
  animation-name: topPerformerWipeOverlayLeft;
}

.home-top-performers-grid.is-wiping {
  animation: topPerformerGridReveal 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-top-performers-grid[data-wipe-direction="left"].is-wiping {
  animation-name: topPerformerGridRevealLeft;
}

@keyframes topPerformerWipeOverlay {
  0% {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
  }
  48% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left center;
  }
  52% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: right center;
  }
  100% {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right center;
  }
}

@keyframes topPerformerWipeOverlayLeft {
  0% {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right center;
  }
  48% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: right center;
  }
  52% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left center;
  }
  100% {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
  }
}

@keyframes topPerformerGridReveal {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  49% {
    opacity: 0.04;
    transform: translateX(-14px);
  }
  51% {
    opacity: 0.04;
    transform: translateX(14px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes topPerformerGridRevealLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  49% {
    opacity: 0.04;
    transform: translateX(14px);
  }
  51% {
    opacity: 0.04;
    transform: translateX(-14px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-personalized-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
  align-content: start;
}

.home-magazine-rolling-player-hub .home-personalized-layout {
  gap: 0.7rem;
}

.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-feed-wrap {
  display: grid;
  gap: 0;
}

.home-blank-space-player-hub.has-custom-my-feed .home-personalized-feed-wrap {
  gap: 0.95rem;
}

.home-page-with-rails.is-signed-in-home .home-blank-space-player-hub.has-custom-my-feed .home-personalized-feed-wrap {
  gap: 0.62rem;
}

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

.home-blank-space-player-hub.has-custom-my-feed .home-personalized-feed-shell {
  padding-bottom: 1.25rem;
}

.home-page-with-rails.is-signed-in-home .home-blank-space-player-hub.has-custom-my-feed .home-personalized-feed-shell {
  padding-top: 0.55rem;
  padding-bottom: 0.68rem;
}

.home-personalized-feed-shell-extra {
  padding-bottom: 1.2rem;
}

.home-blank-space-player-hub.has-custom-my-feed .home-personalized-feed-row {
  padding-bottom: 1.05rem;
}

.home-page-with-rails.is-signed-in-home .home-blank-space-player-hub.has-custom-my-feed .home-personalized-feed-row {
  padding-bottom: 0.34rem;
}

.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-shell:has(.home-personalized-feed-settings) .home-personalized-feed-heading::after {
  background: linear-gradient(
    90deg,
    var(--accent) 0,
    var(--accent) calc(100% - 4.7rem),
    transparent calc(100% - 4.7rem),
    transparent 100%
  );
}

.home-personalized-feed-settings {
  position: absolute;
  right: 0.98rem;
  top: 1.18rem;
  bottom: auto;
  z-index: 20;
  display: inline-grid;
  place-items: center;
  min-width: 3.25rem;
  height: 1.85rem;
  margin-left: 0;
  padding: 0 0.72rem;
  border: 1px solid rgba(217, 108, 47, 0.5);
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(217, 108, 47, 0.22);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.home-personalized-feed-settings:hover,
.home-personalized-feed-settings:focus-visible {
  background: var(--accent-strong);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(217, 108, 47, 0.26);
}

.home-personalized-feed-shell .home-magazine-row-controls {
  justify-content: center;
}

.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: 16px;
  color: rgba(24, 49, 83, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.92));
}

.home-my-feed-create-shell {
  min-height: 116px;
  place-items: center;
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
}

.home-my-feed-create-button {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 3.3rem minmax(0, 1fr) 3.3rem;
  align-items: center;
  gap: 0.88rem;
  padding: 0.68rem 1.05rem;
  border: 1px solid rgba(24, 49, 83, 0.13);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 108, 47, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  color: var(--navy);
  font: inherit;
  text-align: center;
  box-shadow: 0 16px 30px rgba(18, 38, 68, 0.12);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-my-feed-create-button:hover,
.home-my-feed-create-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217, 108, 47, 0.38);
  box-shadow: 0 20px 34px rgba(18, 38, 68, 0.16);
  outline: none;
}

.home-my-feed-create-icon {
  justify-self: center;
  align-self: center;
  width: 3.1rem;
  height: 3.1rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 24px rgba(217, 108, 47, 0.24);
}

.home-my-feed-create-copy {
  display: grid;
  gap: 0.22rem;
  justify-items: center;
  text-align: center;
}

.home-my-feed-create-copy strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.62rem, 3vw, 2.28rem);
  letter-spacing: 0.08em;
  line-height: 0.92;
  text-transform: uppercase;
}

.home-my-feed-create-copy small {
  color: rgba(24, 49, 83, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

body.home-feed-setup-is-open {
  overflow: hidden;
}

.home-feed-setup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2.6vw, 2rem);
  background: rgba(4, 10, 20, 0.46);
  backdrop-filter: blur(10px);
}

.home-feed-setup-card {
  width: min(92vw, 720px);
  max-height: min(88vh, 660px);
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96)),
    radial-gradient(circle at 12% 12%, rgba(217, 108, 47, 0.18), transparent 34%);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.34);
}

.home-feed-setup-close {
  position: absolute;
  top: 0.8rem;
  right: 0.88rem;
  z-index: 4;
  width: 2.1rem;
  height: 2.1rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.home-feed-setup-step {
  display: none;
  min-height: min(78vh, 610px);
  padding: 1.55rem clamp(1rem, 3vw, 1.65rem) 1.2rem;
  gap: 0.85rem;
}

.home-feed-setup-step.is-active {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.home-feed-setup-card:has([data-home-feed-setup-step="1"].is-active) {
  width: min(92vw, 640px);
  max-height: min(82vh, 500px);
}

.home-feed-setup-step[data-home-feed-setup-step="1"] {
  min-height: auto;
  padding: 1.45rem clamp(1rem, 3vw, 1.55rem) 1.05rem;
  gap: 0.72rem;
}

.home-feed-setup-step[data-home-feed-setup-step="1"].is-active {
  grid-template-rows: auto auto auto auto;
  align-content: center;
}

.home-feed-setup-step[data-home-feed-setup-step="3"].is-active {
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  min-height: 0;
  height: min(84vh, 640px);
  overflow: hidden;
}

.home-feed-setup-card:has([data-home-feed-setup-step="3"].is-active) {
  width: min(94vw, 860px);
  max-height: min(90vh, 720px);
}

.home-feed-settings-card {
  width: min(92vw, 760px);
  max-height: min(88vh, 650px);
}

.home-feed-settings-panel {
  display: grid;
  gap: 1.1rem;
  padding: 2rem clamp(1.05rem, 3vw, 1.7rem) 1.45rem;
}

.home-feed-settings-layout {
  display: grid;
  grid-template-columns: minmax(8.4rem, 0.48fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.home-feed-settings-feed-list {
  display: grid;
  gap: 0.56rem;
  align-content: start;
  padding: 0.45rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.home-feed-settings-feed-tab {
  display: grid;
  gap: 0.16rem;
  justify-items: start;
  min-height: 4.2rem;
  padding: 0.68rem 0.72rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 16px;
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(18, 38, 68, 0.07);
}

.home-feed-settings-feed-tab strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-feed-settings-feed-tab small {
  max-width: 100%;
  overflow: hidden;
  color: rgba(24, 49, 83, 0.58);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feed-settings-feed-tab.is-active {
  border-color: rgba(217, 108, 47, 0.48);
  background:
    linear-gradient(135deg, rgba(217, 108, 47, 0.98), rgba(232, 132, 66, 0.94));
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(217, 108, 47, 0.2);
}

.home-feed-settings-feed-tab.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.home-feed-settings-add-tab {
  place-items: center;
  justify-items: center;
  min-height: 4.2rem;
  border-color: rgba(217, 108, 47, 0.34);
  border-style: dashed;
  background:
    radial-gradient(circle at 50% 35%, rgba(217, 108, 47, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.78);
  color: var(--accent-strong);
  text-align: center;
}

.home-feed-settings-add-tab span {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 1.62rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(217, 108, 47, 0.2);
}

.home-feed-settings-add-tab small {
  color: var(--accent-strong);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-feed-settings-add-tab:hover,
.home-feed-settings-add-tab:focus-visible {
  border-color: rgba(217, 108, 47, 0.58);
  background: #ffffff;
  outline: none;
}

.home-feed-settings-options {
  display: grid;
  gap: 0.85rem;
}

.home-feed-settings-option {
  display: grid;
  gap: 0.22rem;
  justify-items: center;
  min-height: 5.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 49, 83, 0.13);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 108, 47, 0.11), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  color: var(--navy);
  font: inherit;
  text-align: center;
  box-shadow: 0 14px 24px rgba(18, 38, 68, 0.1);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-feed-settings-option strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  line-height: 0.95;
  text-transform: uppercase;
}

.home-feed-settings-option small {
  max-width: 24rem;
  color: rgba(24, 49, 83, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.home-feed-settings-option:hover,
.home-feed-settings-option:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217, 108, 47, 0.36);
  box-shadow: 0 18px 30px rgba(18, 38, 68, 0.14);
  outline: none;
}

.home-feed-settings-option:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.home-feed-settings-option.is-danger {
  border-color: rgba(168, 59, 25, 0.22);
  background:
    radial-gradient(circle at 12% 18%, rgba(168, 59, 25, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 242, 0.94));
}

.home-feed-settings-option.is-danger strong {
  color: #a83b19;
}

.home-feed-setup-heading {
  display: grid;
  gap: 0.18rem;
  justify-items: center;
  text-align: center;
}

.home-feed-setup-heading span {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-feed-setup-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.2rem);
  letter-spacing: 0.1em;
  line-height: 0.92;
  text-transform: uppercase;
}

.home-feed-name-field {
  align-self: center;
  justify-self: center;
  width: min(100%, 26rem);
  display: grid;
  gap: 0.42rem;
  justify-items: center;
  padding: 1.1rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 20%, rgba(217, 108, 47, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 28px rgba(18, 38, 68, 0.1);
}

.home-feed-name-field span {
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-feed-name-field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(24, 49, 83, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font: inherit;
  font-weight: 850;
  text-align: center;
}

.home-feed-name-field input:focus {
  border-color: rgba(217, 108, 47, 0.46);
  outline: none;
  box-shadow: 0 0 0 4px rgba(217, 108, 47, 0.12);
}

.home-feed-name-field small {
  color: rgba(24, 49, 83, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.home-feed-setup-heading p {
  max-width: 34rem;
  margin: 0;
  color: rgba(24, 49, 83, 0.66);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.home-feed-setup-team-picker {
  min-height: 0;
  align-self: stretch;
  grid-template-rows: auto minmax(0, 1fr);
}

.home-feed-setup-team-picker .account-team-selector {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.46rem;
  overflow-x: auto;
  padding-bottom: 0.12rem;
  scrollbar-width: thin;
}

.home-feed-setup-team-picker .account-team-sport-button {
  flex: 0 0 auto;
  min-width: 5.8rem;
  min-height: 2.35rem;
  padding: 0.48rem 0.75rem;
  border-radius: 14px;
}

.home-feed-setup-team-picker .account-team-panels,
.home-feed-setup-team-picker .account-team-panel.is-active {
  min-height: 0;
}

.home-feed-setup-team-picker .account-team-panel {
  padding: 0.7rem 0.78rem;
}

.home-feed-setup-team-picker .account-team-checklist {
  max-height: min(36vh, 270px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-feed-setup-team-picker .account-team-option.has-team-theme span {
  justify-content: center;
  min-height: 2.18rem;
  padding: 0.44rem 0.35rem;
  border-color: color-mix(in srgb, var(--favorite-team-primary, var(--navy)) 42%, rgba(24, 49, 83, 0.12));
  border-radius: 14px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--favorite-team-primary, var(--navy)) 16%, #ffffff) 0%, #ffffff 42% 100%);
  color: var(--navy);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  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);
}

.home-feed-setup-team-picker .account-team-option.has-team-theme:hover span,
.home-feed-setup-team-picker .account-team-option.has-team-theme input:focus-visible + span {
  border-color: color-mix(in srgb, var(--favorite-team-primary, var(--navy)) 58%, rgba(24, 49, 83, 0.12));
  background: #ffffff;
}

.home-feed-setup-team-picker .account-team-option.has-team-theme input:checked + span {
  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);
}

.home-feed-priority-grid {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  align-content: center;
}

.home-feed-focus-builder {
  align-self: stretch;
  display: grid;
  grid-template-columns: minmax(11rem, 0.78fr) minmax(0, 1.4fr);
  gap: 1rem;
  align-items: stretch;
  height: min(48vh, 360px);
  max-height: min(48vh, 360px);
  min-height: 0;
  overflow: hidden;
}

.home-feed-focus-visual {
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  min-height: 0;
}

.home-feed-focus-pie {
  position: relative;
  width: min(12.25rem, 100%);
  aspect-ratio: 1;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: conic-gradient(var(--accent) 0 100%);
  box-shadow:
    0 18px 32px rgba(18, 38, 68, 0.18),
    inset 0 0 0 1px rgba(24, 49, 83, 0.12);
}

.home-feed-focus-pie::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(7.4rem, 52%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.94));
  box-shadow: inset 0 0 0 1px rgba(24, 49, 83, 0.08);
}

.home-feed-focus-total {
  position: absolute;
  display: grid;
  gap: 0.08rem;
  justify-items: center;
  color: var(--navy);
  text-transform: uppercase;
}

.home-feed-focus-total strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.15rem;
  letter-spacing: 0.08em;
  line-height: 0.9;
}

.home-feed-focus-total span {
  color: rgba(24, 49, 83, 0.62);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.home-feed-focus-list {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding: 0.15rem 0.3rem 0.15rem 0.2rem;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.home-feed-focus-row {
  display: grid;
  grid-template-columns: minmax(6rem, 0.9fr) minmax(8.8rem, 1.2fr) 3.2rem;
  gap: 0.66rem;
  align-items: center;
  padding: 0.58rem 0.66rem;
  border: 1px solid color-mix(in srgb, var(--feed-focus-color, var(--accent)) 34%, rgba(24, 49, 83, 0.1));
  border-radius: 16px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--feed-focus-color, var(--accent)) 12%, #ffffff), rgba(255, 255, 255, 0.95));
  box-shadow: 0 10px 18px rgba(18, 38, 68, 0.07);
}

.home-feed-focus-team {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
  text-align: left;
}

.home-feed-focus-team b {
  overflow: hidden;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-feed-focus-team small {
  color: color-mix(in srgb, var(--feed-focus-color, var(--accent)) 72%, var(--navy));
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-feed-focus-controls {
  display: grid;
  grid-template-columns: 2rem minmax(3.9rem, 1fr) 2rem;
  gap: 0.34rem;
  align-items: center;
}

.home-feed-focus-controls button {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid color-mix(in srgb, var(--feed-focus-color, var(--accent)) 42%, rgba(24, 49, 83, 0.12));
  border-radius: 999px;
  background: #ffffff;
  color: color-mix(in srgb, var(--feed-focus-color, var(--accent)) 75%, var(--navy));
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 14px rgba(18, 38, 68, 0.07);
}

.home-feed-focus-controls button:focus-visible {
  background: var(--feed-focus-color, var(--accent));
  color: #ffffff;
  outline: none;
}

.home-feed-focus-controls button:hover {
  border-color: color-mix(in srgb, var(--feed-focus-color, var(--accent)) 58%, rgba(24, 49, 83, 0.12));
  box-shadow: 0 8px 14px rgba(18, 38, 68, 0.09);
}

.home-feed-focus-controls input[type="number"] {
  min-width: 0;
  width: 100%;
  height: 2rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
  cursor: default;
}

.home-feed-focus-controls input[type="number"]:focus {
  border-color: color-mix(in srgb, var(--feed-focus-color, var(--accent)) 58%, rgba(24, 49, 83, 0.12));
  outline: none;
}

.home-feed-focus-controls input[type="number"]::-webkit-outer-spin-button,
.home-feed-focus-controls input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.home-feed-focus-row > strong {
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.36rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: right;
}

.home-feed-priority-option {
  position: relative;
  display: block;
}

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

.home-feed-priority-option span {
  min-height: 6.2rem;
  display: grid;
  gap: 0.28rem;
  align-content: center;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(24, 49, 83, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 12px 22px rgba(18, 38, 68, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.home-feed-priority-option strong {
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-feed-priority-option small {
  color: rgba(24, 49, 83, 0.62);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.3;
}

.home-feed-priority-option:hover span,
.home-feed-priority-option input:focus-visible + span {
  transform: translateY(-1px);
  border-color: rgba(217, 108, 47, 0.34);
}

.home-feed-priority-option input:checked + span {
  border-color: rgba(217, 108, 47, 0.44);
  background: linear-gradient(135deg, var(--accent), #f08b32);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(217, 108, 47, 0.22);
}

.home-feed-priority-option input:checked + span small {
  color: rgba(255, 255, 255, 0.86);
}

.home-feed-setup-status {
  min-height: 1rem;
  color: #a83b19;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.home-feed-setup-actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
}

.home-feed-setup-primary,
.home-feed-setup-secondary,
.home-feed-setup-danger {
  min-width: 9rem;
  min-height: 2.75rem;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-feed-setup-primary {
  border: 1px solid rgba(217, 108, 47, 0.46);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(217, 108, 47, 0.24);
}

.home-feed-setup-secondary {
  border: 1px solid rgba(24, 49, 83, 0.14);
  background: #ffffff;
  color: var(--navy);
}

.home-feed-setup-danger {
  min-width: 8.4rem;
  border: 1px solid rgba(168, 59, 25, 0.24);
  background: rgba(255, 255, 255, 0.94);
  color: #a83b19;
}

.home-feed-setup-primary:hover,
.home-feed-setup-primary:focus-visible,
.home-feed-setup-secondary:hover,
.home-feed-setup-secondary:focus-visible,
.home-feed-setup-danger:hover,
.home-feed-setup-danger:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.home-feed-setup-danger:hover,
.home-feed-setup-danger:focus-visible {
  border-color: rgba(168, 59, 25, 0.38);
  background: #fff7f2;
}

.home-favorite-player-setup-card {
  width: min(92vw, 620px);
  max-height: min(88vh, 700px);
}

.home-favorite-player-setup-view {
  width: min(100%, 29rem);
  margin: auto;
  display: grid;
  gap: 0.92rem;
  align-content: start;
  min-height: min(78vh, 610px);
  padding: 1.5rem clamp(1rem, 3vw, 1.65rem) 1.1rem;
  text-align: center;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
}

.home-favorite-player-setup-view .account-settings-header {
  display: grid;
  gap: 0;
  justify-items: center;
  padding-right: 1.9rem;
}

.home-favorite-player-setup-view .account-settings-header h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.45rem);
  letter-spacing: 0.08em;
  line-height: 0.92;
  text-transform: uppercase;
  white-space: nowrap;
}

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

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

.home-favorite-player-setup-view .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;
}

.home-favorite-player-setup-view .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;
}

.home-favorite-player-setup-view .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);
}

.home-favorite-player-setup-view .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);
}

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

.home-favorite-player-setup-view .account-favorite-player-teams .account-team-category-button.has-team-theme:hover,
.home-favorite-player-setup-view .account-favorite-player-teams .account-team-category-button.has-team-theme:focus-visible,
.home-favorite-player-setup-view .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);
}

.home-favorite-player-setup-view .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;
}

.home-favorite-player-setup-view .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;
}

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

.home-favorite-player-setup-view .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;
}

.home-favorite-player-setup-view .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;
}

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

.home-favorite-player-setup-view .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;
}

.home-favorite-player-setup-view .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;
}

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

.home-favorite-player-setup-view .account-settings-actions {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.home-favorite-player-setup-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);
}

.home-favorite-player-setup-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);
}

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

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

.home-personalized-athlete-strip-wrap {
  display: grid;
  gap: 0;
}

.home-personalized-feed-shell > .home-personalized-athlete-strip-wrap-embedded {
  justify-self: start;
  width: min(58%, 460px);
  min-width: 250px;
  margin-top: 0.38rem;
  z-index: 3;
}

.home-personalized-feed-shell > .home-personalized-athlete-strip-wrap-embedded .home-personalized-athlete-strip {
  --favorite-player-count: 5;
  gap: 0.28rem;
  min-height: 74px;
  height: 74px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  grid-auto-columns: unset;
  grid-template-columns: none;
  grid-template-rows: 74px;
  overflow: visible;
}

.home-personalized-feed-shell > .home-personalized-athlete-strip-wrap-embedded .home-favorite-player-card,
.home-personalized-feed-shell > .home-personalized-athlete-strip-wrap-embedded .home-personalized-athlete-strip[data-player-count] .home-favorite-player-card {
  flex: 0 0 54px;
  width: 54px;
  max-width: 54px;
  height: 74px;
  min-height: 74px;
  padding: 0.22rem 0.18rem 0.14rem;
  border-radius: 10px 10px 9px 9px;
  justify-self: auto;
}

.home-personalized-feed-shell > .home-personalized-athlete-strip-wrap-embedded .home-favorite-player-card-number {
  font-size: 1.02rem;
  -webkit-text-stroke-width: 0.7px;
  text-shadow:
    0 1px 0 rgba(8, 20, 46, 0.22),
    0 0 7px rgba(255, 255, 255, 0.1);
}

.home-personalized-feed-shell > .home-personalized-athlete-strip-wrap-embedded .home-favorite-player-card-copy {
  top: 1.18rem;
  width: calc(100% - 0.38rem);
}

.home-personalized-feed-shell > .home-personalized-athlete-strip-wrap-embedded .home-favorite-player-card-copy span {
  max-width: 100%;
  font-size: min(var(--favorite-player-jersey-name-size, 0.58rem), 0.58rem);
  letter-spacing: min(var(--favorite-player-jersey-name-spacing, 0.03em), 0.03em);
}

.home-personalized-athlete-strip-heading {
  margin: 0;
  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;
  margin-bottom: 0.45rem;
}

.home-personalized-athlete-strip-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--accent);
  transform: translateY(1px);
}

.home-personalized-athlete-strip {
  --favorite-player-count: 5;
  display: grid;
  width: 100%;
  gap: 0.38rem;
  align-items: stretch;
  align-content: stretch;
  min-height: 164px;
  height: 164px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-columns: repeat(var(--favorite-player-count), minmax(0, 1fr));
  grid-template-rows: repeat(1, 164px);
  overflow: hidden;
  padding: 0;
}

.home-personalized-athlete-strip[data-player-count="1"] {
  --favorite-player-count: 1;
  grid-template-columns: repeat(var(--favorite-player-count), minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  justify-items: center;
  justify-content: center;
}

.home-personalized-athlete-strip[data-player-count="1"] .home-favorite-player-card {
  width: min(100%, 172px);
  max-width: 172px;
  justify-self: center;
}

.home-personalized-athlete-strip[data-player-count="2"] .home-favorite-player-card {
  width: min(100%, 164px);
  max-width: 164px;
  justify-self: center;
}

.home-personalized-athlete-strip[data-player-count="3"] .home-favorite-player-card,
.home-personalized-athlete-strip[data-player-count="4"] .home-favorite-player-card {
  width: min(100%, 156px);
  max-width: 156px;
  justify-self: center;
}

.home-personalized-athlete-strip[data-player-count="2"] {
  --favorite-player-count: 2;
  grid-template-columns: repeat(var(--favorite-player-count), minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  justify-content: stretch;
}

.home-personalized-athlete-strip[data-player-count="3"] {
  --favorite-player-count: 3;
  grid-template-columns: repeat(var(--favorite-player-count), minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  justify-content: stretch;
}

.home-personalized-athlete-strip[data-player-count="4"] {
  --favorite-player-count: 4;
  grid-template-columns: repeat(var(--favorite-player-count), minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  justify-content: stretch;
}

.home-personalized-athlete-strip[data-player-count="5"] {
  --favorite-player-count: 5;
  grid-template-columns: repeat(var(--favorite-player-count), minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  justify-content: stretch;
}

.home-personalized-athlete-strip[data-player-count="6"] {
  --favorite-player-count: 6;
  grid-template-columns: repeat(var(--favorite-player-count), minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  justify-content: stretch;
}

.home-personalized-athlete-strip[data-player-count="7"],
.home-personalized-athlete-strip[data-player-count="8"] {
  --favorite-player-count: 7;
  grid-template-rows: minmax(0, 1fr);
}

.home-personalized-athlete-strip[data-player-count="7"] {
  --favorite-player-count: 7;
  grid-template-columns: repeat(var(--favorite-player-count), minmax(0, 1fr));
  justify-content: stretch;
}

.home-personalized-athlete-strip[data-player-count="8"] {
  --favorite-player-count: 8;
  grid-template-columns: repeat(var(--favorite-player-count), minmax(0, 1fr));
  justify-content: stretch;
}

.home-personalized-athlete-strip[data-player-count="9"],
.home-personalized-athlete-strip[data-player-count="10"] {
  --favorite-player-count: 9;
  grid-template-rows: minmax(0, 1fr);
}

.home-personalized-athlete-strip[data-player-count="9"] {
  --favorite-player-count: 9;
  grid-template-columns: repeat(var(--favorite-player-count), minmax(0, 1fr));
  justify-content: stretch;
}

.home-personalized-athlete-strip[data-player-count="10"] {
  --favorite-player-count: 10;
  grid-template-columns: repeat(var(--favorite-player-count), minmax(0, 1fr));
  justify-content: stretch;
}

.home-personalized-athlete-strip .home-favorite-player-card {
  --favorite-player-team-primary: #183153;
  --favorite-player-team-secondary: #d2682a;
  --favorite-player-jersey-fill: var(--favorite-player-team-primary);
  --favorite-player-jersey-shadow-fill: color-mix(in srgb, var(--favorite-player-team-primary) 88%, #050c1c);
  --favorite-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%);
  --favorite-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%);
  --favorite-player-collar-fill: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(226, 235, 247, 0.98));
  --favorite-player-collar-trim: rgba(8, 20, 46, 0.24);
  --favorite-player-name-color: #f8fbff;
  --favorite-player-card-clip: polygon(12% 0, 36% 0, 43% 10%, 57% 10%, 64% 0, 88% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
  --favorite-player-collar-width: 26%;
  --favorite-player-collar-height: 14%;
  --favorite-player-collar-radius: 0 0 16px 16px;
  --favorite-player-collar-trim-size: 2px;
  --favorite-player-sleeve-width: 27%;
  --favorite-player-sleeve-height: 34%;
  --favorite-player-sleeve-top: 4%;
  --favorite-player-sleeve-left: linear-gradient(180deg, transparent, transparent);
  --favorite-player-sleeve-right: linear-gradient(180deg, transparent, transparent);
  --favorite-player-sleeve-left-offset: 0%;
  --favorite-player-sleeve-right-offset: 0%;
  --favorite-player-sleeve-width-trim: 0%;
  --favorite-player-torso-left: 0%;
  --favorite-player-torso-right: 0%;
  --favorite-player-torso-top: 0%;
  --favorite-player-torso-bottom: 0%;
  --favorite-player-torso-radius: 0;
  width: min(100%, 148px);
  max-width: 148px;
  height: 100%;
  min-height: 164px;
  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(--favorite-player-jersey-fill), var(--favorite-player-jersey-shadow-fill));
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
  position: relative;
  clip-path: var(--favorite-player-card-clip);
  justify-self: center;
}

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

.home-personalized-athlete-strip .home-favorite-player-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--favorite-player-card-overlay);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

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

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

.home-favorite-player-card-jersey::before,
.home-favorite-player-card-jersey::after {
  display: none;
}

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

.home-favorite-player-card-jersey.show-custom-sleeves::before {
  left: var(--favorite-player-sleeve-left-offset);
  background: var(--favorite-player-sleeve-left);
}

.home-favorite-player-card-jersey.show-custom-sleeves::after {
  right: var(--favorite-player-sleeve-right-offset);
  background: var(--favorite-player-sleeve-right);
}

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

.home-personalized-athlete-strip .home-favorite-player-card.is-football-jersey {
  --favorite-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%);
  --favorite-player-collar-width: 26%;
  --favorite-player-collar-height: 14%;
  --favorite-player-torso-left: 18%;
  --favorite-player-torso-right: 18%;
  --favorite-player-torso-top: 0%;
  --favorite-player-torso-bottom: 0%;
  --favorite-player-torso-radius: 0;
}

.home-personalized-athlete-strip .home-favorite-player-card.is-football-jersey .home-favorite-player-card-torso {
  display: none;
}

.home-personalized-athlete-strip .home-favorite-player-card.is-hockey-jersey {
  --favorite-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%);
  --favorite-player-collar-width: 42%;
  --favorite-player-collar-height: 16%;
  --favorite-player-collar-radius: 0 0 12px 12px;
  --favorite-player-collar-trim-size: 4px;
}

.home-personalized-athlete-strip .home-favorite-player-card.is-baseball-jersey {
  --favorite-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%);
  --favorite-player-collar-width: 26%;
  --favorite-player-collar-height: 13%;
  --favorite-player-collar-radius: 0 0 18px 18px;
  --favorite-player-collar-trim-size: 2.4px;
}

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

.home-favorite-player-card-number {
  position: relative;
  z-index: 1;
  font-family: "Bebas Neue", sans-serif;
  margin-top: 0;
  font-size: 1.72rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--favorite-player-team-number, rgba(255, 255, 255, 0.78));
  -webkit-text-stroke: 1.2px color-mix(in srgb, var(--favorite-player-team-number, rgba(255, 255, 255, 0.78)) 42%, rgba(8, 20, 46, 0.32));
  text-shadow:
    0 2px 0 rgba(8, 20, 46, 0.26),
    0 0 12px rgba(255, 255, 255, 0.12);
  transform: translateY(8%);
  transition:
    color 160ms ease,
    text-shadow 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;
}

.home-favorite-player-card .home-favorite-player-card-number {
  opacity: 0;
}

.home-favorite-player-card.has-jersey-number .home-favorite-player-card-number {
  opacity: 1;
}

.home-favorite-player-card:not(.has-jersey-number) .home-favorite-player-card-jersey {
  background: none;
}

.home-favorite-player-card:not(.has-jersey-number)::after {
  opacity: 0.42;
}

.home-favorite-player-card:not(.has-jersey-number) .home-favorite-player-card-copy {
  align-items: center;
  padding: 0;
}

.home-favorite-player-card:not(.has-jersey-number) .home-favorite-player-card-copy span {
  display: none;
}

.home-personalized-athlete-strip .home-favorite-player-card-copy {
  position: absolute;
  top: 2.66rem;
  left: 50%;
  min-height: 0;
  width: calc(100% - 1rem);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 2;
  transform: translateX(-50%);
  pointer-events: none;
}

.home-personalized-athlete-strip .home-favorite-player-card-copy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54%;
  max-width: 98%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--favorite-player-name-color);
  font-family: "Bebas Neue", sans-serif;
  font-size: var(--favorite-player-jersey-name-size, 0.72rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: var(--favorite-player-jersey-name-spacing, 0.05em);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: scaleX(var(--favorite-player-jersey-name-scale, 1));
  transform-origin: center;
  text-shadow:
    0 1px 0 rgba(7, 14, 27, 0.32),
    0 0 8px rgba(7, 14, 27, 0.18);
}

  .home-personalized-athlete-strip[data-player-count="1"] .home-favorite-player-card-copy span {
  font-size: var(--favorite-player-jersey-name-size, 0.72rem);
}

.home-personalized-athlete-strip[data-player-count="2"] .home-favorite-player-card-copy span {
  font-size: var(--favorite-player-jersey-name-size, 0.72rem);
}

.home-personalized-athlete-strip[data-player-count="3"] .home-favorite-player-card-copy span,
.home-personalized-athlete-strip[data-player-count="4"] .home-favorite-player-card-copy span {
  font-size: var(--favorite-player-jersey-name-size, 0.72rem);
}

.home-personalized-athlete-strip[data-player-count="5"] .home-favorite-player-card-copy span,
.home-personalized-athlete-strip[data-player-count="6"] .home-favorite-player-card-copy span {
  font-size: var(--favorite-player-jersey-name-size, 0.72rem);
}

.home-personalized-athlete-strip[data-player-count="7"] .home-favorite-player-card-copy span,
.home-personalized-athlete-strip[data-player-count="8"] .home-favorite-player-card-copy span,
.home-personalized-athlete-strip[data-player-count="9"] .home-favorite-player-card-copy span,
.home-personalized-athlete-strip[data-player-count="10"] .home-favorite-player-card-copy span {
  font-size: var(--favorite-player-jersey-name-size, 0.72rem);
}

.home-personalized-story-grid-wrap {
  min-width: 0;
  display: grid;
  align-content: stretch;
  min-height: 0;
}

.home-magazine-rolling-player-hub.is-player-detail-open .home-personalized-story-grid-wrap {
  min-height: 0;
}

.home-magazine-rolling-player-hub.is-player-detail-open .home-personalized-player-detail {
  height: auto;
  align-self: start;
}

.home-personalized-story-panel,
.home-favorite-player-detail {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  border: 0;
  border-radius: calc(var(--radius-lg) - 0.2rem);
  background: linear-gradient(180deg, rgba(16, 34, 70, 0.98), rgba(8, 20, 46, 0.98));
  align-content: start;
  height: auto;
  box-shadow: none;
}

.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-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 {
  color: #f8fbff;
}

.home-personalized-athlete-strip .home-favorite-player-card:hover .home-favorite-player-card-number,
.home-personalized-athlete-strip .home-favorite-player-card:focus-visible .home-favorite-player-card-number,
.home-personalized-athlete-strip .home-favorite-player-card.is-active .home-favorite-player-card-number {
  color: #ffe3b8;
  text-shadow:
    0 2px 0 rgba(8, 20, 46, 0.28),
    0 0 18px rgba(255, 233, 189, 0.38);
  transform: translateY(8%) scale(1.06);
}

.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-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;
  line-height: 1.02;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}

.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-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%;
  margin-top: 0.92rem;
  max-height: none;
  overflow: visible;
  position: relative;
  z-index: 3;
  padding-top: 0.1rem;
}

.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.62rem;
  padding-top: 0.22rem;
}

.home-player-detail-header-main {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
}

.home-player-detail-header h3 {
  margin: 0.15rem 0 0;
  color: var(--navy);
  font-size: 1.02rem;
}

.home-player-detail-title-row {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
}

.home-player-detail-title-row h3 {
  margin: 0.15rem 0 0;
}

.home-player-detail-team-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.02rem;
  max-width: 10rem;
  padding: 0 0.48rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--home-player-detail-team-accent, #d2682a) 38%, white);
  background:
    linear-gradient(135deg,
      var(--home-player-detail-team-color, #183153) 0 70%,
      var(--home-player-detail-team-accent, #d2682a) 70% 100%);
  box-shadow:
    0 1px 2px rgba(8, 20, 46, 0.14),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
  transform: translateY(0.03rem);
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(8, 20, 46, 0.28);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-player-detail-avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  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-magazine-rolling-personalized .home-player-detail-back {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: #0c2c6a;
}

.home-magazine-rolling-personalized .home-player-detail-back:hover,
.home-magazine-rolling-personalized .home-player-detail-back:focus-visible {
  border-color: rgba(255, 216, 185, 0.58);
  background: #ffffff;
}

.home-magazine-rolling-personalized .home-player-detail-link {
  background: linear-gradient(180deg, rgba(236, 130, 72, 0.98), rgba(181, 82, 32, 0.98));
  color: #f8fbff;
}

.home-player-detail-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.28rem;
}

.home-player-detail-meta-chip,
.home-player-detail-chip {
  display: grid;
  gap: 0.2rem;
  padding: 0.34rem 0.4rem;
  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.58rem;
  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.74rem;
  line-height: 1.2;
}

.home-player-detail-section {
  display: grid;
  gap: 0.32rem;
}

.home-player-detail-section-label {
  color: var(--accent-strong);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-player-detail-chip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.28rem;
}

.home-player-detail-recent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.28rem;
}

.home-player-detail-game {
  display: grid;
  gap: 0.22rem;
  padding: 0.34rem 0.4rem;
  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.42rem;
  color: var(--muted);
  font-size: 0.64rem;
}

.home-player-detail-game-top strong {
  color: var(--navy);
}

.home-player-detail-game-context {
  color: rgba(28, 71, 145, 0.82);
  font-size: 0.6rem;
  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.64rem;
  line-height: 1.24;
}

.home-top-performer-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: stretch;
  min-height: 228px;
  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: 228px;
  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: start;
  gap: var(--top-performer-copy-gap, 0.26rem);
  padding: var(--top-performer-copy-padding, 0.82rem 0.98rem 1.16rem);
  min-width: 0;
}

.home-top-performer-copy .panel-label {
  margin: 0;
  color: var(--ink-soft);
  display: block;
  line-height: 1;
  font-size: var(--top-performer-label-size, 0.7rem);
}

.home-top-performer-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: var(--top-performer-name-size, 0.82rem);
  line-height: var(--top-performer-name-line-height, 1.08);
  letter-spacing: var(--top-performer-name-tracking, 0em);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.home-top-performer-statline {
  margin: 0;
  color: var(--navy);
  font-size: var(--top-performer-statline-size, 0.66rem);
  line-height: var(--top-performer-statline-line-height, 1.35);
  font-weight: 700;
}

.home-top-performer-fantasy {
  margin: 0;
  color: var(--accent);
  font-size: var(--top-performer-fantasy-size, 0.62rem);
  line-height: var(--top-performer-fantasy-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: var(--top-performer-system-size, 0.54rem);
  line-height: 1.02;
  font-weight: 700;
  display: block;
}

.home-top-performer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--top-performer-meta-size, 0.56rem);
  line-height: var(--top-performer-meta-line-height, 1.2);
  min-width: 0;
}

.home-top-performers-empty {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 1rem;
  border: 1px dashed rgba(28, 71, 145, 0.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.9));
  color: var(--muted);
  text-align: center;
}

.home-top-performers-empty p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.14;
}

.home-top-performer-card--compact {
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 42px;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(24, 34, 52, 0.08);
}

.home-top-performer-image-wrap--compact {
  min-height: 42px;
}

.home-top-performer-copy--compact {
  gap: 0.06rem;
  padding: 0.16rem 0.22rem 0.18rem;
}

.home-top-performer-copy--compact h3 {
  font-size: 0.92rem;
  line-height: 1.02;
}

.home-top-performer-copy--compact .home-top-performer-statline {
  font-size: 0.5rem;
  line-height: 1.05;
}

.home-top-performer-meta--compact {
  font-size: 0.44rem;
  line-height: 1.02;
  gap: 0.18rem;
}

.home-top-performers-pager--compact {
  gap: 0.28rem !important;
}

.home-top-performers-page-frame--compact {
  overflow: visible;
}

.home-top-performers-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.38rem 0.46rem !important;
}

.home-top-performers-controls--compact {
  gap: 0.22rem !important;
}

.home-top-performer-card--compact {
  grid-template-columns: 112px minmax(0, 1fr) !important;
  min-height: 188px !important;
  max-height: none !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 18px rgba(24, 34, 52, 0.08) !important;
  align-items: stretch !important;
}

.home-top-performer-image-wrap--compact {
  min-height: 188px !important;
  max-height: none !important;
  padding: 0.08rem !important;
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.03), rgba(12, 18, 28, 0.1)),
    linear-gradient(180deg, #eef4ff, #e7eefc) !important;
}

.home-top-performer-copy--compact {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 0.18rem !important;
  padding: 0.6rem 0.82rem 0.72rem !important;
  overflow: visible !important;
  min-width: 0 !important;
  min-height: 100% !important;
}

.home-top-performer-copy-body--compact {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-evenly !important;
  gap: 0.14rem !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.home-top-performer-copy--compact h3 {
  font-size: clamp(0.86rem, 1vw, 0.98rem) !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  overflow-wrap: anywhere !important;
  hyphens: auto !important;
}

.home-top-performer-copy--compact .home-top-performer-statline {
  font-size: 0.86rem !important;
  line-height: 1.06 !important;
  font-weight: 800 !important;
}

.home-top-performer-copy--compact .home-top-performer-fantasy {
  font-size: 0.82rem !important;
  line-height: 1.04 !important;
  color: var(--accent) !important;
  font-weight: 800 !important;
  margin: 0 !important;
}

.home-top-performer-meta--compact {
  font-size: 0.76rem !important;
  line-height: 1.06 !important;
  gap: 0.42rem !important;
  margin-top: 0 !important;
  flex-wrap: nowrap !important;
  min-width: 0 !important;
  align-items: end !important;
}

.home-top-performer-card--compact .home-top-performer-image {
  object-fit: cover !important;
  object-position: 50% 22% !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.home-top-performer-date--compact {
  color: var(--navy) !important;
  font-weight: 700 !important;
}

.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-magazine-story-card-game {
  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;
  opacity: 1;
  transition: opacity 180ms ease;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  overflow-anchor: none;
  scrollbar-width: none;
}

.home-magazine-scroll-row::-webkit-scrollbar {
  display: none;
}

.home-magazine-scroll-row[data-scroll-ready="false"] {
  opacity: 0;
}

.home-magazine-scroll-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  overflow-anchor: none;
}

.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;
  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-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;
  min-width: 0;
  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-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 {
  background-position: center;
  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;
  overflow-wrap: anywhere;
}

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

  .auth-signin-backdrop {
    display: none;
  }

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

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

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

  .home-top-performers-grid {
    grid-template-columns: 1fr;
  }

  .home-top-performer-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .home-top-performers-grid--compact {
    grid-template-columns: 1fr !important;
    gap: 0.58rem !important;
  }

  .home-top-performer-card--compact {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    min-height: 116px !important;
  }

  .home-top-performer-image-wrap--compact {
    min-height: 116px !important;
  }

  .home-top-performer-copy--compact {
    padding: 0.54rem 0.68rem 0.62rem !important;
  }

  .home-top-performer-copy--compact h3 {
    font-size: 0.84rem !important;
  }

  .home-top-performer-copy--compact .home-top-performer-statline {
    font-size: 0.72rem !important;
  }

  .home-top-performer-copy--compact .home-top-performer-fantasy {
    font-size: 0.68rem !important;
  }

  .home-top-performer-meta--compact {
    font-size: 0.62rem !important;
  }

  .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-field-wide {
    grid-column: auto;
  }

  .home-poster {
    min-height: 230px;
  }

  .snapshot-head {
    flex-direction: column;
  }

  .section-cover {
    min-height: 210px;
  }
}

@media (max-width: 759px) {
  .home-visual-page {
    width: min(100%, 100vw);
    overflow-x: hidden;
  }

  .home-page-with-rails {
    --home-side-rail-width: 100%;
    --home-side-rail-offset: 0px;
    --home-side-rail-height: auto;
    --home-rail-gap: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "main"
      "watch"
      "betting";
    gap: 1rem;
    width: 100%;
    padding-inline: 0;
  }

  .home-page-main-column,
  .home-page-with-watch-rail .home-watch-rail,
  .home-page-with-betting-rail .home-betting-rail {
    width: 100%;
    min-width: 0;
  }

  .home-page-main-column {
    grid-area: main;
    display: grid;
    gap: 1rem;
  }

  .home-page-with-watch-rail .home-watch-rail {
    grid-area: watch;
    margin-top: 0;
  }

  .home-page-with-betting-rail .home-betting-rail {
    grid-area: betting;
    margin-top: 0;
  }

  .home-page-with-rails:has(.home-favorite-player-drawer.is-open) > .home-watch-rail,
  .home-page-with-rails:has(.home-favorite-player-drawer-detail:not(.is-hidden)) > .home-watch-rail,
  .home-page-with-rails:has(.home-favorite-player-drawer.is-open) > .home-betting-rail,
  .home-page-with-rails:has(.home-favorite-player-drawer-detail:not(.is-hidden)) > .home-betting-rail {
    z-index: 1;
  }

  .home-watch-rail-card,
  .home-betting-rail-card,
  .home-betting-rail-card-detail {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    border-radius: 24px;
  }

  .home-watch-rail-card,
  .home-betting-rail-card {
    padding: 1rem;
  }

  .home-watch-rail-card {
    grid-template-rows: auto auto auto;
  }

  .home-watch-rail-card.is-detail,
  .home-betting-rail-card.is-detail {
    grid-template-rows: auto auto;
  }

  .home-watch-list,
  .home-betting-rail-list {
    min-height: 0;
    overflow: visible;
  }

  .home-watch-event-card,
  .home-betting-sport-card,
  .home-betting-parlay-card {
    border-radius: 18px;
  }

  .home-watch-detail,
  .home-watch-detail-main,
  .home-watch-detail-scoreboard,
  .home-watch-lineup-grid,
  .home-watch-lineup-card,
  .home-watch-team-card,
  .home-betting-detail,
  .home-betting-detail-main,
  .home-betting-detail-card {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .home-watch-lineup-grid,
  .home-watch-detail-scoreboard,
  .home-betting-detail-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-watch-lineup-card ol,
  .home-watch-lineup-card ul {
    max-height: none;
    overflow: visible;
  }

  body[data-page="home"] .topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.12rem 0 0.48rem;
  }

  body[data-page="home"] .topbar-home-controls {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(0.35rem, 2.2vw, 0.62rem);
  }

  body[data-page="home"] .topbar-home,
  body[data-page="home"] .topbar-dropdown-toggle {
    flex: 0 1 auto;
    min-height: 34px;
    padding: 0.48rem clamp(0.56rem, 2.6vw, 0.78rem);
    font-size: clamp(0.56rem, 2.5vw, 0.69rem);
    letter-spacing: 0.045em;
    white-space: nowrap;
  }

  body[data-page="home"] .topbar-dropdown {
    width: auto;
    flex: 0 1 auto;
  }

  body[data-page="home"] .topbar-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    width: min(92vw, 340px);
    margin-top: 0;
    transform: translateX(-50%);
  }

  .home-julio-chat-shell {
    gap: 0.7rem;
    padding: 0.78rem;
    border-radius: 22px;
  }

  .home-julio-chatbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.55rem;
    min-width: 0;
    min-height: 3.42rem;
    padding: 0.5rem 0.54rem 0.5rem 2.95rem;
    border-radius: 999px;
  }

  .home-julio-chatbar-label {
    grid-column: auto;
    font-size: clamp(0.52rem, 2.3vw, 0.64rem);
    letter-spacing: 0.075em;
  }

  .home-julio-chatbar-input {
    grid-column: auto;
    min-width: 0;
    width: 100%;
    min-height: 2.15rem;
    font-size: clamp(0.76rem, 3.1vw, 0.9rem);
  }

  .home-julio-chatbar-submit {
    grid-column: auto;
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .home-favorite-player-drawer {
    left: 0;
    width: 100%;
  }

  .home-favorite-player-drawer-toggle,
  .home-favorite-player-drawer-check {
    width: 36px;
    min-height: 100%;
    border-radius: 14px 0 0 14px;
  }

  .home-favorite-player-drawer-toggle-label,
  .home-favorite-player-drawer-check::after {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .home-favorite-player-drawer-panel,
  .home-favorite-player-drawer.is-open .home-favorite-player-drawer-panel,
  .home-favorite-player-drawer-check:checked ~ .home-favorite-player-drawer-panel,
  .home-favorite-player-drawer[open] .home-favorite-player-drawer-panel {
    left: 36px;
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
    border-radius: 0 18px 18px 0;
  }

  .home-favorite-player-drawer-content {
    justify-content: flex-start;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.28rem 2.7rem 0.3rem 0.72rem;
    scrollbar-width: thin;
  }

  .home-favorite-player-drawer-faces {
    display: flex;
    justify-content: flex-start;
    gap: 0.56rem;
    min-width: max-content;
  }

  .home-favorite-player-face {
    gap: 0.12rem;
    width: 4.25rem;
    max-width: 4.25rem;
  }

  .home-favorite-player-face-photo {
    width: 2.48rem;
    max-width: 2.48rem;
    border-width: 1px;
  }

  .home-favorite-player-face-name {
    max-width: 4.25rem;
    transform: none;
    font-size: clamp(0.48rem, 2.1vw, 0.58rem);
    line-height: 1.05;
    letter-spacing: 0.012em;
  }

  .home-favorite-player-drawer-settings {
    right: 0.7rem;
  }

  .home-favorite-player-drawer-detail {
    left: 0;
    right: 0;
    width: 100%;
  }

  .home-favorite-player-drawer-detail-card {
    width: min(100%, calc(100vw - 1rem));
    max-height: 70vh;
    overflow-y: auto;
  }

  .home-personalized-feed-shell,
  .home-game-news-wide-wrap,
  .home-player-news-wide-wrap,
  .home-photo-mosaic,
  .home-top-performers-section,
  .home-magazine-row-shell {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .home-magazine-row-shell {
    gap: 0.6rem;
    padding: 0.82rem;
    border-radius: 22px;
  }

  .home-page-with-rails.is-signed-out-home .home-magazine-row-title,
  .home-page-with-rails.is-signed-in-home .home-magazine-row-title,
  .home-page-with-rails.is-signed-in-home .home-personalized-feed-heading {
    gap: 0.52rem;
    font-size: clamp(1.35rem, 7vw, 2rem);
    text-align: center;
  }

  .home-magazine-scroll-row,
  .home-personalized-feed-row {
    gap: 0.72rem;
  }

  .home-magazine-story-card,
  .home-personalized-feed-row .home-magazine-story-card {
    flex: 0 0 min(78vw, 286px);
    min-height: 196px;
  }

  .home-top-performers-grid,
  .home-top-performers-grid--compact {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.72rem !important;
  }

  .home-top-performer-card,
  .home-top-performer-card--compact {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    min-height: 138px !important;
    max-height: none !important;
  }

  .home-top-performer-image-wrap,
  .home-top-performer-image-wrap--compact {
    min-height: 138px !important;
  }

  .home-top-performers-controls,
  .home-top-performers-controls--compact,
  .home-magazine-row-controls,
  .home-personalized-feed-controls {
    justify-content: center;
  }

  .home-feed-setup-backdrop {
    align-items: start;
    padding: 0.55rem;
    overflow-y: auto;
  }

  .home-feed-setup-card,
  .home-feed-settings-card,
  .home-favorite-player-setup-card {
    width: min(100%, calc(100vw - 1.1rem));
    max-height: calc(100vh - 1.1rem);
    border-radius: 22px;
    overflow-y: auto;
  }

  .home-feed-setup-card:has([data-home-feed-setup-step="1"].is-active),
  .home-feed-setup-card:has([data-home-feed-setup-step="3"].is-active) {
    width: min(100%, calc(100vw - 1.1rem));
    max-height: calc(100vh - 1.1rem);
  }

  .home-feed-setup-step,
  .home-feed-setup-step[data-home-feed-setup-step="1"],
  .home-feed-setup-step[data-home-feed-setup-step="3"].is-active {
    min-height: 0;
    height: auto;
    padding: 1.25rem 0.86rem 1rem;
    overflow: visible;
  }

  .home-feed-settings-layout,
  .home-feed-focus-builder,
  .home-feed-priority-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-feed-focus-builder {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .home-feed-focus-pie {
    width: min(10.2rem, 58vw);
  }

  .home-feed-focus-list {
    max-height: 44vh;
  }

  .home-feed-focus-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    text-align: center;
  }

  .home-feed-focus-team {
    text-align: center;
  }

  .home-feed-focus-row > strong {
    text-align: center;
  }

  .home-feed-setup-team-picker .account-team-selector {
    justify-content: flex-start;
  }

  .home-feed-setup-team-picker .account-team-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 44vh;
  }

  .home-feed-setup-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .home-feed-setup-primary,
  .home-feed-setup-secondary,
  .home-feed-setup-danger {
    flex: 1 1 9rem;
    min-width: 0;
  }
}

@media (max-width: 980px) {
  body[data-page="home"] .topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    padding: 0.12rem 0 0.5rem;
  }

  body[data-page="home"] .topbar-home-controls {
    width: min(100%, 34rem);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(0.38rem, 1.8vw, 0.88rem);
  }

  body[data-page="home"] .topbar-home,
  body[data-page="home"] .topbar-dropdown-toggle {
    flex: 0 1 auto;
    min-width: 0;
    min-height: clamp(34px, 4.4vw, 41px);
    padding: 0.5rem clamp(0.58rem, 2.1vw, 0.88rem);
    font-size: clamp(0.58rem, 1.8vw, 0.79rem);
    letter-spacing: 0.045em;
    white-space: nowrap;
  }

  body[data-page="home"] .topbar-dropdown {
    width: auto;
    flex: 0 1 auto;
  }

  body[data-page="home"] .topbar-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 50%;
    width: min(92vw, 420px);
    margin-top: 0;
    transform: translateX(-50%);
  }
}
