body,#sidebar,.bottom-nav,.card,.icon-btn,.toast,.auth-card,.auth-field input,.auth-field select,.auth-wallet,.onboarding-control,.settings-dialog,.confirm-spin-dialog,.notification-confirm-dialog,.task-dialog,.box-dialog,.result-dialog{
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease
}
html[data-theme="light"] body{background-color:var(--bg);color:var(--ink)}
html[data-theme="light"] #sidebar{background:var(--surface-sidebar)}
html[data-theme="light"] .nav a:hover,html[data-theme="light"] .bottom-nav a[aria-current="page"]{background:var(--surface-nav-active)}
html[data-theme="light"] .shell .card,html[data-theme="light"] .rank-row{box-shadow:var(--shadow)}
html[data-theme="light"] .hero,html[data-theme="light"] .checkin-hero{
  background:linear-gradient(135deg,rgba(109,40,217,.12),rgba(29,78,216,.08) 60%,var(--card))
}
html[data-theme="light"] .leaderboard-tabs{background:var(--surface-deep)}
html[data-theme="light"] .podium-card,html[data-theme="light"] .overview-podium-place{
  background:linear-gradient(160deg,rgba(255,255,255,.96),rgba(235,240,255,.86))
}
html[data-theme="light"] .podium-card.first,html[data-theme="light"] .podium .first{
  background:linear-gradient(160deg,rgba(109,40,217,.14),rgba(29,78,216,.1) 58%,rgba(255,255,255,.92))
}
html[data-theme="light"] .podium-card:not(.first) .rank-badge{background:rgba(109,40,217,.12);color:#4c1d95}
html[data-theme="light"] .rank-row:hover{background:rgba(109,40,217,.08)}
html[data-theme="light"] .boost-rank-label.gold{color:#92400e}
html[data-theme="light"] .boost-rank-label.silver{color:#4d5878}
html[data-theme="light"] .ring::before{background:var(--surface-ring)}
html[data-theme="light"] .toast{border-color:var(--line);background:var(--surface-toast);color:var(--ink);box-shadow:0 12px 34px rgba(35,47,83,.18)}
html[data-theme="light"] .price-select,html[data-theme="light"] .price-select option,
html[data-theme="light"] .profile-equipment select,html[data-theme="light"] .language-choice select,
html[data-theme="light"] .spending-limits-form input,html[data-theme="light"] .profile-equipment option,
html[data-theme="light"] .language-choice option{background:var(--surface-input);color:var(--ink)}
html[data-theme="light"] .confirm-spin-dialog,html[data-theme="light"] .notification-confirm-dialog,
html[data-theme="light"] .task-dialog,html[data-theme="light"] .box-dialog,
html[data-theme="light"] .result-dialog,html[data-theme="light"] .settings-dialog{
  border-color:var(--line);background:var(--surface-deep);color:var(--ink);box-shadow:0 24px 80px rgba(35,47,83,.2)
}
html[data-theme="light"] .confirm-spin-dialog::backdrop,html[data-theme="light"] .notification-confirm-dialog::backdrop,
html[data-theme="light"] .task-dialog::backdrop,html[data-theme="light"] .box-dialog::backdrop,
html[data-theme="light"] .result-dialog::backdrop{background:rgba(26,35,66,.38)}
html[data-theme="light"] .auth-brand{background:linear-gradient(145deg,#edf0ff,#e6efff)}
html[data-theme="light"] .auth-card{border-color:var(--line);background:rgba(255,255,255,.92);box-shadow:0 24px 70px rgba(35,47,83,.13)}
html[data-theme="light"] .auth-eyebrow,html[data-theme="light"] .auth-field label,
html[data-theme="light"] .auth-field-label,
html[data-theme="light"] .onboarding-identity code,html[data-theme="light"] .onboarding-earn-card h4,
html[data-theme="light"] .auth-strength-row span:last-child{color:var(--ink)}
html[data-theme="light"] .auth-brand-foot,html[data-theme="light"] .auth-note,
html[data-theme="light"] .auth-field input::placeholder,html[data-theme="light"] .auth-check,
html[data-theme="light"] .auth-password-rules,html[data-theme="light"] .auth-strength-row,
html[data-theme="light"] .auth-optional,html[data-theme="light"] .auth-back,
html[data-theme="light"] .auth-onboarding-card .onboarding-progress-label,
html[data-theme="light"] .onboarding-overline,html[data-theme="light"] .onboarding-earn-card p,
html[data-theme="light"] .onboarding-earn-card small,html[data-theme="light"] .onboarding-panel>p,
html[data-theme="light"] .auth-state-success p{color:var(--mute)}
html[data-theme="light"] .auth-link,html[data-theme="light"] .auth-resend-button,
html[data-theme="light"] .auth-input-toggle,
html[data-theme="light"] .auth-strength-row span:last-child,html[data-theme="light"] .onboarding-identity code{color:var(--text-link)}
html[data-theme="light"] .auth-field input,html[data-theme="light"] .auth-field select,
html[data-theme="light"] .auth-input-toggle,html[data-theme="light"] .auth-option,
html[data-theme="light"] .auth-wallet,
html[data-theme="light"] .onboarding-control,html[data-theme="light"] .onboarding-identity,
html[data-theme="light"] .onboarding-earn-card,html[data-theme="light"] .auth-bot-placeholder{
  border-color:var(--line);background:rgba(244,246,255,.9);color:var(--ink)
}
html[data-theme="light"] .auth-toast,
html[data-theme="light"] .onboarding-earn-note{border-color:rgba(14,116,144,.24);background:rgba(14,116,144,.08);color:#07576c}
html[data-theme="light"] .auth-service-status{color:#78350f}
html[data-theme="light"] .auth-referral-banner{background:rgba(109,40,217,.08);color:#4c1d95}
html[data-theme="light"] .auth-password-rules li.is-met{color:#047857}
html[data-theme="light"] .auth-error{color:#b4233c}
html[data-theme="light"] .auth-login-message{background:rgba(180,35,60,.06);color:#9f1239}
html[data-theme="light"] .onboarding-earn-icon{color:#5b21b6}
html[data-theme="light"] .onboarding-earn-card b{color:#07576c}
html[data-theme="light"] .onboarding-control:hover:not(:disabled),html[data-theme="light"] .auth-link:hover,
html[data-theme="light"] .auth-back:hover,html[data-theme="light"] .auth-resend-button:hover:not(:disabled){color:#1d4ed8}
html[data-theme="light"] .period-reward-label,html[data-theme="light"] .you-motivation,
html[data-theme="light"] .how-rewards-strip strong,html[data-theme="light"] .prize-ladder li strong,
html[data-theme="light"] .boost-history strong,html[data-theme="light"] .boost-user-status,
html[data-theme="light"] .notification-day-group h3,html[data-theme="light"] .notification-detail,
html[data-theme="light"] .dialog-content ol,html[data-theme="light"] .revealed-reward .no-grant-note{color:var(--text-soft)}
html[data-theme="light"] .badge.av2,html[data-theme="light"] .platform-icon,
html[data-theme="light"] .ic,html[data-theme="light"] .history-icon,
html[data-theme="light"] .guide-icon,html[data-theme="light"] .countdown-icon,
html[data-theme="light"] .notification-icon.is-rewards,html[data-theme="light"] .notification-icon.is-account,
html[data-theme="light"] .notification-icon.is-security,html[data-theme="light"] .notification-panel-footer a,
html[data-theme="light"] .notification-empty-art,html[data-theme="light"] .empty-mark{color:var(--text-violet)}
html[data-theme="light"] .badge.av2{color:#1d4ed8}
html[data-theme="light"] .platform-icon{color:#4c1d95}
html[data-theme="light"] .guide-icon,html[data-theme="light"] .countdown-icon,
html[data-theme="light"] .notification-icon.is-account,html[data-theme="light"] .notification-icon.is-security{color:#07576c}
html[data-theme="light"] .notification-panel-footer a{color:var(--text-link)}
html[data-theme="light"] .day-cell.today .day-label,html[data-theme="light"] .boost-rank-label.gold,
html[data-theme="light"] .boost-rank-label.silver{color:#5b21b6}
html[data-theme="light"] .auth-submit,html[data-theme="light"] .auth-submit-link,
html[data-theme="light"] .auth-onboarding-card .onboarding-next{color:#fff}
html[data-theme="light"] .bottom-nav{background:var(--surface-sidebar)}
html[data-theme="light"] .mobile-scrim{background:var(--surface-backdrop)}

@media(prefers-reduced-motion:reduce){
  body,#sidebar,.bottom-nav,.card,.icon-btn,.toast,.auth-card,.auth-field input,.auth-field select,.auth-wallet,.onboarding-control,.settings-dialog,.confirm-spin-dialog,.notification-confirm-dialog,.task-dialog,.box-dialog,.result-dialog{transition:none}
}
