/* Shared interface palette; intentionally excludes canvases, image pixels and export views. */
:root{--site-background:#f6f4f0;--site-surface:#fff;--site-text:#211b29;--site-accent:#80648f;--site-on-accent:#fff}
html.pixel-shared-theme:not([data-pixel-theme=night]){--paper:var(--site-background);--ink:var(--site-text);--accent:var(--site-accent);--purple:var(--site-accent);--muted:color-mix(in srgb,var(--site-text) 72%,var(--site-background));--border:color-mix(in srgb,var(--site-text) 18%,var(--site-background));--line:var(--border);--soft:color-mix(in srgb,var(--site-accent) 9%,var(--site-surface));background:var(--site-background);color:var(--site-text)}
html.pixel-shared-theme:not([data-pixel-theme=night]) body{background:var(--site-background);color:var(--site-text)}
html.pixel-shared-theme:not([data-pixel-theme=night]) .relief-shell{--paper:var(--site-surface);--page:var(--site-background)}
html.pixel-shared-theme:not([data-pixel-theme=night]) .pixel-showcase .hero h1 em{color:var(--site-accent)}
html.pixel-shared-theme:not([data-pixel-theme=night]) .pixel-showcase .button:not(.light){background:var(--site-accent);color:var(--site-on-accent)}
html.pixel-shared-theme:not([data-pixel-theme=night]) :is(.portal-header,.gallery-header,body>header,.sources,.settings,.card,.plan,.plan-card,.gallery-form,.relief-controls,.relief-sidebar){background:var(--site-surface);color:var(--site-text);border-color:var(--line)}
html.pixel-shared-theme:not([data-pixel-theme=night]) :is(.brand,label,summary){color:var(--site-text)}
html.pixel-shared-theme:not([data-pixel-theme=night]) :is(.primary,.gallery-button,.gallery-form>button){background:var(--site-accent);color:var(--site-on-accent);border-color:var(--site-accent)}
html.pixel-shared-theme:not([data-pixel-theme=night]) :is(.button:not(.light),.nav-cta){border-color:var(--line)}
html.pixel-shared-theme:not([data-pixel-theme=night]) :is(input:not([type=range]):not([type=color]):not([type=checkbox]),select,textarea){background:var(--site-surface);color:var(--site-text);border-color:var(--line)}
html.pixel-shared-theme:not([data-pixel-theme=night]) :is(.tabs button.selected,.preparation-tabs [aria-selected=true]){background:var(--soft);color:var(--site-text)}
html.pixel-shared-theme:not([data-pixel-theme=night]) .quiet{color:var(--site-text)}
.pixel-season-layer{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:40;contain:strict}
.pixel-season-layer span{position:absolute;top:-40px;left:var(--x);font-size:19px;opacity:.45;animation:pixel-season-fall var(--duration) linear var(--delay) infinite;will-change:transform}
.pixel-season-layer.is-paused span{animation-play-state:paused}
@keyframes pixel-season-fall{from{transform:translate3d(0,-40px,0) rotate(0)}to{transform:translate3d(30px,calc(100vh + 80px),0) rotate(140deg)}}
.pixel-season-toggle{position:fixed;bottom:12px;left:12px;z-index:50;padding:8px 12px;border:1px solid var(--site-accent);border-radius:24px;background:var(--site-surface);color:var(--site-text);font:12px Arial,sans-serif;min-height:36px;cursor:pointer}
.pixel-season-toggle[hidden]{display:none!important}
.pixel-gallery-manager .gallery-main h1{font-size:clamp(30px,4vw,46px);line-height:1.15;letter-spacing:-1.4px;margin:18px 0 24px}
.pixel-theme-form .theme-colours{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pixel-theme-form input[type=color]{height:48px;width:100%;padding:4px}.pixel-theme-form .actions{flex-wrap:wrap}.pixel-theme-sample{padding:24px;border:1px solid var(--line);border-radius:12px;margin:20px 0;background:var(--site-background);color:var(--site-text)}
@media(prefers-reduced-motion:reduce){.pixel-season-layer,.pixel-season-toggle{display:none!important}}
@media print{.pixel-season-layer,.pixel-season-toggle{display:none!important}}
