/* The original dark styles remain intact in styles.css. Light is an additive,
   scoped alternative: same content, geometry, game order and interactions. */
.prototype-tools{display:flex;align-items:center;gap:18px}
.theme-switch{display:flex;align-items:center;gap:3px;padding-left:14px;border-left:1px solid #3d4c60}
.theme-switch button{border:0;border-radius:5px;background:transparent;color:#b5c5d7;padding:5px 10px;font-size:.75rem;white-space:nowrap}
.theme-switch button[aria-pressed=true]{background:#d9f5ff;color:#103e57;font-weight:700}
html[data-theme=dark]{color-scheme:dark}
html[data-theme=light]{color-scheme:light;background:#edf4f9;color:#19344d;--bg:#edf4f9;--panel:#fff;--raised:#e1edf5;--muted:#536c82;--line:#cfdee9;--accent:#086ba0;--ink:#fff}
html[data-theme=light] body[data-brand=snilld]{--accent:#185dad;--ink:#fff}
html[data-theme=light] .prototype-bar{background:#dfeaf2;color:#47637b;border-color:#c4d5e2}
html[data-theme=light] .brand-switch button{color:#455f76}
html[data-theme=light] .brand-switch button[aria-pressed=true]{background:#fff;color:#19344d;box-shadow:0 1px 3px #17344d12}
html[data-theme=light] .theme-switch{border-color:#b5cbdc}
html[data-theme=light] .theme-switch button{color:#455f76}
html[data-theme=light] .theme-switch button[aria-pressed=true]{background:#086ba0;color:#fff}
html[data-theme=light] .header{background:#fffffff5;border-color:#cfdee9}
html[data-theme=light] .brand small{color:#48627b}
html[data-theme=light] .brand-mark{background:#0879b5;color:#fff}
html[data-theme=light] .search{background:#f1f6fa;border-color:#cbdce8;color:#496780}
html[data-theme=light] .search input{color:#19344d}
html[data-theme=light] .search input::placeholder{color:#526b81}
html[data-theme=light] .search kbd{background:#fff;border-color:#c2d4e2}
html[data-theme=light] .sidebar{background:#f8fbfe}
html[data-theme=light] .nav-link{color:#425f79}
html[data-theme=light] .nav-link:hover{background:#e8f2fa;color:#12557e}
html[data-theme=light] .nav-link.active{background:#d9eefb;color:#075c8b}
html[data-theme=light] .nav-label,html[data-theme=light] .sidebar-foot{color:#58728a}
html[data-theme=light] .sidebar-foot strong{color:#365570}
html[data-theme=light] .quiet-label,html[data-theme=light] .footer,html[data-theme=light] .breadcrumb{color:#526d84}
html[data-theme=light] .card{border-color:#d4e0e9;box-shadow:0 2px 5px #1f52760a}
html[data-theme=light] .card:hover{border-color:#6baacf;box-shadow:0 9px 22px #1f527625}
html[data-theme=light] .feature .card-caption{color:#fff}
html[data-theme=light] .feature .card-caption>span{background:#fff;color:#075c8b}
html[data-theme=light] .ad{border-color:#b4cbdc;color:#587187;background:repeating-linear-gradient(135deg,#e5eef5,#e5eef5 12px,#eaf2f7 12px,#eaf2f7 13px)}
html[data-theme=light] .ad strong{color:#48647c}
html[data-theme=light] .player-card{background:#fff;box-shadow:0 4px 22px #244c6810}
html[data-theme=light] .stage{color:#fff}
html[data-theme=light] .stage .primary-button{background:#0879b5;color:#fff}
html[data-theme=light] .player-tools{background:#fff}
html[data-theme=light] .tool{background:#f0f6fb;border-color:#c4d8e6;color:#254d6a}
html[data-theme=light] .tool:hover{background:#deedf8}
html[data-theme=light] .description,html[data-theme=light] .content-grid p,html[data-theme=light] .content-grid ul,html[data-theme=light] .faq details p,html[data-theme=light] .section>section>p{color:#425d74}
html[data-theme=light] dialog{background:#fff;color:#19344d;border-color:#b9d0e1;box-shadow:0 20px 100px #14344f55}
html[data-theme=light] dialog p{color:#425d74}
html[data-theme=light] dialog::backdrop{background:#142d486b}
html[data-theme=light] .player-card:fullscreen{background:#17293a}
@media(max-width:1100px){.prototype-note{display:none}}
@media(max-width:600px){.prototype-bar{height:68px;display:grid;grid-template-columns:auto 1fr;align-content:center;gap:3px 8px}.prototype-tools{display:contents}.brand-switch{justify-self:end}.theme-switch{grid-column:1/-1;justify-self:center;border:0;padding:0}.theme-switch button{padding:5px 16px}.sidebar.open{top:134px}}
