/* Studio */
.studio-hero { padding-top: 4px; }
.studio-hero .display { margin: 4px 0 6px; }

/* ——— Layout 3｜双层渐变叠加 + 底部波浪反向外翻 ——— */
.glow-wave-shell {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.glow-wave-base {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, #FFE8F0 0%, #FFF0F5 40%, #FFF8F6 78%, #FFF8F6 100%);
}
.glow-spot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.glow-spot-hi {
  opacity: 0.55;
}
.glow-spot-lo {
  opacity: 0.22;
}
.glow-spot-a {
  width: 168px; height: 168px;
  top: calc(-20px + var(--safe-top)); left: -36px;
  background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,192,214,.35) 42%, transparent 70%);
}
.glow-spot-b {
  width: 130px; height: 130px;
  top: calc(12px + var(--safe-top)); right: -18px;
  background: radial-gradient(circle, rgba(255,255,255,.75) 0%, rgba(244,63,122,.18) 45%, transparent 72%);
}
.glow-spot-c {
  width: 96px; height: 96px;
  top: calc(54px + var(--safe-top)); left: 40%;
  background: radial-gradient(circle, rgba(255,255,255,.65) 0%, transparent 70%);
}
.glow-spot-d {
  width: 200px; height: 200px;
  top: 8%; left: -50px;
  background: radial-gradient(circle, rgba(244,63,122,.14) 0%, transparent 70%);
}
.glow-spot-e {
  width: 150px; height: 150px;
  top: 28%; right: -40px;
  background: radial-gradient(circle, rgba(255,255,255,.35) 0%, rgba(255,192,214,.12) 50%, transparent 72%);
}

.glow-topbar {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(14px + var(--safe-top)) 20px 12px;
  background: transparent;
}
.glow-topbar-float {
  margin-bottom: -10px;
}
.glow-mast-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(28,20,24,.55);
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}
.glow-mast-title {
  flex: 1;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.glow-mast-action {
  flex-shrink: 0;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F8 100%) !important;
  color: #B01D4F !important;
  border: 1.5px solid rgba(244,63,122,0.28) !important;
  box-shadow: 0 4px 14px rgba(244,63,122,0.14);
  font-size: 13px;
  font-weight: 700;
}
.glow-topbar .wallet-pill {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F8 100%);
  border: 1.5px solid rgba(244,63,122,0.28);
  box-shadow: 0 4px 14px rgba(244,63,122,0.14);
}

.glow-wave-lower {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-top: -4px;
  overflow: hidden;
  background: transparent;
}
.glow-wave-fill {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 -6px 16px rgba(244,63,122,0.12));
}
.glow-wave-lo-spots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.glow-scroll-wave {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  padding: 28px 20px calc(24px + var(--tab-h) + var(--safe-bottom)) !important;
  background: transparent;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.template-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0;
  padding: 6px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Allow vertical page scroll when finger starts on rail images */
  touch-action: manipulation;
  overscroll-behavior-x: contain;
}
.template-rail::-webkit-scrollbar { display: none; width: 0; height: 0; }
.template-card {
  flex: 0 0 158px;
  scroll-snap-align: start;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(237,224,221,0.9);
  box-shadow: 0 2px 4px rgba(28,20,24,0.03), 0 12px 28px rgba(244,63,122,0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.template-card:active {
  transform: scale(0.97);
  box-shadow: 0 1px 2px rgba(28,20,24,0.04), 0 6px 14px rgba(244,63,122,0.08);
}
.template-card .preview {
  position: relative;
  height: 152px;
  background: var(--rose-mist);
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  overflow: hidden;
}
.template-card .preview-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.template-card .preview-label {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 10px rgba(28,20,24,0.5);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
}
.template-card .preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(28,20,24,0.58) 100%);
  pointer-events: none;
}
.template-card .preview.ba {
  background: linear-gradient(90deg, #E8D5CF 50%, #F7E8EC 50%);
}
.template-card .preview.mag {
  background: linear-gradient(160deg, #1C1418 0%, #6E5C64 100%);
  color: #fff;
}
.template-card .preview.grwm {
  background: linear-gradient(180deg, #FFE4EE, #FFF8F6);
}
.template-card .body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 78px;
}
.template-card .body .meta {
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-secondary);
}
.template-card .use {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF6B9A 0%, var(--rose) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(244,63,122,0.28);
}

.sample-rail {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 -4px;
  padding: 10px 4px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: manipulation;
  overscroll-behavior-x: contain;
}
.sample-rail::-webkit-scrollbar { display: none; width: 0; height: 0; }

.featured-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.featured-head-note {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #B01D4F;
  opacity: 0.75;
}

/* Featured Looks — editorial tear-sheet / lookboard cards */
.looksheet {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: inherit;
  transition: transform 180ms ease;
}
.looksheet:active { transform: scale(0.975); }
.looksheet-frame {
  position: relative;
  width: 168px;
  height: 236px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: var(--surface-2);
  box-shadow:
    0 2px 4px rgba(28,20,24,0.04),
    0 18px 36px rgba(244,63,122,0.14);
}
.looksheet-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}
.looksheet-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(28,20,24,0.22) 0%, transparent 28%, transparent 48%, rgba(28,20,24,0.55) 100%);
}
.looksheet-index {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 34px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #B01D4F;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 6px 16px rgba(28,20,24,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.looksheet-stamp {
  position: absolute;
  top: 14px;
  right: 10px;
  z-index: 2;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 8px rgba(28,20,24,0.35);
}
.looksheet-plate {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 12px 12px 11px;
  border-radius: 16px;
  background: rgba(255,248,246,0.88);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: 0 10px 24px rgba(28,20,24,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.looksheet-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.looksheet-foot {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.looksheet-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B01D4F;
}
.looksheet-go {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FF6B9A 0%, var(--rose) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(244,63,122,0.28);
}

/* Rhythm variants — staggered editorial pacing */
.looksheet--hero .looksheet-frame {
  width: 188px;
  height: 268px;
  border-radius: 26px;
}
.looksheet--hero .looksheet-title { font-size: 24px; }
.looksheet--tilt .looksheet-frame {
  width: 156px;
  height: 224px;
  transform: rotate(-1.5deg);
  box-shadow:
    0 2px 4px rgba(28,20,24,0.04),
    0 16px 32px rgba(244,63,122,0.16);
}
.looksheet--tilt:active .looksheet-frame { transform: rotate(-1.5deg) scale(0.98); }
.looksheet--wide .looksheet-frame {
  width: 200px;
  height: 210px;
  border-radius: 20px;
}
.looksheet--wide .looksheet-plate {
  left: 0; right: 0; bottom: 0;
  border-radius: 0;
  border-left: 0; border-right: 0; border-bottom: 0;
  background: linear-gradient(180deg, rgba(255,248,246,0.55) 0%, rgba(255,248,246,0.94) 40%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
}
.looksheet--tall .looksheet-frame {
  width: 148px;
  height: 248px;
}
.looksheet--tall .looksheet-plate {
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
  padding-top: 18px;
}

.look-ed-cover,
.looksheet-cover,
.template-card .preview-photo,
.detail-hero {
  -webkit-user-drag: none;
  touch-action: manipulation;
}
.looksheet,
.template-card,
.look-ed {
  touch-action: manipulation;
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 24px 0 12px;
}

/* Looks — editorial magazine image list */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
  padding-bottom: 8px;
}
.look-ed {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-2);
  isolation: isolate;
  box-shadow: 0 10px 28px rgba(28,20,24,0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.look-ed:active {
  transform: scale(0.985);
  box-shadow: 0 6px 16px rgba(28,20,24,0.08);
}
.look-ed-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-2);
}
.look-ed-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(28,20,24,0.08) 0%,
      transparent 28%,
      transparent 48%,
      rgba(28,20,24,0.55) 100%);
}
.look-ed-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 16px 16px 18px;
  color: #fff;
  pointer-events: none;
}
.look-ed-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin-bottom: 6px;
  text-shadow: 0 1px 8px rgba(28,20,24,0.35);
}
.look-ed-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 2px 14px rgba(28,20,24,0.4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.look-ed-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 6px rgba(28,20,24,0.35);
}
.look-ed-meta .dot { opacity: 0.7; }

/* Immersive hero — full-bleed magazine cover */
.look-ed--hero {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 4;
  min-height: 420px;
  max-height: 68vh;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(28,20,24,0.12);
}
.look-ed--hero .look-ed-copy { padding: 22px 20px 24px; }
.look-ed--hero .look-ed-title { font-size: 34px; }
.look-ed--hero .look-ed-kicker { font-size: 11px; margin-bottom: 8px; }
.look-ed--hero .look-ed-meta { font-size: 12px; margin-top: 10px; }
.look-ed--hero .look-ed-veil {
  background:
    linear-gradient(180deg,
      rgba(28,20,24,0.12) 0%,
      transparent 32%,
      rgba(28,20,24,0.25) 62%,
      rgba(28,20,24,0.72) 100%);
}

/* Pair tiles — tall artistic thumbs */
.look-ed--tall {
  aspect-ratio: 3 / 4.2;
}
.look-ed--tall .look-ed-title { font-size: 18px; }
.look-ed--tall .look-ed-copy { padding: 12px 12px 14px; }

/* Editorial spread — wide cinematic frame */
.look-ed--spread {
  grid-column: 1 / -1;
  aspect-ratio: 5 / 4;
  border-radius: 22px;
}
.look-ed--spread .look-ed-title { font-size: 28px; }
.look-ed--spread .look-ed-copy { padding: 18px 18px 20px; }

.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 -4px 4px;
  padding: 2px 4px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: manipulation;
}
.filter-bar::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* legacy look-card kept for any leftover refs */
.look-card {
  break-inside: avoid;
  margin-bottom: 12px;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
}

/* Detail — magazine feature */
.detail-scroll {
  padding: 0 !important;
  background: var(--canvas);
}
.detail-hero-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 72vh;
  overflow: hidden;
  background: var(--surface-2);
}
.detail-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(28,20,24,0.28) 0%, transparent 28%, transparent 62%, rgba(28,20,24,0.18) 100%);
}
.detail-chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + var(--safe-top)) 16px 12px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: 0 8px 22px rgba(28,20,24,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  transition: transform 140ms ease, box-shadow 160ms ease;
}
.icon-btn:active { transform: scale(0.96); }
.icon-btn img {
  width: 20px;
  height: 20px;
  display: block;
}
.icon-btn-fill {
  background: linear-gradient(180deg, #FF6B9A 0%, var(--rose) 100%);
  border-color: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(244,63,122,0.32);
  padding: 0 16px 0 14px;
}
.icon-btn-fill img {
  filter: brightness(0) invert(1);
}
.detail-sheet {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  background: transparent;
}
.detail-sheet-wave {
  height: 28px;
  margin-bottom: -1px;
  background: var(--canvas);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 28' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 28V14C48 4 96 0 146 4s98 18 146 18 74-8 98-14v20H0z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 28' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 28V14C48 4 96 0 146 4s98 18 146 18 74-8 98-14v20H0z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.detail-sheet-inner {
  background: var(--canvas);
  padding: 4px 20px calc(28px + var(--safe-bottom));
}
.detail-handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--divider);
  margin: 0 auto 18px;
}
.detail-title {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.detail-breakdown {
  background: var(--paper);
  border-radius: 18px;
  padding: 4px 16px;
  border: 1px solid rgba(237,224,221,0.95);
  box-shadow: 0 8px 24px rgba(244,63,122,0.06);
  margin-bottom: 4px;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--divider);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-row .label {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.detail-caption,
.detail-review {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}
.detail-actions {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.detail-action {
  width: 100%;
  min-height: 50px;
}
.btn-ico {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}
.btn-primary .btn-ico {
  filter: brightness(0) invert(1);
}
.product-tile {
  background: var(--paper);
  border-radius: 16px;
  padding: 14px 14px;
  border: 1px solid rgba(237,224,221,0.95);
  box-shadow: 0 6px 18px rgba(244,63,122,0.06);
  margin-bottom: 10px;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Beauty Lab — atelier catalog */
.lab-intro {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92) 0%, rgba(255,240,245,0.95) 100%);
  border: 1px solid rgba(237,224,221,0.95);
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 28px rgba(244,63,122,0.07);
  margin-bottom: 22px;
}
.lab-intro-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B01D4F;
}
.lab-intro-copy {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lab-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 14px;
}
.lab-section-sub {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
}
.lab-count {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: #B01D4F;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(244,63,122,0.12);
}
.lab-product {
  position: relative;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(237,224,221,0.95);
  box-shadow: 0 8px 22px rgba(244,63,122,0.07);
  min-height: 148px;
  display: flex;
  flex-direction: column;
  padding: 0;
  color: inherit;
  transition: transform 140ms ease, box-shadow 160ms ease;
}
.lab-product:active {
  transform: scale(0.98);
  box-shadow: 0 4px 14px rgba(244,63,122,0.1);
}
.lab-product-swatch {
  height: 52px;
  width: 100%;
  background: var(--rose);
}
.lab-product-body {
  padding: 12px 13px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lab-product-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.lab-product-name {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.lab-product-meta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.lab-product-cta {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #B01D4F;
}
.lab-empty {
  margin-top: 8px;
  padding: 28px 18px;
  text-align: center;
  background: rgba(255,255,255,0.55);
  border-radius: 18px;
  border: 1px dashed rgba(237,224,221,0.98);
}
.lab-note-composer {
  background: var(--paper);
  border-radius: 20px;
  padding: 14px;
  border: 1px solid rgba(237,224,221,0.95);
  box-shadow: 0 10px 28px rgba(244,63,122,0.06);
}
.lab-note-field {
  min-height: 110px !important;
  background: var(--surface-1) !important;
}
.lab-notes {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lab-note-card {
  position: relative;
  background: var(--paper);
  border-radius: 18px;
  padding: 16px 16px 16px 18px;
  border: 1px solid rgba(237,224,221,0.95);
  box-shadow: 0 6px 18px rgba(244,63,122,0.05);
  overflow: hidden;
}
.lab-note-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #FF6B9A, var(--rose));
}
.lab-note-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}
.lab-note-text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.lab-notes-empty {
  text-align: center;
  padding: 18px 8px 8px;
}

/* Editor */
.editor-preview {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 16px;
  background: var(--surface-2);
}
.ba-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  touch-action: none;
}
.ba-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-stage .after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--rose);
  transform: translate(-50%, -50%);
}
.mic-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: 0 6px 16px rgba(244, 63, 122, 0.12);
  transition: transform 140ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.mic-btn.recording {
  background: linear-gradient(180deg, #FF6B9A 0%, var(--rose) 100%);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(244, 63, 122, 0.18), 0 8px 20px rgba(244, 63, 122, 0.28);
  animation: micPulse 1.1s ease-in-out infinite;
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(244, 63, 122, 0.16), 0 8px 20px rgba(244, 63, 122, 0.28); }
  50% { box-shadow: 0 0 0 10px rgba(244, 63, 122, 0.08), 0 8px 20px rgba(244, 63, 122, 0.28); }
}

/* Lab / Profile */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.stat {
  background: var(--paper);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(28,20,24,0.04), 0 8px 24px rgba(244,63,122,0.06);
}
.stat .n {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
}
.timeline-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--divider);
}
.timeline-item img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface-2);
}
.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-secondary);
}
.empty .display { margin-bottom: 8px; color: var(--ink); }

/* Legal — editorial welcome gate */
#screen-legal {
  position: relative;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: calc(24px + var(--safe-top)) 22px calc(28px + var(--safe-bottom));
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(244, 63, 122, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 80%, rgba(255, 228, 238, 0.9), transparent 50%),
    radial-gradient(ellipse 60% 45% at 0% 70%, rgba(243, 232, 255, 0.45), transparent 45%),
    linear-gradient(165deg, #FFF5F8 0%, #FFF8F6 42%, #FBF3F1 100%);
}
.legal-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.legal-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.85;
  animation: legalFloat 8s ease-in-out infinite;
}
.legal-orb-a {
  width: 220px;
  height: 220px;
  top: 8%;
  right: -48px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 90, 143, 0.45), rgba(255, 228, 238, 0.1) 70%, transparent);
}
.legal-orb-b {
  width: 180px;
  height: 180px;
  bottom: 12%;
  left: -40px;
  background: radial-gradient(circle at 60% 40%, rgba(194, 24, 91, 0.18), rgba(255, 240, 245, 0.05) 65%, transparent);
  animation-delay: -2.5s;
}
.legal-orb-c {
  width: 120px;
  height: 120px;
  top: 42%;
  left: 58%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 70%);
  animation-delay: -4s;
  animation-duration: 10s;
}
.legal-glow {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 28%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.55), transparent 70%);
}

.legal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #FFFFFF 100%);
  border-radius: 28px;
  padding: 28px 24px 22px;
  border: 1px solid rgba(244, 63, 122, 0.10);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 48px rgba(244, 63, 122, 0.12),
    0 8px 24px rgba(28, 20, 24, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.legal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF5A8F 0%, #F43F7A 45%, #FFE4EE 100%);
}
.legal-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 228, 238, 0.7), transparent 70%);
  pointer-events: none;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.legal-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, #FFE4EE 0%, #FFD6E6 45%, #F43F7A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(244, 63, 122, 0.25);
  flex-shrink: 0;
}
.legal-mark-petal {
  width: 18px;
  height: 26px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: #fff;
  box-shadow: 6px 0 0 -2px rgba(255, 255, 255, 0.55);
  transform: rotate(-18deg);
}
.legal-kicker {
  margin: 0 0 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #B01D4F;
}
.legal-title {
  margin: 0;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.legal-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.legal-divider {
  height: 1px;
  margin: 20px 0 16px;
  background: linear-gradient(90deg, rgba(244, 63, 122, 0.35), rgba(237, 224, 221, 0.4) 40%, transparent);
}

.legal-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 14px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.legal-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.legal-box {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  flex-shrink: 0;
  border-radius: 7px;
  border: 1.5px solid #E8C9D4;
  background: #FFF8F6;
  box-shadow: inset 0 1px 2px rgba(28, 20, 24, 0.04);
  position: relative;
  transition: background 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.legal-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 140ms ease;
}
.legal-check input:checked + .legal-box {
  background: linear-gradient(180deg, #FF5A8F, #F43F7A);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(244, 63, 122, 0.35);
}
.legal-check input:checked + .legal-box::after {
  transform: rotate(45deg) scale(1);
}
.legal-check:active .legal-box {
  transform: scale(0.94);
}
.legal-check-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
  font-weight: 500;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  flex-wrap: wrap;
}
.legal-links a {
  color: var(--rose);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 0;
}
.legal-links a:active { opacity: 0.7; }
.legal-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #E8C9D4;
}

.legal-cta {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(244, 63, 122, 0.28);
}
.legal-cta:disabled {
  opacity: 0.38;
  box-shadow: none;
  transform: none;
}
.legal-footnote {
  margin: 14px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

@keyframes legalFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.04); }
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.nav-back {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(237,224,221,0.95);
  box-shadow: 0 6px 16px rgba(28,20,24,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--ink);
  line-height: 1;
}
.wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFF0F5 0%, var(--rose-soft) 100%);
  color: #B01D4F;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(244,63,122,0.18);
  box-shadow: 0 3px 10px rgba(244,63,122,0.12);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.compare-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 14px;
  background: var(--surface-2);
}

/* ===== Profile (TAB4) — identity + petals + journey ===== */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 4px 0 18px;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #B01D4F;
  background:
    radial-gradient(circle at 32% 28%, #FFFFFF 0%, #FFE4EE 48%, #FFC2D8 100%);
  box-shadow:
    0 0 0 2px var(--rose-soft),
    0 10px 24px rgba(244, 63, 122, 0.16);
}
.profile-avatar img {
  width: 34px;
  height: 34px;
  display: block;
}
.profile-hero-copy {
  width: 100%;
}
.profile-name {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}
.profile-bio {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
  max-width: 28em;
}

.petal-wallet-card {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 14px;
  margin: 0 0 18px;
  text-align: left;
  border: 1px solid rgba(244, 63, 122, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, #FFFFFF 0%, #FFF5F8 55%, #FFE4EE 100%);
  box-shadow: 0 10px 28px rgba(244, 63, 122, 0.12);
  color: var(--ink);
  transition: transform 140ms ease, box-shadow 160ms ease;
}
.petal-wallet-card:active {
  transform: scale(0.985);
  box-shadow: 0 6px 18px rgba(244, 63, 122, 0.1);
}
.petal-wallet-ico {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FF6B9A 0%, var(--rose) 100%);
  box-shadow: 0 8px 18px rgba(244, 63, 122, 0.28);
}
.petal-wallet-ico img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
.petal-wallet-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B01D4F;
}
.petal-wallet-bal {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.petal-wallet-cta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 8px 10px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(244, 63, 122, 0.18);
  color: #B01D4F;
  font-size: 12px;
  font-weight: 700;
}
.petal-wallet-cta img {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 22px;
}
.profile-stat {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(237, 224, 221, 0.9);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(28, 20, 24, 0.03);
}
.profile-stat-n {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.profile-stat-l {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.profile-journey {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.journey-card {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  text-align: left;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(237, 224, 221, 0.95);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(244, 63, 122, 0.05);
  color: var(--ink);
  transition: transform 140ms ease;
}
.journey-card:active { transform: scale(0.985); }
.journey-card img:first-child {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--surface-2);
}
.journey-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.journey-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.journey-style {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}
.journey-chev {
  width: 18px;
  height: 18px;
  opacity: 0.45;
}

/* ===== Petal Shop (independent page) ===== */
#screen-shop {
  background: var(--canvas);
}
.shop-scroll {
  padding: calc(12px + var(--safe-top)) 20px calc(28px + var(--safe-bottom)) !important;
}
.shop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.shop-top .icon-btn {
  background: var(--paper);
  border: 1px solid rgba(237, 224, 221, 0.95);
  box-shadow: 0 4px 14px rgba(28, 20, 24, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  min-width: 44px;
}
.shop-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.shop-balance-card {
  padding: 18px 18px 16px;
  margin-bottom: 22px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, #1C1418 0%, #3A2430 55%, #B01D4F 140%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(28, 20, 24, 0.22);
}
.shop-balance-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}
.shop-balance-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}
.shop-balance-ico {
  width: 22px;
  height: 22px;
  align-self: center;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.shop-balance-n {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.shop-balance-unit {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.75;
}
.shop-balance-hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.7;
}
.shop-catalog {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.shop-pack {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 12px 12px;
  text-align: left;
  border-radius: 20px;
  background:
    linear-gradient(135deg, #FFFFFF 0%, #FFF9FA 100%);
  border: 1px solid rgba(237, 224, 221, 0.95);
  box-shadow: 0 8px 22px rgba(244, 63, 122, 0.07);
  color: var(--ink);
  transition: transform 140ms ease, box-shadow 160ms ease;
  position: relative;
  overflow: hidden;
}
.shop-pack::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #FFC2D8, var(--rose));
  opacity: 0.55;
}
.shop-pack:active {
  transform: scale(0.985);
  box-shadow: 0 4px 14px rgba(244, 63, 122, 0.1);
}
.shop-pack-orb {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, #FFFFFF 0%, #FFE4EE 45%, #FFC2D8 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.7),
    0 8px 16px rgba(244, 63, 122, 0.14);
  flex-shrink: 0;
}
.shop-pack-orb img {
  width: 26px;
  height: 26px;
  opacity: 0.9;
}
.shop-pack-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shop-pack-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B01D4F;
  background: var(--rose-soft);
}
.shop-pack-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.shop-pack-meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
}
.shop-pack-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.shop-pack-price {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #B01D4F;
}
.shop-pack-buy {
  min-height: 34px;
  min-width: 58px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FF6B9A 0%, var(--rose) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(244, 63, 122, 0.28);
}

/* Popular */
.shop-pack--popular {
  border-color: rgba(244, 63, 122, 0.22);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F8 100%);
}
.shop-pack--popular .shop-pack-badge {
  background: rgba(244, 63, 122, 0.12);
  color: #B01D4F;
}

/* Best value */
.shop-pack--best {
  border-color: rgba(244, 63, 122, 0.32);
  box-shadow: 0 12px 28px rgba(244, 63, 122, 0.14);
}
.shop-pack--best::before {
  width: 4px;
  opacity: 1;
  background: linear-gradient(180deg, #FF6B9A, #C2185B);
}
.shop-pack--best .shop-pack-badge {
  background: linear-gradient(180deg, #FF6B9A 0%, var(--rose) 100%);
  color: #fff;
}
.shop-pack--best .shop-pack-orb {
  background:
    radial-gradient(circle at 30% 25%, #FFFFFF 0%, #FFC2D8 50%, #F43F7A 120%);
}
.shop-pack--best .shop-pack-orb img { filter: brightness(0) invert(1); opacity: 0.95; }

/* Promo / Sale */
.shop-pack--promo {
  background:
    linear-gradient(135deg, #FFF8F6 0%, #FFE4EE 55%, #FFF0F5 100%);
  border-color: rgba(244, 63, 122, 0.2);
}
.shop-pack--promo .shop-pack-badge {
  background: #1C1418;
  color: #FFE4EE;
}
.shop-pack--promo .shop-pack-price {
  font-size: 17px;
}
.shop-pack--promo.shop-pack--best .shop-pack-badge {
  background: linear-gradient(180deg, #FF6B9A 0%, var(--rose) 100%);
  color: #fff;
}
