.reader-load-notice {position:sticky;top:0;z-index:12;padding:.75rem clamp(1rem,5vw,3rem);background:var(--dark,#13283e);color:white}
.reader-load-notice[hidden] {display:none}
.reader-load-notice button,.reader-clear-actions button {padding:.65rem 1rem;min-height:44px}
.reader-privacy-tools {display:inline-flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.foot .reader-privacy-tools button {font:inherit;color:inherit;border:0;background:transparent;text-decoration:underline;cursor:pointer}
.reader-privacy-tools [role=status]:empty {display:none}
#clear-reader-dialog {width:min(32rem,calc(100vw - 2rem));padding:clamp(1.1rem,4vw,2rem);box-sizing:border-box;border:1px solid #6f8294;background:#faf8f3;color:#192c40}
#clear-reader-dialog::backdrop {background:rgba(7,18,31,.72)}
#clear-reader-dialog h2 {margin:0 0 .75rem}
#clear-reader-dialog p {line-height:1.6}
.reader-clear-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.6rem}

/* The seated tabletop already supplies the registered camera for Ermine. */
#reading-room[data-seat="desk"] .volume-setting:has(> .desk-companions--seated:not([hidden])) {
  background-image: none;
}


/* The room and its exterior registration use the same 1902-by-827 design grid. */
#reading-room .study-scene[data-painted-light]::after {
  content: "";
  position: absolute;
  left: 87.1713985%;
  top: 2.5392987%;
  width: 6.6246057%;
  height: 52.1160822%;
  background: var(--registered-study-window) center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
}
#reading-room .study-scene[data-painted-light="day"] {
  --registered-study-window: url("reading-window-day-r125.webp");
}
#reading-room .study-scene[data-painted-light="night"] {
  --registered-study-window: url("reading-window-night-r125.webp");
}
