/*
 * Black Friday "Ticket" theme (F5): scoped additions on top of styles.css (unchanged below, loaded
 * first). Every new selector is prefixed `.bf-` so nothing here can collide with or override the
 * original replica's classes. Reuses the existing design tokens (--ink/--rose/--teal/--cream/--line)
 * so the Black Friday page still looks like Songumi, not a bolted-on skin.
 * Port of /tmp/bf/inputs/songumi-bf-es.html (Designer, "Ticket" concept) and
 * /tmp/bf/inputs/upsell-clipe-es.html (Designer, pre-page), condensed for this static funnel.
 */

.bf-strip {
  overflow: hidden;
  background: linear-gradient(90deg, var(--rose), var(--teal));
  color: #fff;
  font: 800 12px/2.6 Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bf-strip__run {
  display: inline-flex;
  gap: 32px;
  padding-left: 32px;
  animation: bf-strip-scroll 22s linear infinite;
}
.bf-strip__run span::after { content: "•"; margin-left: 32px; opacity: 0.6; }
@keyframes bf-strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .bf-strip__run { animation: none; }
}

.bf-eyebrow { color: var(--rose-dark); }
.bf-mark { color: var(--rose); }

.bf-ticket {
  margin-top: 20px;
  max-width: 360px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.bf-ticket__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.bf-ticket__brand { font: 800 16px/1 Inter, sans-serif; color: var(--teal); }
.bf-ticket__sub { font: 600 11px/1 Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rose-dark); }
.bf-ticket__lines { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px dashed var(--line); }
.bf-ticket__lines li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px;
}
.bf-ticket__free b { color: var(--teal); }
.bf-ticket__valid {
  display: flex; justify-content: space-between; align-items: baseline;
  font: 600 12px/1 Inter, sans-serif; color: var(--rose-dark);
}
.bf-ticket__valid strong { font-size: 14px; }

/* ── Gift-style step (form) ───────────────────────────────────────────────── */
.bf-gift {
  position: relative;
  border: 1.5px solid var(--teal);
  border-radius: 14px;
  padding: 16px 16px 12px;
  background: var(--cream);
}
.bf-gift__tag {
  position: absolute; top: -11px; left: 14px;
  background: var(--teal); color: #fff; font: 800 10px/1 Inter, sans-serif;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px;
}
.bf-gift legend { font-weight: 700; margin-bottom: 4px; }
.bf-gift .chip.is-hidden { display: none; }
.bf-gift .chip--skip { opacity: 0.7; font-style: italic; }

/* ── 2nd player (preview) ─────────────────────────────────────────────────── */
.bf-gift-player {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1.5px dashed var(--line);
}
.bf-gift-player__status { margin: 0 0 6px; font-weight: 700; color: var(--rose-dark); }
.bf-gift-player__name { margin: 0 0 8px; font-size: 13px; color: var(--ink); opacity: 0.8; }
.bf-gift-player audio { width: 100%; }
.bf-gift-player__note { margin: 6px 0 0; font-size: 12px; opacity: 0.65; }

.bf-gift-delivered__wait,
.bf-gift-delivered__fail { font-size: 14px; }

/* ── Black Friday upsell pre-page (#bfUpsellPanel) ────────────────────────── */
.bf-upsell { max-width: 640px; margin: 0 auto; padding: 24px 20px 48px; }
.bf-upsell__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.bf-upsell__logo { font: 800 18px/1 Inter, sans-serif; color: var(--teal); }
.bf-upsell__tag {
  font: 800 11px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--rose); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.bf-upsell__kicker { font: 700 12px/1 Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rose-dark); }
.bf-upsell__h1 { font-size: clamp(24px, 5vw, 32px); line-height: 1.15; margin: 8px 0 10px; }
.bf-upsell__lede { font-size: 16px; line-height: 1.5; margin: 0 0 18px; }
.bf-upsell__video { margin: 0 0 20px; text-align: center; }
.bf-upsell__video img { max-width: 220px; border-radius: 14px; box-shadow: var(--shadow); }
.bf-upsell__video-note { font-size: 12px; opacity: 0.75; margin-top: 8px; }
.bf-upsell__video-note i {
  display: inline-block; font-style: normal; font-weight: 800; font-size: 10px;
  border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; margin-right: 6px;
}
.bf-upsell__list { padding-left: 20px; margin: 0 0 24px; line-height: 1.6; }
.bf-upsell__karaoke {
  border: 1.5px solid var(--line); border-radius: 14px; padding: 18px; margin: 0 0 20px; text-align: center;
}
.bf-upsell__badge {
  display: inline-block; font: 800 10px/1 Inter, sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--rose); color: #fff; padding: 4px 8px; border-radius: 999px; margin-bottom: 8px;
}
.bf-upsell__karaoke img { max-width: 180px; border-radius: 12px; margin: 10px 0; }
.bf-upsell__price { font-weight: 700; }
.bf-upsell__faq { border-bottom: 1px solid var(--line); padding: 10px 0; }
.bf-upsell__faq summary { cursor: pointer; font-weight: 600; }
.bf-upsell__deadline { margin: 20px 0; font-weight: 700; color: var(--rose-dark); }
.bf-upsell__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bf-upsell__decline {
  background: none; border: none; color: var(--ink); opacity: 0.65; text-decoration: underline;
  cursor: pointer; font-size: 14px;
}
