/* Website chrome follows Jin's dark editorial system; printed artwork is preserved. */
:root, html, body { background: #090a09; color-scheme: dark; }
.room { grid-template-rows: minmax(0,1fr) auto; padding: 8px 24px 20px; }
.stage { padding: 8px 0; }
.book-rig { --available-height: max(150px, calc(100dvh - 160px)); }
.controls button { color: #eeeee7; background: transparent; border-color: #545851; }
.controls button:not(:disabled):hover { background: #20231f; border-color: #a3a69f; }
.controls button:not(:disabled):active { background: #30362c; }
.controls button:disabled { opacity: .35; }
.status span { color: #f2f2ec; }
.status small, .reader-options { color: #a3a69f; }
.reader-options { gap: 20px; align-items: center; }
.reader-options button { min-height: 36px; border: 0; padding: 4px 8px; background: none; color: #a3a69f; font: 400 12px/1.5 var(--book-sans); cursor: pointer; }
.reader-options button:hover { color: #f2f2ec; }
.reader-options button:disabled { opacity: .35; cursor: default; }
.reader-options label { min-height: 36px; }
.reader-options input { accent-color: #df432f; }
a:focus-visible, button:focus-visible, input:focus-visible { outline-color: #df432f; }
.book { filter: drop-shadow(0 16px 22px rgb(0 0 0 / 38%)); }
.art-page { color-scheme: light; }
.art-page figcaption { white-space: normal; max-width: 100%; text-wrap: balance; }
@media (max-width: 700px) {
 .room { padding: 0 16px 12px; }
 .book-rig { --available-height: max(150px, calc(100dvh - 160px)); }
 .reader-options { gap: 12px; }
 .reader-options label, .reader-options button { min-height: 44px; }
}
@media (max-height: 420px) {
 .room { padding: 0 12px 4px; }
 .book-rig { --available-height: max(120px, calc(100dvh - 90px)); }
 .stage { padding: 0; }
 .reader-options label, .reader-options button { min-height: 44px; }
 .reader-options { margin-top: 0; }
}

.status small { font-size: 12px; }
.reader-options { font-size: 12px; }
.reader-options input { width: 16px; height: 16px; }
