:root {
  --ink: #10223a;
  --muted: #647084;
  --paper: #f5f3ee;
  --card: #fffefa;
  --line: #dcd9d1;
  --red: #e33b3f;
  --red-dark: #b7202d;
  --blue: #1859a9;
  --blue-dark: #0d3972;
  --gold: #f4b942;
  --green: #20815f;
  --shadow: 0 18px 55px rgba(16, 34, 58, 0.12);
  --display: "Oswald", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 2%, rgba(227, 59, 63, 0.08), transparent 25rem),
    linear-gradient(rgba(16, 34, 58, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 34, 58, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 28px 28px, 28px 28px, auto;
  font-family: var(--body);
  min-height: 100vh;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.site-header {
  max-width: 1440px;
  height: 78px;
  margin: 0 auto;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(16, 34, 58, 0.12);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.primary-nav a {
  padding: 29px 0 25px;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-mark {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--red);
  border-radius: 5px;
  font-size: 12px;
  transform: rotate(45deg);
}

.brand-mark::first-letter {
  transform: rotate(-45deg);
}

.season-badge {
  padding: 8px 12px;
  color: var(--red-dark);
  border: 1px solid rgba(227, 59, 63, 0.3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-account {
  min-height: 36px;
  padding: 0 14px;
  font-size: 11px;
}

main {
  overflow: hidden;
}

.hero {
  max-width: 1320px;
  min-height: 570px;
  margin: 0 auto;
  padding: 92px 5vw 110px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 8vw;
  align-items: center;
  position: relative;
}

.hero::after {
  content: "25";
  position: absolute;
  z-index: -1;
  right: -25px;
  bottom: -104px;
  color: rgba(16, 34, 58, 0.035);
  font-family: var(--display);
  font-size: 430px;
  line-height: 1;
  font-weight: 700;
}

.eyebrow,
.card-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 25px;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero-description {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.profile-card {
  padding: 38px;
  background: rgba(255, 254, 250, 0.9);
  border: 1px solid rgba(16, 34, 58, 0.1);
  border-top: 5px solid var(--red);
  border-radius: 9px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.profile-card h2,
.section-heading h2 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.auth-description {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.sign-in-form,
.auth-form {
  display: grid;
  gap: 10px;
}

.sign-in-form label:not(:first-child),
.auth-form label:not(:first-child) {
  margin-top: 6px;
}

.auth-button {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
}

.auth-links a,
.auth-links button,
.auth-back {
  padding: 0;
  color: var(--blue-dark);
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-back {
  margin-top: 18px;
  font-size: 13px;
}

.delete-account-button {
  display: block;
  margin: 20px auto 0;
  padding: 0;
  color: var(--red-dark);
  background: none;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-message {
  min-height: 18px;
  margin: 16px 0 0;
  color: var(--red-dark);
  font-size: 12px;
  line-height: 1.5;
}

.profile-card label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

input,
select {
  width: 100%;
  min-height: 50px;
  color: var(--ink);
  background: white;
  border: 1px solid #c9c8c2;
  border-radius: 5px;
  outline: none;
  transition: 160ms ease;
}

input {
  min-width: 0;
  padding: 0 15px;
  color: var(--ink);
  background-color: #fff;
  border-radius: 5px;
  caret-color: var(--red);
  font-weight: 700;
  opacity: 1;
  -webkit-text-fill-color: var(--ink);
}

select {
  padding: 0 40px 0 13px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 21px,
    calc(100% - 12px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select optgroup {
  color: var(--ink);
  font-weight: 700;
}

select option {
  font-weight: 400;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 89, 169, 0.13);
}

.input-hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.name-preview {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.name-preview strong {
  color: var(--ink);
}

.button {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 3px solid rgba(24, 89, 169, 0.28);
  outline-offset: 3px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.button[aria-busy="true"] {
  cursor: wait;
}

.button-primary {
  color: white;
  background: var(--red);
  box-shadow: 0 6px 14px rgba(227, 59, 63, 0.18);
}

.button-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 8px 18px rgba(183, 32, 45, 0.22);
}

.button-danger {
  color: white;
  background: var(--red-dark);
  box-shadow: 0 8px 18px rgba(183, 32, 45, 0.2);
}

.button-danger:hover {
  background: #8e1420;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(16, 34, 58, 0.18);
  box-shadow: 0 2px 7px rgba(16, 34, 58, 0.06);
}

.button-secondary:hover {
  background: white;
  border-color: rgba(16, 34, 58, 0.3);
  box-shadow: 0 5px 12px rgba(16, 34, 58, 0.1);
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(16, 34, 58, 0.25);
}

.button-large {
  min-height: 48px;
  padding: 0 24px;
  font-size: 13px;
}

.account-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 32px;
  color: var(--ink);
  background: var(--card);
  border: 0;
  border-top: 5px solid var(--red-dark);
  border-radius: 9px;
  box-shadow: 0 24px 80px rgba(16, 34, 58, 0.3);
}

.account-dialog::backdrop {
  background: rgba(16, 34, 58, 0.64);
  backdrop-filter: blur(3px);
}

.account-dialog h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
}

.auth-dialog h3 {
  margin: 4px 0 12px;
  font-family: var(--display);
  font-size: 1.65rem;
  text-transform: uppercase;
}

.auth-dialog .dialog-heading {
  margin-bottom: 18px;
}

.auth-dialog label {
  margin-bottom: 0;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.dialog-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.dialog-close:hover {
  color: var(--ink);
  border-color: rgba(16, 34, 58, 0.35);
}

.account-details {
  margin: 20px 0;
  overflow: hidden;
  background: rgba(24, 89, 169, 0.06);
  border: 1px solid rgba(24, 89, 169, 0.14);
  border-radius: 6px;
}

.account-details p {
  margin: 0;
  padding: 13px 15px;
}

.account-details p + p {
  border-top: 1px solid rgba(24, 89, 169, 0.14);
}

.account-details span,
.account-details strong {
  display: block;
}

.account-details span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-details strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.account-settings-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-settings-actions .button {
  width: 100%;
}

.public-bracket-dialog {
  width: min(1180px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.public-bracket-status {
  min-height: 20px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.public-bracket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.public-bracket-conference {
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 254, 250, 0.7);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.public-bracket-rounds {
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.public-bracket-round {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.public-game-card {
  box-shadow: none;
}

.public-team-pick {
  min-height: 40px;
  padding: 7px 6px;
  display: grid;
  grid-template-columns: 23px 21px minmax(0, 1fr) 12px;
  gap: 3px;
  align-items: center;
  color: var(--ink);
  background: white;
}

.public-team-pick + .public-team-pick {
  border-top: 1px solid #ebe8e2;
}

.public-team-pick.selected {
  color: white;
  background: var(--ink);
}

.public-champion {
  margin-top: 18px;
  padding: 24px;
  color: white;
  background: var(--ink);
  border-radius: 7px;
  text-align: center;
}

.public-champion .card-kicker {
  color: var(--gold);
}

.public-champion .champion-logo {
  width: 56px;
  height: 56px;
  margin: 8px auto;
}

.public-champion strong {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
}

.account-dialog > form > p:not(.card-kicker):not(.dialog-message) {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.6;
}

#group-invite-description {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.6;
}

#group-invite-description strong {
  color: var(--ink);
}

#group-invite-link {
  font-size: 13px;
}

.account-dialog label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.account-dialog .input-hint + label {
  margin-top: 18px;
}

.dialog-message {
  min-height: 18px;
  margin: 12px 0 0;
  color: var(--red-dark);
  font-size: 12px;
}

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

.name-row .button {
  width: 100%;
  min-height: 50px;
  border-radius: 5px;
}

.predictor,
.saved-section,
.leaderboard-section,
.scoring-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 90px 5vw;
}

.home-hero,
.how-it-works,
.home-groups,
.home-leaderboard,
.page-intro {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 5vw;
  padding-right: 5vw;
}

.home-hero {
  min-height: 620px;
  padding-top: 100px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 8vw;
  align-items: center;
}

.home-hero-copy h1,
.page-intro h1 {
  max-width: 980px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.text-link {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.hero-field-mark {
  min-height: 355px;
  padding: 36px;
  display: grid;
  place-content: center;
  color: white;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transform: rotate(2deg);
}

.kickoff-countdown {
  min-height: 355px;
  padding: 36px;
  display: block;
  color: white;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.kickoff-countdown > .card-kicker {
  color: rgba(255, 255, 255, 0.58);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.countdown-grid span {
  min-width: 0;
  padding: 14px 4px 12px;
  text-align: center;
}

.countdown-grid span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.countdown-grid strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 44px);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1;
}

.countdown-grid small,
.countdown-stats small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kickoff-countdown time,
.countdown-status {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.5;
}

.countdown-status {
  min-height: 18px;
  margin: 5px 0 0;
}

.countdown-stats {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.countdown-stats span {
  font-family: var(--display);
  font-size: 24px;
}

.countdown-stats small {
  display: inline;
  margin-left: 4px;
}

.kickoff-countdown.locked {
  background: #162235;
}

.prediction-lock-notice {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  padding: 18px 20px;
  color: var(--ink);
  background: #eaf2ff;
  border: 1px solid rgba(30, 96, 189, 0.24);
  border-left: 5px solid var(--blue);
  border-radius: 6px;
}

.prediction-lock-notice.locked {
  background: #f1f3f6;
  border-color: rgba(16, 34, 58, 0.18);
  border-left-color: var(--ink);
}

.prediction-lock-notice span {
  color: var(--muted);
  text-align: right;
}

body.predictions-locked .predictor select,
body.predictions-locked .predictor .team-pick,
body.predictions-locked .predictor .field-actions button,
body.predictions-locked .predictor .final-actions button {
  cursor: not-allowed;
}

.hero-field-mark span {
  font-family: var(--display);
  font-size: 66px;
  line-height: 0.9;
}

.hero-field-mark p {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-field-mark i {
  width: 130px;
  height: 1px;
  margin: 22px auto;
  background: rgba(255, 255, 255, 0.18);
}

.how-it-works,
.home-groups,
.home-leaderboard {
  padding-top: 90px;
  padding-bottom: 90px;
  border-top: 1px solid rgba(16, 34, 58, 0.12);
}

.home-groups-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 12px 38px rgba(16, 34, 58, 0.08);
}

.home-groups-copy {
  padding: clamp(32px, 5vw, 62px);
}

.home-groups-copy h2 {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.3vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
}

.home-groups-copy > p:not(.eyebrow):not(.home-group-status) {
  max-width: 650px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.home-group-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.home-group-actions .text-link {
  margin-left: 8px;
}

.home-group-status {
  min-height: 20px;
  margin: 16px 0 0;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.home-groups-feature {
  min-height: 310px;
  padding: clamp(32px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  background:
    linear-gradient(145deg, rgba(24, 89, 169, 0.9), rgba(13, 57, 114, 0.98)),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.08) 10px, rgba(255, 255, 255, 0.08) 11px);
}

.home-groups-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 36px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: var(--gold);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 28px;
}

.home-groups-feature strong {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 28px;
  text-transform: uppercase;
}

.home-groups-feature p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.6;
}

.home-invite-callout {
  margin-top: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.home-invite-callout .card-kicker {
  margin-bottom: 7px;
  color: var(--gold);
}

.home-invite-callout strong {
  font-family: var(--display);
  font-size: 21px;
  text-transform: uppercase;
}

.home-invite-callout p:last-child {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.steps-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.steps-list li {
  min-height: 165px;
  padding: 26px;
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 7px 24px rgba(16, 34, 58, 0.05);
}

.steps-list li > span {
  color: var(--red);
  font-family: var(--display);
  font-size: 25px;
}

.steps-list strong {
  display: block;
  margin: 3px 0 9px;
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
}

.steps-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.page-intro {
  padding-top: 78px;
  padding-bottom: 68px;
}

.page-intro h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.page-intro > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.compact-page-intro {
  padding-bottom: 60px;
}

.page-section {
  padding-top: 70px;
}

.scoring-cta {
  margin-top: 28px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.scoring-cta h2,
.scoring-cta .eyebrow {
  margin-bottom: 0;
}

.predictor {
  border-top: 1px solid rgba(16, 34, 58, 0.12);
}

.section-heading {
  margin-bottom: 44px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading h2 {
  margin-bottom: 10px;
}

.section-heading > div > p:last-child {
  max-width: 750px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.active-profile {
  width: fit-content;
  margin: 0 0 12px;
  padding: 7px 10px;
  color: var(--blue-dark);
  background: rgba(24, 89, 169, 0.08);
  border-left: 3px solid var(--blue);
  font-size: 12px;
}

.odds-status {
  width: fit-content;
  margin: 13px 0 0 !important;
  padding: 8px 11px;
  color: #73520d !important;
  background: rgba(244, 185, 66, 0.13);
  border: 1px solid rgba(244, 185, 66, 0.45);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

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

.conference-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(16, 34, 58, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(16, 34, 58, 0.06);
}

.conference-title {
  padding: 25px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
}

.afc-card .conference-title {
  background: linear-gradient(110deg, #b7202d, var(--red));
}

.nfc-card .conference-title {
  background: linear-gradient(110deg, var(--blue-dark), var(--blue));
}

.conference-icon {
  width: 48px;
  height: 48px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 24px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
}

.conference-logo {
  position: relative;
  z-index: 1;
  width: 39px;
  height: 39px;
  display: block;
  object-fit: contain;
}

.conference-logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.conference-logo:not(.logo-error) + .conference-logo-fallback {
  visibility: hidden;
}

.conference-title p {
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  opacity: 0.72;
}

.conference-title h3 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: 27px;
  text-transform: uppercase;
}

.seed-list {
  padding: 12px 28px 22px;
}

.seed-group-heading {
  margin: 8px -28px 0;
  padding: 13px 28px 11px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink);
  background: #efede7;
  border-bottom: 1px solid var(--line);
}

.seed-group-heading strong {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.seed-group-heading span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: right;
  text-transform: uppercase;
}

.seed-group-heading.wild-card-group {
  margin-top: 10px;
  color: var(--blue-dark);
  background: rgba(24, 89, 169, 0.07);
}

.seed-group-heading.seed-order-group {
  margin-top: 14px;
  color: #73520d;
  background: rgba(244, 185, 66, 0.12);
}

.division-winner-grid {
  padding: 17px 0 5px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.division-winner-field {
  display: block;
}

.division-winner-field > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.division-winner-field select {
  min-height: 46px;
}

.logo-select-control {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  background: white;
  border: 1px solid #c9c8c2;
  border-radius: 5px;
}

.logo-select-control select {
  min-width: 0;
  border: 0;
  border-left: 1px solid #e2dfd8;
  border-radius: 0 5px 5px 0;
}

.select-team-logo,
.select-logo-placeholder {
  width: 27px;
  height: 44px;
  display: grid;
  place-items: center;
  background: white;
  border-radius: 5px 0 0 5px;
}

.select-team-logo {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin: auto;
  padding: 0;
  object-fit: contain;
}

.select-logo-placeholder {
  font-size: 10px;
  color: #b5b3ad;
}

.seed-row {
  padding: 11px 0;
  display: grid;
  grid-template-columns: 30px 34px minmax(0, 1fr) 66px;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.seed-logo-slot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.seed-team-logo {
  width: 31px;
  height: 31px;
  max-width: 31px;
  max-height: 31px;
  display: block;
  object-fit: contain;
}

.seed-row.locked {
  opacity: 0.52;
}

.seed-row.locked select {
  cursor: not-allowed;
}

.seed-row:last-child {
  border-bottom: 0;
}

.seed-number {
  font-family: var(--display);
  font-size: 23px;
  text-align: center;
}

.seed-note {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.seed-row:nth-of-type(2) .seed-note {
  color: var(--green);
}

.field-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.validation-message {
  margin: 0;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 600;
}

.bracket-section {
  margin-top: 100px;
  scroll-margin-top: 30px;
}

.bracket-heading {
  align-items: center;
}

.save-state {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.save-dot {
  width: 8px;
  height: 8px;
  background: #aeb3bb;
  border-radius: 50%;
}

.save-state.saved {
  color: var(--green);
}

.save-state.saved .save-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(32, 129, 95, 0.12);
}

.bracket-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.bracket-conference {
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 254, 250, 0.75);
  border: 1px solid rgba(16, 34, 58, 0.12);
  border-radius: 8px;
}

.bracket-conference-label {
  padding: 13px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.12em;
  text-align: center;
}

.bracket-conference-logo {
  width: 29px;
  height: 29px;
  padding: 3px;
  background: white;
  border-radius: 50%;
  object-fit: contain;
}

.afc-label {
  background: var(--red);
}

.nfc-label {
  background: var(--blue);
}

.rounds {
  min-width: 0;
  padding: 18px 14px;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.25fr;
  gap: 9px;
}

.round {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.round-label {
  min-height: 32px;
  margin-bottom: 2px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.round.divisional {
  justify-content: center;
}

.round.championship {
  justify-content: center;
  padding: 10px;
  background: rgba(244, 185, 66, 0.1);
  border: 2px solid rgba(244, 185, 66, 0.8);
  border-radius: 7px;
}

.round.championship .round-label {
  color: #805b11;
  font-size: 13px;
  font-weight: 700;
}

.game-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(16, 34, 58, 0.05);
}

.game-title {
  padding: 7px 10px 5px;
  color: #9298a1;
  background: #faf9f6;
  border-bottom: 1px solid #ebe8e2;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-pick {
  width: 100%;
  min-height: 42px;
  padding: 8px 6px;
  display: grid;
  grid-template-columns: 23px 21px minmax(0, 1fr) 12px;
  gap: 3px;
  align-items: center;
  color: var(--ink);
  background: white;
  border: 0;
  text-align: left;
}

.bracket-team-logo {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  display: block;
  object-fit: contain;
}

.bracket-logo-placeholder {
  width: 24px;
}

.logo-error {
  visibility: hidden;
}

.team-pick + .team-pick {
  border-top: 1px solid #ebe8e2;
}

.team-pick:not(:disabled):hover {
  background: #f7f7f4;
}

.team-pick.selected {
  color: white;
  background: var(--ink);
}

.team-pick:disabled {
  color: #a3a8af;
  cursor: not-allowed;
}

.team-seed {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  background: #eeece6;
  border-radius: 50%;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.selected .team-seed {
  color: var(--ink);
  background: white;
}

.team-name {
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pick-check {
  font-size: 12px;
  font-weight: 700;
}

.super-bowl-card {
  padding: 34px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(rgba(13, 30, 51, 0.96), rgba(13, 30, 51, 0.96)),
    repeating-linear-gradient(45deg, transparent, transparent 8px, #fff 8px, #fff 9px);
  border-radius: 8px;
  color: white;
  text-align: center;
  box-shadow: var(--shadow);
}

.super-bowl-card h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 27px;
  text-transform: uppercase;
}

.super-bowl-status {
  min-height: 36px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.5;
}

.super-bowl-card .game-card {
  color: var(--ink);
  text-align: left;
}

.super-bowl-card .team-pick:not(:disabled) {
  min-height: 54px;
}

.super-bowl-card .team-pick:not(:disabled):hover {
  color: white;
  background: var(--red);
}

.super-bowl-card .team-pick.selected {
  background: var(--red);
}

.champion-display {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.champion-logo {
  width: 68px;
  height: 68px;
  max-width: 68px;
  max-height: 68px;
  display: block;
  margin: 10px auto 0;
  object-fit: contain;
}

.trophy {
  width: 34px;
  height: 47px;
  display: block;
  margin: 0 auto;
  color: var(--gold);
  fill: currentColor;
}

.trophy-detail {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 1.8px;
}

.champion-display p {
  margin: 10px 0 5px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.champion-display strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  text-transform: uppercase;
}

.champion-display.empty {
  opacity: 0.55;
}

.final-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.saved-section {
  border-top: 1px solid rgba(16, 34, 58, 0.12);
}

.leaderboard-section {
  border-top: 1px solid rgba(16, 34, 58, 0.12);
}

.leaderboard-heading {
  align-items: center;
}

.leaderboard-view-tabs {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  background: rgba(16, 34, 58, 0.07);
  border: 1px solid rgba(16, 34, 58, 0.11);
  border-radius: 7px;
}

.leaderboard-view-tab {
  min-width: 110px;
  min-height: 42px;
  padding: 0 20px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

.leaderboard-view-tab:hover {
  color: var(--blue-dark);
}

.leaderboard-view-tab.active {
  color: var(--blue-dark);
  background: var(--card);
  box-shadow: 0 2px 8px rgba(16, 34, 58, 0.1);
}

.leaderboard-view-tab:focus-visible {
  outline: 3px solid rgba(24, 89, 169, 0.3);
  outline-offset: 2px;
}

.leaderboard-view-panel > .leaderboard-status {
  margin: 0 0 18px !important;
}

.groups-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: rgba(24, 89, 169, 0.055);
  border-left: 3px solid var(--blue);
}

.groups-toolbar > p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.group-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.group-tabs {
  display: flex;
  gap: 9px;
  margin-bottom: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.group-tab {
  min-height: 40px;
  padding: 0 16px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(24, 89, 169, 0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.group-tab:hover,
.group-tab.active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.group-leaderboard {
  padding: 24px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.group-leaderboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.group-leaderboard-heading .card-kicker {
  margin-bottom: 5px;
}

.group-leaderboard-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
  text-transform: uppercase;
}

.group-leaderboard-heading .leaderboard-status {
  margin: 0 !important;
}

.group-leaderboard-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.empty-groups {
  padding: 30px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
  border: 1px dashed #c8c7c1;
  border-radius: 7px;
  text-align: center;
}

.scoring-section {
  border-top: 1px solid rgba(16, 34, 58, 0.12);
}

.leaderboard-status {
  width: fit-content;
  margin-top: 13px !important;
  padding: 8px 11px;
  color: var(--blue-dark) !important;
  background: rgba(24, 89, 169, 0.08);
  border: 1px solid rgba(24, 89, 169, 0.22);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.leaderboard-table-shell {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 7px 24px rgba(16, 34, 58, 0.05);
}

.leaderboard-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.leaderboard-table th:nth-child(2),
.leaderboard-table td:nth-child(2) {
  text-align: left;
}

.leaderboard-table thead th {
  color: var(--muted);
  background: rgba(16, 34, 58, 0.035);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.leaderboard-table tbody th {
  font-size: 14px;
}

.leaderboard-table tbody tr:last-child th,
.leaderboard-table tbody tr:last-child td {
  border-bottom: 0;
}

.leaderboard-player-button {
  padding: 0;
  color: var(--blue-dark);
  background: none;
  border: 0;
  text-align: left;
}

.leaderboard-player-button strong,
.leaderboard-player-button span {
  display: block;
}

.leaderboard-player-button strong {
  font-size: 14px;
}

.leaderboard-player-button span {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-transform: uppercase;
}

.leaderboard-player-button:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.leaderboard-rank {
  width: 78px;
  font-size: 18px;
  font-weight: 700;
  text-align: center !important;
}

.leaderboard-total {
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
}

.empty-leaderboard {
  padding: 34px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
  border: 1px dashed #c8c7c1;
  border-radius: 7px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 28px;
}

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

.saved-card {
  padding: 23px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 7px 24px rgba(16, 34, 58, 0.05);
}

.saved-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.saved-card h3 {
  margin-bottom: 5px;
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
}

.saved-card time {
  color: var(--muted);
  font-size: 11px;
}

.champion-chip {
  display: inline-flex;
  margin: 20px 0;
  padding: 8px 11px;
  align-items: center;
  gap: 8px;
  color: #72500e;
  background: #fff5d9;
  border: 1px solid #f1d58b;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.score-summary {
  margin: 0 0 20px;
  padding: 16px;
  color: white;
  background: var(--ink);
  border-radius: 6px;
}

.score-summary-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.score-summary-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.score-summary-total {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
}

.score-summary-status {
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.45;
}

.score-splits {
  margin-top: 14px;
  padding-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.score-splits span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.score-splits strong {
  display: block;
  margin-top: 3px;
  color: white;
  font-size: 13px;
}

.scoring-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 22px;
  align-items: stretch;
}

.scoring-table-shell {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 7px 24px rgba(16, 34, 58, 0.05);
}

.scoring-table {
  width: 100%;
  border-collapse: collapse;
}

.scoring-table th,
.scoring-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.scoring-table th:not(:first-child),
.scoring-table td:not(:first-child) {
  width: 120px;
  text-align: right;
}

.scoring-table thead th {
  color: var(--muted);
  background: rgba(16, 34, 58, 0.035);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scoring-table tbody td {
  font-size: 13px;
}

.scoring-table tbody td:first-child {
  font-weight: 600;
}

.seed-point-tiers {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  text-align: left;
}

.seed-point-tiers li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.seed-point-tiers strong {
  color: var(--ink);
  white-space: nowrap;
}

.scoring-table tfoot th,
.scoring-table tfoot td {
  color: white;
  background: var(--ink);
  border-bottom: 0;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scoring-note {
  padding: 28px;
  color: white;
  background: var(--blue-dark);
  border-radius: 7px;
  box-shadow: 0 7px 24px rgba(16, 34, 58, 0.1);
}

.scoring-note .card-kicker {
  color: #8fc0ff;
}

.scoring-note h3 {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: 27px;
  text-transform: uppercase;
}

.scoring-note p:not(.card-kicker) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.scoring-note p:last-child {
  margin-bottom: 0;
}

.saved-card-actions {
  display: flex;
  gap: 8px;
}

.saved-card-actions button {
  min-height: 36px;
  padding: 0 13px;
  font-size: 11px;
}

.delete-button {
  margin-left: auto;
  color: var(--red-dark);
  background: transparent;
  border: 0;
}

.empty-locker {
  padding: 34px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
  border: 1px dashed #c8c7c1;
  border-radius: 7px;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 10;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 18px;
  color: white;
  background: var(--ink);
  border-radius: 5px;
  box-shadow: 0 12px 30px rgba(16, 34, 58, 0.24);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: 200ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

footer {
  min-height: 95px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.55);
  background: var(--ink);
  font-size: 11px;
}

footer span {
  color: white;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.1em;
}

footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .hero-field-mark {
    min-height: 190px;
    grid-template-columns: auto auto 1px auto auto;
    gap: 14px;
    align-items: center;
    transform: none;
  }

  .kickoff-countdown {
    min-height: 0;
    transform: none;
  }

  .hero-field-mark i {
    width: 1px;
    height: 70px;
    margin: 0 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .profile-card {
    max-width: 650px;
  }

  .public-bracket-grid {
    grid-template-columns: 1fr;
  }

  .bracket-shell {
    grid-template-columns: 1fr;
  }

  .super-bowl-card {
    min-height: 440px;
    order: 3;
  }

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

  .scoring-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 66px;
    gap: 12px;
  }

  .primary-nav {
    margin-left: auto;
    gap: 13px;
  }

  .primary-nav a {
    padding: 24px 0 20px;
    font-size: 10px;
  }

  .header-account {
    min-height: 34px;
    padding: 0 10px;
    font-size: 10px;
  }

  .brand > span:last-child {
    display: none;
  }

  .season-badge {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 65px;
    padding-bottom: 75px;
  }

  .home-hero,
  .page-intro {
    padding-top: 62px;
    padding-bottom: 68px;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-actions,
  .scoring-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .scoring-cta .button {
    width: 100%;
  }

  .hero-field-mark {
    min-height: 155px;
    padding: 24px 16px;
    gap: 8px;
  }


  .kickoff-countdown {
    padding: 26px 20px;
  }

  .countdown-grid {
    margin-top: 26px;
  }

  .countdown-grid strong {
    font-size: 32px;
  }

  .prediction-lock-notice {
    flex-direction: column;
    gap: 6px;
  }

  .prediction-lock-notice span {
    text-align: left;
  }

  .hero-field-mark span {
    font-size: 46px;
  }

  .hero-field-mark i {
    margin: 0 8px;
  }

  .how-it-works,
  .home-groups,
  .home-leaderboard {
    padding-top: 68px;
    padding-bottom: 68px;
  }

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

  .home-groups-card {
    grid-template-columns: 1fr;
  }

  .home-groups-copy,
  .home-groups-feature {
    padding: 28px 24px;
  }

  .home-groups-feature {
    min-height: 260px;
  }

  .home-group-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-group-actions .button,
  .home-group-actions .text-link {
    width: 100%;
  }

  .home-group-actions .text-link {
    margin: 8px 0 0;
    text-align: center;
  }

  .home-invite-callout {
    align-items: stretch;
    flex-direction: column;
  }

  body.signed-in .hero {
    padding-top: 38px;
    padding-bottom: 60px;
  }

  body.signed-in .hero-copy {
    display: none;
  }

  .profile-card {
    padding: 25px;
  }

  .account-dialog {
    padding: 25px;
  }

  .public-bracket-dialog {
    padding: 20px;
  }

  .public-bracket-rounds {
    grid-template-columns: 1fr;
  }

  .account-settings-actions {
    grid-template-columns: 1fr;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .dialog-actions .button {
    width: 100%;
  }

  .name-row {
    grid-template-columns: 1fr;
  }

  input,
  .name-row .button {
    border-radius: 5px;
  }

  .predictor,
  .saved-section,
  .leaderboard-section,
  .scoring-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .leaderboard-view-tabs {
    width: 100%;
  }

  .leaderboard-view-tab {
    flex: 1;
    min-width: 0;
  }

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

  .seed-list {
    padding-left: 17px;
    padding-right: 17px;
  }

  .seed-group-heading {
    margin-left: -17px;
    margin-right: -17px;
    padding-left: 17px;
    padding-right: 17px;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .seed-group-heading span {
    text-align: left;
  }

  .division-winner-grid {
    grid-template-columns: 1fr;
  }

  .seed-row {
    grid-template-columns: 24px 28px minmax(0, 1fr) 52px;
    gap: 8px;
  }

  .field-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .field-actions .button,
  .final-actions .button {
    width: 100%;
  }

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

  .round.divisional,
  .round.championship {
    justify-content: flex-start;
  }

  .round.championship {
    margin-top: 8px;
  }

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

  .groups-toolbar,
  .group-leaderboard-heading {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .groups-toolbar {
    gap: 16px;
  }

  .group-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .group-actions .button {
    width: 100%;
  }

  .group-leaderboard {
    padding: 16px;
  }

  .group-leaderboard-heading-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .scoring-table th,
  .scoring-table td {
    padding: 12px;
  }

  .scoring-table th:not(:first-child),
  .scoring-table td:not(:first-child) {
    width: auto;
  }

  footer {
    padding-top: 25px;
    padding-bottom: 25px;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
  }
}

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