:root {
  color-scheme: dark;
  --bg: #07090f;
  --surface: rgba(16, 21, 32, 0.82);
  --surface-strong: rgba(22, 29, 43, 0.96);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f8ff;
  --muted: #a8b3c7;
  --soft: #6f7b91;
  --ice: #61d8ff;
  --ice-strong: #1da9e8;
  --steel: #8ea7c8;
  --green: #38d98a;
  --yellow: #ffd166;
  --red: #ff5d6c;
  --blue: #54a8ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(97, 216, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 86% 22%, rgba(255, 93, 108, 0.12), transparent 25rem),
    linear-gradient(135deg, #06070d 0%, #0b1019 50%, #06080d 100%);
  color: var(--text);
}

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

button,
input,
textarea {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 42px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 7, 12, 0.92);
  white-space: nowrap;
}

.ticker__label {
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--red), #ff9d42);
  color: #13070a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker__track {
  display: flex;
  gap: 46px;
  min-width: max-content;
  animation: ticker 24s linear infinite;
  color: #e9f4ff;
  font-size: 0.86rem;
  font-weight: 700;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  width: min(var(--max), calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  transition: transform 220ms ease, opacity 220ms ease;
}

.site-header.is-hidden-header {
  transform: translateY(-110%);
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand--center {
  justify-self: center;
  text-align: center;
}

.brand--logo {
  position: relative;
  display: grid;
  width: clamp(106px, 12vw, 152px);
  min-height: 84px;
  place-items: center;
  padding: 6px 8px;
}

.brand__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.62));
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(97, 216, 255, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(97, 216, 255, 0.22), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 24px rgba(97, 216, 255, 0.12);
  color: var(--ice);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 14, 22, 0.72);
}

.nav-links--left {
  justify-self: end;
}

.nav-links--right {
  justify-self: start;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition: 180ms ease;
}

.nav-links a:hover {
  background: rgba(97, 216, 255, 0.1);
  color: var(--text);
}

.nav-links a.is-active {
  background: rgba(97, 216, 255, 0.16);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(97, 216, 255, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  min-height: 560px;
  align-items: center;
  padding: 74px 0 56px;
}

.hero::before {
  position: absolute;
  inset: 28px -40px 28px auto;
  width: min(720px, 72vw);
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 9, 15, 0.96) 0%, rgba(7, 9, 15, 0.62) 34%, transparent 70%),
    linear-gradient(180deg, rgba(7, 9, 15, 0.08), rgba(7, 9, 15, 0.56)),
    url("./assets/hockey-hero.png") center / cover no-repeat,
    radial-gradient(circle at 70% 42%, rgba(97, 216, 255, 0.5), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 18%),
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(145deg, #121a28, #06070d 66%);
  clip-path: polygon(12% 0, 100% 0, 100% 92%, 0 100%, 7% 48%);
  opacity: 0.92;
  filter: saturate(1.12);
}

.hero::after {
  position: absolute;
  right: 2%;
  top: 25%;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(97, 216, 255, 0.18);
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle, transparent 47%, rgba(97, 216, 255, 0.22) 48% 49%, transparent 50%),
    linear-gradient(60deg, transparent 45%, rgba(255, 255, 255, 0.16) 46% 47%, transparent 48%);
  transform: rotate(-12deg);
}

.hero__content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 860px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ice);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(56, 217, 138, 0.13);
}

.hero h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: clamp(3.2rem, 8vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.countdown-card {
  margin-top: 34px;
  max-width: 760px;
  padding: 22px 24px 20px;
  border: 1px solid rgba(97, 216, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(17, 24, 38, 0.9), rgba(8, 12, 21, 0.9)),
    radial-gradient(circle at top left, rgba(97, 216, 255, 0.14), transparent 16rem);
  box-shadow: var(--shadow);
}

.countdown-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.countdown-card__top strong {
  font-size: 1.2rem;
  line-height: 1.1;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.countdown-unit {
  min-height: 118px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  text-align: center;
}

.countdown-unit strong {
  display: block;
  color: var(--ice);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.countdown-unit span {
  display: block;
  margin-top: 10px;
  color: rgba(245, 248, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-card__note {
  margin: 16px 0 0;
  color: rgba(245, 248, 255, 0.58);
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.card:hover,
.rumor-card:hover,
.news-card:hover,
.game-card:hover {
  transform: translateY(-3px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--ice), var(--ice-strong));
  color: #06111a;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel,
.command-bar,
.card,
.rumor-card,
.news-card,
.game-card,
.stat-card,
.lineup-board,
.builder-shell,
.community {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 25, 38, 0.88), rgba(10, 14, 22, 0.86));
  box-shadow: var(--shadow);
}

.hero-panel {
  align-self: end;
  padding: 22px;
}

.hero-panel__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-panel__top strong {
  font-size: 3.1rem;
  line-height: 1;
}

.hero-panel p {
  margin: 12px 0 24px;
}

.signal-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  height: 112px;
  align-items: end;
}

.signal-bars span {
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--ice), rgba(97, 216, 255, 0.08));
}

.command-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 76px;
  padding: 14px;
}

.search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.quick-metrics {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.quick-metrics strong {
  color: var(--text);
}

.section + .section {
  margin-top: 94px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head h2,
.community h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters--season {
  margin-top: 14px;
}

.section-head--compact {
  margin-bottom: 14px;
}

.section-head--compact h3 {
  margin: 8px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.chip {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.chip.is-active,
.chip:hover {
  border-color: rgba(97, 216, 255, 0.5);
  background: rgba(97, 216, 255, 0.12);
  color: var(--text);
}

.chip:disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(168, 179, 199, 0.45);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.roster-grid {
  display: block;
}

.roster-section + .roster-section {
  margin-top: 34px;
}

.roster-position-title {
  margin: 0 0 14px;
  color: rgba(236, 246, 255, 0.58);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.roster-position-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card,
.rumor-card,
.news-card,
.game-card,
.stat-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  transition: 180ms ease;
}

.player-card::after,
.search-result::after,
.sheet-cell-wrap::after {
  position: absolute;
  right: 10px;
  bottom: -8px;
  z-index: 0;
  content: var(--player-number);
  color: rgba(255, 255, 255, 0.07);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.search-result::after {
  bottom: -12px;
  font-size: 3.2rem;
}

.sheet-cell-wrap::after {
  right: 9px;
  bottom: -4px;
  font-size: 3.6rem;
}

.player-card > *,
.search-result > *,
.sheet-cell-wrap > * {
  position: relative;
  z-index: 1;
}

.card::before,
.news-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(97, 216, 255, 0.16), transparent 38%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.card:hover::before,
.news-card:hover::before {
  opacity: 1;
}

.card > *,
.news-card > * {
  position: relative;
}

.player-top,
.agent-top,
.game-top,
.stat-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.player-avatar {
  position: relative;
  display: inline-grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(97, 216, 255, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(97, 216, 255, 0.24), rgba(255, 255, 255, 0.05)),
    rgba(0, 0, 0, 0.22);
  color: var(--ice);
  font-size: 0.88rem;
  font-weight: 900;
}

.player-avatar::before {
  content: attr(data-initials);
}

.player-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-avatar--sm {
  width: 34px;
  height: 34px;
  font-size: 0.68rem;
}

.number {
  color: rgba(255, 255, 255, 0.16);
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.9;
}

.card h3,
.rumor-card h3,
.news-card h3 {
  margin: 12px 0 7px;
  font-size: 1.08rem;
}

.meta,
.card p,
.news-card p,
.game-card p,
.community p {
  color: var(--muted);
  line-height: 1.55;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.player-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.player-info--compact {
  gap: 8px;
}

.player-nats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.player-nat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.player-flag {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status--signed,
.status--confirmed {
  background: rgba(56, 217, 138, 0.16);
  color: var(--green);
}

.status--rumor {
  background: rgba(255, 209, 102, 0.16);
  color: var(--yellow);
}

.status--denied {
  background: rgba(255, 93, 108, 0.16);
  color: var(--red);
}

.status--watch {
  background: rgba(84, 168, 255, 0.16);
  color: var(--blue);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.mini-stats span,
.line {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.mini-stats strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.player-ep-widget {
  margin-top: 16px;
}

.player-ep-widget .ep-widget {
  min-height: 176px;
}

.player-ep-widget .w-full > .flex.flex-col > .flex.items-center.space-x-2.mb-2,
.player-ep-widget .w-full > .flex.flex-col > .flex.items-center.flex-wrap.text-base.font-medium.mb-2 {
  display: none !important;
}

.player-ep-widget .w-full > .flex.flex-col {
  gap: 0 !important;
}

.lineup-board {
  margin-top: 18px;
  padding: 18px;
}

.lineup-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 12px;
}

.line strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ice);
}

.departure-report {
  display: grid;
  gap: 18px;
}

.departure-report__intro h3 {
  margin: 8px 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.departure-report__intro p,
.departure-report__card p,
.departure-report__outlook {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.departure-report__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.departure-report__card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.departure-report__card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.departure-report__card--departure {
  border-color: rgba(255, 93, 108, 0.28);
  background: rgba(255, 93, 108, 0.06);
}

.departure-report__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.departure-report__list li {
  color: var(--muted);
  line-height: 1.6;
}

.departure-report__list span {
  color: var(--ice);
  font-weight: 900;
}

.rule-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 22px;
  margin-top: 10px;
}

.rule-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rule-tag--import {
  background: rgba(255, 93, 108, 0.16);
  color: var(--red);
}

.rule-tag--u23,
.rule-tag--u24 {
  background: rgba(56, 217, 138, 0.16);
  color: var(--green);
}

.rule-tag--u21 {
  background: rgba(255, 209, 102, 0.16);
  color: var(--yellow);
}

.builder-shell {
  padding: 18px;
}

.builder-shell--page {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.82fr);
  gap: 16px;
  align-items: start;
}

.builder-main {
  min-width: 0;
  display: grid;
  align-content: start;
}

.builder-page-hero {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  padding: 54px 0 20px;
  text-align: center;
}

.builder-page-hero h1 {
  max-width: 980px;
  margin: 10px auto;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.builder-page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.65;
}

.builder-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.builder-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.season-carousel {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.season-carousel:empty {
  display: none;
}

.season-carousel__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
}

.season-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 6px 8px 4px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease;
  opacity: 0.6;
}

.season-card.is-center {
  transform: scale(1.04);
  opacity: 0.95;
}

.season-card.is-active {
  opacity: 1;
}

.season-card:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.02);
}

.season-card__logo {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  min-height: 82px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.season-card__logo--del {
  background: rgba(255, 255, 255, 0.02);
}

.season-card__logo--del2 {
  background: rgba(255, 255, 255, 0.02);
}

.season-card.is-active .season-card__logo::before {
  content: "";
  position: absolute;
  inset: 12px 22px;
  z-index: 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(97, 216, 255, 0.22), rgba(97, 216, 255, 0.06) 58%, transparent 78%);
  filter: blur(14px);
}

.season-card__logo-image {
  position: relative;
  z-index: 1;
}

.season-card__logo-image {
  width: 100%;
  max-width: 180px;
  max-height: 54px;
  object-fit: contain;
}

.season-card__season {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.season-carousel__meta {
  text-align: center;
}

.season-carousel__meta strong,
.season-carousel__meta small {
  display: block;
}

.season-carousel__meta strong {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.season-carousel__meta small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.share-panel {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.builder-view-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.builder-view-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.builder-view-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.builder-view-switch__tab {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.builder-view-switch__tab:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.builder-view-switch__tab.is-active {
  background: rgba(97, 216, 255, 0.12);
  color: #f5f8ff;
  box-shadow: inset 0 0 0 1px rgba(97, 216, 255, 0.42), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.builder-view-action {
  min-height: 40px;
  padding-inline: 16px;
}

.builder-modal[hidden] {
  display: none;
}

.builder-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
}

.builder-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 13, 0.7);
  backdrop-filter: blur(8px);
}

.builder-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(14, 19, 31, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.builder-modal__dialog h3 {
  margin: 6px 0 10px;
}

.builder-modal__dialog p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.builder-modal__field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.builder-modal__field span {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.builder-modal__field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 14px;
  outline: 0;
}

.builder-modal__field input:focus {
  border-color: rgba(97, 216, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(97, 216, 255, 0.12);
}

.builder-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.builder-mode-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.builder-mode-tabs .season-carousel {
  width: min(100%, 760px);
  margin-bottom: 0;
}

.builder-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 8px 14px;
}

.builder-mode-switch__label {
  min-width: 240px;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;
}

.builder-mode-switch__button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.builder-mode-switch__button:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(97, 216, 255, 0.45);
  background: rgba(97, 216, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.builder-mode-switch__button:active {
  transform: scale(0.98);
}

.builder-mode-switch__chevrons {
  display: inline-flex;
  gap: 3px;
}

.builder-mode-switch__chevrons span {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(-135deg);
}

.builder-mode-switch__button--next .builder-mode-switch__chevrons span {
  transform: rotate(45deg);
}

.builder-shell.is-view-switching .builder-rules,
.builder-shell.is-view-switching .builder-lines,
.builder-shell.is-view-switching .builder-glossary {
  animation: builder-view-shift 320ms ease;
}

@keyframes builder-view-shift {
  0% {
    opacity: 0.35;
    transform: translateY(10px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.share-code {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-code input {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  padding: 0 12px;
  outline: 0;
}

.share-code input:focus {
  border-color: rgba(97, 216, 255, 0.55);
}

.rule-meter {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.rule-meter span,
.rule-meter strong {
  display: block;
}

.rule-meter span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rule-meter strong {
  margin: 8px 0 10px;
  font-size: 1.7rem;
}

.rule-meter.is-maxed {
  border-color: rgba(255, 209, 102, 0.55);
  background: rgba(255, 209, 102, 0.08);
}

.rule-meter.is-maxed .bar span {
  background: linear-gradient(90deg, var(--yellow), var(--red));
}

.rule-meter.is-met {
  border-color: rgba(56, 217, 138, 0.5);
  background: rgba(56, 217, 138, 0.08);
}

.rule-meter.is-met .bar span {
  background: linear-gradient(90deg, var(--ice), var(--green));
}

.builder-feedback {
  position: fixed;
  top: 110px;
  right: 22px;
  z-index: 60;
  width: min(360px, calc(100vw - 28px));
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(97, 216, 255, 0.28);
  border-radius: 16px;
  background: rgba(14, 19, 31, 0.9);
  backdrop-filter: blur(14px);
  color: #d9f6ff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateX(118%) translateY(-6px);
  transition:
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.builder-feedback.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.builder-feedback.is-error {
  border-color: rgba(255, 93, 108, 0.5);
  background: rgba(44, 14, 22, 0.92);
  color: #ffd1d6;
}

.builder-feedback.is-success {
  border-color: rgba(56, 217, 138, 0.5);
  background: rgba(11, 32, 23, 0.92);
  color: #caffdf;
}

@media (max-width: 760px) {
  .builder-feedback {
    top: 92px;
    right: 14px;
    left: 14px;
    width: auto;
    min-height: 52px;
    font-size: 0.88rem;
  }

  .placeholder-list {
    grid-template-columns: 1fr;
  }
}

.builder-lines {
  display: grid;
  gap: 12px;
  --lineup-slot-width: clamp(170px, 18vw, 240px);
  --special-slot-width: var(--lineup-slot-width);
}

.builder-glossary {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.builder-glossary__inner {
  display: grid;
  gap: 12px;
}

.builder-glossary__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.builder-glossary__list span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.builder-glossary__list strong {
  color: var(--text);
}

.lineup-sheet {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.lineup-sheet__section {
  display: grid;
  width: 100%;
  gap: 12px;
}

.lineup-sheet__label,
.sheet-subtitle {
  color: rgba(245, 248, 255, 0.56);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lineup-sheet__group {
  display: grid;
  width: 100%;
  gap: 10px;
  justify-items: center;
}

.sheet-special-block,
.sheet-special-pairs {
  display: grid;
  gap: 10px;
}

.sheet-special-pairs {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.sheet-row--special-pp-top {
  grid-template-columns: repeat(3, var(--special-slot-width));
}

.sheet-row--special-pp-bottom {
  grid-template-columns: repeat(2, var(--special-slot-width));
}

.sheet-row--special-pp-1 {
  grid-template-columns: var(--special-slot-width);
  justify-content: center;
}

.sheet-row--special-pp-3 {
  grid-template-columns: repeat(3, var(--special-slot-width));
}

.sheet-row--special-pk {
  grid-template-columns: repeat(2, var(--special-slot-width));
}

.sheet-row--special-pp-top .sheet-cell,
.sheet-row--special-pp-bottom .sheet-cell,
.sheet-row--special-pp-1 .sheet-cell,
.sheet-row--special-pp-3 .sheet-cell,
.sheet-row--special-pk .sheet-cell {
  width: var(--special-slot-width);
}

.sheet-row {
  display: grid;
  justify-content: center;
  gap: 10px;
}

.sheet-row--forwards {
  grid-template-columns: repeat(3, var(--lineup-slot-width));
}

.sheet-row--defense,
.sheet-row--goalies {
  grid-template-columns: repeat(2, var(--lineup-slot-width));
}

.sheet-row--goalies {
  min-height: 74px;
}

.sheet-cell {
  width: var(--lineup-slot-width);
  min-height: 94px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: left;
}

.sheet-player-cell {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 11px;
  align-items: center;
}

.sheet-player-cell .sheet-slot-id,
.sheet-player-cell small {
  grid-column: 1 / -1;
}

.sheet-cell-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.sheet-cell-wrap .sheet-cell {
  width: 100%;
  height: 100%;
}

.sheet-remove {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 93, 108, 0.48);
  border-radius: 999px;
  background: rgba(7, 9, 15, 0.74);
  color: #ffd1d6;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transition: 160ms ease;
}

.sheet-cell-wrap:hover .sheet-remove,
.sheet-remove:focus-visible {
  opacity: 1;
}

.sheet-remove:hover {
  background: rgba(255, 93, 108, 0.22);
}

.sheet-cell:last-child {
  border-right: 0;
}

.sheet-player-cell {
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.sheet-player-cell:hover,
.sheet-player-cell.is-active {
  transform: translateY(-1px);
  border-color: rgba(97, 216, 255, 0.62);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.26), inset 0 0 0 1px rgba(97, 216, 255, 0.28);
}

.sheet-cell strong,
.sheet-cell small,
.sheet-cell span {
  display: block;
}

.sheet-cell strong {
  overflow: hidden;
  color: inherit;
  font-size: 1.05rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet-cell small,
.sheet-cell span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sheet-cell small.player-info,
.quick-assign__chip small.player-info {
  display: flex;
  margin-top: 4px;
}

.sheet-cell small.player-info span,
.quick-assign__chip small.player-info span,
.search-result .player-info span,
.player-card .player-info span {
  display: inline-flex;
}

.sheet-slot-id {
  color: var(--ice);
  font-size: 0.62rem;
  font-weight: 900;
}

.sheet-cell--domestic {
  background: linear-gradient(135deg, rgba(97, 216, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.sheet-cell--over24 {
  background: linear-gradient(135deg, rgba(97, 216, 255, 0.18), rgba(255, 255, 255, 0.04));
}

.sheet-cell--import {
  border-color: rgba(255, 93, 108, 0.42);
  background: linear-gradient(135deg, rgba(255, 93, 108, 0.24), rgba(255, 255, 255, 0.04));
}

.sheet-cell--u24 {
  border-color: rgba(56, 217, 138, 0.42);
  background: linear-gradient(135deg, rgba(56, 217, 138, 0.2), rgba(255, 255, 255, 0.04));
}

.sheet-cell--u21 {
  border-color: rgba(255, 209, 102, 0.52);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.22), rgba(255, 255, 255, 0.04));
}

.sheet-rule-cell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  border-color: rgba(97, 216, 255, 0.35);
  background: rgba(97, 216, 255, 0.1);
  font-weight: 900;
}

.sheet-rule-cell.is-maxed {
  border-color: rgba(255, 93, 108, 0.48);
  background: rgba(255, 93, 108, 0.12);
}

.sheet-placeholder {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.025);
}

.sheet-spacer {
  height: 22px;
}

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

.sheet-rule-meter {
  background:
    linear-gradient(135deg, rgba(17, 169, 217, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.035);
}

.sheet-rule-meter--imports {
  border-color: rgba(255, 93, 108, 0.65);
  background: linear-gradient(135deg, rgba(255, 93, 108, 0.38), rgba(255, 255, 255, 0.035));
}

.sheet-rule-meter--imports span,
.sheet-rule-meter--imports strong {
  color: #ff8d99;
}

.sheet-rule-meter--field {
  border-color: rgba(120, 212, 255, 0.62);
  background: linear-gradient(135deg, rgba(120, 212, 255, 0.28), rgba(255, 255, 255, 0.035));
}

.sheet-rule-meter--field span,
.sheet-rule-meter--field strong {
  color: #8fe8ff;
}

.sheet-rule-meter--goalies {
  border-color: rgba(190, 168, 255, 0.62);
  background: linear-gradient(135deg, rgba(190, 168, 255, 0.24), rgba(255, 255, 255, 0.035));
}

.sheet-rule-meter--goalies span,
.sheet-rule-meter--goalies strong {
  color: #d8c9ff;
}

.sheet-rule-meter--over24 {
  border-color: rgba(97, 216, 255, 0.65);
  background: linear-gradient(135deg, rgba(97, 216, 255, 0.36), rgba(255, 255, 255, 0.035));
}

.sheet-rule-meter--over24 span,
.sheet-rule-meter--over24 strong {
  color: #7ae1ff;
}

.sheet-rule-meter--u24 {
  border-color: rgba(56, 217, 138, 0.65);
  background: linear-gradient(135deg, rgba(56, 217, 138, 0.34), rgba(255, 255, 255, 0.035));
}

.sheet-rule-meter--u24 span,
.sheet-rule-meter--u24 strong {
  color: #56eb9c;
}

.sheet-rule-meter--u21 {
  border-color: rgba(255, 209, 102, 0.7);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.38), rgba(255, 255, 255, 0.035));
}

.sheet-rule-meter--u21 span,
.sheet-rule-meter--u21 strong {
  color: #ffd166;
}

.builder-line {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.builder-line__head,
.pool-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.builder-line__head strong,
.pool-head h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}

.slot-grid {
  display: grid;
  gap: 10px;
}

.slot-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.slot-cell {
  display: grid;
  gap: 8px;
}

.lineup-slot {
  width: 100%;
  min-height: 128px;
  padding: 13px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: 180ms ease;
}

.lineup-slot strong,
.lineup-slot small,
.slot-id {
  display: block;
}

.slot-id {
  margin-bottom: 10px;
  color: var(--ice);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.lineup-slot strong {
  color: var(--text);
  font-size: 0.96rem;
}

.lineup-slot small {
  margin-top: 5px;
}

.lineup-slot:hover,
.lineup-slot.is-active {
  border-color: rgba(97, 216, 255, 0.65);
  background: rgba(97, 216, 255, 0.1);
  transform: translateY(-2px);
}

.lineup-slot.is-filled {
  border-style: solid;
}

.slot-remove {
  min-height: 32px;
  border: 1px solid rgba(255, 93, 108, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 93, 108, 0.08);
  color: #ffd1d6;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
}

.slot-search-panel {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.slot-search-panel--side {
  position: sticky;
  top: 92px;
  align-self: start;
  margin-bottom: 0;
  min-height: 100%;
  height: 100%;
  max-height: calc(100vh - 116px);
  overflow: auto;
}

.slot-search-empty {
  display: grid;
  gap: 8px;
}

.slot-search-empty strong {
  font-size: 1.05rem;
}

.slot-search-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.slot-search-head,
.new-player-form__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.slot-search-head h3 {
  margin: 4px 0 0;
  text-transform: uppercase;
}

.quick-assign {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.quick-assign__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.quick-assign__head strong {
  color: var(--text);
  font-size: 0.92rem;
}

.quick-assign__head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.quick-assign__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-assign__chip {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.quick-assign__chip:hover {
  transform: translateY(-1px);
  border-color: rgba(97, 216, 255, 0.45);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.quick-assign__chip span,
.quick-assign__chip small {
  display: block;
}

.quick-assign__chip small.player-info {
  display: flex;
}

.quick-assign__chip span {
  color: inherit;
  font-size: 0.86rem;
  font-weight: 900;
}

.quick-assign__chip small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slot-search {
  margin-bottom: 12px;
}

.slot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.slot-search-results {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.search-result {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.16);
  transition: 180ms ease;
}

.search-result:hover {
  border-color: rgba(97, 216, 255, 0.36);
}

.search-result.is-disabled {
  opacity: 0.48;
}

.empty-state {
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
}

.placeholder-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.placeholder-panel__head strong,
.placeholder-panel__head span {
  display: block;
}

.placeholder-panel__head span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.placeholder-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.placeholder-chip {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.placeholder-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(97, 216, 255, 0.36);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.placeholder-chip span,
.placeholder-chip small {
  display: block;
}

.placeholder-chip span {
  font-size: 0.9rem;
  font-weight: 900;
}

.placeholder-chip small {
  color: rgba(245, 248, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.new-player-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(97, 216, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(97, 216, 255, 0.06);
}

.new-player-form__head strong,
.new-player-form__head span {
  display: block;
}

.new-player-form__head span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 10px;
}

.form-grid label,
.checkbox-row label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  display: block;
  width: 100%;
  min-height: 42px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  padding: 0 12px;
  outline: 0;
}

.form-grid textarea {
  min-height: 104px;
  padding: 12px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: rgba(97, 216, 255, 0.55);
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

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

#rumorList {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.rumor-group {
  display: grid;
  gap: 14px;
}

.rumor-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rumor-group__head h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.15rem;
}

.rumor-group__head > span {
  min-width: 34px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.rumor-group__arrow {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 900;
}

.rumor-group--arrivals .rumor-group__arrow {
  background: rgba(56, 217, 138, 0.16);
  color: var(--green);
}

.rumor-group--departures .rumor-group__arrow {
  background: rgba(255, 93, 108, 0.16);
  color: var(--red);
}

.rumor-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 14px;
  padding: 0;
}

.rumor-hero {
  position: relative;
  display: flex;
  min-height: 285px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 16px;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 14, 0.12) 0%, rgba(5, 8, 14, 0.5) 46%, rgba(5, 8, 14, 0.94) 100%),
    var(--rumor-image) center top / cover no-repeat,
    linear-gradient(135deg, rgba(97, 216, 255, 0.25), rgba(255, 255, 255, 0.04));
}

.rumor-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 12% 8%, rgba(97, 216, 255, 0.24), transparent 42%);
  pointer-events: none;
}

.rumor-card__head,
.rumor-card__body {
  position: relative;
  z-index: 1;
}

.rumor-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.rumor-badges {
  display: grid;
  gap: 7px;
  justify-items: end;
}

.rumor-card__body h3 {
  margin: 8px 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 0.95;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.rumor-card__body p {
  margin: 0;
  color: rgba(245, 248, 255, 0.82);
  line-height: 1.45;
}

.rumor-copyright {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
  display: inline-flex;
  max-width: calc(100% - 24px);
  align-items: center;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 8, 14, 0.58);
  color: rgba(245, 248, 255, 0.76);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.rumor-position {
  color: var(--ice);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 16px;
}

.team-route__arrow {
  color: var(--ice);
  font-weight: 900;
}

.team-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.team-badge span {
  overflow: hidden;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(97, 216, 255, 0.36);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 28%, rgba(97, 216, 255, 0.28), rgba(8, 13, 23, 0.9));
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 900;
}

.team-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-badge small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rumor-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 16px;
}

.rumor-fact {
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.rumor-fact strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rumor-fact span {
  color: inherit;
}

.rumor-fact--probability {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}

.rumor-fact--probability .bar {
  width: 100%;
}

.rumor-fact__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rumor-fact__topline strong {
  margin-bottom: 0;
}

.rumor-fact__topline em {
  color: var(--text);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ice), var(--green));
}

.news-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.news-stack {
  display: grid;
  gap: 16px;
}

.news-card {
  min-height: 220px;
}

.news-card--lead {
  min-height: 456px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(8, 11, 17, 0.12), rgba(8, 11, 17, 0.94)),
    linear-gradient(135deg, rgba(97, 216, 255, 0.25), rgba(255, 93, 108, 0.14)),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 20px);
}

.news-card__image {
  height: 98px;
  margin: -18px -18px 15px;
  background:
    radial-gradient(circle at 72% 35%, rgba(97, 216, 255, 0.7), transparent 5rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 16px);
}

.schedule {
  display: grid;
  gap: 12px;
}

.game-card {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr auto;
  gap: 16px;
  align-items: center;
}

.logo-dot {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(97, 216, 255, 0.24), rgba(255, 255, 255, 0.05));
  color: var(--ice);
  font-weight: 900;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card strong {
  display: block;
  margin-top: 12px;
  font-size: 2.2rem;
}

.spark {
  display: flex;
  gap: 4px;
  height: 42px;
  margin-top: 18px;
  align-items: end;
}

.spark span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--ice), rgba(97, 216, 255, 0.05));
}

.fit-score {
  margin-top: 16px;
}

.community {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  padding: 28px;
}

.poll {
  display: grid;
  gap: 12px;
}

.poll-option {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.poll-option__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 900;
}

.forum-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.forum-sidebar,
.forum-main,
.thread-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 25, 38, 0.88), rgba(10, 14, 22, 0.86));
  box-shadow: var(--shadow);
}

.forum-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.forum-categories {
  display: grid;
  gap: 8px;
}

.forum-category,
.thread-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: 180ms ease;
}

.forum-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  font-weight: 900;
}

.forum-category strong {
  color: var(--ice);
}

.forum-category:hover,
.forum-category.is-active,
.thread-card:hover,
.thread-card.is-active {
  border-color: rgba(97, 216, 255, 0.55);
  background: rgba(97, 216, 255, 0.1);
  transform: translateY(-2px);
}

.forum-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(97, 216, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(97, 216, 255, 0.06);
}

.forum-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.forum-form input,
.forum-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  outline: 0;
  padding: 11px 12px;
  resize: vertical;
}

.forum-form input:focus,
.forum-form textarea:focus {
  border-color: rgba(97, 216, 255, 0.55);
}

.forum-main {
  min-width: 0;
  padding: 14px;
}

.forum-toolbar {
  margin-bottom: 14px;
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 14px;
}

.thread-list {
  display: grid;
  align-content: start;
  gap: 10px;
}

.thread-card {
  display: grid;
  gap: 9px;
  min-height: 116px;
  padding: 14px;
}

.thread-card strong {
  font-size: 1rem;
  line-height: 1.25;
}

.thread-card small,
.thread-detail__head p,
.forum-post small {
  color: var(--muted);
  font-weight: 800;
}

.thread-detail {
  min-height: 520px;
  padding: 18px;
  box-shadow: none;
}

.thread-detail__head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.thread-detail__head h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
  text-transform: uppercase;
}

.forum-post {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.forum-post strong {
  display: block;
  margin-bottom: 8px;
}

.forum-post p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.reply-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.forum-post--reply {
  margin-top: 0;
  border-color: rgba(97, 216, 255, 0.16);
}

.forum-form--reply {
  margin-top: 16px;
}

.footer {
  width: 100%;
  margin: 94px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(12, 17, 28, 0.96), rgba(6, 9, 15, 0.98)),
    radial-gradient(circle at 12% 20%, rgba(97, 216, 255, 0.12), transparent 28rem);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 28px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 38px;
}

.footer__brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer__brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.footer__title {
  display: grid;
  gap: 4px;
}

.footer__title strong {
  font-size: 1.2rem;
  font-weight: 900;
}

.footer__eyebrow {
  color: var(--ice);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer__brand p,
.footer__group p,
.footer__instagram p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer__group {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer__group strong,
.footer__instagram strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.footer__nav {
  display: grid;
  gap: 10px;
}

.footer__nav a {
  color: var(--muted);
  font-weight: 800;
  transition: color 160ms ease, transform 160ms ease;
}

.footer__nav a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.footer__instagram {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.footer__instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #feda75, #fa7e1e 28%, #d62976 58%, #962fbf 80%, #4f5bd5 100%);
  color: #fff;
  font-weight: 900;
}

.footer__meta {
  color: var(--soft);
  font-size: 0.85rem;
  font-weight: 700;
}

.is-hidden {
  display: none !important;
}

.page-hero {
  padding: 54px 0 22px;
  text-align: center;
}

.page-hero h1 {
  max-width: 980px;
  margin: 10px auto;
  font-family: inherit;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 24px rgba(97, 216, 255, 0.18),
    0 14px 42px rgba(0, 0, 0, 0.55);
}

.page-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.65;
}

.maintenance-shell {
  min-height: 100vh;
}

.maintenance-main {
  min-height: 100vh;
  padding-bottom: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(180deg, #111317, #090b0f);
}

.maintenance-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 72px 24px;
}

.maintenance-hero__content {
  position: relative;
  --mx: 50%;
  --my: 50%;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 44px;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(41, 153, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(27, 30, 36, 0.72), rgba(12, 14, 18, 0.76));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  text-align: center;
  transition: box-shadow 180ms ease;
}

.maintenance-hero__content:hover {
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.maintenance-hero__logo {
  width: min(130px, 32vw);
  margin: 0 auto 28px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.32));
}

.maintenance-hero h1 {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
}

.maintenance-hero p {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.75;
}

.maintenance-progress {
  max-width: 340px;
  margin: 0 auto 8px;
}

.maintenance-progress__label {
  display: grid;
  gap: 6px;
  justify-items: center;
  margin-bottom: 14px;
}

.maintenance-progress__label strong {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.maintenance-progress__label span {
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.maintenance-progress__track {
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.maintenance-progress__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6edcff, #2baef2);
  box-shadow: 0 0 16px rgba(43, 174, 242, 0.4);
}

.maintenance-progress__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.maintenance-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.maintenance-footnote {
  margin-top: 28px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.maintenance-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.maintenance-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(97, 216, 255, 0.28);
  border-radius: 999px;
  background: rgba(97, 216, 255, 0.1);
  color: var(--ice);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.maintenance-pill--ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
  color: var(--soft);
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, calc(100% - 48px));
  margin: -8px auto 0;
  position: relative;
  z-index: 1;
}

.maintenance-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(97, 216, 255, 0.13), transparent 38%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.maintenance-card span {
  display: block;
  color: var(--ice);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.maintenance-card strong {
  display: block;
  margin-top: 18px;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.maintenance-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.maintenance-note {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 28px;
}

.maintenance-note__inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.maintenance-note__inner strong {
  font-size: 1.25rem;
}

.maintenance-note__inner p {
  max-width: 620px;
  color: var(--muted);
}

.maintenance-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.maintenance-instagram svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.hub-card {
  min-height: 168px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(97, 216, 255, 0.13), transparent 38%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
  transition: 180ms ease;
}

.hub-card:hover {
  border-color: rgba(97, 216, 255, 0.45);
  transform: translateY(-3px);
}

.hub-card span,
.hub-card strong {
  display: block;
}

.hub-card span {
  color: var(--ice);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-card strong {
  margin-top: 46px;
  font-size: 1.35rem;
  text-transform: uppercase;
}

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

  .nav-links {
    position: absolute;
    top: 72px;
    display: none;
    width: min(320px, 100%);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links--left {
    left: 0;
    right: auto;
  }

  .nav-links--right {
    left: auto;
    right: 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-toggle {
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .brand--center {
    grid-column: 2;
  }

  .brand--logo {
    width: 104px;
    min-height: 74px;
  }

  .brand__logo {
    max-height: 78px;
  }

  .hero,
  .news-layout,
  .builder-shell,
  .builder-shell--page,
  .community,
  .forum-shell,
  .forum-layout {
    grid-template-columns: 1fr;
  }

  .slot-search-panel--side,
  .forum-sidebar {
    position: static;
    max-height: none;
  }

  .hero {
    min-height: auto;
  }

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

  .card-grid,
  .roster-position-grid,
  .hub-grid,
  .maintenance-grid,
  .rumor-list,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .departure-report__grid {
    grid-template-columns: 1fr;
  }

  .lineup-grid,
  .slot-grid--3,
  .game-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .maintenance-hero {
    min-height: 100vh;
    padding: 32px 18px;
  }

  .maintenance-hero__content {
    padding: 44px 22px;
  }

  .maintenance-hero h1 {
    line-height: 0.96;
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  .maintenance-hero p {
    max-width: 92%;
  }

  .maintenance-progress {
    max-width: min(320px, 100%);
  }

  .maintenance-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .builder-lines {
    --lineup-slot-width: clamp(96px, 28vw, 128px);
    --special-slot-width: var(--lineup-slot-width);
  }

  .sheet-special-pairs {
    grid-template-columns: 1fr;
  }

  .sheet-special-block {
    min-width: 0;
  }

  .sheet-row--special-pp-top {
    grid-template-columns: repeat(2, var(--special-slot-width));
  }

  .sheet-row--special-pp-bottom {
    grid-template-columns: repeat(2, var(--special-slot-width));
  }

  .sheet-row--special-pk {
    grid-template-columns: repeat(2, var(--special-slot-width));
  }

  .sheet-cell {
    min-height: 78px;
    padding: 10px;
  }

  .builder-mode-switch {
    gap: 12px;
    width: 100%;
    justify-content: center;
  }

  .builder-mode-switch__label {
    min-width: 0;
    font-size: 1rem;
  }

  .season-carousel__track {
    grid-template-columns: 1fr;
  }

  .season-card,
  .season-card.is-center {
    transform: none;
    opacity: 1;
  }

  .season-card__logo {
    min-height: 92px;
  }

  .section {
    width: min(100% - 22px, var(--max));
  }

  .site-header {
    width: min(100% - 22px, var(--max));
  }

  .brand small {
    display: none;
  }

  .brand--logo {
    width: 86px;
    min-height: 64px;
  }

  .brand__logo {
    max-height: 66px;
  }

  .hero {
    padding-top: 42px;
  }

  .countdown-card {
    padding: 18px;
  }

  .countdown-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .countdown-grid {
    gap: 10px;
    grid-template-columns: 1fr 1fr;
  }

  .countdown-unit {
    min-height: 102px;
    padding: 14px 12px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.4rem);
  }

  .page-hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.4rem);
  }

  .hero::before {
    inset: 160px -120px 30px 24px;
    width: 620px;
  }

  .hero::after {
    width: 240px;
    height: 240px;
    right: -28%;
    top: 42%;
  }

  .command-bar,
  .section-head,
  .builder-page-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .quick-metrics {
    justify-content: space-between;
  }

  .card-grid,
  .roster-position-grid,
  .hub-grid,
  .rumor-list,
  .builder-rules,
  .share-panel,
  .form-grid,
  .slot-grid--2,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .search-result,
  .slot-search-head,
  .season-profile-panel,
  .new-player-form__head {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .news-card--lead {
    min-height: 330px;
  }
}
