/* Boba Tea Panda flavor picker — same interaction as KafeKat, blossom theme */
.btp-picker {
  padding: 1rem 0 4.5rem;
  background: linear-gradient(180deg, var(--cream), #f3e9ff 55%, var(--blush));
  scroll-margin-top: calc(var(--nav-h) + 0.35rem);
}
.btp-selected {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 0 0 0.85rem;
  font-weight: 800;
  color: var(--plum);
}
.btp-selected [data-btp-flavorname] {
  display: inline-block;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--flavor-a, var(--blush)) 42%, #fff);
  border: 2px solid var(--flavor-a, var(--lavender));
  font-family: var(--font-display);
  font-size: 1rem;
}

.btp-card {
  position: relative;
  z-index: 1;
  overflow: visible;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 194, 255, 0.5);
  outline: none;
}
.btp-kicker { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum-soft); margin: 0 0 0.35rem; }
.btp-lead { margin: 0 0 1.1rem; color: var(--muted); }
.btp-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  margin: 0 auto 1rem;
  max-width: 420px;
}
.btp-art img {
  width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(60, 20, 80, 0.22));
}
.btp-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(179, 136, 255, 0.2);
  color: var(--btn);
  border: 1px solid rgba(179, 136, 255, 0.45);
}
.btp-kicker, .btp-lead { text-align: center; }
.btp-title {
  text-align: center;
  margin: 0.15rem 0 0.45rem;
  color: var(--plum);
}

.btp-cta, .btp-sharebar { display: flex; justify-content: center; gap: 0.7rem; flex-wrap: wrap; margin: 0.4rem 0 0.9rem; }
a.btn-soon, a.btn-soon[aria-disabled="true"] {
  background: rgba(179, 136, 255, 0.18);
  color: var(--plum);
  border-color: rgba(179, 136, 255, 0.45);
  box-shadow: none;
  pointer-events: none;
  cursor: default;
}
.btp-xshare, .btp-copylink {
  font: inherit; font-weight: 800; font-size: 0.92rem;
  background: transparent; color: var(--btn);
  border: 2px solid var(--lavender); border-radius: 999px;
  padding: 0.5rem 0.95rem; text-decoration: none; cursor: pointer;
}
.btp-xshare:hover, .btp-copylink:hover { background: var(--blush); }
.btp-rail-wrap { margin: 0.5rem 0 0.8rem; }
.btp-rail, .btp-hero-rail {
  display: flex; flex-wrap: nowrap; justify-content: center;
  gap: 0.85rem;
  overflow: visible;
  padding: 0.7rem 0.15rem 0.9rem;
}
.btp-chip {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  background: transparent; border: 0; cursor: pointer;
  color: var(--plum-soft); font: inherit; font-weight: 800; font-size: 0.72rem;
  width: 5.6rem; padding: 0;
}
.btp-chip img {
  width: 72px; height: 72px;
  /* Official icons already include panda ears — do not clip them. */
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 2px 0 rgba(44, 22, 64, 0.08));
}
@media (max-width: 700px) {
  .btp-rail, .btp-hero-rail { gap: 0.3rem; padding: 0.55rem 0 0.8rem; }
  .btp-chip { width: 3.85rem; font-size: 0.62rem; }
  .btp-chip img { width: 56px; height: 56px; }
}
.btp-chip.is-active, .btp-chip[aria-selected="true"] { color: var(--plum); }
.btp-chip.is-active img, .btp-chip[aria-selected="true"] img {
  transform: scale(1.08);
  filter: drop-shadow(0 3px 6px var(--flavor-a, var(--btn)));
}
.btp-hint { text-align: center; color: var(--muted); font-size: 0.92rem; margin: 0; }
.btp-blurb { text-align: center; color: var(--muted); max-width: 42ch; margin: 0.6rem auto 0; }
@media (min-width: 860px) {
  .btp-picker { padding: 2.5rem 0 5.5rem; }
  .btp-card { padding: 2rem 2.2rem 2.2rem; }
  .btp-art { max-width: 460px; min-height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .btp-art img { transition: none; }
}

/* Flavor accent tint lives in the picker, around the swapping panda */
.btp-card, .btp-art { --flavor-a: #f4a6b8; --flavor-b: #e07a95; }
.btp-art { position: relative; }
.btp-art::before {
  content: "";
  position: absolute;
  left: 50%; top: 55%;
  width: 80%; height: 70%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--flavor-a) 0%, var(--flavor-b) 42%, transparent 70%);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
  filter: blur(8px);
}
.btp-art picture, .btp-art img { position: relative; z-index: 1; }
.btp-card {
  box-shadow: var(--shadow), 0 0 0 2px color-mix(in srgb, var(--flavor-a) 35%, transparent);
  transition: box-shadow 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .btp-art::before { filter: none; }
}

/* Sakura scene: square art in a rounded, flavor-tinted frame */
.btp-art--scene {
  width: 100%;
  max-width: 420px;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius, 28px);
  background: #f7eef5;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 18px 28px rgba(60, 20, 80, 0.22),
    0 0 0 3px color-mix(in srgb, var(--flavor-a, var(--lavender)) 55%, #fff),
    0 0 28px color-mix(in srgb, var(--flavor-a, var(--blush)) 40%, transparent);
  transition: box-shadow 0.35s ease;
}
.btp-art--scene picture {
  display: block;
  width: 100%;
  height: 100%;
}
.btp-art--scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  display: block;
  border-radius: 0;
  transition: opacity 0.2s ease;
}
.btp-art--scene::before { content: none; }
@media (min-width: 860px) {
  .btp-art--scene { max-width: 460px; }
}
