body.bg-halloween-pumpkin-witch {
  --fg: #fff7ed;
  --fg-muted: #d6c8bb;
  --border: rgba(244, 238, 227, 0.42);
  --hp-primary: #ff6a00;
  --hp-accent: #f4eee3;
  --primary: #ff6a00;
  --accent: #f4eee3;
  --hp-bg: #090909;
  --hp-bg-elevated: #211914;
  --bg-deep: #050505;
  --hp-card-fg: #fff7ed;
  --hp-card-muted: #d6c8bb;
  --hp-card-accent: #e3b7ff;
  --hp-form-panel-bg: #211914;
  --hp-form-panel-fg: #fff7ed;
  --hp-field-bg: #100d0b;
  --hp-field-fg: #fff7ed;
  --hp-electric-purple: #e3b7ff;
  --hp-soft-purple: #f0ddff;
  --hp-action-fg: #160901;
  --hp-preview-bg: #211914;
  --hp-preview-fg: #fff7ed;
  --hp-preview-muted: #f0ddff;
  background:
    radial-gradient(circle at 78% 12%, rgba(244, 238, 227, 0.11), transparent 26rem),
    radial-gradient(circle at 18% 35%, rgba(255, 106, 0, 0.12), transparent 30rem),
    #090909;
  color: #fff7ed;
}

/* The four scene stars replace the generic full-page glitter field. */
body.bg-halloween-pumpkin-witch .hp-fx-layer { display: none; }

body.bg-halloween-pumpkin-witch .hp-header,
body.bg-halloween-pumpkin-witch .tp-header,
body.bg-halloween-pumpkin-witch .jp-header,
body.bg-halloween-pumpkin-witch .hp-sticky-stack {
  background: rgba(5, 5, 5, 0.91);
  border-color: rgba(244, 238, 227, 0.2);
  color: #fff7ed;
  backdrop-filter: blur(18px);
}

body.bg-halloween-pumpkin-witch .hp-ticker,
body.bg-halloween-pumpkin-witch .tp-ticker,
body.bg-halloween-pumpkin-witch .jp-ticker,
body.bg-halloween-pumpkin-witch .hp-dance-ticker,
body.bg-halloween-pumpkin-witch .hp-live-rail {
  background: linear-gradient(90deg, #050505, #2a1206 44%, #050505);
  border-color: rgba(255, 106, 0, 0.38);
  color: #fff7ed;
}

body.bg-halloween-pumpkin-witch .hp-ticker-row:not(.reverse) .hp-ticker-label {
  background: linear-gradient(90deg, #211914 0%, #211914 70%, rgba(33, 25, 20, 0) 100%);
  color: #fff7ed;
}

body.bg-halloween-pumpkin-witch .hp-trade-preview {
  border-color: rgba(244, 238, 227, 0.28);
}

body.bg-halloween-pumpkin-witch .hp-hero,
body.bg-halloween-pumpkin-witch .tp-hero,
body.bg-halloween-pumpkin-witch .jp-hero,
body.bg-halloween-pumpkin-witch .mhf-hero,
body.bg-halloween-pumpkin-witch .bwb-hero,
body.bg-halloween-pumpkin-witch .bk-home-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(640px, 42.7vw, 820px);
  overflow: hidden;
  background: #050505;
  color: #fff7ed;
}

body.bg-halloween-pumpkin-witch .hp-hero::before,
body.bg-halloween-pumpkin-witch .tp-hero::before,
body.bg-halloween-pumpkin-witch .jp-hero::before,
body.bg-halloween-pumpkin-witch .mhf-hero::before,
body.bg-halloween-pumpkin-witch .bwb-hero::before,
body.bg-halloween-pumpkin-witch .bk-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #050505 url("/amethyst/skins/halloween-pumpkin-witch/hero-desktop.webp?v=20260928-onyx") center / cover no-repeat;
  transform: scale(1.015);
}

body.bg-halloween-pumpkin-witch .hp-hero::after,
body.bg-halloween-pumpkin-witch .tp-hero::after,
body.bg-halloween-pumpkin-witch .jp-hero::after,
body.bg-halloween-pumpkin-witch .mhf-hero::after,
body.bg-halloween-pumpkin-witch .bwb-hero::after,
body.bg-halloween-pumpkin-witch .bk-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.14), transparent 30%);
  pointer-events: none;
}

body.bg-halloween-pumpkin-witch .hp-hero > :not(.hpw-decoration),
body.bg-halloween-pumpkin-witch .tp-hero > :not(.hpw-decoration),
body.bg-halloween-pumpkin-witch .jp-hero > :not(.hpw-decoration),
body.bg-halloween-pumpkin-witch .mhf-hero > :not(.hpw-decoration),
body.bg-halloween-pumpkin-witch .bwb-hero > :not(.hpw-decoration),
body.bg-halloween-pumpkin-witch .bk-home-hero > :not(.hpw-decoration) {
  position: relative;
  z-index: 4;
}

body.bg-halloween-pumpkin-witch .hp-hero h1,
body.bg-halloween-pumpkin-witch .tp-hero h1,
body.bg-halloween-pumpkin-witch .jp-hero h1 {
  color: #ff9a3d;
  text-shadow: 0 2px 5px #000;
}

body.bg-halloween-pumpkin-witch .hp-hero-sub,
body.bg-halloween-pumpkin-witch .tp-hero-sub,
body.bg-halloween-pumpkin-witch .jp-hero-sub {
  max-width: 44ch;
  color: #f7e9d8;
  text-shadow: 0 2px 18px #000;
}

body.bg-halloween-pumpkin-witch .hp-eyebrow,
body.bg-halloween-pumpkin-witch .tp-eyebrow,
body.bg-halloween-pumpkin-witch .jp-eyebrow {
  color: #ffb36e;
}

body.bg-halloween-pumpkin-witch .hp-btn-primary,
body.bg-halloween-pumpkin-witch .tp-btn-primary,
body.bg-halloween-pumpkin-witch .jp-btn-primary,
body.bg-halloween-pumpkin-witch button[type="submit"] {
  background: linear-gradient(135deg, #ffab58, #ff8a1f 58%, #ef761f);
  border-color: #ffbc7d;
  color: #160901;
  box-shadow: 0 10px 30px rgba(255, 106, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.42);
}

body.bg-halloween-pumpkin-witch .hp-btn-secondary,
body.bg-halloween-pumpkin-witch .tp-btn-secondary,
body.bg-halloween-pumpkin-witch .jp-btn-secondary {
  background: rgba(7, 7, 7, 0.72);
  border-color: rgba(244, 238, 227, 0.58);
  color: #fff7ed;
}

body.bg-halloween-pumpkin-witch .hp-btn-primary:hover,
body.bg-halloween-pumpkin-witch .tp-btn-primary:hover,
body.bg-halloween-pumpkin-witch .jp-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 42px rgba(255, 106, 0, 0.48), 0 0 24px rgba(244, 238, 227, 0.2);
}

body.bg-halloween-pumpkin-witch .hp-section,
body.bg-halloween-pumpkin-witch .tp-board,
body.bg-halloween-pumpkin-witch .jp-section,
body.bg-halloween-pumpkin-witch .hp-footer {
  color: #fff7ed;
}

body.bg-halloween-pumpkin-witch .hp-card,
body.bg-halloween-pumpkin-witch .hp-event-card,
body.bg-halloween-pumpkin-witch .tp-card,
body.bg-halloween-pumpkin-witch .tp-dancer-card,
body.bg-halloween-pumpkin-witch .jp-card,
body.bg-halloween-pumpkin-witch .jp-benefit,
body.bg-halloween-pumpkin-witch .jp-team-card,
body.bg-halloween-pumpkin-witch .hp-signup-card,
body.bg-halloween-pumpkin-witch .hp-unsubscribe-card,
body.surface-midnight-glass .hp-card,
body.surface-midnight-glass .tp-card,
body.surface-midnight-glass .jp-card {
  background:
    linear-gradient(145deg, rgba(41, 26, 18, 0.92), rgba(7, 7, 7, 0.9)),
    rgba(10, 10, 10, 0.92);
  border-color: rgba(244, 238, 227, 0.28);
  color: #fff7ed;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 106, 0, 0.1);
  backdrop-filter: blur(14px);
}

body.bg-halloween-pumpkin-witch :is(input, select, textarea) {
  background: rgba(5, 5, 5, 0.78);
  border-color: rgba(244, 238, 227, 0.38);
  color: #fff7ed;
}

body.bg-halloween-pumpkin-witch :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #f4eee3;
  outline-offset: 3px;
}

/* High-contrast semantic colors for the charcoal and brown Halloween surfaces. */
body.bg-halloween-pumpkin-witch .hp-brand-name,
body.bg-halloween-pumpkin-witch .hp-section-sub,
body.bg-halloween-pumpkin-witch .hp-event-name,
body.bg-halloween-pumpkin-witch .hp-event-section-title,
body.bg-halloween-pumpkin-witch .tp-card-name,
body.bg-halloween-pumpkin-witch .jp-benefit-title,
body.bg-halloween-pumpkin-witch .jp-faq-q {
  color: var(--hp-electric-purple);
}

body.bg-halloween-pumpkin-witch .hp-ticker-label,
body.bg-halloween-pumpkin-witch .hp-trade-preview-updated,
body.bg-halloween-pumpkin-witch .hp-event-code-row .dash,
body.bg-halloween-pumpkin-witch .hp-event-code-row .desc,
body.bg-halloween-pumpkin-witch .hp-customer-media-empty,
body.bg-halloween-pumpkin-witch .jp-section-sub,
body.bg-halloween-pumpkin-witch .jp-benefit-desc,
body.bg-halloween-pumpkin-witch .jp-faq-answer,
body.bg-halloween-pumpkin-witch .jp-faq-note {
  color: var(--hp-soft-purple);
}

body.bg-halloween-pumpkin-witch .hp-header-link,
body.bg-halloween-pumpkin-witch .hp-ticker-item,
body.bg-halloween-pumpkin-witch .hp-trade-preview-head,
body.bg-halloween-pumpkin-witch .hp-trade-preview-pill,
body.bg-halloween-pumpkin-witch .hp-trade-preview-pill .meta,
body.bg-halloween-pumpkin-witch .hp-trade-preview-pill .name,
body.bg-halloween-pumpkin-witch .hp-event-code-text strong,
body.bg-halloween-pumpkin-witch .hp-event-add,
body.bg-halloween-pumpkin-witch .tp-filter-toggle,
body.bg-halloween-pumpkin-witch .tp-filter-pill:not(.active),
body.bg-halloween-pumpkin-witch .hp-signup-check,
body.bg-halloween-pumpkin-witch .hp-unsubscribe-toggle,
body.bg-halloween-pumpkin-witch .jp-faq-item button {
  color: #fff7ed;
}

body.bg-halloween-pumpkin-witch .hp-trade-preview-pill .pos,
body.bg-halloween-pumpkin-witch .hp-event-pill {
  color: #160901;
}

body.bg-halloween-pumpkin-witch .hp-about-body p,
body.bg-halloween-pumpkin-witch .hp-footer :is(p, a, span) {
  color: #eadfd4;
}

body.bg-halloween-pumpkin-witch .hp-footer-tag,
body.bg-halloween-pumpkin-witch .hp-footer-brand {
  color: #fff7ed;
}

body.bg-halloween-pumpkin-witch .hp-signup-preferences,
body.bg-halloween-pumpkin-witch .hp-signup-preferences :is(strong, span, p, label) {
  color: var(--hp-form-panel-fg);
}

/* Self-contained action surfaces stay legible over the illustrated scene. */
body.bg-halloween-pumpkin-witch :is(.hp-btn-outline,.tp-btn-outline,.jp-btn-outline) {
  background: #140e0b;
  color: #fff7ed;
  border: 1px solid #bda28c;
  min-height: 44px;
  font-weight: 600;
  text-shadow: none;
}
body.bg-halloween-pumpkin-witch :is(.hp-btn-outline,.tp-btn-outline,.jp-btn-outline):hover {
  background: #322116;
  border-color: #ffbc7d;
  color: #fff7ed;
}
body.bg-halloween-pumpkin-witch .hp-event-platform {
  background: linear-gradient(135deg, #ffab58, #ff8a1f);
  color: #160901;
  border: 1px solid #ffbc7d;
  min-height: 44px;
  font-weight: 700;
  text-shadow: none;
}
body.bg-halloween-pumpkin-witch .hp-event-platform:hover {
  background: #ffbc7d;
  color: #160901;
}
body.bg-halloween-pumpkin-witch .hp-event-add {
  background: #211914;
  color: #fff7ed;
  border-color: #bda28c;
  min-height: 44px;
}
body.bg-halloween-pumpkin-witch .hp-event-add:hover { background: #322116; color: #fff7ed; }
body.bg-halloween-pumpkin-witch :is(.hp-event-copy,.hp-event-collection-pill,.tp-filter-toggle,.tp-filter-pill,.hpw-motion-control) { min-height: 44px; }
body.bg-halloween-pumpkin-witch .hp-customer-media-header { color: #160901; }
body.bg-halloween-pumpkin-witch .hp-customer-media-header :is(strong,span) { color: inherit; }
body.bg-halloween-pumpkin-witch :is(input,textarea)::placeholder { color: #c8b9aa; opacity: 1; }
body.bg-halloween-pumpkin-witch :is(button:disabled,[aria-disabled="true"]) { opacity: .65; cursor: not-allowed; }

.hpw-decoration {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.hpw-scene {
  position: absolute;
  inset: 0;
}

.hpw-witch-flight {
  position: absolute;
  top: 5%;
  right: 8%;
  width: clamp(190px, 25vw, 380px);
  animation: hpw-witch-flight 5.8s cubic-bezier(0.19, 0.8, 0.2, 1) both;
  filter: drop-shadow(0 0 5px rgba(244, 238, 227, 0.28));
}

.hpw-witch {
  display: block;
  width: 100%;
  height: auto;
  animation: hpw-witch-hover 4.4s ease-in-out 5.8s infinite;
}


.hpw-sparkle {
  position: absolute;
  left: var(--hpw-x);
  top: var(--hpw-y);
  width: var(--hpw-size);
  height: var(--hpw-size);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px #fff8e8, 0 0 10px rgba(255, 206, 134, 0.45);
  opacity: 0.15;
  animation: hpw-sparkle-wink 5.8s ease-in-out var(--hpw-delay) infinite;
}

.hpw-sparkle::before,
.hpw-sparkle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}
.hpw-sparkle::before { width: 1px; height: 380%; }
.hpw-sparkle::after { width: 380%; height: 1px; }
.hpw-sparkle--1 { animation-duration: 7.1s; }
.hpw-sparkle--2 { animation-duration: 6.4s; }

.hpw-motion-control {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 8;
  pointer-events: auto;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(244, 238, 227, 0.7);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.82);
  color: #fff7ed;
  font: 600 12px/1 "DM Sans", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.hpw-decoration[data-paused="true"] *,
.hpw-page-hidden .hpw-decoration * {
  animation-play-state: paused !important;
}

@keyframes hpw-witch-flight {
  0% { transform: translate3d(-145vw, 44vh, 0) rotate(-13deg) scale(0.7); opacity: 0; }
  10% { opacity: 1; }
  48% { transform: translate3d(-54vw, -4vh, 0) rotate(7deg) scale(0.9); }
  72% { transform: translate3d(7vw, 4vh, 0) rotate(-5deg) scale(1.06); }
  86% { transform: translate3d(-2vw, -1vh, 0) rotate(2deg) scale(0.98); }
  100% { transform: translate3d(0, 0, 0) rotate(0) scale(1); opacity: 1; }
}

@keyframes hpw-witch-hover {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -13px, 0) rotate(1.5deg); }
}


@keyframes hpw-sparkle-wink {
  0%, 36%, 100% { opacity: 0.12; transform: scale(0.38) rotate(0deg); }
  48% { opacity: 0.5; transform: scale(0.75) rotate(8deg); }
  56% { opacity: 1; transform: scale(1.15) rotate(18deg); }
  67% { opacity: 0.35; transform: scale(0.6) rotate(28deg); }
  78% { opacity: 0.12; transform: scale(0.38) rotate(36deg); }
}

/* Keep the copy inside the dark lane between the pumpkin and crescent. */
body.bg-halloween-pumpkin-witch .jp-hero-card {
  background: #171513;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (min-width: 1200px) {
  body.bg-halloween-pumpkin-witch :is(.hp-hero-inner,.tp-hero-inner,.jp-hero-inner) {
    width: min(28vw, 540px); max-width: none; margin-left: calc(47% - min(14vw, 270px));
    margin-right: 0; padding-inline: 0;
  }
  body.bg-halloween-pumpkin-witch .hp-hero-inner { grid-template-columns: minmax(0, 1fr); }
  body.bg-halloween-pumpkin-witch .hp-hero-sub { width: 88%; font-size: 17px; }
  body.bg-halloween-pumpkin-witch .hp-hero-headline { font-size: clamp(44px, 4vw, 76px); }
  body.bg-halloween-pumpkin-witch .tp-hero-title { width: 88%; font-size: clamp(40px, 3.3vw, 60px); }
  body.bg-halloween-pumpkin-witch .tp-hero-sub { width: 82%; font-size: 17px; }
  body.bg-halloween-pumpkin-witch .jp-hero-card { width: 100%; padding: 28px 24px; }
  body.bg-halloween-pumpkin-witch .jp-hero-title { font-size: clamp(40px, 3.2vw, 58px); }
}

/* A complete scene above the copy preserves both subjects on smaller screens. */
@media (max-width: 1199px) {
  body.bg-halloween-pumpkin-witch :is(.hp-hero,.tp-hero,.jp-hero,.mhf-hero,.bwb-hero,.bk-home-hero) {
    min-height: 0; display: block; padding: calc(100vw * 941 / 1672 + 24px) 0 72px;
  }
  body.bg-halloween-pumpkin-witch :is(.hp-hero,.tp-hero,.jp-hero,.mhf-hero,.bwb-hero,.bk-home-hero)::before {
    height: calc(100vw * 941 / 1672); bottom: auto; transform: none;
    background-size: 100% 100%; background-position: center top;
  }
  body.bg-halloween-pumpkin-witch :is(.hp-hero,.tp-hero,.jp-hero)::after { background: none; }
  body.bg-halloween-pumpkin-witch :is(.hp-hero-inner,.tp-hero-inner,.jp-hero-inner) {
    width: 100%; max-width: 760px; margin-inline: auto; padding: 0 24px;
  }
  body.bg-halloween-pumpkin-witch .hp-hero-inner { grid-template-columns: minmax(0,1fr); }
  body.bg-halloween-pumpkin-witch .hp-hero-headline { font-size: clamp(40px, 6vw, 64px); }
  body.bg-halloween-pumpkin-witch .hp-hero-sub { font-size: 17px; }
  body.bg-halloween-pumpkin-witch .hpw-scene { height: calc(100vw * 941 / 1672); bottom: auto; }
  body.bg-halloween-pumpkin-witch .hpw-witch-flight { width: 25vw; top: 5%; right: 8%; }
  body.bg-halloween-pumpkin-witch .jp-hero-card { width: 100%; }
  body.bg-halloween-pumpkin-witch .hpw-motion-control { right: 16px; bottom: 12px; }
}
@media (max-width: 700px) {
  body.bg-halloween-pumpkin-witch :is(.hp-hero,.tp-hero,.jp-hero,.mhf-hero,.bwb-hero,.bk-home-hero)::before {
    background-image: url("/amethyst/skins/halloween-pumpkin-witch/hero-mobile.webp?v=20260928-onyx");
  }
  body.bg-halloween-pumpkin-witch .jp-hero-card { padding: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hpw-witch-flight,
  .hpw-witch,
  .hpw-sparkle {
    animation: none !important;
  }
  .hpw-witch-flight { transform: none; opacity: 1; }
  .hpw-sparkle { opacity: 0.72; transform: scale(0.65); }
  .hpw-motion-control { display: none; }
}

body.bg-halloween-pumpkin-witch .tp-card-tier.unicorn,
body.bg-halloween-pumpkin-witch .tp-filter-badge {
  color: #160901;
}

@media(max-width:600px){body.bg-halloween-pumpkin-witch .tp-hero-inner{width:100%;max-width:100%;margin-inline:0}}
