:root {
  --background: #fffdfa;
  --foreground: #282624;
  --card: #fffdfa;
  --primary: #e57255;
  --primary-foreground: #fff;
  --live: #009f31;
  --muted: #f6f3ef;
  --muted-foreground: #67625d;
  --border: #e6e0da;
  --input: #e6e0da;
  --ring: #e57255;
  --destructive: #e40014;
  --overlay: rgba(40, 38, 36, 0.46);
  --shadow: 0 10px 40px rgba(40, 38, 36, 0.06);
  --radius: 0.875rem;
  --header-h: 69px;
  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

html.dark {
  --background: #1a1512;
  --foreground: #f7f5f1;
  --card: #231e1b;
  --primary: #e57255;
  --primary-foreground: #fff;
  --live: #50c05f;
  --muted: #2d2824;
  --muted-foreground: #aba39b;
  --border: #ffffff1a;
  --input: #ffffff26;
  --ring: #e57255;
  --destructive: #ff6568;
  --overlay: rgba(0, 0, 0, 0.62);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  background: var(--background);
  color-scheme: light;
}

html.dark {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:visited {
  color: inherit;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

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

.wrap {
  width: 100%;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 7;
  width: 100%;
}

.header-inner {
  max-width: 896px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 16px 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo svg {
  height: 20px;
  width: auto;
}

.logo .dot {
  color: var(--primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--foreground);
}

.icon-btn {
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--muted);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 24px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--muted);
  padding: 6px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--muted-foreground);
  text-align: center;
  line-height: 1.3;
  cursor: pointer;
}

.live-pill:hover {
  color: var(--foreground);
}

.live-dot-wrap {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  flex-shrink: 0;
}

.live-dot,
.live-dot-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--live);
}

.live-dot-ping {
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

.live-count {
  font-weight: 600;
  color: var(--live);
}

.live-stats {
  color: var(--foreground);
}

.hero-note {
  margin: 8px auto 0;
  max-width: 560px;
  font-size: 12px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--foreground) 50%, transparent);
}

.hero-copy {
  margin: 32px auto 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

.hero-copy strong {
  color: var(--primary);
  font-weight: 600;
}

/* Claim */
.claim {
  scroll-margin-top: 24px;
  margin: 0 auto;
  padding: 30px clamp(18px, 4vw, 42px);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border));
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0, color-mix(in srgb, var(--primary) 11%, transparent), transparent 55%),
    var(--card);
  box-shadow: var(--shadow);
}

.claim-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center;
}

@media (min-width: 768px) {
  .claim-title {
    font-size: 40px;
  }
}

.amount-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.step-btn {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-btn:hover {
  background: color-mix(in srgb, var(--primary) 25%, transparent);
}

.amount-label {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--primary);
  font-weight: 700;
}

.amount-input {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: inherit;
  letter-spacing: inherit;
  width: 5.2ch;
  min-width: 3ch;
  padding: 0;
  outline: none;
  text-align: left;
}

.claim-help {
  margin: 14px auto 0;
  max-width: 520px;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.55;
}

.rank-hint {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  min-height: 20px;
}

.rank-hint.is-error {
  color: var(--destructive);
}

.claim-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.input-wrap {
  position: relative;
  flex: 1 1 280px;
  max-width: 560px;
}

.input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted-foreground);
  pointer-events: none;
}

.url-input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.url-input::placeholder {
  color: var(--muted-foreground);
}

.url-input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 22%, transparent);
}

.outbid-btn {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
}

.outbid-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.outbid-btn:not(:disabled):hover {
  filter: brightness(1.04);
}

.outbid-btn:not(:disabled):active {
  transform: translateY(1px);
}

.claim-foot {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted-foreground);
}

.demo-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: color-mix(in srgb, var(--foreground) 45%, transparent);
}

/* Panels */
.panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 28px 0 8px;
}

@media (min-width: 740px) {
  .panels {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 20px;
  padding: 16px 18px 10px;
  box-shadow: var(--shadow);
  min-height: 168px;
}

.panel h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.panel h2.live {
  color: var(--live);
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel h2.live .mark {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--live);
}

.row-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  font-size: 13px;
}

.row-link:first-of-type {
  border-top: 0;
}

.fav-slot {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.fav {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: cover;
  background: var(--muted);
  flex-shrink: 0;
  position: absolute;
  inset: 0;
}

.fav.lg {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
}

.letter.lg {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 16px;
}

.row-main {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-main .muted {
  font-weight: 500;
  color: var(--muted-foreground);
}

.row-meta {
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 12px;
}

/* Listings */
.board {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
}

.board-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 34px 4px 10px;
}

.board-heading .eyebrow {
  margin: 0 0 2px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.board-heading h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.auto-update {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.auto-update > span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--live);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 15%, transparent);
}

.listing {
  position: relative;
  padding: 16px 6px;
  border-bottom: 1px solid var(--border);
}

.listing.featured {
  margin: 6px 0;
  padding: 16px 16px 14px;
  background: color-mix(in srgb, var(--primary) 8%, var(--background));
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  border-radius: 16px;
}

html.dark .listing.featured {
  background: color-mix(in srgb, var(--primary) 13%, var(--card));
}

.listing.flash {
  animation: flash 1.2s ease;
}

@keyframes flash {
  0% {
    background: color-mix(in srgb, var(--primary) 22%, var(--background));
  }
  100% {
    background: transparent;
  }
}

.listing-body {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.rank {
  width: 36px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.listing-copy {
  flex: 1;
  min-width: 0;
}

.listing-copy h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.row-link,
.listing-body {
  color: var(--foreground);
}

.desc {
  margin: 2px 0 0;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted-foreground);
}

.sub .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  flex-shrink: 0;
}

.clicks {
  font-weight: 600;
  color: var(--foreground);
}

.bid {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 650;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  align-self: center;
}

.claim-rank {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 35%, transparent);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.listing:hover .claim-rank,
.listing:focus-within .claim-rank {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: none) {
  .claim-rank {
    opacity: 1;
    pointer-events: auto;
    top: 8px;
    transform: translate(-50%, 0);
  }
  .listing.featured {
    padding-top: 28px;
  }
}

.refresh-wrap {
  display: flex;
  justify-content: center;
  padding: 22px 0 8px;
}

.refresh-btn {
  border: 0;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.refresh-btn:hover {
  color: var(--foreground);
}

/* Revenue */
.revenue {
  text-align: center;
  padding: 28px 16px 8px;
  color: var(--muted-foreground);
  font-size: 15px;
}

.revenue a {
  color: var(--primary);
  font-weight: 600;
}

.revenue a:hover {
  opacity: 0.85;
}

.revenue-num {
  display: block;
  margin: 6px 0 2px;
  font-size: 56px;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

@media (min-width: 768px) {
  .revenue-num {
    font-size: 72px;
  }
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 28px 16px 36px;
  text-align: center;
  font-size: 14px;
  color: var(--muted-foreground);
}

.site-footer p {
  margin: 0;
}

.site-footer .inspired {
  margin-top: 7px;
  font-size: 12px;
  color: color-mix(in srgb, var(--muted-foreground) 78%, transparent);
}

.site-footer a {
  color: var(--primary);
  transition: color 0.15s;
}

.site-footer a:hover {
  color: color-mix(in srgb, var(--primary) 80%, white);
}

/* Pages */
.page {
  padding: 8px 0 64px;
}

.page h1 {
  margin: 12px 0 18px;
  font-size: 40px;
  letter-spacing: -0.04em;
  font-weight: 750;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .page h1 {
    font-size: 48px;
  }
}

.page h2 {
  margin: 28px 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.page p,
.page li {
  color: var(--muted-foreground);
  font-size: 17px;
  line-height: 1.65;
}

.page p a,
.page li a {
  color: var(--primary);
  font-weight: 600;
}

.page ul {
  margin: 0;
  padding: 0 0 0 20px;
}

.page li + li {
  margin-top: 8px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 22px 0 8px;
}

@media (min-width: 640px) {
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: var(--muted);
  border-radius: 16px;
  padding: 18px 16px 14px;
}

.stat-card .n {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.stat-card .n.live {
  color: var(--live);
}

.stat-card .n .sym {
  color: var(--primary);
}

.stat-card .l {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted-foreground);
}

/* Modal */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.modal-root.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(6px);
}

.modal {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100% - 24px));
  margin: 8vh auto 0;
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  max-height: 86vh;
  overflow: auto;
}

.demo-banner {
  margin: -6px 0 14px;
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--primary) 12%, var(--muted));
  color: var(--foreground);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.modal h2 {
  margin: 0 0 4px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.modal .pay-amt {
  font-size: 32px;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin: 4px 0 10px;
}

.modal .preview {
  display: flex;
  gap: 10px;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.modal .preview p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted-foreground);
}

.field {
  margin-bottom: 10px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--muted-foreground);
}

.field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background);
  outline: none;
}

.field input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 22%, transparent);
}

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

.pay-btn {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.pay-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.modal-cancel {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.error {
  color: var(--destructive);
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
  margin: 4px 0 0;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  background: var(--foreground);
  color: var(--background);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 60;
  box-shadow: var(--shadow);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Stats overlay */
.chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 88px;
  margin: 12px 0 4px;
}

.chart span {
  flex: 1;
  background: var(--primary);
  border-radius: 3px 3px 1px 1px;
  min-height: 4px;
  opacity: 0.85;
}

.empty {
  text-align: center;
  color: var(--muted-foreground);
  padding: 28px 8px;
}

@media (max-width: 640px) {
  .header-right {
    gap: 8px;
  }
  .nav {
    gap: 12px;
  }
  .revenue-num {
    font-size: 44px;
  }
  .bid {
    font-size: 16px;
  }
  .hero-copy {
    font-size: 16px;
  }
  .nav {
    display: none;
  }
  .claim {
    padding: 24px 16px;
    border-radius: 22px;
  }
  .board-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* Click lanes */
body {
  padding-left: 52px;
  padding-right: 52px;
}

@media (max-width: 520px) {
  body {
    padding-left: 38px;
    padding-right: 38px;
  }
  .play-lane {
    width: 38px;
  }
  .wrap,
  .header-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
  .logo {
    font-size: 19px;
  }
}

@media (min-width: 900px) {
  body {
    padding-left: 96px;
    padding-right: 96px;
  }
}

.play-lane {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 52px;
  z-index: 6;
  margin: 0;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

@media (min-width: 900px) {
  .play-lane {
    width: 96px;
  }
}

.play-lane.left {
  left: 0;
  border-right: 1px dashed color-mix(in srgb, var(--primary) 35%, transparent);
}

.play-lane.right {
  right: 0;
  border-left: 1px dashed color-mix(in srgb, var(--primary) 35%, transparent);
}

.play-lane:active {
  background: color-mix(in srgb, var(--primary) 16%, transparent);
}

.play-lane.pulse {
  animation: lane-pulse 0.7s ease;
}

@keyframes lane-pulse {
  0%,
  100% {
    background: color-mix(in srgb, var(--primary) 7%, transparent);
  }
  40% {
    background: color-mix(in srgb, var(--primary) 28%, transparent);
  }
}

.lane-hint {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.play-lane.idle .lane-hint {
  opacity: 0.55;
  animation: hint-bob 1.8s ease-in-out infinite;
}

@keyframes hint-bob {
  50% {
    opacity: 0.9;
  }
}

.drop {
  position: absolute;
  top: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  animation: drop-fall linear forwards;
  will-change: transform, opacity;
}

.drop.coin {
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff3c4, #f0b429 42%, #e57255);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35), 0 6px 12px rgba(229, 114, 85, 0.28);
}

.drop.gem {
  width: 18px;
  height: 26px;
  border-radius: 4px 4px 10px 10px;
  background: linear-gradient(180deg, #7ee0ff, #2f6dff);
  box-shadow: 0 6px 12px rgba(47, 109, 255, 0.28);
}

.drop.star {
  width: 20px;
  height: 20px;
  background: #ffd15c;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.drop.orb {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #50c05f 45%, #0a7a32);
}

.drop.bolt {
  width: 14px;
  height: 26px;
  background: #e57255;
  clip-path: polygon(55% 0, 18% 52%, 48% 52%, 40% 100%, 82% 46%, 52% 46%);
}

@keyframes drop-fall {
  0% {
    transform: translateY(-12px) rotate(0deg) scale(0.7);
    opacity: 1;
  }
  12% {
    transform: translateY(8vh) rotate(40deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(108vh) rotate(var(--spin, 200deg)) scale(0.85);
    opacity: 0;
  }
}

.drop-pop {
  position: absolute;
  transform: translate(-50%, -120%);
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  pointer-events: none;
  animation: pop-up 0.55s ease forwards;
  text-shadow: 0 1px 0 var(--background);
}

@keyframes pop-up {
  0% {
    opacity: 1;
    transform: translate(-50%, -80%) scale(0.7);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -160%) scale(1.15);
  }
}

.pts-suffix {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 2px;
  color: var(--primary);
}
