/* LOR3X light system — secondary customer-facing pages. */

/* Hero product cutout */
body.apple-light .home-hero-media {
  right: 3px;
  bottom: 7px;
  width: 49%;
  height: 84%;
  transform: rotate(-2deg);
  -webkit-mask-image: none;
  mask-image: none;
}
body.apple-light .home-hero-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  right: -18px;
  bottom: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,.16), rgba(124,92,255,.04) 55%, transparent 72%);
}
body.apple-light .home-hero-media img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  filter: drop-shadow(0 18px 17px rgba(22,22,28,.2));
}

/* Shared page chrome */
body.neon-body.apple-light .page-shell :is(
  .reviews-wall,.orders-history,.ref-page,.lvl-page,.guide-wrap,.checkout-page,
  .game-shell,.wheel-page,.bp-page,.case-page,.top-ref-page
) { color: #1d1d1f !important; }

body.neon-body.apple-light .page-shell :is(
  .reviews-wall,.orders-history,.ref-page,.lvl-page,.guide-wrap,.checkout-page
) :is(h1,h2,h3,.section-title,.section-title-2,.rw-section-title,.pr-sec-title,
       .game-title,.game-section-title,.lvl-card-name,.guide-h3,.guide-section-title,
       .cart-card-title,.card-title,.sh-title,.sc-head) {
  color: #1d1d1f !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

body.neon-body.apple-light .page-shell :is(
  .reviews-wall,.orders-history,.ref-page,.lvl-page,.guide-wrap,.checkout-page,
  .game-shell,.wheel-page,.bp-page,.case-page
) :is(.section-sub,.muted,.text-small,.rw-score-meta,.rw-stat-title,.rw-dist-label,
       .rw-dist-count,.rw-user-meta,.rw-rating-text,.rw-product-date,.rw-empty-text,
       .order-date,.sp-sub,.ref-link-hint,.ref-stat-label,.earn-desc,.ms-info,
       .game-notice-text,.game-level-next,.game-action-text,.game-section-meta,
       .game-item-desc,.lvl-sub,.lvl-card-desc,.guide-p,.guide-step-text,
       .card-sub,.checkout-progress-copy,.delivery-card-desc,.payment-option-desc,
       .defect-desc) {
  color: #6e6e73 !important;
}

/* Reviews */
body.neon-body.apple-light .reviews-wall { padding: 12px 0 28px; }
body.neon-body.apple-light .reviews-wall > .section-header h1 {
  color: #1d1d1f !important;
  font-size: 25px !important;
  letter-spacing: -.035em;
}
body.neon-body.apple-light .reviews-wall .btn-secondary {
  color: #7c5cff !important;
  background: #f0edff !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.neon-body.apple-light .reviews-wall :is(.rw-rating-card,.rw-stat,.rw-card,.rw-cta,.rw-cta-order,.rw-empty) {
  color: #1d1d1f !important;
  background: #ffffff !important;
  border: 1px solid #e5e5ea !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.05) !important;
}
body.neon-body.apple-light .reviews-wall .rw-rating-card {
  padding: 22px 18px;
  border-radius: 25px;
}
body.neon-body.apple-light .reviews-wall .rw-score-value {
  color: #1d1d1f !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 46px;
  letter-spacing: -.05em;
}
body.neon-body.apple-light .reviews-wall .rw-score-stars,
body.neon-body.apple-light .reviews-wall .rw-score-stars .star,
body.neon-body.apple-light .reviews-wall .rw-stars { color: #ff9f0a !important; }
body.neon-body.apple-light .reviews-wall .rw-dist-track { background: #e9e9ee !important; }
body.neon-body.apple-light .reviews-wall .rw-dist-fill { background: #7c5cff !important; }
body.neon-body.apple-light .reviews-wall .rw-stat {
  min-height: 76px;
  display: grid;
  align-content: center;
  border-radius: 18px;
}
body.neon-body.apple-light .reviews-wall .rw-stat-value { color: #1d1d1f !important; }
body.neon-body.apple-light .reviews-wall .rw-stat-value.positive { color: #248a3d !important; }
body.neon-body.apple-light .reviews-wall .rw-section-title {
  color: #1d1d1f !important;
  font-size: 17px;
  letter-spacing: -.02em;
}
body.neon-body.apple-light .reviews-wall .rw-chip {
  color: #3a3a3c !important;
  background: #e9e9ee !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.neon-body.apple-light .reviews-wall .rw-chip.active {
  color: #ffffff !important;
  background: #7c5cff !important;
}
body.neon-body.apple-light .reviews-wall .rw-card {
  padding: 16px;
  border-radius: 21px;
}
body.neon-body.apple-light .reviews-wall :is(.rw-user-name,.rw-text,.rw-product-name) { color: #1d1d1f !important; }
body.neon-body.apple-light .reviews-wall .rw-level { color: #7c5cff !important; }
body.neon-body.apple-light .reviews-wall .rw-product { background: #f5f5f7 !important; }
body.neon-body.apple-light .reviews-wall .rw-action-btn,
body.neon-body.apple-light .reviews-wall .rw-like-btn {
  color: #7c5cff !important;
  background: #f0edff !important;
  border-color: transparent !important;
}
body.neon-body.apple-light .reviews-wall .rw-action-btn.active,
body.neon-body.apple-light .reviews-wall .rw-like-btn.active {
  color: #ffffff !important;
  background: #7c5cff !important;
}
body.neon-body.apple-light .reviews-wall .rw-verified {
  color: #248a3d !important;
  background: #eefaf1 !important;
  border-color: #c8efd2 !important;
}
body.neon-body.apple-light .reviews-wall .rw-verified.store {
  color: #6a4be0 !important;
  background: #f0edff !important;
  border-color: transparent !important;
}
body.neon-body.apple-light .reviews-wall :is(.rw-page-btn,.rw-page-count) {
  color: #3a3a3c !important;
  background: #ffffff !important;
  border-color: #e5e5ea !important;
}

/* The production review wall keeps its original neon layout in dark mode. */
body.neon-body.theme-dark .reviews-wall :is(
  .section-header h1,.rw-section-title,.rw-user-name,.rw-text,.rw-product-name,
  .rw-stat-value,.rw-score-value
) {
  color: #f8f5ff !important;
  -webkit-text-fill-color: currentColor !important;
}
body.neon-body.theme-dark .reviews-wall :is(
  .rw-score-meta,.rw-stat-title,.rw-dist-label,.rw-dist-count,.rw-user-meta,
  .rw-rating-text,.rw-product-date,.rw-empty-text
) { color: #8d80aa !important; }
body.neon-body.theme-dark .reviews-wall .rw-stat-value.positive { color: #c4b5fd !important; }

/* Profile */
body.neon-body.apple-light .pr-wrap { padding: 12px 0 30px; gap: 13px; }
body.neon-body.apple-light .pr-hero { padding: 14px 0 8px; }
body.neon-body.apple-light .pr-avatar-ring {
  background: #7c5cff !important;
  box-shadow: 0 10px 24px rgba(124,92,255,.2) !important;
}
body.neon-body.apple-light :is(.pr-name,.pr-lvl-stat-v,.pr-glass-title,.pr-order-name,.pr-ref-title) { color: #1d1d1f !important; }
body.neon-body.apple-light :is(.pr-id,.pr-lvl-sub,.pr-lvl-bar-label,.pr-lvl-stat-l,.pr-order-meta,.pr-ref-sub,.pr-sec-title) { color: #6e6e73 !important; }
body.neon-body.apple-light :is(.pr-lvl,.pr-strk,.pr-wheel,.pr-nav-item,.pr-glass) {
  color: #1d1d1f !important;
  background: #ffffff !important;
  border-color: #e5e5ea !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.05) !important;
}
body.neon-body.apple-light .pr-nav-item { min-height: 72px; border-radius: 19px; }
body.neon-body.apple-light .pr-nav-icon { background: #f0edff !important; }
body.neon-body.apple-light .pr-ref-card {
  background: linear-gradient(145deg,#ffffff,#f3f1ff) !important;
  border-color: #ddd6ff !important;
}
body.neon-body.apple-light :is(.pr-lvl-stat,.pr-lvl-perk,.pr-ref-pill) {
  color: #3a3a3c !important;
  background: #f5f5f7 !important;
  border-color: transparent !important;
}
body.neon-body.apple-light :is(.pr-lvl-track,.pr-strk-dot-inner) { background: #e9e9ee !important; }

/* Orders and checkout */
body.neon-body.apple-light .orders-history .section-title,
body.neon-body.apple-light .checkout-page .section-title { color: #1d1d1f !important; }
body.neon-body.apple-light :is(.order-card-v2,.status-panel,.checkout-step,.checkout-side,.checkout-item,.quick-order-summary) {
  color: #1d1d1f !important;
  background: #ffffff !important;
  border-color: #e5e5ea !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.05) !important;
}
body.neon-body.apple-light :is(.order-id,.order-total-mini,.checkout-item-name,.step-heading,.delivery-card-title,.payment-option-title,.defect-title) { color: #1d1d1f !important; }
body.neon-body.apple-light :is(.item-pill,.order-details-collapsed,.quick-item,.quick-choice-summary) {
  color: #3a3a3c !important;
  background: #f5f5f7 !important;
  border-color: transparent !important;
}
body.neon-body.apple-light .step-pill {
  color: #6e6e73 !important;
  background: #e9e9ee !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.neon-body.apple-light .step-pill.active {
  color: #ffffff !important;
  background: #7c5cff !important;
}
body.neon-body.apple-light :is(.delivery-card,.payment-option,.defect-option,.region-chip) {
  color: #1d1d1f !important;
  background: #ffffff !important;
  border-color: #e5e5ea !important;
  box-shadow: none !important;
}
body.neon-body.apple-light :is(.delivery-card.selected,.payment-option.selected,.defect-option.selected,.region-chip.active) {
  color: #1d1d1f !important;
  background: #f0edff !important;
  border-color: #7c5cff !important;
}
body.neon-body.apple-light .checkout-page :is(input,textarea,select) {
  color: #1d1d1f !important;
  background: #f2f2f7 !important;
  border-color: transparent !important;
}
/* Checkout chrome stayed dark in the light theme: header, step bar,
   sticky «Назад / Далее» bar and ghost buttons (11.10.2026). */
body.neon-body.apple-light .checkout-page :is(.section-header,.step-pills) {
  background: #ffffff !important;
  border-color: #e5e5ea !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.05) !important;
}
body.neon-body.apple-light .checkout-page .section-header .section-sub { color: #7c5cff !important; }
body.neon-body.apple-light .checkout-page .delivery-mobile-hint {
  color: #4c3aa8 !important;
  background: #f0edff !important;
  font-size: 11.5px !important;
  font-weight: 600;
}
body.neon-body.apple-light .checkout-page .wizard-actions {
  background: rgba(255,255,255,.94) !important;
  border-color: #e5e5ea !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.08) !important;
}
body.neon-body.apple-light .checkout-page .btn.ghost {
  color: #7c5cff !important;
  background: #f0edff !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Referrals */
body.neon-body.apple-light .ref-page :is(.ref-link-card,.ref-stat,.ref-level,.ref-milestones,.ref-earnings,.ref-lb) {
  color: #1d1d1f !important;
  background: #ffffff !important;
  border-color: #e5e5ea !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.05) !important;
}
body.neon-body.apple-light .ref-page :is(.ref-section-title,.ref-stat-value,.earn-amount,.ms-title,.lb-user) { color: #1d1d1f !important; }
body.neon-body.apple-light .ref-page .ref-link-input { color: #1d1d1f !important; background: #f2f2f7 !important; }
body.neon-body.apple-light .ref-page :is(.earn-item,.ms-item,.lb-item) {
  color: #1d1d1f !important;
  background: #f5f5f7 !important;
  border-color: transparent !important;
}
body.neon-body.apple-light .ref-page :is(.ref-link-btn,.ref-share-btn,.ms-btn) {
  color: #ffffff !important;
  background: #7c5cff !important;
  border-color: #7c5cff !important;
}
body.neon-body.apple-light .ref-page .tier-progress-bar {
  background: #e9e9ee !important;
  border-color: transparent !important;
}
body.neon-body.apple-light .ref-page .tier-progress-fill {
  background: #7c5cff !important;
  box-shadow: none !important;
}
body.neon-body.apple-light .ref-page .tier-progress-label,
body.neon-body.apple-light .ref-page :is(.ref-level-label,.ref-link-label,.ms-reward,.lb-count) {
  color: #6e6e73 !important;
}
body.neon-body.apple-light .ref-page .ref-level-pct {
  color: #7c5cff !important;
  -webkit-text-fill-color: currentColor !important;
}
body.neon-body.apple-light .ref-page .ref-motivation {
  color: #9a4b12 !important;
  background: #fff4ed !important;
  border-color: #ffd6bf !important;
  box-shadow: none !important;
}
body.neon-body.apple-light .ref-page .ref-balance-note {
  color: #6e6e73 !important;
  background: #ffffff !important;
  border-color: #e5e5ea !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.05) !important;
}
body.neon-body.apple-light .ref-page .ref-balance-note strong { color: #9a4b12 !important; }
body.neon-body.apple-light .ref-page .ref-share-btn {
  color: #7c5cff !important;
  background: #f0edff !important;
  border-color: transparent !important;
}
body.neon-body.apple-light .ref-page .ms-btn:disabled {
  color: #8e8e93 !important;
  background: #e9e9ee !important;
  border-color: transparent !important;
}

/* Game hub: preserve hierarchy, remove the dark neon shell. */
body.neon-body.apple-light .game-shell { padding-top: 10px; color: #1d1d1f !important; }
body.neon-body.apple-light .game-title,
body.neon-body.apple-light .game-section-title { color: #1d1d1f !important; }
body.neon-body.apple-light .game-back {
  color: #3a3a3c !important;
  background: #ffffff !important;
  border-color: #e5e5ea !important;
  box-shadow: 0 5px 16px rgba(0,0,0,.05) !important;
}
body.neon-body.apple-light :is(.game-notice,.game-level,.game-action,.game-item,.game-empty) {
  color: #1d1d1f !important;
  background: #ffffff !important;
  border-color: #e5e5ea !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.05) !important;
}
body.neon-body.apple-light .game-level {
  background: linear-gradient(145deg,#ffffff,#f3f1ff) !important;
  border-color: #ddd6ff !important;
}
body.neon-body.apple-light :is(.game-level-name,.game-level-xp,.game-action-title,.game-item-title) { color: #1d1d1f !important; }
body.neon-body.apple-light :is(.game-level-number,.game-action-arrow,.game-section-count,.game-item-progress,.game-reward) { color: #7c5cff !important; }
body.neon-body.apple-light :is(.game-level-icon,.game-action-icon,.game-item-icon) {
  color: #1d1d1f !important;
  background: #f0edff !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.neon-body.apple-light :is(.game-progress,.game-track) { background: #e9e9ee !important; border-color: transparent !important; }
body.neon-body.apple-light :is(.game-progress>span,.game-track>span) { background: #7c5cff !important; box-shadow: none !important; }
body.neon-body.apple-light .game-more { color: #7c5cff !important; background: #f0edff !important; border-color: transparent !important; }

/* Levels, guides and informational sections */
body.neon-body.apple-light .lvl-page :is(.lvl-card,.lvl-perk,.lvl-reqs) ,
body.neon-body.apple-light .guide-wrap :is(.guide-section,.guide-box,.guide-perk) {
  color: #1d1d1f !important;
  background: #ffffff !important;
  border-color: #e5e5ea !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.05) !important;
}
body.neon-body.apple-light .lvl-page :is(.lvl-card-en,.lvl-req-label,.lvl-perk-l),
body.neon-body.apple-light .guide-wrap :is(.guide-badge,.guide-perk-l) { color: #6e6e73 !important; }
body.neon-body.apple-light .lvl-page :is(.lvl-perk-v,.lvl-req-val),
body.neon-body.apple-light .guide-wrap .guide-perk-v { color: #1d1d1f !important; }
body.neon-body.apple-light .guide-wrap .guide-section-icon,
body.neon-body.apple-light .guide-wrap .guide-step-num {
  color: #7c5cff !important;
  background: #f0edff !important;
  border-color: transparent !important;
}
body.neon-body.apple-light .guide-wrap :is(.guide-section-title,.guide-box p,.guide-perk-v) {
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* Keep colourful game/reward pages readable on the light shell. */
body.neon-body.apple-light :is(.wheel-page,.bp-page,.case-page) :is(.wheel-header,.bp-title,h1,h2,h3) {
  color: #1d1d1f !important;
  -webkit-text-fill-color: currentColor !important;
}
body.neon-body.apple-light :is(.wheel-stats,.streak-banner,.wheel-rules,.jackpot-display,.vip-toggle,.fame-list,.bp-tabs,.bp-tab,.case-card) {
  color: #1d1d1f !important;
  background: #ffffff !important;
  border-color: #e5e5ea !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.05) !important;
}

@media (max-width: 420px) {
  body.apple-light .home-hero-media { right: -2px; width: 50%; }
  body.neon-body.apple-light .reviews-wall .rw-hero { gap: 10px; }
  body.neon-body.apple-light .reviews-wall .rw-rating-card { padding: 19px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  body.apple-light .home-hero-media img { transition: none !important; }
}

/* Order payment page stayed dark in the light theme (11.10.2026). */
body.neon-body.apple-light .order-payment .section-title { color: #1d1d1f !important; }
body.neon-body.apple-light .order-payment .section-sub { color: #7c5cff !important; }
body.neon-body.apple-light .order-payment :is(.summary-row,.qr-amount) {
  color: #1d1d1f !important;
  background: #f5f5f7 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.neon-body.apple-light .order-payment .summary-row .k { color: #8e8e93 !important; }
body.neon-body.apple-light .order-payment .summary-row .v,
body.neon-body.apple-light .order-payment .qr-amount :is(span,b) { color: #1d1d1f !important; }
body.neon-body.apple-light .order-payment .qr-amount b { color: #7c5cff !important; }
body.neon-body.apple-light .order-payment .summary-row .ic { background: #ffffff !important; }
body.neon-body.apple-light .order-payment :is(.qr-copy,.btn.ghost,.qr-file-label) {
  color: #7c5cff !important;
  background: #f0edff !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Text fields everywhere in the light theme: dark text on light fill and a clearly
   visible blinking cursor (the neon palette left some fields white-on-dark). */
body.neon-body.apple-light .page-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select) {
  color: #1d1d1f !important;
  background: #f2f2f7 !important;
  caret-color: #7c5cff !important;
}
body.neon-body.apple-light .page-shell :is(input,textarea):focus {
  background: #ffffff !important;
  border-color: #7c5cff !important;
  box-shadow: 0 0 0 3px rgba(124,92,255,.18) !important;
}
body.neon-body.apple-light .page-shell ::placeholder { color: #9a9aa2 !important; }
body.neon-body:not(.apple-light) .page-shell :is(input,textarea) { caret-color: #c084fc !important; }

