/* Global light theme: white surfaces, black text. Loaded last on every page. */
:root[data-theme="light"]{color-scheme:light;--bg:#fff;--surface:#fff;--surface-raised:#fff;--surface-2:#f2f2f2;--surface2:#f2f2f2;--surface-3:#e3e3e3;--brass:#000;--brass-soft:#222;--on-brass:#fff;--gold:#000;--gold2:#222;--gold-2:#222;--text:#000;--muted:#555;--border:rgba(0,0,0,.22);--success:#333;--danger:#444;--shadow:0 18px 50px rgba(0,0,0,.14);--upload-gold:#000;--upload-gold-soft:#222;--upload-panel:#fff;--upload-panel-2:#f2f2f2}
:root[data-theme="light"],
:root[data-theme="light"] body,
:root[data-theme="light"] .create-page{background:#fff;color:#000}
:root[data-theme="light"] .boot-screen{background:#fff}
:root[data-theme="light"] .landing-glow{background:rgba(0,0,0,.05)}
:root[data-theme="light"] .landing .landing-card{background:rgba(255,255,255,.95)}
:root[data-theme="light"] .auth-input{background:#f5f5f5;color:#000;border-color:rgba(0,0,0,.3)}
:root[data-theme="light"] .auth-input::placeholder,
:root[data-theme="light"] .search-expand-input::placeholder,
:root[data-theme="light"] .create-caption::placeholder,
:root[data-theme="light"] .music-search input::placeholder,
:root[data-theme="light"] .standalone-chat-composer #standalone-message-input::placeholder{color:#666}
:root[data-theme="light"] .topbar,
:root[data-theme="light"] .bottom-nav,
:root[data-theme="light"] .create-topbar,
:root[data-theme="light"] .create-actions,
:root[data-theme="light"] .standalone-chat-composer,
:root[data-theme="light"] .settings-header,
:root[data-theme="light"] .header{background:rgba(255,255,255,.96)}
:root[data-theme="light"] .compose-fab{box-shadow:0 8px 24px rgba(0,0,0,.25)}
:root[data-theme="light"] .avatar,
:root[data-theme="light"] .comment-avatar{background:linear-gradient(135deg,#e6e6e6,#bdbdbd);color:#000}
:root[data-theme="light"] .post-card,
:root[data-theme="light"] .settings-card,
:root[data-theme="light"] .quick-composer,
:root[data-theme="light"] .conversation-view{background:#fff;box-shadow:0 8px 26px rgba(0,0,0,.08)}
:root[data-theme="light"] .post-caption{color:#000}
:root[data-theme="light"] .post-card:has(.post-media){background:#000;color:#fff}
:root[data-theme="light"] .post-card:has(.post-media) .post-caption{color:#fff}
:root[data-theme="light"] .message-bubble,
:root[data-theme="light"] .message-composer #message-input{background:#f2f2f2;color:#000}
:root[data-theme="light"] .message-wrap.mine .message-bubble,
:root[data-theme="light"] .primary-button,
:root[data-theme="light"] .compose-fab,
:root[data-theme="light"] .send-button,
:root[data-theme="light"] .standalone-chat-composer .send-button,
:root[data-theme="light"] .create-submit{background:#000;color:#fff}
:root[data-theme="light"] .create-submit:hover{background:#222}
:root[data-theme="light"] .create-submit:disabled{background:#ddd;color:#777}
:root[data-theme="light"] .nav-item.active,
:root[data-theme="light"] .settings-value.is-active{color:#000}
:root[data-theme="light"] .search-expand-bar{border-color:rgba(0,0,0,.3);background:rgba(255,255,255,.97);box-shadow:0 10px 30px rgba(0,0,0,.15)}
:root[data-theme="light"] .search-expand-close:hover,
:root[data-theme="light"] .settings-back:active,
:root[data-theme="light"] .settings-row:active,
:root[data-theme="light"] .action:active{background:rgba(0,0,0,.08)}
:root[data-theme="light"] .search-expand-results{background:#fff;box-shadow:0 14px 36px rgba(0,0,0,.18)}
:root[data-theme="light"] .search-expand-result{border-bottom-color:rgba(0,0,0,.1)}
:root[data-theme="light"] .video-action-sheet,
:root[data-theme="light"] .gift-keyboard-sheet,
:root[data-theme="light"] .comments-backdrop,
:root[data-theme="light"] .settings-detail-backdrop,
:root[data-theme="light"] .wallet-sheet,
:root[data-theme="light"] .modal-backdrop,
:root[data-theme="light"] .music-sheet,
:root[data-theme="light"] .relationship-sheet{background:rgba(0,0,0,.45)}
:root[data-theme="light"] .video-action-card,
:root[data-theme="light"] .gift-keyboard-card,
:root[data-theme="light"] .comments-sheet,
:root[data-theme="light"] .settings-detail-sheet,
:root[data-theme="light"] .reaction-camera-card,
:root[data-theme="light"] .music-panel,
:root[data-theme="light"] .view-once-menu,
:root[data-theme="light"] .chat-lock-card{background:#fff;color:#000;border-color:rgba(0,0,0,.2);box-shadow:0 -16px 44px rgba(0,0,0,.2)}
:root[data-theme="light"] .video-action-card header,
:root[data-theme="light"] .gift-keyboard-card header,
:root[data-theme="light"] .settings-detail-sheet header,
:root[data-theme="light"] .reaction-camera-card header,
:root[data-theme="light"] .music-panel-header h2{border-bottom-color:rgba(0,0,0,.14);color:#000}
:root[data-theme="light"] .video-sheet-eyebrow,
:root[data-theme="light"] .gift-eyebrow,
:root[data-theme="light"] .gift-coin-label,
:root[data-theme="light"] .gift-status,
:root[data-theme="light"] .music-copy span,
:root[data-theme="light"] .music-empty,
:root[data-theme="light"] .create-status,
:root[data-theme="light"] .settings-section h2,
:root[data-theme="light"] .settings-detail-sheet p,
:root[data-theme="light"] .section h2{color:#555}
:root[data-theme="light"] .video-sheet-close,
:root[data-theme="light"] .gift-close,
:root[data-theme="light"] .settings-detail-close{border-color:rgba(0,0,0,.5);color:#000}
:root[data-theme="light"] .video-option-row,
:root[data-theme="light"] .video-auto-row,
:root[data-theme="light"] .video-speed-row,
:root[data-theme="light"] .video-option-row:hover,
:root[data-theme="light"] .video-action-list svg,
:root[data-theme="light"] .gift-choice,
:root[data-theme="light"] .gift-choice small,
:root[data-theme="light"] .gift-coin-balance strong,
:root[data-theme="light"] .settings-row-icon,
:root[data-theme="light"] .account-avatar-edit,
:root[data-theme="light"] .account-editor-status,
:root[data-theme="light"] .create-topbar h1,
:root[data-theme="light"] .creator-info strong,
:root[data-theme="light"] .create-caption,
:root[data-theme="light"] .music-result,
:root[data-theme="light"] .music-search input,
:root[data-theme="light"] .view-once-message-icon,
:root[data-theme="light"] .wallet-lookup-status.is-success,
:root[data-theme="light"] .wallet-lookup-status.is-error,
:root[data-theme="light"] .create-status.error{color:#000}
:root[data-theme="light"] .video-speed-row,
:root[data-theme="light"] .gift-status{border-color:rgba(0,0,0,.14)}
:root[data-theme="light"] .video-speed-row button{border-color:#ccc;background:#f5f5f5;color:#333}
:root[data-theme="light"] .video-speed-row button.active{border-color:#000;background:#000;color:#fff}
:root[data-theme="light"] .video-switch-track,
:root[data-theme="light"] .settings-toggle-track,
:root[data-theme="light"] .switch{border-color:#bbb;background:#e8e8e8}
:root[data-theme="light"] .video-switch-track span,
:root[data-theme="light"] .settings-toggle-track span,
:root[data-theme="light"] .switch i{background:#777}
:root[data-theme="light"] .video-switch:checked + .video-switch-track,
:root[data-theme="light"] .settings-detail-toggle input:checked + .settings-toggle-track,
:root[data-theme="light"] .switch:has(input:checked){border-color:#000;background:#000}
:root[data-theme="light"] .video-switch:checked + .video-switch-track span,
:root[data-theme="light"] .settings-detail-toggle input:checked + .settings-toggle-track span,
:root[data-theme="light"] .switch input:checked+i{background:#fff}
:root[data-theme="light"] .gift-choice:hover{border-color:#000;background:rgba(0,0,0,.06)}
:root[data-theme="light"] .gift-choice img,
:root[data-theme="light"] .music-art{background:#eee}
:root[data-theme="light"] .gift-coin-balance{border-color:rgba(0,0,0,.25);background:rgba(0,0,0,.05)}
:root[data-theme="light"] .gift-add-coins,
:root[data-theme="light"] .settings-detail-action,
:root[data-theme="light"] .create-cancel,
:root[data-theme="light"] .music-play,
:root[data-theme="light"] .music-add{border-color:#000;color:#000;background:rgba(0,0,0,.06)}
:root[data-theme="light"] .gift-add-coins:hover,
:root[data-theme="light"] .music-add:hover{background:rgba(0,0,0,.14)}
:root[data-theme="light"] .comments-sheet::before{background:rgba(0,0,0,.3)}
:root[data-theme="light"] .comments-header,
:root[data-theme="light"] .comments-form{border-color:rgba(0,0,0,.12)}
:root[data-theme="light"] .comments-form{background:#fff}
:root[data-theme="light"] .comment-copy p{color:#000}
:root[data-theme="light"] .comment-item.is-vip .comment-copy::after{background:#fff}
:root[data-theme="light"] .comment-input-wrap{border-color:rgba(0,0,0,.25);background:#f5f5f5}
:root[data-theme="light"] .comments-form input{background:#f2f2f2;color:#000}
:root[data-theme="light"] .comment-replies,
:root[data-theme="light"] .comment-reply{border-left-color:rgba(0,0,0,.25)}
:root[data-theme="light"] .comment-action:hover,
:root[data-theme="light"] .comment-action.liked{color:#000!important}
:root[data-theme="light"] .comment-camera-button{background:rgba(0,0,0,.1)!important}
:root[data-theme="light"] .comments-form .comment-stars-button:hover{color:#000}
:root[data-theme="light"] .ig-wallet-button{border-color:rgba(0,0,0,.35);background:#f5f5f5;color:#000}
:root[data-theme="light"] .ig-profile-primary.is-following{border-color:rgba(0,0,0,.45);background:rgba(0,0,0,.08);color:#000}
:root[data-theme="light"] .wallet-withdrawal-section,
:root[data-theme="light"] .gift-collection-summary{border-color:rgba(0,0,0,.22);background:#f7f7f7}
:root[data-theme="light"] .wallet-stars-balance,
:root[data-theme="light"] .wallet-package,
:root[data-theme="light"] .wallet-balance{border-color:rgba(0,0,0,.22);background:#f5f5f5}
:root[data-theme="light"] .wallet-package:hover{background:rgba(0,0,0,.08)}
:root[data-theme="light"] .wallet-payout-account{border-color:rgba(0,0,0,.3);background:rgba(0,0,0,.05)}
:root[data-theme="light"] .gift-collection-stats span{background:rgba(0,0,0,.05)}
:root[data-theme="light"] .gift-collection-list span{border-color:rgba(0,0,0,.2)}
:root[data-theme="light"] .view-once-message{border-color:rgba(0,0,0,.5);background:rgba(0,0,0,.06)}
:root[data-theme="light"] .view-once-button.active{border-color:#000;background:rgba(0,0,0,.08);color:#000}
:root[data-theme="light"] .settings-header,
:root[data-theme="light"] .settings-card,
:root[data-theme="light"] .settings-row,
:root[data-theme="light"] .settings-detail-sheet,
:root[data-theme="light"] .row,
:root[data-theme="light"] .wallpaper-button,
:root[data-theme="light"] .control-row,
:root[data-theme="light"] .header{border-color:rgba(0,0,0,.14)}
:root[data-theme="light"] .settings-card{border-color:rgba(0,0,0,.2)}
:root[data-theme="light"] .settings-value,
:root[data-theme="light"] .settings-chevron,
:root[data-theme="light"] .settings-footnote,
:root[data-theme="light"] .account-editor-form small,
:root[data-theme="light"] .account-editor-form input[readonly],
:root[data-theme="light"] .note,
:root[data-theme="light"] .helper-text{color:#666}
:root[data-theme="light"] .account-editor-form > label:not(.account-avatar-edit){color:#222}
:root[data-theme="light"] .account-editor-form input:not([type=file]){border-color:rgba(0,0,0,.3);background:#fff;color:#000}
:root[data-theme="light"] .account-editor-form input:focus{border-color:#000;box-shadow:0 0 0 3px rgba(0,0,0,.12)}
:root[data-theme="light"] .account-avatar-preview,
:root[data-theme="light"] .creator-avatar{border-color:#000;background:#eee;color:#000}
:root[data-theme="light"] .theme-choice{background:#f7f7f7;border-color:rgba(0,0,0,.15)}
:root[data-theme="light"] .create-topbar,
:root[data-theme="light"] .create-actions,
:root[data-theme="light"] .media-zone,
:root[data-theme="light"] .create-option,
:root[data-theme="light"] .audience-button,
:root[data-theme="light"] .create-close,
:root[data-theme="light"] .music-search{border-color:rgba(0,0,0,.2)}
:root[data-theme="light"] .create-close,
:root[data-theme="light"] .audience-button,
:root[data-theme="light"] .music-search,
:root[data-theme="light"] .music-result{background:#f2f2f2}
:root[data-theme="light"] .create-close:hover{background:#e6e6e6}
:root[data-theme="light"] .audience-button{color:#444}
:root[data-theme="light"] .media-zone{background:#fff}
:root[data-theme="light"] .media-zone.empty{background:linear-gradient(145deg,#f5f5f5,#fff)}
:root[data-theme="light"] .media-zone.empty::before{color:#555}
:root[data-theme="light"] .create-caption{border-bottom-color:rgba(0,0,0,.2)}
:root[data-theme="light"] .create-option{background:#f5f5f5;color:#222}
:root[data-theme="light"] .create-option strong{color:#000}
:root[data-theme="light"] .music-result:hover,
:root[data-theme="light"] .music-result:focus-visible{border-color:#000}
:root[data-theme="light"] .selected-music{border-color:rgba(0,0,0,.3);background:rgba(0,0,0,.06);color:#000}
:root[data-theme="light"] .composer-shell{border-color:rgba(0,0,0,.25);background:#f5f5f5}
:root[data-theme="light"] .chat-lock{background:rgba(255,255,255,.92)}
:root[data-theme="light"] .chat-lock-icon{border-color:rgba(0,0,0,.4)}
:root[data-theme="light"] .chat-lock-form button{border-color:#000;background:rgba(0,0,0,.06);color:#000}
:root[data-theme="light"] .wallpaper-preview{background:linear-gradient(135deg,#eee,#fff)}
:root[data-theme="light"] .toast{background:#fff}
