/* Compact hero (when ?url= is set) — small search bar, no marketing copy */
.hero-compact { padding: 24px 0 12px; text-align: center; }
@media (max-width: 640px) { .hero-compact { padding: 18px 0 8px; } }
.search-compact {
  max-width: 560px;
  margin: 0 auto;
  padding: 6px;
  border-radius: 14px;
}
.search-compact input { font-size: 14px; padding: 10px 6px; }
.search-compact .btn { height: 40px; padding: 0 16px; font-size: 14px; }

/* Spotlight downloader result page — compact, video-first layout */
.spot-result {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Header: "Spotlight Snap" + @handle, centered, with a divider underneath */
.spot-head {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.spot-head-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.spot-head-handle {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-1);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.spot-head-handle:hover { color: var(--accent-hover); }

/* Player frame holds the video + the overlaid download button */
.spot-player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.spot-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Download button overlaid on the bottom of the video — full width, accent bar */
.spot-player-dl {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform .12s ease, background .15s ease;
  z-index: 2;
}
.spot-player-dl:hover { background: var(--accent-hover); transform: translateY(-1px); }
.spot-player-dl:active { transform: translateY(0); }
.spot-player-dl svg { display: block; }

/* "Download other video" button below the player */
.spot-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--bg-sunken);
  color: var(--ink-2);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.spot-back:hover {
  background: var(--surface);
  color: var(--ink-1);
  border-color: var(--line-strong);
}

@media (max-width: 480px) {
  .spot-result { gap: 12px; }
  .spot-head-title { font-size: 16px; }
  .spot-head-handle { font-size: 20px; }
  .spot-player { border-radius: 12px; }
  .spot-player-dl { height: 46px; font-size: 15px; left: 10px; right: 10px; bottom: 10px; }
  .spot-back { height: 44px; }
}
