:root { color-scheme: dark; --bg: #151719; --text: #f2f4f3; --muted: #a2ada9; --line: #343b38; --surface: #202623; --surface-strong: #2c3530; --accent: #8cdda6; --glow: #8cdda6; --glow-soft: #8cdda614; }
:root[data-theme="light"] { color-scheme: light; --bg: #fff; --text: #202a24; --muted: #62746a; --line: #dbe4df; --surface: #f4f7f5; --surface-strong: #e9efec; --accent: #247744; --glow: #247744; --glow-soft: #24774410; }
* { box-sizing: border-box; letter-spacing: 0; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button, .submit-button { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 8px 12px; cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-header { min-height: 72px; padding: 16px max(20px, calc((100% - 1120px) / 2)); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-size: 24px; font-weight: 750; }
.site-header nav, #account { display: flex; align-items: center; gap: 16px; }
.gallery-shell { width: min(1120px, calc(100% - 40px)); margin: 32px auto; }
.section-title { margin: 0; font-size: 24px; }
.toolbar-search { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; background: var(--surface); }
.hint, .empty-state { color: var(--muted); }
.empty-state { padding: 24px 0; }
.submit-button { display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 600px) { .site-header { min-height: 64px; padding: 12px 20px; } .site-header nav, #account { gap: 10px; font-size: 13px; } .gallery-shell { margin-top: 24px; } }
