/* SLYTH themes v12
   brand.js sets each theme's palette (surfaces, accent, text-on-accent), backdrop scene and logo blue.
   This file gives each theme its border tint, active and hover states and icon colour, so a theme changes the
   feel of the whole site while the layout, type and blue SLYTH mark stay the same. No theme adds glow,
   gradients on controls or decorative effects. */

.bg-photo{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.45}

/* shared: theme-tinted hairlines, active nav, hover borders, focus */
html{--tint:var(--accent)}
.nav-links>a.on,.dd-btn.on{background:color-mix(in srgb,var(--tint) 12%,transparent);color:var(--ink)}
.card:hover,.sf-panel:hover{border-color:color-mix(in srgb,var(--tint) 16%,var(--line2))}
.ico{color:var(--accent)}
.seg button.on{background:var(--surface3);color:var(--ink)}
.seg button.on .i{color:var(--accent)}
.tbl tbody tr:hover{background:color-mix(in srgb,var(--tint) 4%,transparent)}
.in:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent)}
.switch input:checked+span{background:var(--accent2)}

/* icon tile styles (Website customization → Themes → icon style) */
html.ico-outline .ico{background:transparent;border-color:color-mix(in srgb,var(--c,var(--accent)) 40%,transparent)}
html.ico-solid .ico{color:var(--on);background:var(--c,var(--accent));border-color:transparent}

/* FROST: cool silver hairlines */
html[data-theme=frost]{--line:rgba(203,220,243,.08);--line2:rgba(203,220,243,.15)}

/* MIDNIGHT: almost black, violet-tinted lines */
html[data-theme=midnight]{--line:rgba(180,170,255,.07);--line2:rgba(180,170,255,.14);--tint:#a78bfa}

/* AURORA: teal lines, violet as the second accent */
html[data-theme=aurora]{--line:rgba(160,240,220,.07);--line2:rgba(160,240,220,.14);--tint:#5eead4}
html[data-theme=aurora] .eyebrow{color:#7ff0dc}

/* CHRISTMAS: restrained red for actions, pine green for highlights */
html[data-theme=christmas]{--line:rgba(220,240,230,.075);--line2:rgba(220,240,230,.14);--tint:#4ea771}
html[data-theme=christmas] .eyebrow,html[data-theme=christmas] .ico{color:#7cc99a}
html[data-theme=christmas] .chip.on{color:#fff}

/* HALLOWEEN: charcoal, purple lines, orange only for actions */
html[data-theme=halloween]{--line:rgba(190,170,230,.08);--line2:rgba(190,170,230,.15);--tint:#9d7cd8}
html[data-theme=halloween] .eyebrow{color:#c4a8f0}

/* VALENTINE'S: rose lines, softer corners */
html[data-theme=valentine]{--r:14px;--line:rgba(250,190,215,.075);--line2:rgba(250,190,215,.15)}

/* SPRING: green lines, blossom pink as a quiet second colour */
html[data-theme=spring]{--line:rgba(200,240,210,.075);--line2:rgba(200,240,210,.14)}
html[data-theme=spring] .badge.info{color:#ffd0e4;background:rgba(242,167,200,.12);border-color:rgba(242,167,200,.28)}

/* SUMMER: clear blue, gold for highlights */
html[data-theme=summer]{--line:rgba(190,225,255,.08);--line2:rgba(190,225,255,.15)}
html[data-theme=summer] .eyebrow{color:#f5c869}

/* AUTUMN: warm neutral lines */
html[data-theme=autumn]{--line:rgba(245,215,180,.075);--line2:rgba(245,215,180,.14)}

/* OCEAN: aqua lines */
html[data-theme=ocean]{--line:rgba(160,235,250,.075);--line2:rgba(160,235,250,.14)}

@media (prefers-reduced-motion:reduce){.world{transition:none}}
