/* Nekon HUB V28.21 · Tema Claro integral
   Capa final y única de contraste: blanco suave + negro + grises cálidos.
   No altera geometría/funciones; solo apariencia y legibilidad responsive. */

html[data-theme="light"]{
  color-scheme:light;
  --l21-bg:#ecece8;
  --l21-bg-2:#e4e4de;
  --l21-card:#f7f7f3;
  --l21-card-2:#efefea;
  --l21-card-3:#e2e2dc;
  --l21-ink:#111315;
  --l21-ink-2:#282b2f;
  --l21-muted:#60646a;
  --l21-line:#17191c;
  --l21-line-soft:rgba(17,19,21,.30);
  --l21-line-faint:rgba(17,19,21,.14);
  --l21-white:#fbfbf8;
  --l21-black:#111315;
  --l21-accent:#7764d8;
  --l21-accent-2:#17877f;
  --l21-gold:#9a6b16;
  --l21-danger:#a53d4b;
  --l21-success:#227347;
  --l21-shadow:0 12px 30px rgba(0,0,0,.10);
  --l21-shadow-soft:0 5px 14px rgba(0,0,0,.07);

  --page-bg:var(--l21-bg)!important;
  --surface:var(--l21-card)!important;
  --surface-soft:var(--l21-card-2)!important;
  --panel:var(--l21-card-2)!important;
  --text:var(--l21-ink)!important;
  --page-text:var(--l21-ink)!important;
  --muted:var(--l21-muted)!important;
  --page-muted:var(--l21-muted)!important;
  --line:var(--l21-line-soft)!important;
  --border:var(--l21-line)!important;
  --page-border:var(--l21-line)!important;
  --white:var(--l21-ink)!important;
  --black:var(--l21-bg)!important;
  --nova-bg:var(--l21-bg)!important;
  --nova-bg-2:var(--l21-bg-2)!important;
  --nova-surface:var(--l21-card)!important;
  --nova-surface-2:var(--l21-card-2)!important;
  --nova-surface-3:var(--l21-card-3)!important;
  --nova-text:var(--l21-ink)!important;
  --nova-muted:var(--l21-muted)!important;
  --nova-line:var(--l21-line-soft)!important;
  --neo-text:var(--l21-ink)!important;
  --neo-line:var(--l21-line-soft)!important;
}

/* PAGE BACKGROUND: warm off-white, never pure white / never black. */
html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] main,
html[data-theme="light"] .app-shell,
html[data-theme="light"] .page-shell{
  background:var(--l21-bg)!important;
  color:var(--l21-ink)!important;
}
html[data-theme="light"] body{
  background-image:
    radial-gradient(circle at 12% 8%,rgba(119,100,216,.045),transparent 27rem),
    radial-gradient(circle at 88% 12%,rgba(23,135,127,.035),transparent 28rem),
    linear-gradient(180deg,#f0f0ec 0%,#ecece8 48%,#e7e7e1 100%)!important;
}
html[data-theme="light"] body::before{
  opacity:.12!important;
  background-image:linear-gradient(rgba(17,19,21,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(17,19,21,.05) 1px,transparent 1px)!important;
  background-size:84px 84px!important;
}
html[data-theme="light"] body::after{opacity:.025!important}
html[data-theme="light"] .view,
html[data-theme="light"] .view.inner,
html[data-theme="light"] .member-view,
html[data-theme="light"] .growth-page{
  background:transparent!important;
  color:var(--l21-ink)!important;
}
html[data-theme="light"] .view::before,
html[data-theme="light"] .view::after{opacity:.03!important}

/* BLACK HEADER + OFF-WHITE CONTROLS: intentional black/white contrast. */
html[data-theme="light"] body>header{
  background:#101214!important;
  color:#f7f7f3!important;
  border-bottom:1px solid #2d3034!important;
  box-shadow:0 8px 24px rgba(0,0,0,.18)!important;
}
html[data-theme="light"] body>header :is(.brand,.brand strong,.brand span){color:#f6f6f2!important}
html[data-theme="light"] :is(.menu-toggle,.notification-bell,.theme-toggle,.member-account-button,.header-wallet-chip,.header-register-button){
  background:#f7f7f3!important;
  color:#151719!important;
  border:1px solid #111315!important;
  box-shadow:0 4px 12px rgba(0,0,0,.10)!important;
}
html[data-theme="light"] :is(.menu-toggle,.notification-bell,.theme-toggle,.member-account-button,.header-wallet-chip,.header-register-button) :is(span,strong,small,b){color:inherit!important}
html[data-theme="light"] .menu-toggle span{background:#111315!important}
html[data-theme="light"] #menu{
  background:#f3f3ef!important;
  color:var(--l21-ink)!important;
  border-right:1px solid #111315!important;
  box-shadow:18px 0 40px rgba(0,0,0,.08)!important;
}
html[data-theme="light"] #menu :is(.menu-link,.menu-group-toggle,.menu-submenu a){color:#1b1e21!important}
html[data-theme="light"] #menu :is(.menu-link,.menu-group-toggle):hover,
html[data-theme="light"] #menu :is(.menu-link,.menu-group-toggle).active{background:#deded8!important;color:#070809!important}
html[data-theme="light"] #menu .menu-icon{background:#e0e0da!important;border:1px solid #181a1d!important;color:#111315!important}
html[data-theme="light"] .menu-submenu{border-left-color:#303337!important}
html[data-theme="light"] .arena-bottom-nav{background:#f7f7f3!important;border:1px solid #111315!important;color:#111315!important;box-shadow:0 -8px 22px rgba(0,0,0,.11)!important}
html[data-theme="light"] body>footer{background:#deded8!important;border-top:1px solid #111315!important;color:#33363a!important}

/* GLOBAL TEXT: all public sections readable on light surfaces. */
html[data-theme="light"] .view :is(h1,h2,h3,h4,h5,h6){color:#141619!important;text-shadow:none!important}
html[data-theme="light"] .view :is(p,small,label,legend){color:#5d6167!important;text-shadow:none!important}
html[data-theme="light"] .view :is(strong,b){text-shadow:none!important}
html[data-theme="light"] :is(.eyebrow,[class*="eyebrow"],[class*="kicker"],[class*="overline"]){color:#4c5055!important}

/* COMMON SURFACES. Alternate off-whites + black outlines instead of white-on-white. */
html[data-theme="light"] :is(
  .member-panel,.member-page-title,.page-title,.member-info-card,.member-data-item,.member-status-card,
  .wallet-panel,.wallet-metric,.wallet-workspace-nav,.wallet-topup-panel,.wallet-history-panel,.wallet-request-card,.wallet-transaction-card,
  .growth-shell,.growth-hero,.growth-card,.growth-stat,.growth-help-intro,.growth-help-shell,
  .ranking-panel,.ticket-summary-grid>article,.referral-share-card,.referral-stats-card,
  .profile-card,.profile-details-card,.profile-static-field,.security-card,
  .points-hub-summary,.points-missions-shell,.points-mission-group,.points-mission,
  .mp-summary,.mp-category-board,.mp-workspace,.mp-panel-box,.mp-exclusive-strip,.mp-exclusive-box,.recharge-hub-history,
  .prediction-card,.prediction-history-card,.prediction-metrics,.history-maestro-card,.history-maestro-title,
  .sync-card,.winner-public-card,.faq-item,.suggestion-form,.methodology-shell,
  .premium-store-host,.premium-product-card,.streaming-card,.shared-account-card,.service-unavailable-notice,
  .empty,.modern-empty
){
  background:var(--l21-card)!important;
  color:var(--l21-ink)!important;
  border:1px solid var(--l21-line)!important;
  box-shadow:var(--l21-shadow-soft)!important;
}
html[data-theme="light"] :is(
  .member-page-title,.page-title,.growth-hero,.points-hub-summary,.mp-summary,.growth-help-intro,
  .wallet-metric,.profile-card
){background:linear-gradient(135deg,#f7f7f3 0%,#e4e4de 100%)!important}
html[data-theme="light"] :is(
  .member-panel,.wallet-panel,.growth-card,.ranking-panel,.points-mission-group,.mp-workspace,
  .prediction-card,.sync-card,.faq-item,.profile-details-card,.security-card
)+:is(.member-panel,.wallet-panel,.growth-card,.ranking-panel,.points-mission-group,.mp-workspace,.prediction-card,.sync-card,.faq-item,.profile-details-card,.security-card){margin-top:12px}

/* Generic module descendants: use soft gray, not glaring white. */
html[data-theme="light"] .view :is(
  [class*="-field"],[class*="-row"],[class*="-item"],[class*="-tile"],[class*="-stat"],
  [class*="-option"],[class*="-entry"],[class*="-note"],[class*="-notice"]
):not([class*="image"]):not([class*="media"]):not([class*="art"]):not([class*="avatar"]){
  border-color:var(--l21-line-soft)!important;
}

/* FORMS */
html[data-theme="light"] :is(input,select,textarea){
  background:#f9f9f6!important;
  color:#111315!important;
  border:1px solid #151719!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85)!important;
}
html[data-theme="light"] :is(input,textarea)::placeholder{color:#7a7d82!important}
html[data-theme="light"] :is(input,select,textarea):focus{outline:2px solid rgba(119,100,216,.30)!important;outline-offset:1px!important;border-color:#111315!important}

/* Buttons: black is the default action language; selected/brand actions keep accent. */
html[data-theme="light"] .view :is(
  .member-primary-button,.member-small-button,.suggestion-submit,.premium-finalize-button,
  .points-shop-buy,.wallet-history-export,.recharge-submit,.profile-save-button
){background:#111315!important;color:#fbfbf8!important;border:1px solid #111315!important;box-shadow:none!important}
html[data-theme="light"] .view :is(
  .member-primary-button,.member-small-button,.suggestion-submit,.premium-finalize-button,
  .points-shop-buy,.wallet-history-export,.recharge-submit,.profile-save-button
) :is(span,strong,b){color:#fbfbf8!important}
html[data-theme="light"] .view button:disabled{opacity:.48!important}

/* HOME */
html[data-theme="light"] :is(.v266-showcase,.nekon-home-premium-v2731){background:#f2f2ee!important;border:1px solid #111315!important;box-shadow:var(--l21-shadow)!important}
html[data-theme="light"] .v266-showcase__topline{background:#17191c!important;color:#f8f8f4!important;border-bottom:1px solid #111315!important}
html[data-theme="light"] .v266-showcase__topline *{color:#f5f5f1!important}
html[data-theme="light"] .v266-slide{background:#f3f3ef!important}
html[data-theme="light"] .v266-slide::before{background:linear-gradient(90deg,#f3f3ef 0%,rgba(243,243,239,.97) 39%,rgba(243,243,239,.78) 55%,rgba(243,243,239,.14) 76%,transparent 100%)!important}
html[data-theme="light"] .v266-slide__content :is(h1,h2,h3,em){color:#151719!important}
html[data-theme="light"] .v266-slide__content p{color:#60646a!important}
html[data-theme="light"] .v266-showcase__nav-button{background:#111315!important;color:#f7f7f3!important;border:1px solid #111315!important}
html[data-theme="light"] .v266-showcase__controls{background:#e0e0da!important;border-top:1px solid #111315!important}

/* WALLET + RECHARGE */
html[data-theme="light"] #billetera :is(.wallet-topup-panel,.wallet-history-panel,.wallet-bank-info,.wallet-history-exportbar,.wallet-request-card,.wallet-transaction-card,.wallet-minimum-note,.wallet-service-hours),
html[data-theme="light"] #recargar :is(.recharge-form-panel,.bank-account-card,.member-status-list,.sportsbook-catalog-grid,.sportsbook-card){background:var(--l21-card-2)!important;border:1px solid #111315!important;color:#111315!important;box-shadow:var(--l21-shadow-soft)!important}
html[data-theme="light"] #billetera .wallet-workspace-nav button{color:#25282c!important}
html[data-theme="light"] #billetera .wallet-workspace-nav button.is-active{background:#111315!important;color:#f7f7f3!important;border-color:#111315!important}

/* MULTIPRODUCT */
html[data-theme="light"] #recargas-operadoras :is(.mp-category-card,.mp-product-card,.mp-package-option,.recharge-request-card,.mp-static-field,.mp-processing-notice){background:#f7f7f3!important;border:1px solid #111315!important;color:#111315!important;box-shadow:0 4px 10px rgba(0,0,0,.045)!important}
html[data-theme="light"] #recargas-operadoras .mp-category-card:nth-child(even){background:#e8e8e2!important}
html[data-theme="light"] #recargas-operadoras .mp-category-card__icon{background:#111315!important;color:#f7f7f3!important;border:1px solid #111315!important}
html[data-theme="light"] #recargas-operadoras :is(.mp-category-card,.mp-product-card,.recharge-request-card) :is(p,small,span){color:#5f6368!important}

/* POINTS */
html[data-theme="light"] #puntos .points-hub-summary{background:linear-gradient(135deg,#f6f6f2,#deded8)!important;border:1px solid #111315!important}
html[data-theme="light"] #puntos :is(.points-missions-shell,.points-mission-group){background:#e6e6e0!important;border:1px solid #111315!important}
html[data-theme="light"] #puntos .points-mission{background:#f8f8f4!important;border:1px solid #111315!important}
html[data-theme="light"] #puntos .points-mission:nth-child(even){background:#ededE7!important}
html[data-theme="light"] #puntos :is(progress,.points-progress-track){background:#d3d3cd!important;border:1px solid #111315!important}

/* PREDICTIONS + HISTORY */
html[data-theme="light"] #pronosticos :is(.prediction-card,.prediction-card--v27,.pick-v27-overview,.pick-v27-footer,.pick-v27-odds,.pick-v27-code){background:#f7f7f3!important;border:1px solid #111315!important;color:#111315!important;box-shadow:var(--l21-shadow-soft)!important}
html[data-theme="light"] #pronosticos :is(.pick-v27-footer,.pick-v27-code){background:#e6e6e0!important}
html[data-theme="light"] #historial-pronosticos{--history-card:#f7f7f3!important;--history-ink:#111315!important;--history-muted:#62666b!important;--history-line:#111315!important}
html[data-theme="light"] #historial-pronosticos :is(.history-maestro-title,.history-maestro-card){background:#f4f4f0!important;border:1px solid #111315!important;color:#111315!important}
html[data-theme="light"] #historial-pronosticos .history-maestro-title{background:#deded8!important}

/* PRIZES / WINNERS / HELP */
html[data-theme="light"] #premios .sync-card,
html[data-theme="light"] #ganadores .winner-public-card{background:#f7f7f3!important;border:1px solid #111315!important;color:#111315!important;box-shadow:var(--l21-shadow)!important}
html[data-theme="light"] #premios .sync-card__media,
html[data-theme="light"] #ganadores .winner-public-card__image{background:#e1e1db!important;border-bottom:1px solid #111315!important}
html[data-theme="light"] #ganadores .winner-public-card__prize{background:#e8e2d3!important;border:1px solid #111315!important;color:#1b1d20!important}
html[data-theme="light"] #ayuda .growth-help-shell{background:transparent!important;border:0!important;box-shadow:none!important}
html[data-theme="light"] #ayuda .growth-help-intro{background:#deded8!important;border:1px solid #111315!important;color:#111315!important}
html[data-theme="light"] #ayuda .faq-item{background:#f8f8f4!important;border:1px solid #111315!important;color:#111315!important}
html[data-theme="light"] #ayuda .faq-item:nth-child(even){background:#e8e8e2!important}
html[data-theme="light"] #ayuda .faq-item button{color:#111315!important}

/* PROFILE / SECURITY / REFERRALS / TICKETS / RANKING */
html[data-theme="light"] :is(#mi-perfil,#seguridad,#referidos,#mis-tickets,#ranking) :is(.member-panel,.profile-card,.profile-details-card,.profile-static-field,.security-card,.referral-share-card,.referral-stats-card,.ranking-panel,.member-ticket-list>*,.ticket-summary-grid>article){background:#f7f7f3!important;border:1px solid #111315!important;color:#111315!important}
html[data-theme="light"] :is(#mi-perfil,#seguridad,#referidos) .account-section-nav__button{background:#f7f7f3!important;color:#111315!important;border:1px solid #111315!important}
html[data-theme="light"] :is(#mi-perfil,#seguridad,#referidos) .account-section-nav__button.is-active{background:#111315!important;color:#f7f7f3!important}
html[data-theme="light"] #mi-perfil .profile-id{background:#111315!important;color:#f7f7f3!important;border:1px solid #111315!important}

/* VIP / MI NEKON / BENEFITS */
html[data-theme="light"] :is(#mi-nekon,#vip) :is(.growth-shell,.growth-card,.growth-stat,.vip-current,.vip-plan,.vip-journey-card,.benefit-card,.methodology-card,.automation-card,.service-item,.onboarding-item,.activity-item,.history-vip-item){background:#f7f7f3!important;border:1px solid #111315!important;color:#111315!important;box-shadow:var(--l21-shadow-soft)!important}
html[data-theme="light"] :is(#mi-nekon,#vip) :is(.growth-card,.vip-plan,.benefit-card,.activity-item):nth-child(even){background:#e8e8e2!important}

/* STREAMING / PREMIUM / NETWORK / SUGGESTIONS / METHODOLOGY */
html[data-theme="light"] :is(#cuentas-gratis,#cuentas-premium,#red-agencias,#sugerencias,#como-funciona) :is(.member-panel,[class*="card"],[class*="panel"],[class*="shell"],[class*="item"]):not([class*="media"]):not([class*="image"]){background:#f7f7f3!important;border-color:#111315!important;color:#111315!important}
html[data-theme="light"] #sugerencias .suggestion-form{background:#f7f7f3!important;border:1px solid #111315!important}
html[data-theme="light"] #como-funciona .methodology-shell{background:#f1f1ec!important;border:1px solid #111315!important}

/* GAMES HUB */
html[data-theme="light"] #juegos-nekon{background:transparent!important;color:#111315!important}
html[data-theme="light"] #juegos-nekon .nekon-game-token-wallet{background:#deded8!important;border:1px solid #111315!important;color:#111315!important;box-shadow:var(--l21-shadow)!important}
html[data-theme="light"] #juegos-nekon .nekon-game-card{background:#f7f7f3!important;border:1px solid #111315!important;box-shadow:var(--l21-shadow)!important}
html[data-theme="light"] #juegos-nekon .nekon-game-card__body,
html[data-theme="light"] #juegos-nekon .nekon-game-card--bingo .nekon-game-card__body{background:#f2f2ed!important;color:#111315!important;border-top:1px solid #111315!important}
html[data-theme="light"] #juegos-nekon .nekon-games-back{background:#111315!important;color:#f7f7f3!important;border:1px solid #111315!important}

/* BINGO: all chrome light; game art remains art. */
html[data-theme="light"] #juegos-nekon .bingo-dashboard-v50{background:linear-gradient(180deg,#ecece7,#deded8)!important;border:1px solid #111315!important;color:#111315!important;box-shadow:var(--l21-shadow)!important}
html[data-theme="light"] #juegos-nekon :is(
 .bingo-value-strip,.bingo-status-card,.bingo-motivation-card,.bingo-live-stack,.bingo-ticket,.bingo-my-tickets,
 .bingo-next-panel,.bingo-called-panel,.bingo-tables-panel,.bingo-live-card,.bingo-play-area,.bingo-play-placeholder,
 .bingo-round-complete,.bingo-secondary-actions,.bingo-history-card,.bingo-history-detail,.bingo-history-layout,
 .bingo-history-list,.bingo-history-item,.bingo-win-card,.bingo-loader-card,.bingo-balance-mini,.bingo-top-called-strip
){background:#f7f7f3!important;border:1px solid #111315!important;color:#111315!important;box-shadow:var(--l21-shadow-soft)!important}
html[data-theme="light"] #juegos-nekon :is(.bingo-ticket,.bingo-history-item,.bingo-status-card):nth-child(even){background:#e7e7e1!important}
html[data-theme="light"] .bingo-how-card,
html[data-theme="light"] .bingo-gift-card,
html[data-theme="light"] .bingo-history-dialog>section{background:#f3f3ef!important;border:1px solid #111315!important;color:#111315!important}
html[data-theme="light"] .bingo-loader-overlay{background:rgba(236,236,232,.96)!important;color:#111315!important}
html[data-theme="light"] .bingo-history-dialog::backdrop,
html[data-theme="light"] .bingo-how-dialog::backdrop{background:rgba(17,19,21,.36)!important}

/* SCRATCH */
html[data-theme="light"] #juegos-nekon .scratch8-shell::before{background:linear-gradient(180deg,#ecece7,#deded8)!important;border:1px solid #111315!important;box-shadow:var(--l21-shadow)!important}
html[data-theme="light"] #juegos-nekon .scratch8-hero{background:linear-gradient(135deg,#f3f0f6,#e2e2dc)!important;border:1px solid #111315!important;box-shadow:var(--l21-shadow)!important}
html[data-theme="light"] #juegos-nekon :is(
 .scratch8-panel,.scratch8-board,.scratch8-status,.scratch8-wallet,.scratch8-purchase,.scratch8-card,.scratch8-history,
 .scratch8-game-panel,.scratch8-prizes-panel,.scratch8-queue-panel,.scratch8-controls,.scratch8-board-frame,
 .scratch8-history-card,.scratch8-history-head,.scratch8-leader-card,.scratch8-leaders,.scratch8-side-facts,
 .scratch8-tip,.scratch8-live-note,.scratch8-message,.scratch8-win-card,.scratch8-loader-card
){background:#f7f7f3!important;border:1px solid #111315!important;color:#111315!important;box-shadow:var(--l21-shadow-soft)!important}
html[data-theme="light"] .scratch8-overlay,
html[data-theme="light"] .scratch8-gift-overlay{background:rgba(17,19,21,.36)!important}
html[data-theme="light"] :is(.scratch8-dialog-card,.scratch8-gift-card){background:#f3f3ef!important;border:1px solid #111315!important;color:#111315!important}
html[data-theme="light"] .scratch8-loader{background:rgba(236,236,232,.97)!important;color:#111315!important}

/* DAILY WHEEL */
html[data-theme="light"] .daily-wheel-overlay{background:rgba(17,19,21,.34)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}
html[data-theme="light"] .daily-wheel-shell{background:linear-gradient(180deg,#f4f4f0,#deded8)!important;color:#111315!important;border:1px solid #111315!important;box-shadow:0 26px 70px rgba(0,0,0,.24)!important}
html[data-theme="light"] .daily-wheel-head{background:#e3e3dd!important;border:1px solid #111315!important;color:#111315!important}
html[data-theme="light"] .daily-wheel-close{background:#111315!important;color:#f7f7f3!important;border:1px solid #111315!important}
html[data-theme="light"] .daily-wheel-head__chip,
html[data-theme="light"] .daily-wheel-result{background:#f7f7f3!important;color:#111315!important;border:1px solid #111315!important}
html[data-theme="light"] .daily-wheel-disc{border-color:#111315!important;box-shadow:0 12px 30px rgba(0,0,0,.20)!important}

/* GAME TOKEN EXCHANGE */
html[data-theme="light"] .nekon-game-exchange-card{background:#f2f2ed!important;color:#111315!important;border:1px solid #111315!important;box-shadow:0 24px 68px rgba(0,0,0,.24)!important}
html[data-theme="light"] .nekon-game-exchange-close{background:#111315!important;color:#f7f7f3!important;border:1px solid #111315!important}
html[data-theme="light"] :is(.nekon-game-exchange-current,.nekon-game-exchange-balances article,.nekon-game-exchange-preview>div){background:#e2e2dc!important;border:1px solid #111315!important;color:#111315!important}

/* POINT SHOP */
html[data-theme="light"] .points-shop-overlay{background:rgba(17,19,21,.34)!important}
html[data-theme="light"] .points-shop-dialog{background:#ecece7!important;border:1px solid #111315!important;color:#111315!important}
html[data-theme="light"] :is(.points-shop-topbar,.points-shop-section,.points-shop-item,.points-shop-weekly-note){background:#f7f7f3!important;border:1px solid #111315!important;color:#111315!important}
html[data-theme="light"] .points-shop-item:nth-child(even){background:#e6e6e0!important}
html[data-theme="light"] .points-shop-close{background:#111315!important;color:#f7f7f3!important;border:1px solid #111315!important}

/* MULTIPRODUCT MODALS */
html[data-theme="light"] :is(.mp-confirm__backdrop,.mp-overlay__backdrop,.mp-package-picker__backdrop,.recharge-history-export-backdrop){background:rgba(17,19,21,.34)!important}
html[data-theme="light"] :is(.mp-confirm__dialog,.mp-overlay__dialog,.mp-package-picker__dialog,.recharge-history-export-card){background:#f1f1ed!important;border:1px solid #111315!important;color:#111315!important}
html[data-theme="light"] :is(.mp-confirm__item,.mp-package-option,.mp-modal-panel,.mp-package-selected){background:#f8f8f4!important;border:1px solid #111315!important;color:#111315!important}

/* SUPPORT CHAT */
html[data-theme="light"] #premiumSupportDialog .premium-support-shell{background:#e7e7e1!important;border:1px solid #111315!important;color:#111315!important}
html[data-theme="light"] #premiumSupportDialog .premium-support-header{background:#111315!important;color:#f7f7f3!important;border-bottom:1px solid #111315!important}
html[data-theme="light"] #premiumSupportDialog .premium-support-header *{color:#f7f7f3!important}
html[data-theme="light"] #premiumSupportDialog .premium-support-message.is-assistant,
html[data-theme="light"] #premiumSupportDialog .premium-support-message.is-system{background:#f7f3e8!important;color:#111315!important;border:1px solid #111315!important}
html[data-theme="light"] #premiumSupportDialog .premium-support-message.is-member{background:#dce7e3!important;color:#111315!important;border:1px solid #111315!important}
html[data-theme="light"] #premiumSupportDialog .premium-support-message.is-admin{background:#e5e0ee!important;color:#111315!important;border:1px solid #111315!important}
html[data-theme="light"] #premiumSupportDialog .premium-support-form{background:#deded8!important;border-top:1px solid #111315!important}

/* ALL DIALOGS / MODALS NOT COVERED ABOVE */
html[data-theme="light"] :is(
 #memberAuthDialog,#premiumProductDialog,#premiumPurchaseDialog,#premiumOrdersDialog,#memberSuccessDialog,
 #notificationCenterDialog,#notificationImageViewer,#installHelpDialog
){background:#f1f1ed!important;color:#111315!important;border:1px solid #111315!important;box-shadow:0 26px 72px rgba(0,0,0,.25)!important}
html[data-theme="light"] :is(
 #memberAuthDialog,#premiumProductDialog,#premiumPurchaseDialog,#premiumOrdersDialog,#memberSuccessDialog,
 #notificationCenterDialog,#notificationImageViewer,#installHelpDialog
)::backdrop{background:rgba(17,19,21,.36)!important}
html[data-theme="light"] :is(
 #memberAuthDialog,#premiumProductDialog,#premiumPurchaseDialog,#premiumOrdersDialog,#memberSuccessDialog,
 #notificationCenterDialog,#notificationImageViewer,#installHelpDialog
) :is(h1,h2,h3,h4,strong,b){color:#111315!important}
html[data-theme="light"] :is(
 #memberAuthDialog,#premiumProductDialog,#premiumPurchaseDialog,#premiumOrdersDialog,#memberSuccessDialog,
 #notificationCenterDialog,#notificationImageViewer,#installHelpDialog
) :is(p,small,label,span){color:#62666b!important}
html[data-theme="light"] :is(.premium-purchase-summary,.premium-payment-details,.premium-wallet-payment,.premium-order-status-list>*,.notifications-list>*,.install-guide__requirements){background:#f8f8f4!important;border:1px solid #111315!important;color:#111315!important}

/* Notification center */
html[data-theme="light"] :is(.notification-center,.notification-center-card,.notification-list-item,.notification-center-detail){background:#f5f5f1!important;color:#111315!important;border-color:#111315!important}
html[data-theme="light"] .notification-list-item:nth-child(even){background:#e6e6e0!important}

/* Safe generic fallback for any remaining dark structural box inside public views.
   Excludes artwork/media to preserve photos/illustrations. */
html[data-theme="light"] .view :is(
 [class*="-panel"],[class*="-shell"],[class*="-summary"],[class*="-workspace"],[class*="-toolbar"],
 [class*="-section"],[class*="-content"],[class*="-details"]
):not([class*="media"]):not([class*="image"]):not([class*="art"]):not([class*="photo"]):not([class*="avatar"]){
  border-color:var(--l21-line-soft)!important;
}

/* Ensure dark text does not leak into dark action buttons. */
html[data-theme="light"] :is(button,a)[style*="background"]{text-shadow:none!important}
html[data-theme="light"] :is(.daily-wheel-close,.points-shop-close,.nekon-game-exchange-close,.nekon-games-back,.member-primary-button,.suggestion-submit,.premium-finalize-button) :is(span,strong,b){color:inherit!important}

/* RESPONSIVE: identical palette on tablet/phone, no black islands. */
@media(max-width:900px){
  html[data-theme="light"] body{background:#ecece8!important}
  html[data-theme="light"] #menu{background:#f3f3ef!important}
  html[data-theme="light"] .view{background:transparent!important}
  html[data-theme="light"] :is(.member-panel,.wallet-panel,.growth-card,.points-mission,.mp-workspace,.prediction-card,.sync-card,.winner-public-card,.faq-item,.profile-card,.profile-details-card){box-shadow:0 5px 14px rgba(0,0,0,.07)!important}
  html[data-theme="light"] .daily-wheel-shell{background:#f1f1ed!important;border:1px solid #111315!important}
  html[data-theme="light"] #juegos-nekon .bingo-dashboard-v50,
  html[data-theme="light"] #juegos-nekon .scratch8-shell::before{background:#e7e7e1!important;border:1px solid #111315!important}
}
@media(max-width:640px){
  html[data-theme="light"] body{background:#ecece8!important}
  html[data-theme="light"] body>header{background:#101214!important}
  html[data-theme="light"] .arena-bottom-nav{background:#f6f6f2!important}
  html[data-theme="light"] :is(input,select,textarea){background:#f9f9f6!important}
  html[data-theme="light"] .view :is(.member-panel,.growth-card,.points-mission,.mp-workspace,.prediction-card,.sync-card,.winner-public-card,.faq-item,.profile-card,.profile-details-card){border-color:#111315!important}
}

/* HIGH-SPECIFICITY OVERRIDES
   The VIP/tester theme historically forced a black experience with !important.
   In Claro, light mode always wins, regardless of membership tier. */
html.nekon-growth-tester-theme[data-theme="light"]{
  background:var(--l21-bg)!important;
  color:#111315!important;
  color-scheme:light!important;
}
html.nekon-growth-tester-theme[data-theme="light"] body,
html.nekon-growth-tester-theme[data-theme="light"] main,
html.nekon-growth-tester-theme[data-theme="light"] .view,
html.nekon-growth-tester-theme[data-theme="light"] .view.inner{
  background-color:var(--l21-bg)!important;
  color:#111315!important;
}
html.nekon-growth-tester-theme[data-theme="light"] body{
  background:
    radial-gradient(circle at 12% 8%,rgba(119,100,216,.045),transparent 27rem),
    radial-gradient(circle at 88% 12%,rgba(23,135,127,.035),transparent 28rem),
    linear-gradient(180deg,#f0f0ec 0%,#ecece8 48%,#e7e7e1 100%)!important;
}
html.nekon-growth-tester-theme[data-theme="light"] :is(#menu,.side-menu,.mobile-menu,.arena-bottom-nav,.bottom-nav){
  background:#f3f3ef!important;
  border-color:#111315!important;
  color:#111315!important;
  box-shadow:var(--l21-shadow-soft)!important;
}
html.nekon-growth-tester-theme[data-theme="light"] body>header{
  background:#101214!important;
  border-color:#2d3034!important;
  color:#f7f7f3!important;
}
html.nekon-growth-tester-theme[data-theme="light"] :is(.menu-link,.menu-group-toggle,.menu-submenu button,.arena-bottom-nav button,.bottom-nav button){
  color:#1b1e21!important;
  background-color:transparent!important;
}
html.nekon-growth-tester-theme[data-theme="light"] :is(.menu-link,.menu-group-toggle,.menu-submenu button):hover{
  color:#070809!important;
  background:#deded8!important;
}
html.nekon-growth-tester-theme[data-theme="light"] :is(
  .menu-link.is-active,.menu-group-toggle.is-active,.menu-submenu button.is-active,
  .arena-bottom-nav button.is-active,.bottom-nav button.is-active
){
  color:#f7f7f3!important;
  background:#111315!important;
  border-color:#111315!important;
  box-shadow:inset 3px 0 0 var(--l21-accent)!important;
  text-shadow:none!important;
}
html.nekon-growth-tester-theme[data-theme="light"] :is(
  .growth-hero,.growth-card,.vip-current,.vip-journey-card,.vip-plan,.vip-member-showcase,
  .vip-ranking-card,.member-panel,.wallet-panel,.ranking-panel,.profile-card,.premium-product-card,
  .premium-product-detail-shell,.premium-purchase-shell,.premium-status-shell,.premium-support-shell,
  .streaming-account-card,.shared-account-card,.notification-center-shell,.notification-accordion-item,
  .notification-inline-detail,.tester-service-shell,.points-store-host,.points-summary,.points-reward,
  .operator-card,.operator-package-card,.sportsbook-card,.recharge-operator-card,.recharge-sportsbook-card,
  .benefit-card,.methodology-card,.faq-item,.member-info-card,.member-data-item,.profile-stat,.profile-field,
  .wallet-balance-card,.wallet-request-card,.wallet-transaction-card,.growth-stat,.prediction-metric,
  .activity-item,.onboarding-item,.premium-sale-banner,.wallet-bank-info,.referral-share-card,
  .page-title,.member-page-title,.modern-empty,.empty
){
  background:#f7f7f3!important;
  color:#111315!important;
  border:1px solid #111315!important;
  box-shadow:var(--l21-shadow-soft)!important;
}
html.nekon-growth-tester-theme[data-theme="light"] :is(.growth-hero,.vip-current,.profile-card,.wallet-balance-card,.vip-member-showcase),
html.nekon-growth-tester-theme[data-theme="light"][data-tier="gold"] :is(.growth-hero,.vip-current,.profile-card,.wallet-balance-card),
html.nekon-growth-tester-theme[data-theme="light"].vip-theme--gold :is(.growth-hero,.vip-current,.profile-card,.wallet-balance-card){
  background:linear-gradient(135deg,#f7f7f3,#e3e3dd)!important;
  color:#111315!important;
  border:1px solid #111315!important;
  box-shadow:var(--l21-shadow)!important;
}
html.nekon-growth-tester-theme[data-theme="light"] :is(
  .growth-stat,.prediction-metric,.vip-current__meta>div,.vip-journey-stats>div,
  .member-data-item,.profile-stat,.wallet-metric,.points-summary__metric,.activity-item,.onboarding-item
){
  background:#e7e7e1!important;
  color:#111315!important;
  border:1px solid #111315!important;
  box-shadow:none!important;
}
html.nekon-growth-tester-theme[data-theme="light"] :is(
  h1,h2,h3,h4,h5,h6,.growth-hero h2,.growth-card h3,.member-panel h2,.member-panel h3,
  .loyalty-main strong,.growth-level-name,.dashboard-greeting,.member-name,.vip-current__head strong,
  .growth-vip-chip strong,.vip-plan h3,.vip-section-head h2,.premium-product-detail-title,
  .premium-purchase-topbar h2,.activity-item strong,.onboarding-item strong,.membership-name,.vip-name
){color:#111315!important;text-shadow:none!important}
html.nekon-growth-tester-theme[data-theme="light"] :is(p,small,label,.growth-kicker,.growth-card__head small,.growth-stat small,.vip-current__meta small){color:#61656a!important;text-shadow:none!important}

/* Home v2731 had a stronger old Claro rule that forced its controls black. */
html[data-theme="light"].nekon-next body .nekon-home-premium-v2731 .v266-showcase__controls{
  background:#deded8!important;
  border-top-color:#111315!important;
  color:#111315!important;
}
html[data-theme="light"].nekon-next body .nekon-home-premium-v2731 .v266-showcase__nav-button{
  background:#111315!important;
  border-color:#111315!important;
  color:#f7f7f3!important;
}

/* Support old V28.00 rules also used stronger selectors. */
html[data-theme="light"] body .premium-support-dialog{
  background:#e7e7e1!important;
  color:#111315!important;
  border-color:#111315!important;
}
html[data-theme="light"] body .premium-support-attach{
  background:#111315!important;
  color:#f3d486!important;
  border-color:#111315!important;
}
html[data-theme="light"] body .premium-support-attachment-preview{
  background:#f7f7f3!important;
  border-color:#111315!important;
  color:#111315!important;
}

/* Loading/splash also respects Claro. */
html[data-theme="light"] .site-splash,
html[data-theme="light"][data-tester-splash-theme] .site-splash{
  background:#ecece8!important;
  color:#111315!important;
}
html[data-theme="light"] .site-splash :is(h1,h2,h3,strong,b,p,small,span){color:#111315!important;text-shadow:none!important}
html[data-theme="light"] .site-splash__emblem{background:#f7f7f3!important;border-color:#111315!important;box-shadow:0 12px 34px rgba(0,0,0,.12)!important}
html[data-theme="light"] .site-splash__particles{opacity:.22!important}
