/* 40.andreasandrews.com: dark red-on-black by default (inherits /style.css); light mode is a warm, dim paper tone with no bright white. */
.theme-toggle{margin-left:1rem;padding:.3rem .8rem;background:transparent;color:var(--muted);border:1px solid #4a1013;border-radius:999px;font:inherit;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.theme-toggle:hover{color:var(--red-soft)}
.theme-toggle:focus-visible{outline:3px solid var(--red-soft);outline-offset:2px}
header{flex-wrap:wrap;gap:.5rem}
.hero h1 small{letter-spacing:.2em}
.gallery{grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));gap:1.25rem}

html[data-theme=light]{--red:#9c1118;--red-soft:#8a0f16;--ink:#d9cfc4;--panel:#e3d9ce;--text:#201414;--muted:#4f4141;color-scheme:light}
html[data-theme=light] .hero,html[data-theme=light] footer,html[data-theme=light] th,html[data-theme=light] td{border-color:#b9a99a}
html[data-theme=light] .facts{background:#b9a99a;border-color:#b9a99a}
html[data-theme=light] .sect,html[data-theme=light] .gallery img{border-color:#b9a99a}
html[data-theme=light] .teaser,html[data-theme=light] .theme-toggle,html[data-theme=light] .links a,html[data-theme=light] input[type=password],html[data-theme=light] .plain-btn{border-color:#8f7b6c}
html[data-theme=light] .links a:hover{background:#d3c6b9}
html[data-theme=light] input[type=password]{background:#e3d9ce}
html[data-theme=light] .bigbtn{color:#201414;background:linear-gradient(180deg,#e9ddd1,#d6c8ba);border-color:var(--red);box-shadow:0 0 0 4px #c9baab}
html[data-theme=light] .bigbtn:hover{background:linear-gradient(180deg,#eee2d6,#dccfc1);box-shadow:0 0 0 4px #bfae9e}
html[data-theme=light] .bigbtn-url{color:var(--red)}
html[data-theme=light] .bigbtn:focus-visible{outline-color:#201414}
html[data-theme=light] .bigbtn.copied{border-color:#1c6b3a;background:linear-gradient(180deg,#d3e2d3,#c3d6c5)}
html[data-theme=light] .bigbtn.copied .bigbtn-url{color:#14532d}
html[data-theme=light] .skip:focus{color:#fff}
html[data-theme=light] .gate button{color:#f2e9e9}
