@import "tailwindcss";
@import "tw-animate-css";

@theme {
  --font-sans: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --color-background: #f3efe6;
  --color-foreground: #152033;
  --color-card: #fffcf6;
  --color-card-foreground: #152033;
  --color-popover: #fffcf6;
  --color-popover-foreground: #152033;
  --color-primary: #7a5814;
  --color-primary-foreground: #fffaf0;
  --color-secondary: #e8e1d2;
  --color-secondary-foreground: #152033;
  --color-muted: #ebe4d6;
  --color-muted-foreground: #2a3646;
  --color-accent: #efe6d4;
  --color-accent-foreground: #152033;
  --color-destructive: #b4233a;
  --color-destructive-foreground: #fff5f7;
  --color-border: #d9d0c0;
  --color-input: #d9d0c0;
  --color-ring: #7a5814;
  --color-sidebar: #121c2c;
  --color-sidebar-foreground: #f3efe6;
  --color-sidebar-muted: #d5deea;
  --color-sidebar-accent: #1b2838;
  --color-sidebar-border: #243246;
  --color-success: #1f7a4d;
  --color-success-foreground: #ecfdf3;
  --color-warning: #7a5814;
  --color-warning-foreground: #fffaf0;
  --color-info: #2f5f86;
  --color-gold: #7a5814;
  --color-gold-foreground: #fffaf0;
  --color-gold-bright: #c9a227;
  --color-gold-ink: #7a5814;
  --color-live: #1f7a4d;
  --color-navy: #121c2c;
  --color-paper: #f3efe6;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius: 10px;

  --shadow-border: 0 0 0 1px rgb(21 32 51 / 0.06), 0 10px 28px -18px rgb(21 32 51 / 0.28);
  --shadow-border-hover: 0 0 0 1px rgb(154 116 36 / 0.28), 0 12px 32px -16px rgb(21 32 51 / 0.32);
}

@layer base {
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color-scheme: light;
  }
  * {
    border-color: var(--color-border);
  }
  html,
  body,
  #app {
    min-height: 100%;
    background: var(--color-background);
    color: var(--color-foreground);
  }
  body {
    font-family: var(--font-sans);
    line-height: 1.55;
    color: var(--color-foreground);
    background-color: var(--color-background);
    background-image:
      radial-gradient(900px 420px at 100% -10%, rgb(154 116 36 / 0.1), transparent 55%),
      radial-gradient(700px 380px at -5% 110%, rgb(18 28 44 / 0.06), transparent 50%),
      repeating-linear-gradient(0deg, transparent, transparent 31px, rgb(21 32 51 / 0.018) 32px);
  }
  table thead {
    background: var(--color-gold-ink);
    color: var(--color-gold-foreground);
  }
  table th {
    font-weight: 700;
    color: var(--color-gold-foreground);
    padding: 0.75rem 0.85rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
  }
  table td {
    color: var(--color-foreground);
  }
  h1,
  h2,
  h3 {
    text-wrap: balance;
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-weight: 600;
  }
  p {
    text-wrap: pretty;
  }
  button:not(:disabled),
  [role="button"]:not(:disabled) {
    cursor: pointer;
  }
  :focus-visible {
    outline: 2px solid var(--color-ring);
    outline-offset: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.font-display {
  font-family: var(--font-display);
}

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

.stagger-in > * {
  animation: rise-in 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stagger-in > *:nth-child(1) {
  animation-delay: 0ms;
}
.stagger-in > *:nth-child(2) {
  animation-delay: 40ms;
}
.stagger-in > *:nth-child(3) {
  animation-delay: 80ms;
}
.stagger-in > *:nth-child(4) {
  animation-delay: 120ms;
}
.stagger-in > *:nth-child(5) {
  animation-delay: 160ms;
}
.stagger-in > *:nth-child(6) {
  animation-delay: 200ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pipeline-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.gold-rule {
  background: linear-gradient(90deg, transparent, rgb(154 116 36 / 0.55), transparent);
  height: 1px;
}

.progress-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--color-secondary);
  overflow: hidden;
}
.progress-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary), #c4a056);
}

.club-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-border);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
}
.club-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-navy));
}
.club-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgb(154 116 36 / 0.55), transparent 70%);
}

.stat-tile {
  position: relative;
  overflow: hidden;
}
.stat-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--color-primary);
  opacity: 0.7;
}

/* Gold fill: ~6.2:1 cream-on-ink (WCAG AA). Bright gold is for navy surfaces only. */
.gold-fill {
  background: var(--color-gold-ink);
  color: var(--color-gold-foreground);
  border: 1px solid rgb(255 250 240 / 0.22);
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgb(255 250 240 / 0.16),
    0 10px 22px -16px rgb(90 64 12 / 0.75);
}
.gold-fill:hover {
  background: #65480f;
}
.gold-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--color-gold-ink);
  color: var(--color-gold-foreground);
  border: 1px solid rgb(255 250 240 / 0.22);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  box-shadow:
    inset 0 1px 0 rgb(255 250 240 / 0.16),
    0 8px 18px -14px rgb(90 64 12 / 0.7);
}
.gold-pill:hover {
  background: #65480f;
  color: var(--color-gold-foreground);
}
.gold-pill.is-active {
  box-shadow:
    inset 0 1px 0 rgb(255 250 240 / 0.16),
    0 0 0 2px var(--color-navy);
}

.preview-bar,
[data-on-navy] {
  --color-primary: #c9a227;
  --color-primary-foreground: #121c2c;
}

.preview-bar {
  background:
    linear-gradient(90deg, rgb(154 116 36 / 0.18), transparent 18%),
    var(--color-navy);
  box-shadow: inset 0 -1px 0 rgb(154 116 36 / 0.45);
}

.cfl-logo {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.cfl-logo-header {
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgb(154 116 36 / 0.45);
}

.cfl-logo-public {
  height: 4rem;
  width: 4rem;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgb(154 116 36 / 0.5);
}

.cfl-logo-sidebar {
  width: 100%;
  max-width: 11.5rem;
  height: auto;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgb(154 116 36 / 0.55);
}

.cfl-logo-hero {
  height: 8.5rem;
  width: 8.5rem;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgb(154 116 36 / 0.55);
}

.cfl-logo-footer {
  height: 4.5rem;
  width: 4.5rem;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgb(154 116 36 / 0.4);
}

.public-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 22rem;
  border-radius: var(--radius-xl);
  background: var(--color-navy);
  color: var(--color-sidebar-foreground);
  box-shadow: var(--shadow-border);
}
.public-hero > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.42;
}
.public-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgb(18 28 44 / 0.92) 0%, rgb(18 28 44 / 0.55) 55%, rgb(18 28 44 / 0.2) 100%);
}
.public-hero-copy {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.25rem;
}
@media (min-width: 640px) {
  .public-hero-copy {
    padding: 2.75rem 2.25rem;
  }
}

/* —— Stadium hall / tunnel / arena —— */
.stadium-root {
  background: var(--color-navy);
  color: var(--color-sidebar-foreground);
  min-height: calc(100dvh - 7.5rem);
}

.stadium-crossover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 18rem;
  border-radius: var(--radius-xl);
  background: var(--color-navy);
  color: var(--color-sidebar-foreground);
  box-shadow: var(--shadow-border);
}
.stadium-crossover > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}
.stadium-crossover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgb(18 28 44 / 0.92) 0%, rgb(18 28 44 / 0.5) 58%, rgb(18 28 44 / 0.18) 100%);
}
.stadium-crossover-copy {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.25rem;
}
@media (min-width: 640px) {
  .stadium-crossover-copy {
    padding: 2.25rem 2rem;
  }
}

.stadium-hall {
  position: relative;
  overflow: hidden;
  background: #070b14;
}
.stadium-hall-frame {
  position: relative;
  width: min(46rem, 100%);
  max-height: min(68dvh, 36rem);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}
.stadium-hall-frame img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}
.stadium-hall-picks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(46rem, 100%);
  margin: 0.85rem auto 0;
  padding: 0 0.75rem 1rem;
}
@media (min-width: 640px) {
  .stadium-hall-picks {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding-inline: 0;
  }
}
.stadium-hall-pick {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgb(212 168 75 / 0.55);
  background: rgb(10 16 28 / 0.88);
  color: #fffaf0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.4rem 0.5rem;
}
.stadium-hall-pick:hover,
.stadium-hall-pick:focus-visible {
  background: rgb(18 28 44 / 0.95);
  border-color: var(--color-gold);
  box-shadow: 0 0 0 1px rgb(154 116 36 / 0.7), 0 8px 20px rgb(154 116 36 / 0.28);
}

.stadium-tunnel {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - 7.5rem);
  overflow: hidden;
  background: #05080f;
  perspective: 1100px;
}
.stadium-tunnel video,
.stadium-tunnel .stadium-tunnel-still {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform-origin: 50% 58%;
  animation: tunnel-dolly 8s ease-out forwards;
}
.stadium-tunnel-ribs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 50% 58%, transparent 32%, rgb(5 8 15 / 0.55) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0 18%,
      rgb(0 0 0 / 0.22) 19.5%,
      rgb(0 0 0 / 0.38) 20.5%,
      transparent 22%
    );
  animation: tunnel-ribs 8s linear forwards;
  mix-blend-mode: multiply;
}
@keyframes tunnel-dolly {
  from {
    transform: scale(1.04) translateY(3%);
    filter: brightness(0.72);
  }
  to {
    transform: scale(1.22) translateY(-2%);
    filter: brightness(1.05);
  }
}
@keyframes tunnel-ribs {
  from {
    opacity: 0.95;
    transform: scale(1);
  }
  to {
    opacity: 0.2;
    transform: scale(1.35);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stadium-tunnel video,
  .stadium-tunnel .stadium-tunnel-still,
  .stadium-tunnel-ribs {
    animation: none;
  }
}
.stadium-tunnel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgb(5 8 15 / 0.35) 0%, rgb(5 8 15 / 0.15) 40%, rgb(5 8 15 / 0.72) 100%),
    radial-gradient(80% 50% at 50% 80%, rgb(154 116 36 / 0.18), transparent 70%);
}
.stadium-tunnel-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: calc(100dvh - 7.5rem);
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem 2.5rem;
}
@media (min-width: 640px) {
  .stadium-tunnel-copy {
    padding: 2rem 2.5rem 3rem;
  }
}

.stadium-arena {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 22rem;
  background: #070b14;
}
.stadium-arena > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.stadium-arena::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgb(7 11 20 / 0.55) 0%, rgb(7 11 20 / 0.12) 38%, rgb(7 11 20 / 0.78) 100%),
    linear-gradient(90deg, rgb(7 11 20 / 0.45), transparent 30%, transparent 70%, rgb(7 11 20 / 0.45));
}
.stadium-arena-copy {
  position: relative;
  z-index: 3;
  padding: 1rem 1.1rem 1.15rem;
}
@media (min-width: 640px) {
  .stadium-arena-copy {
    padding: 1.5rem 1.75rem;
  }
}

.scorebug {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  border: 1px solid rgb(154 116 36 / 0.45);
  border-radius: var(--radius-lg);
  background: rgb(10 16 28 / 0.82);
  box-shadow: 0 18px 40px -24px rgb(0 0 0 / 0.7), inset 0 1px 0 rgb(154 116 36 / 0.2);
  padding: 0.85rem 1rem;
  backdrop-filter: blur(10px);
}
.scorebug-team {
  min-width: 0;
}
.scorebug-team p:first-child {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sidebar-muted);
}
.scorebug-num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fffaf0;
}
.scorebug-mid {
  text-align: center;
  padding-inline: 0.5rem;
}

.cfl-field-wrap {
  perspective: 920px;
  padding: 0.35rem 0.25rem 0.6rem;
}
.cfl-field {
  position: relative;
  height: 8.25rem;
  transform: rotateX(56deg) scale(1.04);
  transform-origin: center 80%;
  border: 3px solid #f3efe6;
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      90deg,
      #1f7a4d 0,
      #1f7a4d calc(10% - 1px),
      rgb(243 239 230 / 0.55) calc(10% - 1px),
      rgb(243 239 230 / 0.55) 10%
    ),
    linear-gradient(180deg, #176a42, #1f7a4d 40%, #145a38);
  box-shadow: 0 22px 40px -18px rgb(0 0 0 / 0.55);
  overflow: hidden;
}
.cfl-field-yard {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgb(243 239 230 / 0.78);
  pointer-events: none;
}
.cfl-field-mid {
  position: absolute;
  inset: 18% 42% 18% 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgb(243 239 230 / 0.35);
  border-radius: 4px;
  color: rgb(243 239 230 / 0.9);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}
.cfl-ball {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: -0.55rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f3efe6, var(--color-gold) 55%, #6b4e12);
  box-shadow: 0 0 0 2px #121c2c, 0 0 16px rgb(154 116 36 / 0.8);
  transition: left 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cfl-ball-home {
  top: 32%;
}
.cfl-ball-away {
  top: 64%;
}
.cfl-fd {
  position: absolute;
  top: 8%;
  bottom: 8%;
  width: 2px;
  background: #e8c547;
  box-shadow: 0 0 8px #e8c547;
  transition: left 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stadium-chip {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px solid rgb(154 116 36 / 0.7);
  background: rgb(18 28 44 / 0.86);
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.35);
}
.stadium-chip-away {
  border-color: rgb(139 155 176 / 0.7);
}

.stadium-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgb(154 116 36 / 0.35);
  background:
    linear-gradient(90deg, rgb(18 28 44 / 0.96), rgb(18 28 44 / 0.88)),
    var(--color-navy);
  color: var(--color-sidebar-foreground);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-border);
}
.stadium-strip:hover {
  border-color: rgb(154 116 36 / 0.7);
}

.play-log li + li {
  border-top: 1px solid rgb(243 239 230 / 0.08);
}

.stadium-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgb(154 116 36 / 0.4);
  background: rgb(18 28 44 / 0.82);
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sidebar-foreground);
}
.stadium-live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--color-live);
  box-shadow: 0 0 0 3px rgb(31 122 77 / 0.25);
}
.stadium-live-badge.is-poll .stadium-live-dot {
  background: var(--color-warning);
}
.stadium-live-badge.is-offline .stadium-live-dot {
  background: var(--color-sidebar-muted);
}

.deal-watermark {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(21 32 51 / 0.08);
  transform: rotate(-12deg);
}

.stadium-game {
  position: relative;
  isolation: isolate;
  height: calc(100dvh - 7.75rem);
  min-height: 28rem;
  overflow: hidden;
  background: #070b14;
  touch-action: none;
}
.stadium-game canvas {
  display: block;
  height: 100%;
  width: 100%;
}
.stadium-game-fallback,
.stadium-game-start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--color-sidebar-foreground);
  background: rgb(7 11 20 / 0.55);
}
.stadium-game-start {
  cursor: pointer;
  border: 0;
  width: 100%;
}
.stadium-game-hud {
  pointer-events: none;
  position: absolute;
  inset: 0.75rem 0.75rem auto;
  z-index: 5;
  display: grid;
  gap: 0.5rem;
}
.stadium-game-top {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.stadium-game-kicker {
  margin-right: auto;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sidebar-muted);
}
.stadium-game-exit {
  pointer-events: auto !important;
  z-index: 40;
  min-height: 2.5rem;
  font-weight: 700;
}
.stadium-game-score {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: baseline;
  max-width: 36rem;
  border-radius: var(--radius-md);
  border: 1px solid rgb(154 116 36 / 0.4);
  background: rgb(18 28 44 / 0.78);
  color: var(--color-sidebar-foreground);
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
}
.stadium-game-score strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
}
.stadium-game-hint {
  position: absolute;
  left: 50%;
  bottom: 5.5rem;
  z-index: 5;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgb(18 28 44 / 0.82);
  color: var(--color-sidebar-muted);
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
}
.seat-tray {
  pointer-events: none;
  position: absolute;
  inset: 4.35rem 0.55rem 0.55rem;
  z-index: 7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
  max-height: none;
  overflow: visible;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--color-sidebar-foreground);
}
.seat-dashboards {
  display: grid;
  grid-template-columns: minmax(10.5rem, 17.5rem) 1fr minmax(10.5rem, 17.5rem);
  gap: 0.55rem;
  align-items: start;
  pointer-events: none;
}
.seat-dashboards.solo {
  grid-template-columns: minmax(11rem, 19rem) 1fr;
}
@media (max-width: 719px) {
  .seat-dashboards,
  .seat-dashboards.solo {
    grid-template-columns: 1fr 1fr;
  }
  .seat-field-gap {
    display: none;
  }
}
.seat-dash {
  pointer-events: auto;
  border-radius: 0.75rem;
  border: 1px solid rgb(154 116 36 / 0.5);
  background: rgb(10 16 28 / 0.9);
  padding: 0.7rem 0.8rem;
  max-height: min(38vh, 16.5rem);
  overflow: auto;
  backdrop-filter: blur(10px);
}
.seat-dash h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.2;
}
.seat-dash > p:first-child {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.seat-dash-cat {
  font-size: 0.72rem;
  color: var(--color-sidebar-muted);
}
.seat-dash-blurb {
  margin-top: 0.25rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--color-sidebar-muted);
}
.seat-dash-score {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--color-primary);
}
.seat-dock {
  pointer-events: auto;
  align-self: center;
  width: min(36rem, 100%);
  border-radius: 0.8rem;
  border: 1px solid rgb(154 116 36 / 0.35);
  background: rgb(10 16 28 / 0.88);
  padding: 0.45rem 0.6rem 0.55rem;
  backdrop-filter: blur(10px);
}
.seat-wrap-note {
  font-size: 0.72rem;
  color: var(--color-sidebar-muted);
}
.seat-plays {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  color: var(--color-sidebar-muted);
}
.seat-plays span {
  color: var(--color-primary);
}
.seat-plays em {
  font-style: normal;
  color: var(--color-sidebar-foreground);
}
.seat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.seat-actions input {
  min-width: 11rem;
  flex: 1;
}
.seat-shop > p {
  margin-bottom: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.seat-shop > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.seat-shop button {
  border-radius: 999px;
  border: 1px solid rgb(154 116 36 / 0.45);
  background: rgb(18 28 44 / 0.9);
  color: var(--color-sidebar-foreground);
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  min-height: 2rem;
}
.seat-auction {
  border-top: 1px solid rgb(154 116 36 / 0.25);
  padding-top: 0.45rem;
}
.seat-auction-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.seat-auction-list,
.auction-grid {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.seat-auction-list li,
.auction-grid li {
  border-radius: 0.65rem;
  border: 1px solid rgb(154 116 36 / 0.28);
  background: rgb(18 28 44 / 0.72);
  padding: 0.45rem 0.6rem 0.55rem;
}
.seat-auction-list h3,
.auction-grid h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.auction-status {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.auction-blurb {
  margin: 0.25rem 0 0.4rem;
  font-size: 0.8rem;
  color: var(--color-muted-foreground);
}
.auction-meter {
  height: 0.28rem;
  margin: 0.35rem 0;
  border-radius: 999px;
  background: rgb(154 116 36 / 0.18);
  overflow: hidden;
}
.auction-meter span {
  display: block;
  height: 100%;
  background: var(--color-primary);
}
.auction-high {
  font-size: 0.72rem;
  color: var(--color-sidebar-muted);
  margin-bottom: 0.35rem;
}
.auction-won {
  font-size: 0.75rem;
  color: var(--color-primary);
}
.auction-board {
  display: grid;
  gap: 0.75rem;
}
.auction-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .auction-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.auction-grid li[data-mine="won"] {
  border-color: rgb(154 116 36 / 0.8);
}
.auction-cause {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-primary);
}
.auction-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .auction-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .auction-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.auction-tile {
  display: block;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  color: inherit;
}
.auction-tile h3 {
  padding: 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.auction-tile .auction-status,
.auction-tile .auction-high {
  padding: 0 0.85rem;
}
.auction-tile .auction-high {
  padding-bottom: 0.85rem;
}
.auction-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1220;
}
.auction-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.auction-photo span,
.auction-photo-lg span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgb(243 239 230 / 0.88);
  background:
    repeating-linear-gradient(-18deg, transparent 0 28px, rgb(18 28 44 / 0.18) 28px 36px);
  text-shadow: 0 1px 10px rgb(0 0 0 / 0.65);
  pointer-events: none;
}
.auction-photo-lg {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  min-height: 16rem;
  background: #0b1220;
}
.auction-photo-lg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auction-legal {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  max-width: 48rem;
}
.stadium-sit-prompt {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  top: 5.5rem;
  bottom: auto;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transform: translateX(-50%);
  border: 1px solid rgb(154 116 36 / 0.55);
  border-radius: 999px;
  background: rgb(18 28 44 / 0.92);
  color: var(--color-sidebar-foreground);
  padding: 0.55rem 1rem;
  min-height: 44px;
  font-size: 0.85rem;
}
.stadium-sit-prompt kbd {
  border-radius: 4px;
  border: 1px solid rgb(154 116 36 / 0.5);
  padding: 0.05rem 0.35rem;
  font-size: 0.7rem;
}
.stadium-touch {
  pointer-events: none;
  position: absolute;
  inset: auto 0.75rem 0.75rem;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.stadium-stick {
  pointer-events: auto;
  position: relative;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 999px;
  border: 1px solid rgb(154 116 36 / 0.4);
  background: rgb(18 28 44 / 0.55);
  touch-action: none;
}
.stadium-stick-knob {
  position: absolute;
  inset: 28%;
  border-radius: 999px;
  background: rgb(243 239 230 / 0.35);
}
.stadium-touch-act {
  pointer-events: auto;
  min-width: 4.5rem;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgb(154 116 36 / 0.5);
  background: rgb(18 28 44 / 0.85);
  color: var(--color-sidebar-foreground);
  padding: 0.5rem 0.9rem;
}
.stadium-touch-legend {
  pointer-events: none;
  color: var(--color-sidebar-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.speedway-hud {
  pointer-events: none;
  position: absolute;
  right: 0.75rem;
  bottom: 0.85rem;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
}
.speedway-dial {
  min-width: 5.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgb(154 116 36 / 0.4);
  background: rgb(18 28 44 / 0.88);
  color: var(--color-sidebar-foreground);
  padding: 0.45rem 0.65rem;
  text-align: center;
}
.speedway-dial-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-sidebar-muted);
}
.speedway-dial-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}
.speedway-field {
  font-size: 0.72rem;
  color: var(--color-sidebar-muted);
}
.speedway-cluster {
  border-radius: var(--radius-md);
  border: 1px solid rgb(154 116 36 / 0.4);
  background: rgb(18 28 44 / 0.88);
  color: var(--color-sidebar-foreground);
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
}
.speedway-rpm {
  display: flex;
  gap: 0.2rem;
  margin-top: 0.35rem;
}
.speedway-rpm span {
  width: 0.45rem;
  height: 0.7rem;
  border-radius: 2px;
  background: rgb(243 239 230 / 0.15);
}
.speedway-rpm span.on {
  background: var(--color-primary);
}
.game-rules {
  margin-bottom: 1.5rem;
  border-color: rgb(154 116 36 / 0.35);
}

.deal-cta {
  min-height: 2.75rem;
  padding-inline: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px -16px rgb(154 116 36 / 0.85);
}
.deal-viewonly {
  background-image: repeating-linear-gradient(
    -32deg,
    transparent,
    transparent 28px,
    rgb(154 116 36 / 0.05) 28px,
    rgb(154 116 36 / 0.05) 29px
  );
}
.deal-watermark {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(154 116 36 / 0.72);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cfl-ball,
  .cfl-fd,
  .stadium-portal {
    transition: none;
  }
}

