: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 {
  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;
}

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

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: #fff;
  display: inline-flex;
  font-family: "Arial Black", "Impact", fantasy;
  font-size: 1.2rem;
  height: 3rem;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 3rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.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,
.eyebrow {
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.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-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 {
  margin: 0 auto;
  max-width: 1280px;
}

.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 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.94;
  margin: 0.3rem 0 0.8rem;
  text-transform: uppercase;
}

.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;
}

.hero-stats {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(19, 20, 26, 0.08);
  border-radius: 20px;
  padding: 0.9rem 1rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

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

.collage-card {
  aspect-ratio: 0.9;
  background: linear-gradient(160deg, rgba(23, 36, 72, 0.1), rgba(232, 91, 51, 0.08));
  border: 1px solid rgba(19, 20, 26, 0.06);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.collage-card:nth-child(2),
.collage-card:nth-child(5) {
  transform: translateY(28px);
}

.collage-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

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

.grid-three {
  grid-template-columns: repeat(3, 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;
}

.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;
}

.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;
}

.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;
}

.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 auto;
  height: 164px;
  left: 9px;
  overflow: hidden;
  padding: 0.72rem 0.78rem 0.78rem;
  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: linear-gradient(180deg, rgba(245, 255, 251, 0.96), rgba(232, 247, 244, 0.95));
}

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

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

.node-game-label {
  color: var(--ink-soft);
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.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.45rem;
  grid-template-columns: 36px minmax(0, 1fr);
  min-height: 42px;
  padding: 0.44rem 0.56rem;
}

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

.node-team-copy span {
  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-winner {
  background: linear-gradient(135deg, rgba(242, 193, 77, 0.26), rgba(232, 91, 51, 0.16));
  border-color: rgba(232, 91, 51, 0.18);
}

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

.node-avatar,
.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-link {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.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-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;
  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 {
  border-color: rgba(232, 91, 51, 0.52);
  box-shadow: 0 0 0 4px rgba(232, 91, 51, 0.12);
}

.team-option-pick {
  background: #fff;
  border: 0;
  cursor: pointer;
  height: 304px;
  padding: 0;
  position: relative;
  isolation: isolate;
  text-align: left;
  width: 100%;
}

.team-option-pick 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;
  left: 0.85rem;
  min-width: 4.2rem;
  padding: 0.5rem 0.7rem 0.45rem;
  position: absolute;
  top: 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, var(--orange), var(--orange-dark));
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(232, 91, 51, 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-cta {
  bottom: 0.9rem;
  display: flex;
  justify-content: center;
  left: 0.9rem;
  pointer-events: none;
  position: absolute;
  right: 0.9rem;
}

.team-option-cta span {
  backdrop-filter: blur(12px);
  background: rgba(19, 20, 26, 0.76);
  border-radius: 999px;
  color: #fff;
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.05rem;
  text-transform: uppercase;
}

.team-option.is-picked .team-option-cta span {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.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-stats {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.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;
}

.pick-legend {
  margin: 0;
}

.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%;
}

.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 {
  padding: 1.25rem;
}

.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;
}

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

.stacked-form input,
.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.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.purchase-card img {
  border-radius: 20px;
  height: 120px;
  object-fit: cover;
  width: 100%;
}

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

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

.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,
  .dashboard-layout,
  .profile-layout,
  .result-layout,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .bracket-toolbar,
  .war-room-header {
    align-items: start;
    flex-direction: column;
  }

  .war-room {
    position: static;
  }

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

  .grid-three,
  .grid-two,
  .power-grid,
  .versus-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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