/*
 * Motion V2 concept.
 * Visual hierarchy: prize stage -> primary CTA -> table perimeter -> one-shot section cues.
 */

.b8-root {
  --b8-motion-ease: cubic-bezier(.16, 1, .3, 1);
  --b8-motion-press: cubic-bezier(.2, .8, .2, 1);
}

/* Keep transformed decorative layers from creating a 1–2px page scroll at tablet widths. */
.b8-page,
.b8-root .b8-content {
  overflow-x: clip;
}

/* ---------- Sticky navigation ---------- */
.b8-root .b8-header {
  position: sticky;
  top: 0;
  z-index: 90;
  isolation: isolate;
  background: rgba(255, 255, 255, .98);
  transition:
    background-color 220ms ease-out,
    border-color 220ms ease-out,
    box-shadow 220ms ease-out;
}

.b8-root .b8-header.b8-header-stuck {
  background: rgba(255, 255, 255, .965);
  border-bottom-color: rgba(137, 62, 187, .24);
  box-shadow:
    0 10px 28px rgba(65, 20, 91, .10),
    0 1px 0 rgba(255, 255, 255, .92) inset;
}

@media (min-width: 768px) {
  .b8-root .b8-header.b8-header-stuck {
    -webkit-backdrop-filter: saturate(1.12) blur(10px);
    backdrop-filter: saturate(1.12) blur(10px);
  }
}

body.admin-bar .b8-root .b8-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .b8-root .b8-header {
    top: 46px;
  }
}

.b8-root section[id] {
  scroll-margin-top: 94px;
}

/* ---------- Prize stage: one orchestrated light moment ---------- */
.b8-root .b8-gifts-frame-shell {
  position: relative;
  isolation: isolate;
  width: 100%;
}

.b8-root .b8-gift-title-outframe {
  display: none;
}

.b8-root .b8-gifts-heading {
  position: relative;
  z-index: 8;
  isolation: isolate;
  max-width: 760px;
  margin-inline: auto;
  padding: 3px 24px 11px;
  pointer-events: none;
}

.b8-root .b8-gifts-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -13px -58px -21px;
  border-radius: 50%;
  pointer-events: none;
  opacity: .9;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(17, 3, 24, .96) 0%, rgba(31, 8, 42, .82) 42%, rgba(88, 30, 103, .34) 65%, transparent 82%);
  filter: blur(5px);
  transform: scale3d(.98, .94, 1);
}

.b8-root .b8-gifts-heading::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 1px;
  width: clamp(132px, 34%, 280px);
  height: 1px;
  border-radius: 99px;
  pointer-events: none;
  opacity: .74;
  background: linear-gradient(90deg, transparent, rgba(177, 91, 232, .9) 22%, rgba(255, 220, 131, .96) 50%, rgba(177, 91, 232, .9) 78%, transparent);
  box-shadow: 0 0 8px rgba(169, 75, 225, .44), 0 0 13px rgba(255, 216, 120, .16);
  transform: translate3d(-50%, 0, 0) scaleX(.72);
}

.b8-root .b8-gifts-heading h2,
.b8-root .b8-gifts-heading p {
  position: relative;
  z-index: 1;
}

.b8-root .b8-gifts-heading h2 {
  color: #fffaff;
  text-shadow:
    0 2px 3px rgba(8, 1, 14, .98),
    0 0 18px rgba(153, 60, 209, .42),
    0 0 32px rgba(255, 218, 129, .14);
}

.b8-root .b8-gifts-heading p {
  color: #f0e3f6;
  font-weight: 560;
  letter-spacing: .01em;
  text-shadow: 0 1px 3px rgba(8, 1, 14, 1), 0 0 12px rgba(105, 29, 139, .46);
}

.b8-root .b8-gifts .b8-gift-grid {
  position: relative;
  z-index: 3;
}

.b8-root .b8-gifts.b8-depth-seen .b8-gifts-heading h2 {
  animation: b8-gift-heading-lock 360ms var(--b8-motion-ease) both;
}

.b8-root .b8-gifts.b8-depth-seen .b8-gifts-heading p {
  animation: b8-gift-subtitle-lock 410ms var(--b8-motion-ease) 38ms both;
}

.b8-root .b8-gifts.b8-depth-seen .b8-gifts-heading::after {
  animation: b8-gift-heading-line 480ms var(--b8-motion-ease) 70ms both;
}

.b8-root .b8-gifts.b8-depth-live .b8-gifts-heading::before {
  animation: b8-gift-copy-halo 7.2s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes b8-gift-heading-lock {
  0% { opacity: .72; transform: translate3d(0, 5px, 0) scale(.988); }
  68% { opacity: 1; transform: translate3d(0, -1px, 0) scale(1.004); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes b8-gift-subtitle-lock {
  0% { opacity: .46; transform: translate3d(0, 4px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes b8-gift-heading-line {
  0% { opacity: 0; transform: translate3d(-50%, 0, 0) scaleX(.08); }
  62% { opacity: .96; transform: translate3d(-50%, 0, 0) scaleX(1.05); }
  100% { opacity: .74; transform: translate3d(-50%, 0, 0) scaleX(.72); }
}

@keyframes b8-gift-copy-halo {
  0%, 100% { opacity: .84; transform: scale3d(.98, .94, 1); }
  50% { opacity: .98; transform: scale3d(1.035, 1, 1); }
}

/* Option B: dimensional display type that rises across the showroom boundary. */
html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell {
  padding-top: 72px;
}

html[data-gift-title-style="outframe"] .b8-root #b8-gifts {
  scroll-margin-top: 180px;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe {
  display: flex;
  position: absolute;
  z-index: 18;
  top: 0;
  left: 50%;
  width: min(980px, calc(100% - 40px));
  min-height: 132px;
  padding: 14px 24px 27px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fffaff;
  border: 0;
  background: none;
  box-shadow: none;
  clip-path: none;
  transform: translate3d(-50%, 0, 0);
  transform-origin: 50% 42%;
  overflow: visible;
  pointer-events: none;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 60%;
  width: min(680px, 88%);
  height: 74px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(207, 153, 55, .13) 0%, rgba(100, 31, 125, .21) 46%, rgba(52, 9, 69, .12) 67%, transparent 82%);
  filter: blur(8px);
  opacity: .4;
  transform: translate3d(-50%, -50%, 0) scaleX(.96);
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 5px 4% auto;
  height: 68px;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 43%, rgba(255, 250, 207, .96) 47% 53%, transparent 57%) left 3% top 9px / 19px 19px no-repeat,
    linear-gradient(transparent 43%, rgba(255, 250, 207, .96) 47% 53%, transparent 57%) left 3% top 9px / 19px 19px no-repeat,
    linear-gradient(90deg, transparent 43%, rgba(255, 226, 99, .92) 47% 53%, transparent 57%) right 2% bottom 5px / 15px 15px no-repeat,
    linear-gradient(transparent 43%, rgba(255, 226, 99, .92) 47% 53%, transparent 57%) right 2% bottom 5px / 15px 15px no-repeat;
  filter: drop-shadow(0 0 5px rgba(255, 206, 55, .72));
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2 {
  position: relative;
  z-index: 1;
  display: inline-block;
  isolation: isolate;
  overflow: visible;
  max-width: 100%;
  margin: 0;
  color: transparent;
  font-family: var(--b8-font-display, inherit);
  font-size: clamp(52px, 3.9vw, 60px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-wrap: balance;
  background: linear-gradient(180deg,
    #fff8b7 0%,
    #ffe45a 4%,
    #bd6d00 9%,
    #7a3100 13%,
    #ffc926 17%,
    #ffdf51 39%,
    #fff9bd 46%,
    #d78400 51%,
    #ffc72a 57%,
    #e29a08 77%,
    #994800 91%,
    #461500 100%);
  background-size: 100% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.25px rgba(107, 42, 0, .98);
  paint-order: stroke fill;
  text-shadow:
    -1.15px -1.25px 0 rgba(255, 249, 192, .92),
    .9px 1px 0 rgba(112, 42, 0, .96),
    1.3px 1.8px 1px rgba(60, 18, 0, .76);
  filter: saturate(1.08) contrast(1.1);
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2::before,
html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: inherit;
  text-wrap: inherit;
  white-space: normal;
  pointer-events: none;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2::before {
  z-index: -1;
  color: #d18300;
  -webkit-text-fill-color: #d18300;
  -webkit-text-stroke: .8px #652300;
  text-shadow:
    .18px .65px 0 #e29a08,
    .36px 1.3px 0 #e29a08,
    .54px 1.95px 0 #e29a08,
    .72px 2.6px 0 #c56a00,
    .9px 3.25px 0 #c56a00,
    1.08px 3.9px 0 #a44d00,
    1.26px 4.55px 0 #a44d00,
    1.44px 5.2px 0 #873800,
    1.62px 5.85px 0 #873800,
    1.8px 6.5px 0 #6e2900,
    1.98px 7.15px 0 #6e2900,
    2.16px 7.8px 0 #572000,
    2.34px 8.45px 0 #572000,
    2.52px 9.1px 0 #431700,
    2.7px 9.75px 0 #431700,
    2.88px 10.4px 0 #351100,
    3.06px 11.05px 0 #351100,
    3.24px 11.7px 0 #280c00,
    3.42px 12.35px 0 #280c00,
    3.6px 13px 1px #1b0700,
    3.5px 20px 24px rgba(19, 3, 0, .52);
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2::after {
  z-index: 2;
  color: transparent;
  background:
    linear-gradient(105deg,
      transparent 0% 43%,
      rgba(255, 246, 187, .05) 44%,
      rgba(255, 255, 225, .72) 47%,
      rgba(255, 231, 109, .16) 50%,
      transparent 53% 100%),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, .032) 0 1px,
      rgba(74, 26, 0, .026) 1px 2px,
      transparent 2px 5px);
  background-size: 260% 100%, 5px 100%;
  background-position: -175% 0, 0 0;
  background-blend-mode: screen, soft-light;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .5px rgba(255, 218, 62, .52);
  mix-blend-mode: screen;
  opacity: .58;
}

html[lang^="zh"][data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2 {
  letter-spacing: .035em;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe p {
  max-width: 560px;
  margin: 16px auto 0;
  color: #f2e7d2;
  font-size: 13.5px;
  font-weight: 640;
  line-height: 1.45;
  letter-spacing: .018em;
  text-wrap: balance;
  -webkit-text-stroke: 0;
  text-shadow: 0 2px 8px rgba(18, 3, 24, .5);
}

html[data-gift-title-style="outframe"] .b8-root .b8-gifts-heading {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

html[data-gift-title-style="outframe"] .b8-root .b8-showroom-core {
  padding-top: 116px;
}

html[data-gift-title-style="outframe"] .b8-root.b8-motionv2-ready .b8-gifts-frame-shell:not(:has(.b8-gifts.b8-depth-seen)) .b8-gift-title-outframe {
  opacity: 0;
  transform: translate3d(-50%, -9px, 0) scale(.985);
}

html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell:has(.b8-gifts.b8-depth-seen) .b8-gift-title-outframe {
  animation: b8-outframe-title-arrive 560ms var(--b8-motion-ease) both;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell:has(.b8-gifts.b8-depth-live) .b8-gift-title-outframe::before {
  animation: b8-outframe-title-aura 7.2s ease-in-out infinite;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell:has(.b8-gifts.b8-depth-live) .b8-gift-title-outframe::after {
  animation: b8-outframe-title-stars 9.6s ease-in-out infinite;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell:has(.b8-gifts.b8-depth-live) .b8-gift-title-outframe h2::after {
  animation: b8-outframe-title-glint 9.6s cubic-bezier(.22, .72, .18, 1) infinite;
}

@keyframes b8-outframe-title-arrive {
  0% { opacity: 0; transform: translate3d(-50%, -9px, 0) scale(.985); }
  68% { opacity: 1; transform: translate3d(-50%, 1px, 0) scale(1.002); }
  100% { opacity: 1; transform: translate3d(-50%, 0, 0) scale(1); }
}

@keyframes b8-outframe-title-aura {
  0%, 100% { opacity: .36; transform: translate3d(-50%, -50%, 0) scaleX(.96); }
  50% { opacity: .45; transform: translate3d(-50%, -50%, 0) scaleX(1.01); }
}

@keyframes b8-outframe-title-glint {
  0%, 42%, 100% { opacity: .42; background-position: -175% 0, 0 0; }
  48% { opacity: .72; }
  59% { opacity: .54; background-position: 175% 0, 0 0; }
  60% { opacity: .38; background-position: -175% 0, 0 0; }
}

@keyframes b8-outframe-title-stars {
  0%, 43%, 64%, 100% { opacity: 0; transform: scale(.72); }
  49% { opacity: .9; transform: scale(1.08); }
  56% { opacity: .42; transform: scale(.9); }
}

.b8-root .b8-showroom-motion {
  --b8-pointer-x: 50%;
  --b8-pointer-y: 46%;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.b8-root .b8-showroom-motion > i {
  position: absolute;
  display: block;
  pointer-events: none;
}

.b8-root .b8-showroom-beam {
  top: -16%;
  width: 18%;
  height: 92%;
  opacity: 0;
  background: linear-gradient(180deg, rgba(255, 236, 190, .28) 0%, rgba(214, 147, 255, .13) 48%, transparent 100%);
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen;
  transform-origin: 50% 0;
}

.b8-root .b8-showroom-beam-left {
  left: 9%;
  transform: translate3d(-9%, 0, 0) rotate(-5deg) scaleX(.82);
}

.b8-root .b8-showroom-beam-right {
  right: 9%;
  transform: translate3d(9%, 0, 0) rotate(5deg) scaleX(.82);
}

.b8-root .b8-showroom-floor-pulse {
  left: 31%;
  bottom: 5%;
  width: 38%;
  height: 16%;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(ellipse, rgba(218, 146, 255, .34) 0%, rgba(139, 44, 226, .12) 42%, transparent 74%);
  transform: scale3d(.72, .7, 1);
  mix-blend-mode: screen;
}

.b8-root .b8-showroom-floor-sweep {
  left: -28%;
  bottom: 0;
  width: 28%;
  height: 58%;
  opacity: 0;
  background: linear-gradient(102deg, transparent 12%, rgba(255, 226, 153, .24) 47%, rgba(204, 124, 255, .13) 55%, transparent 88%);
  transform: translate3d(0, 0, 0) skewX(-12deg);
  mix-blend-mode: screen;
}

.b8-root .b8-showroom-pointer {
  left: 0;
  top: 0;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 222, 146, .20) 0%, rgba(161, 70, 223, .10) 34%, transparent 70%);
  transform: translate3d(var(--b8-pointer-x), var(--b8-pointer-y), 0) translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease-out;
  mix-blend-mode: screen;
}

.b8-root .b8-gifts.is-pointer-active .b8-showroom-pointer {
  opacity: .54;
}

.b8-root .b8-gifts.b8-depth-live .b8-showroom-beam-left {
  animation: b8-stage-beam-left 11.5s var(--b8-motion-ease) infinite;
  will-change: transform, opacity;
}

.b8-root .b8-gifts.b8-depth-live .b8-showroom-beam-right {
  animation: b8-stage-beam-right 11.5s var(--b8-motion-ease) infinite;
  will-change: transform, opacity;
}

.b8-root .b8-gifts.b8-depth-live .b8-showroom-floor-pulse {
  animation: b8-stage-floor-pulse 11.5s var(--b8-motion-ease) infinite;
  will-change: transform, opacity;
}

.b8-root .b8-gifts.b8-depth-live .b8-showroom-floor-sweep {
  animation: b8-stage-floor-sweep 11.5s var(--b8-motion-ease) infinite;
  will-change: transform, opacity;
}

@keyframes b8-stage-beam-left {
  0%, 9% { opacity: 0; transform: translate3d(-9%, 0, 0) rotate(-5deg) scaleX(.82); }
  14% { opacity: .12; }
  25% { opacity: .36; transform: translate3d(12%, 0, 0) rotate(-1deg) scaleX(1.08); }
  34%, 100% { opacity: 0; transform: translate3d(16%, 0, 0) rotate(1deg) scaleX(1.14); }
}

@keyframes b8-stage-beam-right {
  0%, 9% { opacity: 0; transform: translate3d(9%, 0, 0) rotate(5deg) scaleX(.82); }
  14% { opacity: .12; }
  25% { opacity: .36; transform: translate3d(-12%, 0, 0) rotate(1deg) scaleX(1.08); }
  34%, 100% { opacity: 0; transform: translate3d(-16%, 0, 0) rotate(-1deg) scaleX(1.14); }
}

@keyframes b8-stage-floor-pulse {
  0%, 13% { opacity: 0; transform: scale3d(.72, .7, 1); }
  23% { opacity: .42; transform: scale3d(1.04, 1, 1); }
  34%, 100% { opacity: 0; transform: scale3d(1.17, 1.08, 1); }
}

@keyframes b8-stage-floor-sweep {
  0%, 12% { opacity: 0; transform: translate3d(0, 0, 0) skewX(-12deg); }
  16% { opacity: .84; }
  30% { opacity: .18; transform: translate3d(560%, 0, 0) skewX(-12deg); }
  34%, 100% { opacity: 0; transform: translate3d(560%, 0, 0) skewX(-12deg); }
}

/* Give champion motion visual priority; side prizes become calmer. */
.b8-root .b8-gift-card[data-rank="1"] {
  --b8-prize-lift: 11px;
  --b8-prize-scale: 1.015;
  --b8-shadow-min: .83;
}

.b8-root .b8-gift-card[data-rank="2"],
.b8-root .b8-gift-card[data-rank="3"] {
  --b8-prize-lift: 3.5px;
  --b8-prize-scale: 1.003;
  --b8-shadow-min: .93;
}

.b8-root .b8-gift-card[data-rank="1"] .b8-gift-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  display: block;
  left: 16%;
  right: 16%;
  bottom: 13%;
  height: 27%;
  border-radius: 50%;
  pointer-events: none;
  opacity: .12;
  background: radial-gradient(ellipse, rgba(255, 218, 126, .38) 0%, rgba(173, 63, 236, .18) 42%, transparent 72%);
  mix-blend-mode: screen;
}

.b8-root .b8-gifts.b8-depth-live .b8-gift-card[data-rank="1"] .b8-gift-visual::after {
  animation: b8-champion-aura 4.8s ease-in-out infinite;
}

.b8-root .b8-gift-card[data-rank="1"] .b8-gift-product,
.b8-root .b8-gift-card[data-rank="1"] .b8-gift-shadow {
  animation-duration: 4.8s;
}

.b8-root .b8-gift-card[data-rank="2"] .b8-gift-product,
.b8-root .b8-gift-card[data-rank="2"] .b8-gift-shadow {
  animation-duration: 6.2s;
}

.b8-root .b8-gift-card[data-rank="3"] .b8-gift-product,
.b8-root .b8-gift-card[data-rank="3"] .b8-gift-shadow {
  animation-duration: 6.7s;
}

@keyframes b8-prize-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, calc(-1 * var(--b8-prize-lift, 8px)), 0) scale(var(--b8-prize-scale, 1)); }
}

@keyframes b8-prize-shadow {
  0%, 100% { opacity: .36; transform: scale(1); }
  50% { opacity: .18; transform: scale(var(--b8-shadow-min, .86)); }
}

@keyframes b8-champion-aura {
  0%, 100% { opacity: .10; transform: scale3d(.88, .78, 1); }
  50% { opacity: .48; transform: scale3d(1.12, 1, 1); }
}

/* ---------- One-shot cash-ladder progression ---------- */
.b8-root.b8-motionv2-ready .b8-cash-ladder:not(.b8-depth-seen) .b8-cash-tier {
  opacity: 0;
  transform: translate3d(0, 6px, 0) scale(.985);
}

.b8-root .b8-cash-ladder.b8-depth-seen .b8-cash-tier {
  animation: b8-cash-tier-arrive 560ms var(--b8-motion-ease) both;
  animation-delay: calc(var(--b8-tier-i, 0) * 45ms);
}

.b8-root .b8-cash-ladder.b8-depth-seen .b8-cash-tier::before {
  animation: b8-cash-rail-charge 520ms var(--b8-motion-ease) both;
  animation-delay: calc(90ms + (var(--b8-tier-i, 0) * 45ms));
  transform-origin: left center;
}

.b8-root .b8-cash-ladder.b8-depth-seen .b8-cash-step {
  animation: b8-cash-step-lock 460ms var(--b8-motion-ease) both;
  animation-delay: calc(110ms + (var(--b8-tier-i, 0) * 45ms));
}

.b8-root .b8-cash-ladder.b8-depth-seen:not(.b8-depth-live) .b8-cash-tier,
.b8-root .b8-cash-ladder.b8-depth-seen:not(.b8-depth-live) .b8-cash-tier::before,
.b8-root .b8-cash-ladder.b8-depth-seen:not(.b8-depth-live) .b8-cash-step {
  animation-play-state: paused;
}

@keyframes b8-cash-tier-arrive {
  0% { opacity: 0; transform: translate3d(0, 6px, 0) scale(.985); }
  68% { opacity: 1; transform: translate3d(0, -1px, 0) scale(1.004); }
  100% { opacity: 1; transform: none; }
}

@keyframes b8-cash-rail-charge {
  from { opacity: .2; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes b8-cash-step-lock {
  0% { opacity: .3; transform: scale(.9); }
  62% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---------- One-shot podium heading glint ---------- */
.b8-root .b8-heading-rule {
  position: relative;
  overflow: hidden;
}

.b8-root .b8-heading-rule::after {
  content: "";
  position: absolute;
  inset: -1px auto -1px 0;
  width: 22%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(148, 57, 210, .72) 35%, rgba(255, 211, 107, .96) 64%, transparent);
  box-shadow: 0 0 10px rgba(147, 55, 211, .36);
  transform: translate3d(-120%, 0, 0);
}

.b8-root .b8-leaders.b8-depth-seen .b8-heading-rule::after {
  animation: b8-heading-glint 820ms var(--b8-motion-ease) 80ms both;
}

.b8-root .b8-leaders.b8-depth-seen:not(.b8-depth-live) .b8-heading-rule::after {
  animation-play-state: paused;
}

@keyframes b8-heading-glint {
  0% { opacity: 0; transform: translate3d(-120%, 0, 0); }
  18% { opacity: 1; }
  82% { opacity: .8; }
  100% { opacity: 0; transform: translate3d(470%, 0, 0); }
}

/* ---------- Complete four-edge table runner ---------- */
.b8-root .b8-table-panel::after {
  display: none;
  animation: none !important;
}

.b8-root .b8-table-runner {
  position: absolute;
  inset: 0;
  z-index: 8;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.b8-root .b8-table-runner > i {
  position: absolute;
  display: block;
  opacity: 0;
  background: linear-gradient(90deg, transparent 0%, #a447da 31%, #ffe28a 67%, transparent 100%);
  box-shadow: 0 0 8px rgba(157, 61, 218, .72), 0 0 17px rgba(255, 213, 107, .34);
}

.b8-root .b8-runner-top,
.b8-root .b8-runner-bottom {
  width: 23%;
  height: 2px;
}

.b8-root .b8-runner-right,
.b8-root .b8-runner-left {
  width: 2px;
  height: 23%;
  background: linear-gradient(180deg, transparent 0%, #a447da 31%, #ffe28a 67%, transparent 100%) !important;
}

.b8-root .b8-runner-top {
  --b8-runner-start-x: -120%;
  --b8-runner-start-y: 0%;
  --b8-runner-end-x: 435%;
  --b8-runner-end-y: 0%;
  --b8-runner-delay: 0s;
  left: 0;
  top: 0;
}

.b8-root .b8-runner-right {
  --b8-runner-start-x: 0%;
  --b8-runner-start-y: -120%;
  --b8-runner-end-x: 0%;
  --b8-runner-end-y: 435%;
  --b8-runner-delay: 1.85s;
  right: 0;
  top: 0;
}

.b8-root .b8-runner-bottom {
  --b8-runner-start-x: 120%;
  --b8-runner-start-y: 0%;
  --b8-runner-end-x: -435%;
  --b8-runner-end-y: 0%;
  --b8-runner-delay: 3.7s;
  right: 0;
  bottom: 0;
}

.b8-root .b8-runner-left {
  --b8-runner-start-x: 0%;
  --b8-runner-start-y: 120%;
  --b8-runner-end-x: 0%;
  --b8-runner-end-y: -435%;
  --b8-runner-delay: 5.55s;
  left: 0;
  bottom: 0;
}

@media (min-width: 768px) {
  .b8-root .b8-board.b8-depth-live .b8-table-runner > i {
    animation: b8-perimeter-runner 10.5s var(--b8-motion-ease) var(--b8-runner-delay) infinite;
    will-change: transform, opacity;
  }
}

@media (max-width: 767px) {
  .b8-root section[id] {
    scroll-margin-top: 74px;
  }

  .b8-root .b8-board.b8-depth-live .b8-table-runner > i {
    animation: b8-perimeter-runner 8.5s var(--b8-motion-ease) var(--b8-runner-delay) 1 both;
  }
}

@keyframes b8-perimeter-runner {
  0%, 8% {
    opacity: 0;
    transform: translate3d(var(--b8-runner-start-x), var(--b8-runner-start-y), 0);
  }
  11% { opacity: 1; }
  27% {
    opacity: .9;
    transform: translate3d(var(--b8-runner-end-x), var(--b8-runner-end-y), 0);
  }
  31%, 100% {
    opacity: 0;
    transform: translate3d(var(--b8-runner-end-x), var(--b8-runner-end-y), 0);
  }
}

/* ---------- Buttons: one ambient CTA, responsive secondary controls ---------- */
.b8-root .b8-home-link,
.b8-root .b8-hero-actions .b8-button-primary,
.b8-root .b8-find-button,
.b8-root .b8-period-tabs button,
.b8-root #b8-load-more {
  transition:
    transform 180ms var(--b8-motion-press),
    background-color 180ms ease-out,
    border-color 180ms ease-out,
    box-shadow 180ms ease-out,
    color 180ms ease-out;
}

.b8-root .b8-hero-actions .b8-button-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(184, 109, 238, .74);
  background: linear-gradient(110deg, #7723c6 0%, #9236e1 58%, #7b25c9 100%);
  box-shadow: 0 10px 24px rgba(126, 42, 193, .25), inset 0 1px 0 rgba(255, 255, 255, .34);
}

.b8-root .b8-hero-actions .b8-button-primary > * {
  position: relative;
  z-index: 2;
}

.b8-root .b8-hero-actions .b8-button-primary::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -45% auto -45% -42%;
  width: 30%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 248, 207, .70), transparent);
  transform: translate3d(-220%, 0, 0) skewX(-18deg);
}

.b8-root .b8-hero.b8-depth-live .b8-hero-actions .b8-button-primary::before {
  animation: b8-hero-cta-sweep 6.8s var(--b8-motion-ease) infinite;
  will-change: transform, opacity;
}

@keyframes b8-hero-cta-sweep {
  0%, 4% { opacity: 0; transform: translate3d(-220%, 0, 0) skewX(-18deg); }
  6% { opacity: .82; }
  18% { opacity: 0; transform: translate3d(500%, 0, 0) skewX(-18deg); }
  100% { opacity: 0; transform: translate3d(500%, 0, 0) skewX(-18deg); }
}

.b8-root .b8-home-link,
.b8-root .b8-find-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.b8-root .b8-home-link > *,
.b8-root .b8-find-button > * {
  position: relative;
  z-index: 2;
}

.b8-root .b8-home-link::before,
.b8-root .b8-find-button::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(105deg, transparent 10%, rgba(211, 157, 245, .34) 48%, rgba(255, 222, 145, .42) 56%, transparent 90%);
  transform: translate3d(-120%, 0, 0);
}

.b8-root .b8-external-icon,
.b8-root .b8-search-icon {
  transition: transform 180ms var(--b8-motion-press);
}

.b8-root .b8-search-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  transform: scale(.55);
  pointer-events: none;
}

.b8-root .b8-period-tabs button {
  position: relative;
  min-height: 36px;
  overflow: hidden;
}

.b8-root .b8-period-tabs button::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 3px;
  height: 2px;
  border-radius: 99px;
  pointer-events: none;
  background: #ffe08a;
  opacity: 0;
  transform: scaleX(.3);
}

.b8-root .b8-period-tabs button[aria-pressed="true"]::after {
  opacity: .76;
  transform: scaleX(1);
}

.b8-root .b8-period-tabs button.b8-tab-activated::after {
  animation: b8-tab-lock 260ms var(--b8-motion-ease) both;
}

@keyframes b8-tab-lock {
  0% { opacity: 0; transform: scaleX(.3); }
  65% { opacity: 1; transform: scaleX(1.08); }
  100% { opacity: .9; transform: scaleX(1); }
}

.b8-root #b8-load-more {
  position: relative;
  min-height: 38px;
  padding: 7px 13px;
  overflow: hidden;
  border: 1px solid #d8bee9;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 13px rgba(93, 32, 129, .08);
}

.b8-root #b8-load-more::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(105deg, transparent, rgba(234, 209, 255, .68), transparent);
  transform: translate3d(-120%, 0, 0);
}

.b8-root .b8-hero-link {
  position: relative;
  overflow: hidden;
}

.b8-root .b8-hero-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, #8d35cd, #ffd76e, #8d35cd);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--b8-motion-ease);
}

@media (hover: hover) and (pointer: fine) {
  .b8-root .b8-home-link:hover,
  .b8-root .b8-hero-actions .b8-button-primary:hover,
  .b8-root .b8-find-button:hover,
  .b8-root #b8-load-more:hover {
    transform: translate3d(0, -2px, 0);
  }

  .b8-root .b8-home-link:hover,
  .b8-root .b8-find-button:hover {
    border-color: rgba(153, 66, 207, .74) !important;
    box-shadow: 0 8px 19px rgba(99, 34, 137, .12);
  }

  .b8-root .b8-home-link:hover::before,
  .b8-root .b8-find-button:hover::after,
  .b8-root #b8-load-more:hover::before {
    animation: b8-control-sheen 260ms ease-out both;
  }

  .b8-root .b8-home-link:hover .b8-external-icon,
  .b8-root .b8-hero-actions .b8-button-primary:hover .b8-external-icon {
    transform: translate3d(2px, -2px, 0);
  }

  .b8-root .b8-find-button:hover .b8-search-icon {
    transform: scale(1.08);
  }

  .b8-root .b8-find-button:hover .b8-search-icon::before {
    animation: b8-search-ping 260ms ease-out both;
  }

  .b8-root .b8-hero-link:hover::after {
    transform: scaleX(1);
  }
}

.b8-root .b8-home-link:focus-visible::before,
.b8-root .b8-find-button:focus-visible::after,
.b8-root #b8-load-more:focus-visible::before {
  animation: b8-control-sheen 260ms ease-out both;
}

.b8-root .b8-find-button:focus-visible .b8-search-icon::before {
  animation: b8-search-ping 260ms ease-out both;
}

@keyframes b8-control-sheen {
  0% { opacity: 0; transform: translate3d(-120%, 0, 0); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(120%, 0, 0); }
}

@keyframes b8-search-ping {
  0% { opacity: .48; transform: scale(.55); }
  100% { opacity: 0; transform: scale(1.55); }
}

.b8-root .b8-home-link:active,
.b8-root .b8-hero-actions .b8-button-primary:active,
.b8-root .b8-find-button:active,
.b8-root .b8-period-tabs button:active,
.b8-root #b8-load-more:active {
  transform: translate3d(0, 1px, 0) scale(.975);
  transition-duration: 90ms;
}

/* Crown Pass already owns a full motion system; finish interaction inside its 280ms JS window. */
.b8-root .b8-pass-shell {
  overflow: clip;
}

.b8-root .b8-pass-action::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 226, 138, .56);
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
  transform: scale(.985);
}

.b8-root .b8-pass-card.is-energized .b8-pass-action::after {
  animation: b8-pass-action-charge 260ms ease-out both;
}

.b8-root .b8-pass-card.is-energized .b8-pass-button > em {
  animation-duration: 260ms;
}

.b8-root .b8-pass-card.is-energized .b8-pass-button > i {
  animation: b8-pass-icon-pop 260ms var(--b8-motion-press) both;
}

.b8-root .b8-pass-card.is-energized .b8-pass-button svg {
  animation: b8-pass-arrow-nudge-v2 260ms var(--b8-motion-press) both;
}

.b8-root .b8-pass-shell[data-motion-state="playing"] .b8-pass-button {
  animation: b8-pass-button-breathe 7.2s ease-in-out infinite;
}

@keyframes b8-pass-action-charge {
  0% { opacity: 0; transform: scale(.985); }
  48% { opacity: .9; transform: scale(1.006); }
  100% { opacity: 0; transform: scale(1); }
}

@keyframes b8-pass-icon-pop {
  0%, 100% { transform: scale(1); }
  48% { transform: scale(1.07); }
}

@keyframes b8-pass-arrow-nudge-v2 {
  0%, 100% { transform: none; }
  48% { transform: translate3d(2px, -2px, 0); }
}

@keyframes b8-pass-button-breathe {
  0%, 10%, 24%, 100% {
    box-shadow: 0 13px 28px rgba(21, 3, 24, .30), inset 0 1px 0 #fff8d8;
  }
  16% {
    box-shadow: 0 16px 34px rgba(21, 3, 24, .40), 0 0 20px rgba(255, 213, 99, .28), inset 0 1px 0 #fff8d8;
  }
}

@media (max-width: 767px) {
  .b8-root .b8-gifts-heading {
    padding: 2px 10px 9px;
  }

  .b8-root .b8-gifts-heading::before {
    inset: -8px -7px -15px;
    opacity: .94;
  }

  .b8-root .b8-gifts-heading::after {
    width: min(72%, 220px);
    bottom: 0;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell {
    padding-top: 50px;
  }

  html[data-gift-title-style="outframe"] .b8-root #b8-gifts {
    scroll-margin-top: 124px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe {
    width: calc(100% - 32px);
    min-height: 101px;
    padding: 10px 10px 19px;
    border-radius: 0;
    clip-path: none;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2 {
    font-size: 29px;
    line-height: 1.1;
    letter-spacing: -.045em;
    -webkit-text-stroke-width: .65px;
    text-shadow:
      -.65px -.7px 0 rgba(255, 242, 191, .72),
      .55px .7px 0 rgba(72, 29, 5, .88),
      .8px 1.1px 1px rgba(45, 14, 4, .62);
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2::before {
    -webkit-text-stroke-width: .45px;
    text-shadow:
      .14px .6px 0 #e29a08,
      .28px 1.2px 0 #e29a08,
      .42px 1.8px 0 #c56a00,
      .56px 2.4px 0 #c56a00,
      .7px 3px 0 #a44d00,
      .84px 3.6px 0 #873800,
      .98px 4.2px 0 #6e2900,
      1.12px 4.8px 0 #431700,
      1.26px 5.4px 1px #1b0700,
      1.3px 10px 15px rgba(19, 3, 0, .42);
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2::after {
    background:
      linear-gradient(105deg,
        transparent 0% 43%,
        rgba(255, 246, 187, .03) 44%,
        rgba(255, 255, 225, .58) 47%,
        rgba(255, 231, 109, .1) 50%,
        transparent 53% 100%);
    background-size: 260% 100%;
    background-position: -175% 0;
    -webkit-background-clip: text;
    background-clip: text;
    opacity: .45;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe p {
    max-width: 290px;
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.32;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe::before {
    width: 100%;
    height: 76px;
    filter: blur(5px);
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe::after {
    top: 8px;
    left: 7%;
    width: 13px;
    height: 13px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-showroom-core {
    padding-top: 92px;
  }

  .b8-root .b8-showroom-beam {
    display: none !important;
    animation: none !important;
  }

  .b8-root .b8-gifts.b8-depth-live .b8-showroom-floor-pulse,
  .b8-root .b8-gifts.b8-depth-live .b8-showroom-floor-sweep {
    animation-duration: 13s;
  }

  .b8-root .b8-gift-card[data-rank="2"] .b8-gift-product,
  .b8-root .b8-gift-card[data-rank="2"] .b8-gift-shadow,
  .b8-root .b8-gift-card[data-rank="3"] .b8-gift-product,
  .b8-root .b8-gift-card[data-rank="3"] .b8-gift-shadow {
    animation: none !important;
  }

  .b8-root .b8-showroom-pointer {
    display: none;
  }

  .b8-root .b8-home-link,
  .b8-root .b8-hero-actions .b8-button-primary,
  .b8-root .b8-find-button,
  .b8-root .b8-period-tabs button,
  .b8-root #b8-load-more {
    min-height: 44px;
  }

  .b8-root #b8-load-more {
    padding-inline: 11px;
  }
}

@media (max-width: 359px) {
  html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell {
    padding-top: 46px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe {
    width: calc(100% - 26px);
    min-height: 94px;
    padding-inline: 8px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2 {
    font-size: 25px;
    text-shadow:
      -.55px -.6px 0 rgba(255, 242, 191, .7),
      .48px .6px 0 rgba(72, 29, 5, .86),
      .7px .95px 1px rgba(45, 14, 4, .58);
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2::before {
    text-shadow:
      .13px .55px 0 #e29a08,
      .26px 1.1px 0 #c56a00,
      .39px 1.65px 0 #c56a00,
      .52px 2.2px 0 #a44d00,
      .65px 2.75px 0 #873800,
      .78px 3.3px 0 #572000,
      .91px 3.85px 1px #1b0700,
      .95px 8px 13px rgba(19, 3, 0, .4);
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe p {
    font-size: 9px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-showroom-core {
    padding-top: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe,
  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe::before,
  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe::after,
  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2,
  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2::before,
  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2::after {
    opacity: 1 !important;
    animation: none !important;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe {
    transform: translate3d(-50%, 0, 0) !important;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe::before {
    transform: translate3d(-50%, -50%, 0) scaleX(.96) !important;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe h2::after {
    opacity: .5 !important;
    background-position: 50% 0, 0 0 !important;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe::after {
    opacity: .42 !important;
    transform: none !important;
  }

  .b8-root .b8-gifts-heading::before,
  .b8-root .b8-gifts-heading::after,
  .b8-root .b8-gifts-heading h2,
  .b8-root .b8-gifts-heading p {
    animation: none !important;
  }

  .b8-root .b8-header {
    transition: none !important;
  }

  .b8-root .b8-showroom-beam,
  .b8-root .b8-showroom-floor-sweep,
  .b8-root .b8-showroom-pointer,
  .b8-root .b8-table-runner > i,
  .b8-root .b8-heading-rule::after,
  .b8-root .b8-hero-actions .b8-button-primary::before {
    display: none !important;
    animation: none !important;
  }

  .b8-root .b8-pass-shell[data-motion-state="playing"] .b8-pass-button {
    animation: none !important;
  }

  .b8-root .b8-showroom-floor-pulse {
    display: block !important;
    opacity: .14 !important;
    transform: none !important;
    animation: none !important;
  }

  .b8-root.b8-motionv2-ready .b8-cash-ladder .b8-cash-tier,
  .b8-root .b8-cash-ladder .b8-cash-tier::before,
  .b8-root .b8-cash-ladder .b8-cash-step {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .b8-root .b8-home-link,
  .b8-root .b8-hero-actions .b8-button-primary,
  .b8-root .b8-find-button,
  .b8-root .b8-period-tabs button,
  .b8-root #b8-load-more,
  .b8-root .b8-hero-link::after {
    transition: none !important;
  }
}

/* Generated 3D title art. The title stays still; only its purple light changes intensity. */
html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell {
  padding-top: 94px;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe {
  width: min(1040px, calc(100% - 24px));
  min-height: 270px;
  padding: 2px 18px 16px;
  justify-content: flex-start;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art-frame {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(830px, 92vw);
  height: 220px;
  flex: 0 0 auto;
  place-items: center;
  isolation: isolate;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 21% 7% 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(225, 164, 255, .44) 0%,
    rgba(171, 69, 239, .31) 38%,
    rgba(94, 20, 157, .18) 62%,
    transparent 80%);
  filter: blur(18px);
  opacity: .72;
  pointer-events: none;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art {
  display: block;
  width: 100% !important;
  height: 220px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  filter:
    drop-shadow(0 0 1px rgba(255, 240, 255, .96))
    drop-shadow(0 0 6px rgba(203, 100, 255, .72))
    drop-shadow(0 0 17px rgba(125, 28, 202, .54))
    drop-shadow(0 14px 12px rgba(20, 1, 31, .42));
  transition: opacity 220ms ease;
  transform: none;
  pointer-events: none;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe.b8-title-art-ready .b8-gift-title-art {
  opacity: 1;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe.b8-title-art-ready h2,
html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe.b8-title-art-ready h2::before,
html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe.b8-title-art-ready h2::after {
  display: none;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe:not(.b8-title-art-ready) h2 {
  position: absolute;
  z-index: 2;
  top: 108px;
  left: 50%;
  width: min(880px, 92%);
  transform: translate3d(-50%, -50%, 0);
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe.b8-title-art-ready::after {
  display: none;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe p {
  position: relative;
  z-index: 3;
  margin-top: 2px;
}

html[data-gift-title-style="outframe"] .b8-root .b8-showroom-core {
  padding-top: 205px;
}

html[data-gift-title-style="outframe"] .b8-root.b8-motionv2-ready .b8-gifts-frame-shell:not(:has(.b8-gifts.b8-depth-seen)) .b8-gift-title-outframe {
  opacity: 0;
  transform: translate3d(-50%, -8px, 0);
}

html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell:has(.b8-gifts.b8-depth-live) .b8-gift-title-outframe.b8-title-art-ready .b8-gift-title-art {
  animation: b8-title-art-outline-glow 5.8s ease-in-out infinite;
}

html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell:has(.b8-gifts.b8-depth-live) .b8-gift-title-outframe.b8-title-art-ready .b8-gift-title-art-frame::before {
  animation: b8-title-art-backlight 5.8s ease-in-out infinite;
}

@keyframes b8-outframe-title-arrive {
  0% { opacity: 0; transform: translate3d(-50%, -8px, 0); }
  100% { opacity: 1; transform: translate3d(-50%, 0, 0); }
}

@keyframes b8-outframe-title-aura {
  0%, 100% { opacity: .34; transform: translate3d(-50%, -50%, 0); }
  50% { opacity: .48; transform: translate3d(-50%, -50%, 0); }
}

@keyframes b8-title-art-outline-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 1px rgba(255, 240, 255, .92))
      drop-shadow(0 0 5px rgba(203, 100, 255, .66))
      drop-shadow(0 0 15px rgba(125, 28, 202, .48))
      drop-shadow(0 14px 12px rgba(20, 1, 31, .42));
  }
  50% {
    filter:
      drop-shadow(0 0 2px rgba(255, 247, 255, 1))
      drop-shadow(0 0 9px rgba(214, 124, 255, .9))
      drop-shadow(0 0 24px rgba(137, 39, 220, .7))
      drop-shadow(0 14px 12px rgba(20, 1, 31, .42));
  }
}

@keyframes b8-title-art-backlight {
  0%, 100% { opacity: .58; }
  50% { opacity: .86; }
}

@media (max-width: 767px) {
  html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell {
    padding-top: 54px;
  }

  html[data-gift-title-style="outframe"] .b8-root #b8-gifts {
    scroll-margin-top: 224px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe {
    width: calc(100% - 14px);
    min-height: 168px;
    padding: 0 7px 11px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art-frame {
    width: 100%;
    height: 140px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art {
    height: 140px !important;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art-frame::before {
    inset: 24% 2% 11%;
    filter: blur(11px);
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe:not(.b8-title-art-ready) h2 {
    top: 68px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe p {
    max-width: 330px;
    margin-top: 1px;
    font-size: 10.5px;
    line-height: 1.35;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-showroom-core {
    padding-top: 142px;
  }
}

@media (max-width: 359px) {
  html[data-gift-title-style="outframe"] .b8-root .b8-gifts-frame-shell {
    padding-top: 48px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe {
    width: calc(100% - 10px);
    min-height: 156px;
    padding: 0 5px 9px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art-frame {
    height: 128px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art {
    height: 128px !important;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe:not(.b8-title-art-ready) h2 {
    top: 62px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-outframe p {
    max-width: 280px;
    margin-top: 1px;
    font-size: 9.5px;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-showroom-core {
    padding-top: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art,
  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art-frame::before {
    animation: none !important;
    transition: none !important;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art {
    transform: none !important;
    filter:
      drop-shadow(0 0 1px rgba(255, 240, 255, .92))
      drop-shadow(0 0 6px rgba(203, 100, 255, .7))
      drop-shadow(0 0 17px rgba(125, 28, 202, .52))
      drop-shadow(0 14px 12px rgba(20, 1, 31, .42)) !important;
  }

  html[data-gift-title-style="outframe"] .b8-root .b8-gift-title-art-frame::before {
    opacity: .7 !important;
  }
}

/* Weekly mockup: compact the desktop prize theatre without shrinking phone tap/readability. */
@media (min-width: 768px) {
  html[data-gift-title-style="outframe"] .b8-root .b8-showroom-core {
    padding-top: 165px;
    padding-bottom: 8px;
  }

  .b8-root .b8-gift-card .b8-gift-visual {
    height: 208px;
  }

  .b8-root .b8-gift-card[data-rank="1"] .b8-gift-visual {
    height: 240px;
  }

  .b8-root .b8-gifts[data-layout="equal"] .b8-gift-card .b8-gift-visual {
    height: 232px;
  }

  .b8-root .b8-gift-copy {
    min-height: 76px;
    padding-bottom: 6px;
  }
}
