/* Header controls and the optional light palette. Dark remains the default. */
.header-actions{display:flex;align-items:center;gap:10px;flex:1;max-width:500px;min-width:260px;margin-left:auto}
.header-actions .search-form{flex:1;min-width:0;max-width:none;margin-left:0}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #4c5a6e;border-radius:10px;background:#1b2735;color:#f1f5f9;font-weight:700;cursor:pointer;white-space:nowrap}
.theme-toggle:hover{border-color:var(--accent2);background:#263547}
.theme-icon{font-size:1.2rem;line-height:1}

html[data-theme="light"]{color-scheme:light;--bg:#f5f7fb;--surface:#fff;--surface2:#edf2f8;--line:#cbd6e2;--text:#172436;--muted:#526579;--accent:#b52d68;--accent2:#922456}
html[data-theme="light"] body{background:radial-gradient(circle at 85% -20%,#f9dae8 0,transparent 34%),var(--bg)}
html[data-theme="light"] .preview-bar{background:#f5dce7;color:#782344}
html[data-theme="light"] .site-header{background:#ffffffed}
html[data-theme="light"] .brand{color:var(--text)!important}
html[data-theme="light"] .brand-cam{color:#273143;text-shadow:none}
html[data-theme="light"] .brand-recordings{color:#a61f62;-webkit-text-stroke:0;text-shadow:0 0 8px #ea6ba05c}
html[data-theme="light"] .brand-domain{color:#7d3261;text-shadow:none}
html[data-theme="light"] .brand:hover .brand-recordings{color:#be2875;text-shadow:0 0 10px #f474af99}
html[data-theme="light"] .search-form{background:#fff;border-color:#b8c7d7}
html[data-theme="light"] .search-form input{color:var(--text)}
html[data-theme="light"] .search-form input::placeholder{color:#627488}
html[data-theme="light"] .search-form button{background:#af346b;color:#fff}
html[data-theme="light"] .search-form button:hover{background:#902453}
html[data-theme="light"] .theme-toggle{background:#fff;border-color:#b8c7d7;color:var(--text)}
html[data-theme="light"] .theme-toggle:hover{background:#f4e7ef;border-color:var(--accent)}
html[data-theme="light"] .poster{background:#e6ecf3;border-color:#c9d3df}
html[data-theme="light"] .poster-fallback{background:linear-gradient(135deg,#cfdae5,#ecc6d8)}
html[data-theme="light"] .poster-fallback span{background:#ac2c64;color:#fff}
html[data-theme="light"] .category-avatar{background:linear-gradient(135deg,#405d75,#854a66)}
html[data-theme="light"] .tag-row a{background:#e9eff5;border-color:#c6d2df}
html[data-theme="light"] .detail-copy p{color:#3c4d5e}
html[data-theme="light"] .ad-slot{background:#edf2f8;border-color:#9eacbd;color:#54677b}
html[data-theme="light"] .ad-slot strong{color:#26384b}
html[data-theme="light"] .site-footer{background:#eaf0f6}
html[data-theme="light"] .site-footer .footer-links a{color:#425a70}
html[data-theme="light"] .site-footer .footer-links a:hover{color:var(--accent2)}
html[data-theme="light"] .article-list article{background:#fff;border-color:var(--line)}
html[data-theme="light"] .article-list p,html[data-theme="light"] .age-exit p{color:#415468}
html[data-theme="light"] .article-list time,html[data-theme="light"] .text-page time{color:var(--muted)}
html[data-theme="light"] .article-body{border-color:var(--line);color:#33475c}
html[data-theme="light"] .legal-preview-note{background:#fff4e4;border-color:#d6af74;color:#68451f}
html[data-theme="light"] .read-more{color:var(--accent2)}
html[data-theme="light"] .live-profile-link{background:#fff2e2;border-color:#c79451;color:#764317}
html[data-theme="light"] .live-profile-link:hover{background:#ffe6c5;color:#643513}
html[data-theme="light"] .age-gate-card{background:#fff;border-color:#c8d3df;color:var(--text)}
html[data-theme="light"] .age-gate-card p{color:#405267}
html[data-theme="light"] .age-gate-card small{color:#53677b}
html[data-theme="light"] .age-gate-actions a{background:#e9eef4;color:#24384c}
html[data-theme="light"] .adblock-notice{background:#fff3ed;border-color:#d8a99a;color:#3d2925}
html[data-theme="light"] .hero-link{color:#fff!important}

@media(max-width:1060px){.header-actions{max-width:none}}
@media(max-width:700px){.header-actions{order:2;width:100%;min-width:0;margin-left:0}.theme-toggle{min-width:44px}}
@media(max-width:520px){.theme-label{display:none}.theme-toggle{padding:8px}}
