:root {
  --ink: #f7f1df;
  --muted: #acb7ae;
  --dark: #071914;
  --dark-soft: #0c251d;
  --panel: #102d23;
  --panel-light: #17382c;
  --paper: #f7f1df;
  --paper-muted: #53635c;
  --line: rgba(247, 241, 223, 0.14);
  --orange: #ff7448;
  --gold: #f2ca61;
  --mint: #8de3bd;
  --danger: #ff8a76;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

html {
  min-width: 320px;
  background: var(--dark);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% -10%, rgba(54, 135, 96, 0.24), transparent 36rem),
    linear-gradient(180deg, #071914 0%, #081b15 100%);
}

button,
input,
select {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[data-view-title]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-shell {
  width: min(100%, 1440px);
  min-height: 100vh;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
}

.site-header__actions {
  position: relative;
  display: flex;
  align-items: center;
}

body.is-draft-page .site-header__actions {
  display: none;
}

.site-nav {
  display: grid;
}

.site-nav a,
.site-menu__action {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-menu__action:hover {
  color: var(--gold);
  background: rgba(247, 241, 223, 0.07);
}

.site-menu-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(247, 241, 223, 0.035);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-menu-toggle:hover,
.site-menu-toggle[aria-expanded="true"] {
  border-color: rgba(247, 241, 223, 0.32);
  background: rgba(247, 241, 223, 0.08);
}

.site-menu-toggle__icon {
  display: grid;
  width: 18px;
  gap: 4px;
}

.site-menu-toggle__icon span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle__icon span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle__icon span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.site-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: min(260px, calc(100vw - 28px));
  padding: 8px;
  border: 1px solid rgba(247, 241, 223, 0.18);
  border-radius: 14px;
  background: rgba(12, 37, 29, 0.98);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.site-menu__account:not(:empty) {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.site-menu__account:not(:has(.site-menu__action:not([hidden]))) {
  display: none;
}

.site-menu__action[hidden] {
  display: none;
}

.brand-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

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

.brand-button strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
}

.text-button,
.icon-button,
.danger-text-button {
  min-height: 44px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.text-button:hover,
.icon-button:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: block;
  isolation: isolate;
  min-height: 700px;
  padding: 14px clamp(18px, 4vw, 64px) clamp(72px, 9vw, 128px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 25, 20, 0.98) 0%, rgba(7, 25, 20, 0.92) 44%, rgba(7, 25, 20, 0.34) 100%),
    repeating-linear-gradient(90deg, rgba(247, 241, 223, 0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(247, 241, 223, 0.024) 0 1px, transparent 1px 80px),
    #071914;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 25, 20, 0.98) 0%, rgba(7, 25, 20, 0.86) 46%, rgba(7, 25, 20, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 25, 20, 0.02), rgba(7, 25, 20, 0.86));
  content: "";
}

.hero::after {
  position: absolute;
  right: clamp(20px, 6vw, 90px);
  bottom: clamp(24px, 6vw, 76px);
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(247, 241, 223, 0.38);
  color: rgba(247, 241, 223, 0.74);
  content: "17-0 / MONTHLY TROPHY";
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  opacity: 0.86;
  pointer-events: none;
  text-transform: uppercase;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 8.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
  overflow-wrap: normal;
}

.hero h1 em span {
  display: block;
}

.hero-description {
  max-width: min(500px, 36vw);
  margin: 32px 0 0;
  color: #f7f1df;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.48;
}

.hero-actions {
  position: absolute;
  right: clamp(18px, 7vw, 96px);
  bottom: 16px;
  z-index: 4;
  display: flex;
  width: min(48vw, 520px);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
}

.hero-actions .primary-button,
.hero-actions .secondary-button {
  flex: 1 1 210px;
  justify-content: center;
}

.hero-actions > span {
  flex-basis: 100%;
  text-align: center;
}

.hero-actions span,
.personal-best {
  color: var(--muted);
  font-size: 0.88rem;
}

.friend-invite-overlay,
.multiplayer-explainer-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 12, 10, 0.72);
  backdrop-filter: blur(8px);
}

body:has(.friend-invite-overlay) .hero-actions {
  visibility: hidden;
}

.friend-invite-panel {
  display: grid;
  width: min(100%, 520px);
  gap: 14px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(247, 241, 223, 0.24);
  background: rgba(7, 25, 20, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.friend-invite-modal {
  margin: 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(19, 55, 42, 0.94), rgba(7, 25, 20, 0.98)),
    #071914;
}

.friend-invite-panel h2,
.multiplayer-explainer h2 {
  margin: 4px 0 16px;
  color: var(--paper);
  font-size: clamp(1.65rem, 5vw, 2.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.friend-invite-panel label {
  display: grid;
  gap: 8px;
  color: var(--paper);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.friend-invite-panel input,
.friend-invite-panel textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(247, 241, 223, 0.28);
  border-radius: 4px;
  color: var(--paper);
  background: rgba(247, 241, 223, 0.08);
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}

.friend-invite-panel textarea {
  min-height: 112px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.35;
}

.friend-invite-panel input:focus,
.friend-invite-panel textarea:focus {
  outline: 3px solid rgba(242, 202, 97, 0.5);
  outline-offset: 2px;
}

.friend-invite-delivery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.friend-invite-delivery__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid rgba(247, 241, 223, 0.28);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(247, 241, 223, 0.08);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.friend-invite-delivery__option svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.friend-invite-delivery__option:hover,
.friend-invite-delivery__option:focus-visible {
  border-color: rgba(242, 202, 97, 0.72);
}

.friend-invite-delivery__option.is-selected {
  color: #071914;
  border-color: rgba(242, 202, 97, 0.88);
  background: #f2ca61;
}

.friend-invite-panel__help,
.friend-invite-ready a {
  color: var(--muted);
  line-height: 1.4;
}

.friend-invite-ready {
  display: grid;
  gap: 10px;
}

.friend-invite-ready a {
  width: fit-content;
  font-weight: 800;
}

.friend-invite-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.friend-invite-panel__status {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.multiplayer-page {
  display: grid;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 54px 18px 72px;
}

.multiplayer-page--waiting,
.multiplayer-page--join {
  min-height: 62vh;
  align-items: center;
}

.multiplayer-hero {
  display: grid;
  gap: 18px;
  width: min(620px, 100%);
}

.multiplayer-hero h1,
.multiplayer-match-header h1 {
  margin: 0;
  color: var(--paper);
  text-transform: uppercase;
  line-height: 0.94;
}

.multiplayer-hero p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.multiplayer-code {
  display: inline-grid;
  width: max-content;
  min-width: 170px;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid rgba(247, 241, 223, 0.24);
  background: rgba(247, 241, 223, 0.08);
}

.multiplayer-code span,
.multiplayer-auth-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.multiplayer-code strong {
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

.multiplayer-match-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.multiplayer-turn-chip {
  display: grid;
  min-width: 130px;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid rgba(247, 241, 223, 0.22);
  background: rgba(7, 25, 20, 0.78);
  color: var(--muted);
  text-align: right;
}

.multiplayer-turn-chip.is-your-turn {
  border-color: rgba(242, 202, 97, 0.64);
  color: var(--paper);
  box-shadow: 0 0 0 3px rgba(242, 202, 97, 0.12);
}

.multiplayer-turn-chip span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.multiplayer-turn-chip strong {
  color: var(--gold);
  font-size: 1.35rem;
}

.multiplayer-notification-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(141, 227, 189, 0.32);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(141, 227, 189, 0.08);
}

.multiplayer-notification-panel span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
}

.multiplayer-notification-panel .secondary-button {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 0.76rem;
}

.multiplayer-explainer {
  display: grid;
  width: min(100%, 560px);
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(242, 202, 97, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(19, 55, 42, 0.96), rgba(7, 25, 20, 0.98)),
    #071914;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.multiplayer-explainer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.multiplayer-explainer .primary-button {
  justify-self: start;
}

.multiplayer-turn-signal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 25;
  display: grid;
  min-width: min(360px, calc(100vw - 40px));
  min-height: 148px;
  place-items: center;
  gap: 6px;
  padding: 24px;
  border: 1px solid rgba(242, 202, 97, 0.62);
  border-radius: 8px;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 202, 97, 0.24), transparent 60%),
    rgba(7, 25, 20, 0.94);
  box-shadow:
    0 0 0 999px rgba(3, 12, 10, 0.24),
    0 24px 90px rgba(0, 0, 0, 0.44);
  text-align: center;
  transform: translate(-50%, -50%);
  animation: multiplayer-turn-signal 1600ms ease-out both;
  cursor: pointer;
}

.multiplayer-turn-signal span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.multiplayer-turn-signal strong {
  color: var(--gold);
  font-size: clamp(2.2rem, 9vw, 4.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

@keyframes multiplayer-turn-signal {
  0% {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.92);
  }

  18%,
  78% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -52%) scale(0.98);
  }
}

.multiplayer-turn-panel {
  display: grid;
  gap: 18px;
}

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

.multiplayer-board-option {
  display: grid;
  min-height: 158px;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(247, 241, 223, 0.22);
  border-radius: 6px;
  color: var(--card-button-fg, var(--paper));
  background:
    linear-gradient(135deg, rgba(7, 25, 20, 0.18), rgba(7, 25, 20, 0.48)),
    var(--card-button-bg, rgba(247, 241, 223, 0.08));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  text-align: left;
  cursor: pointer;
}

.multiplayer-board-option:hover:not(:disabled),
.multiplayer-board-option:focus-visible {
  transform: translateY(-2px);
  outline: 3px solid rgba(242, 202, 97, 0.5);
  outline-offset: 3px;
}

.multiplayer-board-option:disabled {
  cursor: wait;
  opacity: 0.58;
}

.multiplayer-board-option > span:not(.slot-reel-window) {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.multiplayer-board-option > strong {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 0.85;
}

.multiplayer-board-option > small {
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.multiplayer-choice-option--year strong {
  color: var(--gold);
}

.multiplayer-choice-option--team strong {
  color: var(--pool-accent);
}

.multiplayer-choice-option.is-taken {
  border-style: dashed;
  filter: grayscale(0.82);
  opacity: 0.42;
}

.multiplayer-choice-option.is-taken:disabled {
  cursor: not-allowed;
}

.multiplayer-choice-option.is-taken small {
  color: var(--muted);
}

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

.multiplayer-roster-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.multiplayer-roster-card__heading h2 {
  margin: 0;
  color: var(--paper);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.multiplayer-history {
  display: grid;
  gap: 10px;
}

.multiplayer-history ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.multiplayer-history li {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(247, 241, 223, 0.16);
  background: rgba(247, 241, 223, 0.06);
}

.multiplayer-history span,
.multiplayer-history em,
.multiplayer-history small {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.multiplayer-history strong {
  color: var(--paper);
}

.multiplayer-results .results-grid {
  align-items: start;
}

.multiplayer-results .result-hero h2 {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  text-transform: uppercase;
}

.multiplayer-rematch-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(242, 202, 97, 0.34);
  border-radius: 8px;
  background: rgba(242, 202, 97, 0.08);
}

.multiplayer-rematch-status p {
  flex: 1 1 220px;
  margin: 0;
  color: var(--paper);
  font-weight: 900;
}

.personal-best {
  margin: 18px 0 0;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.primary-button {
  color: #111a16;
  background: var(--orange);
  box-shadow: 0 12px 30px rgba(255, 116, 72, 0.2);
}

.primary-button:hover {
  background: #ff8964;
  transform: translateY(-1px);
}

.primary-button--large {
  min-height: 58px;
  padding-inline: 30px;
}

.secondary-button {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.secondary-button:hover {
  border-color: rgba(247, 241, 223, 0.35);
  background: rgba(247, 241, 223, 0.05);
}

.hero-actions .beat-friend-button {
  border-color: rgba(242, 202, 97, 0.95);
  color: #111a16;
  background: linear-gradient(135deg, var(--gold), #ff7448);
  box-shadow:
    0 16px 36px rgba(242, 202, 97, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.hero-actions .beat-friend-button:hover,
.hero-actions .beat-friend-button:focus-visible {
  border-color: rgba(247, 241, 223, 0.85);
  background: linear-gradient(135deg, #ffe07a, #ff8964);
  transform: translateY(-1px);
  outline: 3px solid rgba(242, 202, 97, 0.38);
  outline-offset: 3px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-radial-gradient(circle at 72% 42%, rgba(247, 241, 223, 0.08) 0 1px, transparent 1px 7px),
    linear-gradient(90deg, transparent, rgba(7, 25, 20, 0.18));
  content: "";
  mix-blend-mode: screen;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.54;
  filter: grayscale(1) contrast(1.35) brightness(0.72);
  object-fit: cover;
  object-position: center right;
}

.hero-visual--trophy::before {
  background:
    radial-gradient(circle at 74% 48%, rgba(242, 202, 97, 0.24), transparent 23rem),
    repeating-linear-gradient(90deg, rgba(247, 241, 223, 0.045) 0 1px, transparent 1px 80px),
    linear-gradient(90deg, transparent, rgba(7, 25, 20, 0.08));
}

.hero-visual--trophy {
  z-index: 2;
}

.hero-image--trophy {
  position: absolute;
  right: clamp(18px, 7vw, 96px);
  bottom: 112px;
  width: min(48vw, 520px);
  height: min(76%, 600px);
  opacity: 1;
  filter:
    saturate(1.08)
    contrast(1.04)
    drop-shadow(0 32px 64px rgba(0, 0, 0, 0.52));
  object-fit: contain;
  object-position: bottom center;
}

.how-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  color: var(--dark);
  background: var(--paper);
  border-bottom: 1px solid rgba(7, 25, 20, 0.16);
}

.how-strip article {
  min-height: 220px;
  padding: 36px clamp(22px, 4vw, 54px);
  border-right: 1px solid rgba(7, 25, 20, 0.16);
  background: transparent;
}

.how-strip article:last-child {
  border-right: 0;
}

.how-strip span {
  display: block;
  margin-bottom: 20px;
  color: #9a6719;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.how-strip strong {
  display: block;
  max-width: 16rem;
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.how-strip p,
.lineup-preview p {
  color: var(--paper-muted);
  line-height: 1.45;
}

.home-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: clamp(34px, 5vw, 70px) clamp(20px, 6vw, 90px);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 92px, rgba(247, 241, 223, 0.035) 93px 94px),
    #071914;
}

.home-proof article {
  min-height: 188px;
  padding: clamp(20px, 3vw, 34px);
  border-top: 1px solid rgba(247, 241, 223, 0.22);
}

.home-proof span {
  display: block;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-proof strong {
  display: block;
  margin-top: 24px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: uppercase;
}

.home-proof p {
  max-width: 21rem;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.lineup-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(52px, 7vw, 92px) clamp(20px, 6vw, 90px);
  color: var(--dark);
  background: var(--paper);
  border-bottom: 1px solid rgba(7, 25, 20, 0.16);
}

.lineup-preview h2,
.section-heading h2,
.tension-check h2,
.metrics-dialog h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: 0;
}

.lineup-preview h2 {
  max-width: 760px;
  font-family: inherit;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.lineup-preview .eyebrow {
  color: #9a6719;
}

.prototype-note {
  max-width: 500px;
  align-self: end;
  padding: 26px 28px;
  border-top: 4px solid var(--orange);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(242, 202, 97, 0.14), transparent 42%),
    #071914;
}

.prototype-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.player-profile-panel {
  padding: clamp(42px, 6vw, 72px) clamp(20px, 6vw, 90px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(141, 227, 189, 0.08), transparent 36rem),
    #0c251d;
}

.player-profile-panel .section-heading {
  align-items: center;
  margin-bottom: 22px;
}

.player-profile-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.player-profile-summary div {
  min-width: 0;
  padding: 16px;
  border-left: 4px solid var(--gold);
  background: rgba(247, 241, 223, 0.055);
}

.player-profile-summary span,
.profile-game-status {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.player-profile-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 2rem;
  font-weight: 900;
}

.player-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(20px, 4vw, 44px);
}

.player-profile-grid h3 {
  margin: 0 0 14px;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.player-profile-games,
.player-profile-records {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.player-profile-game,
.player-profile-records li {
  min-width: 0;
  min-height: 72px;
  border: 1px solid var(--line);
  background: rgba(7, 25, 20, 0.48);
}

.player-profile-game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.player-profile-game__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.player-profile-game__actions .danger-text-button {
  margin: 0;
  padding: 0 4px;
}

.player-profile-game strong,
.player-profile-game small,
.player-profile-records strong,
.player-profile-records span,
.player-profile-records small {
  min-width: 0;
}

.player-profile-game strong {
  display: block;
  margin-top: 4px;
}

.player-profile-game small,
.player-profile-records small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.profile-game-status.is-my-turn {
  color: var(--gold);
}

.player-profile-records li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
}

.player-profile-records span {
  color: var(--gold);
  font-weight: 900;
}

.player-profile-records small {
  grid-column: 1 / -1;
}

.goat-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(52px, 7vw, 86px) clamp(20px, 6vw, 90px) 52px;
  background:
    linear-gradient(180deg, rgba(247, 241, 223, 0.035), transparent 20rem),
    #071914;
}

.goat-panel__main,
.goat-panel__board {
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(255, 255, 255, 0.026) 79px 80px),
    var(--panel);
}

.goat-panel__main {
  padding: clamp(22px, 3vw, 34px);
}

.goat-panel__main > p,
.goat-prize-callout__copy p,
.goat-eligible-card p,
.goat-eligible-card small,
.goat-status {
  color: var(--muted);
  line-height: 1.5;
}

.goat-prize-callout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(148px, 0.38fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 30px);
  align-items: stretch;
  margin: 20px 0 24px;
  padding: clamp(12px, 2vw, 18px);
  overflow: hidden;
  border: 1px solid rgba(242, 202, 97, 0.28);
  color: var(--dark);
  background:
    linear-gradient(90deg, rgba(242, 202, 97, 0.32), transparent 44%),
    var(--paper);
}

.goat-prize-callout::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--gold);
  content: "";
}

.goat-prize-callout__art {
  display: grid;
  min-height: 330px;
  margin: 0;
  padding: 14px 8px 0;
  place-items: end center;
  background:
    radial-gradient(circle at 50% 28%, rgba(242, 202, 97, 0.2), transparent 56%),
    #071914;
}

.goat-prize-callout__image {
  width: min(100%, 210px);
  max-height: 390px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
}

.goat-prize-callout__copy {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
  padding: clamp(16px, 3vw, 34px) clamp(10px, 2vw, 24px) clamp(14px, 3vw, 30px) 0;
}

.goat-prize-callout__copy span {
  color: #9a6719;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.goat-prize-callout strong {
  max-width: 720px;
  color: var(--dark);
  font-size: clamp(2.15rem, 4.8vw, 4.9rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.goat-prize-callout__copy p {
  max-width: 42rem;
  margin: 0;
  color: var(--paper-muted);
}

.goat-login-button {
  margin-top: 18px;
}

.goat-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

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

.goat-form__wide {
  grid-column: span 3;
}

.goat-form label,
.goat-checks label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.goat-form input,
.goat-form select {
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: #071914;
}

.goat-checks {
  display: grid;
  gap: 10px;
}

.goat-checks label {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.goat-checks input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--orange);
}

.goat-checks span {
  min-width: 0;
}

.goat-checks a {
  color: var(--gold);
}

.goat-status {
  min-height: 1.4em;
  margin: 14px 0 0;
}

.goat-eligible-card {
  margin: 18px 0;
  padding: 18px;
  border-left: 4px solid var(--mint);
  background: rgba(141, 227, 189, 0.08);
}

.goat-eligible-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.goat-eligible-card strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.9rem;
  font-weight: 500;
}

.goat-panel__board {
  padding: 22px;
}

.goat-panel__board h3 {
  margin: 0 0 16px;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
}

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

.goat-leaderboard-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.goat-rank {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(242, 202, 97, 0.42);
  color: var(--gold);
  font-weight: 900;
}

.goat-leaderboard-list strong,
.goat-leaderboard-list small {
  min-width: 0;
}

.goat-leaderboard-list small {
  grid-column: 2 / -1;
  color: var(--muted);
}

.draft-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: clamp(28px, 4vw, 64px);
  padding: 18px clamp(18px, 5vw, 72px) 64px;
}

.pool-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 18px;
  min-height: 132px;
  padding: clamp(14px, 2.4vw, 24px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 6px solid var(--pool-accent);
  background:
    linear-gradient(110deg, rgba(7, 25, 20, 0.25), rgba(7, 25, 20, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(255, 255, 255, 0.035) 81px 82px),
    var(--panel);
}

.pool-banner::after {
  position: absolute;
  right: -30px;
  bottom: -66px;
  width: 210px;
  height: 210px;
  border: 28px solid color-mix(in srgb, var(--pool-accent) 26%, transparent);
  border-radius: 50%;
  content: "";
}

.pool-banner h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.84;
}

.pool-banner h1 strong {
  display: block;
  color: var(--pool-accent);
}

.decade-chip {
  position: relative;
  z-index: 1;
  align-self: start;
  padding: 9px 14px;
  border: 1px solid rgba(247, 241, 223, 0.25);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 900;
}

.draft-banner-chips {
  position: relative;
  z-index: 1;
  display: flex;
  align-self: start;
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}

.shot-clock {
  font-variant-numeric: tabular-nums;
}

.shot-clock strong {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: 1;
}

.shot-clock.is-low {
  border-color: var(--danger);
  color: #fff;
  background: color-mix(in srgb, var(--danger) 78%, var(--dark));
  animation: shot-clock-pulse 1s ease-in-out infinite;
}

@keyframes shot-clock-pulse {
  50% { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .shot-clock.is-low {
    animation: none;
  }
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(141, 227, 189, 0.42);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(7, 25, 20, 0.48);
  font-size: 0.8rem;
  font-weight: 900;
}

.lineup-tracker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(16, 45, 35, 0.56);
}

.lineup-tracker__heading {
  display: flex;
  min-width: 58px;
  flex-direction: column;
}

.lineup-tracker__heading span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lineup-tracker__heading strong {
  margin-top: 3px;
  color: var(--gold);
  font-size: 0.86rem;
}

.lineup-tracker__slots {
  display: grid;
  grid-template-columns: repeat(8, minmax(38px, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lineup-icon {
  display: grid;
  min-width: 0;
  min-height: 50px;
  padding: 5px 3px;
  place-content: center;
  border: 1px dashed rgba(247, 241, 223, 0.2);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  text-align: center;
}

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

.lineup-icon strong {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1;
}

.lineup-icon small {
  margin-top: 4px;
  color: #718078;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.lineup-icon.is-filled {
  border-style: solid;
  border-color: rgba(141, 227, 189, 0.56);
  background: rgba(141, 227, 189, 0.12);
  box-shadow: inset 0 0 0 2px rgba(141, 227, 189, 0.04);
}

.lineup-icon.is-filled strong {
  color: var(--mint);
  font-size: 0.8rem;
}

.lineup-icon.is-filled small {
  color: rgba(247, 241, 223, 0.68);
}

.pool-banner--choice {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 190px;
  background:
    linear-gradient(90deg, rgba(7, 25, 20, 0.95), rgba(16, 45, 35, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(247, 241, 223, 0.035) 79px 80px),
    var(--panel);
}

.pool-banner--choice .eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
}

.pool-banner--choice h1 {
  max-width: 760px;
  font-family: inherit;
  font-size: clamp(2.85rem, 4.2vw, 4.15rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.pool-banner--choice h1 strong {
  display: inline;
  color: var(--gold);
}

.pool-banner--choice .decade-chip {
  position: absolute;
  top: clamp(12px, 1.8vw, 18px);
  right: clamp(12px, 2vw, 22px);
}

.pool-banner--choice .draft-banner-chips {
  position: absolute;
  top: clamp(12px, 1.8vw, 18px);
  right: clamp(12px, 2vw, 22px);
}

.pool-banner--choice .draft-banner-chips .decade-chip {
  position: static;
}

.skill-choice-panel {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 241, 223, 0.045), transparent),
    rgba(16, 45, 35, 0.78);
}

.skill-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}

.skill-choice-option {
  display: grid;
  min-height: clamp(136px, 13vw, 172px);
  align-content: center;
  gap: 0;
  min-width: 0;
  padding: clamp(12px, 1.8vw, 18px);
  border: 1px solid rgba(247, 241, 223, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(141, 227, 189, 0.18), rgba(255, 116, 72, 0.1)),
    #0d241c;
  text-align: left;
  cursor: pointer;
}

.skill-choice-option:not(:disabled):hover,
.skill-choice-option:not(:disabled):focus-visible {
  border-color: rgba(242, 202, 97, 0.75);
  transform: translateY(-1px);
}

.skill-choice-option:disabled {
  color: var(--ink);
  cursor: wait;
  opacity: 1;
}

.slot-reel-window {
  --reel-row-height: clamp(4.35rem, 7vw, 6.1rem);
  display: block;
  height: var(--reel-row-height);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 241, 223, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 34%, transparent 66%, rgba(0, 0, 0, 0.28)),
    rgba(0, 0, 0, 0.2);
  box-shadow:
    inset 0 12px 24px rgba(0, 0, 0, 0.22),
    inset 0 -12px 24px rgba(0, 0, 0, 0.2);
}

.slot-reel-strip {
  display: flex;
  flex-direction: column;
  transform: translateY(calc(var(--reel-row-height) * -17));
  will-change: transform, filter;
}

.slot-reel-item {
  display: grid;
  flex: 0 0 var(--reel-row-height);
  height: var(--reel-row-height);
  place-items: center;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.slot-reel-option.is-spinning .slot-reel-strip {
  animation: slot-reel-spin var(--reel-duration, 600ms) cubic-bezier(0.14, 0.78, 0.18, 1) var(--reel-delay, 0ms) both;
}

.skill-choice-option--team {
  border-color: color-mix(in srgb, var(--pool-accent), transparent 42%);
}

.skill-choice-option--team .slot-reel-item {
  color: var(--pool-accent);
}

@keyframes slot-reel-spin {
  0% {
    transform: translateY(0);
    filter: blur(0);
  }

  18% {
    transform: translateY(calc(var(--reel-row-height) * -3.2));
    filter: blur(0.7px);
  }

  36% {
    transform: translateY(calc(var(--reel-row-height) * -7.1));
    filter: blur(1px);
  }

  54% {
    transform: translateY(calc(var(--reel-row-height) * -10.9));
    filter: blur(0.8px);
  }

  70% {
    transform: translateY(calc(var(--reel-row-height) * -14.1));
    filter: blur(0.4px);
  }

  84% {
    transform: translateY(calc(var(--reel-row-height) * -16));
    filter: blur(0.18px);
  }

  94% {
    transform: translateY(calc(var(--reel-row-height) * -16.75));
    filter: blur(0.04px);
  }

  100% {
    transform: translateY(calc(var(--reel-row-height) * -17));
    filter: blur(0);
  }
}

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

.player-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: stretch;
  min-height: 112px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--card-accent) 16%, var(--panel)) 0%, var(--panel) 35%),
    var(--panel);
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.player-card::after {
  position: absolute;
  top: -58px;
  left: 104px;
  width: 150px;
  height: 150px;
  border: 18px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
}

.player-card:hover {
  z-index: 2;
  border-color: color-mix(in srgb, var(--card-accent) 70%, white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-6px);
}

.player-card.is-locked {
  border-left-color: rgba(247, 241, 223, 0.22);
  background:
    linear-gradient(90deg, rgba(247, 241, 223, 0.045), rgba(16, 45, 35, 0.7)),
    var(--panel);
  opacity: 0.68;
}

.player-card.is-locked:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.player-card__identity,
.player-card > .position-badge,
.player-card__stats,
.player-card__action {
  position: relative;
  z-index: 1;
}

.player-card__identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  grid-column: 2;
  min-width: 0;
  padding: 10px 12px 4px;
}

.player-card__nameplate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  width: 100%;
  min-width: 0;
  align-items: center;
  column-gap: 7px;
}

.player-card__zscore {
  display: inline-grid;
  align-self: center;
  justify-self: end;
  min-width: max-content;
  max-width: none;
  min-height: 20px;
  padding: 0 7px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 48%, transparent);
  border-radius: 999px;
  color: var(--card-accent-fg);
  background: var(--card-accent);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.position-badge {
  display: inline-grid;
  min-width: 38px;
  min-height: 28px;
  padding: 0 7px;
  place-items: center;
  border: 1px solid rgba(247, 241, 223, 0.22);
  border-radius: 3px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.player-card > .position-badge {
  grid-row: 1 / span 2;
  grid-column: 1;
  align-self: stretch;
  min-width: 0;
  min-height: calc(100% + 2px);
  width: 100%;
  height: calc(100% + 2px);
  margin: -1px 0 -1px -1px;
  padding: 0 6px;
  border: 0;
  border-radius: 5px 0 0 5px;
  color: var(--card-accent-fg);
  background: var(--card-accent);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.18);
  font-size: 0.76rem;
  line-height: 1;
}

.player-card__nameplate > strong {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  font-family: Georgia, serif;
  font-size: clamp(1.18rem, 1.55vw, 1.48rem);
  font-weight: 500;
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.player-card__lock {
  width: fit-content;
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 5px 8px;
  border: 1px solid rgba(247, 241, 223, 0.15);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.player-card__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-column: 2;
  align-content: center;
  gap: 4px;
  margin: 0;
  padding: 3px 12px 9px;
  border-top: 1px solid rgba(247, 241, 223, 0.08);
  border-right: 1px solid rgba(247, 241, 223, 0.1);
}

.player-stat {
  display: grid;
  min-width: 0;
  padding: 5px 0;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 4px;
}

.player-stat dt,
.player-stat dd {
  margin: 0;
}

.player-stat dt {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.player-stat dd {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
  white-space: nowrap;
}

.player-card__action {
  display: grid;
  grid-row: 1 / span 2;
  grid-column: 3;
  min-width: 72px;
  padding: 8px 10px;
  place-items: center;
}

.draft-card-button {
  width: 100%;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--card-button-bg) 76%, white);
  border-radius: 3px;
  color: var(--card-button-fg);
  background: var(--card-button-bg);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.draft-card-button:hover {
  filter: brightness(1.12);
}

.draft-card-button:disabled {
  color: #b8c5bd;
  background: #203229;
  cursor: not-allowed;
  filter: none;
}

.data-disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.desktop-roster {
  position: sticky;
  top: 20px;
  align-self: start;
}

.mobile-roster {
  display: none;
}

.roster {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(16, 45, 35, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.roster .section-heading h2 {
  font-size: 1.65rem;
}

.roster-grid {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.roster-slot {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px dashed rgba(247, 241, 223, 0.13);
  background: rgba(0, 0, 0, 0.12);
}

.roster-slot.is-filled {
  border-style: solid;
  border-color: rgba(141, 227, 189, 0.22);
  background: rgba(141, 227, 189, 0.055);
}

.roster-position {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.roster-name {
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roster-slot small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.62rem;
}

.roster-empty {
  color: #75837b;
  font-size: 0.78rem;
}

.results-page {
  padding: 42px clamp(18px, 6vw, 90px) 72px;
}

.result-hero {
  position: relative;
  min-height: 390px;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(7, 25, 20, 0.1), rgba(7, 25, 20, 0.82)),
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(255, 255, 255, 0.035) 96px 97px),
    #174331;
}

.result-hero::after {
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 440px;
  height: 440px;
  border: 50px solid rgba(242, 202, 97, 0.09);
  border-radius: 50%;
  content: "";
}

.record-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(22px, 5vw, 60px);
}

.record {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.record-lockup > span:last-child {
  display: flex;
  flex-direction: column;
}

.record-lockup strong {
  color: var(--gold);
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-transform: uppercase;
}

.record-lockup small {
  margin-top: 8px;
  color: var(--muted);
}

.result-summary {
  position: relative;
  z-index: 1;
  max-width: 560px;
  color: #ced8d1;
  font-size: 1.05rem;
  line-height: 1.5;
}

.result-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.result-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.share-fallback {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 640px;
  margin-top: 18px;
}

.share-fallback label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.share-fallback input {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.22);
  font: inherit;
}

.share-fallback a {
  display: inline-grid;
  min-height: 44px;
  padding: 0 14px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  margin-top: 24px;
}

.result-lineup,
.result-analysis {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  background: rgba(16, 45, 35, 0.55);
}

.result-player {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 70px;
  border-bottom: 1px solid var(--line);
}

.result-player:last-child {
  border-bottom: 0;
}

.result-player > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.result-player strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-player small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.73rem;
  text-transform: uppercase;
}

.result-analysis article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.result-analysis article:last-child {
  border-bottom: 0;
}

.result-analysis article span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-analysis article strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.result-analysis article p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.tension-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(242, 202, 97, 0.28);
  background: rgba(242, 202, 97, 0.055);
}

.rating-buttons {
  display: grid;
  grid-template-columns: repeat(5, 64px);
  gap: 8px;
}

.rating-buttons button {
  display: grid;
  min-height: 68px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: var(--panel);
  cursor: pointer;
}

.rating-buttons button:hover,
.rating-buttons button.is-selected {
  border-color: var(--gold);
  color: var(--dark);
  background: var(--gold);
}

.rating-buttons button:disabled:not(.is-selected) {
  border-color: rgba(247, 241, 223, 0.2);
  color: #a7b4ac;
  background: #102d23;
  cursor: not-allowed;
}

.rating-buttons strong {
  font-size: 1.25rem;
}

.rating-buttons span {
  min-height: 12px;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.metrics-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 28px));
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #0b2119;
  box-shadow: var(--shadow);
}

.metrics-dialog::backdrop {
  background: rgba(1, 8, 6, 0.78);
  backdrop-filter: blur(6px);
}

.auth-dialog {
  width: min(520px, calc(100% - 28px));
  color-scheme: light;
  border-color: rgba(16, 45, 35, 0.16);
  color: #11231d;
  background: #fbfaf4;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.auth-dialog h2 {
  margin: 0;
  color: #11231d;
  font-size: clamp(2rem, 7vw, 2.6rem);
  line-height: 1;
}

.auth-dialog #auth-dialog-description {
  max-width: 38ch;
  margin: 8px 0 0;
  color: #506058;
  line-height: 1.5;
}

.auth-dialog .eyebrow {
  color: #6a5b18;
}

.auth-dialog .dialog-header {
  gap: 18px;
  padding: 24px 24px 0;
}

.auth-dialog .icon-button {
  width: 40px;
  min-height: 40px;
  border: 1px solid rgba(16, 45, 35, 0.16);
  border-radius: 999px;
  color: #506058;
  background: #ffffff;
  font-size: 1.45rem;
  line-height: 1;
}

.auth-dialog .icon-button:hover {
  color: #11231d;
  background: #f3f0e8;
}

.dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 28px 28px 0;
}

.auth-provider-list {
  display: grid;
  gap: 10px;
  padding: 20px 24px 0;
}

.auth-provider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(16, 45, 35, 0.13);
  border-radius: 8px;
  color: #11231d;
  background: #ffffff;
  text-align: left;
}

.auth-provider[hidden] {
  display: none;
}

.auth-provider[href] {
  text-decoration: none;
  cursor: pointer;
}

.auth-provider[href]:hover {
  border-color: rgba(16, 45, 35, 0.28);
  background: #f8f6ef;
}

.auth-provider span {
  font-weight: 900;
}

.auth-provider small {
  color: #6d7a73;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-provider:disabled {
  cursor: not-allowed;
  opacity: 1;
  background: #f3f0e8;
}

.auth-provider--google {
  display: flex;
  justify-content: center;
  min-height: 72px;
  padding: 12px;
  background: #ffffff;
}

.auth-registration-panel {
  padding: 20px 24px 0;
}

.auth-dialog--registration .auth-provider-list {
  display: none;
}

.auth-registration-panel .goat-form {
  margin-top: 0;
}

.auth-registration-panel .goat-form label,
.auth-registration-panel .goat-checks label {
  color: #506058;
}

.auth-registration-panel .goat-form input,
.auth-registration-panel .goat-form select {
  border-color: rgba(16, 45, 35, 0.18);
  color: #11231d;
  background: #ffffff;
}

.auth-registration-panel .goat-checks a {
  color: #735f08;
}

.auth-registration-panel .primary-button {
  width: 100%;
}

.provider-google-slot {
  color-scheme: light;
  min-height: 44px;
  width: min(320px, 100%);
  overflow: hidden;
  border-radius: 999px;
  background: #ffffff;
}

.auth-dialog-status {
  min-height: 1.4em;
  margin: 12px 24px 24px;
  color: #506058;
  line-height: 1.5;
}

.icon-button {
  width: 44px;
  padding: 0;
  font-size: 1.8rem;
}

#metrics-content {
  padding: 24px 28px 30px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.metric-grid article {
  padding: 18px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.metric-grid span {
  display: block;
  min-height: 30px;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.metric-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.metric-grid small {
  font-size: 0.8rem;
}

.signal-card {
  margin-top: 16px;
  padding: 20px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 116, 72, 0.055);
}

.signal-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.history-list {
  margin-top: 24px;
}

.history-list p {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.history-list span,
.history-list small {
  color: var(--muted);
}

.danger-text-button {
  margin-top: 24px;
  padding: 0;
  color: var(--danger);
}

.empty-state {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  max-width: calc(100% - 36px);
  padding: 13px 18px;
  border: 1px solid rgba(141, 227, 189, 0.32);
  border-radius: 4px;
  color: var(--dark);
  background: var(--mint);
  font-size: 0.84rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: #77857d;
  font-size: 0.7rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.privacy-brand,
.brand-link {
  color: inherit;
  text-decoration: none;
}

.static-page {
  display: grid;
  gap: 0;
  min-width: 0;
  padding-bottom: 0;
}

.static-page > * {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.static-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.68fr);
  align-items: stretch;
  min-height: 680px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 25, 20, 0.98), rgba(7, 25, 20, 0.86) 55%, rgba(7, 25, 20, 0.46)),
    repeating-linear-gradient(90deg, rgba(247, 241, 223, 0.04) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(247, 241, 223, 0.024) 0 1px, transparent 1px 80px),
    #071914;
}

.static-hero__copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-width: 0;
  max-width: 820px;
  padding: clamp(54px, 8vw, 104px) clamp(20px, 6vw, 90px);
}

.static-hero h1,
.static-section-grid h2,
.static-band h2,
.contact-grid h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.static-hero h1 {
  width: min(860px, 100%);
  max-width: 100%;
  font-size: clamp(3.1rem, 7.2vw, 7.2rem);
  line-height: 0.86;
  text-wrap: balance;
}

.static-hero h1 em {
  display: block;
  color: var(--gold);
  font-style: normal;
  overflow-wrap: normal;
}

.static-hero h1 em span {
  display: block;
}

.static-hero__copy > p:not(.eyebrow),
.static-copy p,
.static-band p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.static-hero__copy > p:not(.eyebrow) {
  max-width: 580px;
  margin: 26px 0 0;
  color: #f7f1df;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

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

.static-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.static-hero__visual {
  position: relative;
  min-width: 0;
  min-height: 420px;
}

.static-hero__visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 25, 20, 0.92), rgba(7, 25, 20, 0.14)),
    linear-gradient(180deg, rgba(7, 25, 20, 0.04), rgba(7, 25, 20, 0.78));
  content: "";
}

.static-hero__visual img {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(1) contrast(1.28) brightness(0.78);
  object-fit: cover;
  object-position: center right;
}

.static-hero__mark {
  display: grid;
  min-height: 420px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(242, 202, 97, 0.22), transparent 17rem),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(247, 241, 223, 0.04) 81px 82px),
    #102d23;
}

.static-hero__mark img {
  width: min(280px, 58vw);
  height: auto;
  opacity: 0.9;
}

.static-hero__mark--trophy img {
  width: min(410px, 78vw);
  max-height: 610px;
  object-fit: contain;
  opacity: 1;
  filter:
    saturate(1.08)
    contrast(1.04)
    drop-shadow(0 32px 52px rgba(0, 0, 0, 0.5));
}

.static-section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(52px, 7vw, 92px) clamp(20px, 6vw, 90px);
  color: var(--dark);
  background: var(--paper);
  border-bottom: 1px solid rgba(7, 25, 20, 0.16);
}

.static-section-grid h2,
.static-band h2 {
  font-size: clamp(2.35rem, 5vw, 5.4rem);
  line-height: 0.92;
}

.static-section-grid .eyebrow,
.contact-grid span {
  color: #9a6719;
}

.static-section-grid .static-copy p {
  color: var(--paper-muted);
}

.static-copy {
  max-width: 720px;
}

.static-copy p:first-child {
  margin-top: 0;
}

.static-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: clamp(34px, 5vw, 70px) clamp(20px, 6vw, 90px);
  background:
    repeating-linear-gradient(90deg, transparent 0 92px, rgba(247, 241, 223, 0.035) 93px 94px),
    #071914;
}

.static-stat-strip article {
  min-width: 0;
  min-height: 188px;
  padding: clamp(20px, 3vw, 34px);
  border-top: 1px solid rgba(247, 241, 223, 0.22);
  background: transparent;
}

.static-stat-strip span,
.contact-grid span {
  display: block;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.static-stat-strip strong {
  display: block;
  margin-top: 24px;
  font-size: clamp(1.9rem, 3.5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.static-band {
  margin: 0;
  padding: clamp(52px, 7vw, 92px) clamp(20px, 6vw, 90px);
  border-top: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 86px, rgba(247, 241, 223, 0.035) 87px 88px),
    #071914;
}

.static-band h2 {
  max-width: 960px;
}

.static-band p {
  max-width: 820px;
  margin: 22px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  color: var(--dark);
  background: var(--paper);
  border-bottom: 1px solid rgba(7, 25, 20, 0.16);
}

.contact-grid article {
  display: grid;
  align-content: start;
  min-height: 330px;
  padding: clamp(28px, 4vw, 54px);
  border-right: 1px solid rgba(7, 25, 20, 0.16);
  background: transparent;
}

.contact-grid article:last-child {
  border-right: 0;
}

.contact-grid h2 {
  margin-top: 18px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 0.95;
}

.contact-grid p {
  color: var(--paper-muted);
}

.contact-grid a {
  align-self: end;
  margin-top: 18px;
  color: #9a6719;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.privacy-page {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(52px, 9vw, 104px) 0;
}

.privacy-page h1 {
  margin-bottom: 32px;
}

.privacy-page h2 {
  margin: 38px 0 10px;
}

.privacy-page p {
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.7;
}

.privacy-back {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 28px;
  text-decoration: none;
}

.status-page {
  display: grid;
  min-height: 62vh;
  padding: 80px 20px;
  place-content: center;
  text-align: center;
}

.status-page h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.status-page p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.6;
}

.status-page .primary-button {
  justify-self: center;
  margin-top: 18px;
}

.loading-mark {
  width: 34px;
  height: 34px;
  margin: 0 auto 24px;
  border: 4px solid rgba(247, 241, 223, 0.18);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .player-profile-grid {
    grid-template-columns: 1fr;
  }

  .player-card {
    grid-template-columns: 50px minmax(0, 1fr) 88px;
  }

  .draft-page {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .draft-page--choice {
    display: block;
  }

  .draft-page--choice .desktop-roster {
    display: none;
  }

  .draft-page--choice .mobile-roster {
    display: block;
    margin-top: 28px;
  }
}

@media (max-width: 820px) {
  .player-profile-summary {
    grid-template-columns: 1fr;
  }

  .player-profile-panel .section-heading,
  .player-profile-game {
    align-items: stretch;
  }

  .player-profile-panel .section-heading {
    flex-direction: column;
  }

  .hero {
    min-height: min(720px, calc(100svh - 88px));
    padding-top: 20px;
    padding-bottom: 260px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 25, 20, 0.97), rgba(7, 25, 20, 0.72) 58%, rgba(7, 25, 20, 0.38)),
      linear-gradient(180deg, rgba(7, 25, 20, 0.18), rgba(7, 25, 20, 0.92));
  }

  .hero-copy {
    max-width: min(100%, 560px);
  }

  .hero-image--trophy {
    right: 50%;
    width: min(66vw, 370px);
    height: min(46svh, 370px);
    transform: translateX(50%);
  }

  .how-strip {
    grid-template-columns: 1fr;
  }

  .how-strip article {
    min-height: 130px;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 25, 20, 0.16);
  }

  .how-strip article:last-child {
    border-bottom: 0;
  }

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

  .home-proof article {
    min-height: 0;
  }

  .goat-panel {
    grid-template-columns: 1fr;
  }

  .draft-page {
    display: block;
  }

  .desktop-roster {
    display: none;
  }

  .mobile-roster {
    display: block;
    margin-top: 28px;
  }

  .roster--compact .roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .multiplayer-match-header {
    align-items: stretch;
    flex-direction: column;
  }

  .multiplayer-turn-chip {
    width: 100%;
    text-align: left;
  }

  .multiplayer-board-grid,
  .multiplayer-rosters {
    grid-template-columns: 1fr;
  }

  .tension-check {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: center;
    min-height: 68px;
    gap: 12px;
    padding-inline: 14px;
  }

  .brand-button {
    min-width: 0;
  }

  .brand-button small {
    display: none;
  }

  .site-header__actions {
    flex: 0 0 auto;
  }

  .site-menu-toggle {
    width: 44px;
    padding: 0 12px;
    justify-content: center;
  }

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

  .text-button {
    font-size: 0.78rem;
  }

  .player-profile-panel {
    padding-inline: 14px;
  }

  .player-profile-game {
    grid-template-columns: 1fr;
  }

  .player-profile-game__actions {
    justify-content: space-between;
  }

  .multiplayer-page {
    padding: 34px 14px 58px;
  }

  .multiplayer-board-option {
    min-height: 132px;
  }

  .multiplayer-history ol {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 900px;
    padding-inline: 14px;
    padding-top: 14px;
    padding-bottom: 34px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(2.55rem, 12.3vw, 4.2rem);
    line-height: 0.9;
  }

  .hero-description {
    position: absolute;
    top: calc(clamp(238px, 70vw, 318px) + clamp(260px, 68vw, 340px) + 206px);
    right: 0;
    left: 0;
    max-width: none;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .hero-actions {
    top: calc(clamp(238px, 70vw, 318px) + clamp(260px, 68vw, 340px) + 16px);
    right: 14px;
    bottom: auto;
    left: 14px;
    width: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin: 0;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    flex: 0 0 auto;
    justify-content: center;
    width: 100%;
  }

  .hero-actions span {
    text-align: center;
  }

  .friend-invite-panel {
    order: 3;
    width: 100%;
    margin-top: 14px;
    padding: 14px;
  }

  .friend-invite-panel__actions {
    flex-direction: column;
  }

  .hero::after,
  .personal-best {
    display: none;
  }

  .hero-image--trophy {
    top: clamp(238px, 70vw, 318px);
    bottom: auto;
    width: min(86vw, 380px);
    height: clamp(260px, 68vw, 340px);
    object-position: top center;
  }

  .lineup-preview {
    grid-template-columns: 1fr;
  }

  .auth-provider-list {
    padding-inline: 8px;
  }

  .auth-provider--google {
    padding-inline: 0;
  }

  .auth-dialog-status {
    margin-inline: 8px;
  }

  .goat-panel {
    padding-inline: 14px;
  }

  .goat-prize-callout {
    grid-template-columns: 1fr;
  }

  .goat-prize-callout__copy {
    padding: 4px 6px 12px;
  }

  .goat-prize-callout__art {
    min-height: 300px;
  }

  .goat-prize-callout__image {
    max-height: 320px;
  }

  .goat-form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .goat-form__wide {
    grid-column: 1 / -1;
  }

  .draft-page {
    padding-inline: 14px;
  }

  .pool-banner {
    grid-template-columns: 1fr auto;
    min-height: 108px;
    padding: 12px;
    gap: 6px 10px;
  }

  .pool-banner h1 {
    font-size: 2.15rem;
  }

  .pool-banner--choice {
    align-items: start;
    gap: 12px;
    min-height: 0;
  }

  .pool-banner--choice .decade-chip {
    position: relative;
    top: auto;
    right: auto;
    justify-self: start;
    max-width: 100%;
    line-height: 1.15;
    white-space: normal;
  }

  .pool-banner--choice .draft-banner-chips {
    position: relative;
    top: auto;
    right: auto;
    justify-self: start;
    align-items: flex-start;
  }

  .lineup-tracker {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 8px;
    padding: 10px;
  }

  .lineup-tracker__heading {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .lineup-tracker__heading strong {
    margin-top: 0;
  }

  .lineup-tracker__slots {
    gap: 1px;
  }

  .lineup-icon {
    aspect-ratio: 1;
    min-height: 0;
    padding: 3px 1px;
  }

  .lineup-icon strong {
    font-size: 0.7rem;
  }

  .lineup-icon.is-filled strong {
    font-size: 0.84rem;
  }

  .lineup-icon small {
    margin-top: 2px;
    font-size: 0.5rem;
  }

  .skill-choice-panel {
    padding: 14px;
  }

  .skill-choice-grid {
    grid-template-columns: 1fr;
  }

  .skill-choice-option {
    min-height: 96px;
    padding: 10px;
  }

  .slot-reel-window,
  .slot-reel-item {
    --reel-row-height: 4.35rem;
  }

  .card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }

  .player-card {
    grid-template-columns: 42px minmax(0, 1fr) 62px;
    min-height: 0;
  }

  .player-card::after {
    top: -54px;
    right: -28px;
    left: auto;
    width: 124px;
    height: 124px;
    border-width: 14px;
  }

  .player-card:hover {
    transform: none;
  }

  .player-card__identity {
    grid-template-columns: minmax(0, 1fr);
    grid-column: 2;
    padding: 8px 8px 3px;
  }

  .player-card > .position-badge {
    grid-column: 1;
    min-width: 0;
    min-height: 100%;
    padding-inline: 4px;
    font-size: 0.68rem;
  }

  .player-card__zscore {
    min-height: 18px;
    padding: 0 6px;
    font-size: 0.48rem;
  }

  .player-card__nameplate > strong {
    font-size: 1.08rem;
    line-height: 1.02;
  }

  .player-card__lock {
    margin-top: 6px;
    padding: 3px 6px;
    font-size: 0.5rem;
  }

  .player-card__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-column: 2;
    gap: 4px;
    padding: 3px 6px 8px 8px;
    border-top: 1px solid rgba(247, 241, 223, 0.06);
    border-right: 0;
  }

  .player-stat {
    min-height: 0;
    padding: 4px 5px;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 3px;
    border: 1px solid rgba(247, 241, 223, 0.06);
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.12);
  }

  .player-stat dt {
    font-size: 0.43rem;
    white-space: nowrap;
  }

  .player-stat dd {
    font-size: 0.68rem;
  }

  .player-card__action {
    grid-row: 1 / span 2;
    grid-column: 3;
    min-width: 0;
    padding: 6px;
  }

  .draft-card-button {
    min-height: 100%;
    padding: 0 6px;
    font-size: 0.58rem;
    line-height: 1.08;
    white-space: normal;
  }

  .roster--compact {
    padding: 18px 14px;
  }

  .roster--compact .roster-grid {
    gap: 6px;
  }

  .roster-slot {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .results-page {
    padding-inline: 14px;
  }

  .result-hero {
    padding: 30px 22px;
  }

  .record-lockup {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .record {
    font-size: 6rem;
  }

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

  .share-fallback {
    grid-template-columns: 1fr;
  }

  .share-fallback label {
    grid-column: auto;
  }

  .result-lineup,
  .result-analysis {
    padding: 20px 16px;
  }

  .rating-buttons {
    grid-template-columns: repeat(5, 1fr);
  }

  .rating-buttons button {
    min-width: 0;
    min-height: 60px;
  }

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

  .site-footer {
    flex-direction: column;
    gap: 4px;
  }

  .site-footer__links {
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 920px) {
  .static-hero,
  .static-section-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .static-hero {
    min-height: 0;
  }

  .static-hero__copy {
    padding: 34px clamp(18px, 6vw, 42px) 24px;
  }

  .static-hero__visual,
  .static-hero__mark {
    min-height: 260px;
  }

  .static-stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 25, 20, 0.16);
  }

  .contact-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .static-hero h1 {
    max-width: 9ch;
    font-size: clamp(2.35rem, 11.5vw, 3.65rem);
    line-height: 0.9;
  }

  .static-hero__copy > p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 0.94rem;
  }

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

  .static-stat-strip {
    grid-template-columns: 1fr;
  }

  .static-stat-strip article {
    min-height: 112px;
  }

  .static-hero__mark {
    min-height: 238px;
  }

  .static-hero__mark--trophy img {
    width: min(66vw, 280px);
    max-height: 258px;
  }
}

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

  .multiplayer-turn-signal {
    animation: none !important;
    opacity: 1;
  }
}
.daily-analysis {
  margin: 2rem auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.16));
  border-radius: 1rem;
  background: rgba(17, 19, 20, 0.92);
}

.daily-analysis-summary span,
.daily-analysis-summary small {
  color: var(--muted, #aaa);
  font-size: 0.75rem;
}

.daily-analysis-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.daily-analysis-summary article {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
}

.daily-analysis-summary strong {
  color: #f4c242;
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.analysis-callout {
  margin: 1rem 0;
}

.daily-analysis summary {
  cursor: pointer;
  font-weight: 800;
}

.analysis-picks {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.25rem;
}

.analysis-picks li {
  display: grid;
  gap: 0.1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.analysis-picks span,
.analysis-picks small {
  color: var(--muted, #aaa);
  font-size: 0.78rem;
}

.perfect-pick-rounds {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perfect-pick-rounds > li {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.035);
}

.perfect-pick-round-heading,
.perfect-pick-comparison {
  display: grid;
  gap: 0.75rem;
}

.perfect-pick-round-heading {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  margin-bottom: 0.75rem;
}

.perfect-pick-round-heading > span:first-child,
.perfect-pick-comparison article > span {
  color: var(--muted, #aaa);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.perfect-pick-gap {
  justify-self: end;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.perfect-pick-gap.is-missed {
  color: #f4c242;
}

.perfect-pick-gap.is-perfect {
  color: #8bd6ad;
}

.perfect-pick-gap.is-roster-fit {
  color: var(--muted, #aaa);
}

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

.perfect-pick-comparison article {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.75rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.18);
}

.perfect-pick-comparison strong {
  overflow-wrap: anywhere;
}

.perfect-pick-comparison small {
  color: var(--muted, #aaa);
  line-height: 1.4;
}

.goat-leaderboard-list .is-current-user {
  outline: 1px solid #f4c242;
}

@media (max-width: 600px) {
  .daily-analysis-summary {
    grid-template-columns: 1fr;
  }

  .perfect-pick-round-heading,
  .perfect-pick-comparison {
    grid-template-columns: 1fr;
  }

  .perfect-pick-gap {
    justify-self: start;
    text-align: left;
  }
}
