:root {
  --bg: #050505;
  --panel: #0b0b0c;
  --panel-2: #141313;
  --line: rgba(244, 190, 54, 0.45);
  --gold: #ffd65a;
  --gold-2: #b67806;
  --hot: #ef1b3f;
  --green: #34e072;
  --pink: #ff4fc3;
  --blue: #27c3ff;
  --text: #fff6da;
  --muted: #b7ad95;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 61, 91, 0.24), transparent 22rem),
    radial-gradient(circle at 83% 18%, rgba(39, 195, 255, 0.18), transparent 20rem),
    linear-gradient(135deg, #050505, #121006 52%, #060606);
  background-size: 120% 120%;
  animation: prideAura 14s ease-in-out infinite alternate;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

.launch-page {
  min-height: 100vh;
}

.launch-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 32px 20px;
}

.launch-hero {
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
}

.launch-copy {
  display: grid;
  gap: 16px;
}

.launch-logo {
  width: min(420px, 92vw);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.48));
}

.launch-kicker {
  width: fit-content;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(255, 214, 90, 0.3);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.34);
  font-weight: 900;
  text-transform: uppercase;
}

.launch-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.launch-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(220px, 1fr) auto;
  gap: 10px;
  max-width: 780px;
  padding: 10px;
  border: 1px solid rgba(255, 214, 90, 0.28);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.46);
}

.waitlist-form input {
  min-width: 0;
  height: 46px;
  border: 1px solid rgba(255, 214, 90, 0.26);
  border-radius: 9px;
  color: var(--text);
  background: #050505;
  padding: 0 12px;
}

.waitlist-note {
  min-height: 24px;
  color: var(--gold) !important;
  font-weight: 800;
}

.launch-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.launch-phone {
  min-height: 560px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 214, 90, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 214, 90, 0.22), transparent 9rem),
    radial-gradient(circle at 70% 36%, rgba(255, 66, 130, 0.2), transparent 10rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.phone-mini {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.phone-mini img {
  width: 180px;
  height: 180px;
  border-radius: 38px;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.52);
}

.phone-mini strong {
  font-size: 1.35rem;
}

.phone-mini span {
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.launch-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 214, 90, 0.24);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.46);
}

.launch-grid strong {
  color: var(--gold);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.launch-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.save-phone {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 214, 90, 0.24);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.48);
}

.save-phone h2 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.save-phone p,
.save-phone li {
  color: var(--muted);
  line-height: 1.5;
}

.save-phone p,
.save-phone ol {
  margin: 0;
}

.save-phone ol {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.save-phone strong {
  color: var(--text);
}

.launch-footer {
  margin-top: 28px;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.phone {
  position: relative;
  width: min(100%, 430px);
  min-height: min(900px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 214, 90, 0.08), transparent 18%),
    var(--bg);
  box-shadow: var(--shadow), inset 0 0 0 6px #090909;
  padding: 18px 16px 22px;
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone::before {
  content: "";
  position: absolute;
  inset: -80px -120px auto auto;
  width: 260px;
  height: 260px;
  background: conic-gradient(from 45deg, #ff253f, #ffb21e, #f8e64b, #18cf65, #168dff, #7f35ff, #ff253f);
  filter: blur(38px);
  opacity: 0.32;
  pointer-events: none;
  animation: auraDrift 10s ease-in-out infinite alternate;
}

.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 8%, rgba(255, 255, 255, 0.08) 18%, transparent 28%);
  transform: translateX(-120%);
  pointer-events: none;
  animation: glassSweep 8s ease-in-out infinite;
}

.topbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

.top-drawer {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
  padding: 10px;
  border: 1px solid rgba(255, 214, 90, 0.32);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.88);
  animation: drawerOpen 180ms ease-out;
}

.top-drawer button,
.top-drawer .drawer-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 214, 90, 0.2);
  border-radius: 9px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  padding: 0 12px;
  font-weight: 900;
  text-decoration: none;
}

.top-drawer strong {
  color: var(--gold);
  text-transform: uppercase;
}

.top-drawer span {
  color: var(--muted);
  font-weight: 800;
}

.brand-mark {
  width: 210px;
  max-width: 100%;
  justify-self: center;
  border-radius: 0;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38));
  animation: logoGlow 4s ease-in-out infinite alternate;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 214, 90, 0.2);
  border-radius: 12px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
}

.wallet {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  align-items: center;
  margin: 12px auto 14px;
  max-width: 280px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 214, 90, 0.1), rgba(255, 255, 255, 0.02));
  animation: softPulse 4s ease-in-out infinite;
}

.auth-panel {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(255, 214, 90, 0.26);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.phone.locked {
  min-height: min(760px, calc(100vh - 48px));
}

.phone.locked .wallet,
.phone.locked .hero,
.phone.locked .tab-row,
.phone.locked .screen,
.phone.locked .site-footer {
  display: none;
}

.phone.locked .auth-panel {
  min-height: 520px;
  display: grid;
  align-content: center;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border-color: rgba(255, 214, 90, 0.42);
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 214, 90, 0.18), transparent 9rem),
    radial-gradient(circle at 82% 18%, rgba(255, 79, 195, 0.14), transparent 8rem),
    rgba(255, 255, 255, 0.035);
}

.login-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.live-proof {
  display: grid;
  gap: 8px;
}

.activity-ticker,
.daily-teaser,
.community-flex {
  border: 1px solid rgba(255, 214, 90, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 214, 90, 0.1), rgba(255, 43, 84, 0.05)),
    rgba(0, 0, 0, 0.42);
}

.activity-ticker {
  min-height: 40px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.daily-teaser {
  min-height: 34px;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.community-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.community-flex span {
  min-width: 0;
  padding: 9px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.community-flex span + span {
  border-left: 1px solid rgba(255, 214, 90, 0.16);
}

.ticker-swap {
  animation: tickerSwap 420ms ease-out;
}

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

.phone.locked .auth-forms {
  grid-template-columns: 1fr;
}

.auth-forms form,
.account-card {
  display: grid;
  gap: 8px;
}

.auth-forms strong {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.auth-forms input,
.admin-login input,
.score-form input,
.profile-editor input,
.profile-editor select {
  min-width: 0;
  height: 38px;
  border: 1px solid rgba(255, 214, 90, 0.28);
  border-radius: 8px;
  color: var(--text);
  background: #050505;
  padding: 0 10px;
}

.account-card {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.account-card span {
  color: var(--text);
  font-weight: 800;
}

.hidden {
  display: none !important;
}

.wallet span,
.section-title span,
small,
.episode span,
.entry-box label {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.wallet strong {
  font-size: 1.55rem;
  line-height: 1;
}

.wallet .small {
  grid-column: 2;
  grid-row: 1 / 3;
}

.gold-button {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  color: #140d00;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffef94, #d99916 52%, #9b5c00);
  box-shadow: 0 0 18px rgba(255, 214, 90, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.gold-button:hover,
.icon-button:hover,
.text-button:hover,
.tab:hover,
.event-card:hover,
.category:hover,
.prediction-option:hover,
.prop:hover,
.festival:hover,
.profile-menu button:hover,
.pricing-card:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.gold-button:active,
.icon-button:active,
.tab:active,
.event-card:active,
.category:active,
.prediction-option:active,
.prop:active,
.festival:active {
  transform: translateY(1px) scale(0.99);
}

.gold-button.small {
  min-width: 44px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.72rem;
}

.gold-button.muted {
  opacity: 0.72;
}

.gold-button.full {
  width: 100%;
  margin-top: 12px;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 172px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 90, 0.35);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.36)),
    url("./assets/reference-screens.png") center 18% / 1320px auto;
  animation: heroPan 16s ease-in-out infinite alternate;
}

.hero-copy {
  padding: 14px;
  width: 72%;
}

.hero h1,
.section-title h2,
.match-card h3,
.episode h3 {
  margin: 6px 0;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(1.6rem, 8vw, 2.3rem);
  line-height: 1;
  text-transform: uppercase;
}

.hero p,
.profile-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pill.live {
  background: var(--hot);
  color: white;
  animation: livePulse 1.8s ease-in-out infinite;
}

.pill.upcoming {
  background: #1f64ff;
  color: white;
}

.tab-row {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin: 14px -4px 6px;
  padding: 4px;
  border: 1px solid rgba(255, 214, 90, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
}

.tab {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 0.66rem;
}

.tab.active {
  color: #1a1100;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe784, #bf7a08);
}

.screen {
  display: none;
  padding-top: 10px;
}

.screen.active {
  display: block;
  animation: screenIn 240ms ease-out;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-title h2 {
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
}

.text-button {
  border: 0;
  color: var(--gold);
  background: transparent;
}

.event-list,
.live-events,
.live-hub-grid,
.culture-grid,
.ranking-grid,
.quick-grid,
.result-lane,
.category-list,
.prediction-list,
.prop-list,
.festival-list,
.profile-menu,
.slip-list,
.pricing-grid,
.leaderboard-list,
.house-list,
.member-list,
.ballroom-event-list {
  display: grid;
  gap: 9px;
}

.home-culture {
  margin: 14px 0;
}

.culture-grid,
.live-hub-grid,
.ranking-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.culture-card {
  min-height: 106px;
  padding: 14px;
  border: 1px solid rgba(255, 214, 90, 0.28);
  border-radius: 8px;
  color: var(--cream);
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 214, 90, 0.12), rgba(255, 43, 84, 0.08)),
    rgba(0, 0, 0, 0.58);
}

.culture-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.culture-card small {
  color: var(--muted);
  line-height: 1.35;
}

.card-title,
.profile-section-title {
  margin-top: 18px;
}

.app-module,
.live-stage,
.quick-card,
.result-lane article,
.board-summary article,
.profile-rank-card article,
.badge-row span {
  border: 1px solid rgba(255, 214, 90, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 214, 90, 0.1), rgba(255, 79, 195, 0.045)),
    rgba(255, 255, 255, 0.035);
}

.app-module {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
}

.app-module strong,
.quick-card strong,
.result-lane strong,
.live-stage h3,
.profile-rank-card strong {
  display: block;
  color: var(--cream);
  font-size: 0.95rem;
}

.app-module small,
.quick-card small,
.result-lane small,
.live-stage p,
.profile-rank-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.module-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-grid,
.result-lane {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px 0;
}

.quick-card,
.result-lane article {
  min-height: 98px;
  padding: 12px;
}

.quick-card span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 1000;
}

.pick-studio {
  margin-top: 0;
}

.mini-metrics {
  display: grid;
  gap: 7px;
  min-width: 76px;
}

.mini-metrics span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.mini-metrics b {
  color: var(--gold);
  font-size: 1rem;
}

.live-stage {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: grid;
  align-content: end;
  gap: 8px;
  margin-bottom: 12px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.86)),
    url("./assets/reference-screens.png") 58% 45% / 980px auto;
}

.live-stage > .pill {
  justify-self: start;
  width: auto;
  max-width: max-content;
}

.reaction-row {
  display: flex;
  gap: 8px;
}

.reaction-row button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 214, 90, 0.28);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.56);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.reaction-row button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 90, 0.58);
  box-shadow: 0 0 18px rgba(255, 214, 90, 0.16);
}

.board-summary,
.profile-rank-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.board-summary article,
.profile-rank-card article {
  min-height: 74px;
  display: grid;
  align-content: center;
  padding: 10px;
}

.board-summary strong {
  color: var(--gold);
  font-size: 1.2rem;
}

.board-summary small {
  color: var(--muted);
}

.profile-rank-card {
  margin-top: 10px;
}

.profile-drawer-toggle,
.profile-drawer button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  text-align: left;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  font-weight: 900;
  text-transform: uppercase;
}

.profile-drawer-toggle {
  margin: 10px 0 12px;
  color: var(--gold);
}

.profile-drawer,
.profile-drawer-panel {
  display: grid;
  gap: 8px;
}

.profile-drawer.open button,
.profile-drawer-toggle.open {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 214, 90, 0.22), 0 0 22px rgba(255, 214, 90, 0.12);
}

.profile-drawer-panel {
  margin: -2px 0 2px 12px;
  padding: 0 0 10px 10px;
  border-left: 1px solid rgba(255, 214, 90, 0.22);
  color: var(--muted);
  animation: drawerOpen 180ms ease-out;
}

.profile-drawer-panel a {
  color: var(--gold);
  font-weight: 900;
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
}

.badge-row span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.stats-grid article,
.pricing-grid article,
.compliance-card,
.leaderboard-preview {
  border: 1px solid rgba(255, 214, 90, 0.32);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.stats-grid article {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
}

.stats-grid strong {
  color: var(--gold);
  font-size: 1.12rem;
}

.stats-grid span,
.pricing-grid span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.leaderboard-preview,
.compliance-card {
  margin-top: 12px;
  padding: 12px;
}

.section-title.compact {
  margin-bottom: 6px;
}

.leaderboard-preview ol,
.leaderboard-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.leaderboard-preview li,
.leaderboard-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  border-top: 1px solid rgba(255, 214, 90, 0.14);
}

.leaderboard-preview li:first-child,
.leaderboard-list li:first-child {
  border-top: 0;
}

.leaderboard-preview b,
.leaderboard-list strong,
.compliance-card strong {
  color: var(--gold);
}

.leaderboard-list li {
  min-height: 58px;
  padding: 0 12px;
  border: 1px solid rgba(255, 214, 90, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  animation: listRise 280ms ease-out both;
}

.leaderboard-list li:nth-child(1) {
  box-shadow: 0 0 22px rgba(255, 214, 90, 0.12);
}

.leaderboard-list span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.leaderboard-preview li > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.leaderboard-preview small,
.leaderboard-list small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 246, 218, 0.55);
  text-transform: none;
}

.leaderboard-list span b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #170d00;
  background: linear-gradient(180deg, #fff09a, #be7608);
}

.event-card,
.category,
.prop,
.festival,
.profile-menu button,
.house-card,
.member-card,
.ballroom-event-card {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  text-align: left;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.house-card {
  grid-template-columns: 54px 1fr;
  min-height: 132px;
}

.member-card {
  grid-template-columns: auto 1fr;
}

.ballroom-event-card {
  grid-template-columns: 1fr;
}

.house-card p,
.member-card p,
.ballroom-event-card p {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.35;
}

.house-card span,
.member-card span,
.ballroom-event-card span {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.house-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #160d00;
  font-weight: 1000;
  background: conic-gradient(#ffdc65, #f32465, #2bd870, #1d9cff, #ffdc65);
  box-shadow: 0 0 20px rgba(255, 214, 90, 0.18);
}

.verified-badge {
  display: inline-grid;
  place-items: center;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  color: #0e0900;
  background: linear-gradient(180deg, #fff09a, #be7608);
  font-size: 0.62rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.verified-badge.muted {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
}

.member-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.ballroom-intro {
  margin-bottom: 12px;
}

.event-card strong,
.festival strong {
  display: block;
  font-size: 1rem;
  text-transform: uppercase;
}

.event-card small,
.festival small {
  display: block;
  margin-top: 3px;
}

.event-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #140d00;
  background: linear-gradient(180deg, #fff09a, #be7608);
  font-size: 1.5rem;
  box-shadow: 0 0 0 rgba(255, 214, 90, 0);
  animation: iconBreath 3.4s ease-in-out infinite;
}

.event-card.drag {
  border-color: rgba(255, 79, 195, 0.6);
}

.event-card.pride {
  border-color: rgba(52, 224, 114, 0.55);
}

.event-card.trend {
  border-color: rgba(255, 214, 90, 0.7);
}

.match-card,
.episode,
.profile-card,
.entry-box {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
}

.match-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.match-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 90, 0.62);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.compact-card {
  min-height: auto;
  margin-top: 10px;
}

.pricing-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 12px;
}

.pricing-grid article {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 12px;
}

.pricing-grid strong {
  color: var(--gold);
  text-transform: uppercase;
}

.pricing-card .gold-button {
  justify-self: start;
}

.compliance-card small {
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

.match-card::before,
.episode::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86), transparent), url("./assets/reference-screens.png") center / 900px auto;
}

.match-card > *,
.episode > * {
  position: relative;
}

.match-card.ny::before {
  background-position: 64% 38%;
}

.match-card.philly::before {
  background-position: 80% 64%;
}

.match-card p,
.episode p {
  color: var(--muted);
}

.category.active,
.market.active,
.prediction-option.selected,
.prop.selected,
.festival.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 214, 90, 0.28), 0 0 24px rgba(255, 214, 90, 0.14);
  animation: selectedGlow 2.4s ease-in-out infinite;
}

.category b {
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.market-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 0;
}

.market {
  min-height: 38px;
  border: 1px solid rgba(255, 214, 90, 0.3);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  text-transform: uppercase;
  font-size: 0.72rem;
}

.prediction-option {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(255, 214, 90, 0.3);
  border-radius: 8px;
  color: var(--text);
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.face {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #120a00;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--pink), var(--blue));
}

.prediction-option b,
.prop b,
.festival b {
  color: var(--gold);
}

.prop {
  grid-template-columns: 1fr auto;
}

.festival {
  grid-template-columns: 1fr auto;
}

.episode {
  margin-bottom: 10px;
  background-color: #2b0b27;
}

.entry-box {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 110px auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.entry-box input {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #050505;
  padding: 0 10px;
}

.entry-box span {
  color: var(--gold);
  font-weight: 900;
}

.slip-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 10px;
  border: 1px solid rgba(255, 214, 90, 0.28);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  animation: listRise 220ms ease-out;
}

.slip-item small {
  grid-column: 1 / -1;
}

.remove {
  border: 0;
  color: var(--gold);
  background: transparent;
}

.avatar {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #160d00;
  font-weight: 1000;
  background: conic-gradient(#ffdc65, #f32465, #2bd870, #1d9cff, #ffdc65);
  animation: avatarSpin 12s linear infinite;
}

.avatar.logo,
.mini-avatar.logo {
  background: #070707;
}

.avatar.portrait-gold,
.mini-avatar.portrait-gold {
  background: linear-gradient(135deg, #fff09a, #be7608);
}

.avatar.portrait-pink,
.mini-avatar.portrait-pink {
  background: linear-gradient(135deg, #ff79d2, #7f35ff);
}

.avatar.portrait-green,
.mini-avatar.portrait-green {
  background: linear-gradient(135deg, #9cffb7, #18a859);
}

.avatar.portrait-blue,
.mini-avatar.portrait-blue {
  background: linear-gradient(135deg, #7ee7ff, #1768ff);
}

.avatar.portrait-rainbow,
.mini-avatar.portrait-rainbow {
  background: conic-gradient(#ffdc65, #f32465, #2bd870, #1d9cff, #ffdc65);
}

.avatar.photo,
.mini-avatar[style*="background-image"] {
  background-position: center;
  background-size: cover;
}

.mini-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 214, 90, 0.38);
  border-radius: 8px;
  color: #160d00;
  font-size: 0.6rem;
  font-weight: 1000;
  background: conic-gradient(#ffdc65, #f32465, #2bd870, #1d9cff, #ffdc65);
}

.username-line {
  display: block;
  margin: -4px 0 8px;
  color: var(--gold);
  font-size: 0.82rem;
}

.profile-editor {
  display: grid;
  gap: 10px;
}

.profile-editor > strong {
  color: var(--gold);
  text-transform: uppercase;
}

.profile-editor label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.profile-menu button {
  grid-template-columns: 1fr auto;
  min-height: 48px;
}

.submission-history {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 214, 90, 0.16);
}

.history-row span {
  color: var(--muted);
}

.history-row b {
  color: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255, 214, 90, 0.18);
}

.site-footer a,
.back-link {
  color: var(--gold);
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-page {
  min-height: 100vh;
  padding: 24px;
}

.legal-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.78);
  box-shadow: var(--shadow);
}

.admin-shell {
  width: min(100%, 980px);
}

.admin-login {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  margin: 20px 0;
  padding: 14px;
  border: 1px solid rgba(255, 214, 90, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-login h2 {
  grid-column: 1 / -1;
  margin-top: 0;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
  padding: 4px;
  border: 1px solid rgba(255, 214, 90, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
}

.admin-tab {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-tab.active {
  color: #170d00;
  background: linear-gradient(180deg, #fff09a, #be7608);
}

.admin-screen {
  display: none;
}

.admin-screen.active {
  display: grid;
  gap: 14px;
}

.admin-submission {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 214, 90, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-submission h2 {
  margin: 0;
}

.admin-row {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 214, 90, 0.22);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
}

.admin-grid {
  display: grid;
  gap: 10px;
}

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

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

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

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

.admin-grid label,
.admin-row label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.admin-grid input,
.admin-row input {
  min-width: 0;
  height: 38px;
  border: 1px solid rgba(255, 214, 90, 0.28);
  border-radius: 8px;
  color: var(--text);
  background: #050505;
  padding: 0 10px;
}

.person-groups {
  display: grid;
  gap: 12px;
}

.people-group {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 214, 90, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.person-row {
  align-items: end;
}

.danger-link {
  justify-self: start;
  color: #ff8c9d;
}

.admin-submission strong,
.admin-submission b {
  color: var(--gold);
}

.admin-submission ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.admin-editor {
  width: 100%;
  min-height: 360px;
  resize: vertical;
  border: 1px solid rgba(255, 214, 90, 0.28);
  border-radius: 10px;
  color: var(--text);
  background: #050505;
  padding: 12px;
  font: 0.82rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.45;
}

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

.score-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.score-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.legal-shell h1 {
  margin: 22px 0 8px;
  color: var(--gold);
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.legal-shell h2 {
  margin: 24px 0 8px;
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
}

.legal-shell p {
  color: var(--muted);
  line-height: 1.65;
}

.about-shell {
  width: min(100%, 940px);
}

.about-band {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 214, 90, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

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

.about-steps article {
  min-height: 156px;
  padding: 14px;
  border: 1px solid rgba(255, 214, 90, 0.2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.42);
}

.about-steps strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #170d00;
  background: linear-gradient(180deg, #fff09a, #be7608);
}

.about-steps h3 {
  margin: 14px 0 6px;
  color: var(--gold);
  text-transform: uppercase;
}

.toast {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #160d00;
  background: linear-gradient(180deg, #fff09a, #cb8410);
  font-weight: 900;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

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

.balance-pop {
  animation: balancePop 420ms ease-out;
}

.coin-burst {
  position: absolute;
  left: 50%;
  top: 38%;
  z-index: 12;
  pointer-events: none;
}

.coin-burst span {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #140d00;
  background: linear-gradient(180deg, #fff09a, #c37b08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34), 0 0 22px rgba(255, 214, 90, 0.35);
  font-size: 0.7rem;
  font-weight: 1000;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
}

.coin-burst.active span {
  animation: coinBurst 900ms ease-out var(--delay) forwards;
}

@keyframes prideAura {
  from {
    background-position: 0% 40%;
  }
  to {
    background-position: 100% 62%;
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes auraDrift {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(18deg) scale(1.08);
  }
}

@keyframes glassSweep {
  0%,
  64% {
    transform: translateX(-120%);
  }
  82%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes logoGlow {
  from {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38));
  }
  to {
    filter: drop-shadow(0 12px 22px rgba(255, 214, 90, 0.22));
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 214, 90, 0);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 214, 90, 0.12);
  }
}

@keyframes heroPan {
  from {
    background-position: center 18%, center 18%;
  }
  to {
    background-position: center 18%, 58% 22%;
  }
}

@keyframes livePulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(239, 27, 63, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(239, 27, 63, 0.48);
  }
}

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

@keyframes listRise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconBreath {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 214, 90, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 214, 90, 0.2);
  }
}

@keyframes selectedGlow {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(255, 214, 90, 0.28), 0 0 18px rgba(255, 214, 90, 0.12);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(255, 214, 90, 0.42), 0 0 30px rgba(255, 214, 90, 0.23);
  }
}

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

@keyframes balancePop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.11);
    color: #fff3a8;
    text-shadow: 0 0 16px rgba(255, 214, 90, 0.52);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes coinBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), -130px) scale(1);
  }
}

@keyframes tickerSwap {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.legal-shell > .toast {
  position: fixed;
  left: auto;
  right: 24px;
  bottom: 24px;
  width: min(420px, calc(100vw - 48px));
  transform: translateY(160%);
}

.legal-shell > .toast.show {
  transform: translateY(0);
}

@media (max-width: 760px) {
  .launch-shell {
    padding: 20px 14px;
  }

  .launch-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .launch-phone {
    min-height: 320px;
    order: -1;
  }

  .phone-mini img {
    width: 136px;
    height: 136px;
    border-radius: 30px;
  }

  .waitlist-form,
  .launch-grid,
  .save-phone {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 430px) {
  .shell {
    padding: 0;
  }

  .phone {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .hero-copy {
    width: 82%;
  }

  .tab-row {
    margin-left: -10px;
    margin-right: -10px;
  }

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

  .culture-grid,
  .live-hub-grid,
  .ranking-grid,
  .quick-grid,
  .result-lane,
  .board-summary,
  .profile-rank-card {
    grid-template-columns: 1fr;
  }

  .app-module {
    grid-template-columns: 1fr;
  }

  .app-module .gold-button {
    justify-self: start;
  }

  .community-flex {
    grid-template-columns: 1fr;
  }

  .community-flex span + span {
    border-top: 1px solid rgba(255, 214, 90, 0.16);
    border-left: 0;
  }

  .auth-forms,
  .admin-login,
  .score-form,
  .about-steps,
  .admin-grid.two,
  .admin-grid.three,
  .admin-grid.four,
  .admin-grid.five {
    grid-template-columns: 1fr;
  }
}

/* Native app shell: the phone itself should never float, zoom, or pan. */
html,
body {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.shell {
  width: 100vw;
  min-height: 100dvh;
  display: block;
  padding: 0;
  overflow: hidden;
}

.phone {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  min-height: 100dvh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.phone::before {
  animation: none;
}

/* App navigation polish: Home sells the vibe, other tabs focus on action. */
.phone:not(.on-home) .hero {
  display: none;
}

#category .prediction-list {
  display: none;
}

.category-accordion {
  display: grid;
  gap: 8px;
}

.category-accordion.open .category {
  border-color: var(--gold);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 214, 90, 0.22), 0 0 24px rgba(255, 214, 90, 0.12);
}

.category-panel {
  display: grid;
  gap: 8px;
  margin: -2px 0 2px 12px;
  padding: 0 0 10px 10px;
  border-left: 1px solid rgba(255, 214, 90, 0.22);
  animation: drawerOpen 180ms ease-out;
}

.slip-list.compact {
  max-height: 140px;
  overflow-y: auto;
}

.card-dock {
  position: sticky;
  bottom: 10px;
  z-index: 20;
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 214, 90, 0.48);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 214, 90, 0.12), rgba(0, 0, 0, 0.95)),
    rgba(6, 6, 6, 0.96);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.42), 0 0 24px rgba(255, 214, 90, 0.12);
  backdrop-filter: blur(16px);
}

.card-dock-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-transform: uppercase;
}

.card-dock-toggle {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  color: var(--gold);
  background: transparent;
  padding: 0;
  text-align: left;
  text-transform: uppercase;
}

.card-dock-toggle b {
  color: var(--muted);
  font-size: 0.68rem;
}

.card-dock-body {
  display: grid;
  gap: 8px;
  animation: drawerOpen 180ms ease-out;
}

.card-dock.collapsed {
  padding: 10px 12px;
}

.card-dock.collapsed .card-dock-body,
.card-dock.collapsed #categoryClearSlip {
  display: none;
}

.compact-entry {
  min-height: 56px;
  padding: 10px;
  margin-top: 0;
}

@keyframes drawerOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
