/* V3 theme */
html[data-frontend-version="v3"] {
  --v3-pink: #f23d82;
  --v3-pink-deep: #c2185b;
  --v3-coral: #f06292;
  --v3-ink: #323233;
  --v3-muted: #81777c;
  --v3-surface: #ffffff;
  --v3-shadow: 0 10px 28px rgba(121, 32, 70, 0.16);
}

html[data-frontend-version="v3"] body {
  background: #1a1116;
}

html[data-frontend-version="v3"] .mobile-page {
  width: min(100%, 440px);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(92, 44, 64, 0.12), 0 22px 56px rgba(54, 15, 32, 0.26);
}

html[data-frontend-version="v3"] .primary,
html[data-frontend-version="v3"] button.primary {
  background: var(--v3-pink);
  border-color: transparent;
}

html[data-frontend-version="v3"] .mobile-page:has(.v3-auth-scene) .topbar,
html[data-frontend-version="v3"] .mobile-page:has(.v3-auth-scene) .bottom-nav {
  display: none;
}

html[data-frontend-version="v3"] .mobile-page:has(.v3-auth-scene),
html[data-frontend-version="v3"] .mobile-page:has(.v3-auth-scene) .screen {
  min-height: 100dvh;
  padding: 0;
}

html[data-frontend-version="v3"] .v3-auth-scene {
  position: relative;
  display: flex;
  min-height: 100dvh;
  padding: max(18px, env(safe-area-inset-top)) 8% max(30px, env(safe-area-inset-bottom));
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(40, 12, 28, 0.1) 0%, rgba(38, 12, 27, 0.08) 42%, rgba(17, 7, 13, 0.46) 100%),
    url("/assets/v3/login-sunset-couple.png") center / cover no-repeat;
}

html[data-frontend-version="v3"] .v3-auth-scene::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(48, 11, 30, 0.12), transparent 35%, transparent 65%, rgba(48, 11, 30, 0.1));
}

html[data-frontend-version="v3"] .v3-auth-brand,
html[data-frontend-version="v3"] .v3-auth-card,
html[data-frontend-version="v3"] .v3-auth-back,
html[data-frontend-version="v3"] .v3-auth-support {
  position: relative;
  z-index: 1;
}

html[data-frontend-version="v3"] .v3-auth-brand {
  display: grid;
  margin: 0 auto 38px;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  text-shadow: 0 2px 12px rgba(39, 8, 26, 0.38);
}

html[data-frontend-version="v3"] .v3-heart-mark {
  grid-row: 1 / span 2;
  font: 66px/0.8 Georgia, serif;
  color: #fff;
  transform: rotate(-8deg);
}

html[data-frontend-version="v3"] .v3-heart-mark:has(img) {
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 17px;
  transform: none;
  box-shadow: 0 10px 28px rgba(80, 8, 43, .28);
}

html[data-frontend-version="v3"] .v3-heart-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }

html[data-frontend-version="v3"] .v3-auth-brand strong {
  align-self: end;
  font: 600 39px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -1.5px;
}

html[data-frontend-version="v3"] .v3-auth-brand strong::first-letter {
  color: #fff;
}

html[data-frontend-version="v3"] .v3-auth-brand small {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-align: center;
}

html[data-frontend-version="v3"] .v3-auth-card {
  width: 100%;
  max-width: 355px;
  margin: 0 auto;
}

html[data-frontend-version="v3"] .v3-auth-field {
  display: flex;
  min-height: 59px;
  margin-top: 23px;
  padding: 6px 13px;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--v3-pink);
  backdrop-filter: blur(7px);
}

html[data-frontend-version="v3"] .v3-auth-field:first-of-type {
  margin-top: 0;
}

html[data-frontend-version="v3"] .v3-auth-field > span {
  width: 23px;
  font-size: 26px;
  line-height: 1;
  text-align: center;
}

html[data-frontend-version="v3"] .v3-auth-field input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #231b20;
  font: 17px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-frontend-version="v3"] .v3-auth-field input::placeholder {
  color: rgba(35, 27, 32, 0.78);
}

html[data-frontend-version="v3"] .v3-password-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 0;
  background: transparent;
  color: var(--v3-pink);
  font-size: 22px;
}

html[data-frontend-version="v3"] .v3-register-prompt,
html[data-frontend-version="v3"] .v3-auth-legal {
  margin: 24px 0 0;
  text-align: center;
  text-shadow: 0 1px 5px rgba(30, 8, 21, 0.55);
}

html[data-frontend-version="v3"] .v3-register-prompt button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--v3-pink);
  font: inherit;
}

html[data-frontend-version="v3"] .v3-auth-legal button,
html[data-frontend-version="v3"] .v3-terms-check button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
}

html[data-frontend-version="v3"] .v3-auth-submit {
  width: 100%;
  min-height: 59px;
  margin-top: 46px;
  border: 0;
  border-radius: 30px;
  background: linear-gradient(90deg, #f06292, #ec407a);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(194, 24, 91, 0.28);
}

html[data-frontend-version="v3"] .is-register .v3-auth-brand {
  margin-bottom: 12px;
  transform: scale(0.82);
}

html[data-frontend-version="v3"] .is-register .v3-auth-submit {
  margin-top: 22px;
}

html[data-frontend-version="v3"] .v3-terms-check {
  display: flex;
  margin: 24px 2px 0;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  text-shadow: 0 1px 5px rgba(30, 8, 21, 0.55);
}

html[data-frontend-version="v3"] .v3-terms-check input {
  position: absolute;
  opacity: 0;
}

html[data-frontend-version="v3"] .v3-terms-check i {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border: 1.5px solid #fff;
  border-radius: 50%;
}

html[data-frontend-version="v3"] .v3-terms-check input:checked + i {
  border-color: var(--v3-pink);
  background: radial-gradient(circle, var(--v3-pink) 0 48%, transparent 52%);
}

html[data-frontend-version="v3"] .v3-auth-back,
html[data-frontend-version="v3"] .v3-auth-support {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(35, 7, 22, 0.5);
}

html[data-frontend-version="v3"] .v3-auth-support {
  font-size: 29px;
}

html[data-frontend-version="v3"] .v3-auth-card .field-feedback {
  display: block;
  min-height: 0;
  margin: 4px 20px -11px;
  color: #fff;
  font-size: 12px;
  text-shadow: 0 1px 4px rgba(40, 7, 24, 0.8);
}

html[data-frontend-version="v3"] .mobile-page:has(.v3-legal-page) .topbar,
html[data-frontend-version="v3"] .mobile-page:has(.v3-legal-page) .bottom-nav {
  display: none;
}

html[data-frontend-version="v3"] .mobile-page:has(.v3-legal-page) .screen {
  padding: 0;
}

html[data-frontend-version="v3"] .v3-legal-page {
  min-height: 100dvh;
  background: #fff;
  color: #272126;
}

html[data-frontend-version="v3"] .v3-legal-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  height: 58px;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  background: #000000;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

html[data-frontend-version="v3"] .v3-legal-header button {
  width: 50px;
  height: 58px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 40px;
}

html[data-frontend-version="v3"] .v3-legal-header strong {
  grid-column: 2;
  font-size: 20px;
  text-align: center;
}

html[data-frontend-version="v3"] .v3-legal-content {
  padding: 30px 18px 46px;
  font-size: 15px;
  line-height: 1.85;
}

html[data-frontend-version="v3"] .v3-legal-content h1 {
  margin: 0 0 24px;
  font-size: 21px;
  line-height: 1.5;
  text-align: center;
}

html[data-frontend-version="v3"] .v3-legal-content h2 {
  margin: 25px 0 8px;
  padding-left: 9px;
  border-left: 3px solid var(--v3-pink);
  font-size: 18px;
  line-height: 1.35;
}

html[data-frontend-version="v3"] .v3-legal-content p {
  margin: 0 0 13px;
  text-align: justify;
}

@media (max-height: 690px) {
  html[data-frontend-version="v3"] .v3-auth-brand {
    margin-bottom: 20px;
    transform: scale(0.9);
  }

  html[data-frontend-version="v3"] .v3-auth-field {
    min-height: 54px;
    margin-top: 16px;
  }

  html[data-frontend-version="v3"] .v3-auth-submit {
    min-height: 54px;
    margin-top: 30px;
  }
}

/* V3 application shell */
html[data-frontend-version="v3"] {
  --app-max: 440px;
  --bottom-nav-h: 66px;
  --v3-black: #000000;
  --v3-gray: #f2f2f5;
  --v3-line: #e8e1e5;
}

html[data-frontend-version="v3"] .topbar { display: none; }
html[data-frontend-version="v3"] .screen { min-height: 100dvh; padding: 0 0 calc(var(--bottom-nav-h) + var(--safe-bottom)); background: #ffffff; }
html[data-frontend-version="v3"] .bottom-nav {
  min-height: calc(var(--bottom-nav-h) + var(--safe-bottom));
  padding: 0 5px var(--safe-bottom);
  border-top: 1px solid #181818;
  background: #000000;
  box-shadow: 0 -7px 22px rgba(0, 0, 0, .2);
}
html[data-frontend-version="v3"] .bottom-nav .v3-nav-item { position: relative; display: grid; min-width: 0; padding: 7px 1px 5px; overflow: hidden; place-items: center; gap: 1px; background: transparent; color: #8b8b90; font-size: 11px; }
html[data-frontend-version="v3"] .bottom-nav .v3-nav-item.active { color: #ffffff; }
html[data-frontend-version="v3"] .bottom-nav .v3-nav-item > span:last-of-type { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-nav-glyph { display: grid; width: 30px; height: 30px; place-items: center; font-size: 27px; line-height: 1; }
html[data-frontend-version="v3"] .v3-nav-dot { position: absolute; top: 4px; right: 19%; display: grid; min-width: 17px; height: 17px; padding: 0 4px; place-items: center; border-radius: 9px; background: var(--v3-accent, var(--v3-pink)); color: #fff; font-size: 9px; }

html[data-frontend-version="v3"] .v3-page { min-width: 0; min-height: calc(100dvh - var(--bottom-nav-h)); padding-bottom: 72px; overflow-x: clip; background: #fff; color: var(--v3-ink); font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html[data-frontend-version="v3"] .v3-page button { color: inherit; }
html[data-frontend-version="v3"] .v3-brand-header,
html[data-frontend-version="v3"] .v3-page-header { position: sticky; top: 0; z-index: 20; display: grid; min-height: 58px; align-items: center; background: var(--v3-black); color: #fff; }
html[data-frontend-version="v3"] .v3-brand-header { grid-template-columns: 1fr 58px; padding-left: 58px; text-align: center; }
html[data-frontend-version="v3"] .v3-brand-header > span { display: inline-flex; min-width: 0; align-items: center; justify-content: center; gap: 9px; overflow: hidden; }
html[data-frontend-version="v3"] .v3-brand-header .v3-header-logo { width: 31px; height: 31px; border-radius: 9px; }
html[data-frontend-version="v3"] .v3-brand-header strong { min-width: 0; overflow: hidden; color: var(--v3-accent, var(--v3-pink)); font: italic 800 27px/1 Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-brand-header > button { height: 58px; background: transparent; color: #fff; font-size: 28px; }
html[data-frontend-version="v3"] .v3-page-header { grid-template-columns: 52px 1fr 52px; }
html[data-frontend-version="v3"] .v3-page-header:has(.v3-view-toggle) { grid-template-columns: 52px minmax(0,1fr) 82px; }
html[data-frontend-version="v3"] .v3-page-header:has(.v3-view-toggle) .v3-header-actions { width: 82px; justify-content: center; }
html[data-frontend-version="v3"] .v3-page-header > strong { min-width: 0; padding-inline: 4px; grid-column: 2; overflow: hidden; text-align: center; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-header-button,
html[data-frontend-version="v3"] .v3-icon-button { position: relative; display: grid; width: 52px; height: 58px; place-items: center; background: transparent; color: #fff !important; font-size: 32px; }
html[data-frontend-version="v3"] .v3-header-actions { display: grid; height: 58px; place-items: center; }
html[data-frontend-version="v3"] .v3-header-actions .v3-icon-button b { position: absolute; top: 7px; right: 4px; display: grid; min-width: 17px; height: 17px; padding: 0 3px; place-items: center; border-radius: 9px; background: var(--v3-accent, var(--v3-pink)); color: #fff; font-size: 9px; }
html[data-frontend-version="v3"] .v3-view-toggle { display: flex; height: 42px; padding: 3px; align-items: center; gap: 2px; border: 1px solid rgba(255,255,255,.34); border-radius: 8px; background: rgba(255,255,255,.08); }
html[data-frontend-version="v3"] .v3-view-toggle button { display: grid; width: 31px; height: 34px; padding: 0; place-items: center; border-radius: 6px; background: transparent; color: #b8b8bc; font-size: 21px; }
html[data-frontend-version="v3"] .v3-view-toggle button.active { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }

html[data-frontend-version="v3"] .v3-quick-language { position: fixed; z-index: 65; right: max(12px, calc((100vw - 440px) / 2 + 12px)); bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 10px); display: grid; justify-items: end; gap: 8px; direction: ltr; }
html[data-frontend-version="v3"] .v3-auth-scene .v3-quick-language,
html[data-frontend-version="v3"] .v3-legal-page .v3-quick-language { bottom: max(18px, env(safe-area-inset-bottom)); }
html[data-frontend-version="v3"] .v3-quick-language-trigger { display: inline-flex; min-width: 54px; height: 40px; padding: 0 11px; align-items: center; justify-content: center; gap: 5px; border: 1px solid #e6c3a1; border-radius: 20px; background: rgba(255,255,255,.96); color: var(--v3-accent, var(--v3-pink)) !important; box-shadow: 0 7px 20px rgba(92,35,59,.16); backdrop-filter: blur(8px); }
html[data-frontend-version="v3"] .v3-quick-language-trigger span { font-size: 20px; line-height: 1; }
html[data-frontend-version="v3"] .v3-quick-language-trigger b { font-size: 12px; letter-spacing: .04em; }
html[data-frontend-version="v3"] .v3-quick-language-menu { display: grid; width: min(250px, calc(100vw - 34px)); max-height: min(58dvh, 500px); padding: 7px; gap: 3px; overflow-y: auto; border: 1px solid #eadde3; border-radius: 12px; background: #ffffff; color: var(--v3-ink); box-shadow: 0 13px 34px rgba(80,27,51,.22); }
html[data-frontend-version="v3"] .v3-quick-language-menu button { display: flex; min-height: 39px; padding: 7px 10px; align-items: center; justify-content: space-between; gap: 10px; border-radius: 9px; background: transparent; color: #20151b !important; text-align: left; }
html[data-frontend-version="v3"] .v3-quick-language-menu button:hover,
html[data-frontend-version="v3"] .v3-quick-language-menu button.active { background: #fff0f5; color: var(--v3-accent, var(--v3-pink)) !important; font-weight: 750; }
html[data-frontend-version="v3"] .v3-quick-language-menu small { color: #94828b; font-size: 10px; }
html[data-frontend-version="v3"] .v3-quick-language.is-header { position: relative; right: auto; bottom: auto; width: 58px; height: 58px; place-items: center; }
html[data-frontend-version="v3"] .v3-quick-language.is-header .v3-quick-language-trigger { width: 58px; height: 58px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
html[data-frontend-version="v3"] .v3-quick-language.is-header .v3-quick-language-menu { position: absolute; top: 54px; right: 6px; }
html[data-frontend-version="v3"] .v3-quick-language.is-profile { position: absolute; top: 12px; right: 12px; bottom: auto; }
html[data-frontend-version="v3"] .v3-quick-language.is-profile .v3-quick-language-menu { position: absolute; top: 47px; right: 0; }

html[data-frontend-version="v3"] .support-float { right: auto; left: max(12px, calc((100vw - var(--app-max)) / 2 + 12px)); justify-items: start; }
html[data-frontend-version="v3"] .support-fab { display: inline-flex; min-width: 48px; min-height: 48px; padding: 0 13px; background: linear-gradient(135deg, #f06292, #ec407a); box-shadow: 0 10px 25px rgba(194,24,91,.3); }
html[data-frontend-version="v3"] body:has(.support-float.open) .v3-quick-language { visibility: hidden; opacity: 0; pointer-events: none; }
html[data-frontend-version="v3"] body:has(.modal-backdrop) .v3-quick-language,
html[data-frontend-version="v3"] body:has(.modal-backdrop) .support-float:not(.open) { visibility: hidden; opacity: 0; pointer-events: none; }
html[data-frontend-version="v3"] .support-window { max-width: calc(min(100vw, var(--app-max)) - 24px); }

html[data-frontend-version="v3"] .v3-home-hero { position: relative; min-height: 202px; margin: 0 10px; border: 2px solid #fff; border-radius: 26px; background-position: center; background-size: cover; box-shadow: inset 0 0 0 1px #121212; }
html[data-frontend-version="v3"] .v3-home-hero div { position: absolute; right: 16px; bottom: 26px; left: 16px; display: grid; justify-items: center; gap: 5px; color: #fff; text-align: center; text-shadow: 0 1px 4px #000; }
html[data-frontend-version="v3"] .v3-home-hero b { padding: 3px 9px; border-radius: 6px; background: rgba(0,0,0,.78); font-size: 12px; }
html[data-frontend-version="v3"] .v3-home-hero span { font-size: 13px; }
html[data-frontend-version="v3"] .v3-home-carousel { position: relative; padding: 8px 10px 30px; overflow: hidden; background: #fff5f8; }
html[data-frontend-version="v3"] .v3-home-carousel.is-single { padding-bottom: 10px; }
html[data-frontend-version="v3"] .v3-home-banners { display: flex; gap: 0; margin: 0; padding: 0; overflow-x: auto; overscroll-behavior-x: contain; background: transparent; direction: ltr; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pan-y; }
html[data-frontend-version="v3"] .v3-home-banners::-webkit-scrollbar { display: none; }
html[data-frontend-version="v3"] .v3-home-banners article { position: relative; width: 100%; flex: 0 0 100%; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 12px; background: #f0e4e9; scroll-snap-align: start; scroll-snap-stop: always; }
html[data-frontend-version="v3"] .v3-home-banners img { display: block; width: 100%; height: 100%; pointer-events: none; user-select: none; object-fit: cover; }
html[data-frontend-version="v3"] .v3-home-banners article > div { position: absolute; right: 44px; bottom: 12px; left: 44px; display: grid; justify-items: center; gap: 4px; color: #fff; text-align: center; text-shadow: 0 1px 5px #000; }
html[data-frontend-version="v3"] .v3-home-banners article.has-embedded-copy > div { display: none; }
html[data-frontend-version="v3"] .v3-home-carousel.is-single .v3-home-banners article > div { right: 12px; left: 12px; }
html[data-frontend-version="v3"] .v3-home-banners article b { padding: 3px 9px; border-radius: 6px; background: rgba(0, 0, 0, .76); font-size: 12px; }
html[data-frontend-version="v3"] .v3-home-banners article span { font-size: 11px; font-weight: 700; }
html[data-frontend-version="v3"] .v3-banner-arrow { position: absolute; z-index: 3; top: calc(50% - 11px); display: grid; width: 36px; height: 44px; padding: 0; transform: translateY(-50%); place-items: center; border: 1px solid rgba(255,255,255,.68); border-radius: 22px; background: rgba(9,6,8,.48); color: #fff !important; box-shadow: 0 2px 8px rgba(0,0,0,.24); font: 400 32px/1 Arial,sans-serif; backdrop-filter: blur(4px); }
html[data-frontend-version="v3"] .v3-banner-arrow.is-previous { left: 16px; }
html[data-frontend-version="v3"] .v3-banner-arrow.is-next { right: 16px; }
html[data-frontend-version="v3"] .v3-banner-arrow:hover { background: rgba(236,64,122,.9); }
html[data-frontend-version="v3"] .v3-banner-dots { position: absolute; z-index: 3; right: 12px; bottom: 5px; left: 12px; display: flex; min-height: 22px; align-items: center; justify-content: center; gap: 1px; }
html[data-frontend-version="v3"] .v3-banner-dots button { position: relative; width: 23px; height: 22px; padding: 0; background: transparent; }
html[data-frontend-version="v3"] .v3-banner-dots button::after { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; transform: translate(-50%,-50%); border-radius: 999px; background: rgba(255,255,255,.58); box-shadow: 0 0 0 1px rgba(0,0,0,.18); content: ""; transition: width .2s ease,background-color .2s ease; }
html[data-frontend-version="v3"] .v3-banner-dots button.active::after { width: 19px; background: var(--v3-accent, var(--v3-pink)); }
html[data-frontend-version="v3"] .v3-banner-arrow:focus-visible,
html[data-frontend-version="v3"] .v3-banner-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
html[data-frontend-version="v3"] .v3-announcement { display: grid; min-height: 58px; margin: 0; padding: 10px; grid-template-columns: 28px 1fr; align-items: center; background: #f2f2f5; }
html[data-frontend-version="v3"] .v3-announcement b { font-size: 22px; }
html[data-frontend-version="v3"] .v3-announcement div { overflow: hidden; padding: 8px 12px; border-radius: 22px; background: #fff; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-announcement span { display: inline-block; min-width: 100%; animation: v3-marquee 18s linear infinite; }
@keyframes v3-marquee { from { transform: translateX(95%); } to { transform: translateX(-105%); } }

html[data-frontend-version="v3"] .v3-section { padding: 12px 10px 4px; }
html[data-frontend-version="v3"] .v3-section > header { display: flex; min-width: 0; min-height: 34px; align-items: center; flex-wrap: wrap; gap: 7px; }
html[data-frontend-version="v3"] .v3-section > header h2 { min-width: 0; margin: 0; font-size: 18px; font-weight: 500; }
html[data-frontend-version="v3"] .v3-section > header small { min-width: 0; padding: 2px 7px; flex: 1 1 110px; overflow: hidden; border-radius: 5px; background: #fff0f5; color: #8d3e5e; font-size: 11px; font-style: italic; text-overflow: ellipsis; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-section > header button { margin-left: auto; padding: 4px; flex: 0 0 auto; background: transparent; color: #777; font-size: 12px; }
html[data-frontend-version="v3"] .v3-host-rail,
html[data-frontend-version="v3"] .v3-store-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
html[data-frontend-version="v3"] .v3-host-rail > button { width: 96px; flex: 0 0 96px; padding: 0; overflow: hidden; background: #fff; scroll-snap-align: start; }
html[data-frontend-version="v3"] .v3-host-rail > button > span { position: relative; display: block; height: 118px; overflow: hidden; border-radius: 6px; }
html[data-frontend-version="v3"] .v3-host-rail img { width: 100%; height: 100%; object-fit: cover; }
html[data-frontend-version="v3"] .v3-host-rail > button > b { display: block; margin-top: -22px; padding: 0 4px 5px; position: relative; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 4px #000; }
html[data-frontend-version="v3"] .v3-corner-badge { position: absolute; z-index: 2; top: 9px; right: -27px; width: 86px; padding: 2px 0; transform: rotate(45deg); background: #000000; color: #fff; text-align: center; font-weight: 700; }

html[data-frontend-version="v3"] .v3-recommend-list { display: grid; gap: 12px; }
html[data-frontend-version="v3"] .v3-recommend-card { display: grid; min-height: 178px; grid-template-columns: 42% 1fr; overflow: hidden; border: 1px solid #eadde3; border-radius: 8px; background: #fff; box-shadow: 0 6px 18px rgba(83, 29, 52, .1); }
html[data-frontend-version="v3"] .v3-recommend-photo { position: relative; display: block; min-height: 178px; padding: 0; overflow: hidden; background: #ddd; }
html[data-frontend-version="v3"] .v3-recommend-photo img { width: 100%; height: 100%; object-fit: cover; }
html[data-frontend-version="v3"] .v3-recommend-copy { display: grid; padding: 9px; align-content: start; gap: 4px; }
html[data-frontend-version="v3"] .v3-recommend-copy h3,
html[data-frontend-version="v3"] .v3-recommend-copy p { margin: 0; }
html[data-frontend-version="v3"] .v3-recommend-copy h3 { font-size: 19px; }
html[data-frontend-version="v3"] .v3-recommend-copy p { display: -webkit-box; overflow: hidden; color: #686168; font-size: 12px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
html[data-frontend-version="v3"] .v3-recommend-copy > small { color: #5e575c; font-size: 10px; }
html[data-frontend-version="v3"] .v3-auth-tags { display: flex; gap: 4px; }
html[data-frontend-version="v3"] .v3-auth-tags span { padding: 2px 5px; border-radius: 4px; background: #fff0f5; color: #8d3e5e; font-size: 9px; }
html[data-frontend-version="v3"] .v3-stars { color: #795548; letter-spacing: 1px; }
html[data-frontend-version="v3"] .v3-recommend-copy > div:last-child { display: grid; margin-top: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
html[data-frontend-version="v3"] .v3-recommend-copy > div:last-child button { min-width: 0; padding-inline: 6px; overflow-wrap: anywhere; line-height: 1.15; }
html[data-frontend-version="v3"] .v3-row-actions { display: flex; gap: 6px; margin-top: 4px; }

html[data-frontend-version="v3"] .v3-dark-button,
html[data-frontend-version="v3"] .v3-accent-button,
html[data-frontend-version="v3"] .v3-outline-button { min-height: 38px; padding: 8px 12px; border-radius: 5px; font-weight: 700; }
html[data-frontend-version="v3"] .v3-dark-button { background: #000000; color: #fff !important; }
html[data-frontend-version="v3"] .v3-accent-button { background: var(--v3-accent, var(--v3-pink)); color: #fff !important; }
html[data-frontend-version="v3"] .v3-outline-button { border: 1px solid #171317; background: #fff; color: #171317; }
html[data-frontend-version="v3"] .v3-wide { width: 100%; }
html[data-frontend-version="v3"] .v3-store-section { padding-bottom: 18px; background: #f3f3f4; }
html[data-frontend-version="v3"] .v3-store-rail > button { display: grid; width: 132px; flex: 0 0 132px; padding: 7px; gap: 4px; background: #fff; text-align: left; }
html[data-frontend-version="v3"] .v3-store-rail img { width: 100%; aspect-ratio: 1; object-fit: cover; }
html[data-frontend-version="v3"] .v3-store-rail b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-store-rail strong { color: var(--v3-accent, var(--v3-pink)); }

html[data-frontend-version="v3"] .v3-online-panel { margin: 7px 8px 42px; padding: 9px 14px; overflow: hidden; border-radius: 8px; background: #000000; color: #fff; text-align: center; }
html[data-frontend-version="v3"] .v3-online-panel > strong { display: block; color: #ff69b4; font-size: 15px; }
html[data-frontend-version="v3"] .v3-online-ticker { position: relative; height: 128px; margin-top: 6px; overflow: hidden; outline: 0; mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); }
html[data-frontend-version="v3"] .v3-online-ticker-track { display: flex; flex-direction: column; animation: v3-online-ticker-scroll 64s linear infinite; will-change: transform; }
html[data-frontend-version="v3"] .v3-online-ticker-group { display: grid; flex: 0 0 auto; padding-bottom: 8px; }
html[data-frontend-version="v3"] .v3-online-ticker-group span { display: block; min-height: 29px; line-height: 29px; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-online-ticker:hover .v3-online-ticker-track,
html[data-frontend-version="v3"] .v3-online-ticker:focus .v3-online-ticker-track,
html[data-frontend-version="v3"] .v3-online-ticker:active .v3-online-ticker-track { animation-play-state: paused; }
html[data-frontend-version="v3"] .v3-online-ticker:focus-visible { box-shadow: inset 0 0 0 2px rgba(255, 105, 180, .72); }
@keyframes v3-online-ticker-scroll { to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html[data-frontend-version="v3"] .v3-online-ticker { overflow-y: auto; mask-image: none; -webkit-mask-image: none; scrollbar-width: thin; }
  html[data-frontend-version="v3"] .v3-online-ticker-track { animation: none; }
  html[data-frontend-version="v3"] .v3-online-ticker-group[aria-hidden="true"] { display: none; }
}

/* Fixed dark palette for V3 public pages. */
html[data-frontend-version="v3"] {
  color-scheme: dark;
  --bg: #100a18;
  --paper: #1b1227;
  --paper-2: #261a35;
  --ink: #fff6fb;
  --muted: #c4b4ce;
  --line: rgba(210, 157, 245, 0.24);
  --brand: #ff4f9a;
  --brand-2: #9b6de0;
  --v3-pink: #ff4f9a;
  --v3-pink-deep: #c92e76;
  --v3-coral: #ff76ae;
  --v3-ink: #fff6fb;
  --v3-muted: #c4b4ce;
  --v3-surface: #1b1227;
  --v3-line: rgba(210, 157, 245, 0.24);
  --v3-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

html[data-frontend-version="v3"] body,
html[data-frontend-version="v3"] .mobile-page,
html[data-frontend-version="v3"] .v3-page,
html[data-frontend-version="v3"] .v3-community,
html[data-frontend-version="v3"] .v3-shop,
html[data-frontend-version="v3"] .v3-finance-page,
html[data-frontend-version="v3"] .v3-mine,
html[data-frontend-version="v3"] .v3-video-content,
html[data-frontend-version="v3"] .v3-vip-membership,
html[data-frontend-version="v3"] .v3-reference-program {
  background: var(--bg) !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .topbar,
html[data-frontend-version="v3"] .bottom-nav,
html[data-frontend-version="v3"] .v3-page-header,
html[data-frontend-version="v3"] .v3-brand-header,
html[data-frontend-version="v3"] .v3-legal-header {
  border-color: var(--line) !important;
  background: rgba(27, 18, 39, 0.96) !important;
  color: var(--ink) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28) !important;
}

html[data-frontend-version="v3"] .v3-page h1,
html[data-frontend-version="v3"] .v3-page h2,
html[data-frontend-version="v3"] .v3-page h3,
html[data-frontend-version="v3"] .v3-page h4,
html[data-frontend-version="v3"] .v3-page strong,
html[data-frontend-version="v3"] .v3-page b,
html[data-frontend-version="v3"] .v3-legal-content,
html[data-frontend-version="v3"] .v3-legal-content h1,
html[data-frontend-version="v3"] .v3-legal-content h2 {
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-section,
html[data-frontend-version="v3"] .v3-recommend-card,
html[data-frontend-version="v3"] .v3-community-card,
html[data-frontend-version="v3"] .v3-nearby-grid article,
html[data-frontend-version="v3"] .v3-profile-directory-card,
html[data-frontend-version="v3"] .v3-content-card,
html[data-frontend-version="v3"] .v3-product-card,
html[data-frontend-version="v3"] .v3-order-list > article,
html[data-frontend-version="v3"] .v3-ledger-list > article,
html[data-frontend-version="v3"] .v3-message-list > article,
html[data-frontend-version="v3"] .v3-saved-addresses > p,
html[data-frontend-version="v3"] .v3-cart-list > article,
html[data-frontend-version="v3"] .v3-form-card,
html[data-frontend-version="v3"] .v3-sticky-actions,
html[data-frontend-version="v3"] .v3-redeem,
html[data-frontend-version="v3"] .v3-mine-grid,
html[data-frontend-version="v3"] .v3-video-content .video-card,
html[data-frontend-version="v3"] .v3-video-content .video-tabs button,
html[data-frontend-version="v3"] .v3-language-list button {
  border-color: var(--line) !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  box-shadow: var(--v3-shadow) !important;
}

html[data-frontend-version="v3"] .v3-section > header small,
html[data-frontend-version="v3"] .v3-recommend-copy p,
html[data-frontend-version="v3"] .v3-recommend-copy > small,
html[data-frontend-version="v3"] .v3-community-card p,
html[data-frontend-version="v3"] .v3-ledger-list article span,
html[data-frontend-version="v3"] .v3-ledger-list article small,
html[data-frontend-version="v3"] .v3-message-list p,
html[data-frontend-version="v3"] .v3-language-list button small,
html[data-frontend-version="v3"] .v3-empty,
html[data-frontend-version="v3"] .v3-profile-facts dt,
html[data-frontend-version="v3"] .v3-product-card > del {
  color: var(--muted) !important;
}

html[data-frontend-version="v3"] .v3-auth-scene {
  background-color: #100a18 !important;
}

html[data-frontend-version="v3"] .v3-auth-field,
html[data-frontend-version="v3"] .v3-auth-field input,
html[data-frontend-version="v3"] .v3-login-field,
html[data-frontend-version="v3"] .v3-login-field input {
  border-color: var(--line) !important;
  background: rgba(27, 18, 39, 0.92) !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-auth-field input::placeholder,
html[data-frontend-version="v3"] .v3-login-field input::placeholder {
  color: var(--muted) !important;
}

html[data-frontend-version="v3"] .v3-auth-field > span,
html[data-frontend-version="v3"] .v3-password-toggle,
html[data-frontend-version="v3"] .v3-register-prompt button,
html[data-frontend-version="v3"] .v3-text-button,
html[data-frontend-version="v3"] .v3-product-copy strong,
html[data-frontend-version="v3"] .v3-order-product strong,
html[data-frontend-version="v3"] .v3-cart-list em,
html[data-frontend-version="v3"] .v3-cart-total strong,
html[data-frontend-version="v3"] .v3-checkout-total strong {
  color: var(--v3-pink) !important;
}

html[data-frontend-version="v3"] .v3-auth-submit,
html[data-frontend-version="v3"] .v3-accent-button,
html[data-frontend-version="v3"] .v3-dark-button,
html[data-frontend-version="v3"] .v3-wide,
html[data-frontend-version="v3"] .v3-logout,
html[data-frontend-version="v3"] .v3-category-rail button.active,
html[data-frontend-version="v3"] .v3-segmented button.active,
html[data-frontend-version="v3"] .v3-video-content .video-tabs button.active,
html[data-frontend-version="v3"] .v3-product-copy > b {
  border-color: transparent !important;
  background: linear-gradient(135deg, #ff4f9a, #9b6de0) !important;
  color: #210c25 !important;
}

html[data-frontend-version="v3"] .v3-outline-button,
html[data-frontend-version="v3"] .v3-header-button,
html[data-frontend-version="v3"] .v3-icon-button,
html[data-frontend-version="v3"] .v3-view-toggle button,
html[data-frontend-version="v3"] .v3-category-rail button,
html[data-frontend-version="v3"] .v3-amount-grid button,
html[data-frontend-version="v3"] .v3-finance-actions button,
html[data-frontend-version="v3"] .v3-quantity button {
  border-color: var(--line) !important;
  background: var(--paper-2) !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-view-toggle button.active,
html[data-frontend-version="v3"] .v3-amount-grid button.active {
  background: var(--v3-pink) !important;
  color: #210c25 !important;
}

html[data-frontend-version="v3"] input,
html[data-frontend-version="v3"] textarea,
html[data-frontend-version="v3"] select,
html[data-frontend-version="v3"] .v3-form-card select {
  border-color: var(--line) !important;
  background: #21152f !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] input::placeholder,
html[data-frontend-version="v3"] textarea::placeholder {
  color: var(--muted) !important;
}

html[data-frontend-version="v3"] .v3-security-note,
html[data-frontend-version="v3"] .v3-balance-summary,
html[data-frontend-version="v3"] .v3-points-card,
html[data-frontend-version="v3"] .v3-online-panel,
html[data-frontend-version="v3"] .v3-profile-summary {
  border-color: var(--line) !important;
  background: var(--paper-2) !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-page-partners,
html[data-frontend-version="v3"] .v3-page-partners span,
html[data-frontend-version="v3"] .v3-reference-table-wrap,
html[data-frontend-version="v3"] .v3-reference-table td,
html[data-frontend-version="v3"] .v3-program-menu,
html[data-frontend-version="v3"] .v3-recovery-frame,
html[data-frontend-version="v3"] .v3-recovery-main,
html[data-frontend-version="v3"] .v3-recovery-tools label {
  border-color: var(--line) !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-reference-table,
html[data-frontend-version="v3"] .v3-program-table,
html[data-frontend-version="v3"] .v3-recovery-table {
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-reference-table th,
html[data-frontend-version="v3"] .v3-program-table th,
html[data-frontend-version="v3"] .v3-data-recovery .v3-reference-table th,
html[data-frontend-version="v3"] .v3-recovery-brandbar,
html[data-frontend-version="v3"] .v3-recovery-menu {
  background: linear-gradient(135deg, #9b6de0, #c92e76) !important;
  color: #fff6fb !important;
}

html[data-frontend-version="v3"] .v3-reference-table td,
html[data-frontend-version="v3"] .v3-data-recovery .v3-reference-table td {
  border-color: var(--line) !important;
  background: var(--paper-2) !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-vip-card,
html[data-frontend-version="v3"] .v3-vip-membership {
  border-color: rgba(255, 79, 154, 0.38) !important;
  background: linear-gradient(135deg, #261a35, #4b2257) !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-vip-card-overlay {
  background: rgba(38, 26, 53, 0.78) !important;
}

html[data-frontend-version="v3"] .v3-vip-brand,
html[data-frontend-version="v3"] .v3-vip-card h1,
html[data-frontend-version="v3"] .v3-vip-card time {
  color: var(--ink) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
}

html[data-frontend-version="v3"] .v3-data-recovery {
  background: #261a35 !important;
}
html[data-frontend-version="v3"] .v3-community { background: #f0f0f2; }
html[data-frontend-version="v3"] .v3-community-feed { display: grid; gap: 14px; padding: 0 9px 16px; }
html[data-frontend-version="v3"] .v3-community-card { padding: 16px; border-radius: 7px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .06); }
html[data-frontend-version="v3"] .v3-community-card h2 { margin: 0 0 9px; font-size: 16px; font-weight: 500; }
html[data-frontend-version="v3"] .v3-community-card p { margin: 0 0 12px; color: #655f63; font-size: 13px; overflow-wrap: anywhere; white-space: pre-line; }
html[data-frontend-version="v3"] .v3-community-card img { width: 100%; max-height: 310px; object-fit: cover; }
html[data-frontend-version="v3"] .v3-community-card footer { display: flex; margin-top: 9px; justify-content: space-between; color: #888; font-size: 11px; }
html[data-frontend-version="v3"] .v3-community-card footer button { background: transparent; color: var(--v3-accent, var(--v3-pink)); }

html[data-frontend-version="v3"] .v3-tab-title { display: grid; height: 64px; place-items: center; }
html[data-frontend-version="v3"] .v3-tab-title strong { position: relative; font-size: 18px; }
html[data-frontend-version="v3"] .v3-tab-title strong::after { position: absolute; right: 28%; bottom: -15px; left: 28%; height: 3px; border-radius: 2px; background: var(--v3-accent, var(--v3-pink)); content: ""; }
html[data-frontend-version="v3"] .v3-nearby-grid { display: grid; padding: 0 6px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
html[data-frontend-version="v3"] .v3-nearby-grid article { min-width: 0; }
html[data-frontend-version="v3"] .v3-nearby-image { position: relative; display: block; width: 100%; aspect-ratio: .74; padding: 0; overflow: hidden; background: #ddd; }
html[data-frontend-version="v3"] .v3-nearby-image img { width: 100%; height: 100%; object-fit: cover; }
html[data-frontend-version="v3"] .v3-nearby-image > span:last-child { position: absolute; right: 5px; bottom: 5px; left: 5px; padding: 3px; background: rgba(0, 0, 0, .34); color: #fff; text-align: left; font-size: 11px; }
html[data-frontend-version="v3"] .v3-nearby-grid article > div { position: relative; display: grid; min-width: 0; padding: 4px 78px 4px 2px; }
html[data-frontend-version="v3"] .v3-nearby-grid article > div b { min-width: 0; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-nearby-grid article > div small { color: var(--v3-accent, var(--v3-pink)); }
html[data-frontend-version="v3"] .v3-nearby-grid article > div button { position: absolute; top: 3px; right: 0; padding: 3px 7px; border: 1px solid #aaa; border-radius: 10px; background: rgba(255,255,255,.9); font-size: 10px; }
html[data-frontend-version="v3"] .v3-nearby-grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 9px; }
html[data-frontend-version="v3"] .v3-nearby-grid.is-list article { display: grid; min-height: 142px; grid-template-columns: 42% minmax(0, 1fr); overflow: hidden; border: 1px solid #ece8ea; border-radius: 9px; background: #fff; box-shadow: 0 4px 13px rgba(0,0,0,.07); }
html[data-frontend-version="v3"] .v3-nearby-grid.is-list .v3-nearby-image { height: 142px; aspect-ratio: auto; }
html[data-frontend-version="v3"] .v3-nearby-grid.is-list article > div { padding: 17px 12px; align-content: start; gap: 7px; }
html[data-frontend-version="v3"] .v3-nearby-grid.is-list article > div b { font-size: 19px; }
html[data-frontend-version="v3"] .v3-nearby-grid.is-list article > div button { position: static; width: fit-content; margin-top: auto; padding: 7px 11px; border-color: var(--v3-accent, var(--v3-pink)); color: var(--v3-accent, var(--v3-pink)); font-size: 12px; }

html[data-frontend-version="v3"] .v3-profile-directory { background: #faf7f9; }
html[data-frontend-version="v3"] .v3-profile-directory-intro { display: grid; margin: 10px; padding: 17px; gap: 4px; border: 1px solid #eadce3; border-radius: 10px; background: linear-gradient(135deg, #fff 0%, #fff4f8 100%); box-shadow: 0 5px 16px rgba(80,35,55,.07); }
html[data-frontend-version="v3"] .v3-profile-directory-intro > span { color: var(--v3-accent, var(--v3-pink)); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
html[data-frontend-version="v3"] .v3-profile-directory-intro h1 { margin: 0; font-size: 22px; }
html[data-frontend-version="v3"] .v3-profile-directory-intro p { margin: 0; color: #71676d; font-size: 12px; }
html[data-frontend-version="v3"] .v3-profile-directory-intro strong { width: fit-content; margin-top: 5px; padding: 4px 9px; border-radius: 999px; background: #151215; color: #fff; font-size: 10px; }
html[data-frontend-version="v3"] .v3-profile-directory-grid { display: grid; padding: 0 10px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html[data-frontend-version="v3"] .v3-profile-directory-card { min-width: 0; overflow: hidden; border: 1px solid #e9e0e5; border-radius: 10px; background: #fff; box-shadow: 0 5px 15px rgba(48,24,35,.07); }
html[data-frontend-version="v3"] .v3-profile-directory-photo { position: relative; display: block; width: 100%; aspect-ratio: .78; padding: 0; overflow: hidden; background: #e8e4e6; }
html[data-frontend-version="v3"] .v3-profile-directory-photo img { width: 100%; height: 100%; object-fit: cover; }
html[data-frontend-version="v3"] .v3-profile-directory-photo > span:last-child { position: absolute; right: 7px; bottom: 7px; left: 7px; padding: 4px 6px; border-radius: 4px; background: rgba(0,0,0,.48); color: #fff; text-align: left; font-size: 10px; }
html[data-frontend-version="v3"] .v3-profile-directory-copy { display: grid; min-width: 0; padding: 10px; gap: 8px; }
html[data-frontend-version="v3"] .v3-profile-directory-copy header { display: flex; min-width: 0; align-items: start; justify-content: space-between; gap: 5px; }
html[data-frontend-version="v3"] .v3-profile-directory-copy header > div { min-width: 0; }
html[data-frontend-version="v3"] .v3-profile-directory-copy h2 { margin: 0; overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-profile-directory-copy header small { color: #368f60; font-size: 9px; }
html[data-frontend-version="v3"] .v3-profile-directory-copy header > b { flex: 0 0 auto; padding: 3px 5px; border-radius: 4px; background: #171317; color: #fff; font-size: 10px; }
html[data-frontend-version="v3"] .v3-profile-directory-copy > p { min-height: 51px; margin: 0; overflow-wrap: anywhere; color: #655d62; font-size: 11px; line-height: 1.5; }
html[data-frontend-version="v3"] .v3-profile-directory-copy dl { display: grid; min-width: 0; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
html[data-frontend-version="v3"] .v3-profile-directory-copy dl > div { min-width: 0; padding: 5px 6px; border-radius: 5px; background: #faf7f9; }
html[data-frontend-version="v3"] .v3-profile-directory-copy dt,
html[data-frontend-version="v3"] .v3-profile-directory-copy dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-profile-directory-copy dt { color: #8a7e85; font-size: 8px; }
html[data-frontend-version="v3"] .v3-profile-directory-copy dd { font-size: 11px; font-weight: 700; }
html[data-frontend-version="v3"] .v3-profile-directory-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
html[data-frontend-version="v3"] .v3-profile-directory-actions button { min-width: 0; min-height: 36px; padding: 7px 4px; overflow-wrap: anywhere; font-size: 10px; line-height: 1.15; }
html[data-frontend-version="v3"] .v3-profile-directory-grid.is-list { grid-template-columns: minmax(0, 1fr); }
html[data-frontend-version="v3"] .v3-profile-directory-grid.is-list .v3-profile-directory-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); }
html[data-frontend-version="v3"] .v3-profile-directory-grid.is-list .v3-profile-directory-photo { height: 100%; min-height: 350px; aspect-ratio: auto; }
html[data-frontend-version="v3"] .v3-profile-directory-grid.is-list .v3-profile-directory-copy > p { min-height: 0; }

html[data-frontend-version="v3"] .v3-profile-cover { position: relative; height: min(70dvh, 520px); overflow: hidden; background: #111; }
html[data-frontend-version="v3"] .v3-profile-cover > img { width: 100%; height: 100%; object-fit: cover; }
html[data-frontend-version="v3"] .v3-profile-cover > div { position: absolute; right: 0; bottom: 0; left: 0; padding: 48px 18px 17px; background: linear-gradient(transparent, rgba(0,0,0,.82)); color: #fff; }
html[data-frontend-version="v3"] .v3-profile-cover h1 { display: inline; margin: 0 12px 0 0; font-size: 30px; }
html[data-frontend-version="v3"] .v3-profile-cover div span { margin-right: 5px; padding: 3px 6px; border-radius: 4px; background: rgba(236,64,122,.9); color: #fff; font-size: 10px; }
html[data-frontend-version="v3"] .v3-profile-summary { display: grid; margin: 0 10px; padding: 16px 0; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--v3-line); text-align: center; row-gap: 13px; }
html[data-frontend-version="v3"] .v3-profile-summary b,
html[data-frontend-version="v3"] .v3-profile-summary span { display: block; }
html[data-frontend-version="v3"] .v3-profile-summary b { font-size: 16px; }
html[data-frontend-version="v3"] .v3-profile-summary span { color: #888; font-size: 10px; }
html[data-frontend-version="v3"] .v3-content-card { margin: 12px 10px; padding: 15px; border: 1px solid var(--v3-line); border-radius: 7px; }
html[data-frontend-version="v3"] .v3-content-card h2 { margin: 0 0 8px; font-size: 18px; }
html[data-frontend-version="v3"] .v3-content-card p { margin: 0; color: #686168; white-space: pre-line; }
html[data-frontend-version="v3"] .v3-profile-facts { display: grid; margin: 13px 0 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
html[data-frontend-version="v3"] .v3-profile-facts > div { min-width: 0; padding: 7px; border-radius: 5px; background: #faf6f8; }
html[data-frontend-version="v3"] .v3-profile-facts dt,
html[data-frontend-version="v3"] .v3-profile-facts dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-profile-facts dt { color: #887d83; font-size: 9px; }
html[data-frontend-version="v3"] .v3-profile-facts dd { font-size: 12px; font-weight: 700; }
html[data-frontend-version="v3"] .v3-profile-thumbs { display: flex; gap: 7px; padding: 0 10px 80px; overflow-x: auto; }
html[data-frontend-version="v3"] .v3-profile-thumbs button { width: 75px; height: 75px; flex: 0 0 75px; padding: 0; border: 2px solid transparent; background: #eee; }
html[data-frontend-version="v3"] .v3-profile-thumbs button.active { border-color: var(--v3-accent, var(--v3-pink)); }
html[data-frontend-version="v3"] .v3-profile-thumbs img { width: 100%; height: 100%; object-fit: cover; }
html[data-frontend-version="v3"] .v3-sticky-actions { position: fixed; z-index: 35; right: max(calc((100vw - var(--app-max)) / 2 + 10px), 10px); bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 8px); left: max(calc((100vw - var(--app-max)) / 2 + 10px), 10px); display: grid; padding: 7px; grid-template-columns: 1fr 1fr; gap: 7px; border-radius: 7px; background: rgba(255,255,255,.95); box-shadow: 0 4px 20px rgba(0,0,0,.18); }
html[data-frontend-version="v3"] .v3-profile + .support-float:not(.open) { display: none; }

html[data-frontend-version="v3"] .v3-segmented { display: grid; padding: 10px; grid-template-columns: repeat(4, 1fr); background: #f4f4f5; }
html[data-frontend-version="v3"] .v3-segmented button { min-width: 0; padding: 9px 3px; overflow-wrap: anywhere; border-bottom: 2px solid transparent; background: transparent; font-size: 12px; line-height: 1.15; }
html[data-frontend-version="v3"] .v3-segmented button.active { border-color: var(--v3-accent, var(--v3-pink)); color: var(--v3-accent, var(--v3-pink)); }
html[data-frontend-version="v3"] .v3-order-list { display: grid; gap: 10px; padding: 10px; background: #f1f1f3; }
html[data-frontend-version="v3"] .v3-order-list > article { padding: 13px; border-radius: 7px; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.06); }
html[data-frontend-version="v3"] .v3-order-list article > header,
html[data-frontend-version="v3"] .v3-order-list article > footer { display: flex; min-width: 0; justify-content: space-between; gap: 8px; }
html[data-frontend-version="v3"] .v3-order-list article > header > *,
html[data-frontend-version="v3"] .v3-order-list article > footer > * { min-width: 0; overflow-wrap: anywhere; }
html[data-frontend-version="v3"] .v3-order-list article > header b { color: var(--v3-accent, var(--v3-pink)); }
html[data-frontend-version="v3"] .v3-order-product { display: grid; margin: 9px 0; grid-template-columns: 62px 1fr auto; align-items: center; gap: 9px; }
html[data-frontend-version="v3"] .v3-order-product img { width: 62px; height: 62px; object-fit: cover; }
html[data-frontend-version="v3"] .v3-order-product span { display: grid; min-width: 0; overflow-wrap: anywhere; }
html[data-frontend-version="v3"] .v3-order-list dl { display: grid; margin: 8px 0; grid-template-columns: repeat(3, 1fr); text-align: center; }
html[data-frontend-version="v3"] .v3-order-list dl div { display: grid; }
html[data-frontend-version="v3"] .v3-order-list dt { color: #888; font-size: 10px; }

html[data-frontend-version="v3"] .v3-shop { background: #f3f3f4; }
html[data-frontend-version="v3"] .v3-shop-hero { position: relative; margin: 9px; overflow: hidden; border-radius: 9px; background: #111; color: #fff; }
html[data-frontend-version="v3"] .v3-shop-hero img { display: block; width: 100%; aspect-ratio: 2.2; object-fit: cover; opacity: .72; }
html[data-frontend-version="v3"] .v3-shop-hero div { position: absolute; right: 15px; bottom: 13px; left: 15px; display: grid; text-shadow: 0 1px 4px #000; }
html[data-frontend-version="v3"] .v3-shop-hero b { font-size: 21px; }
html[data-frontend-version="v3"] .v3-category-rail { display: flex; padding: 4px 9px 10px; gap: 7px; overflow-x: auto; }
html[data-frontend-version="v3"] .v3-category-rail button { flex: 0 0 auto; padding: 7px 13px; border-radius: 18px; background: #fff; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-category-rail button.active { background: var(--v3-accent, var(--v3-pink)); color: #fff; }
html[data-frontend-version="v3"] .v3-product-grid { display: grid; padding: 0 9px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
html[data-frontend-version="v3"] .v3-product-card { display: grid; min-width: 0; padding: 0 0 10px; overflow: hidden; border-radius: 7px; background: #fff; text-align: left; }
html[data-frontend-version="v3"] .v3-product-card > span { position: relative; display: block; aspect-ratio: 1; }
html[data-frontend-version="v3"] .v3-product-card img { width: 100%; height: 100%; object-fit: cover; }
html[data-frontend-version="v3"] .v3-product-card > span b { position: absolute; left: 0; bottom: 0; padding: 3px 6px; background: var(--v3-accent, var(--v3-pink)); color: #fff; font-size: 9px; }
html[data-frontend-version="v3"] .v3-product-card > strong,
html[data-frontend-version="v3"] .v3-product-card > em,
html[data-frontend-version="v3"] .v3-product-card > del { margin: 4px 8px 0; }
html[data-frontend-version="v3"] .v3-product-card > strong { min-height: 41px; overflow: hidden; font-size: 14px; }
html[data-frontend-version="v3"] .v3-product-card > em { color: var(--v3-accent, var(--v3-pink)); font-size: 17px; font-style: normal; font-weight: 700; }
html[data-frontend-version="v3"] .v3-product-card > del { color: #999; font-size: 11px; }

html[data-frontend-version="v3"] .v3-product-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
html[data-frontend-version="v3"] .v3-product-gallery img { width: 100%; flex: 0 0 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; }
html[data-frontend-version="v3"] .v3-product-copy { padding: 15px; }
html[data-frontend-version="v3"] .v3-product-copy > b { padding: 3px 7px; border-radius: 3px; background: var(--v3-accent, var(--v3-pink)); color: #fff; font-size: 10px; }
html[data-frontend-version="v3"] .v3-product-copy h1 { margin: 8px 0; font-size: 21px; }
html[data-frontend-version="v3"] .v3-product-copy > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
html[data-frontend-version="v3"] .v3-product-copy strong { color: var(--v3-accent, var(--v3-pink)); font-size: 26px; }
html[data-frontend-version="v3"] .v3-product-copy p { color: #777; }
html[data-frontend-version="v3"] .v3-quantity { display: grid; margin: 10px 10px 80px; padding: 12px; grid-template-columns: 1fr 38px 38px 38px; align-items: center; border: 1px solid var(--v3-line); }
html[data-frontend-version="v3"] .v3-quantity button { width: 34px; height: 34px; background: #eee; font-size: 19px; }
html[data-frontend-version="v3"] .v3-quantity b { text-align: center; }

html[data-frontend-version="v3"] .v3-cart,
html[data-frontend-version="v3"] .v3-checkout,
html[data-frontend-version="v3"] .v3-finance-page { background: #f2f2f4; }
html[data-frontend-version="v3"] .v3-cart-list { display: grid; gap: 9px; padding: 10px; }
html[data-frontend-version="v3"] .v3-cart-list article { display: grid; padding: 10px; grid-template-columns: 86px 1fr; gap: 10px; border-radius: 7px; background: #fff; }
html[data-frontend-version="v3"] .v3-cart-list article > img { width: 86px; height: 86px; object-fit: cover; }
html[data-frontend-version="v3"] .v3-cart-list article > div { display: grid; min-width: 0; gap: 3px; }
html[data-frontend-version="v3"] .v3-cart-list em { color: var(--v3-accent, var(--v3-pink)); font-style: normal; font-weight: 700; }
html[data-frontend-version="v3"] .v3-cart-list article div div { display: flex; align-items: center; gap: 7px; }
html[data-frontend-version="v3"] .v3-cart-list article div div button { width: 30px; height: 30px; background: #eee; }
html[data-frontend-version="v3"] .v3-cart-list article div div .remove { width: auto; margin-left: auto; padding: 0 6px; background: transparent; color: #b72d4f; }
html[data-frontend-version="v3"] .v3-cart-total { position: sticky; bottom: calc(var(--bottom-nav-h) + var(--safe-bottom)); display: grid; padding: 10px; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; background: #fff; box-shadow: 0 -4px 12px rgba(0,0,0,.08); }
html[data-frontend-version="v3"] .v3-cart-total strong { color: var(--v3-accent, var(--v3-pink)); font-size: 20px; }
html[data-frontend-version="v3"] .v3-form-card { display: grid; margin: 10px; padding: 16px; gap: 13px; border-radius: 8px; background: #fff; }
html[data-frontend-version="v3"] .v3-form-card h2 { margin: 0; font-size: 18px; }
html[data-frontend-version="v3"] .v3-form-card label { display: grid; gap: 5px; color: #555; font-size: 13px; }
html[data-frontend-version="v3"] .v3-form-card input,
html[data-frontend-version="v3"] .v3-form-card textarea,
html[data-frontend-version="v3"] .v3-form-card select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #d9d6d8; border-radius: 5px; outline: 0; background: #fff; color: #171317; }
html[data-frontend-version="v3"] .v3-form-card textarea { min-height: 92px; resize: vertical; }
html[data-frontend-version="v3"] .v3-form-card input:focus,
html[data-frontend-version="v3"] .v3-form-card textarea:focus,
html[data-frontend-version="v3"] .v3-form-card select:focus { border-color: var(--v3-accent, var(--v3-pink)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--v3-accent, var(--v3-pink)) 16%, transparent); }
html[data-frontend-version="v3"] .v3-checkout-items { display: grid; gap: 7px; }
html[data-frontend-version="v3"] .v3-checkout-items > div { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 7px; }
html[data-frontend-version="v3"] .v3-checkout-items img { width: 45px; height: 45px; object-fit: cover; }
html[data-frontend-version="v3"] .v3-checkout-items span { display: grid; }
html[data-frontend-version="v3"] .v3-checkout-total { display: flex; justify-content: space-between; font-size: 18px; }
html[data-frontend-version="v3"] .v3-checkout-total strong { color: var(--v3-accent, var(--v3-pink)); }

html[data-frontend-version="v3"] .v3-mine { background: #efeff1; }
html[data-frontend-version="v3"] .v3-mine-hero { position: relative; min-height: 182px; padding: 62px 17px 20px; background-position: center; background-size: cover; color: #fff; }
html[data-frontend-version="v3"] .v3-mine-hero > div { display: flex; align-items: center; gap: 12px; }
html[data-frontend-version="v3"] .v3-mine-hero img { width: 76px; height: 76px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; }
html[data-frontend-version="v3"] .v3-mine-hero span { display: grid; min-width: 0; }
html[data-frontend-version="v3"] .v3-mine-hero strong { max-width: 100%; overflow: hidden; font-size: 25px; text-overflow: ellipsis; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-mine-body { padding: 0 10px 20px; }
html[data-frontend-version="v3"] .v3-redeem { display: block; width: 94%; min-height: 70px; margin: -34px auto 13px; position: relative; border-radius: 10px; background: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
html[data-frontend-version="v3"] .v3-redeem i { display: inline-grid; width: 30px; height: 30px; margin-right: 6px; place-items: center; border-radius: 50%; background: var(--v3-accent, var(--v3-pink)); color: #fff; font-style: normal; }
html[data-frontend-version="v3"] .v3-points-card { display: grid; margin-bottom: 12px; padding: 13px 16px; grid-template-columns: 1fr auto; border-radius: 8px; background: #000000; color: #fff; }
html[data-frontend-version="v3"] .v3-points-card strong { grid-column: 1 / -1; margin-top: 8px; font-size: 30px; }
html[data-frontend-version="v3"] .v3-mine-grid { display: grid; padding: 13px 5px; grid-template-columns: repeat(3, 1fr); border-radius: 9px; background: #fff; }
html[data-frontend-version="v3"] .v3-mine-grid button { display: grid; min-height: 84px; padding: 5px; place-items: center; background: transparent; font-size: 12px; }
html[data-frontend-version="v3"] .v3-mine-grid i { font-size: 29px; font-style: normal; }
html[data-frontend-version="v3"] .v3-video-content { min-height: calc(100dvh - 60px - var(--bottom-nav-h)); padding: 12px 10px 24px; background: #f2f2f4; }
html[data-frontend-version="v3"] .v3-video-content .video-card { border: 1px solid var(--v3-line); border-radius: 8px; background: #fff; box-shadow: 0 3px 12px rgba(42,24,33,.07); }
html[data-frontend-version="v3"] .v3-video-content .video-tabs button { border: 1px solid var(--v3-line); background: #fff; color: #5f555c; }
html[data-frontend-version="v3"] .v3-video-content .video-tabs button.active { border-color: var(--v3-accent, var(--v3-pink)); background: var(--v3-accent, var(--v3-pink)); color: #fff; }
html[data-frontend-version="v3"] .v3-finance-actions { display: grid; margin-top: 12px; grid-template-columns: repeat(4, 1fr); gap: 6px; }
html[data-frontend-version="v3"] .v3-finance-actions button { min-height: 43px; border-radius: 5px; background: #fff; font-size: 11px; }
html[data-frontend-version="v3"] .v3-logout { width: 100%; min-height: 54px; margin-top: 45px; border-radius: 8px; background: linear-gradient(90deg, #f06292, #ec407a); color: #fff !important; font-size: 16px; font-weight: 700; }

html[data-frontend-version="v3"] .v3-finance { padding: 10px; }
html[data-frontend-version="v3"] .v3-finance .v3-form-card { margin: 0 0 10px; }
html[data-frontend-version="v3"] .v3-balance-summary { display: grid; margin-bottom: 10px; padding: 19px; border-radius: 8px; background: #000000; color: #fff; }
html[data-frontend-version="v3"] .v3-balance-summary strong { color: #fff; font-size: 29px; }
html[data-frontend-version="v3"] .v3-security-note { margin: 0; padding: 10px; border-radius: 5px; background: #fff0f5; color: #704052; font-size: 12px; }
html[data-frontend-version="v3"] .v3-amount-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 6px; }
html[data-frontend-version="v3"] .v3-amount-grid button { min-height: 38px; border: 1px solid #ddd; border-radius: 5px; background: #fff; }
html[data-frontend-version="v3"] .v3-text-button { justify-self: end; padding: 4px; background: transparent; color: var(--v3-accent, var(--v3-pink)) !important; }
html[data-frontend-version="v3"] .v3-breakdown { display: grid; margin: 0; gap: 4px; }
html[data-frontend-version="v3"] .v3-breakdown div { display: flex; justify-content: space-between; }
html[data-frontend-version="v3"] .v3-saved-addresses { display: grid; padding: 10px; gap: 8px; }
html[data-frontend-version="v3"] .v3-saved-addresses p { display: grid; margin: 0; padding: 10px; gap: 3px; border-radius: 6px; background: #fff; }
html[data-frontend-version="v3"] .v3-saved-addresses code { overflow-wrap: anywhere; }
html[data-frontend-version="v3"] .v3-ledger-list,
html[data-frontend-version="v3"] .v3-message-list { display: grid; gap: 8px; }
html[data-frontend-version="v3"] .v3-ledger-list article,
html[data-frontend-version="v3"] .v3-message-list article { display: grid; padding: 13px; gap: 4px; border-radius: 7px; background: #fff; }
html[data-frontend-version="v3"] .v3-ledger-list article { grid-template-columns: 1fr auto; }
html[data-frontend-version="v3"] .v3-ledger-list article span,
html[data-frontend-version="v3"] .v3-ledger-list article small { grid-column: 1 / -1; color: #888; font-size: 11px; }
html[data-frontend-version="v3"] .v3-message-list { padding: 10px; background: #f1f1f3; }
html[data-frontend-version="v3"] .v3-message-list header { display: flex; justify-content: space-between; }
html[data-frontend-version="v3"] .v3-message-list header > * { min-width: 0; overflow-wrap: anywhere; }
html[data-frontend-version="v3"] .v3-message-list p { margin: 0; color: #666; overflow-wrap: anywhere; white-space: pre-line; }
html[data-frontend-version="v3"] .v3-language-list { display: grid; padding: 10px; gap: 7px; background: #f2f2f4; }
html[data-frontend-version="v3"] .v3-language-list button { display: flex; min-height: 54px; padding: 0 16px; align-items: center; justify-content: space-between; border-radius: 7px; background: #fff; }
html[data-frontend-version="v3"] .v3-language-list button > span { display: grid; justify-items: start; }
html[data-frontend-version="v3"] .v3-language-list button small { color: #9a8c93; font-size: 10px; font-weight: 500; }
html[data-frontend-version="v3"] .v3-language-list button.active { color: var(--v3-accent, var(--v3-pink)); font-weight: 700; }
html[data-frontend-version="v3"] .v3-empty { grid-column: 1 / -1; display: grid; min-height: 180px; padding: 22px; place-items: center; gap: 12px; color: #888; text-align: center; }

/* Editable reference pages */
html[data-frontend-version="v3"] .v3-reference-back { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.68); border-radius: 50%; background: rgba(20,5,14,.36); color: #fff !important; font-size: 28px; line-height: 1; backdrop-filter: blur(5px); }
html[data-frontend-version="v3"] .v3-page-partners { display: flex; min-height: 55px; padding: 8px 10px; align-items: center; gap: 8px; overflow-x: auto; border-bottom: 1px solid rgba(125,52,84,.18); background: rgba(255,255,255,.94); scrollbar-width: none; }
html[data-frontend-version="v3"] .v3-page-partners::-webkit-scrollbar { display: none; }
html[data-frontend-version="v3"] .v3-page-partners span { display: inline-flex; min-width: max-content; min-height: 33px; padding: 4px 8px; flex: 0 0 auto; align-items: center; gap: 5px; border-radius: 6px; background: #fff; color: #17121a; box-shadow: 0 2px 9px rgba(51,19,33,.1); }
html[data-frontend-version="v3"] .v3-page-partners img { width: auto; max-width: 88px; height: 25px; object-fit: contain; }
html[data-frontend-version="v3"] .v3-page-partners b { font: 800 12px/1 Arial, sans-serif; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-reference-table-wrap { max-width: 100%; overflow-x: auto; border-radius: 5px; background: #fff; box-shadow: 0 3px 12px rgba(84,31,58,.12); overscroll-behavior-x: contain; }
html[data-frontend-version="v3"] .v3-reference-table { width: 100%; border-spacing: 0; border-collapse: separate; color: #181318; text-align: center; }
html[data-frontend-version="v3"] .v3-reference-table th { padding: 11px 8px; border-right: 1px solid rgba(255,255,255,.44); background: linear-gradient(180deg, #f75a8f, #d92e6a); color: #fff; font-size: 12px; line-height: 1.1; }
html[data-frontend-version="v3"] .v3-reference-table td { padding: 11px 8px; border-right: 1px solid #efd9e2; border-bottom: 1px solid #efd9e2; background: #fff; font-size: 13px; }
html[data-frontend-version="v3"] .v3-reference-table th:last-child,
html[data-frontend-version="v3"] .v3-reference-table td:last-child { border-right: 0; }

html[data-frontend-version="v3"] .v3-reference-program { overflow: hidden; background: #f8c8d7; }
html[data-frontend-version="v3"] .v3-program-hero { position: relative; min-height: 188px; overflow: hidden; background: #d72d6a; }
html[data-frontend-version="v3"] .v3-program-hero::after { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(90deg, rgba(246,85,142,.72), rgba(213,35,98,.68)); }
html[data-frontend-version="v3"] .v3-program-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.85) contrast(.9); }
html[data-frontend-version="v3"] .v3-program-hero > .v3-reference-back { position: absolute; z-index: 3; top: 10px; left: 10px; }
html[data-frontend-version="v3"] .v3-program-brand { position: absolute; z-index: 2; inset: 16px 13px 13px; display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 9px; color: #fff; text-align: center; text-shadow: 0 1px 4px rgba(99,10,44,.58); }
html[data-frontend-version="v3"] .v3-program-brand > span { display: grid; align-self: end; justify-items: center; gap: 4px; }
html[data-frontend-version="v3"] .v3-program-logo { width: 58px; height: 58px; border-radius: 13px; object-fit: contain; background: rgba(255,255,255,.88); box-shadow: 0 5px 13px rgba(84,13,40,.24); }
html[data-frontend-version="v3"] .v3-program-brand small { font-size: 9px; line-height: 1.1; white-space: pre-line; }
html[data-frontend-version="v3"] .v3-program-brand h1 { margin: 0; color: #fff; font-size: clamp(20px,6.4vw,29px); line-height: 1.05; }
html[data-frontend-version="v3"] .v3-program-brand p { margin: 7px 0 0; color: #fff4f8; font-size: 14px; line-height: 1.15; }
html[data-frontend-version="v3"] .v3-program-brand strong { display: block; margin-top: 3px; color: #fff; font-size: 14px; line-height: 1.1; }
html[data-frontend-version="v3"] .v3-program-layout { display: grid; padding: 8px; grid-template-columns: 92px minmax(0,1fr); align-items: start; gap: 5px; }
html[data-frontend-version="v3"] .v3-program-menu { display: grid; overflow: hidden; border: 1px solid #e79ab5; border-radius: 5px; background: #fff; }
html[data-frontend-version="v3"] .v3-program-menu button { display: grid; min-height: 37px; padding: 5px 5px 5px 22px; grid-template-columns: 0 1fr; align-items: center; border-bottom: 1px solid #f0d4de; background: transparent; font-size: 9px; line-height: 1.05; text-align: left; }
html[data-frontend-version="v3"] .v3-program-menu button i { margin-left: -16px; color: #555; font-style: normal; }
html[data-frontend-version="v3"] .v3-program-menu button.active { background: #fff0f5; color: #d32667; font-weight: 700; }
html[data-frontend-version="v3"] .v3-program-menu .v3-program-primary { display: block; min-height: 0; padding: 9px 5px; color: #d32667; font-size: 9px; font-weight: 800; line-height: 1.2; text-align: center; }
html[data-frontend-version="v3"] .v3-program-table { min-width: 560px; table-layout: fixed; }
html[data-frontend-version="v3"] .v3-program-table th { min-width: 115px; padding-block: 12px; background: linear-gradient(180deg, #f75a8f, #d92e6a); font-size: 13px; }
html[data-frontend-version="v3"] .v3-program-table td { height: 84px; font-size: 17px; font-weight: 700; }
html[data-frontend-version="v3"] .v3-program-table td > span { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
html[data-frontend-version="v3"] .v3-program-table td em { font-style: normal; }
html[data-frontend-version="v3"] .v3-program-table td strong { font-size: 27px; }

html[data-frontend-version="v3"] .v3-vip-membership { min-height: calc(100dvh - var(--bottom-nav-h)); background: #e7f3ff; }
html[data-frontend-version="v3"] .v3-vip-card-shell { padding: 16px 12px 30px; }
html[data-frontend-version="v3"] .v3-vip-card { position: relative; width: 100%; min-width: 0; min-height: 270px; box-sizing: border-box; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid #b8d6ef; border-radius: 11px; background: #d9f1ff; color: #1265cc; box-shadow: 0 8px 24px rgba(3,89,142,.16); }
html[data-frontend-version="v3"] .v3-vip-card-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; filter: grayscale(1) contrast(1.25); opacity: .55; }
html[data-frontend-version="v3"] .v3-vip-card-overlay { position: absolute; inset: 0; background: rgba(217,247,255,.78); }
html[data-frontend-version="v3"] .v3-vip-brand { position: absolute; z-index: 1; top: 16px; right: 16px; left: 18px; display: flex; min-width: 0; align-items: center; gap: 7px; font: italic 800 24px/1 Georgia,serif; text-shadow: 0 2px 1px #fff; }
html[data-frontend-version="v3"] .v3-vip-brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-frontend-version="v3"] .v3-vip-logo { width: 45px; height: 45px; object-fit: contain; }
html[data-frontend-version="v3"] .v3-vip-card h1 { position: absolute; z-index: 1; top: 70px; left: 25px; margin: 0; color: #7a9edc; font: 800 71px/.9 Georgia,serif; letter-spacing: .03em; text-shadow: 0 2px 1px #fff,0 5px 12px rgba(22,95,158,.2); }
html[data-frontend-version="v3"] .v3-vip-card dl { position: absolute; z-index: 1; left: 18px; bottom: 16px; display: grid; max-width: 66%; margin: 0; gap: 8px; }
html[data-frontend-version="v3"] .v3-vip-card dl div { display: grid; grid-template-columns: auto 1fr; gap: 7px; font-weight: 800; text-shadow: 0 1px #fff; }
html[data-frontend-version="v3"] .v3-vip-card dt,
html[data-frontend-version="v3"] .v3-vip-card dd { margin: 0; }
html[data-frontend-version="v3"] .v3-vip-card dd { overflow-wrap: anywhere; }
html[data-frontend-version="v3"] .v3-vip-card time { position: absolute; z-index: 1; right: 16px; bottom: 12px; max-width: 34%; color: #20a6df; font-size: 18px; font-weight: 900; text-align: right; text-shadow: 0 1px #fff; overflow-wrap: anywhere; }

html[data-frontend-version="v3"] .v3-data-recovery { padding: 5px 0 18px; background: #7137a6; }
html[data-frontend-version="v3"] .v3-recovery-frame { margin: 0 5px; overflow: hidden; border: 1px solid #fff; background: #fff; }
html[data-frontend-version="v3"] .v3-recovery-brandbar { position: relative; display: grid; padding: 9px; gap: 8px; background: #7f3fb4; color: #fff; }
html[data-frontend-version="v3"] .v3-recovery-brandbar > .v3-reference-back { position: absolute; z-index: 3; top: 10px; left: 8px; }
html[data-frontend-version="v3"] .v3-recovery-brand { display: flex; min-height: 46px; padding-left: 42px; align-items: center; gap: 8px; color: #fff; font-size: 24px; }
html[data-frontend-version="v3"] .v3-recovery-logo { width: 43px; height: 43px; border-radius: 10px; object-fit: contain; background: #fff; }
html[data-frontend-version="v3"] .v3-recovery-brandbar .v3-page-partners { min-height: 45px; padding: 4px; border: 0; background: rgba(255,255,255,.08); }
html[data-frontend-version="v3"] .v3-recovery-brandbar .v3-page-partners span { min-height: 30px; padding: 3px 6px; background: rgba(255,255,255,.9); }
html[data-frontend-version="v3"] .v3-recovery-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html[data-frontend-version="v3"] .v3-recovery-tools label { display: flex; min-width: 0; padding: 0 10px; flex: 1; align-items: center; gap: 5px; overflow: hidden; border-radius: 18px; background: #fff; color: #a09aa3; }
html[data-frontend-version="v3"] .v3-recovery-tools input { min-width: 0; height: 31px; padding: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #332938; font-size: 11px; }
html[data-frontend-version="v3"] .v3-recovery-tools b { white-space: nowrap; }
html[data-frontend-version="v3"] .v3-recovery-meta { display: grid; padding: 3px 8px; grid-template-columns: 1fr auto; background: #7f3fb4; color: #fff; font-size: 11px; }
html[data-frontend-version="v3"] .v3-recovery-meta strong { color: #ffe36a; }
html[data-frontend-version="v3"] .v3-recovery-meta b { grid-column: 1 / -1; justify-self: end; }
html[data-frontend-version="v3"] .v3-recovery-layout { display: grid; grid-template-columns: 103px minmax(0,1fr); align-items: stretch; }
html[data-frontend-version="v3"] .v3-recovery-menu { display: grid; align-content: start; background: #7f3fb4; color: #fff; }
html[data-frontend-version="v3"] .v3-recovery-menu button { display: grid; min-height: 46px; padding: 6px 5px; grid-template-columns: 24px 1fr; align-items: center; gap: 4px; background: transparent; color: inherit; font-size: 10px; line-height: 1.1; text-align: left; }
html[data-frontend-version="v3"] .v3-recovery-menu button.active { background: #592784; color: #fff; }
html[data-frontend-version="v3"] .v3-recovery-menu i { font-size: 18px; font-style: normal; }
html[data-frontend-version="v3"] .v3-recovery-main { min-width: 0; padding: 5px; background: #fff; }
html[data-frontend-version="v3"] .v3-recovery-notice { margin: 0 0 5px; color: #2c2930; font-size: 9px; text-align: center; }
html[data-frontend-version="v3"] .v3-data-recovery .v3-reference-table { min-width: 740px; }
html[data-frontend-version="v3"] .v3-data-recovery .v3-reference-table th { background: #7f3fb4; color: #ffe36a; }
html[data-frontend-version="v3"] .v3-data-recovery .v3-reference-table td { padding: 8px 7px; background: #fff0f5; }
html[data-frontend-version="v3"] .v3-status-table td:nth-child(2),
html[data-frontend-version="v3"] .v3-status-table td:nth-child(3) { color: #e52d34; }
html[data-frontend-version="v3"] .v3-recovery-rules { padding: 9px 5px; }
html[data-frontend-version="v3"] .v3-recovery-rules h1 { margin: 0 0 5px; color: #ef241f; font-size: 21px; line-height: 1.1; text-align: center; }
html[data-frontend-version="v3"] .v3-recovery-rules ol { margin: 0; padding-left: 20px; font-size: 9px; line-height: 1.25; }
html[data-frontend-version="v3"] .v3-recovery-table td:nth-child(4),
html[data-frontend-version="v3"] .v3-recovery-table td:nth-child(6) { color: #17a85b; }

@media (max-width: 370px) {
  html[data-frontend-version="v3"] .v3-recommend-card { grid-template-columns: 39% 1fr; }
  html[data-frontend-version="v3"] .v3-recommend-copy > small { display: none; }
  html[data-frontend-version="v3"] .v3-nearby-grid { gap: 6px; }
  html[data-frontend-version="v3"] .v3-mine-grid button { font-size: 10px; }
  html[data-frontend-version="v3"] .v3-program-brand { grid-template-columns: 65px 1fr; }
  html[data-frontend-version="v3"] .v3-program-brand h1 { font-size: 18px; }
  html[data-frontend-version="v3"] .v3-program-brand p,
  html[data-frontend-version="v3"] .v3-program-brand strong { font-size: 12px; }
  html[data-frontend-version="v3"] .v3-program-layout { grid-template-columns: 82px minmax(0,1fr); }
  html[data-frontend-version="v3"] .v3-vip-card { min-height: 250px; }
  html[data-frontend-version="v3"] .v3-vip-brand { font-size: 20px; }
  html[data-frontend-version="v3"] .v3-vip-card h1 { top: 70px; font-size: 58px; }
  html[data-frontend-version="v3"] .v3-vip-card dl { gap: 5px; font-size: 12px; }
  html[data-frontend-version="v3"] .v3-vip-card time { font-size: 14px; }
  html[data-frontend-version="v3"] .v3-recovery-layout { grid-template-columns: 88px minmax(0,1fr); }
}

html[data-frontend-version="v3"] .support-fab {
  min-width: 42px;
  min-height: 42px;
  padding: 0 11px;
}

html[data-frontend-version="v3"] .v3-poster-controls {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 10px;
  left: 10px;
  aspect-ratio: 2 / 1;
  border-radius: 12px;
  pointer-events: none;
}

html[data-frontend-version="v3"] .v3-poster-controls .v3-banner-arrow {
  top: 50%;
  width: 34px;
  height: 40px;
  transform: translateY(-50%);
  pointer-events: auto;
}

html[data-frontend-version="v3"] .v3-poster-controls .v3-banner-arrow.is-previous {
  left: 8px;
}

html[data-frontend-version="v3"] .v3-poster-controls .v3-banner-arrow.is-next {
  right: 8px;
}

html[data-frontend-version="v3"] .v3-banner-dots {
  right: auto;
  bottom: 4px;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 24px);
  min-height: 24px;
  padding: 1px 6px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(18, 8, 13, .48);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  backdrop-filter: blur(5px);
}

@media (max-width: 360px) {
  html[data-frontend-version="v3"] .v3-poster-controls .v3-banner-arrow {
    width: 30px;
    height: 36px;
    font-size: 27px;
  }

  html[data-frontend-version="v3"] .v3-poster-controls .v3-banner-arrow.is-previous {
    left: 5px;
  }

  html[data-frontend-version="v3"] .v3-poster-controls .v3-banner-arrow.is-next {
    right: 5px;
  }
}

html[dir="rtl"][data-frontend-version="v3"] .v3-page,
html[dir="rtl"][data-frontend-version="v3"] .v3-auth-card,
html[dir="rtl"][data-frontend-version="v3"] .v3-legal-content {
  text-align: right;
}

html[dir="rtl"][data-frontend-version="v3"] .v3-quick-language {
  right: auto;
  left: max(12px, calc((100vw - 440px) / 2 + 12px));
  justify-items: start;
}

html[dir="rtl"][data-frontend-version="v3"] .v3-quick-language-menu button {
  text-align: right;
}

html[dir="rtl"][data-frontend-version="v3"] .v3-quick-language.is-header {
  right: auto;
  left: auto;
}

html[dir="rtl"][data-frontend-version="v3"] .v3-quick-language.is-header .v3-quick-language-menu {
  right: auto;
  left: 6px;
}

html[dir="rtl"][data-frontend-version="v3"] .v3-quick-language.is-profile {
  right: auto;
  left: 12px;
}

html[dir="rtl"][data-frontend-version="v3"] .v3-quick-language.is-profile .v3-quick-language-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"][data-frontend-version="v3"] .support-float:not([data-support-positioned="true"]) {
  right: max(12px, calc((100vw - var(--app-max)) / 2 + 12px));
  left: auto;
  justify-items: end;
}

html[dir="rtl"][data-frontend-version="v3"] .v3-product-card,
html[dir="rtl"][data-frontend-version="v3"] .v3-profile-directory-card,
html[dir="rtl"][data-frontend-version="v3"] .v3-ledger-list article {
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  html[data-frontend-version="v3"] .v3-announcement span { animation: none; }
  html[data-frontend-version="v3"] .v3-home-banners { scroll-behavior: auto; }
  html[data-frontend-version="v3"] .v3-banner-dots button::after { transition: none; }
}

/* Final late overrides for controls and secondary surfaces. */
html[data-frontend-version="v3"] .v3-quick-language-trigger,
html[data-frontend-version="v3"] .v3-quick-language-menu,
html[data-frontend-version="v3"] .v3-quick-language-menu button,
html[data-frontend-version="v3"] .v3-store-section,
html[data-frontend-version="v3"] .v3-store-rail > button,
html[data-frontend-version="v3"] .v3-profile-facts > div,
html[data-frontend-version="v3"] .v3-segmented,
html[data-frontend-version="v3"] .v3-order-list,
html[data-frontend-version="v3"] .v3-message-list,
html[data-frontend-version="v3"] .v3-language-list,
html[data-frontend-version="v3"] .v3-cart-total {
  border-color: var(--line) !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-quick-language-menu button.active,
html[data-frontend-version="v3"] .v3-segmented button.active {
  background: var(--v3-pink) !important;
  color: #210c25 !important;
}

html[data-frontend-version="v3"] .v3-quick-language-menu button:hover,
html[data-frontend-version="v3"] .v3-quick-language-menu button:focus-visible {
  background: var(--paper-2) !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-store-rail,
html[data-frontend-version="v3"] .v3-host-rail,
html[data-frontend-version="v3"] .v3-recommend-list,
html[data-frontend-version="v3"] .v3-nearby-grid,
html[data-frontend-version="v3"] .v3-profile-directory-grid {
  background: transparent !important;
}

html[data-frontend-version="v3"] .v3-finance-actions button,
html[data-frontend-version="v3"] .v3-quantity button,
html[data-frontend-version="v3"] .v3-amount-grid button {
  border-color: var(--line) !important;
  background: var(--paper-2) !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-finance-actions button.active,
html[data-frontend-version="v3"] .v3-quantity button:active,
html[data-frontend-version="v3"] .v3-amount-grid button.active {
  background: var(--v3-pink) !important;
  color: #210c25 !important;
}

html[data-frontend-version="v3"] .support-window,
html[data-frontend-version="v3"] .support-message.user,
html[data-frontend-version="v3"] .support-message.support,
html[data-frontend-version="v3"] .v3-profile-directory,
html[data-frontend-version="v3"] .v3-profile-directory-copy dl > div,
html[data-frontend-version="v3"] .v3-home-carousel,
html[data-frontend-version="v3"] .v3-home-banners article,
html[data-frontend-version="v3"] .v3-announcement,
html[data-frontend-version="v3"] .v3-announcement div,
html[data-frontend-version="v3"] .v3-auth-tags span,
html[data-frontend-version="v3"] .v3-program-menu button.active {
  border-color: var(--line) !important;
  background: var(--paper-2) !important;
  color: var(--ink) !important;
}

html[data-frontend-version="v3"] .v3-profile-directory-copy dl > div,
html[data-frontend-version="v3"] .v3-auth-tags span {
  color: var(--muted) !important;
}
