/* Day theme — hand-tuned rules on top of the generated light-auto.css (tools/make_light_theme.py). */

/* day/night switch (both themes) */
.vly-theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex-shrink: 0; margin-left: 14px; padding: 0;
    border-radius: 10px; cursor: pointer;
    background: rgba(241,231,210,0.03);
    border: 1px solid rgba(183,139,81,0.30);
    color: #d7b383;
    transition: background .2s, border-color .2s, color .2s;
}
.vly-theme-toggle:hover { background: rgba(183,139,81,0.14); border-color: rgba(183,139,81,0.6); color: #e4be8b; }
.vly-theme-icon--moon { display: none; }
html[data-theme="light"] .vly-theme-icon--sun { display: none; }
html[data-theme="light"] .vly-theme-icon--moon { display: block; }
html[data-theme="light"] .vly-theme-toggle { background: #f1e7d2; border-color: rgba(149,110,59,0.28); color: #97703c; box-shadow: 0 1px 2px rgba(63,48,31,0.08); }
html[data-theme="light"] .vly-theme-toggle:hover { background: #d9bc96; border-color: rgba(149,110,59,0.55); }

/* page ground: clean warm paper instead of the remapped glow gradients */
html[data-theme="light"] body {
    background: linear-gradient(180deg, #ebe0c8 0%, #e5d9be 100%) !important;
    color: #3a2c1d;
}
html[data-theme="light"] { color-scheme: light; }
html[data-theme="light"] .vy-particles { opacity: .35; }
html[data-theme="light"] .vy-trail { display: none; }

/* sidebar box titles: deep crimson instead of remapped gold */
html[data-theme="light"] .box-header h3,
html[data-theme="light"] .vly-widget-title { color: #866437 !important; }

/* text on red fills stays white */
html[data-theme="light"] .download-button,
html[data-theme="light"] .download-button i,
html[data-theme="light"] .header-login-btn,
html[data-theme="light"] .btn-primary { color: #f1e7d2 !important; }

/* server status toast (styles injected by server-status.js) */
html[data-theme="light"] .status-notification { background: #f1e7d2; box-shadow: 0 6px 20px rgba(63,48,31,.14); }
html[data-theme="light"] .status-notification span { color: #3a2c1d; }

/* downloads hero sits on artwork: keep it a dark band in both themes */
html[data-theme="light"] body.page_downloads .dl-hero { background: linear-gradient(180deg, #35281c, #160d0f) !important; }
html[data-theme="light"] body.page_downloads .dl-hero h1,
html[data-theme="light"] body.page_downloads .dl-lead,
html[data-theme="light"] body.page_downloads .dl-btn--secondary { color: #e2d5b9; }
html[data-theme="light"] body.page_downloads .dl-hero > .dl-hero-media { background: #160d0f; }
html[data-theme="light"] body.page_downloads .dl-hero-media::after { background: linear-gradient(180deg, rgba(22,13,15,.55) 0%, rgba(22,13,15,.78) 70%, rgba(22,13,15,.9) 100%); }
html[data-theme="light"] body.page_downloads .dl-eyebrow { color: #f2c44d; }
html[data-theme="light"] body.page_downloads .dl-lead strong,
html[data-theme="light"] body.page_downloads .dl-eyebrow i { color: #d7b383; }
html[data-theme="light"] body.page_downloads .dl-hint { color: #cdcdcd; }
