/* The disc stays recognisable in either edition. Its larger hit area is invisible. */
.theme-toggle {
  display:inline-grid; place-items:center; flex:0 0 40px; width:40px; height:44px;
  padding:0; border:0; border-radius:4px; background:transparent; cursor:pointer;
}
.theme-toggle::before {
  content:""; width:20px; height:20px; border-radius:50%; box-sizing:border-box;
  background:linear-gradient(135deg,#f4e6c9 49.5%,#4a3024 50.5%);
  border:1px solid #ad967b; transition:transform .18s ease,box-shadow .18s ease;
}
.theme-toggle:hover::before,.theme-toggle:focus-visible::before {box-shadow:0 0 0 3px #ab8e6c32}
.theme-toggle[aria-pressed=true]::before {transform:rotate(180deg)}
.theme-toggle:focus-visible {outline:2px solid var(--gold);outline-offset:0}
@media(prefers-reduced-motion:reduce){.theme-toggle::before{transition:none}}
@media(max-width:480px){
  .mast,.site-header,.site-header .nav-wrap {gap:4px}
  .theme-toggle {flex-basis:32px;width:32px}
  .site-header .lang-switch button {padding-inline:5px}
  .site-header .lang-switch {padding:0}
  .site-header .menu-btn {padding-inline:4px}
}
:root[data-theme=light] {
  color-scheme:light;
  --bg:#f3ead8; --night:var(--bg); --paper:var(--bg);
  --panel:#f9f2e3; --night2:var(--panel); --glass:var(--panel);
  --ink:#372920; --cream:var(--ink); --soft:#594a3c; --muted:var(--soft);
  --quiet:#665545; --gold:#774622; --gold2:#684021; --rose:#875a42;
  --line:#c4b399;
  --paper-grain:url('paper-grain.png');
}
html[data-theme=light] body {
  background-color:var(--bg);
  background-image:var(--paper-grain),linear-gradient(90deg,#d4bc941a,transparent 9%,transparent 91%,#d4bc941a);
}
[data-theme=light] .site-header,[data-theme=light] .site-header.scrolled,[data-theme=light] .section-paper {background:transparent}
[data-theme=light] .page-hero,[data-theme=light] .work-hero {
  background:var(--paper-grain),linear-gradient(110deg,#e9dac0,#f4ead6 58%,#e8d9bc);
  border-color:var(--line);
}
[data-theme=light] .page-hero::after {background:#9b7547}
[data-theme=light] .work-hero-art {background:#e0cfb2;border-color:var(--line)}
[data-theme=light] .work-hero-art::after {background:linear-gradient(90deg,#eedfc75c,transparent 30%,transparent 70%,#eedfc75c)}
[data-theme=light] :is(.text-panel,.player,.side-card,.music-card,.variant-toolbar,.illustration-variant-toolbar) {background-color:var(--panel);background-image:var(--paper-grain)}
[data-theme=light] .photos {background:#fcf5e7;border-color:#a58b69}
[data-theme=light] .primary,[data-theme=light] .play,[data-theme=light] .btn-solid {background:#694328;color:#fff6e4}
[data-theme=light] .primary:hover,[data-theme=light] .play:hover {background:#51321f}
[data-theme=light] :is(.ico,.catalog-card,.row):hover,[data-theme=light] .row:focus-within {background-color:#8157230d}
[data-theme=light] .error {color:#873422}
[data-theme=light] .portrait-toggle__hint {color:#fff6e4}
[data-theme=light] .favorite-card {background:var(--panel)}
[data-theme=light] .favorite-card p,[data-theme=light] .favorites-empty p {color:var(--soft)}
[data-theme=light] .favorite-card a[style*="background-image"],[data-theme=light] .favorite-card a[style*="background-image"] p {color:#fff5e3}
[data-theme=light] .favorite-card a[style*="background-image"] small,[data-theme=light] .favorite-card>button {color:#f0d4a8}
[data-theme=light] .lightbox-close,[data-theme=light] .lightbox p {color:#fff5e5}
[data-theme=light] .feedback-fab {color:#fff5e5}

