.mobile-dock { display: none; }
.sidebar .drawer-close { display: none; }
.search-result .search-team { display: none; }

.channel-directory {
  max-width: 1120px;
  display: grid;
  gap: 32px;
  padding: 2px 0 6px;
}
.channel-directory h2 {
  margin: 0 0 13px;
  font-size: clamp(18px, 1.75vw, 23px);
  letter-spacing: -.04em;
}
.channel-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 9px; gap: 12px; }
.channel-heading h2 { margin: 0; }
.explore-links { display: flex; align-items: center; gap: clamp(18px, 4vw, 30px); border-bottom: 1px solid #343434; }
.explore-links a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; color: #a9aaa6; font-size: 14px; font-weight: 480; }
.explore-links a:hover, .explore-links a[aria-current] { color: #f4f4f0; }
.explore-links a[aria-current] { border-bottom-color: #efefec; font-weight: 590; }
main > .explore-links { margin: 0 0 20px; }
.desk-action { display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-height: 44px; font-size: 12px; font-weight: 540; border: 1px solid #454545; border-radius: 9px; padding: 0 15px; background: #efefeb; color: #111; }
.desk-action:hover { background: #fff; }
.channel-leagues,
.channel-formats,
.channel-shortcuts {
  display: grid;
  gap: 12px;
}
.channel-leagues,
.channel-shortcuts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.channel-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.channel-league {
  --league-tint: 167, 203, 115;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 3px;
  min-height: 144px;
  padding: 18px;
  border: 1px solid rgba(var(--league-tint), .29);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 95% 8%, rgba(var(--league-tint), .12), transparent 67%),
    linear-gradient(128deg, #151715, #0e100f);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
}
.league-nfl { --league-tint: 214, 163, 113; }
.league-soccer { --league-tint: 104, 186, 184; }
.league-mlb { --league-tint: 143, 172, 221; }
.league-ball {
  position: absolute;
  right: 24px;
  top: -7px;
  z-index: -1;
  color: rgba(var(--league-tint), .5);
  transform: rotate(-11deg);
  mask-image: linear-gradient(#000 45%, rgba(0, 0, 0, .3));
}
.league-ball svg { width: 100px; height: 100px; stroke-width: .8; }
.channel-direction {
  position: absolute;
  top: 13px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: #d4d8d2;
  background: #121411;
}
.channel-league strong {
  font: italic 800 clamp(32px, 3vw, 43px)/.95 'Barlow Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.channel-league small { color: rgb(var(--league-tint)); font-size: 12px; }
.channel-format,
.channel-shortcuts a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #191a19, #111211);
  border-radius: 13px;
}
.channel-format { min-height: 74px; padding: 14px 15px; }
.format-glyph {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #292e26;
  color: #cae9b4;
}
.channel-format strong,
.channel-format small { display: block; }
.channel-format strong { font-size: 14px; font-weight: 640; }
.channel-format small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.channel-trail { margin-left: auto; color: var(--faint); }
.channel-shortcuts a { padding: 14px 12px; min-height: 47px; font-size: 12px; font-weight: 540; }
.channel-shortcuts a > svg:first-child { color: var(--muted); }
.channel-shortcuts a > svg:last-child { color: var(--faint); margin-left: auto; }
@media (hover:hover) {
  .channel-league:hover { border-color: rgba(var(--league-tint), .7); }
  .channel-format:hover, .channel-shortcuts a:hover { border-color: #5b6458; }
}

@media (max-width: 900px) {
  .channel-leagues, .channel-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root {
    --mobile-gutter: clamp(16px, 4.6vw, 24px);
    --mobile-rule: #29292c;
    --mobile-muted: #a4a4a9;
  }
  body:not(.signup-mode) #main {
    padding: 22px max(var(--mobile-gutter), env(safe-area-inset-right)) 26px max(var(--mobile-gutter), env(safe-area-inset-left));
  }
  #main > .page-heading {
    min-height: 42px;
    margin: 0 0 14px;
  }
  #main > .page-heading h1 {
    font: 630 clamp(28px, 7.5vw, 33px)/1.13 Inter, Arial, sans-serif;
    letter-spacing: -.053em;
  }
  #main .date-label { display: none; }
  .topbar {
    gap: 4px;
    height: auto;
    min-height: calc(56px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) max(var(--mobile-gutter), env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));
    background: #070708;
    border-color: var(--mobile-rule);
    box-shadow: none;
    backdrop-filter: none;
  }
  .topbar .mobile-brand { gap: 2px; }
  .topbar .mobile-brand a { gap: 5px; min-height: 44px; }
  .topbar .mobile-brand a span { font-size: 19px; letter-spacing: -.06em; }
  .topbar .mobile-brand button, .topbar .global-search { width: 44px; height: 44px; color: #c6c6ca; }
  .topbar .global-search .icon { width: 18px; height: 18px; }
  .topbar .top-right .balance {
    min-height: 44px; border: 0; border-radius: 0; padding: 2px 0 2px 8px;
    background: transparent; box-shadow: none; text-align: right;
  }
  .topbar .balance-practice { color: var(--mobile-muted); font-size: 10px; }
  .topbar #top-cash { font-size: 13px; font-weight: 590; letter-spacing: -.025em; color: #f1f1f3; font-variant-numeric: tabular-nums; }
  .sidebar {
    width: min(292px, 86vw); padding-block: env(safe-area-inset-top) env(safe-area-inset-bottom);
    background: #101012; border-color: #333336; box-shadow: 12px 0 40px #0007;
  }
  .sidebar .brand { min-height: 68px; height: 68px; margin-inline: 20px; }
  .sidebar .brand img { width: 27px; height: 27px; }
  .sidebar .brand span { font-size: 24px; letter-spacing: -.075em; }
  .sidebar .drawer-close { display: grid; position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; }
  .sidebar #nav { padding: 2px 12px 12px; }
  .sidebar .nav-label { color: var(--mobile-muted); font-size: 11px; font-weight: 550; text-transform: none; letter-spacing: .01em; margin: 10px 12px 3px; }
  .sidebar .nav-group + .nav-group { margin-top: 12px; }
  .sidebar .nav-link { min-height: 44px; margin: 0; padding-inline: 12px; color: #d5d5d9; font-size: 14px; }
  .sidebar .nav-link .icon { color: #a6a6ae; }
  .sidebar .nav-link.active { background: #252529; border-color: transparent; box-shadow: none; color: #fff; }
  .sidebar .nav-link.active .icon { color: #fff; }
  .sidebar .sidebar-tail { padding: 8px 15px 12px; }
  .sidebar .help-link { min-height: 44px; }
  .sidebar .profile { min-height: 50px; margin: 0; padding-top: 10px; }
  .menu-open { overflow: hidden; }
  .topbar .top-right { gap: 3px; }
  .topbar .balance { max-width: 36vw; min-width: 0; }
  .topbar #top-cash { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .has-mobile-dock {
    --dock-height: calc(60px + env(safe-area-inset-bottom, 0px));
  }
  .has-mobile-dock .main-shell { padding-bottom: var(--dock-height); }
  .has-mobile-dock #toast { bottom: calc(var(--dock-height) + 8px); }
  .has-mobile-dock .mobile-dock {
    position: fixed;
    z-index: 6;
    inset: auto 0 0;
    height: var(--dock-height);
    padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    border-top: 1px solid var(--mobile-rule);
    background: #0a0a0b;
  }
  .mobile-dock a {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 46px;
    color: #aaa;
    border-radius: 0;
  }
  .mobile-dock a svg { display: block; width: 26px; height: 26px; stroke-width: 1.7; }
  .mobile-dock a[aria-current="page"] { color: #fff; }
  .mobile-dock a[aria-current="page"] svg { fill: currentColor; stroke-width: 1.25; }
  .mobile-dock a:focus-visible { outline-color: white; outline-offset: -2px; }
  .menu-open .mobile-dock { visibility: hidden; }
  .explore-links { gap: 24px; border-color: var(--mobile-rule); }
  .explore-links a { min-height: 44px; font-size: 13px; }
  .channel-directory { gap: 25px; }
  .channel-directory h2 { font: 590 16px/1.3 Inter, Arial, sans-serif; margin-bottom: 10px; letter-spacing: -.025em; }
  .channel-heading { margin: 0; }
  .channel-leagues { gap: 8px; }
  .channel-league {
    min-height: 84px; padding: 14px; border: 1px solid var(--mobile-rule); border-radius: 12px;
    background: #111113; box-shadow: none; justify-content: center; gap: 4px;
  }
  .channel-league strong { font: 620 19px/1.1 Inter, Arial, sans-serif; letter-spacing: -.045em; text-transform: none; }
  .channel-league small { color: var(--mobile-muted); font-size: 11px; }
  .league-ball { z-index: 0; right: 12px; top: 50%; transform: translateY(-50%); color: #b0b0b6; mask-image: none; }
  .league-ball svg { width: clamp(24px,8vw,34px); height: auto; stroke-width: 1.2; }
  .channel-direction { display: none; }
  .channel-formats, .channel-shortcuts { display: grid; grid-template-columns: 1fr; gap: 0; }
  .channel-directory .channel-format, .channel-directory .channel-shortcuts a {
    background: none; border: 0; border-bottom: 1px solid var(--mobile-rule); border-radius: 0;
    min-height: 54px; padding: 9px 2px; gap: 12px; font-size: 14px;
  }
  .channel-directory .channel-format { min-height: 62px; }
  .format-glyph { width: 32px; height: 32px; color: #dedee0; background: transparent; }
  .channel-directory .channel-shortcuts a > .icon:first-child { width: 32px; color: #d0d0d5; }
  .channel-format small { color: var(--mobile-muted); }
  .channel-trail, .channel-directory .channel-shortcuts a > .icon:last-child { color: #93939a; }
}
@media (max-width: 520px) {
  .channel-formats { grid-template-columns: 1fr; }
}
@media (max-width: 355px) {
  .channel-league { padding-inline: 11px; }
  .league-ball { right: 9px; }
}

body.signup-mode .sidebar, body.signup-mode .topbar, body.signup-mode .mobile-dock,
body.signup-mode .nav-scrim { display: none; }
body.signup-mode .main-shell { margin: 0; padding: 0; }
body.signup-mode #main { max-width: none; margin: 0; padding: 0; }
