
html[data-theme="dim"] {
  --paper: #D2C2A4;
  --ink: #2C261F;
  --ink-soft: #4A4238;
  --ink-faint: #50483D;
  --rule: rgba(44, 38, 31, .17);
  --rule-strong: rgba(44, 38, 31, .32);
  --control-edge: rgba(44, 38, 31, .62);
  --control-wash: rgba(44, 38, 31, .05);
  --accent: #274D70;
  color-scheme: light;
}
html[data-theme="dim"] .section[data-ch="0"]   { --paper:#D0C1A2; --ink:#2C261F; --accent:#274D70; }
html[data-theme="dim"] .section[data-ch="1"]   { --paper:#CEBFA1; --ink:#2C261F; --accent:#274D70; }
html[data-theme="dim"] .section[data-ch="2"]   { --paper:#C9BDA4; --ink:#282B2E; --accent:#264A6B; }
html[data-theme="dim"] .section[data-ch="3"]   { --paper:#CEBD9E; --ink:#2E261F; --accent:#264A6B; }
html[data-theme="dim"] .section[data-ch="4"]   { --paper:#C8BEA8; --ink:#262B2F; --accent:#264A6B; }
html[data-theme="dim"] .section[data-ch="5"]   { --paper:#D1BF9E; --ink:#2E261F; --accent:#842D15; }
html[data-theme="dim"] .section[data-ch="6"]   { --paper:#D3C2A1; --ink:#2E281F; --accent:#892E16; }
html[data-theme="dim"] .section[data-ch="7"]   { --paper:#CBBFA6; --ink:#292C2F; --accent:#842D15; }
html[data-theme="dim"] .section[data-ch="8"]   { --paper:#CCBDA2; --ink:#2B2522; --accent:#842D15; }
html[data-theme="dim"] .section[data-ch="9"]   { --paper:#D4C3A2; --ink:#2E281F; --accent:#634619; }
html[data-theme="dim"] .section[data-ch="10"]  { --paper:#DACBAB; --ink:#2E2922; --accent:#6B4C1B; }
html[data-theme="dim"] .section[data-ch="fw"]  { --paper:#DCCDAF; --ink:#2E2922; --accent:#6B4C1B; }
html[data-theme="dim"] .plate-frame img,
html[data-theme="dim"] .pl-frame img,
html[data-theme="dim"] .img-slot img { filter: brightness(.93) sepia(.08); }
html[data-theme="dim"] .pl-plate:not(.is-lit) .pl-frame img {
  filter: brightness(.93) sepia(.08) saturate(.7) contrast(1.03);
}
.paper-menu {
  position: fixed; z-index: 900;
  min-width: 11.5rem; padding: .35rem .25rem;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column;
}
.paper-menu[hidden] { display: none; }
.paper-menu button {
  display: flex; justify-content: flex-start; align-items: baseline; gap: .45rem;
  min-height: 44px; padding: .5em .9em;
  border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--ui); font-size: var(--ap-md); font-weight: 500; letter-spacing: .01em;
  color: var(--ink-soft);
}
.paper-menu button:hover, .paper-menu button:focus-visible { color: var(--ink); }
.paper-menu button:focus-visible { outline: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.paper-menu button[aria-checked="true"] { color: var(--ink); font-weight: 600; }
.paper-menu button[aria-checked="true"]::after { content: '\2713'; order: 1; font-size: .85em; font-weight: 500; }
.paper-menu .paper-now { order: 2; margin-left: auto; padding-left: .8rem; font-size: var(--ap-md); font-weight: 400; color: var(--ink-faint); }
