/* ==========================================================================
   LOCKET GOLD VIP – MAIN STYLESHEET (styles.css)
   Separated from public/index.html for clean architecture & caching
   ========================================================================== */

body {
  background-color: #FFFBF2 !important;
  color: #18181B;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.font-locket-display {
  font-family: 'Fredoka', 'Nunito', 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.font-locket-rounded {
  font-family: ui-rounded, 'SF Pro Rounded', 'Nunito', 'Fredoka', 'Plus Jakarta Sans', -apple-system, sans-serif;
  letter-spacing: -0.025em;
}

#ios-neon-aurora-bg,
#top-marquee-wrapper {
  display: none !important;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-6px) rotate(var(--rot, 0deg)); }
}
@keyframes pulseGold {
  0%, 100% { transform: scale3d(1, 1, 1); opacity: 0.85; }
  50% { transform: scale3d(1.08, 1.08, 1); opacity: 0; }
}
@keyframes marqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}
.sticker-float {
  animation: floatSlow 4s ease-in-out infinite;
}
.sticker-float-delay {
  animation: floatSlow 4.5s ease-in-out 1.2s infinite;
}
.gold-pulse {
  position: relative;
  transform: translate3d(0, 0, 0);
}
.gold-pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  box-shadow: 0 0 12px 2px rgba(255, 184, 0, 0.5);
  animation: pulseGold 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
  will-change: transform, opacity;
}
.marquee-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  will-change: transform;
  animation: marqueeScroll 20s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.watermark-text {
  font-size: clamp(2.6rem, 9.2vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(255, 184, 0, 0.13);
  user-select: none;
  pointer-events: none;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #FFFBF2; }
::-webkit-scrollbar-thumb { background: #FCD34D; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #FFB800; }

@keyframes goldShimmer {
  0% { transform: translate3d(-120%, 0, 0) skewX(-20deg); }
  100% { transform: translate3d(220%, 0, 0) skewX(-20deg); }
}
.gold-shimmer-badge {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #FFB800 0%, #FFD966 50%, #FFB800 100%);
  transform: translate3d(0, 0, 0);
}
.gold-shimmer-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 55%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.72) 50%, transparent 100%);
  animation: goldShimmer 3.2s infinite linear;
  pointer-events: none;
  will-change: transform;
}
.card-hover-lift {
  position: relative;
  transform: translate3d(0, 0, 0);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.card-hover-lift::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 20px 40px -12px rgba(24, 24, 27, 0.1), 0 0 0 2px #FFB800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}
.card-hover-lift:hover {
  transform: translate3d(0, -4px, 0);
}
.card-hover-lift:hover::after {
  opacity: 1;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
@keyframes nudgeRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
@keyframes rubberBounceRight {
  0% { transform: translateX(0); }
  35% { transform: translateX(-22px); }
  70% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}
.animate-nudge-right {
  animation: nudgeRight 1.6s ease-in-out infinite;
}
.rubber-bounce-right {
  animation: rubberBounceRight 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

body.intro-active {
  overflow: hidden;
}
#locket-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: linear-gradient(180deg, #FFE9B3 0%, #FFF5D6 40%, #FFFBF2 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  will-change: opacity;
  transition: opacity 0.24s ease-out, visibility 0.26s linear;
}
#locket-intro-overlay.intro-blur-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes introStackBounce {
  0%, 78.5% {
    transform: scale3d(1, 1, 1);
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
  87.5% {
    transform: scale3d(1.21, 1.21, 1);
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  95% {
    transform: scale3d(1.09, 1.09, 1);
    animation-timing-function: ease-out;
  }
  100% {
    transform: scale3d(1.11, 1.11, 1);
  }
}
#locket-intro-words {
  position: relative;
  z-index: 1;
  will-change: transform, opacity, filter;
  animation: introStackBounce 2.04s linear both;
  transition: transform 0.22s ease-out, opacity 0.20s ease-out, filter 0.22s ease-out;
}
#locket-intro-overlay.intro-blur-out #locket-intro-words {
  transform: scale3d(0.95, 0.95, 1);
  opacity: 0;
  filter: blur(10px);
}
@keyframes introWord1Bounce {
  0%, 11% {
    opacity: 0;
    transform: translate3d(0, 0.94em, 0) scale3d(0.18, 0.18, 1) rotate(-9deg);
    animation-timing-function: linear;
  }
  13% {
    opacity: 1;
    transform: translate3d(0, 0.94em, 0) scale3d(0.46, 0.46, 1) rotate(-7deg);
    animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1);
  }
  21.5% {
    opacity: 1;
    transform: translate3d(0, 0.94em, 0) scale3d(1.27, 1.27, 1) rotate(0.5deg);
    animation-timing-function: cubic-bezier(0.38, 0, 0.24, 1);
  }
  33.5% {
    opacity: 1;
    transform: translate3d(0, 0.94em, 0) scale3d(1, 1, 1) rotate(-4.8deg);
    animation-timing-function: cubic-bezier(0.22, 0.9, 0.32, 1);
  }
  44% {
    opacity: 1;
    transform: translate3d(0, 0.24em, 0) scale3d(1.11, 1.11, 1) rotate(-3deg);
    animation-timing-function: cubic-bezier(0.38, 0, 0.24, 1);
  }
  56.5% {
    opacity: 1;
    transform: translate3d(0, 0.47em, 0) scale3d(1, 1, 1) rotate(-4.8deg);
    animation-timing-function: cubic-bezier(0.22, 0.9, 0.32, 1);
  }
  67% {
    opacity: 1;
    transform: translate3d(0, -0.22em, 0) scale3d(1.09, 1.09, 1) rotate(-3.4deg);
    animation-timing-function: cubic-bezier(0.38, 0, 0.24, 1);
  }
  78.5%, 100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(-4.8deg);
  }
}
@keyframes introWord2Bounce {
  0%, 33.5% {
    opacity: 0;
    transform: translate3d(0, 0.62em, 0) scale3d(0.18, 0.18, 1) rotate(6deg);
    animation-timing-function: linear;
  }
  35.5% {
    opacity: 1;
    transform: translate3d(0, 0.56em, 0) scale3d(0.46, 0.46, 1) rotate(4.5deg);
    animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1);
  }
  44% {
    opacity: 1;
    transform: translate3d(0, 0.44em, 0) scale3d(1.24, 1.24, 1) rotate(-2deg);
    animation-timing-function: cubic-bezier(0.38, 0, 0.24, 1);
  }
  56.5% {
    opacity: 1;
    transform: translate3d(0, 0.47em, 0) scale3d(1, 1, 1) rotate(2.2deg);
    animation-timing-function: cubic-bezier(0.22, 0.9, 0.32, 1);
  }
  67% {
    opacity: 1;
    transform: translate3d(0, -0.10em, 0) scale3d(1.08, 1.08, 1) rotate(3.4deg);
    animation-timing-function: cubic-bezier(0.38, 0, 0.24, 1);
  }
  78.5%, 100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(2.2deg);
  }
}
@keyframes introWord3Bounce {
  0%, 56.5% {
    opacity: 0;
    transform: translate3d(0, 0.22em, 0) scale3d(0.18, 0.18, 1) rotate(-7deg);
    animation-timing-function: linear;
  }
  58.5% {
    opacity: 1;
    transform: translate3d(0, 0.14em, 0) scale3d(0.46, 0.46, 1) rotate(-5deg);
    animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1);
  }
  67% {
    opacity: 1;
    transform: translate3d(0, 0.02em, 0) scale3d(1.25, 1.25, 1) rotate(0deg);
    animation-timing-function: cubic-bezier(0.38, 0, 0.24, 1);
  }
  78.5%, 100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(-2.5deg);
  }
}
.intro-word {
  opacity: 0;
  will-change: transform, opacity;
  transform-origin: center center;
  color: #1D1B16;
  line-height: 0.94;
  user-select: none;
}
@media (max-width: 639px) {
  .intro-word {
    font-size: clamp(3.15rem, 14.2vw, 3.75rem);
  }
}
#intro-word-1 { animation: introWord1Bounce 2.04s linear both; }
#intro-word-2 { animation: introWord2Bounce 2.04s linear both; }
#intro-word-3 { animation: introWord3Bounce 2.04s linear both; }

#page-blur-stage {
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
body.intro-active #page-blur-stage {
  opacity: 0.25;
}

header.sticky {
  top: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  background: rgba(255, 233, 179, 0.88) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  border: none !important;
  box-shadow: none !important;
}

header button[onclick*="home"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 2px 4px 2px 0 !important;
}

#nav-brand-text {
  font-family: ui-rounded, 'SF Pro Rounded', 'Nunito', 'Fredoka', 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

#mobile-menu {
  border-radius: 22px !important;
  border: 1px solid #E8DEC5 !important;
  background: rgba(255, 253, 247, 0.97) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 16px 36px -10px rgba(24, 23, 21, 0.14) !important;
}

#view-home > section:first-of-type {
  background: linear-gradient(180deg, #FFE9B3 0%, #FEEEC4 28%, #FEF6E2 55%, #FFFBF2 80%, #FFFBF2 100%) !important;
}

#hero-iphone-shell {
  transform: rotate(0deg) !important;
  background: linear-gradient(180deg, #DAE3EF 0%, #E5ECF5 54%, #F3F6F8 80%, rgba(255, 251, 242, 0) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-top: 2px solid #CBD5E2 !important;
  border-left: 2px solid #CBD5E2 !important;
  border-right: 2px solid #CBD5E2 !important;
  border-bottom: none !important;
  box-shadow:
    inset 0 2px 1px 0 rgba(255, 255, 255, 0.78),
    0 -2px 28px -8px rgba(100, 116, 139, 0.10),
    0 18px 38px -18px rgba(100, 116, 139, 0.12) !important;
}

#iphone-homescreen-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.89;
  contain: layout style;
}

.ios-spring-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 20.5%;
  aspect-ratio: 1 / 1;
  opacity: var(--init-opacity, 1);
  transform: translate3d(
    calc(var(--init-col, 0) * 129.27%),
    calc(var(--init-row, 0) * 129.27%),
    0
  );
  transition:
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#iphone-homescreen-stage.widget-active .ios-spring-icon {
  transform: translate3d(
    calc(var(--final-col, 0) * 129.27%),
    calc(var(--final-row, 0) * 129.27%),
    0
  );
  opacity: var(--final-opacity, 1);
}

#ios-locket-widget-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 47.0%;
  opacity: 0;
  transform: scale(0.38) translateY(-8px);
  pointer-events: none;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.68s cubic-bezier(0.34, 1.45, 0.64, 1);
  will-change: transform, opacity;
  z-index: 15;
}

#iphone-homescreen-stage.widget-active #ios-locket-widget-card {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

@keyframes locketReactionFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.55);
  }
  18% {
    opacity: 1;
    transform: translate3d(calc(var(--rx-drift, 6px) * 0.35), -16px, 0) scale(1.06);
  }
  75% {
    opacity: 0.92;
    transform: translate3d(var(--rx-drift, 6px), -92px, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--rx-drift, 6px) * 1.25), -130px, 0) scale(0.85);
  }
}
.locket-reaction-float {
  position: absolute;
  bottom: 8px;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.18));
  opacity: 0;
  will-change: transform, opacity;
  animation: locketReactionFloat 2.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#hero-bottom-lockup {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
#hero-bottom-lockup.lockup-visible {
  opacity: 1;
  transform: translateY(0);
}

#hero-bottom-lockup h1 {
  font-family: ui-rounded, 'SF Pro Rounded', 'Nunito', 'Fredoka', 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

#hero-bottom-lockup .hero-gold-cta-btn {
  background: #FEAE01 !important;
  border: none !important;
  border-radius: 9999px !important;
  box-shadow: 0 8px 22px -6px rgba(254, 174, 1, 0.45) !important;
  color: #181715 !important;
}
#hero-bottom-lockup .hero-gold-cta-btn:hover {
  background: #F0A200 !important;
}

#hero-bottom-lockup .hero-scroll-chevron {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#features-grid .grid > button {
  position: relative;
  background: #FEF6E0 !important;
  border: 1px solid rgba(235, 220, 185, 0.65) !important;
  border-radius: 34px !important;
  box-shadow: 0 12px 32px -12px rgba(24, 23, 21, 0.06) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}
#features-grid .grid > button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(24, 23, 21, 0.10) !important;
}

#pricing-card-year,
#pricing-card-lifetime,
#view-guide .bg-white,
#view-guide .bg-amber-100\/80 {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(254, 248, 232, 0.78) 100%) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1.5px solid rgba(245, 208, 120, 0.65) !important;
  border-radius: 34px !important;
  box-shadow: 0 18px 42px -12px rgba(24, 23, 21, 0.08) !important;
}

#live-social-toast {
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.95) 0%, rgba(238, 228, 205, 0.92) 100%) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 9999px !important;
  box-shadow: 0 10px 28px -6px rgba(24, 23, 21, 0.14) !important;
}

#pricing-card-trial ul li,
#pricing-card-year ul li,
#pricing-card-lifetime ul li {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(235, 220, 185, 0.6) !important;
  border-radius: 18px !important;
  padding: 8px 12px !important;
}

#upgrade-modal > div,
#reinstall-modal > div,
#video-modal > div,
#zalo-qr-modal > div,
#admin-login-modal > div {
  background: linear-gradient(155deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 249, 235, 0.94) 100%) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1.5px solid rgba(245, 208, 120, 0.6) !important;
  border-radius: 34px !important;
  box-shadow: 0 28px 70px -12px rgba(15, 23, 42, 0.24) !important;
}

#pricing-card-year > button,
#pricing-card-lifetime > button,
#carousel-tab-year {
  background: #FEAE01 !important;
  border-radius: 9999px !important;
  border: none !important;
  box-shadow: 0 8px 22px -6px rgba(254, 174, 1, 0.42) !important;
  color: #181715 !important;
}

footer {
  background: rgba(254, 246, 224, 0.6) !important;
  border-top: 1px solid rgba(235, 220, 185, 0.7) !important;
}
/* Exact 12-slot coordinates & uniform pill labels (overrides legacy inline vars) */
#iphone-homescreen-stage > .ios-spring-icon {
    transform: translate3d(
    calc(var(--ic, 0) * 129.27%),
    calc(var(--ir, 0) * 129.27%),
    0
  ) !important;
}
#iphone-homescreen-stage.widget-active > .ios-spring-icon {
  transform: translate3d(
    calc(var(--fc, 0) * 129.27%),
    calc(var(--fr, 0) * 129.27%),
    0
  ) !important;
  opacity: var(--fo, 1) !important;
}
#iphone-homescreen-stage > .ios-spring-icon > :first-child {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 13px !important;
}
#iphone-homescreen-stage > .ios-spring-icon > :last-child {
  position: absolute !important;
  bottom: -9px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 20px !important;
  height: 3.5px !important;
  margin-top: 0 !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.80) !important;
}
#iphone-homescreen-stage > .ios-spring-icon:nth-child(2)  { --ic: 0; --ir: 0; --fc: 2; --fr: 0; --fo: 1; }
#iphone-homescreen-stage > .ios-spring-icon:nth-child(3)  { --ic: 1; --ir: 0; --fc: 3; --fr: 0; --fo: 1; }
#iphone-homescreen-stage > .ios-spring-icon:nth-child(4)  { --ic: 2; --ir: 0; --fc: 2; --fr: 1; --fo: 1; }
#iphone-homescreen-stage > .ios-spring-icon:nth-child(5)  { --ic: 3; --ir: 0; --fc: 3; --fr: 1; --fo: 1; }
#iphone-homescreen-stage > .ios-spring-icon:nth-child(6)  { --ic: 0; --ir: 1; --fc: 0; --fr: 2; --fo: 0.85; }
#iphone-homescreen-stage > .ios-spring-icon:nth-child(7)  { --ic: 1; --ir: 1; --fc: 1; --fr: 2; --fo: 0.85; }
#iphone-homescreen-stage > .ios-spring-icon:nth-child(8)  { --ic: 2; --ir: 1; --fc: 2; --fr: 2; --fo: 0.85; }
#iphone-homescreen-stage > .ios-spring-icon:nth-child(9)  { --ic: 3; --ir: 1; --fc: 3; --fr: 2; --fo: 0.85; }
#iphone-homescreen-stage > .ios-spring-icon:nth-child(10) { --ic: 0; --ir: 2; --fc: 0; --fr: 3; --fo: 0.32; }
#iphone-homescreen-stage > .ios-spring-icon:nth-child(11) { --ic: 1; --ir: 2; --fc: 1; --fr: 3; --fo: 0.32; }
#iphone-homescreen-stage > .ios-spring-icon:nth-child(12) { --ic: 2; --ir: 2; --fc: 2; --fr: 3; --fo: 0.32; }
#iphone-homescreen-stage > .ios-spring-icon:nth-child(13) { --ic: 3; --ir: 2; --fc: 3; --fr: 3; --fo: 0.32; }
/* True Optical Apple iOS 26 Liquid Glass Context Menu */
header.sticky {
  overflow: visible !important;
}
.ios26-menu-trigger {
  border-radius: 9999px !important;
  border: none !important;
  background: transparent !important;
  transition: background 0.2s ease, transform 0.16s cubic-bezier(0.32, 0.72, 0, 1) !important;
}
header.mobile-menu-open .ios26-menu-trigger {
  background: rgba(28, 28, 30, 0.08) !important;
  box-shadow: none !important;
}
@keyframes ios26PopoverIn {
  0% { opacity: 0; transform: scale(0.88) translateY(-6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
#mobile-menu {
  position: fixed !important;
  top: 64px !important;
  right: max(16px, calc((100vw - 1024px) / 2 + 24px)) !important;
  left: auto !important;
  width: min(244px, calc(100vw - 32px)) !important;
  z-index: 60 !important;
  margin: 0 !important;
  padding: 6px !important;
  border-radius: 22px !important;
  border: none !important;
  background: rgba(250, 250, 252, 0.62) !important;
  backdrop-filter: blur(48px) saturate(210%) brightness(1.04) !important;
  -webkit-backdrop-filter: blur(48px) saturate(210%) brightness(1.04) !important;
  box-shadow:
    0 24px 54px -10px rgba(0, 0, 0, 0.18),
    0 6px 16px -4px rgba(0, 0, 0, 0.06),
    0 0 0 0.5px rgba(0, 0, 0, 0.06) !important;
  animation: ios26PopoverIn 0.22s cubic-bezier(0.32, 0.72, 0, 1) both;
  transform-origin: top right;
}
#mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.22) 36%,
    rgba(255, 255, 255, 0.06) 66%,
    rgba(255, 255, 255, 0.58) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.ios26-hairline {
  height: 0.5px;
  margin: 0 12px;
  background: rgba(60, 60, 67, 0.12);
}
.menu-nav-item {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Plus Jakarta Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #1C1C1E;
  background: transparent;
  border: none;
  transition: background-color 0.14s ease;
}
.menu-nav-item:hover,
.menu-nav-item:active {
  background: rgba(0, 0, 0, 0.055);
}
.menu-cta-btn {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Plus Jakarta Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #181715;
  background: rgba(254, 174, 1, 0.88);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: background-color 0.14s ease, transform 0.12s ease;
}
.menu-cta-btn:hover {
  background: rgba(245, 166, 0, 0.95);
}
.menu-cta-btn:active {
  transform: scale(0.985);
}

/* Live Buyer Dynamic Pill Toast */
#live-social-toast.st-pill {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  height: 50px;
  width: 50px;
  max-width: calc(100vw - 260px);
  padding: 5px;
  border-radius: 9999px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(95deg, rgba(255, 252, 240, 0.97) 0%, rgba(253, 245, 215, 0.96) 56%, rgba(229, 213, 179, 0.95) 100%);
  border: 1px solid rgba(212, 195, 160, 0.78);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.92), 0 8px 22px -6px rgba(110, 86, 36, 0.18), 0 2px 6px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  transform-origin: 25px 50%;
  will-change: width, transform, opacity, filter;
}

@media (max-width: 639px) {
  #live-social-toast.st-pill {
    left: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    max-width: calc(100vw - 84px);
  }
}

body.lk-bot-open #live-social-toast.st-pill {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#live-social-toast.st-reset {
  opacity: 0;
  transform: scale(0.62) translateZ(0);
  filter: blur(6px);
  transition: none !important;
}

#live-social-toast.st-circle-in {
  opacity: 1;
  transform: scale(1) translateZ(0);
  filter: blur(0px);
  transition:
    opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1.15, 0.36, 1),
    filter 0.24s ease-out,
    width 0.44s cubic-bezier(0.22, 1.06, 0.36, 1);
}

#live-social-toast.st-collapsing {
  transition:
    width 0.36s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.32s ease-in,
    transform 0.32s ease-in,
    filter 0.32s ease-in;
}

#live-social-toast.st-blur-out {
  opacity: 0;
  transform: scale(0.76) translateZ(0);
  filter: blur(7px);
}

#live-social-toast .st-avatar-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#live-social-toast .st-gold-dot {
  position: absolute;
  inset: 5px;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 30%, #FFD54F 0%, #F5AB00 72%, #E09600 100%);
  transform: scale(0.55);
  opacity: 1;
  transition: transform 0.24s cubic-bezier(0.22, 1.15, 0.36, 1), opacity 0.2s ease;
}

#live-social-toast.st-circle-in .st-gold-dot {
  transform: scale(1);
}

#live-social-toast .st-avatar-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.64);
  transition: opacity 0.2s ease-out, transform 0.24s cubic-bezier(0.22, 1.12, 0.36, 1);
}

#live-social-toast.st-avatar-in .st-avatar-img {
  opacity: 1;
  transform: scale(1);
}

#live-social-toast.st-avatar-in .st-gold-dot {
  opacity: 0;
}

#live-social-toast .st-content {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

#live-social-toast.st-expanded .st-content {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.05s;
}

#live-social-toast.st-collapsing .st-content {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.15s ease-in, transform 0.18s ease-in;
}

#live-social-toast .st-line1 {
  font-size: 13.5px;
  line-height: 1.22;
  color: #1A130B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#live-social-toast .st-user {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #161009;
}

#live-social-toast .st-verb {
  font-weight: 700;
  color: #241B11;
}

#live-social-toast .st-time {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  color: #6B6255;
  margin-top: 2px;
  white-space: nowrap;
}


/* ==========================================================================
   POST-INTRO POPUP & PRICING SCARCITY — WARM CREAM LIQUID GLASS PILL STYLE
   (Matched 1:1 with #live-social-toast aesthetic)
   ========================================================================== */

@keyframes postIntroIslandIn {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -18px, 0) scale(0.92);
    filter: blur(5px);
  }
  72% {
    opacity: 1;
    transform: translate3d(-50%, 2px, 0) scale(1.01);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
    filter: blur(0px);
  }
}

@keyframes postIntroIslandOut {
  0% {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -14px, 0) scale(0.94);
    filter: blur(5px);
  }
}

@keyframes quotaBarShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(220%); }
}

.lk-cream-pill {
  border-radius: 9999px;
  background: linear-gradient(95deg, rgba(255, 252, 240, 0.97) 0%, rgba(253, 245, 215, 0.96) 56%, rgba(229, 213, 179, 0.95) 100%);
  border: 1px solid rgba(212, 195, 160, 0.78);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.92),
    0 8px 22px -6px rgba(110, 86, 36, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.lk-pill-avatar {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #FFE074 0%, #F5AB00 74%, #E09600 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 2px 6px rgba(140, 95, 0, 0.18);
}

.lk-pill-line1 {
  font-size: 13.5px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #161009;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lk-pill-line2 {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  color: #6B6255;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#post-intro-island {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  z-index: 46;
  width: min(94vw, 470px);
  padding: 6px 8px 6px 6px;
  animation: postIntroIslandIn 0.44s cubic-bezier(0.22, 1.08, 0.36, 1) both;
}
#post-intro-island.island-closing {
  animation: postIntroIslandOut 0.24s ease-in forwards;
  pointer-events: none;
}
#post-intro-island.hidden {
  display: none !important;
}
body.lk-bot-open #post-intro-island {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.lk-pill-cta-btn {
  padding: 6px 12px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #FFD24C 0%, #F5B000 100%);
  color: #161009;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 2px 6px rgba(160, 108, 0, 0.18);
  transition: transform 0.14s ease, filter 0.14s ease;
  white-space: nowrap;
}
.lk-pill-cta-btn:hover {
  filter: brightness(0.97);
}
.lk-pill-cta-btn:active {
  transform: scale(0.95);
}

.lk-pill-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: rgba(22, 16, 9, 0.065);
  color: #5C5340;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}
.lk-pill-close-btn:hover {
  background: rgba(22, 16, 9, 0.12);
  color: #161009;
}

.cd-digit-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 29px;
  height: 28px;
  padding: 0 5px;
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(212, 195, 160, 0.82);
  color: #161009;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 2px 5px rgba(110, 86, 36, 0.08);
}

.lk-quota-box {
  background: linear-gradient(95deg, rgba(255, 252, 242, 0.96) 0%, rgba(246, 236, 209, 0.92) 100%);
  border: 1px solid rgba(212, 195, 160, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.scarcity-quota-track {
  position: relative;
  height: 7px;
  border-radius: 9999px;
  background: rgba(196, 176, 134, 0.32);
  overflow: hidden;
}
.scarcity-quota-fill {
  position: relative;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #F5B000 0%, #EA7A00 68%, #DC4A1B 100%);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.scarcity-quota-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: quotaBarShimmer 2.4s infinite linear;
}
