html[data-theme-preset="classic"]{--ui-primary:#1f6feb;--ui-strong:#0b5ad9;--ui-accent:#59a8ff;--ui-bg:#f4f7fb;--ui-panel:#ffffff;--ui-soft:#eaf2ff;--ui-text:#10213a;--ui-muted:#617087;--ui-line:#dce5f0;--ui-on:#ffffff}
html[data-theme-preset="classic"][data-theme="dark"]{--ui-primary:#8eb9ff;--ui-strong:var(--ui-primary);--ui-bg:#101722;--ui-panel:#192331;--ui-soft:#223143;--ui-text:#edf2f8;--ui-muted:#a9b7c8;--ui-line:#344255;--ui-on:#111b28}
html[data-theme-preset="blue"]{--ui-primary:#2268cf;--ui-strong:#174ea6;--ui-accent:#599bfa;--ui-bg:#f2f6fc;--ui-panel:#ffffff;--ui-soft:#e8f0fc;--ui-text:#152b47;--ui-muted:#62758c;--ui-line:#dce5f1;--ui-on:#ffffff}
html[data-theme-preset="blue"][data-theme="dark"]{--ui-primary:#8eb9ff;--ui-strong:var(--ui-primary);--ui-bg:#101722;--ui-panel:#192331;--ui-soft:#223143;--ui-text:#edf2f8;--ui-muted:#a9b7c8;--ui-line:#344255;--ui-on:#111b28}
html[data-theme-preset="warm"]{--ui-primary:#a86124;--ui-strong:#814819;--ui-accent:#d8a467;--ui-bg:#fbf4eb;--ui-panel:#fffdf9;--ui-soft:#f5e8d6;--ui-text:#382518;--ui-muted:#796251;--ui-line:#e9dac7;--ui-on:#ffffff}
html[data-theme-preset="warm"][data-theme="dark"]{--ui-primary:#efbd86;--ui-strong:var(--ui-primary);--ui-bg:#101722;--ui-panel:#192331;--ui-soft:#223143;--ui-text:#edf2f8;--ui-muted:#a9b7c8;--ui-line:#344255;--ui-on:#111b28}
html[data-theme-preset="blackgold"]{--ui-primary:#d6a858;--ui-strong:#edc578;--ui-accent:#b78739;--ui-bg:#090a0b;--ui-panel:#151515;--ui-soft:#211c14;--ui-text:#eee7da;--ui-muted:#b5aa99;--ui-line:#3c3120;--ui-on:#15110b}
html[data-theme-preset="jade"]{--ui-primary:#147a58;--ui-strong:#0b6044;--ui-accent:#45aa85;--ui-bg:#edf8f3;--ui-panel:#fafffc;--ui-soft:#e0f2e9;--ui-text:#17372d;--ui-muted:#58766b;--ui-line:#c8e4d8;--ui-on:#ffffff}
html[data-theme-preset="jade"][data-theme="dark"]{--ui-primary:#7bceac;--ui-strong:var(--ui-primary);--ui-bg:#101722;--ui-panel:#192331;--ui-soft:#223143;--ui-text:#edf2f8;--ui-muted:#a9b7c8;--ui-line:#344255;--ui-on:#111b28}
html[data-theme-preset="purple"]{--ui-primary:#67598c;--ui-strong:#51446f;--ui-accent:#998cbd;--ui-bg:#f1f0f6;--ui-panel:#faf9fc;--ui-soft:#e9e5f1;--ui-text:#302a40;--ui-muted:#706a80;--ui-line:#d9d4e6;--ui-on:#ffffff}
html[data-theme-preset="purple"][data-theme="dark"]{--ui-primary:#c0b1e6;--ui-strong:var(--ui-primary);--ui-bg:#101722;--ui-panel:#192331;--ui-soft:#223143;--ui-text:#edf2f8;--ui-muted:#a9b7c8;--ui-line:#344255;--ui-on:#111b28}
html[data-theme-preset="sea"]{--ui-primary:#087e83;--ui-strong:#07636a;--ui-accent:#4ca8ac;--ui-bg:#eff9f8;--ui-panel:#ffffff;--ui-soft:#dbf1ef;--ui-text:#153b40;--ui-muted:#59767a;--ui-line:#cce5e3;--ui-on:#ffffff}
html[data-theme-preset="sea"][data-theme="dark"]{--ui-primary:#80d3d0;--ui-strong:var(--ui-primary);--ui-bg:#101722;--ui-panel:#192331;--ui-soft:#223143;--ui-text:#edf2f8;--ui-muted:#a9b7c8;--ui-line:#344255;--ui-on:#111b28}
html[data-theme-preset="coral"]{--ui-primary:#bc4d52;--ui-strong:#943d43;--ui-accent:#e28d8b;--ui-bg:#fff5f2;--ui-panel:#ffffff;--ui-soft:#fbe4df;--ui-text:#472d32;--ui-muted:#8b6b70;--ui-line:#efd7d3;--ui-on:#ffffff}
html[data-theme-preset="coral"][data-theme="dark"]{--ui-primary:#f0aaa8;--ui-strong:var(--ui-primary);--ui-bg:#101722;--ui-panel:#192331;--ui-soft:#223143;--ui-text:#edf2f8;--ui-muted:#a9b7c8;--ui-line:#344255;--ui-on:#111b28}
html[data-theme-preset="midnight"]{--ui-primary:#b0a4fa;--ui-strong:#c9bfff;--ui-accent:#8074cf;--ui-bg:#101326;--ui-panel:#1d223d;--ui-soft:#292f51;--ui-text:#f0effc;--ui-muted:#a6aecb;--ui-line:#363d60;--ui-on:#16152b}

html[data-theme-preset][data-theme],html[data-theme-preset][data-theme] body{
--primary:var(--ui-primary)!important;--primary-strong:var(--ui-strong)!important;--accent:var(--ui-accent)!important;
--bg:var(--ui-bg)!important;--panel:var(--ui-panel)!important;--surface:var(--ui-panel)!important;--panel-soft:var(--ui-soft)!important;--soft:var(--ui-soft)!important;--text:var(--ui-text)!important;--ink:var(--ui-text)!important;--muted:var(--ui-muted)!important;--line:var(--ui-line)!important;
--blue:var(--ui-primary)!important;--blue-deep:var(--ui-strong)!important;
--f-blue:var(--ui-primary)!important;--f-blue2:var(--ui-accent)!important;--f-text:var(--ui-text)!important;--f-muted:var(--ui-muted)!important;--f-border:var(--ui-line)!important;
--gg-blue:var(--ui-primary)!important;--gg-blue-deep:var(--ui-strong)!important;--gg-ink:var(--ui-text)!important;--gg-deep:var(--ui-text)!important;--gg-muted:var(--ui-muted)!important;--gg-bg:var(--ui-bg)!important;--gg-line:var(--ui-line)!important;--gg-soft:var(--ui-soft)!important;
--dy-blue:var(--ui-primary)!important;--dy-red:var(--ui-primary)!important;--dy-text:var(--ui-text)!important;--dy-muted:var(--ui-muted)!important;--dy-line:var(--ui-line)!important;
--tj-bg:var(--ui-bg)!important;--tj-panel:var(--ui-panel)!important;--tj-text:var(--ui-text)!important;--tj-muted:var(--ui-muted)!important;--tj-line:var(--ui-line)!important;--tj-blue:var(--ui-primary)!important;--tj-soft:var(--ui-soft)!important;
background:var(--ui-bg)!important;color:var(--ui-text)!important}
html[data-theme-preset="blackgold"],html[data-theme-preset="midnight"],html[data-theme="dark"]{color-scheme:dark}
html[data-theme-preset][data-theme] body :is(.feature-spa-stage,.feature-spa-frame,.feature-spa-loading,.reward-drawer,.reward-drawer-page,.reward-rule-fixed,.gg-page,.dy-page,.tj-page){background:var(--ui-bg)!important;color:var(--ui-text)!important}
html[data-theme-preset][data-theme] body :is(.fixed-area header,.feature-head,.kj-head){background:var(--ui-soft)!important;border-color:var(--ui-line)!important;box-shadow:none!important}
html[data-theme-preset][data-theme] body :is(.feature-head,.kj-head){border-bottom:1px solid var(--ui-line)!important}
html[data-theme-preset][data-theme] body :is(.feature-bottom-nav,.notice-dialog,.notice-footer,.kefu-panel,.kefu-item,.discover-row,.feature-empty,.plan,.panel,.hero,.state,.rule-benefits,.gg-intro,.gg-card,.gg-detail,.gg-detail-head,.gg-detail-foot,.dy-detail,.dy-player-dialog,.dy-player-dialog>header,.kf-welcome,.kf-contact,.kf-note,.kf-state,.tj-featured,.tj-card,.lot-panel,.summary-card,.predict-card){background:var(--ui-panel)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important;box-shadow:none!important}
html[data-theme-preset][data-theme] body :is(.tab,.gg-tabs button,.dy-categories button,.dy-player-episodes button,.dy-more,.dy-search,.search,.app,.rule,.planinfo div,.steps span,.kf-contact button,.theme-toggle,.notice-close,.kefu-close,.gg-close,.dy-close,.gg-lightbox>header button,.dy-player-dialog>header button){background:var(--ui-soft)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important;box-shadow:none!important}
html[data-theme-preset][data-theme] body :is(.hero h1,.hero-return,.head h2,.plan h3,.gg-head h1,.gg-intro h2,.gg-copy h3,.gg-detail h2,.discover-copy b,.kf-head h1,.kf-welcome h2,.dy-head h1,.dy-card h3,.dy-detail-copy h2,.tj-head h1,.tj-card h3,.feature-head h1,.kj-head h1){color:var(--ui-text)!important;text-shadow:none!important}
html[data-theme-preset][data-theme] body :is(.hero p,.gg-intro p,.gg-copy p,.gg-content,.discover-copy small,.kf-note,.notice-day,.notice-body p,.dy-detail-copy p,.tj-card p,.kf-welcome p){color:var(--ui-muted)!important;text-shadow:none!important}
html[data-theme-preset][data-theme] body :is(.feature-bottom-item,.discover-side){color:var(--ui-muted)!important;border-color:var(--ui-line)!important}
html[data-theme-preset][data-theme] body .feature-bottom-item.active{color:var(--ui-primary)!important;background:transparent!important}
html[data-theme-preset][data-theme] body :is(.tab.active,.view,.gg-tabs button.current,.dy-categories button.current,.dy-player-episodes button.current){background:var(--ui-soft)!important;border-color:var(--ui-primary)!important;color:var(--ui-primary)!important}
html[data-theme-preset][data-theme] body :is(.notice-action,.kefu-copy,.kf-contact button.primary,.gg-join,.gg-detail-foot button,.dy-watch,.feature-button){background:var(--ui-primary)!important;border-color:var(--ui-primary)!important;color:var(--ui-on)!important}
html[data-theme-preset][data-theme] body :is(.hero-return,.gg-back,.dy-back,.tj-back,.kf-head>button){background:transparent!important;border-color:var(--ui-line)!important;color:var(--ui-primary)!important;box-shadow:none!important}
html[data-theme-preset][data-theme] body .dy-detail-art:after{background:linear-gradient(transparent,var(--ui-panel))!important}
html[data-theme-preset][data-theme] body .hero:after{background:var(--ui-soft)!important}
html[data-theme-preset][data-theme] body .discover-icon{background:transparent!important;border-color:var(--ui-line)!important}
html[data-theme-preset][data-theme] body :is(button,a){-webkit-tap-highlight-color:transparent}
html[data-theme-preset][data-theme] body :is(button,a):focus-visible{outline:2px solid var(--ui-primary);outline-offset:3px}
html[data-theme-preset][data-theme] body .card-grid{min-width:0}
html[data-theme-preset][data-theme] body .category-state{grid-column:1/-1;text-align:center;place-items:center}
html[data-theme-preset][data-theme] body .vue-icon-track{animation-play-state:running}
html[data-theme-preset][data-theme] body :is(.category-tabs,.icon-ticker,.marquee-wrap){background:var(--ui-soft)!important;border-color:var(--ui-line)!important;box-shadow:none!important}
html[data-theme-preset][data-theme] body .marquee-text{color:var(--ui-text)!important;text-shadow:none!important}
html[data-theme-preset][data-theme] body .tab-btn{background:var(--ui-panel)!important;color:var(--ui-muted)!important;border-color:var(--ui-line)!important;box-shadow:none!important;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
html[data-theme-preset][data-theme] body .tab-btn.active{background:var(--ui-primary)!important;color:var(--ui-on)!important;border-color:var(--ui-primary)!important}
html[data-theme-preset][data-theme] body .card{background:var(--ui-panel)!important;border-color:var(--ui-line)!important}
html[data-theme-preset][data-theme] body .card .title{color:var(--ui-text)!important}
html[data-theme-preset][data-theme] body .card .card-desc{color:var(--ui-muted)!important}
html[data-theme-preset][data-theme] body .card .card-action{background:var(--ui-soft)!important;color:var(--ui-primary)!important}
html[data-theme-preset][data-theme] body .rec-badge{z-index:6}
html[data-theme-preset][data-theme] body :is(.nav-links a,.nav-main-btn){background:var(--ui-panel)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important;box-shadow:none!important}
html[data-theme-preset][data-theme] body .card-action{max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme-preset][data-theme] body .category-tabs{overflow:visible;max-width:100%}
html[data-theme-preset][data-theme] body :is(.tj-detail,.tj-empty,.tj-search,.gg-empty,.dy-empty,.boot-shell,.boot-bar,.boot-card){background:var(--ui-panel)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
html[data-theme-preset][data-theme] body :is(.tj-featured-main,.tj-tabs button,.tj-shuffle,.tj-detail-actions button){background:var(--ui-soft)!important;color:var(--ui-text)!important;border-color:var(--ui-line)!important}
html[data-theme-preset][data-theme] body :is(.tj-featured-main p,.tj-featured-main small,.tj-card-type,.tj-card-foot){color:var(--ui-muted)!important}
html[data-theme-preset][data-theme] body :is(.tj-icon,.tj-card-foot span:last-child){color:var(--ui-primary)!important}
html[data-theme-preset][data-theme] body :is(.tj-tabs button.current,.tj-detail-actions .primary){background:var(--ui-primary)!important;color:var(--ui-on)!important;border-color:var(--ui-primary)!important}
html[data-theme-preset][data-theme] body .tj-tabs{flex-wrap:wrap;overflow:visible}
html[data-theme-preset][data-theme] body .card .avatar{box-shadow:0 2px 8px color-mix(in srgb,var(--ui-primary) 12%,transparent)!important}
html:is([data-theme-preset="sea"],[data-theme-preset="coral"],[data-theme-preset="midnight"]) body .top-bg{opacity:.06;filter:grayscale(1)}
html[data-theme-preset="midnight"] body .top-bg{display:none}
html[data-theme-preset][data-theme] body .brand .logo{background:var(--ui-primary);color:var(--ui-on);box-shadow:none}
html[data-theme-preset][data-theme] body .fixed-area header:before{opacity:.12}
html[data-theme-preset][data-theme] body .fixed-area header:after{background:var(--ui-line);height:1px}
html[data-theme-preset][data-theme] body :is(.rule-benefits b,.planinfo b,.reward-activity-time b,.reward-rule-head b,.rule-benefits strong,.app b,.kf-contact strong,.notice-body h3){color:var(--ui-text)!important}
html[data-theme-preset][data-theme] body :is(.reward-drawer-back,.reward-rule-head button,.money,.gg-type,.rule .num){color:var(--ui-primary)!important}
html[data-theme-preset][data-theme] body :is(.rule-benefits small,.reward-activity-time small,.planinfo small,.app small){color:var(--ui-muted)!important}
html[data-theme-preset][data-theme] body :is(.notice,.gg-notice,.rule .num,.gg-type){background:var(--ui-soft)!important;border-color:var(--ui-line)!important}
html[data-theme-preset][data-theme] body .notice{color:var(--ui-muted)!important}
html[data-theme-preset][data-theme] body :is(.reward-rule-head,.reward-activity-time,.platform-head){border-color:var(--ui-line)!important}
@media(max-width:650px){
html[data-theme-preset="purple"] body .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
html[data-theme-preset="purple"] body .category-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){html[data-theme-preset] .card{transition:none!important}html[data-theme-preset] .card:before,html[data-theme-preset] .card:after,html[data-theme-preset] .tab-btn:before{animation:none!important}}
.data-loading,.feature-spa-loading{min-height:150px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;color:var(--ui-muted,var(--muted,#718096))!important;text-align:center!important}.data-loading:before,.feature-spa-loading:before{content:"";display:block;width:38px;height:38px;border:4px solid color-mix(in srgb,var(--ui-text,#718096) 18%,transparent);border-top-color:var(--ui-primary,var(--primary,#1f6feb));border-radius:50%;animation:data-loading-spin .8s linear infinite}.data-loading strong{display:block;color:var(--ui-text,var(--text,#1f2937))!important}.data-loading.compact{min-height:90px!important}.data-loading.compact:before{width:28px;height:28px;border-width:3px}@keyframes data-loading-spin{to{transform:rotate(360deg)}}
