﻿/**
 * Global light/dark theme compatibility layer.
 * Remaps dark-only component palettes + common Tailwind hex utilities.
 */
html[data-theme="light"] {
    color-scheme: light;
}
html[data-theme="dark"] {
    color-scheme: dark;
}

/* ?? Page shells & body ?? */
html[data-theme="light"] .yon-content,
html[data-theme="light"] .yon-page-shell,
html[data-theme="light"] .yon-account-main {
    color: var(--yon-text, #0f172a);
}
html[data-theme="light"] .min-h-screen.bg-\[\#0c1018\],
html[data-theme="light"] .min-h-screen.bg-\[\#0a0d14\],
html[data-theme="light"] .min-h-screen.bg-\[\#0b0e14\],
html[data-theme="light"] .min-h-screen.bg-\[\var(--h-bg-page)\],
html[data-theme="light"] .yon-content .bg-\[\#0c1018\].min-h-screen,
html[data-theme="light"] .yon-content .bg-\[\#0a0d14\].min-h-screen {
    background-color: var(--yon-bg, #eef1f6) !important;
}

/* Extra hex surfaces not covered by yon.css bridge */
html[data-theme="light"] .yon-content [class*="bg-[#0c1525]"],
html[data-theme="light"] .yon-content [class*="bg-[#151b24]"],
html[data-theme="light"] .yon-content [class*="bg-[#18202c]"],
html[data-theme="light"] .yon-content [class*="bg-[#0f141c]"],
html[data-theme="light"] .yon-content [class*="bg-[#1a1d24]"],
html[data-theme="light"] .yon-content [class*="bg-[#1a2030]"],
html[data-theme="light"] .yon-content [class*="bg-[#151a24]"],
html[data-theme="light"] .yon-content [class*="bg-[var(--h-bg-raised)]"],
html[data-theme="light"] .yon-content [class*="bg-[#0f172a]"],
html[data-theme="light"] .yon-content [class*="bg-[#1e293b]"],
html[data-theme="light"] .yon-page-shell [class*="bg-[#0c1525]"],
html[data-theme="light"] .yon-page-shell [class*="bg-[#151b24]"],
html[data-theme="light"] .yon-page-shell [class*="bg-[#0a0d14]"],
html[data-theme="light"] .yon-page-shell [class*="bg-[#0c1018]"],
html[data-theme="light"] .yon-page-shell [class*="bg-[#121820]"] {
    background-color: var(--card, #fff) !important;
}

html[data-theme="light"] .yon-content .bg-slate-800,
html[data-theme="light"] .yon-content .bg-slate-900,
html[data-theme="light"] .yon-page-shell .bg-slate-800,
html[data-theme="light"] .yon-page-shell .bg-slate-900 {
    background-color: var(--yon-surface-2, #f1f5f9) !important;
    color: var(--yon-text) !important;
}
html[data-theme="light"] .yon-content .bg-slate-700,
html[data-theme="light"] .yon-page-shell .bg-slate-700 {
    background-color: #cbd5e1 !important;
    color: #0f172a !important;
}
html[data-theme="light"] .yon-content .text-slate-100,
html[data-theme="light"] .yon-page-shell .text-slate-100 {
    color: var(--yon-text) !important;
}
html[data-theme="light"] .yon-content input.text-white,
html[data-theme="light"] .yon-content textarea.text-white,
html[data-theme="light"] .yon-content select.text-white,
html[data-theme="light"] .yon-page-shell input.text-white,
html[data-theme="light"] .yon-page-shell textarea.text-white,
html[data-theme="light"] .yon-page-shell select.text-white {
    color: var(--yon-text) !important;
}
html[data-theme="light"] .yon-content input[class*="bg-[#"],
html[data-theme="light"] .yon-content textarea[class*="bg-[#"],
html[data-theme="light"] .yon-content select[class*="bg-[#"],
html[data-theme="light"] .yon-page-shell input[class*="bg-[#"],
html[data-theme="light"] .yon-page-shell textarea[class*="bg-[#"],
html[data-theme="light"] .yon-page-shell select[class*="bg-[#"] {
    background-color: #f8fafc !important;
    color: var(--yon-text) !important;
    border-color: var(--yon-border) !important;
}

/* Account shell titles */
html[data-theme="light"] .yon-page-shell .text-white:not([class*="bg-"]):not(button):not(a.rounded-lg):not(a.rounded-xl):not(a.rounded-2xl):not(.ylm-btn):not(.ysupport-btn):not(.ysc-btn) {
    color: var(--yon-text) !important;
}

/* ?????????? Support center (.ysc) ?????????? */
html[data-theme="light"] .ysc {
    --ysc-bg: #eef1f6;
    --ysc-panel: #ffffff;
    --ysc-border: rgba(15, 23, 42, 0.1);
    --ysc-muted: #64748b;
    --ysc-blue: #2563eb;
    color: #0f172a;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.08), transparent),
        var(--ysc-bg);
}
html[data-theme="light"] .ysc-hero__title,
html[data-theme="light"] .ysc-create-title,
html[data-theme="light"] .ysc-subject,
html[data-theme="light"] .ysc-cat-card,
html[data-theme="light"] .ysc-cat-card strong,
html[data-theme="light"] .ysc-sub-nav strong,
html[data-theme="light"] .ysc-sub-panel__head h2,
html[data-theme="light"] .ysc-form__head strong,
html[data-theme="light"] .ysc-sub-row,
html[data-theme="light"] .ysc-field input,
html[data-theme="light"] .ysc-field textarea,
html[data-theme="light"] .ysc-order-row select {
    color: #0f172a;
}
html[data-theme="light"] .ysc-btn--outline {
    border-color: rgba(15, 23, 42, 0.15);
    color: #334155;
    background: #fff;
}
html[data-theme="light"] .ysc-panel,
html[data-theme="light"] .ysc-cat-card,
html[data-theme="light"] .ysc-sub-panel,
html[data-theme="light"] .ysc-form,
html[data-theme="light"] .ysc-promo__item {
    background: #fff;
    border-color: var(--ysc-border);
}
html[data-theme="light"] .ysc-cat-card:hover {
    background: #f8fafc;
    border-color: rgba(37, 99, 235, 0.35);
}
html[data-theme="light"] .ysc-table th {
    color: #64748b;
    border-color: var(--ysc-border);
}
html[data-theme="light"] .ysc-table td {
    border-color: rgba(15, 23, 42, 0.06);
}
html[data-theme="light"] .ysc-empty { color: #64748b; }
html[data-theme="light"] .ysc-empty a { color: #4f46e5; }
html[data-theme="light"] .ysc-field input,
html[data-theme="light"] .ysc-field textarea,
html[data-theme="light"] .ysc-order-row select {
    background: #f8fafc;
    border-color: var(--ysc-border);
}
html[data-theme="light"] .ysc-drop {
    border-color: rgba(15, 23, 42, 0.18);
    background: #f8fafc;
    color: #64748b;
}
html[data-theme="light"] .ysc-drop strong { color: #0f172a; }
html[data-theme="light"] .ysc-sub-row {
    background: #f8fafc;
    border-color: var(--ysc-border);
}
html[data-theme="light"] .ysc-sub-row:hover {
    background: rgba(37, 99, 235, 0.06);
}
html[data-theme="light"] .ysc-step {
    background: #e2e8f0;
    color: #64748b;
}
html[data-theme="light"] .ysc-back { color: #64748b; }
html[data-theme="light"] .ysc-back:hover { color: #0f172a; }

/* ?????????? Account support (.ysupport) ?????????? */
html[data-theme="light"] .ysupport {
    --ys-border: rgba(15, 23, 42, 0.1);
    --ys-bg: #ffffff;
    --ys-muted: #64748b;
}
html[data-theme="light"] .ysupport-title,
html[data-theme="light"] .ysupport-panel__title,
html[data-theme="light"] .ysupport-ticket__subject,
html[data-theme="light"] .ysupport-field label {
    color: #0f172a;
}
html[data-theme="light"] .ysupport-panel,
html[data-theme="light"] .ysupport-tab,
html[data-theme="light"] .ysupport-ticket {
    background: #fff;
    border-color: var(--ys-border);
}
html[data-theme="light"] .ysupport-tab.is-active {
    background: rgba(124, 58, 237, 0.08);
    color: #0f172a;
}
html[data-theme="light"] .ysupport-form input,
html[data-theme="light"] .ysupport-form select,
html[data-theme="light"] .ysupport-form textarea {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: var(--ys-border) !important;
}
html[data-theme="light"] .ysupport-btn--ghost {
    color: #334155;
    border-color: var(--ys-border);
}

/* ?????????? Wallet hub ?????????? */
html[data-theme="light"] .yon-wh__notice {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.25);
    color: #0369a1;
}
html[data-theme="light"] .yon-wh__item {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .yon-wh__item:hover {
    background: #f8fafc;
    border-color: rgba(14, 165, 233, 0.35);
}
html[data-theme="light"] .yon-wh__icon {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.1);
    color: #0f172a;
}
html[data-theme="light"] .yon-wh__body strong { color: #0f172a; }
html[data-theme="light"] .yon-wh__body small { color: #64748b; }
html[data-theme="light"] .yon-wh__cash {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.15);
}
html[data-theme="light"] .yon-wh__cash h2 { color: #0f172a; }
html[data-theme="light"] .yon-wh__cash p { color: #64748b; }
html[data-theme="light"] .yon-wh__btn--ghost {
    border-color: rgba(15, 23, 42, 0.15);
    color: #0f172a;
}

/* ?????????? Listing manager ?????????? */
html[data-theme="light"] .ylm-hub {
    --ylm-border: rgba(15, 23, 42, 0.1);
    --ylm-bg: #ffffff;
    --ylm-muted: #64748b;
}
html[data-theme="light"] .ylm-title,
html[data-theme="light"] .ylm-card__title,
html[data-theme="light"] .ylm-filters input,
html[data-theme="light"] .ylm-filters select {
    color: #0f172a;
}
html[data-theme="light"] .ylm-filters,
html[data-theme="light"] .ylm-tabs,
html[data-theme="light"] .ylm-card,
html[data-theme="light"] .ylm-empty,
html[data-theme="light"] .ylm-order-item {
    background: #fff !important;
    border-color: var(--ylm-border) !important;
}
html[data-theme="light"] .ylm-filters input,
html[data-theme="light"] .ylm-filters select {
    background: #f8fafc !important;
    border-color: var(--ylm-border) !important;
}
html[data-theme="light"] .ylm-tab {
    background: #f1f5f9;
    color: #475569;
}
html[data-theme="light"] .ylm-tab.is-active {
    color: #fff;
}
html[data-theme="light"] .ylm-btn--ghost,
html[data-theme="light"] .ylm-btn--white {
    background: #fff;
    color: #0f172a;
    border-color: var(--ylm-border);
}

/* ?????????? Giveaways ?????????? */
html[data-theme="light"] .yon-gw-page {
    background: #eef1f6;
    color: #0f172a;
}
html[data-theme="light"] .yon-gw-back { color: #64748b; }
html[data-theme="light"] .yon-gw-creator-bar,
html[data-theme="light"] .yon-gw-card,
html[data-theme="light"] .yon-gw-filter,
html[data-theme="light"] .yon-gw-empty {
    background: #fff !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    color: #0f172a;
}
html[data-theme="light"] .yon-gw-card__title,
html[data-theme="light"] .yon-gw-creator-bar strong,
html[data-theme="light"] .yon-gw-section-title {
    color: #0f172a !important;
}
html[data-theme="light"] .yon-gw-card__meta,
html[data-theme="light"] .yon-gw-card__desc {
    color: #64748b !important;
}

html[data-theme="light"] .yon-gc h1,
html[data-theme="light"] .yon-gc__card header,
html[data-theme="light"] .yon-gc__tabs a.is-active {
    color: #fff;
}
html[data-theme="light"] .yon-gc h1 { color: #0f172a !important; }
html[data-theme="light"] .yon-gc__card header { color: #0f172a !important; }
html[data-theme="light"] .yon-gc__crumb a:hover { color: #0f172a; }
html[data-theme="light"] .yon-gc__tabs a {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.1);
    color: #64748b;
}
html[data-theme="light"] .yon-gc__tabs a.is-active {
    background: var(--h-blue-dark);
    border-color: var(--h-blue-dark);
    color: #fff !important;
}
html[data-theme="light"] .yon-gc__card {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .yon-gc label { color: #475569; }
html[data-theme="light"] .yon-gc input[type=text],
html[data-theme="light"] .yon-gc input[type=number],
html[data-theme="light"] .yon-gc input[type=datetime-local],
html[data-theme="light"] .yon-gc input[type=file],
html[data-theme="light"] .yon-gc textarea {
    background: #f8fafc;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
}

/* ?????????? PVP servers ?????????? */
html[data-theme="light"] .yon-pvp {
    --yon-pvp-card: #ffffff;
    --yon-pvp-border: rgba(15, 23, 42, 0.1);
    background: #eef1f6;
}
html[data-theme="light"] .yon-pvp__hero h1,
html[data-theme="light"] .yon-pvp__card-title,
html[data-theme="light"] .yon-pvp__name {
    color: #0f172a !important;
}
html[data-theme="light"] .yon-pvp__hero p,
html[data-theme="light"] .yon-pvp__meta {
    color: #64748b !important;
}
html[data-theme="light"] .yon-pvp__card,
html[data-theme="light"] .yon-pvp__panel,
html[data-theme="light"] .yon-pvp__form-card {
    background: #fff !important;
    border-color: var(--yon-pvp-border) !important;
}
html[data-theme="light"] .yon-pvp input,
html[data-theme="light"] .yon-pvp textarea,
html[data-theme="light"] .yon-pvp select {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: var(--yon-pvp-border) !important;
}

/* ?????????? Marketplace / listing leftovers ?????????? */
html[data-theme="light"] .yon-content .bg-\[\#0c1525\] {
    background-color: #f8fafc !important;
}
html[data-theme="light"] .yon-mp-card,
html[data-theme="light"] .yon-listing-card {
    background: var(--card, #fff);
    border-color: var(--border);
}

/* ?????????? Home leftovers ?????????? */
html[data-theme="light"] .yon-home,
html[data-theme="light"] .yon-home-page {
    background: var(--ys-page-bg, #eef1f6);
}
html[data-theme="light"] .yon-section__head h2,
html[data-theme="light"] .yon-slider__title {
    color: var(--ys-text, #0f172a);
}

/* ?????????? Streamer show: was locked to light bg ? fix dark ?????????? */
html[data-theme="dark"] .streamer-show-page,
html[data-theme="dark"] .min-h-screen.bg-\[\#eef1f5\] {
    background-color: #0b0e14 !important;
}
html[data-theme="light"] .streamer-show-page {
    background-color: #eef1f5;
}

/* ?????????? Cart / checkout panels ?????????? */
html[data-theme="light"] .yon-content [class*="bg-[#1c1a18]"],
html[data-theme="light"] .yon-content [class*="bg-[#242220]"] {
    background-color: #fff !important;
}

/* ?????????? Mobile nav / overlays ?????????? */
html[data-theme="light"] .yon-mobile-nav,
html[data-theme="light"] .yon-bottom-nav {
    background: #fff !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    color: #0f172a;
}

/* ?????????? Generic headings inside account ?????????? */
html[data-theme="light"] .yon-page-shell h1,
html[data-theme="light"] .yon-page-shell h2,
html[data-theme="light"] .yon-page-shell h3 {
    color: var(--yon-text, #0f172a);
}

/* Keep button text white on colored buttons */
html[data-theme="light"] .yon-content a.bg-sky-600,
html[data-theme="light"] .yon-content a.bg-sky-700,
html[data-theme="light"] .yon-content a.bg-indigo-600,
html[data-theme="light"] .yon-content a.bg-blue-600,
html[data-theme="light"] .yon-content a.bg-emerald-600,
html[data-theme="light"] .yon-content a.bg-epin-orange,
html[data-theme="light"] .yon-content button.bg-sky-600,
html[data-theme="light"] .yon-content button.bg-indigo-600,
html[data-theme="light"] .yon-content button.bg-blue-600,
html[data-theme="light"] .yon-content button.bg-epin-orange,
html[data-theme="light"] .yon-page-shell a.bg-sky-600,
html[data-theme="light"] .yon-page-shell button.bg-sky-600,
html[data-theme="light"] .yon-page-shell a.bg-indigo-600,
html[data-theme="light"] .yon-page-shell button.bg-indigo-600,
html[data-theme="light"] .yon-page-shell a.bg-epin-orange,
html[data-theme="light"] .yon-page-shell button.bg-epin-orange {
    color: #fff !important;
}

/* ===========================================================================
   Shell modules ? light mode token remap (v2)
   cm / yst / gm / gw / yon-gc / corporate / addons / wallet / streamers
   =========================================================================== */

/* Shared shell light tokens */
html[data-theme="light"] .cm-shell,
html[data-theme="light"] .yst-shell,
html[data-theme="light"] .gm-shell,
html[data-theme="light"] .gw-shell,
html[data-theme="light"] .yon-gc,
html[data-theme="light"] .ypa-shell,
html[data-theme="light"] .yss-shell,
html[data-theme="light"] .ypa,
html[data-theme="light"] .corp-shell,
html[data-theme="light"] .mp-shell {
    --cm-bg:#eef1f6;--cm-card:#ffffff;--cm-raised:#f8fafc;
    --cm-text:#0f172a;--cm-muted:#64748b;--cm-border:rgba(15,23,42,.1);
    --yst-bg:#eef1f6;--yst-card:#ffffff;--yst-raised:#f8fafc;
    --yst-text:#0f172a;--yst-muted:#64748b;--yst-border:rgba(15,23,42,.1);
    --gm-bg:#eef1f6;--gm-card:#ffffff;--gm-raised:#f8fafc;
    --gm-text:#0f172a;--gm-muted:#64748b;--gm-border:rgba(15,23,42,.1);
    --background:#eef1f6;--card:#ffffff;--muted:#f1f5f9;
    --foreground:#0f172a;--muted-foreground:#64748b;
    --border:rgba(15,23,42,.1);
    color:#0f172a;
    background:#eef1f6;
}

/* Community */
html[data-theme="light"] .cm-shell{background:#eef1f6;color:#0f172a}
html[data-theme="light"] .cm-hero-bleed{
    background:
        radial-gradient(ellipse 65% 50% at 8% -10%, rgba(61,90,254,.12), transparent 55%),
        radial-gradient(ellipse 50% 40% at 92% 5%, rgba(17,211,119,.08), transparent 50%),
        linear-gradient(180deg,#f8fafc 0%, #eef1f6 100%);
    border-bottom-color:rgba(15,23,42,.08);
}
html[data-theme="light"] .cm-hero h1,
html[data-theme="light"] .cm-card__title,
html[data-theme="light"] .cm-section__title,
html[data-theme="light"] .cm-topic__title,
html[data-theme="light"] .cm-composer strong{color:#0f172a}
html[data-theme="light"] .cm-card,
html[data-theme="light"] .cm-panel,
html[data-theme="light"] .cm-composer,
html[data-theme="light"] .cm-topic,
html[data-theme="light"] .cm-side-card{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;color:#0f172a;
}
html[data-theme="light"] .cm-btn--ghost,
html[data-theme="light"] .cm-tab{
    background:#fff;border-color:rgba(15,23,42,.12);color:#334155;
}
html[data-theme="light"] .cm-tab.is-on{background:rgba(61,90,254,.12);color:#6b21a8;border-color:rgba(61,90,254,.3)}
html[data-theme="light"] .cm-input,
html[data-theme="light"] .cm-composer textarea,
html[data-theme="light"] .cm-shell input,
html[data-theme="light"] .cm-shell textarea,
html[data-theme="light"] .cm-shell select{
    background:#f8fafc!important;color:#0f172a!important;border-color:rgba(15,23,42,.12)!important;
}

/* Stores */
html[data-theme="light"] .yst-shell{background:#eef1f6;color:#0f172a}
html[data-theme="light"] .yst-hero-bleed{
    background:
        radial-gradient(ellipse 70% 55% at 12% -10%, rgba(61,90,254,.1), transparent 55%),
        radial-gradient(ellipse 55% 45% at 90% 0%, rgba(17,211,119,.08), transparent 50%),
        linear-gradient(180deg,#f8fafc 0%, #eef1f6 100%);
}
html[data-theme="light"] .yst-hero h1,
html[data-theme="light"] .yst-card__name,
html[data-theme="light"] .yst-section__title{color:#0f172a}
html[data-theme="light"] .yst-card,
html[data-theme="light"] .yst-panel,
html[data-theme="light"] .yst-filter,
html[data-theme="light"] .yst-stat{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;
}
html[data-theme="light"] .yst-search input{
    background:#fff!important;color:#0f172a!important;border-color:rgba(15,23,42,.12)!important;
}

/* Game money */
html[data-theme="light"] .gm-shell{
    background:
        radial-gradient(ellipse 70% 45% at 8% -5%,rgba(61,90,254,.08),transparent 55%),
        radial-gradient(ellipse 55% 40% at 95% 10%,rgba(17,211,119,.06),transparent 50%),
        #eef1f6;
    color:#0f172a;
}
html[data-theme="light"] .gm-hero__brand{-webkit-text-fill-color:unset;background:none;color:#0f172a}
html[data-theme="light"] .gm-hero__title,
html[data-theme="light"] .gm-section__head h2,
html[data-theme="light"] .gm-card__title{color:#0f172a}
html[data-theme="light"] .gm-card,
html[data-theme="light"] .gm-panel,
html[data-theme="light"] .gm-tile{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;color:#0f172a;
}
html[data-theme="light"] .gm-search{
    background:#fff;border-color:rgba(61,90,254,.25);box-shadow:0 0 0 3px rgba(61,90,254,.06);
}
html[data-theme="light"] .gm-search input{color:#0f172a}
html[data-theme="light"] .gm-section--soft{
    background:linear-gradient(180deg,rgba(255,255,255,.7),transparent);
    border-color:rgba(15,23,42,.08);
}

/* Giveaways hub */
html[data-theme="light"] .gw-shell{
    --background:#eef1f6;--card:#ffffff;--muted:#f1f5f9;
    --foreground:#0f172a;--muted-foreground:#64748b;--border:rgba(15,23,42,.1);
    background:#eef1f6;color:#0f172a;
}
html[data-theme="light"] .gw-hero__glow{opacity:.55}
html[data-theme="light"] .gw-hero__grid{opacity:.2}
html[data-theme="light"] .gw-hero__title,
html[data-theme="light"] .gw-card__text h3,
html[data-theme="light"] .gw-steps__title,
html[data-theme="light"] .gw-faq h2,
html[data-theme="light"] .gw-section-head h2{color:#0f172a}
html[data-theme="light"] .gw-hero__mark{
    background:linear-gradient(135deg,#0f172a 20%,var(--h-blue-dark));
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
html[data-theme="light"] .gw-hero__stats li,
html[data-theme="light"] .gw-toolbar,
html[data-theme="light"] .gw-card,
html[data-theme="light"] .gw-steps__list li,
html[data-theme="light"] .gw-faq__item,
html[data-theme="light"] .gw-empty{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;color:#0f172a;
}
html[data-theme="light"] .gw-tab{color:#64748b}
html[data-theme="light"] .gw-tab:hover{background:#f1f5f9;color:#0f172a}
html[data-theme="light"] .gw-tab.is-on{color:#fff}
html[data-theme="light"] .gw-search{background:#f8fafc;border-color:rgba(15,23,42,.12)}
html[data-theme="light"] .gw-search input{color:#0f172a}
html[data-theme="light"] .gw-search button{color:#6b21a8;border-left-color:rgba(15,23,42,.1)}
html[data-theme="light"] .gw-card__cover{background:linear-gradient(145deg,#e2e8f0,#f8fafc)}
html[data-theme="light"] .gw-card__timer{
    background:rgba(255,255,255,.92);border-color:rgba(15,23,42,.12);color:#0f172a;
}
html[data-theme="light"] .gw-card__timer b{color:#15803d}
html[data-theme="light"] .gw-card__name{color:#334155}
html[data-theme="light"] .gw-btn--ghost{background:#fff;border-color:rgba(15,23,42,.12);color:#0f172a}
html[data-theme="light"] .gw-btn--muted{background:#e2e8f0;color:#64748b}
html[data-theme="light"] .gw-steps,
html[data-theme="light"] .gw-faq{
    background:linear-gradient(180deg,#f8fafc,#eef1f6);border-color:rgba(15,23,42,.08);
}
html[data-theme="light"] .yon-gw-page,
html[data-theme="light"] .yon-gw-card,
html[data-theme="light"] .yon-gw-creator-bar{
    background:#fff!important;color:#0f172a;border-color:rgba(15,23,42,.1)!important;
}
html[data-theme="light"] .yon-gw-card__title,
html[data-theme="light"] .yon-gw-creator strong,
html[data-theme="light"] .yon-gw-list-head h2{color:#0f172a}
html[data-theme="light"] .yon-gw-timer{background:#f8fafc;border-color:rgba(15,23,42,.1)}
html[data-theme="light"] .yon-gw-timer strong{color:#0f172a}

/* Giveaway create */
html[data-theme="light"] .yon-gc{background:#eef1f6;color:#0f172a}
html[data-theme="light"] .yon-gc__card,
html[data-theme="light"] .yon-gc__head{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;color:#0f172a;
}
html[data-theme="light"] .yon-gc input,
html[data-theme="light"] .yon-gc textarea,
html[data-theme="light"] .yon-gc select{
    background:#f8fafc!important;color:#0f172a!important;border-color:rgba(15,23,42,.12)!important;
}

/* Corporate / profile addons / seller sub */
html[data-theme="light"] .corp-shell,
html[data-theme="light"] .ypa-shell,
html[data-theme="light"] .yss-page{
    background:#eef1f6!important;color:#0f172a;
}
html[data-theme="light"] .corp-card,
html[data-theme="light"] .ypa-card,
html[data-theme="light"] .yss-card{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;color:#0f172a;
}

/* Price alerts / streamers / listing create leftovers */
html[data-theme="light"] .ypa-page,
html[data-theme="light"] .ylc-page,
html[data-theme="light"] .streamer-grid,
html[data-theme="light"] .yon-streamers{
    color:#0f172a;
}
html[data-theme="light"] .ypa-card,
html[data-theme="light"] .ylc-card{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;
}

/* Homepage giveaway strip */
html[data-theme="light"] .yon-h-gw-card{
    background:#fff;border-color:rgba(15,23,42,.1);color:#0f172a;
}
html[data-theme="light"] .yon-h-gw-card span{color:#64748b}
html[data-theme="light"] .yon-h-gw-card em{color:#15803d}

/* Search panel denser light polish */
html[data-theme="light"] .ysp-wrap .ysp-modes{background:#f1f5f9;border-color:rgba(15,23,42,.1)}
html[data-theme="light"] .ysp-wrap .ysp-mode{color:#64748b}
html[data-theme="light"] .ysp-wrap .ysp-mode:hover{background:#fff;color:#0f172a}
html[data-theme="light"] .ysp-wrap .ysp-mode.is-on{color:#fff}
html[data-theme="light"] .ysp-wrap .ysp-sc,
html[data-theme="light"] .ysp-wrap .ysp-quick a:not(.is-primary){
    background:#fff;border-color:rgba(15,23,42,.1);color:#334155;
}
html[data-theme="light"] .ysp-wrap .ysp-trust span{
    color:#166534;border-color:rgba(17,211,119,.25);background:rgba(17,211,119,.08);
}
html[data-theme="light"] .ysp-wrap .yon-search-section__title{color:#64748b}

/* Chat light extras */
html[data-theme="light"] .ychat-shell .ychat-item,
html[data-theme="light"] .ychat-shell .ychat-panel{
    background:#fff;border-color:rgba(15,23,42,.1);color:#0f172a;
}

/* Footer / header soft fixes */
html[data-theme="light"] .yon-footer,
html[data-theme="light"] .ysf{
    color:#334155;
}

/* Text on dark CTA stays readable */
html[data-theme="light"] .gw-btn--green,
html[data-theme="light"] .cm-btn--primary,
html[data-theme="light"] .yst-btn--primary{color:#04120a!important}
html[data-theme="light"] .gw-btn--purple,
html[data-theme="light"] .cm-btn--purple{color:#fff!important}

/* ===========================================================================
   Remaining modules ? wallet / orders / cart / listing mgr / corporate / support
   =========================================================================== */

/* Wallet hub */
html[data-theme="light"] .yon-wh__notice{
    background:rgba(14,165,233,.08);border-color:rgba(14,165,233,.22);color:#0369a1;
}
html[data-theme="light"] .yon-wh__item{
    background:#fff;border-color:rgba(15,23,42,.1);color:#0f172a;
}
html[data-theme="light"] .yon-wh__item:hover{background:#f8fafc;border-color:rgba(14,165,233,.35)}
html[data-theme="light"] .yon-wh__icon{
    background:#f1f5f9;border-color:rgba(15,23,42,.1);color:#334155;
}
html[data-theme="light"] .yon-wh__body strong{color:#0f172a}
html[data-theme="light"] .yon-wh__body small{color:#64748b}
html[data-theme="light"] .yon-wh__cash{
    background:#f8fafc;border-color:rgba(15,23,42,.12);
}
html[data-theme="light"] .yon-wh__cash h2{color:#0f172a}
html[data-theme="light"] .yon-wh__btn--ghost{
    border-color:rgba(15,23,42,.14);color:#0f172a;
}

/* Orders list */
html[data-theme="light"] .yon-orders-list__month{color:#64748b}
html[data-theme="light"] .yon-orders-card{
    background:#fff;border-color:rgba(15,23,42,.1);color:#0f172a;
}
html[data-theme="light"] .yon-orders-card__thumb{background:#f1f5f9;color:#64748b}
html[data-theme="light"] .yon-orders-card__no{color:#475569}
html[data-theme="light"] .yon-orders-card__no strong{color:#0f172a}
html[data-theme="light"] .yon-orders-card__body,
html[data-theme="light"] .yon-orders-card__panel{
    background:#f8fafc;border-color:rgba(15,23,42,.08);
}
html[data-theme="light"] .yon-orders-card__title,
html[data-theme="light"] .yon-orders-card strong{color:#0f172a}

/* Cart modal */
html[data-theme="light"] .yon-cart-modal,
html[data-theme="light"] .ycm,
html[data-theme="light"] .yon-cart-drawer{
    background:#fff!important;color:#0f172a;border-color:rgba(15,23,42,.1)!important;
}
html[data-theme="light"] .yon-cart-modal__item,
html[data-theme="light"] .ycm-item{
    background:#f8fafc;border-color:rgba(15,23,42,.08);
}

/* Listing manager */
html[data-theme="light"] .ylm,
html[data-theme="light"] .yon-lm{
    color:#0f172a;
}
html[data-theme="light"] .ylm-card,
html[data-theme="light"] .yon-lm__card,
html[data-theme="light"] .yon-lm-card{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;color:#0f172a;
}

/* Corporate apply ? token remap */
html[data-theme="light"] .yca-shell{
    --yca-bg:#eef1f6;--yca-surface:#ffffff;--yca-raised:#f8fafc;
    --yca-border:rgba(15,23,42,.1);--yca-text:#0f172a;--yca-muted:#64748b;
    background:
        radial-gradient(ellipse 60% 42% at 8% 0%, rgba(17,211,119,.1), transparent 55%),
        radial-gradient(ellipse 48% 36% at 92% 8%, rgba(61,90,254,.08), transparent 50%),
        #eef1f6;
    color:#0f172a;
}
html[data-theme="light"] .yca-trust span{
    color:#166534;border-color:rgba(17,211,119,.28);background:rgba(17,211,119,.1);
}
html[data-theme="light"] .yca-alert--ok{color:#166534}
html[data-theme="light"] .yca-alert--err{color:#b91c1c}
html[data-theme="light"] .yca-shell input,
html[data-theme="light"] .yca-shell textarea,
html[data-theme="light"] .yca-shell select{
    background:#f8fafc!important;color:#0f172a!important;border-color:rgba(15,23,42,.12)!important;
}

/* Seller subscription */
html[data-theme="light"] .yss-shell,
html[data-theme="light"] .yss-page{
    --yss-bg:#eef1f6;--yss-card:#fff;--yss-text:#0f172a;--yss-muted:#64748b;
    background:#eef1f6!important;color:#0f172a;
}
html[data-theme="light"] .yss-card,
html[data-theme="light"] .yss-plan{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;color:#0f172a;
}

/* Giveaway create hard-coded fields */
html[data-theme="light"] .yon-gc input,
html[data-theme="light"] .yon-gc textarea,
html[data-theme="light"] .yon-gc select,
html[data-theme="light"] .yon-gc__field input,
html[data-theme="light"] .yon-gc__field textarea,
html[data-theme="light"] .yon-gc__preview{
    background:#f8fafc!important;color:#0f172a!important;border-color:rgba(15,23,42,.12)!important;
}

/* Support center leftovers */
html[data-theme="light"] .ysupport-center,
html[data-theme="light"] .ysc-shell{
    background:#eef1f6;color:#0f172a;
}
html[data-theme="light"] .ysc-card,
html[data-theme="light"] .ysc-panel,
html[data-theme="light"] .ysupport-card{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;color:#0f172a;
}
html[data-theme="light"] .ysc-msg--staff,
html[data-theme="light"] .ysc-bubble--staff{
    background:#f1f5f9;color:#0f172a;
}

/* Streamers ? soften page + remapped brand accents (no legacy orange CTA) */
html[data-theme="light"] .yon-st{
    --st-orange:var(--h-green);--st-purple:var(--h-blue);--st-green:var(--h-green-dark);
}
html[data-theme="light"] .yon-st-hero{
    background:linear-gradient(180deg,#1e1b4b 0%,#312e81 45%,#eef1f6 100%);
}
html[data-theme="light"] .yon-st-btn--orange{background:var(--h-green);color:#04120a}
html[data-theme="light"] .yon-st-section,
html[data-theme="light"] .yon-st-card{
    background:var(--st-card);color:var(--st-ink);border-color:var(--st-line);
}

/* Seller profile extras / listing create shell */
html[data-theme="light"] .ylc-shell,
html[data-theme="light"] .ylc-page{
    --background:#eef1f6;--card:#ffffff;--foreground:#0f172a;
    --muted-foreground:#64748b;--border:rgba(15,23,42,.1);
    background:#eef1f6;color:#0f172a;
}
html[data-theme="light"] .sp-extra-card,
html[data-theme="light"] .spe-card{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;color:#0f172a;
}

/* Catalog / marketplace soft surfaces */
html[data-theme="light"] .yon-cat-shell,
html[data-theme="light"] .mp-shell,
html[data-theme="light"] .yon-mp{
    --background:#eef1f6;--card:#ffffff;--foreground:#0f172a;
    color:#0f172a;
}
html[data-theme="light"] .yon-cat-card,
html[data-theme="light"] .mp-card{
    background:#fff!important;border-color:rgba(15,23,42,.1)!important;
}

/* Auth / gate pages if dark-hardcoded */
html[data-theme="light"] .yon-auth,
html[data-theme="light"] .yon-gate{
    background:#eef1f6;color:#0f172a;
}
html[data-theme="light"] .yon-auth__card,
html[data-theme="light"] .yon-gate__card{
    background:#fff;border-color:rgba(15,23,42,.1);color:#0f172a;
}

/* Generic dark surface catch-all inside content (last resort, low specificity boost) */
html[data-theme="light"] .yon-content .bg-\[\#0a0d14\],
html[data-theme="light"] .yon-content .bg-\[\#0b0e14\],
html[data-theme="light"] .yon-content .bg-\[\#0c1018\],
html[data-theme="light"] .yon-content .bg-\[\#121820\],
html[data-theme="light"] .yon-content .bg-\[\#151b24\]{
    background-color:#fff!important;
}
