:root {
  --paper: #f5efe0;
  --paper-2: #f3e7d1;
  --ink: #13141a;
  --ink-soft: rgba(19, 20, 26, 0.72);
  --orange: #e85b33;
  --orange-dark: #ad3110;
  --gold: #f2c14d;
  --teal: #1d8f8a;
  --navy: #172448;
  --red: #d23144;
  --panel: rgba(255, 255, 255, 0.78);
  --line: rgba(19, 20, 26, 0.12);
  --shadow: 0 18px 48px rgba(19, 20, 26, 0.14);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 193, 77, 0.26), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(29, 143, 138, 0.18), transparent 32%),
    linear-gradient(180deg, #fff8ec, #f5efe0 55%, #efe2c8);
  color: var(--ink);
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Gill Sans", "Avenir Next Condensed", sans-serif;
  min-height: 100vh;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 1rem 1rem 2rem;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto 1.5rem;
  max-width: 1280px;
  padding: 0.4rem 0;
  width: 100%;
}

.brand {
  align-items: center;
  display: flex;
  gap: 0.85rem;
}

.brand-logo {
  display: block;
  filter: drop-shadow(0 10px 18px rgba(19, 20, 26, 0.18));
  height: 3.6rem;
  width: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  gap: 0.2rem;
  justify-content: center;
}

.brand-copy strong,
.hero-copy h1,
.section-title h2,
.matchup-headline,
.mode-card h3,
.entry-card h3,
.result-card h2 {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}

.eyebrow {
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.auth-user-meta {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.nav-user-name {
  color: var(--navy);
  font-weight: 800;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-balance-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(19, 20, 26, 0.06);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.8rem 0.35rem 0.45rem;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.token-balance-chip:hover,
.token-balance-chip:focus-visible {
  border-color: rgba(23, 36, 72, 0.18);
  box-shadow: 0 14px 28px rgba(19, 20, 26, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.token-balance-chip img {
  height: 1.5rem;
  object-fit: contain;
  width: 1.5rem;
}

.token-balance-chip strong {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 0.98rem;
  line-height: 1;
}

.nav-link {
  font-size: 0.95rem;
}

.button {
  background: linear-gradient(135deg, var(--orange), var(--red));
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  gap: 0.5rem;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 10px 24px rgba(210, 49, 68, 0.28);
  transform: translateY(-1px);
}

.button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.button-outline {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--ink);
}

.button-muted {
  background: rgba(19, 20, 26, 0.08);
  color: var(--ink);
}

.button-secondary {
  background: linear-gradient(135deg, var(--navy), #30478c);
}

.button-block {
  width: 100%;
}

.app-view {
  flex: 1 0 auto;
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}

.site-footer {
  color: var(--ink-soft);
  flex-shrink: 0;
  font-size: 0.9rem;
  margin: 1.6rem auto 0;
  max-width: 1280px;
  padding: 0.25rem 0 0;
  text-align: center;
  width: 100%;
}

.site-footer p {
  margin: 0;
}

.panel {
  background: var(--panel);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(120deg, rgba(232, 91, 51, 0.12), transparent 35%),
    radial-gradient(circle at 70% 20%, rgba(23, 36, 72, 0.12), transparent 28%);
  content: "";
  inset: 0;
  position: absolute;
}

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

.hero-copy {
  padding: 1rem 0.5rem;
}

.hero-copy h1 {
  margin: 0.15rem 0 0.8rem;
}

.hero-headline {
  display: grid;
  gap: 0.55rem;
}

.hero-headline-prime {
  display: block;
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: clamp(2.85rem, 7vw, 5.9rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-headline-secondary {
  color: rgba(23, 36, 72, 0.72);
  display: block;
  font-size: clamp(1.18rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.02;
  max-width: 24rem;
}

.hero-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 39rem;
}

.hero-actions,
.inline-actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.actions-end {
  justify-content: flex-end;
}

.hero-matchup-stage {
  background:
    radial-gradient(circle at top center, rgba(232, 91, 51, 0.18), transparent 32%),
    linear-gradient(160deg, rgba(20, 31, 63, 0.97), rgba(23, 36, 72, 0.92));
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 32px;
  color: #f7f3ea;
  display: grid;
  gap: 1.2rem;
  min-height: 100%;
  overflow: hidden;
  padding: 1.35rem;
  position: relative;
}

.hero-matchup-stage::before {
  background:
    radial-gradient(circle at 20% 78%, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(232, 91, 51, 0.18), transparent 24%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-matchup-stage > * {
  position: relative;
  z-index: 1;
}

.hero-matchup-stage .eyebrow,
.hero-matchup-stage .muted,
.hero-matchup-stage p,
.hero-matchup-stage span,
.hero-matchup-stage small {
  color: inherit;
}

.hero-matchup-stage-empty {
  align-content: center;
}

.hero-matchup-head {
  align-items: start;
  display: flex;
  gap: 0.9rem;
  justify-content: space-between;
}

.hero-matchup-head h2 {
  color: #fff7ee;
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 0.94;
  margin: 0.18rem 0 0;
  text-transform: uppercase;
}

.hero-matchup-meta {
  color: rgba(247, 243, 234, 0.82);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin: -0.4rem 0 0;
  text-transform: uppercase;
}

.hero-matchup-versus {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.hero-matchup-side {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
}

.hero-matchup-side strong {
  color: #fff7ee;
  font-size: 1.18rem;
  line-height: 1.05;
}

.hero-matchup-side span {
  color: rgba(247, 243, 234, 0.72);
  font-size: 0.92rem;
}

.hero-matchup-avatar-wrap {
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  display: flex;
  height: 190px;
  justify-content: center;
  padding: 0.65rem;
  width: 100%;
}

.hero-matchup-avatar {
  border-radius: 24px;
  height: 100%;
  max-height: 168px;
  object-fit: contain;
  width: 100%;
}

.hero-matchup-center {
  align-items: center;
  display: grid;
  gap: 0.4rem;
  justify-items: center;
}

.hero-matchup-versus-mark {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff7ee;
  display: inline-flex;
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 0.96rem;
  height: 3.1rem;
  justify-content: center;
  letter-spacing: 0.12em;
  min-width: 3.1rem;
  text-transform: uppercase;
}

.hero-matchup-center small {
  color: rgba(247, 243, 234, 0.74);
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-matchup-footer {
  align-items: end;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.hero-matchup-footer p {
  color: rgba(247, 243, 234, 0.82);
  font-size: 1rem;
  margin: 0;
  max-width: none;
}

.hero-matchup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.daily-reward-panel {
  overflow: hidden;
  position: relative;
}

.daily-reward-panel::before {
  background:
    radial-gradient(circle at 15% 30%, rgba(242, 193, 77, 0.24), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(29, 143, 138, 0.16), transparent 20%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.daily-reward-shell {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  position: relative;
  z-index: 1;
}

.daily-reward-copy,
.daily-reward-stage-card {
  position: relative;
  z-index: 1;
}

.daily-reward-copy {
  display: grid;
  gap: 0.75rem;
}

.daily-reward-copy .stack-actions {
  align-items: center;
}

.daily-reward-copy .stack-actions .button {
  align-items: center;
  line-height: 1;
  min-height: 2.5rem;
  padding: 0.58rem 1.05rem;
}

.daily-reward-stage-card {
  align-content: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 28px;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  padding: 1rem 1.05rem 1.15rem;
}

.daily-reward-stage-copy {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  text-align: center;
}

.daily-reward-stage-copy strong {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 0;
}

.daily-reward-stage-copy p {
  margin: 0;
}

.grid {
  display: grid;
  gap: 1rem;
}

[hidden] {
  display: none !important;
}

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

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

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

.section {
  margin-top: 1.2rem;
  padding: 1.2rem;
}

.section-title {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.notice-banner {
  align-items: center;
  background: linear-gradient(140deg, rgba(255, 248, 236, 0.96), rgba(255, 239, 219, 0.94));
  border: 1px solid rgba(232, 91, 51, 0.18);
  border-radius: 24px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
}

.notice-banner h3,
.notice-banner p {
  margin: 0;
}

.notice-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.section-title h2 {
  font-size: 1.8rem;
  margin: 0;
}

.section-title p,
.muted,
.card-meta,
.tiny {
  color: var(--ink-soft);
}

.mode-card,
.entry-card,
.result-card,
.team-card,
.profile-card,
.matchup-card,
.purchase-card,
.receipt-card,
.dashboard-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
}

.empty-state-card {
  align-items: center;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.82), rgba(244, 232, 209, 0.88));
  display: flex;
  min-height: 13rem;
}

.mode-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.82), rgba(244, 232, 209, 0.9));
}

.mode-card h3,
.entry-card h3,
.profile-card h3,
.dashboard-card h3 {
  margin: 0.2rem 0 0.6rem;
}

.pill {
  background: rgba(19, 20, 26, 0.08);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
}

.pill-success {
  background: rgba(29, 143, 138, 0.14);
  color: #136f69;
}

.pill-warning {
  background: rgba(232, 91, 51, 0.14);
  color: #b14627;
}

.pill-info {
  background: rgba(23, 36, 72, 0.1);
  color: #253d78;
}

.pill-muted {
  background: rgba(19, 20, 26, 0.06);
  color: rgba(23, 36, 72, 0.72);
}

.team-strip,
.recent-result-strip,
.purchase-strip {
  align-items: center;
  display: flex;
  gap: 0.85rem;
}

.team-strip img,
.recent-result-strip img,
.avatar {
  border-radius: 18px;
  height: 74px;
  object-fit: cover;
  width: 74px;
}

.replay-summary-card {
  display: grid;
  gap: 0.8rem;
}

.replay-summary-card.is-compact {
  gap: 0.72rem;
  padding: 0.85rem;
}

.replay-summary-card.is-compact .replay-summary-top {
  grid-template-columns: 138px minmax(0, 1fr);
}

.replay-summary-top {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 58px minmax(0, 1fr);
}

.replay-summary-top img {
  border-radius: 18px;
  height: 58px;
  object-fit: cover;
  width: 58px;
}

.replay-summary-versus {
  align-items: center;
  display: grid;
  gap: 0.38rem;
  grid-template-columns: 58px auto 58px;
}

.replay-summary-versus-mark {
  color: rgba(23, 36, 72, 0.56);
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.replay-summary-copy {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.replay-summary-copy h3 {
  font-size: 1rem;
  margin: 0;
}

.replay-summary-copy .muted {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0;
  overflow: hidden;
}

.replay-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.replay-summary-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.replay-summary-actions .button {
  min-height: 2.45rem;
  padding-inline: 1rem;
}

.home-replay-grid .replay-summary-actions {
  justify-content: flex-end;
}

.replay-index-panel {
  display: grid;
  gap: 1rem;
}

.replay-filter-bar {
  align-items: end;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
}

.replay-filter-bar label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.replay-filter-bar input,
.replay-filter-bar select {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.12);
  border-radius: 16px;
  color: var(--ink);
  font: inherit;
  min-height: 2.8rem;
  padding: 0.65rem 0.8rem;
  width: 100%;
}

.replay-filter-bar select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(23, 36, 72, 0.72) 50%),
    linear-gradient(135deg, rgba(23, 36, 72, 0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 1rem) calc(50% - 0.12rem),
    calc(100% - 0.72rem) calc(50% - 0.12rem);
  background-repeat: no-repeat;
  background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
  padding-right: 2.2rem;
}

.replay-filter-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.my-bracket-layout {
  display: grid;
  gap: 1rem;
}

.my-bracket-round-grid {
  align-items: stretch;
}

.bracket-summary-card,
.round-entry-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(244, 232, 209, 0.86));
  display: grid;
  gap: 0.8rem;
}

.home-game-grid {
  align-items: stretch;
}

.home-game-card {
  min-height: 100%;
  position: relative;
}

.home-game-card::after {
  background: radial-gradient(circle, rgba(232, 91, 51, 0.12), transparent 70%);
  content: "";
  height: 6rem;
  pointer-events: none;
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  width: 6rem;
}

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

.home-game-card .stack-actions {
  margin-top: auto;
}

.home-matchup-preview {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 22px;
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
}

.home-matchup-preview-top {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  justify-content: space-between;
}

.home-matchup-preview-teams {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.home-matchup-preview-team {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}

.home-matchup-preview-team > div {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.home-matchup-preview-team strong,
.home-matchup-preview-team small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-matchup-preview-versus {
  color: var(--ink-soft);
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-matchup-avatar {
  border-radius: 16px;
  height: 54px;
  object-fit: cover;
  width: 54px;
}

.daily-reward-modal {
  width: min(720px, calc(100vw - 1.5rem));
}

.daily-reward-modal-frame {
  max-height: min(90vh, 920px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.25rem;
}

.daily-reward-modal-frame > .modal-close {
  display: none;
}

#daily-reward-modal-content {
  display: flex;
  flex: 1;
  min-height: 0;
}

.daily-reward-modal-shell {
  background:
    linear-gradient(160deg, rgba(255, 251, 242, 0.98), rgba(248, 236, 213, 0.98)),
    radial-gradient(circle at top right, rgba(242, 193, 77, 0.2), transparent 24%);
  border-radius: 28px;
  display: grid;
  gap: 1rem;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.25rem;
  position: relative;
  width: 100%;
}

.daily-reward-modal-close {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 20, 26, 0.08);
  box-shadow: 0 10px 24px rgba(19, 20, 26, 0.12);
  color: var(--ink);
  right: 0.9rem;
  top: 0.9rem;
  z-index: 4;
}

.daily-reward-modal-shell.is-result .daily-reward-modal-close {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff8ef;
}

.daily-reward-modal-shell.is-result {
  background:
    linear-gradient(160deg, rgba(23, 36, 72, 0.98), rgba(29, 143, 138, 0.92)),
    radial-gradient(circle at top center, rgba(255, 212, 106, 0.22), transparent 28%);
  color: #fff8ef;
}

.daily-reward-modal-head {
  display: grid;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
}

.daily-reward-modal-head h2 {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.daily-reward-modal-shell.is-result .daily-reward-modal-head .eyebrow,
.daily-reward-modal-shell.is-result .daily-reward-modal-head p,
.daily-reward-modal-shell.is-result .daily-reward-modal-head h2,
.daily-reward-modal-shell.is-result .daily-reward-balance-row,
.daily-reward-modal-shell.is-result .daily-reward-result-card {
  color: inherit;
}

.daily-reward-balance-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 999px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.9rem 1.05rem;
  position: relative;
  z-index: 1;
}

.daily-reward-modal-shell.is-result .daily-reward-balance-row {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
}

.daily-reward-balance-row strong {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.daily-reward-claim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.daily-reward-claim-actions .button {
  min-height: 2.85rem;
  white-space: nowrap;
}

.daily-reward-result-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 26px;
  display: grid;
  justify-items: center;
  min-height: 7.5rem;
  padding: 1.15rem 1.05rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

.daily-reward-result-amount {
  color: var(--navy);
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.1rem);
  letter-spacing: -0.06em;
  line-height: 0.88;
  margin: 0;
  text-transform: uppercase;
}

.daily-reward-modal-shell.is-result .daily-reward-result-amount {
  color: #1f3f6f;
}

.daily-reward-wheel-stage {
  display: grid;
  justify-items: center;
  padding-block: 0.35rem;
  position: relative;
  z-index: 1;
}

.daily-reward-wheel-shell {
  display: grid;
  place-items: center;
  position: relative;
}

.daily-reward-wheel-motion {
  display: grid;
  place-items: center;
}

.daily-reward-wheel-motion.is-idle {
  animation: daily-wheel-sway 3200ms ease-in-out infinite;
}

.daily-reward-wheel-shell.is-compact .daily-reward-wheel {
  height: min(54vw, 300px);
  width: min(54vw, 300px);
}

.daily-reward-wheel-shell.is-compact .daily-reward-wheel-label {
  transform:
    translate(-50%, -50%)
    rotate(var(--reward-label-rotation))
    translateY(-5.85rem)
    rotate(calc(var(--reward-label-counter) - var(--reward-wheel-rotation)));
}

.daily-reward-wheel-shell.is-compact .daily-reward-wheel-core {
  height: 5rem;
  width: 5rem;
}

.daily-reward-wheel-pointer {
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 26px solid #13141a;
  filter: drop-shadow(0 6px 8px rgba(19, 20, 26, 0.18));
  left: 50%;
  position: absolute;
  top: -0.2rem;
  transform: translateX(-50%);
  z-index: 3;
}

.daily-reward-wheel {
  align-items: center;
  aspect-ratio: 1;
  background: var(--reward-wheel-gradient);
  border: 10px solid rgba(255, 248, 239, 0.92);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(19, 20, 26, 0.18);
  display: grid;
  height: min(66vw, 360px);
  justify-items: center;
  position: relative;
  transform: rotate(var(--reward-wheel-rotation));
  transition: transform 3.6s cubic-bezier(0.12, 0.82, 0.16, 1);
  width: min(66vw, 360px);
}

.daily-reward-wheel-label {
  color: #13141a;
  display: inline-flex;
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  justify-content: center;
  left: 50%;
  letter-spacing: 0.03em;
  min-width: 3.6rem;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 50%;
  transform:
    translate(-50%, -50%)
    rotate(var(--reward-label-rotation))
    translateY(-7rem)
    rotate(calc(var(--reward-label-counter) - var(--reward-wheel-rotation)));
  transform-origin: center;
}

.daily-reward-wheel-core {
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border: 8px solid rgba(229, 233, 241, 0.96);
  border-radius: 50%;
  display: inline-flex;
  height: 5.9rem;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transform: rotate(calc(-1 * var(--reward-wheel-rotation)));
  width: 5.9rem;
  z-index: 2;
}

.daily-reward-wheel-core img {
  display: block;
  height: 78%;
  object-fit: contain;
  width: 78%;
}

.daily-reward-celebration {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.daily-reward-confetti-piece {
  animation: daily-confetti-burst 1400ms ease-out forwards;
  background: hsl(calc(var(--piece-index) * 20deg), 90%, 62%);
  border-radius: 999px;
  height: 16px;
  left: 50%;
  position: absolute;
  top: 42%;
  transform: translate(-50%, -50%) rotate(calc(var(--piece-index) * 12deg));
  width: 8px;
}

.daily-reward-token-drop {
  animation: daily-token-rain 1500ms linear forwards;
  left: calc(6% + (var(--drop-index) * 7.2%));
  position: absolute;
  top: -12%;
}

.daily-reward-token-drop img {
  filter: drop-shadow(0 10px 12px rgba(19, 20, 26, 0.18));
  height: 42px;
  width: 42px;
}

.daily-reward-celebration.is-victory-flash {
  display: grid;
  place-items: center;
}

.daily-reward-celebration.is-victory-flash span {
  animation: daily-victory-ring 1200ms ease-out forwards;
  border: 2px solid rgba(255, 248, 239, 0.7);
  border-radius: 50%;
  inset: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.daily-reward-celebration.is-victory-flash span:nth-child(1) {
  animation-delay: 0ms;
}

.daily-reward-celebration.is-victory-flash span:nth-child(2) {
  animation-delay: 180ms;
}

.daily-reward-celebration.is-victory-flash span:nth-child(3) {
  animation-delay: 360ms;
}

@keyframes daily-confetti-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) scale(1) rotate(460deg);
  }
}

@keyframes daily-token-rain {
  0% {
    opacity: 0;
    transform: translateY(-30px) rotate(0deg);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(340px) rotate(520deg);
  }
}

@keyframes daily-wheel-sway {
  0%,
  100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

@keyframes daily-victory-ring {
  0% {
    height: 0;
    opacity: 0;
    width: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    height: 460px;
    opacity: 0;
    width: 460px;
  }
}

.round-entry-top {
  align-items: start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.round-entry-top h3 {
  margin: 0.15rem 0 0;
}

.round-entry-metrics {
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.season-run-shell {
  display: grid;
  gap: 1rem;
}

.season-run-header,
.season-current-slate-head,
.season-slate-card-head {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.season-summary-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 236, 214, 0.9));
  display: grid;
  gap: 0.55rem;
  min-height: 100%;
}

.season-summary-card strong {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 0.92;
}

.season-summary-card p {
  margin: 0;
}

.season-run-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.season-current-slate,
.season-slate-card,
.season-scoring-card,
.season-history-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 236, 216, 0.88));
}

.season-current-slate {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.season-slate-list,
.season-run-sidebar,
.season-scoring-list,
.season-history-section,
.season-history-list {
  display: grid;
  gap: 1rem;
}

.season-slate-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.season-slate-card h3,
.season-scoring-card h3,
.season-history-card h3 {
  margin: 0.15rem 0 0;
}

.season-slate-card-footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.season-slate-empty {
  min-height: 180px;
}

.season-scoring-card {
  display: grid;
  gap: 0.8rem;
}

.season-scoring-card p {
  margin: 0;
}

.season-scoring-list {
  color: var(--navy);
  font-weight: 700;
}

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

.season-history-card {
  border: 1px solid rgba(19, 20, 26, 0.08);
  display: grid;
  gap: 0.75rem;
}

.season-history-card.is-current {
  border-color: rgba(29, 143, 138, 0.34);
  box-shadow: 0 0 0 4px rgba(29, 143, 138, 0.1);
}

.bracket-shell {
  display: grid;
  gap: 1rem;
}

.bracket-stage {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(380px, 1fr) minmax(0, 1fr);
}

.board-panel {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.bracket-toolbar {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.bracket-title {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  line-height: 0.96;
  margin: 0.2rem 0 0.4rem;
  text-transform: uppercase;
}

.bracket-toolbar-meta,
.war-room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.bracket-board {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 241, 224, 0.85)),
    radial-gradient(circle at 0% 50%, rgba(23, 36, 72, 0.08), transparent 20%);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  height: min(80vh, 900px);
  overflow: auto;
  padding: 0;
  position: relative;
  scrollbar-width: thin;
}

.bracket-canvas {
  min-height: 100%;
  position: relative;
}

.bracket-connectors {
  height: 100%;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.connector-path {
  fill: none;
  stroke: rgba(23, 36, 72, 0.16);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.connector-path.is-current {
  stroke: rgba(232, 91, 51, 0.5);
  stroke-width: 3;
}

.bracket-column {
  bottom: 0;
  position: absolute;
  top: 0;
  z-index: 2;
}

.bracket-column-surface {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--round-surface) 150%, white), rgba(255, 255, 255, 0.88) 18%, rgba(255, 255, 255, 0.68)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), transparent);
  border: 1px solid var(--round-border);
  border-radius: 28px;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.bracket-column-head {
  background: color-mix(in srgb, var(--round-surface) 70%, white);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--round-border) 75%, white);
  border-radius: 20px;
  display: grid;
  gap: 0.2rem;
  left: 10px;
  padding: 0.75rem 0.8rem;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
}

.bracket-column-head .eyebrow {
  color: var(--round-accent);
}

.bracket-column-head h3 {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1rem;
  margin: 0;
  text-transform: uppercase;
}

.bracket-column-lane {
  height: 100%;
  position: relative;
}

.bracket-node {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 22px;
  box-shadow: 0 12px 24px rgba(19, 20, 26, 0.06);
  display: grid;
  gap: 0.5rem;
  grid-template-rows: auto 1fr;
  height: 182px;
  left: 9px;
  overflow: hidden;
  padding: 0.78rem 0.82rem 1.08rem;
  position: absolute;
  width: 232px;
  z-index: 4;
}

.bracket-node.is-current {
  background: linear-gradient(180deg, rgba(255, 247, 241, 0.98), rgba(255, 232, 219, 0.96));
  border-color: rgba(232, 91, 51, 0.45);
  box-shadow: 0 0 0 4px rgba(232, 91, 51, 0.12), 0 16px 32px rgba(210, 49, 68, 0.12);
}

.bracket-node.is-picked {
  background: rgba(255, 255, 255, 0.92);
}

.bracket-node.is-current.is-picked {
  background: linear-gradient(180deg, rgba(255, 247, 241, 0.98), rgba(255, 232, 219, 0.96));
  border-color: rgba(232, 91, 51, 0.45);
}

.bracket-node.is-future {
  opacity: 0.82;
}

.bracket-node.is-navigable {
  cursor: pointer;
}

.bracket-node.is-navigable:hover {
  box-shadow: 0 16px 28px rgba(19, 20, 26, 0.1);
}

.bracket-node-top,
.team-option-topline {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  justify-content: space-between;
}

.bracket-node-top {
  min-height: 1.9rem;
}

.node-datetime {
  color: rgba(23, 36, 72, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.node-matchup {
  align-content: start;
  display: grid;
  gap: 0.5rem;
}

.node-team {
  background: rgba(19, 20, 26, 0.04);
  border: 1px solid rgba(19, 20, 26, 0.05);
  border-radius: 15px;
  display: grid;
  gap: 0.38rem;
  grid-template-columns: 32px minmax(0, 1fr);
  min-height: 52px;
  padding: 0.62rem 0.58rem;
}

.node-team-copy {
  display: grid;
  gap: 0.04rem;
  min-width: 0;
}

.node-team-copy span {
  font-size: 0.94rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.node-team-copy small {
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-team.is-picked,
.node-team.is-correct {
  background: linear-gradient(135deg, rgba(85, 208, 170, 0.24), rgba(29, 143, 138, 0.14));
  border-color: rgba(29, 143, 138, 0.24);
}

.node-team.is-picked .node-team-copy span,
.node-team.is-correct .node-team-copy span {
  color: #0f6f68;
}

.node-team.is-picked .node-team-copy small,
.node-team.is-correct .node-team-copy small {
  color: rgba(15, 111, 104, 0.76);
}

.node-team.is-official {
  background: linear-gradient(135deg, rgba(23, 36, 72, 0.12), rgba(65, 94, 168, 0.1));
  border-color: rgba(37, 61, 120, 0.18);
}

.node-team.is-official .node-team-copy span {
  color: #253d78;
}

.node-team.is-official .node-team-copy small {
  color: rgba(37, 61, 120, 0.72);
}

.node-team.is-incorrect {
  background: linear-gradient(135deg, rgba(220, 89, 89, 0.18), rgba(185, 49, 72, 0.12));
  border-color: rgba(185, 49, 72, 0.22);
}

.node-team.is-incorrect .node-team-copy span {
  color: #9a2442;
}

.node-team.is-incorrect .node-team-copy small {
  color: rgba(154, 36, 66, 0.72);
}

.node-team.is-empty {
  align-items: center;
  border-style: dashed;
}

.node-team.is-empty .node-team-copy {
  align-content: center;
}

.node-avatar {
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(19, 20, 26, 0.12);
  height: 32px;
  object-fit: cover;
  width: 32px;
}

.versus-avatar {
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(19, 20, 26, 0.12);
  height: 36px;
  object-fit: cover;
  width: 36px;
}

.node-avatar.is-placeholder,
.versus-avatar.is-placeholder {
  align-items: center;
  background: rgba(19, 20, 26, 0.08);
  color: var(--ink-soft);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
}

.node-check {
  align-items: center;
  background: linear-gradient(135deg, rgba(29, 143, 138, 0.18), rgba(29, 143, 138, 0.28));
  border: 1px solid rgba(29, 143, 138, 0.26);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(29, 143, 138, 0.16);
  color: #12756e;
  display: inline-flex;
  font-weight: 900;
  height: 1.95rem;
  justify-content: center;
  width: 1.95rem;
}

.node-check span {
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-0.02rem);
}

.node-x {
  align-items: center;
  background: linear-gradient(135deg, rgba(220, 89, 89, 0.18), rgba(185, 49, 72, 0.28));
  border: 1px solid rgba(185, 49, 72, 0.26);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(185, 49, 72, 0.14);
  color: #9a2442;
  display: inline-flex;
  font-weight: 900;
  height: 1.95rem;
  justify-content: center;
  width: 1.95rem;
}

.node-x span {
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(-0.06rem);
}

.node-question {
  align-items: center;
  background: linear-gradient(135deg, rgba(19, 20, 26, 0.06), rgba(19, 20, 26, 0.12));
  border: 1px solid rgba(19, 20, 26, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(19, 20, 26, 0.08);
  color: rgba(23, 36, 72, 0.7);
  display: inline-flex;
  font-weight: 900;
  height: 1.95rem;
  justify-content: center;
  width: 1.95rem;
}

.node-question.is-current {
  background: linear-gradient(135deg, rgba(242, 193, 77, 0.24), rgba(232, 91, 51, 0.2));
  border-color: rgba(232, 91, 51, 0.24);
  color: var(--orange-dark);
  box-shadow: 0 12px 24px rgba(232, 91, 51, 0.14);
}

.node-question span {
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-0.04rem);
}

.node-lock {
  align-items: center;
  background: linear-gradient(135deg, rgba(54, 67, 94, 0.16), rgba(31, 41, 61, 0.26));
  border: 1px solid rgba(31, 41, 61, 0.22);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(31, 41, 61, 0.12);
  color: #26344c;
  display: inline-flex;
  height: 1.95rem;
  justify-content: center;
  width: 1.95rem;
}

.node-lock svg {
  fill: currentColor;
  height: 1rem;
  width: 1rem;
}

.node-foot {
  margin-top: auto;
}

.node-region {
  color: var(--ink-soft);
  justify-self: start;
  margin-top: auto;
}

.champion-column {
  position: absolute;
  width: 216px;
  z-index: 3;
}

.champion-card {
  align-content: center;
  background:
    radial-gradient(circle at top, rgba(242, 193, 77, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(23, 36, 72, 0.95), rgba(35, 52, 101, 0.92));
  border: 1px solid var(--round-border, rgba(255, 255, 255, 0.14));
  border-radius: 26px;
  color: #fff;
  display: grid;
  gap: 0.8rem;
  height: 216px;
  justify-items: center;
  padding: 1.2rem;
  text-align: center;
}

.champion-card .eyebrow,
.champion-card .muted {
  color: rgba(255, 255, 255, 0.76);
}

.champion-card img {
  border-radius: 20px;
  height: 104px;
  object-fit: cover;
  width: 104px;
}

.champion-card strong {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1.4rem;
  line-height: 1;
}

.champion-placeholder {
  align-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  display: flex;
  font-family: "Arial Black", "Impact", sans-serif;
  justify-content: center;
  min-height: 110px;
  padding: 1rem;
  width: 100%;
}

.matchup-card {
  background:
    radial-gradient(circle at 15% 20%, rgba(232, 91, 51, 0.16), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(29, 143, 138, 0.14), transparent 24%),
    rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.war-room {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem;
  position: sticky;
  top: 0.75rem;
}

.war-room-header {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.matchup-headline {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 0.95;
  margin: 0.2rem 0 0.4rem;
}

.matchup-schedule {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.versus-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.picker-vs {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(232, 91, 51, 0.18);
  border-radius: 999px;
  color: var(--orange-dark);
  display: inline-flex;
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 1rem;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 3.1rem;
  padding: 0 0.9rem;
  box-shadow: 0 14px 28px rgba(19, 20, 26, 0.08);
}

.team-option {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 28px;
  display: grid;
  gap: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.team-option.is-picked {
  background: linear-gradient(180deg, rgba(243, 255, 248, 0.98), rgba(233, 250, 241, 0.96));
  border-color: rgba(29, 143, 138, 0.45);
  box-shadow: 0 0 0 4px rgba(29, 143, 138, 0.12), 0 20px 32px rgba(29, 143, 138, 0.12);
}

.team-option.is-picked .team-option-stage {
  background: linear-gradient(180deg, rgba(249, 255, 252, 1), rgba(238, 250, 244, 0.96));
  border-bottom-color: rgba(29, 143, 138, 0.12);
}

.team-option.is-picked .team-option-school {
  color: #0f6f68;
}

.team-option.is-picked .support-meter > span {
  background: linear-gradient(90deg, #55d0aa, var(--teal));
}

.team-option.is-picked .team-option-actions .button-muted {
  background: linear-gradient(135deg, #32a997, #147b74);
  color: #fff;
}

.team-option.is-picked .team-option-actions .button-muted:hover,
.team-option.is-picked .team-option-actions .button-muted:focus-visible {
  box-shadow: 0 10px 24px rgba(29, 143, 138, 0.28);
}

.team-option-stage {
  background: #fff;
  border-bottom: 1px solid rgba(19, 20, 26, 0.05);
  height: 304px;
  padding: 0;
  position: relative;
  isolation: isolate;
  width: 100%;
}

.team-option-stage img {
  display: block;
  height: 100%;
  object-fit: contain;
  object-position: center 20%;
  padding: 1rem 0.75rem 0.3rem;
  width: 100%;
}

.team-option-seed {
  align-items: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 241, 224, 0.98));
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 1.3rem;
  box-shadow: 0 14px 28px rgba(19, 20, 26, 0.08);
  color: var(--orange-dark);
  display: grid;
  gap: 0;
  justify-items: center;
  min-width: 4.2rem;
  padding: 0.5rem 0.7rem 0.45rem;
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  z-index: 2;
}

.team-option-seed strong {
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 1.7rem;
  line-height: 0.95;
}

.team-option-seed small {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-option-picked-badge {
  align-items: center;
  background: linear-gradient(135deg, #32a997, #147b74);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(29, 143, 138, 0.18);
  color: #fff;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  height: 2rem;
  justify-content: center;
  position: absolute;
  right: 0.85rem;
  top: 0.9rem;
  width: 2rem;
  z-index: 2;
}

.team-option-meta {
  display: grid;
  gap: 0.6rem;
  padding: 0.78rem 0.9rem 0.9rem;
}

.team-option-school {
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  margin: 0;
  text-align: center;
}

.team-option-actions {
  display: grid;
  gap: 0.6rem;
}

.team-option-actions .button {
  min-height: 3rem;
}

.team-option-stats {
  display: grid;
  gap: 0.2rem;
}

.team-option-stats .tiny {
  margin: 0;
}

.pill-accent {
  background: rgba(232, 91, 51, 0.15);
  color: var(--orange-dark);
}

.support-meter {
  background: rgba(19, 20, 26, 0.08);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.support-meter > span {
  background: linear-gradient(90deg, var(--gold), var(--orange));
  display: block;
  height: 100%;
}

.matchup-side-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.bracket-submit-row {
  display: flex;
  justify-content: flex-end;
}

.bracket-board-hint {
  margin: 0;
}

.modal {
  background: transparent;
  border: 0;
  max-width: min(720px, calc(100vw - 1.5rem));
  padding: 0;
  width: 100%;
}

.powerup-modal {
  max-width: min(1080px, calc(100vw - 1.5rem));
}

.admin-record-modal {
  max-height: calc(100vh - 1.5rem);
  max-width: min(980px, calc(100vw - 1.5rem));
}

.modal::backdrop {
  background: rgba(19, 20, 26, 0.42);
  backdrop-filter: blur(4px);
}

.modal-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 239, 224, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 34px;
  box-shadow: var(--shadow);
  position: relative;
}

.auth-shell {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 0.95fr 1.05fr;
  padding: 1.4rem;
}

.powerup-shell {
  display: flex;
  flex-direction: column;
  max-height: min(90vh, 920px);
  overflow: hidden;
  padding: 1.25rem;
}

#powerup-modal-content {
  display: flex;
  flex: 1;
  min-height: 0;
}

.powerup-modal-frame {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 0;
}

.powerup-modal-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-right: 0.1rem;
}

.favorite-mascot-shell {
  max-height: min(88vh, 920px);
  overflow: hidden;
  padding: 1.25rem;
}

.admin-record-shell {
  display: flex;
  flex-direction: column;
  max-height: min(90vh, 940px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.25rem;
}

#admin-record-modal-content {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.modal-close {
  align-items: center;
  background: rgba(19, 20, 26, 0.06);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  height: 2.4rem;
  justify-content: center;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2.4rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab {
  background: rgba(19, 20, 26, 0.08);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 0.6rem 1rem;
}

.tab.active {
  background: linear-gradient(135deg, var(--navy), #324a8e);
  color: #fff;
}

.stacked-form {
  display: grid;
  gap: 0.85rem;
}

.auth-inline-link {
  align-self: start;
  background: transparent;
  border: 0;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.14rem;
}

.auth-inline-link:hover,
.auth-inline-link:focus-visible {
  color: var(--orange-dark);
}

.auth-feedback {
  background: rgba(224, 68, 68, 0.12);
  border: 1px solid rgba(224, 68, 68, 0.24);
  border-radius: 18px;
  color: #8f1f1f;
  font-weight: 700;
  margin-bottom: 0.9rem;
  padding: 0.85rem 1rem;
}

.auth-signup-context {
  background: rgba(23, 36, 72, 0.07);
  border: 1px solid rgba(23, 36, 72, 0.12);
  border-radius: 18px;
  color: var(--navy);
  margin-bottom: 0.9rem;
  padding: 0.8rem 1rem;
}

.auth-signup-context p {
  margin: 0;
}

.auth-signup-context p + p {
  margin-top: 0.35rem;
}

.auth-signup-context-error {
  color: #8f1f1f;
  font-weight: 700;
}

.stacked-form label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.stacked-form input:not([type="checkbox"]):not([type="radio"]),
.stacked-form select,
.stacked-form textarea {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.12);
  border-radius: 18px;
  min-height: 3rem;
  padding: 0.8rem 1rem;
}

.hidden {
  display: none !important;
}

.power-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.power-grid.power-grid-scroll {
  grid-auto-columns: minmax(208px, 208px);
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.purchase-card {
  background: rgba(255, 255, 255, 0.82);
}

.purchase-card img {
  border-radius: 18px;
  height: 92px;
  object-fit: contain;
  padding: 0.25rem;
  width: 100%;
}

.home-power-grid {
  gap: 0.9rem;
}

.home-power-card {
  align-items: center;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 136px;
  padding: 0.9rem;
}

.home-power-card-media {
  align-items: center;
  background: linear-gradient(160deg, rgba(23, 36, 72, 0.08), rgba(232, 91, 51, 0.08));
  border: 1px solid rgba(19, 20, 26, 0.06);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  min-height: 104px;
  padding: 0.35rem;
}

.home-power-card-media img {
  border-radius: 0;
  height: 92px;
  object-fit: contain;
  padding: 0;
  width: 100%;
}

.home-power-card-copy {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.home-power-card-top {
  align-items: start;
  display: flex;
  gap: 0.9rem;
  justify-content: space-between;
}

.home-power-card-heading {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.home-power-card-heading h3 {
  margin: 0;
}

.home-power-card-heading .pill {
  justify-self: start;
}

.home-power-card-price {
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
}

.purchase-card.is-selected {
  border-color: rgba(232, 91, 51, 0.5);
  box-shadow: 0 0 0 4px rgba(232, 91, 51, 0.14);
}

.powerup-modal-body {
  display: grid;
  gap: 0.55rem;
}

.powerup-modal-topline {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.powerup-modal-title-stack {
  display: grid;
  gap: 0.12rem;
}

.powerup-modal-title-stack .eyebrow,
.powerup-modal-title-stack h2,
.powerup-stage-subtitle {
  margin: 0;
}

.powerup-stage-subtitle {
  max-width: 44rem;
}

.powerup-balance-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 22px;
  display: inline-flex;
  gap: 0.65rem;
  min-height: 4rem;
  padding: 0.6rem 0.85rem;
}

.powerup-balance-chip img {
  height: 2rem;
  object-fit: contain;
  width: 2rem;
}

.powerup-balance-chip div {
  display: grid;
  gap: 0.12rem;
}

.powerup-balance-chip strong {
  color: var(--navy);
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1.05rem;
  line-height: 1;
}

.powerup-summary-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.powerup-browser {
  overflow: auto;
  padding-bottom: 0.15rem;
}

.powerup-selection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.power-select-card {
  cursor: pointer;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 224px;
  padding: 0.7rem;
}

.power-select-card-body {
  display: grid;
  gap: 0.3rem;
}

.power-select-card-body h3,
.power-select-card-body p {
  margin: 0;
}

.power-select-card-body h3 {
  font-size: 1rem;
  line-height: 1.02;
}

.power-select-card-body .muted {
  font-size: 0.86rem;
  line-height: 1.18;
}

.power-select-card-top {
  align-items: center;
  display: flex;
  gap: 0.4rem;
  justify-content: space-between;
}

.power-select-card-foot {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin-top: 0.45rem;
  min-height: 1.6rem;
}

.power-select-pill {
  background: linear-gradient(135deg, rgba(232, 91, 51, 0.14), rgba(232, 91, 51, 0.2));
  border: 1px solid rgba(232, 91, 51, 0.24);
  border-radius: 999px;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.26rem 0.58rem;
  text-transform: uppercase;
}

.token-store-panel {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 180px minmax(0, 1fr);
}

.token-store-hero {
  align-items: center;
  background: linear-gradient(150deg, rgba(23, 36, 72, 0.08), rgba(242, 193, 77, 0.12));
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 28px;
  display: flex;
  justify-content: center;
  min-height: 200px;
  padding: 0.75rem;
}

.token-store-hero img {
  display: block;
  height: 150px;
  object-fit: contain;
  width: 100%;
}

.token-store-copy {
  display: grid;
  gap: 0.85rem;
}

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

.token-option-card {
  align-items: start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.1);
  border-radius: 22px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem;
  text-align: left;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.token-option-card:hover,
.token-option-card:focus-visible {
  border-color: rgba(23, 36, 72, 0.18);
  box-shadow: 0 14px 28px rgba(19, 20, 26, 0.08);
  transform: translateY(-1px);
}

.token-option-card.is-selected {
  background: linear-gradient(135deg, rgba(240, 255, 249, 0.98), rgba(229, 247, 241, 0.96));
  border-color: rgba(29, 143, 138, 0.36);
  box-shadow: 0 0 0 4px rgba(29, 143, 138, 0.1), 0 14px 28px rgba(29, 143, 138, 0.12);
}

.token-option-card strong {
  color: var(--navy);
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1rem;
  line-height: 1.05;
}

.token-option-card span {
  color: var(--ink-soft);
  font-weight: 700;
}

.token-custom-field {
  display: grid;
  gap: 0.35rem;
}

.token-custom-field input {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.12);
  border-radius: 18px;
  min-height: 3rem;
  padding: 0.8rem 1rem;
}

.powerup-summary {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 24px;
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
}

.powerup-summary-actions {
  background: transparent;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
  flex-shrink: 0;
  margin-top: 0;
  padding: 0;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 0.1rem);
}

.powerup-summary-actions .inline-actions {
  width: 100%;
}

.powerup-payment-summary {
  display: grid;
  gap: 0.55rem;
}

.powerup-payment-summary-head {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.powerup-payment-summary-head .eyebrow,
.powerup-payment-summary-head-right .eyebrow {
  margin: 0;
}

.powerup-payment-summary-head-right {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}

.powerup-payment-summary-list {
  display: grid;
  gap: 0.45rem;
}

.powerup-payment-summary-row,
.powerup-payment-summary-total {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.powerup-payment-summary-row span {
  color: var(--ink);
  font-weight: 700;
}

.powerup-payment-summary-row strong,
.powerup-payment-summary-total strong {
  color: var(--navy);
  white-space: nowrap;
}

.powerup-payment-summary-total {
  border-top: 1px solid rgba(19, 20, 26, 0.08);
  margin-top: 0.1rem;
  padding-top: 0.5rem;
}

.powerup-payment-summary-total span {
  color: var(--ink-soft);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.power-selection-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.power-selection-chip {
  background: rgba(23, 36, 72, 0.08);
  border: 1px solid rgba(23, 36, 72, 0.1);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
}

.powerup-payment-shell {
  display: grid;
  gap: 0.65rem;
}

.powerup-payment-shell.is-loading {
  min-height: 180px;
  place-content: center start;
}

.powerup-payment-total {
  margin: 0;
}

.powerup-express-shell {
  display: grid;
  gap: 0.4rem;
}

.powerup-express-shell.is-empty .stripe-mount-express {
  min-height: 0;
}

.powerup-checkout-divider {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  font-size: 0.8rem;
  font-weight: 800;
  gap: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.powerup-checkout-divider::before,
.powerup-checkout-divider::after {
  background: rgba(19, 20, 26, 0.1);
  content: "";
  flex: 1;
  height: 1px;
}

.stripe-mount {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 22px;
  min-height: 68px;
  padding: 0.75rem;
}

.stripe-mount-express {
  min-height: 76px;
}

.result-layout,
.profile-layout,
.dashboard-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.replay-card {
  display: grid;
  gap: 1rem;
}

.replay-head {
  display: grid;
  gap: 1rem;
}

.replay-head-copy {
  display: grid;
  gap: 0.85rem;
}

.replay-head-copy h2 {
  margin: 0;
}

.replay-head-actions {
  display: flex;
  justify-content: flex-start;
}

.replay-matchup-hero {
  align-items: stretch;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.replay-versus-mark {
  align-items: center;
  color: rgba(23, 36, 72, 0.54);
  display: inline-flex;
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1rem;
  font-style: italic;
  justify-content: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.replay-contender-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 24px;
  display: grid;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.95rem 1rem;
  position: relative;
}

.replay-contender-card.is-winner {
  background: linear-gradient(140deg, rgba(244, 255, 250, 0.96), rgba(233, 248, 244, 0.92));
  border-color: rgba(29, 143, 138, 0.18);
}

.replay-winner-badge {
  align-items: center;
  color: #136f69;
  display: grid;
  gap: 0.22rem;
  justify-items: center;
  position: absolute;
  right: 0.9rem;
  top: 0.85rem;
}

.replay-winner-check {
  align-items: center;
  background: rgba(29, 143, 138, 0.14);
  border: 1px solid rgba(29, 143, 138, 0.18);
  border-radius: 999px;
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 900;
  height: 2.15rem;
  justify-content: center;
  line-height: 1;
  width: 2.15rem;
}

.replay-winner-badge small {
  color: #136f69;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.replay-contender-head {
  align-items: center;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 72px minmax(0, 1fr);
}

.replay-contender-head img {
  border-radius: 22px;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.replay-contender-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.replay-contender-copy h2 {
  font-size: 1.65rem;
  line-height: 0.95;
  margin: 0;
}

.replay-power-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.replay-power-chip {
  align-items: center;
  background: rgba(244, 232, 209, 0.7);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.22rem 0.5rem 0.22rem 0.25rem;
}

.replay-power-chip img {
  display: block;
  height: 22px;
  object-fit: contain;
  width: 22px;
}

.replay-power-chip span {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.profile-shell {
  display: grid;
  gap: 1rem;
}

.profile-card-wide {
  display: grid;
  gap: 1.25rem;
}

.profile-token-wallet {
  align-items: center;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.84), rgba(244, 232, 209, 0.78));
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 24px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  padding: 1rem;
}

.profile-token-wallet-media {
  align-items: center;
  display: flex;
  justify-content: center;
}

.profile-token-wallet-media img {
  display: block;
  height: 92px;
  object-fit: contain;
  width: 92px;
}

.profile-token-wallet-copy {
  display: grid;
  gap: 0.18rem;
}

.profile-token-wallet-copy h3 {
  margin: 0;
}

.profile-token-wallet-actions {
  align-self: center;
}

.profile-promo-card {
  align-items: center;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.84), rgba(244, 232, 209, 0.78));
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 24px;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  padding: 1rem;
}

.profile-promo-copy {
  display: grid;
  gap: 0.2rem;
}

.profile-promo-copy h3 {
  margin: 0;
}

.profile-promo-form {
  display: grid;
  gap: 0.75rem;
}

.profile-promo-form input {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.12);
  border-radius: 18px;
  min-height: 3rem;
  padding: 0.8rem 1rem;
}

.profile-hero {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.profile-hero-copy h3 {
  margin: 0.15rem 0 0.35rem;
}

.profile-display-name-row {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.profile-display-name-row h3 {
  margin: 0.15rem 0 0.35rem;
}

.profile-edit-button {
  align-items: center;
  background: rgba(19, 20, 26, 0.06);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 999px;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  height: 2.2rem;
  justify-content: center;
  padding: 0;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  width: 2.2rem;
}

.profile-edit-button:hover,
.profile-edit-button:focus-visible {
  border-color: rgba(23, 36, 72, 0.18);
  box-shadow: 0 10px 22px rgba(19, 20, 26, 0.08);
  transform: translateY(-1px);
}

.profile-edit-button svg {
  fill: currentColor;
  height: 1rem;
  width: 1rem;
}

.profile-display-name-form {
  display: grid;
  gap: 0.7rem;
  margin: 0.2rem 0 0.25rem;
  max-width: 28rem;
}

.profile-email-status {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.55rem;
}

.profile-display-name-form input {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.12);
  border-radius: 18px;
  min-height: 3rem;
  padding: 0.8rem 1rem;
}

.profile-avatar-mark {
  align-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(242, 193, 77, 0.35), transparent 44%),
    linear-gradient(135deg, rgba(23, 36, 72, 0.96), rgba(48, 74, 142, 0.92));
  border-radius: 24px;
  box-shadow: 0 16px 30px rgba(23, 36, 72, 0.18);
  color: #fff;
  display: inline-flex;
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1.45rem;
  height: 82px;
  justify-content: center;
  letter-spacing: 0.04em;
  min-width: 82px;
  padding: 0 1rem;
}

.profile-form {
  gap: 1rem;
}

.profile-favorite-inline {
  align-items: center;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.84), rgba(244, 232, 209, 0.78));
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 24px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  padding: 1rem;
}

.profile-favorite-inline-media {
  align-items: center;
  display: flex;
  justify-content: center;
}

.profile-favorite-inline-media img,
.profile-favorite-inline-media .favorite-team-thumb {
  background: rgba(19, 20, 26, 0.05);
  border-radius: 22px;
  height: 84px;
  object-fit: cover;
  width: 84px;
}

.profile-favorite-inline-copy {
  display: grid;
  gap: 0.22rem;
}

.profile-favorite-inline-copy h3 {
  margin: 0;
}

.profile-favorite-inline-actions {
  align-self: start;
}

.profile-favorite-picker {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.84), rgba(244, 232, 209, 0.78));
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 24px;
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
}

.profile-favorite-head {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.profile-current-favorite {
  align-items: end;
  display: grid;
  gap: 0.3rem;
  justify-items: end;
  text-align: right;
}

.profile-search-label {
  display: grid;
  gap: 0.35rem;
}

.favorite-team-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 420px;
  overflow: auto;
  padding-right: 0.2rem;
}

.favorite-team-option {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.1);
  border-radius: 22px;
  cursor: pointer;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 0.8rem 0.9rem;
  text-align: left;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.favorite-team-option:hover,
.favorite-team-option:focus-visible {
  border-color: rgba(23, 36, 72, 0.18);
  box-shadow: 0 14px 28px rgba(19, 20, 26, 0.08);
  transform: translateY(-1px);
}

.favorite-team-option.is-selected {
  background: linear-gradient(135deg, rgba(240, 255, 249, 0.98), rgba(229, 247, 241, 0.96));
  border-color: rgba(29, 143, 138, 0.36);
  box-shadow: 0 0 0 4px rgba(29, 143, 138, 0.1), 0 14px 28px rgba(29, 143, 138, 0.12);
}

.favorite-team-thumb {
  background: rgba(19, 20, 26, 0.05);
  border-radius: 18px;
  height: 58px;
  object-fit: cover;
  width: 58px;
}

.favorite-team-thumb.is-empty {
  background: linear-gradient(135deg, rgba(19, 20, 26, 0.08), rgba(19, 20, 26, 0.04));
  display: inline-block;
}

.favorite-team-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.favorite-team-copy strong,
.favorite-team-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-team-copy small {
  color: var(--ink-soft);
}

.favorite-mascot-modal-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: calc(min(88vh, 920px) - 2.5rem);
}

.favorite-mascot-modal-body > .eyebrow,
.favorite-mascot-modal-body > .muted {
  margin: 0;
}

.favorite-mascot-modal-body > h2 {
  margin: 0.05rem 0;
}

.matchup-suggestion-modal-body {
  gap: 0.9rem;
}

.matchup-suggestion-field {
  display: grid;
  gap: 0.45rem;
}

.matchup-suggestion-field > span {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matchup-suggestion-select-wrap {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 241, 224, 0.92)),
    radial-gradient(circle at top right, rgba(232, 91, 51, 0.12), transparent 42%);
  border: 1px solid rgba(19, 20, 26, 0.12);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
  position: relative;
}

.matchup-suggestion-select-wrap::after {
  color: rgba(23, 36, 72, 0.7);
  content: "⌄";
  font-size: 1rem;
  pointer-events: none;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.matchup-suggestion-select {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  min-height: 3.4rem;
  padding: 0.95rem 2.8rem 0.95rem 1rem;
  width: 100%;
}

.matchup-suggestion-select:focus,
.matchup-suggestion-textarea:focus {
  outline: none;
}

.matchup-suggestion-select-wrap:focus-within,
.matchup-suggestion-textarea:focus {
  border-color: rgba(232, 91, 51, 0.48);
  box-shadow: 0 0 0 4px rgba(232, 91, 51, 0.14);
}

.matchup-suggestion-textarea {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 241, 224, 0.92)),
    radial-gradient(circle at top right, rgba(232, 91, 51, 0.1), transparent 40%);
  border: 1px solid rgba(19, 20, 26, 0.12);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  min-height: 7rem;
  padding: 0.95rem 1rem;
  resize: vertical;
  width: 100%;
}

.matchup-suggestion-preview {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.matchup-suggestion-preview-slot {
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 20px;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  min-height: 11rem;
  padding: 1rem;
  text-align: center;
}

.matchup-suggestion-preview-slot strong,
.matchup-suggestion-preview-slot small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.matchup-suggestion-preview-slot.is-empty strong {
  color: var(--ink-soft);
}

.matchup-suggestion-versus {
  color: var(--ink-soft);
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.favorite-modal-current {
  justify-items: start;
  text-align: left;
}

.favorite-mascot-browser {
  display: grid;
  flex: 1 1 auto;
  gap: 0.55rem;
  min-height: 0;
}

.favorite-team-grid-modal {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: auto;
  padding-bottom: 0.15rem;
}

.favorite-team-modal-option {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 182px;
  padding: 0.9rem 0.85rem;
  text-align: center;
}

.favorite-team-modal-option .favorite-team-thumb {
  border-radius: 20px;
  height: 82px;
  width: 82px;
}

.favorite-team-modal-option .favorite-team-copy {
  justify-items: center;
}

.favorite-team-modal-option .favorite-team-copy strong,
.favorite-team-modal-option .favorite-team-copy small {
  white-space: normal;
}

.favorite-mascot-actions {
  backdrop-filter: none;
  background: transparent;
  border-top: 1px solid rgba(19, 20, 26, 0.08);
  bottom: 0;
  margin-top: 0.1rem;
  padding-top: 0.85rem;
  position: sticky;
  z-index: 2;
}

.purchase-history-list {
  display: grid;
  gap: 0.9rem;
}

.purchase-history-card {
  align-items: center;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 0.9rem 1rem;
}

.purchase-history-card-empty {
  align-items: start;
  grid-template-columns: 1fr;
}

.purchase-history-card-empty p {
  margin: 0;
}

.purchase-history-media img {
  background: rgba(19, 20, 26, 0.04);
  border-radius: 18px;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.purchase-history-copy {
  display: grid;
  gap: 0.35rem;
}

.purchase-history-copy h3 {
  margin: 0;
}

.purchase-history-topline {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.purchase-history-topline strong {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1rem;
}

.purchase-history-matchup {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  margin: 0;
}

.purchase-history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.purchase-history-meta span {
  background: rgba(19, 20, 26, 0.06);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.6rem;
}

.admin-console-shell {
  display: grid;
  gap: 1rem;
}

.admin-records-panel {
  display: grid;
  gap: 1rem;
}

.admin-console-head {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.admin-console-head h2 {
  margin: 0.14rem 0 0.35rem;
}

.admin-console-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.admin-group-tabs {
  display: flex;
  gap: 0.75rem;
  overflow: auto;
  padding-bottom: 0.15rem;
}

.admin-group-tab,
.admin-tool-tab,
.admin-quick-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 20, 26, 0.1);
  color: var(--ink);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.admin-group-tab {
  align-items: center;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  white-space: nowrap;
}

.admin-group-tab small {
  background: rgba(19, 20, 26, 0.06);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
}

.admin-group-tab.is-active,
.admin-tool-tab.is-active,
.admin-quick-card:hover,
.admin-quick-card:focus-visible {
  border-color: rgba(29, 143, 138, 0.34);
  box-shadow: 0 0 0 4px rgba(29, 143, 138, 0.1), 0 12px 24px rgba(19, 20, 26, 0.08);
}

.admin-group-tab.is-active {
  background: linear-gradient(135deg, rgba(240, 255, 249, 0.98), rgba(229, 247, 241, 0.96));
}

.admin-tool-tabs,
.admin-quick-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-tool-tab,
.admin-quick-card {
  align-items: start;
  border-radius: 22px;
  cursor: pointer;
  display: grid;
  gap: 0.28rem;
  padding: 1rem 1.05rem;
  text-align: left;
}

.admin-tool-tab.is-active {
  background: linear-gradient(135deg, rgba(23, 36, 72, 0.96), rgba(39, 73, 122, 0.95));
  border-color: rgba(23, 36, 72, 0.2);
  color: #fff;
}

.admin-tool-tab strong,
.admin-quick-card strong {
  font-size: 1rem;
}

.admin-tool-tab small,
.admin-quick-card span {
  color: var(--ink-soft);
  line-height: 1.45;
}

.admin-tool-tab.is-active small {
  color: rgba(255, 255, 255, 0.82);
}

.admin-overview-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-transaction-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-overview-card {
  display: grid;
  gap: 0.8rem;
}

.admin-overview-card h3 {
  margin: 0;
}

.admin-overview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-stat-grid {
  gap: 0.85rem;
}

.admin-stat-grid div {
  display: grid;
  gap: 0.18rem;
}

.admin-stat-grid strong {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1.2rem;
}

.admin-stat-grid span {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.admin-panel {
  display: grid;
  gap: 1rem;
}

.admin-panel-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(440px, 1.1fr) minmax(340px, 0.9fr);
}

.admin-records-toolbar {
  align-items: end;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.admin-records-filters {
  align-items: end;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 20px;
  padding: 0.9rem;
}

.admin-records-filter-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.1rem;
}

.admin-side-list {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.admin-side-head {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.admin-side-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-selection-list {
  display: grid;
  gap: 0.55rem;
  max-height: 540px;
  overflow: auto;
  padding-right: 0.2rem;
}

.admin-selection-item {
  align-items: start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.1);
  border-radius: 20px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 0.18rem;
  padding: 0.82rem 0.95rem;
  text-align: left;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.admin-selection-item:hover,
.admin-selection-item:focus-visible {
  border-color: rgba(23, 36, 72, 0.18);
  box-shadow: 0 14px 28px rgba(19, 20, 26, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.admin-selection-item.is-selected {
  background: linear-gradient(135deg, rgba(240, 255, 249, 0.98), rgba(229, 247, 241, 0.96));
  border-color: rgba(29, 143, 138, 0.36);
  box-shadow: 0 0 0 4px rgba(29, 143, 138, 0.1), 0 14px 28px rgba(29, 143, 138, 0.12);
}

.admin-selection-item strong,
.admin-selection-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-selection-item small {
  color: var(--ink-soft);
}

.admin-selection-table-shell {
  display: grid;
  gap: 0.55rem;
}

.admin-selection-table-wrap {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 20, 26, 0.1);
  border-radius: 22px;
  max-height: 560px;
  min-height: 240px;
  overflow: auto;
}

.admin-selection-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 100%;
  width: 100%;
}

.admin-selection-table thead th {
  background: rgba(244, 247, 251, 0.96);
  border-bottom: 1px solid rgba(19, 20, 26, 0.08);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.78rem 0.85rem;
  position: sticky;
  text-align: left;
  text-transform: uppercase;
  top: 0;
  z-index: 1;
}

.admin-sort-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  gap: 0.45rem;
  justify-content: space-between;
  padding: 0;
  width: 100%;
}

.admin-sort-button:hover,
.admin-sort-button:focus-visible {
  color: var(--ink);
}

.admin-sort-button.is-active {
  color: var(--ink);
}

.admin-sort-indicator {
  color: var(--ink-soft);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  min-width: 0.8rem;
  justify-content: center;
}

.admin-selection-row {
  outline: none;
}

.admin-selection-row td {
  border-bottom: 1px solid rgba(19, 20, 26, 0.06);
  padding: 0.82rem 0.85rem;
  vertical-align: middle;
}

.admin-selection-row:hover td,
.admin-selection-row:focus-visible td {
  background: rgba(23, 36, 72, 0.04);
}

.admin-selection-row.is-selected td {
  background: linear-gradient(135deg, rgba(240, 255, 249, 0.92), rgba(229, 247, 241, 0.9));
}

.admin-selection-cell {
  color: var(--ink-soft);
  font-size: 0.9rem;
  white-space: nowrap;
}

.admin-selection-actions-head,
.admin-selection-cell-actions {
  text-align: right;
}

.admin-selection-cell.is-primary {
  color: var(--ink);
  font-weight: 700;
}

.admin-row-action {
  min-height: 2.2rem;
  min-width: 5.25rem;
  padding: 0.42rem 0.9rem;
}

.admin-table-footer {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  justify-content: space-between;
}

.admin-table-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.admin-page-size {
  align-items: center;
  color: var(--ink-soft);
  display: inline-flex;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-page-size select {
  min-width: 5rem;
}

.admin-page-button {
  min-height: 2.3rem;
  padding: 0.45rem 0.95rem;
}

.admin-table-note {
  margin: 0;
}

.admin-empty-list {
  background: rgba(255, 255, 255, 0.76);
  border: 1px dashed rgba(19, 20, 26, 0.12);
  border-radius: 20px;
  color: var(--ink-soft);
  padding: 1rem;
}

.admin-editor-form {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 24px;
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
}

.admin-modal-form.admin-editor-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.admin-editor-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.admin-editor-head {
  align-items: start;
  display: flex;
  gap: 0.9rem;
  justify-content: space-between;
}

.admin-editor-head h3 {
  margin: 0.1rem 0 0;
}

.admin-form-grid {
  gap: 0.85rem;
}

.admin-form-grid > * {
  min-width: 0;
}

.admin-form-note {
  margin: -0.15rem 0 0;
}

.admin-form-error {
  color: #8f1f1f;
  font-weight: 700;
  margin: -0.2rem 0 0;
}

.admin-advanced-details {
  background: rgba(245, 247, 251, 0.72);
  border: 1px solid rgba(19, 20, 26, 0.1);
  border-radius: 18px;
  padding: 0.2rem 0.2rem 0.35rem;
}

.admin-advanced-details > summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 0.7rem 0.85rem;
  position: relative;
}

.admin-advanced-details > summary::-webkit-details-marker {
  display: none;
}

.admin-advanced-details > summary::after {
  color: rgba(23, 36, 72, 0.68);
  content: "⌄";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
}

.admin-advanced-details[open] > summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.admin-advanced-details-body {
  display: grid;
  gap: 0.85rem;
  padding: 0 0.65rem 0.55rem;
}

.admin-console-shell select,
.admin-panel select,
.admin-record-shell select {
  -webkit-appearance: none;
  appearance: none;
  background-color: rgba(255, 255, 255, 0.94);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(23, 36, 72, 0.78) 50%),
    linear-gradient(135deg, rgba(23, 36, 72, 0.78) 50%, transparent 50%);
  background-position:
    calc(100% - 1rem) calc(50% - 0.14rem),
    calc(100% - 0.72rem) calc(50% - 0.14rem);
  background-repeat: no-repeat;
  background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
  color: var(--ink);
  padding-right: 2.3rem;
  text-overflow: ellipsis;
  width: 100%;
}

.admin-console-shell select:focus-visible,
.admin-panel select:focus-visible,
.admin-record-shell select:focus-visible {
  border-color: rgba(33, 93, 171, 0.34);
  box-shadow: 0 0 0 3px rgba(33, 93, 171, 0.12);
  outline: none;
}

.admin-console-shell select:disabled,
.admin-panel select:disabled,
.admin-record-shell select:disabled {
  background-color: rgba(243, 246, 251, 0.92);
  color: rgba(23, 36, 72, 0.54);
  cursor: not-allowed;
}

.admin-matchup-team-dropdown {
  position: relative;
}

.admin-matchup-team-dropdown[open] {
  z-index: 20;
}

.admin-matchup-team-dropdown.is-disabled {
  opacity: 0.64;
}

.admin-matchup-team-dropdown > summary {
  list-style: none;
}

.admin-matchup-team-dropdown > summary::-webkit-details-marker {
  display: none;
}

.admin-matchup-team-trigger {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(19, 20, 26, 0.12);
  border-radius: 18px;
  cursor: pointer;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 3.45rem;
  padding: 0.65rem 2.55rem 0.65rem 0.8rem;
  position: relative;
}

.admin-matchup-team-trigger::after {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(23, 36, 72, 0.78) 50%),
    linear-gradient(135deg, rgba(23, 36, 72, 0.78) 50%, transparent 50%);
  background-position:
    calc(100% - 1rem) calc(50% - 0.14rem),
    calc(100% - 0.72rem) calc(50% - 0.14rem);
  background-repeat: no-repeat;
  background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.admin-matchup-team-dropdown[open] > .admin-matchup-team-trigger {
  border-color: rgba(33, 93, 171, 0.34);
  box-shadow: 0 0 0 3px rgba(33, 93, 171, 0.12);
}

.admin-matchup-team-dropdown.is-disabled > .admin-matchup-team-trigger {
  cursor: not-allowed;
  pointer-events: none;
}

.admin-matchup-team-select-media {
  align-items: center;
  display: inline-flex;
  height: 2.05rem;
  justify-content: center;
  width: 2.05rem;
}

.admin-matchup-team-trigger-copy,
.admin-matchup-team-option-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.admin-matchup-team-trigger-copy strong,
.admin-matchup-team-trigger-copy small,
.admin-matchup-team-option-copy strong,
.admin-matchup-team-option-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-matchup-team-trigger-copy small,
.admin-matchup-team-option-copy small {
  color: rgba(23, 36, 72, 0.62);
}

.admin-matchup-team-select-avatar {
  background: rgba(19, 20, 26, 0.05);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 999px;
  height: 2.05rem;
  object-fit: cover;
  width: 2.05rem;
}

.admin-matchup-team-select-avatar.is-empty {
  background: linear-gradient(135deg, rgba(19, 20, 26, 0.08), rgba(19, 20, 26, 0.03));
  display: inline-block;
}

.admin-matchup-team-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(19, 20, 26, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(19, 20, 26, 0.16);
  display: grid;
  gap: 0.35rem;
  left: 0;
  margin-top: 0.45rem;
  max-height: 17rem;
  min-width: 0;
  overflow: auto;
  padding: 0.45rem;
  position: absolute;
  right: 0;
}

.admin-matchup-team-search {
  display: block;
  margin-bottom: 0.15rem;
}

.admin-matchup-team-search-input {
  background: rgba(245, 247, 251, 0.96);
  border: 1px solid rgba(19, 20, 26, 0.1);
  border-radius: 14px;
  min-height: 2.7rem;
  padding: 0.6rem 0.85rem;
  width: 100%;
}

.admin-matchup-team-search-input:focus-visible {
  border-color: rgba(33, 93, 171, 0.34);
  box-shadow: 0 0 0 3px rgba(33, 93, 171, 0.12);
  outline: none;
}

.admin-matchup-team-option {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 3.1rem;
  padding: 0.55rem 0.65rem;
  text-align: left;
  width: 100%;
}

.admin-matchup-team-option:hover,
.admin-matchup-team-option:focus-visible {
  background: rgba(33, 93, 171, 0.07);
  border-color: rgba(33, 93, 171, 0.18);
  outline: none;
}

.admin-matchup-team-option.is-selected {
  background: rgba(29, 143, 138, 0.08);
  border-color: rgba(29, 143, 138, 0.2);
}

.admin-matchup-team-option:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.stacked-form label.admin-toggle-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.1);
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.7rem;
  min-height: 3rem;
  min-width: 0;
  padding: 0.72rem 0.85rem;
}

.stacked-form label.admin-toggle-row > span {
  flex: 1 1 auto;
  line-height: 1.35;
  min-width: 0;
}

.stacked-form label.admin-toggle-row input {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(19, 20, 26, 0.18);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 999px;
  cursor: pointer;
  flex: 0 0 auto;
  height: 1.55rem;
  margin: 0;
  position: relative;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease;
  width: 2.8rem;
}

.stacked-form label.admin-toggle-row input::before {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(19, 20, 26, 0.18);
  content: '';
  height: 1.17rem;
  left: 0.12rem;
  position: absolute;
  top: 0.12rem;
  transition: transform 140ms ease;
  width: 1.17rem;
}

.stacked-form label.admin-toggle-row input:checked {
  background: linear-gradient(90deg, rgba(29, 143, 138, 0.9), rgba(33, 93, 171, 0.92));
  border-color: rgba(33, 93, 171, 0.26);
}

.stacked-form label.admin-toggle-row input:checked::before {
  transform: translateX(1.22rem);
}

.stacked-form label.admin-toggle-row input:focus-visible {
  box-shadow: 0 0 0 3px rgba(33, 93, 171, 0.18);
  outline: none;
}

.stacked-form label.admin-toggle-row input:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.admin-check-stack,
.admin-permission-grid {
  display: grid;
  gap: 0.55rem;
}

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

.admin-permission-module {
  display: grid;
  gap: 0.5rem;
}

.admin-permission-module > .eyebrow {
  margin: 0;
}

.admin-check {
  align-items: start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(19, 20, 26, 0.1);
  border-radius: 18px;
  cursor: pointer;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 0.72rem 0.8rem;
}

.admin-check.is-selected {
  background: rgba(240, 255, 249, 0.98);
  border-color: rgba(29, 143, 138, 0.3);
}

.admin-check input {
  margin: 0.18rem 0 0;
}

.admin-check span {
  display: grid;
  gap: 0.12rem;
}

.admin-check small {
  color: var(--ink-soft);
}

.admin-analytics-panel {
  gap: 1.15rem;
}

.admin-analytics-controls {
  align-items: end;
}

.admin-analytics-window {
  color: var(--ink-soft);
  display: grid;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 0.35rem;
}

.admin-analytics-window select {
  min-width: 140px;
}

.admin-analytics-summary-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-analytics-summary-card {
  display: grid;
  gap: 0.45rem;
}

.admin-analytics-summary-card strong {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}

.admin-analytics-summary-card span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.admin-analytics-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-analytics-card {
  display: grid;
  gap: 0.9rem;
  min-height: 0;
}

.admin-analytics-card-head {
  align-items: start;
  display: flex;
  justify-content: space-between;
}

.admin-analytics-card h3 {
  margin: 0.1rem 0 0;
}

.admin-analytics-list {
  display: grid;
  gap: 0.6rem;
  max-height: 360px;
  overflow: auto;
  padding-right: 0.2rem;
}

.admin-analytics-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(19, 20, 26, 0.09);
  border-radius: 18px;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.82rem 0.9rem;
}

.admin-analytics-row strong,
.admin-analytics-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-analytics-row small {
  color: var(--ink-soft);
  margin-top: 0.18rem;
}

.admin-analytics-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.admin-analytics-row-meta span {
  background: rgba(19, 20, 26, 0.06);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
}

.admin-analytics-feed {
  max-height: 420px;
}

.admin-record-frame {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
}

.admin-record-head {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-right: 3.5rem;
}

.admin-record-head h2 {
  margin: 0.15rem 0 0.4rem;
}

.admin-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.admin-record-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding-bottom: 0.2rem;
  padding-right: 0.15rem;
}

.admin-matchup-suggestion-preview {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin-bottom: 1rem;
}

.admin-matchup-suggestion-team {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 24px;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  padding: 1rem;
  text-align: center;
}

.admin-matchup-suggestion-team.is-empty {
  color: var(--ink-soft);
}

.admin-matchup-suggestion-team .favorite-team-thumb {
  height: 4.75rem;
  width: 4.75rem;
}

.admin-matchup-suggestion-team strong,
.admin-published-matchup-card h3,
.admin-matchup-suggestion-notes h3 {
  margin: 0;
}

.admin-matchup-suggestion-team small,
.admin-matchup-suggestion-meta span,
.admin-note-card small {
  color: var(--ink-soft);
}

.admin-matchup-suggestion-meta {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 1rem;
}

.admin-matchup-suggestion-meta > div,
.admin-published-matchup-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 22px;
  display: grid;
  gap: 0.22rem;
  padding: 0.95rem 1rem;
}

.admin-matchup-suggestion-meta strong {
  font-family: "Arial Black", "Franklin Gothic Heavy", "Impact", sans-serif;
  font-size: 1.15rem;
}

.admin-matchup-suggestion-notes {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.admin-note-list {
  display: grid;
  gap: 0.7rem;
}

.admin-note-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 239, 224, 0.92));
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 20px;
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
}

.admin-note-card p {
  margin: 0;
}

.result-hero {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.result-hero img,
.profile-banner img {
  border-radius: 28px;
  width: 100%;
}

.video-stage {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(23, 36, 72, 0.92), rgba(232, 91, 51, 0.88));
  border-radius: 28px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.video-stage video,
.video-stage img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.empty-state {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  justify-items: start;
  min-height: 280px;
  padding: 1.5rem;
}

.toast-region {
  bottom: 1rem;
  display: grid;
  gap: 0.75rem;
  position: fixed;
  right: 1rem;
  z-index: 10;
}

.toast {
  background: rgba(19, 20, 26, 0.94);
  border-radius: 18px;
  color: #fff;
  max-width: 320px;
  padding: 0.85rem 1rem;
}

@media (max-width: 1080px) {
  .hero,
  .bracket-stage,
  .season-run-layout,
  .dashboard-layout,
  .profile-layout,
  .result-layout,
  .auth-shell,
  .admin-panel-grid,
  .admin-overview-grid,
  .admin-console-head {
    grid-template-columns: 1fr;
  }

  .admin-console-head {
    display: grid;
  }

  .bracket-toolbar,
  .war-room-header,
  .season-run-header,
  .season-current-slate-head,
  .season-slate-card-head {
    align-items: start;
    flex-direction: column;
  }

  .war-room {
    position: static;
  }

  .bracket-board {
    height: min(68vh, 760px);
  }

  .replay-head {
    gap: 0.85rem;
  }

  .grid-three,
  .grid-four,
  .grid-two,
  .power-grid,
  .versus-grid,
  .admin-tool-tabs,
  .admin-quick-grid,
  .admin-analytics-grid,
  .admin-analytics-summary-grid {
    grid-template-columns: 1fr;
  }

  .home-replay-grid,
  .replay-index-grid,
  .season-history-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .replay-filter-actions {
    justify-content: flex-start;
  }

  .replay-matchup-hero {
    grid-template-columns: 1fr;
  }

  .replay-versus-mark {
    justify-self: start;
  }

  .power-grid.power-grid-scroll {
    grid-auto-columns: minmax(220px, 220px);
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .hero-matchup-footer {
    grid-template-columns: 1fr;
  }

  .hero-matchup-actions {
    justify-content: flex-start;
  }

  .profile-favorite-head {
    align-items: start;
    flex-direction: column;
  }

  .profile-current-favorite {
    justify-items: start;
    text-align: left;
  }

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

  .admin-permission-grid {
    grid-template-columns: 1fr;
  }

  .admin-console-meta {
    justify-content: flex-start;
  }

  .admin-records-toolbar,
  .admin-record-head {
    grid-template-columns: 1fr;
  }

  .admin-record-head {
    display: grid;
  }

  .admin-record-meta {
    justify-content: flex-start;
  }

  .admin-table-footer {
    align-items: start;
    flex-direction: column;
  }

  .admin-table-pagination {
    justify-content: flex-start;
  }

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

  .admin-analytics-row-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding-inline: 0.75rem;
  }

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

  .profile-hero {
    align-items: start;
    flex-direction: column;
  }

  .purchase-history-card {
    grid-template-columns: 1fr;
  }

  .favorite-team-grid {
    grid-template-columns: 1fr;
  }

  .profile-token-wallet {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .profile-promo-card {
    grid-template-columns: 1fr;
  }

  .notice-banner {
    align-items: start;
    flex-direction: column;
  }

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

  .token-option-grid {
    grid-template-columns: 1fr;
  }

  .powerup-modal-topline {
    flex-direction: column;
  }

  .powerup-shell {
    max-height: min(92vh, 920px);
    padding: 1rem;
  }

  .powerup-modal-frame {
    gap: 0.6rem;
  }

  .profile-favorite-inline {
    grid-template-columns: 1fr;
    justify-items: start;
  }

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

  .home-matchup-preview-teams,
  .daily-reward-shell,
  .hero-matchup-versus,
  .matchup-suggestion-preview {
    grid-template-columns: 1fr;
  }

  .home-matchup-preview-versus,
  .hero-matchup-center,
  .matchup-suggestion-versus {
    justify-self: center;
  }

  .home-power-card {
    gap: 0.75rem;
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 118px;
    padding: 0.78rem;
  }

  .home-power-card-media {
    min-height: 82px;
  }

  .home-power-card-media img {
    height: 74px;
  }

  .home-replay-grid,
  .replay-index-grid,
  .replay-filter-bar,
  .season-history-list {
    grid-template-columns: 1fr;
  }

  .daily-reward-claim-actions {
    flex-direction: column;
  }

  .replay-summary-actions {
    align-items: start;
    flex-direction: column;
  }

  .season-slate-card-footer {
    align-items: start;
    flex-direction: column;
  }

  .home-power-card-top {
    gap: 0.65rem;
  }

  .profile-avatar-mark {
    min-width: 72px;
    width: 72px;
  }

  .nav-actions {
    flex-wrap: wrap;
  }

  .auth-user-meta {
    width: 100%;
  }

  .admin-group-tab {
    flex: 1 0 auto;
  }

  .admin-selection-list {
    max-height: 320px;
  }

  .admin-selection-table-wrap {
    max-height: 380px;
  }

  .admin-selection-cell-actions {
    min-width: 7rem;
  }

  .admin-row-action {
    width: 100%;
  }

  .brand-logo {
    height: 3rem;
  }

  .power-grid.power-grid-scroll {
    grid-auto-columns: minmax(196px, 196px);
    grid-template-columns: none;
    grid-template-rows: none;
  }

  .power-select-card {
    min-height: 208px;
  }

  .powerup-summary-actions .inline-actions {
    gap: 0.7rem;
    justify-content: stretch;
  }

  .powerup-summary-actions .button {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: 2.9rem;
  }

  .hero-matchup-stage {
    padding: 1.05rem;
  }

  .hero-matchup-head h2 {
    font-size: 2.1rem;
  }

  .hero-matchup-avatar-wrap {
    height: 156px;
  }

  .bracket-title,
  .matchup-headline {
    font-size: 2.2rem;
  }

  .bracket-board {
    height: 58vh;
    margin-inline: -0.2rem;
  }

  .matchup-side-actions {
    flex-direction: column;
  }

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

  .team-option-stage {
    height: 248px;
  }

  .picker-vs {
    justify-self: center;
  }

  .team-option-stats {
    align-items: stretch;
    flex-direction: column;
  }
}
