:root {
  --bg: #07111c;
  --bg-elevated: #0a1624;
  --card: #0d1a2b;
  --card-2: #0a1828;
  --cell: #0c1c2e;
  --hover: #102236;
  --drawer-bg: #102033;
  --line: #243a54;
  --grid-line: #163049;
  --text: #f4f7fb;
  --muted: #b7c4d6;
  --tick-strong: #d5deea;
  --gold: #f0c75e;
  --gold-ink: #07111c;
  --live: #e10600;
  --info: #7fd0ff;
  --gutter: clamp(72px, 11vw, 108px);
  --hour: calc(100% / var(--hours, 12));
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --radius: 8px;
  --radius-pill: 999px;
  --control-h: 36px;
  --header-h: 52px;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --display: "IBM Plex Sans Condensed", "IBM Plex Sans", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 160ms;
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold);
  --btn-face: linear-gradient(180deg, #1c3a56 0%, #12263a 48%, #0a1624 100%);
  --btn-face-hover: linear-gradient(180deg, #274866 0%, #17344d 48%, #102033 100%);
  --btn-gold: linear-gradient(180deg, #ffe7a8 0%, #f0c75e 40%, #c9962a 100%);
  --btn-gold-hover: linear-gradient(180deg, #fff3c4 0%, #f3d06e 40%, #d4a534 100%);
  --btn-inset: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.38);
  --btn-gold-inset: inset 0 1px 0 rgba(255, 255, 255, 0.62), inset 0 -1px 0 rgba(90, 55, 0, 0.3);
  --btn-live: linear-gradient(180deg, #ff5344 0%, #e10600 40%, #9a0500 100%);
  --btn-live-inset: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(70, 0, 0, 0.35);
  --well: #061018;
  --well-line: #12283c;
}

@property --hours {
  syntax: "<integer>";
  inherits: true;
  initial-value: 12;
}

@property --slots {
  syntax: "<integer>";
  inherits: true;
  initial-value: 12;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip;
}

body.drawer-open {
  overflow: hidden;
}

.skip {
  position: absolute;
  left: var(--space-3);
  top: -48px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
  border-radius: 6px;
}

.skip:focus {
  top: var(--space-2);
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 var(--space-3) var(--space-3);
  overflow-x: hidden;
  overflow-x: clip;
  gap: var(--space-2);
}

.masthead,
.toolbar,
.board {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.masthead {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 8;
  margin: 0 calc(var(--space-3) * -1);
  padding: var(--space-1) var(--space-3);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  flex: 0 0 auto;
  display: block;
  margin: 0;
  padding: 2px 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.page.is-home .board {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.page.is-home .chart-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.page.is-home-links .board {
  display: block;
  overflow: auto;
}

.home-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0 16px;
}

.home-link {
  appearance: none;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.home-link:hover,
.home-link:focus-visible {
  border-color: color-mix(in srgb, var(--gold) 50%, var(--line));
  background: var(--hover);
}

.home-link .league-mark {
  width: 36px;
  height: 36px;
}

.home-link-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.home-link-copy strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
}

.home-link-copy span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.home-link-next {
  color: var(--text) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-link-go {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.home-link.is-empty {
  opacity: 0.58;
}

.home-filters,
.mine-strip {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 8px;
  background: var(--bg);
}

.mine-strip {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.mine-strip::-webkit-scrollbar {
  display: none;
}

.mine-chip-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 4px 6px 4px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--card);
}

.mine-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.mine-chip img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mine-chip .mine-last {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.mine-chip-wrap.is-team {
  padding: 4px 4px 4px 6px;
}

.home-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.home-filter.on {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--gold-ink);
}

.home-filter input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: currentColor;
  cursor: pointer;
}

.home-jump {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.league-mark {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.league-mark.is-stack {
  object-fit: cover;
  object-position: top center;
}

.home-more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--gold) 16%, var(--bg));
  color: var(--gold);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.home-more[hidden] {
  display: none !important;
}

.home-more:hover {
  background: var(--gold);
  color: var(--gold-ink);
}

.home-sport-row {
  scroll-margin-top: 48px;
  overflow: visible;
}

.home-sport-row.is-clipped .track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20px;
  background: linear-gradient(transparent, #0a1828);
  pointer-events: none;
}

.page.is-home {
  --gutter: clamp(104px, 14vw, 148px);
}

.home-sport-gutter {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: visible;
  padding: 0;
}

.home-sport-pin {
  position: sticky;
  top: 44px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  min-height: 88px;
  padding: 8px 6px;
  background: #0c1c2e;
}

.home-sport-open {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.home-sport-open span {
  min-width: 0;
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.home-sport-open .league-mark {
  width: 28px;
  height: 28px;
}

.home-sport-open:hover {
  color: var(--gold);
}

.home-sport-count {
  width: 100%;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.home-sport-live {
  color: var(--live);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.home-sport-more {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 100%;
  min-height: 30px;
  margin-top: 4px;
  padding: 4px 3px;
  border: 1px solid var(--gold);
  border-radius: 5px;
  background: rgb(240 199 94 / 0.5);
  color: var(--text);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
}

.home-sport-more strong {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.home-sport-more i {
  font-style: normal;
  font-weight: 900;
  font-size: 1.15em;
  line-height: 1;
}

.home-sport-more span {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.8;
}

.home-sport-more.is-open {
  background: rgb(240 199 94 / 0.28);
}

.home-sport-more:hover {
  background: rgb(240 199 94 / 0.7);
}

.page.is-home .view-modes,
.page.is-home:not(.is-mine) .toolbar-extras,
.page.is-home:not(.is-mine) .team-picker {
  display: none;
}

.page.is-mine .mine-body,
.page.is-mine .team-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.brand-word {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(20px, 3.2vw, 26px);
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 6px 1px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leagues.seg {
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.leagues .home-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  padding: 0;
}

.leagues .home-tab svg {
  display: block;
}

.leagues::-webkit-scrollbar {
  display: none;
}

.leagues.is-more-open {
  overflow: visible;
}

.more-nav {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
}

.more-nav > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-right: 0;
}

.more-nav > button svg {
  display: block;
  flex: 0 0 auto;
}

.more-nav.is-open > button:not(.active) {
  color: var(--text);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
}

.more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  min-width: 188px;
  padding: 6px;
  background: var(--drawer-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.more-menu[hidden] {
  display: none;
}

.leagues .more-menu button,
.seg .more-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
}

.leagues .more-menu button:hover,
.seg .more-menu button:hover {
  background: var(--hover);
  background-image: none;
  color: var(--text);
}

.leagues .more-menu button.active,
.seg .more-menu button.active {
  background: var(--gold);
  background-image: var(--btn-gold);
  box-shadow: var(--btn-gold-inset);
  color: var(--gold-ink);
}

.sport-nav {
  display: none;
  position: relative;
  min-width: 0;
}

#sportNavBtn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  max-width: 11rem;
  min-height: var(--control-h);
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#sportNavBtn svg {
  flex: 0 0 auto;
}

.sport-nav.is-open #sportNavBtn {
  border-color: var(--gold);
  color: var(--gold-ink);
  background: var(--gold);
  background-image: var(--btn-gold);
}

.sport-menu {
  position: absolute;
  left: 0;
  right: auto;
  top: calc(100% + 6px);
  z-index: 22;
  width: min(260px, calc(100vw - 20px));
  max-height: min(70dvh, 480px);
  overflow: auto;
  padding: 6px;
  background: var(--drawer-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.sport-menu[hidden] {
  display: none;
}

.sport-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.sport-menu button:hover,
.sport-menu button:focus-visible {
  background: var(--hover);
}

.sport-menu button.active {
  background: var(--gold);
  background-image: var(--btn-gold);
  color: var(--gold-ink);
}

.day-pick {
  display: none;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-weight: 600;
}

.account {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.account-icon {
  display: none;
  flex: 0 0 auto;
}

#accountBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.account-soon {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

#accountBtn.on .account-soon,
#accountBtn:not(.is-soon) .account-soon {
  display: none;
}

.coming-soon {
  margin: 8px 0 10px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 12px;
}

.profile-photo,
.profile-initial {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
}

.profile-id {
  min-width: 0;
}

.profile-id h3 {
  margin: 0 0 4px;
  text-transform: none;
  letter-spacing: 0;
}

.profile-username {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  word-break: break-word;
}

.profile-favs {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.profile-fav {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-2);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.profile-fav:hover {
  border-color: var(--gold);
}

.profile-fav-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.profile-fav-copy b {
  font-size: 14px;
}

.profile-fav-copy span {
  color: var(--muted);
  font-size: 12px;
}

.setting-block {
  margin: 0 0 12px;
}

.setting-block p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.setting-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.setting-opt {
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.setting-opt.on {
  background: var(--btn-gold);
  color: var(--gold-ink);
  border-color: transparent;
}

#signOut {
  margin-top: 8px;
}

.fav-nav {
  position: relative;
}

.fav-split {
  display: flex;
  align-items: stretch;
}

.fav-icon {
  display: none;
  flex: 0 0 auto;
}

.fav-split #favNavBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.fav-split #favMenuBtn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  min-width: 32px;
  padding: 0 8px;
}

.fav-nav.is-open #favMenuBtn {
  background: var(--gold);
  color: var(--gold-ink);
  border-color: var(--gold);
}

.fav-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  width: min(320px, 88vw);
  max-height: min(70vh, 420px);
  overflow: auto;
  padding: 6px;
  background: var(--drawer-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.fav-menu[hidden] {
  display: none;
}

.account .fav-menu button,
.fav-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
}

.account .fav-menu button:hover,
.fav-menu button:hover {
  background: var(--hover);
  color: var(--text);
}

.fav-menu img,
.logo-outline {
  filter:
    drop-shadow(0 0 0.7px #fff)
    drop-shadow(0 0 0.7px #fff)
    drop-shadow(0 0 1.2px rgba(255, 255, 255, 0.9));
}

.fav-menu img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.fav-menu .abbr {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.fav-goto-mark {
  color: var(--gold);
  width: 22px;
  text-align: center;
}

.fav-label {
  margin: 8px 8px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fav-sep {
  height: 1px;
  margin: 6px 4px;
  background: var(--line);
}

.fav-empty {
  padding: 10px 8px;
  color: var(--muted);
  font-size: 13px;
}

.mine-page {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.mine-group {
  min-width: 0;
}

.mine-group .section-label {
  margin-top: 0;
}

.mine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}

.mine-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
}

.mine-card:hover,
.mine-card:focus-visible {
  background: var(--hover);
  outline: none;
}

.mine-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.mine-card img.player,
.combo-option img.player,
.team-head img.player,
.player-chip img,
img.silhouette,
img.player {
  object-fit: cover;
  border-radius: 50%;
  background: #163049 url("/silhouette.svg") center / cover no-repeat;
}

.mine-card div {
  min-width: 0;
  flex: 1;
}

.mine-card b {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.mine-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.mine-card .star {
  margin-left: auto;
}

.home {
  display: grid;
  gap: 22px;
  padding-bottom: var(--space-5);
  min-width: 0;
}

.home-block {
  min-width: 0;
}

.home-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: 8px;
}

.home-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-head .meta {
  margin: 0;
}

.home-live {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.home-live-card,
.sport-card,
.home-fav {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.home-live-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  position: relative;
  min-height: 72px;
  padding-right: 52px;
}

.home-live-card:hover,
.sport-card:hover,
.home-fav:hover,
.home-live-card:focus-visible,
.sport-card:focus-visible,
.home-fav:focus-visible {
  background: var(--hover);
  outline: none;
}

.home-live-card .live-chip {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 1px 6px;
  border-radius: 2px;
  background: var(--live);
  color: #fff;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.home-sides {
  display: flex;
  align-items: center;
  gap: 4px;
}

.home-sides img,
.sport-card .home-sides img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.home-copy {
  min-width: 0;
}

.home-copy b,
.sport-card b {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.home-copy span,
.sport-card .home-meta {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.home-favs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 200px);
  gap: 8px;
  overflow-x: auto;
}

.home-fav {
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
}

.home-fav img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.sport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.sport-card {
  min-height: 128px;
  align-content: start;
}

.sport-card .sport-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.sport-card .sport-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sport-card .sport-live {
  color: var(--live);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.sport-card .featured {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.sport-card .empty-line {
  color: var(--muted);
  font-size: 13px;
}

.toolbar {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-3) 0 var(--space-2);
  background: transparent;
  border: 0;
}

.toolbar-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  min-width: 0;
}

.view-modes.seg,
.mine-modes.seg,
.mine-range.seg {
  justify-self: start;
}

.toolbar-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  max-width: 100%;
}

.toolbar-extras:not(:has(> :not([hidden]))) {
  display: none;
}

.kicker {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.seg {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
}

.days,
.view-modes,
.mine-modes {
  display: flex;
  flex-wrap: nowrap;
  max-width: 100%;
}

.view-modes.seg,
.mine-modes.seg,
.mine-range.seg {
  overflow-x: auto;
  scrollbar-width: none;
  flex: 0 0 auto;
}

.view-modes button,
.mine-modes button,
.mine-range button {
  flex: 1 0 auto;
  min-width: 3.8rem;
}

.view-modes button[data-view="team"] {
  min-width: 7.4rem;
}

.label-short {
  display: none;
}

.days {
  overflow-x: auto;
  scrollbar-width: none;
}

.days::-webkit-scrollbar {
  display: none;
}

.days[hidden],
.view-modes[hidden],
.mine-modes[hidden],
.mine-range[hidden],
.field[hidden],
.day-rail[hidden],
.month-rail[hidden],
.team-picker[hidden] {
  display: none !important;
}

.day-rail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.day-rail:not(.paged) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "week"
    "days";
}

.day-rail:not(.paged) .day-shift,
.day-rail:not(.paged) .day-pick {
  display: none;
}

.day-rail:not(.paged) #weekWrap {
  grid-area: week;
}

.day-rail:not(.paged) .days {
  grid-area: days;
}

.day-shift {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  min-width: 36px;
  min-height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--gold);
  font-size: 22px;
  line-height: 0;
  cursor: pointer;
}

.day-shift svg {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.day-shift:hover:not(:disabled) {
  color: var(--text);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
}

.day-shift:disabled {
  color: var(--muted);
  opacity: 0.38;
  cursor: default;
}

.leagues button,
.days button,
.view-modes button,
.mine-modes button,
.field select,
.month-combo-select,
.drawer-close,
.account button,
.star,
.text-btn,
.player-chip,
.cal-nav,
.sign-form button,
.empty-action,
.confirm-keep,
.confirm-drop {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--muted);
  min-height: var(--control-h);
  padding: 0 11px;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.seg button {
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  min-height: 34px;
}

.seg button:last-child {
  border-right: 0;
}

.days.seg button,
.days button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-height: 46px;
  padding: 5px 12px;
  line-height: 1.1;
}

.days .day-sub {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
}

.days.seg {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

.days button.is-empty {
  opacity: 0.55;
}

.leagues button:hover,
.days button:hover,
.view-modes button:hover,
.mine-modes button:hover,
.account button:hover,
.text-btn:hover,
.cal-nav:hover,
.player-chip:hover,
.empty-action:hover,
.confirm-keep:hover,
.confirm-drop:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
}

.leagues button.active,
.days button.active,
.view-modes button.active,
.mine-modes button.active,
.account button.on,
.star.on,
.player-chip.on {
  background: var(--gold);
  color: var(--gold-ink);
  border-color: var(--gold);
}

.seg button.active {
  border-right-color: var(--gold);
}

.star {
  width: var(--control-h);
  min-width: var(--control-h);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.star svg,
.drawer-close svg {
  display: block;
}

.field {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
}

.field select {
  min-width: 0;
  width: min(240px, 100%);
  max-width: 100%;
}

.team-picker {
  min-width: 0;
  max-width: 100%;
}

.combo {
  position: relative;
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.combo-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--display);
  font-size: 11px;
}

.combo input {
  appearance: none;
  width: 100%;
  min-height: var(--control-h);
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-weight: 600;
}

.combo input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--ring);
}

.combo-menu {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: min(320px, 50vh);
  overflow: auto;
  background: var(--drawer-bg, var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.combo-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.combo-option {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.combo-option img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

.combo-name {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.combo-name .country {
  flex: 0 0 auto;
  margin-left: 0;
}

.combo-option .abbr {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--display);
  letter-spacing: 0.06em;
  font-size: 12px;
  flex: 0 0 auto;
}

.combo-row .star {
  flex: 0 0 auto;
  align-self: center;
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0;
}

.team-empty {
  margin: 0;
  padding: 18px 14px;
  color: var(--muted);
  font-size: 13px;
}

.combo-option[aria-selected="true"],
.combo-option:hover {
  background: var(--hover);
}

.combo-empty {
  padding: 10px 8px;
  color: var(--muted);
  font-size: 13px;
}

.fav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.sched-link {
  appearance: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.sched-link span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sched-link:hover,
.sched-link:focus-visible {
  color: #fff;
}

.sched-link:hover span,
.sched-link:focus-visible span {
  text-decoration: underline;
}

.sign-form {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  margin: var(--space-3) 0;
}

.sign-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.sign-form input {
  min-width: 0;
  min-height: var(--control-h);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-pill);
  padding: 0 14px;
  font: inherit;
}

.text-btn {
  margin-top: var(--space-1);
}

.confirm-fav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: var(--space-3) 0 0;
}

.confirm-fav img,
.confirm-fav .confirm-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.confirm-fav img.player {
  object-fit: cover;
  border-radius: 50%;
}

.confirm-fav .meta {
  margin: 0;
  min-width: 0;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-4);
}

.confirm-keep,
.confirm-drop {
  min-height: var(--control-h);
  padding: 0 16px;
}

.confirm-keep,
.confirm-keep:hover {
  background: var(--gold);
  background-image: var(--btn-gold);
  color: var(--gold-ink);
  border-color: var(--gold);
}

.confirm-drop,
.confirm-drop:hover {
  color: var(--text);
  border-color: var(--line);
}

.section-label {
  margin: var(--space-4) 0 var(--space-2);
  font-weight: 700;
}

.player-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-2);
}

.player-chip,
.player-chip.star {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.player-chip.on {
  background: color-mix(in srgb, var(--gold) 20%, var(--card));
  color: var(--text);
  border-color: var(--gold);
}

.player-chip img,
.mini-logo {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 50%;
}

.team-sched,
.cal,
.chart-scroll,
.stream {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-2);
}

.team-head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.team-head img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.team-head h2 {
  margin: 2px 0;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-list {
  display: grid;
}

.team-game {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(118px, 22%) minmax(0, 1fr) 56px 40px;
  align-items: center;
  gap: 8px 12px;
  min-height: 46px;
  padding: 6px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  background: var(--home, var(--card-2));
  color: #fff;
}

.team-meta {
  display: contents;
}

.team-game::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--away, var(--card));
  clip-path: polygon(0 0, 100% 0, 100% 28%, 0 72%);
  z-index: 0;
  pointer-events: none;
}

.team-game::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 28, 0.28), rgba(7, 17, 28, 0.16));
  z-index: 0;
  pointer-events: none;
}

.team-game > * {
  position: relative;
  z-index: 1;
}

.team-game:first-child,
.team-month + .team-game {
  border-top: 0;
}

.sched-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--line);
}

.sched-toolbar h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-layout {
  flex: 0 0 auto;
}

.team-phase {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.team-week {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.team-game.is-bye {
  background: var(--card-2);
  color: var(--muted);
  cursor: default;
}

.team-game.is-bye::before,
.team-game.is-bye::after {
  display: none;
}

.team-bye-label {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.team-cal-wrap {
  display: grid;
}

.team-cal .cal {
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
}

.team-cal .cal:first-child {
  border-top: 0;
}

.team-month {
  padding: 12px 14px 6px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 199, 94, 0.08);
  border-top: 1px solid var(--line);
}

.team-list .team-month:first-child {
  border-top: 0;
}

.team-list.is-day-list .team-date,
.team-list.is-by-day .team-date {
  display: none;
}

.team-result {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
}

.team-result:empty {
  visibility: hidden;
}

.team-result.win,
.team-game.is-win .team-result {
  color: #0d5c28;
}

.team-result.loss,
.team-game.is-loss .team-result {
  color: #8b1515;
}

.team-result.tie,
.team-game.is-tie .team-result {
  color: #7a5c10;
}

.team-game.live {
  box-shadow: inset 0 0 0 2px var(--live);
}

.team-game:hover,
.team-game:focus-visible {
  box-shadow: inset 0 0 0 2px #fff;
}

.team-when {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
}

.team-date {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.team-time {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-size: 11px;
}

.team-match {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.team-sides {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.team-sides .side {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.team-sides .side.is-loss,
.bar .row.is-loss,
.box-side.is-loss,
.final-line .is-loss {
  opacity: 0.52;
}

.team-sides .side.is-win .nm,
.bar .row.is-win .nm {
  font-weight: 800;
}

.wl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15em;
  margin-left: 0;
  margin-right: 0;
  padding: 1px 4px;
  border-radius: 3px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.wl.win {
  background: #1f8a4c;
  color: #fff;
}

.wl.loss {
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.88);
}

.wl.tie {
  background: #8a6d1f;
  color: #fff;
}

.country {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  vertical-align: middle;
  color: inherit;
}

.country img {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.country abbr {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.88;
}

.bar .country {
  margin-left: 4px;
}

.bar .country img {
  width: 14px;
  height: 10px;
}

.combo-option .country,
.player-chip .country {
  margin-left: 4px;
}

.team-sides .nm {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  flex: 0 0 auto;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.team-sides .nm-short {
  display: none;
}

.team-game.use-short .nm-full {
  display: none;
}

.team-game.use-short .nm-short {
  display: inline;
}

.team-sides .at {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.team-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.45));
}

.team-logo.player {
  object-fit: cover;
  border-radius: 50%;
}

.team-watch {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.team-watch .net-mark {
  width: 52px;
  height: 22px;
}

.team-watch .net-mark:has(.net-fallback) {
  width: 100%;
  height: auto;
}

.team-watch .net-fallback {
  font-size: 9px;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.team-how {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-match .mark-pill {
  flex: 0 0 auto;
}

.team-panels {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.team-panels button {
  flex: 1;
  min-height: 36px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--display);
}

.team-panels button:last-child {
  border-right: 0;
}

.team-panels button.active {
  color: var(--gold-ink);
  background: var(--gold);
}

.team-panel[hidden] {
  display: none !important;
}

.team-about,
.team-depth,
.team-roster {
  padding: 12px 14px 16px;
}

.wiki-extract {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.wiki-link {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.leaders,
.depth-grid,
.roster-grid {
  display: grid;
  gap: 10px;
}

.leaders {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  margin: 10px 0 0;
}

.leader {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
}

.leader b {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  text-transform: uppercase;
}

.leader span {
  color: var(--muted);
  font-size: 11px;
}

.depth-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.team-depth {
  padding: 0;
}

.depth-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-width: 0;
}

.depth-half {
  min-width: 0;
  padding: 12px 14px 16px;
  border-bottom: 1px solid var(--line);
}

.depth-split .depth-half + .depth-half {
  border-left: 1px solid var(--line);
}

.depth-half header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.depth-half h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.depth-half header span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.depth-pos-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.depth-pos-row .pos {
  color: var(--gold);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.depth-pos-row ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.depth-photo {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #163049 url("/silhouette.svg") center / cover no-repeat;
}

.depth-pos-row li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 3px;
  font-size: 13px;
  color: var(--muted);
}

.depth-pos-row li.starter {
  color: var(--text);
  font-weight: 700;
}

.depth-tag {
  flex: 0 0 auto;
  padding: 0 5px;
  border-radius: 2px;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.depth-no {
  flex: 0 0 auto;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.depth-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 14px 14px;
  color: var(--muted);
  font-size: 12px;
}

.depth-pos {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
}

.depth-pos .pos {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.depth-pos ol {
  margin: 4px 0 0;
  padding-left: 16px;
}

.depth-pos li {
  margin: 3px 0 0;
  font-size: 13px;
}

.roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.roster-table th,
.roster-table td {
  padding: 5px 6px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.roster-table th {
  color: var(--gold);
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mine-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mine-check input {
  accent-color: var(--gold);
}

.box-wrap {
  margin-top: 16px;
}

.box-score {
  display: grid;
  gap: 12px;
}

.box-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.box-side {
  display: flex;
  align-items: center;
  gap: 8px;
}

.box-side.home {
  justify-content: flex-end;
}

.box-side img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.box-side b {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.box-side.is-win b {
  color: var(--gold);
}

.final-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.final-line .is-win {
  color: var(--text);
}

.cal-score .win,
.sc.win {
  font-weight: 800;
}

.cal-score .loss,
.sc.loss {
  opacity: 0.7;
  font-weight: 600;
}

.cal-game.final .cal-time,
.stream-item.final b {
  color: var(--muted);
}

.cal-game.is-win,
.cal-game.is-loss,
.cal-game.is-tie {
  color: #fff;
}

.cal-game.is-win {
  background: #15943f;
}

.cal-game.is-loss {
  background: #c62828;
}

.cal-game.is-tie {
  background: #c9a227;
  color: #111;
}

.cal-game.is-win .cal-time,
.cal-game.is-loss .cal-time,
.cal-game.is-win .cal-net,
.cal-game.is-loss .cal-net {
  color: rgba(255, 255, 255, 0.82);
}

.cal-game .wl {
  margin: 0 0 0 6px;
}

.box-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.box-table th,
.box-table td {
  padding: 3px 4px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.box-table th:first-child,
.box-table td:first-child {
  text-align: left;
}

.box-table th {
  color: var(--muted);
  font-weight: 700;
}

.scoring-list {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 12px;
}

.watch-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: var(--space-2) 0;
}

.watch-line span {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 8px;
  font-size: 12px;
  color: var(--gold);
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cal-head span {
  flex: 1;
  text-align: center;
}

.month-rail {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.month-combo {
  position: relative;
  display: flex;
  min-width: 0;
}

.month-combo-select {
  appearance: none;
  width: 100%;
  min-height: 46px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.month-combo::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 10px;
  height: 7px;
  transform: translateY(-50%);
  pointer-events: none;
  background: var(--muted);
  clip-path: polygon(14% 0, 86% 0, 50% 100%);
}

.month-rail .day-shift {
  width: 100%;
}

.month-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.month-select {
  display: flex;
  align-items: center;
  min-width: 0;
}

.month-title select {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: var(--control-h);
  padding: 0 28px 0 12px;
  border-radius: var(--radius);
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% - 2px), calc(100% - 9px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.month-title select:focus-visible {
  box-shadow: var(--ring);
}

.month-jump {
  display: none;
}

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

.cal-head.mine-bar {
  justify-content: flex-end;
  min-height: 40px;
}

.cal-nav {
  width: var(--control-h);
  min-width: var(--control-h);
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.cal-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
}

.cal-weekdays div {
  padding: 8px 4px;
  text-align: center;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cal-day {
  min-width: 0;
  min-height: 118px;
  max-height: 220px;
  overflow: auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 6px 5px 8px;
  background: var(--bg-elevated);
}

.cal-day:nth-child(7n + 1) {
  border-left: 0;
}

.cal-day.in-month.in-week,
.cal.month-cal .cal-day.in-month {
  background: var(--cell);
}

.cal.month-cal .cal-day.in-month {
  cursor: default;
}

.cal-day.out {
  opacity: 0.42;
}

.cal-day.today {
  box-shadow: inset 0 0 0 2px var(--gold);
}

.cal-num,
.cal-open-day {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 4px;
}

.cal-open-day {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.cal-open-day:hover,
.cal-open-day:focus-visible {
  color: var(--gold);
}

.cal-open-hint {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
}

.cal-open-day:hover .cal-open-hint,
.cal-open-day:focus-visible .cal-open-hint {
  opacity: 1;
}

.cal-num span,
.cal-open-day > span:not(.cal-date-num):not(.cal-open-hint) {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.cal-empty {
  color: var(--muted);
  font-size: 12px;
}

.cal-game {
  appearance: none;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 6px 4px;
  margin: 0;
  cursor: pointer;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.cal-game:hover,
.cal-game:focus-visible {
  background: #163049;
}

.cal-time {
  color: var(--info);
  font-weight: 700;
  margin-right: 4px;
}

.cal-match {
  font-weight: 600;
}

.cal-score {
  margin-left: 4px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cal-game.live .cal-time,
.cal-game.live .cal-score {
  color: var(--live);
}

.cal-week {
  display: block;
  margin-bottom: 2px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cal-net {
  display: block;
  color: var(--muted);
  font-size: 11px;
  white-space: normal;
}

.board {
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-x: clip;
}

.site-foot {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ad-rail {
  display: none;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 90px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.ad-rail:not([hidden]) {
  display: grid;
}

.ad-rail-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ad-rail-slot {
  min-height: 74px;
}

.site-foot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 12px;
}

.site-foot-bar a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page {
  min-height: 100dvh;
  padding: 16px;
}

.legal {
  max-width: 40rem;
  margin: 0 auto;
}

.legal h1 {
  margin: 16px 0 8px;
  font-family: var(--display);
  font-size: 28px;
}

.legal h2 {
  margin: 24px 0 8px;
  font-size: 15px;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 14px;
}

.legal a {
  color: var(--info);
}

.chart-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.chart {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  contain: inline-size;
  --hours: 12;
  --slots: 12;
}

.loading,
.error {
  margin: 0;
  padding: var(--space-4) var(--space-3) 0;
  text-align: left;
  color: var(--muted);
  font-size: 13px;
}

.empty {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-2);
  padding: var(--space-5);
  max-width: 420px;
}

.empty h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.empty p {
  margin: 0 0 var(--space-4);
  color: var(--muted);
}

.empty-action {
  background: var(--gold);
  color: var(--gold-ink);
  border-color: var(--gold);
}

.chart-skel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-2);
  min-height: 280px;
}

.skel-axis {
  height: 44px;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(100% / 8 - 1px),
      var(--grid-line) calc(100% / 8 - 1px),
      var(--grid-line) calc(100% / 8)
    );
}

.skel-row {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.skel-row i {
  display: block;
  border-right: 1px solid var(--line);
  background: var(--card-2);
}

.skel-row b {
  display: block;
  margin: 16px 12% 16px 8%;
  border-radius: 3px;
  background: color-mix(in srgb, var(--muted) 18%, transparent);
  animation: skel 1.2s var(--ease) infinite;
}

@keyframes skel {
  50% {
    opacity: 0.45;
  }
}

.time-head,
.chart-row {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.time-head {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--card-2);
  border-bottom: 1px solid var(--line);
}

.ticks {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--slots), minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  height: 44px;
}

.now-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: color-mix(in srgb, var(--live) 42%, transparent);
  z-index: 5;
  pointer-events: none;
  transform: translateX(-1px);
}

.ticks .now-line {
  background: var(--live);
}

.tick {
  min-width: 0;
  color: var(--muted);
  font-size: clamp(8px, 1vw, 11px);
  font-weight: 700;
  letter-spacing: 0;
  padding: 8px 0 0 3px;
  border-left: 1px solid var(--grid-line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.tick.hour {
  color: var(--tick-strong);
  font-size: 11px;
}

.gutter {
  width: 100%;
  max-width: none;
  min-width: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: var(--card-2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.time-head .gutter {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.net-mark {
  width: min(76px, 100%);
  height: 28px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.net-mark:has(.net-fallback) {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 28px;
}

.net-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 0.7px #fff)
    drop-shadow(0 0 0.7px #fff)
    drop-shadow(0 0 1.2px rgba(255, 255, 255, 0.9));
}

.nfl-row .net-mark {
  width: min(84px, 100%);
  height: 40px;
}

.net-mark.dark img {
  filter:
    brightness(0)
    invert(1)
    drop-shadow(0 0 0.7px #fff)
    drop-shadow(0 0 0.7px #fff);
}

.net-fallback {
  font-family: var(--display);
  font-size: clamp(8px, 1.7vw, 12px);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.12;
  white-space: normal;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

#usa-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.usa-map {
  width: 52px;
  height: 32px;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
}

.region-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  width: 100%;
}

.region-copy {
  min-width: 0;
  text-align: left;
}

.drawer .usa-map {
  width: 108px;
  height: 66px;
  margin: 8px 0 12px;
}

.chart-row.has-map,
.chart-row.nfl-row {
  min-height: 92px;
}

.chart-row.has-map .gutter {
  gap: 4px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.net-region {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.1;
}

.net-market {
  font-family: var(--font);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  text-align: left;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-net {
  width: 120px;
  height: 28px;
  margin-bottom: 8px;
}

.drawer-net .net-mark {
  width: 120px;
  height: 28px;
}

.chart-row {
  border-top: 1px solid #163049;
  min-height: 68px;
}

.chart-row .gutter {
  background: #0c1c2e;
}

.chart-row.home-sport-row .home-sport-gutter {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: visible;
}

.track {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 58px;
  height: 100%;
  align-self: stretch;
  overflow: hidden;
  background-image: linear-gradient(90deg, #163049 0 1px, transparent 1px);
  background-size: calc(100% / var(--hours)) 100%;
}

.home-sport-row.is-cards {
  align-items: start;
  overflow: visible;
}

.home-sport-row.is-cards .fight-card {
  min-height: 110px;
  padding: 14px 16px;
}

.home-sport-row.is-cards .track.fight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  padding: 8px 10px 12px;
  min-height: 0;
  height: auto;
  overflow: visible;
  background-image: none;
  align-self: start;
}

.bar,
.bundle {
  position: absolute;
  top: 0;
  height: 100%;
  min-height: 0;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  border: 0;
  border-radius: 4px;
  padding: 0;
  display: grid;
  grid-template: 1fr / 1fr;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  background: var(--home);
  container-type: size;
}

.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--away);
  clip-path: polygon(0 0, 100% 0, 100% 28%, 0 72%);
  pointer-events: none;
}

.bar.player-bar {
  display: flex;
  align-items: center;
  background: #123152;
  color: var(--text);
  box-shadow: 0 0 0 1px var(--line);
}

.bar.player-bar::before {
  content: none;
}

.bar.player-bar .player-match {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  padding: 0 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(12px, 28cqh, 18px);
  line-height: 1.15;
}

.bar.player-bar .player-match .nm {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar.player-bar .player-match i {
  flex: 0 0 auto;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
  font-size: 0.85em;
}

.bar.player-bar .logo {
  filter: none;
}

.bar.player-bar.live {
  box-shadow: 0 0 0 2px var(--live);
}

.bar.player-bar.live .player-match,
.bar.player-bar.final .player-match {
  padding-right: 56px;
}

@container (max-width: 148px) {
  .bar.player-bar .logo {
    display: none;
  }
}

.team-game.player-game {
  background: var(--card);
  color: var(--text);
}

.team-game.player-game::before,
.team-game.player-game::after {
  content: none;
}

.team-game.player-game.is-win,
.team-game.player-game.is-loss,
.team-game.player-game.is-tie {
  background: var(--home, var(--card));
  color: #fff;
}

.bundle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #123152;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bundle::before {
  content: none;
}

.live-badge,
.final-badge {
  position: absolute;
  z-index: 3;
  top: 4px;
  right: 4px;
  max-width: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 1px 6px;
  border-radius: 2px;
  background: var(--live);
  color: #fff;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
  pointer-events: none;
}

.final-badge {
  background: rgba(7, 17, 28, 0.72);
  color: #fff;
}

.bar-wl {
  position: absolute;
  z-index: 3;
  right: 6px;
  bottom: 3px;
  pointer-events: none;
}

.bar-net {
  position: absolute;
  z-index: 3;
  left: 6px;
  bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 12px);
  padding: 1px 5px 1px 3px;
  border-radius: 3px;
  background: rgba(7, 17, 28, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.bar-net .net-mark {
  width: 28px;
  height: 12px;
}

.bar-net .net-mark:has(.net-fallback) {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 12px;
}

.bar-net .net-fallback {
  font-size: 8px;
  letter-spacing: 0.04em;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.bar-net span {
  min-width: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(8px, 14cqh, 11px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.bar-net:has(.net-fallback) > span {
  display: none;
}

@container (max-width: 92px) {
  .bar-net span {
    display: none;
  }
}

.bar .sc,
.team-sides .sc {
  flex: 0 0 auto;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.bar .sc {
  font-size: clamp(13px, 26cqh, 22px);
}

.team-sides .sc {
  min-width: 1.15em;
  font-size: 16px;
}

.bar.live {
  box-shadow: 0 0 0 2px var(--live);
}

.bar.marked {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 78%, #fff);
}

.bar.marked.live {
  box-shadow: 0 0 0 2px var(--live);
}

.mark-tag {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 10px);
  padding: 1px 6px;
  border-radius: 2px;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: var(--display);
  font-size: clamp(8px, 16cqh, 11px);
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.mark-pill {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  border-radius: 2px;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 1px;
  white-space: nowrap;
}

.mark-tag[data-kind="preseason"],
.mark-pill[data-kind="preseason"] {
  background: #9eb0c4;
  color: #07111c;
}

.drawer .mark-line {
  margin: 0 0 2px;
}

@container (max-width: 88px) {
  .mark-tag {
    display: none;
  }
}

.bar:hover,
.bundle:hover,
.bar.active {
  z-index: 2;
  box-shadow: 0 0 0 2px #fff;
}

.bar.marked:hover,
.bar.marked.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold);
}

.bar .row {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(3px, 6cqh, 8px);
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 4px 8px;
  box-sizing: border-box;
  background: none;
}

.bar .row.away {
  justify-content: flex-start;
  align-items: flex-start;
  color: var(--away-ink);
}

.bar .row.home {
  justify-content: flex-end;
  align-items: flex-end;
  color: var(--home-ink);
}

.bar .row.home .nm {
  text-align: right;
}

.bar .logo {
  width: clamp(16px, 32cqh, 36px);
  height: clamp(16px, 32cqh, 36px);
  flex: 0 0 auto;
  object-fit: contain;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  filter:
    drop-shadow(0 0 0.65px #fff)
    drop-shadow(0 0 0.65px #fff)
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}

.bar .logo.player {
  object-fit: cover;
  border-radius: 50%;
}

.nm {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(11px, 20cqh, 16px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: inherit;
  min-width: 0;
  line-height: 1.05;
}

.nm .nm-abbr {
  display: none;
}

@container (max-width: 92px) {
  .nm {
    -webkit-line-clamp: 1;
    line-clamp: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
  }

  .nm .nm-long {
    display: none;
  }

  .nm .nm-abbr {
    display: inline;
  }
}

.bar.is-cfb .logo {
  display: none;
}

.bar.is-cfb .nm {
  font-size: clamp(10px, 18cqh, 15px);
}

.bar.is-cfb .nm .nm-long {
  display: inline;
}

.bar.is-cfb .nm .nm-abbr {
  display: none;
}

.bar.is-cfb .row {
  gap: 4px;
}

.rank {
  color: inherit;
  font-style: normal;
  margin-right: 3px;
  opacity: 0.88;
}

.stream {
  margin-top: var(--space-4);
  padding: 14px 16px 18px;
}

.stream h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 6px 18px;
}

.stream-item {
  appearance: none;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: inherit;
  text-align: left;
  min-height: 44px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.stream-item .net-mark {
  width: 54px;
  height: 16px;
  flex: 0 0 auto;
}

.stream-item:hover,
.stream-item:focus-visible {
  color: var(--text);
  border-color: color-mix(in srgb, var(--gold) 50%, var(--line));
  background: var(--hover);
}

.stream-item b {
  color: var(--info);
  margin-right: 8px;
  font-size: 12px;
}

.fight-block {
  margin-top: var(--space-3);
}

.fight-block h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-fights {
  margin: 0;
  padding: 0 0 4px;
  border: 0;
  border-top: 1px solid #163049;
  border-radius: 0;
  background: var(--card-2);
}

.chart .home-fights {
  grid-column: 1 / -1;
}

.home-fights-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px 8px;
}

.home-fights-head .home-sport-open {
  flex-direction: row;
  align-items: center;
  width: auto;
  padding: 0;
  font-size: 18px;
}

.home-fights-head .home-sport-count {
  width: auto;
}

.home-fights-head .home-sport-more {
  margin-left: auto;
}

.home-fights .fight-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding: 4px 12px 14px;
}

.home-fights .fight-card {
  min-height: 120px;
  padding: 16px 18px;
}

.fight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.fight-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 96px;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.fight-card .net-mark {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 18px;
  margin-bottom: 2px;
  justify-content: flex-start;
}

.fight-card .net-fallback {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  white-space: normal;
  overflow: hidden;
  max-width: 100%;
  text-align: left;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.fight-card .fight-time {
  color: var(--info);
  font-size: 12px;
  font-weight: 700;
}

.fight-card .fight-match {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

.fight-card .fight-event {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.fight-card.live {
  box-shadow: 0 0 0 2px var(--live);
}

.fight-card:hover,
.fight-card:focus-visible {
  border-color: color-mix(in srgb, var(--gold) 50%, var(--line));
  background: var(--hover);
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 20;
}

.drawer {
  position: fixed;
  right: var(--space-4);
  top: var(--space-4);
  bottom: var(--space-4);
  width: min(460px, calc(100% - 32px));
  background: var(--drawer-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  z-index: 21;
  padding: var(--space-5) var(--space-4);
  overflow: auto;
}

.drawer[hidden],
.scrim[hidden] {
  display: none;
}

.drawer-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: var(--control-h);
  min-width: var(--control-h);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer h3 {
  font-family: var(--display);
  font-size: 28px;
  text-transform: uppercase;
  margin: 8px 0 6px;
  line-height: 1.05;
}

.drawer .how-list,
.team-game .how-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.bar:focus-visible,
.bundle:focus-visible {
  z-index: 3;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold);
}

@media (min-width: 900px) {
  .toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .view-modes.seg,
  .mine-modes.seg {
    justify-self: end;
  }

  .toolbar-extras,
  .team-picker,
  .day-rail {
    grid-column: 1 / -1;
  }
}

@media (max-width: 899px) {
  :root {
    --gutter: clamp(56px, 16vw, 72px);
    --control-h: 32px;
    --header-h: 48px;
  }

  .page.is-home {
    --gutter: clamp(72px, 20vw, 88px);
  }

  .board {
    overflow-x: hidden;
  }

  .page.is-home .chart-scroll,
  .chart-scroll {
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scrollbar-width: thin;
  }

  .chart {
    --hour-min: 56px;
    width: max(100%, calc(var(--gutter) + (var(--hours) * var(--hour-min))));
    min-width: max(100%, calc(var(--gutter) + (var(--hours) * var(--hour-min))));
    max-width: none;
    overflow: visible;
    contain: none;
  }

  .bar .nm,
  .bar.player-bar .player-match {
    font-size: 11px;
  }

  .bar.is-cfb .nm {
    font-size: 10px;
  }

  .live-badge,
  .final-badge {
    font-size: 8px;
    padding: 1px 4px;
  }

  .time-head,
  .chart-row {
    overflow: visible;
  }

  .time-head .gutter,
  .chart-row .gutter {
    position: sticky;
    left: 0;
    z-index: 4;
  }

  .time-head {
    z-index: 6;
  }

  .time-head .gutter {
    z-index: 7;
  }

  .chart-scroll {
    container-type: inline-size;
  }

  .chart .home-fights {
    position: sticky;
    left: 0;
    width: 100cqi;
    max-width: 100cqi;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .page {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }

  .masthead {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand sport account";
    align-items: center;
    gap: 8px;
    min-height: 52px;
    flex-wrap: nowrap;
    margin-left: calc(max(10px, env(safe-area-inset-left)) * -1);
    margin-right: calc(max(10px, env(safe-area-inset-right)) * -1);
    padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
  }

  .sport-nav {
    display: block;
    grid-area: sport;
    width: 100%;
    min-width: 0;
  }

  #sportNavBtn {
    max-width: none;
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .sport-menu {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    width: auto;
    top: calc(env(safe-area-inset-top) + 56px);
  }

  .leagues {
    display: none !important;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    padding: 0;
  }

  .brand-sub {
    display: none;
  }

  .brand-word {
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  .brand-badge {
    min-height: 16px;
    padding: 1px 5px;
    font-size: 10px;
  }

  .account {
    grid-area: account;
    margin-left: 0;
    min-width: 0;
    gap: 6px;
    justify-self: end;
  }

  .account button {
    padding: 0;
    font-size: 12px;
  }

  .fav-icon {
    display: block;
  }

  .fav-btn-label {
    display: none;
  }

  .fav-split #favMenuBtn {
    display: none;
  }

  .fav-split #favNavBtn {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    padding: 0;
    border-radius: var(--radius);
    border-right: 1px solid var(--line);
  }

  #accountBtn,
  #accountBtn.account {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    padding: 0;
    overflow: hidden;
  }

  #accountBtn .account-icon {
    display: block;
  }

  #accountBtn .account-label,
  #accountBtn .account-soon {
    display: none;
  }

  .day-pick {
    display: block;
  }

  .days {
    display: none !important;
  }

  .day-rail,
  .day-rail:not(.paged) {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-areas: none;
  }

  .day-rail:not(.paged) .day-shift {
    display: inline-flex;
  }

  .day-rail.weekly,
  .day-rail.weekly:not(.paged) {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-areas:
      "prev week next"
      "days days days";
    gap: 8px;
  }

  .day-rail.weekly #dayPrev {
    grid-area: prev;
  }

  .day-rail.weekly #dayNext {
    grid-area: next;
  }

  .day-rail.weekly #weekWrap {
    grid-area: week;
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
  }

  .day-rail.weekly #weekWrap span {
    display: none;
  }

  .day-rail.weekly #weekWrap::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 10px;
    height: 7px;
    transform: translateY(-50%);
    pointer-events: none;
    background: var(--muted);
    clip-path: polygon(1.4px 0, 8.6px 0, 5px 7px);
  }

  .day-rail.weekly #weekWrap select {
    flex: 1 1 auto;
    width: 100%;
    min-height: 44px;
    padding-right: 30px;
  }

  .day-rail.weekly .days {
    grid-area: days;
    display: flex !important;
  }

  .day-rail.weekly .day-pick {
    display: none !important;
  }

  .day-rail.weekly .day-shift {
    display: inline-flex !important;
  }

  .day-rail.weekly .days button {
    min-height: 40px;
    padding: 4px 10px;
  }

  .leagues.seg button,
  .seg button {
    min-height: 32px;
  }

  .more-menu {
    right: 0;
    left: auto;
    width: min(240px, calc(100vw - 24px));
    min-width: 0;
    max-height: min(70dvh, 420px);
    overflow: auto;
  }

  .fav-menu {
    width: min(360px, calc(100vw - 20px));
    max-height: min(70dvh, 460px);
  }

  .toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 4px 0 6px;
    gap: 6px 8px;
  }

  .kicker {
    display: none;
  }

  .toolbar-lead {
    grid-column: 1;
    gap: 0;
  }

  h1 {
    font-size: 16px;
    line-height: 1.1;
  }

  .meta {
    font-size: 11px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
  }

  .view-modes.seg,
  .mine-modes.seg {
    grid-column: 2;
    width: auto;
    max-width: min(58vw, 220px);
    justify-self: end;
  }

  .page.is-mine .toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .page.is-mine .mine-modes.seg {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .page.is-mine .mine-modes button {
    flex: 1 1 0;
  }

  .mine-range.seg {
    width: auto;
  }

  .view-modes button,
  .mine-modes button,
  .mine-range button {
    min-width: 0;
    min-height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }

  .view-modes button[data-view="team"] {
    min-width: 0;
  }

  .label-full {
    display: none;
  }

  .label-short {
    display: inline;
  }

  .leagues.seg button,
  .seg button {
    min-height: 32px;
  }

  .toolbar-extras,
  .team-picker,
  .day-rail {
    grid-column: 1 / -1;
  }

  .combo {
    gap: 0;
  }

  .combo-label {
    display: none;
  }

  .combo input,
  .day-pick,
  .field select,
  .month-jump .field select,
  .text-btn {
    min-height: 32px;
    font-size: 13px;
  }

  .day-shift {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    line-height: 0;
  }

  .day-shift svg {
    width: 18px;
    height: 18px;
  }

  .field {
    gap: 6px;
    font-size: 11px;
  }

  .field span {
    display: none;
  }

  .field,
  .month-jump,
  .toolbar-extras {
    width: 100%;
  }

  .field select,
  .month-jump .field select,
  .combo input {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .month-rail {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .month-combo-select {
    min-height: 44px;
  }

  .home-sport-pin {
    min-height: 76px;
    padding: 6px 4px;
    top: 36px;
    gap: 3px;
  }

  .home-sport-open {
    font-size: 11px;
    gap: 4px;
    letter-spacing: 0.03em;
  }

  .home-sport-open .league-mark {
    width: 22px;
    height: 22px;
  }

  .home-sport-count {
    font-size: 10px;
  }

  .home-sport-more {
    min-height: 28px;
    font-size: 10px;
    padding: 3px 2px;
  }

  .home-filters {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
    overflow: visible;
    padding-bottom: 8px;
  }

  .home-filter {
    position: relative;
    width: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    justify-content: center;
  }

  .home-filter input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
  }

  .home-jump {
    pointer-events: none;
    gap: 0;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .home-jump span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .home-jump .league-mark {
    width: 20px;
    height: 20px;
  }

  .home-filter:not(.on) .league-mark {
    opacity: 0.38;
  }

  .ticks {
    height: 30px;
  }

  .tick {
    padding-top: 5px;
    font-size: 8px;
  }

  .tick.hour {
    font-size: 9px;
  }

  .gutter {
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 3px;
  }

  .time-head .gutter {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .chart-row {
    min-height: 48px;
  }

  .chart-row.has-map {
    min-height: 68px;
  }

  .chart-row.nfl-row {
    min-height: 48px;
  }

  .nfl-row .net-mark {
    width: 100%;
    height: 22px;
  }

  .nfl-row .usa-map,
  .nfl-row .region-chip {
    display: none;
  }

  .net-mark {
    width: 100%;
    height: 24px;
  }

  .net-mark:has(.net-fallback) {
    width: 100%;
    height: auto;
    min-height: 22px;
    max-height: 100%;
  }

  .net-fallback {
    font-size: 9px;
    letter-spacing: 0.02em;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .usa-map {
    width: 40px;
    height: 26px;
  }

  .region-copy,
  .net-region,
  .net-market {
    display: none;
  }

  .region-chip {
    justify-content: center;
  }

  .cal-weekdays div {
    padding: 6px 2px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .cal-day {
    min-height: 76px;
    max-height: 140px;
    padding: 4px 3px 6px;
  }

  .cal-game {
    font-size: 11px;
  }

  .mine-grid,
  .sport-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-live {
    grid-auto-columns: minmax(200px, 78vw);
  }

  .fight-grid,
  .home-fights .fight-grid,
  .home-sport-row.is-cards .track.fight-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-sport-row.is-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-sport-row.is-cards .home-sport-gutter {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-sport-row.is-cards .home-sport-pin {
    min-height: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    position: static;
  }

  .home-sport-row.is-cards .track.fight-grid {
    padding: 10px 10px 14px;
  }

  .sign-form {
    flex-direction: column;
    align-items: stretch;
  }

  .confirm-fav {
    flex-wrap: nowrap;
    align-items: center;
  }

  .confirm-fav img,
  .confirm-fav .confirm-logo {
    width: 40px;
    height: 40px;
  }

  .mine-strip {
    gap: 6px;
    padding-bottom: 6px;
  }

  .mine-chip-wrap {
    min-height: 32px;
  }

  .mine-chip img {
    width: 26px;
    height: 26px;
  }

  .drawer {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    height: auto;
    max-height: min(88dvh, 100%);
    border-radius: 16px 16px 0 0;
    padding: 18px 16px max(16px, env(safe-area-inset-bottom));
  }

  .drawer::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 99px;
    background: color-mix(in srgb, var(--line) 70%, #fff);
  }

  .drawer h3 {
    font-size: 22px;
    padding-right: 44px;
  }

  .drawer .usa-map {
    width: 96px;
    height: 58px;
  }

  .depth-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .depth-split .depth-half + .depth-half {
    border-left: 0;
  }

  .team-game {
    grid-template-columns: minmax(0, 1fr) 48px 32px;
    grid-template-areas:
      "when watch result"
      "match match match";
    align-items: center;
    gap: 8px 10px;
    min-height: 0;
    padding: 10px 12px;
  }

  .team-when {
    grid-area: when;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    min-width: 0;
    padding-right: 0;
  }

  .team-week {
    display: block;
    margin-right: 0;
  }

  .team-watch {
    grid-area: watch;
    align-items: center;
    justify-content: center;
  }

  .team-watch .net-mark {
    width: 44px;
    height: 18px;
  }

  .page.is-mine .team-how {
    display: none;
  }

  .team-phase {
    display: inline;
    margin-top: 0;
  }

  .team-match {
    grid-area: match;
  }

  .team-result {
    grid-area: result;
    position: static;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .team-game .live-badge {
    position: static;
    max-width: none;
    margin-right: 2px;
  }

  .team-sides .nm {
    font-size: 13px;
  }

  .team-how {
    -webkit-line-clamp: 1;
  }

  button,
  a,
  .bar,
  .bundle,
  .fight-card,
  .cal-game {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 54px;
  }

  .page.is-home {
    --gutter: 68px;
  }

  .brand-word {
    font-size: 14px;
  }

  .account button {
    padding: 0;
  }

  .home-sport-more span {
    display: none;
  }

  .usa-map {
    width: 34px;
    height: 22px;
  }

  .home-sport-open span {
    font-size: 10px;
  }
}

/* Gloss mockup: buttons + game boxes */
.seg,
.day-shift,
.home-filter,
.mine-chip-wrap,
.leagues button,
.days button,
.view-modes button,
.mine-modes button,
.field select,
.month-combo-select,
.drawer-close,
.account button,
.star,
.text-btn,
.player-chip,
.cal-nav,
.sign-form button,
.empty-action,
.confirm-drop,
.home-more,
.home-sport-more,
.combo input {
  background-image: var(--btn-face);
  box-shadow: var(--btn-inset), 0 1px 2px rgba(0, 0, 0, 0.28);
}

.seg button {
  background-image: none;
  box-shadow: none;
}

.leagues button:hover,
.days button:hover,
.view-modes button:hover,
.mine-modes button:hover,
.account button:hover,
.text-btn:hover,
.cal-nav:hover,
.player-chip:hover,
.empty-action:hover,
.confirm-drop:hover,
.day-shift:hover:not(:disabled),
.home-filter:hover {
  background-image: var(--btn-face-hover);
  box-shadow: var(--btn-inset), 0 1px 3px rgba(0, 0, 0, 0.32);
}

.day-shift:disabled {
  background-image: none;
  box-shadow: none;
}

.leagues button.active,
.days button.active,
.view-modes button.active,
.mine-modes button.active,
.account button.on,
.star.on,
.player-chip.on,
.home-filter.on,
.seg button.active {
  background-image: var(--btn-gold);
  box-shadow: var(--btn-gold-inset), 0 1px 2px rgba(0, 0, 0, 0.28);
}

.leagues button.active:hover,
.days button.active:hover,
.view-modes button.active:hover,
.mine-modes button.active:hover,
.account button.on:hover,
.star.on:hover,
.player-chip.on:hover,
.home-filter.on:hover {
  background-image: var(--btn-gold-hover);
}

.confirm-keep,
.confirm-keep:hover {
  background-image: var(--btn-gold);
  background-color: var(--gold);
  color: var(--gold-ink);
  border-color: var(--gold);
  box-shadow: var(--btn-gold-inset), 0 1px 2px rgba(0, 0, 0, 0.28);
}

.confirm-drop,
.confirm-drop:hover {
  color: var(--text);
}

.home-more,
.home-sport-more {
  background-image: var(--btn-gold);
  background-color: transparent;
  color: var(--gold-ink);
  box-shadow: var(--btn-gold-inset), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.home-more:hover,
.home-sport-more:hover {
  background-image: var(--btn-gold-hover);
  color: var(--gold-ink);
}

.home-sport-more.is-open {
  background-image: linear-gradient(180deg, #ffe08a 0%, color-mix(in srgb, var(--gold) 70%, #0a1624) 100%);
}

.brand-badge {
  background-image: var(--btn-gold);
  box-shadow: var(--btn-gold-inset);
}

.bar,
.bundle,
.fight-card,
.team-game {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

.bar::before {
  z-index: 0;
}

.bar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.1) 18%, rgba(255, 255, 255, 0.02) 40%, transparent 58%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.2) 0 14%, transparent 42%);
}

.bar.player-bar::after {
  content: "";
}

.bar .row,
.bar.player-bar .player-match {
  z-index: 2;
}

.bar:hover::after,
.bar.active::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.14) 18%, rgba(255, 255, 255, 0.03) 40%, transparent 58%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.28) 0 16%, transparent 44%);
}

.bar:hover,
.bundle:hover,
.bar.active {
  box-shadow:
    0 0 0 2px #fff,
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

.bar.live,
.bar.player-bar.live,
.fight-card.live {
  box-shadow:
    0 0 0 2px var(--live),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

.bar.marked {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--gold) 78%, #fff),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

.bar.marked.live {
  box-shadow:
    0 0 0 2px var(--live),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

.bar.marked:hover,
.bar.marked.active {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px var(--gold),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.fight-card {
  background-image: linear-gradient(180deg, #1a3550 0%, var(--bg-elevated) 55%, #08141f 100%);
  position: relative;
  overflow: hidden;
}

.fight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, transparent 42%);
}

.fight-card > * {
  position: relative;
  z-index: 1;
}

.team-game::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 24%, transparent 48%),
    linear-gradient(90deg, rgba(7, 17, 28, 0.22), rgba(7, 17, 28, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.time-head {
  background: #07131f;
}

.ticks {
  background: var(--well);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 -10px 14px rgba(0, 0, 0, 0.2);
}

.track {
  background-color: var(--well);
  background-image: linear-gradient(90deg, var(--well-line) 0 1px, transparent 1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), inset 0 10px 18px rgba(0, 0, 0, 0.28);
}

.home-sport-row.is-cards .track.fight-grid {
  background-color: transparent;
  box-shadow: none;
}

.kicker {
  color: #f6d37a;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

h1 {
  color: #fff;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.meta {
  color: #c5d0e0;
}

.live-badge,
.home-live-card .live-chip {
  background: var(--live);
  background-image: var(--btn-live);
  box-shadow: var(--btn-live-inset), 0 1px 2px rgba(0, 0, 0, 0.28);
}

.final-badge {
  background-image: linear-gradient(180deg, #2a4158 0%, #152536 100%);
  box-shadow: var(--btn-inset);
}

.mark-tag,
.mark-pill {
  z-index: 4;
  background-image: var(--btn-gold);
  box-shadow: var(--btn-gold-inset);
}

.cal-day {
  background: var(--well);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.cal-day.in-month.in-week,
.cal.month-cal .cal-day.in-month {
  background: #08141f;
}

.cal-game {
  background-image: var(--btn-face);
  box-shadow: var(--btn-inset);
}

.cal-game:hover,
.cal-game:focus-visible {
  background-image: var(--btn-face-hover);
}

.cal-game.live {
  box-shadow: 0 0 0 1px var(--live), var(--btn-inset);
}

.cal-game.is-win {
  background-image: linear-gradient(180deg, #27b85a 0%, #15943f 42%, #0d6b2c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 40, 10, 0.35);
}

.cal-game.is-loss {
  background-image: linear-gradient(180deg, #e04a4a 0%, #c62828 42%, #8e1a1a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(50, 0, 0, 0.35);
}

.cal-game.is-tie {
  background-image: var(--btn-gold);
  box-shadow: var(--btn-gold-inset);
}

.drawer {
  background-image: linear-gradient(180deg, #1a3550 0%, var(--drawer-bg) 32%, #0c1a2a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 40px rgba(0, 0, 0, 0.45);
  border-color: color-mix(in srgb, var(--line) 72%, #fff);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
