/* VYRO unified light theme — dark theme remains untouched */
html[data-theme="light"]{color-scheme:light;--bg:#f7f5fb;--panel:#fff;--panel2:#f4eff8;--text:#251b30;--muted:#756b80;--line:#e6ddec;--purple:#7542a4;--pink:#9857b5;--surface:#fff;--surface-soft:#f3eef8;--border:#e4d8ed;--ink:#251b30;--subtle:#71647e}
html[data-theme="light"] body{background:#f7f5fb!important;color:#251b30!important}
html[data-theme="light"] body:before,html[data-theme="light"] .ambient{opacity:.07!important}
html[data-theme="light"] a{color:inherit}
html[data-theme="light"] .topbar{background:rgba(255,255,255,.92)!important;border-color:#e9e0ef!important;box-shadow:0 4px 22px #38204d08}
html[data-theme="light"] .main-nav{color:#756b80!important}
html[data-theme="light"] .main-nav a:hover,html[data-theme="light"] .main-nav a.active{color:#63319a!important}
html[data-theme="light"] .menu-btn{color:#352442!important}
html[data-theme="light"] .btn-quiet,html[data-theme="light"] .btn-outline{color:#583777!important;background:#fff!important;border-color:#d9c8e8!important}
html[data-theme="light"] .hero-desc,html[data-theme="light"] .section-head p,html[data-theme="light"] .banner-copy p,html[data-theme="light"] .feature-card p{color:#71647e!important}
html[data-theme="light"] .hero-meta,html[data-theme="light"] .trust-strip div,html[data-theme="light"] .section-index{color:#81758b!important}
html[data-theme="light"] .meta-sep{background:#ddd1e5!important}
html[data-theme="light"] .visual-window{background:linear-gradient(145deg,#fff,#f3edf9)!important;border-color:#e2d4ee!important;box-shadow:0 24px 65px #38204d18!important}
html[data-theme="light"] .window-head,html[data-theme="light"] .window-foot{background:#fff!important;color:#756b80!important;border-color:#eee6f3!important}
html[data-theme="light"] .window-brand,html[data-theme="light"] .stage-caption strong{color:#342044!important}
html[data-theme="light"] .stage-kicker{color:#8b54bb!important}
html[data-theme="light"] .stage-caption>span:last-child{color:#887b94!important}
html[data-theme="light"] .visual-stage{background:radial-gradient(ellipse at 50% 58%,#e8d8f7,transparent 55%),linear-gradient(135deg,#f5effa,#eee5f6)!important}
html[data-theme="light"] .stage-orb{border-color:#b994d455!important;box-shadow:0 0 45px #b58bd522,inset 0 0 35px #b58bd522!important}
html[data-theme="light"] .float-note{background:#fff!important;border-color:#e4d6ef!important;color:#352442!important;box-shadow:0 12px 32px #38204d18!important}
html[data-theme="light"] .float-note small{color:#81758b!important}
html[data-theme="light"] .avatar-stack i{border-color:#fff!important}
html[data-theme="light"] .trust-strip{border-color:#e8deef!important}
html[data-theme="light"] .category-card,html[data-theme="light"] .feature-card{background:#fff!important;border-color:#e7ddec!important;color:#30223c!important;box-shadow:0 5px 20px #38204d08}
html[data-theme="light"] .category-card:hover,html[data-theme="light"] .category-card.selected{background:#f4ebfb!important;border-color:#c9a8e2!important}
html[data-theme="light"] .category-card b,html[data-theme="light"] .feature-card h3{color:#30223c!important}
html[data-theme="light"] .category-card small{color:#81758b!important}
html[data-theme="light"] .cat-symbol{background:#efe3f8!important;color:#8952b7!important}
html[data-theme="light"] .empty-state{background:radial-gradient(ellipse at 50% 30%,#eadcf7,transparent 65%),#fff!important;border-color:#dfd0eb!important;color:#30223c!important}
html[data-theme="light"] .empty-state h3{color:#30223c!important}
html[data-theme="light"] .empty-state p{color:#766a80!important}
html[data-theme="light"] .creator-banner,html[data-theme="light"] .app-download-card{background:radial-gradient(ellipse at 18% 50%,#ead9f8,transparent 48%),linear-gradient(115deg,#fff,#f4edf9)!important;border-color:#e1d2ec!important;box-shadow:0 15px 45px #38204d0c!important}
html[data-theme="light"] .banner-copy h2,html[data-theme="light"] .app-download-copy h2{color:#30223c!important}
html[data-theme="light"] .banner-v{color:#8e58b511!important;text-shadow:none!important}
html[data-theme="light"] .banner-spark{color:#9863c1!important}
html[data-theme="light"] .app-download-copy>p{color:#71647e!important}
html[data-theme="light"] .app-security-details{background:#fff!important;border-color:#dfd0eb!important;color:#554765!important}
html[data-theme="light"] .app-security-details summary{color:#49305d!important}
html[data-theme="light"] .app-security-content h3{color:#70439a!important}
html[data-theme="light"] .app-hash-value,html[data-theme="light"] .app-checksum code{background:#f5f0f8!important;color:#58446b!important;border-color:#e4d8ed!important}
html[data-theme="light"] footer{border-color:#e8deef!important;color:#81758b!important}
html[data-theme="light"] .footer-social{background:#fff!important;border-color:#e7ddec!important}
html[data-theme="light"] .footer-social b{color:#342044!important}
html[data-theme="light"] .footer-social small{color:#81758b!important}
html[data-theme="light"] .footer-social.x-social .social-mark{color:#342044!important;background:#eee8f2!important}
html[data-theme="light"] .footer-signature{color:#81758b!important}
html[data-theme="light"] .footer-signature b{color:#554765!important}
html[data-theme="light"] .toast{background:#fff!important;color:#30223c!important;border-color:#dfd0eb!important;box-shadow:0 10px 30px #38204d1a!important}
/* Channel and profile */
html[data-theme="light"] .cover{background-color:#eee5f6!important}
html[data-theme="light"] .avatar{border-color:#f7f5fb!important}
html[data-theme="light"] .muted{color:#766b80!important}
html[data-theme="light"] .tabs{border-color:#e7ddec!important}
html[data-theme="light"] .tabs button,html[data-theme="light"] .tabs a{color:#665775!important}
html[data-theme="light"] .streamcard,html[data-theme="light"] .profile-editor,html[data-theme="light"] .moderation-panel{background:#fff!important;border-color:#e4d8ed!important;color:#30223c!important;box-shadow:0 5px 20px #38204d08}
html[data-theme="light"] .streamcard a{color:#30223c!important}
html[data-theme="light"] .profile-editor label,html[data-theme="light"] .cover-editor,html[data-theme="light"] .mod-grid label{color:#665775!important}
html[data-theme="light"] .profile-editor input,html[data-theme="light"] .profile-editor textarea,html[data-theme="light"] .mod-grid input,html[data-theme="light"] .mod-grid select{background:#faf8fc!important;color:#30223c!important;border-color:#d8c9e4!important}
html[data-theme="light"] .channel-bio{color:#665775!important}
html[data-theme="light"] .mod-chip{color:#654582!important;border-color:#d8c5e8!important}
html[data-theme="light"] .stream-thumb{background:#eee9f2!important}
/* Watch page and chat */
html[data-theme="light"] .chatbox,html[data-theme="light"] .streaminfo{background:#fff!important;color:#30223c!important;border-color:#e4d8ed!important;box-shadow:0 8px 25px #38204d0b!important}
html[data-theme="light"] .chatline{background:#f7f3fa!important;color:#554765!important}
html[data-theme="light"] .chatline b,html[data-theme="light"] .private-line b{color:#7542a4!important}
html[data-theme="light"] .chatform input,html[data-theme="light"] .aparat-chat .chatform input,html[data-theme="light"] .support-pin-form input{background:#faf8fc!important;color:#30223c!important;border-color:#d8c9e4!important}
html[data-theme="light"] .chat-user{color:#7542a4!important}
html[data-theme="light"] .chat-actions{background:#f7f2fa!important;border-color:#dfd0eb!important}
html[data-theme="light"] .chat-actions button,html[data-theme="light"] .slash-suggestion,html[data-theme="light"] .slash-option,html[data-theme="light"] .audience-tools button,html[data-theme="light"] #giftMenu button,html[data-theme="light"] .clear-chat-top{background:#f5eff9!important;color:#583777!important;border-color:#d9c8e8!important}
html[data-theme="light"] .chat-actions small,html[data-theme="light"] .support-pin small{color:#766b80!important}
html[data-theme="light"] .private-line{background:#f7f2fa!important;border-color:#e9dff0!important;color:#554765!important}
html[data-theme="light"] .channel-drawer,html[data-theme="light"] .aparat-chat .channel-drawer{background:#fff!important;color:#30223c!important;border-color:#e4d8ed!important}
html[data-theme="light"] .system-event{background:#f1e8f8!important;border-color:#dbc5ed!important;color:#70439a!important}
html[data-theme="light"] .aparat-toolbar,html[data-theme="light"] .aparat-community{border-color:#e6ddec!important;color:#554765!important}
html[data-theme="light"] .aparat-stats,html[data-theme="light"] .audience-strip,html[data-theme="light"] .audience-tools{color:#665775!important}
html[data-theme="light"] .aparat-toolbar .drawer-toggle,html[data-theme="light"] .drawer-toggle{background:#f1e8f8!important;color:#583777!important;border-color:#d9c8e8!important}
html[data-theme="light"] .follower-chip{background:#eee5f5!important;color:#583777!important}
html[data-theme="light"] .aparat-chat .chatline{color:#554765!important;border-color:#eee6f3!important}
html[data-theme="light"] .aparat-chat .private-line{background:#f7f2fa!important;color:#554765!important}
html[data-theme="light"] .aparat-chat #privateNotice{background:#f3eafa!important;color:#49305d!important;border-color:#d9c8e8!important}
html[data-theme="light"] .support-pin{background:#f4edf9!important;color:#49305d!important;border-color:#d9c8e8!important;box-shadow:none!important}
html[data-theme="light"] .support-pin-label{color:#7542a4!important}
html[data-theme="light"] .viewer-row,html[data-theme="light"] .rank-row{border-color:#e9e0ef!important;color:#554765!important}
html[data-theme="light"] .rank-row b{color:#7542a4!important}
html[data-theme="light"] .timeout-clock{color:#9a5b16!important}
html[data-theme="light"] .stream-game-badge #siteCategoryName{color:#766b80!important;border-color:#e2d8e9!important}
/* Studio and settings */
html[data-theme="light"] .panel,html[data-theme="light"] .settings-nav,html[data-theme="light"] .settings-panel{background:#fff!important;color:#30223c!important;border-color:#e4d8ed!important;box-shadow:0 6px 22px #38204d08}
html[data-theme="light"] .panel h1,html[data-theme="light"] .panel h2,html[data-theme="light"] .panel h3,html[data-theme="light"] .settings-panel h2{color:#30223c!important}
html[data-theme="light"] input,html[data-theme="light"] select,html[data-theme="light"] textarea{background:#faf8fc!important;color:#30223c!important;border-color:#d8c9e4!important}
html[data-theme="light"] input::placeholder,html[data-theme="light"] textarea::placeholder{color:#94879f!important}
html[data-theme="light"] .field label{color:#665775!important}
html[data-theme="light"] .notice{background:#f4edf9!important;color:#554765!important;border-color:#b58bd4!important}
html[data-theme="light"] .stat,html[data-theme="light"] .analytics-chart{background:#faf8fc!important;border-color:#e4d8ed!important;color:#554765!important}
html[data-theme="light"] .stat b{color:#7542a4!important}
html[data-theme="light"] .streamrow,html[data-theme="light"] .analytics-stream-row{border-color:#e9e0ef!important;color:#554765!important}
html[data-theme="light"] .analytics-stream-row small,html[data-theme="light"] .chart-labels{color:#81758b!important}
html[data-theme="light"] .settings-nav button{color:#554765!important}
html[data-theme="light"] .settings-nav button.active,html[data-theme="light"] .settings-nav button:hover{background:#eee3f7!important;color:#583777!important}
html[data-theme="light"] .setting-copy b{color:#30223c!important}
html[data-theme="light"] .setting-copy small,html[data-theme="light"] .settings-desc{color:#766b80!important}
html[data-theme="light"] .setting-control select,html[data-theme="light"] .setting-control input:not([type=checkbox]){background:#faf8fc!important;color:#30223c!important;border-color:#d8c9e4!important}
html[data-theme="light"] .setting-row{border-color:#e9e0ef!important}
html[data-theme="light"] .settings-back{color:#7542a4!important}
html[data-theme="light"] .settings-status{color:#32734c!important}
html[data-theme="light"] .account-menu{background:#fff!important;color:#30223c!important;border-color:#e4d8ed!important;box-shadow:0 15px 40px #38204d1a!important}
html[data-theme="light"] .account-menu-head{border-color:#eee6f3!important}
html[data-theme="light"] .account-menu-head b{color:#30223c!important}
html[data-theme="light"] .account-menu-head small{color:#81758b!important}
html[data-theme="light"] .account-menu a,html[data-theme="light"] .account-menu button{color:#554765!important}
html[data-theme="light"] .account-menu a:hover,html[data-theme="light"] .account-menu button:hover{background:#f1e8f8!important;color:#583777!important}
html[data-theme="light"] .vyro-settings-fab{background:#fff!important;color:#7542a4!important;border-color:#d9c8e8!important;box-shadow:0 5px 18px #38204d18!important}
/* Keep video surfaces truly black in both themes */
html[data-theme="light"] .player,html[data-theme="light"] .aparat-watch>.player,html[data-theme="light"] .aparat-watch>.player video,html[data-theme="light"] #offlineCover{background:#08070b!important}

/* Audit fixes: readable timeout and private support conversation in light mode */
html[data-theme="light"] .aparat-chat #supportMessageBox{background:#f4edf9!important;border-color:#d9c8e8!important;color:#49305d!important;box-shadow:none!important}
html[data-theme="light"] .aparat-chat #supportMessageBox:before{color:#7542a4!important}
html[data-theme="light"] .aparat-chat #supportMessageBox .private-line{background:#fff!important;border-color:#e8deef!important;color:#554765!important}
html[data-theme="light"] #timeoutStatus{background:#fff5e8!important;border-color:#e7c99d!important;color:#754a17!important}
html[data-theme="light"] #supportMessageStatus{color:#766b80!important}

/* Mobile navigation dropdown is also theme-aware */
html[data-theme="light"] .main-nav[style*="position: absolute"]{background:#fff!important;border-color:#e4d8ed!important;box-shadow:0 12px 30px #38204d18!important}
html[data-theme="light"] .main-nav[style*="position: absolute"] a{color:#554765!important}
html[data-theme="light"] .main-nav[style*="position: absolute"] a:hover{color:#7542a4!important}
