/* 原版舞台由 oracle.css 提供；这里只适配原生 dialog 与 PHP 状态。 */
#reading-page { min-height: 100svh; }
#reading-page.phase-draw .oracle-header-seal { display: none; }
#reading-page .oracle-question-field textarea:focus { outline: none; }
#reading-page .oracle-question-stage form > .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
#reading-page .form-error { text-align: center; margin: 12px auto; max-width: 640px; padding-inline: 16px; }
#reading-page .oracle-deck-card { touch-action: pan-y; }
#reading-page .oracle-deck-card:disabled { opacity: 1; }
#reading-page .oracle-fan-scroll { overflow: hidden; }
#reading-page .oracle-drawn-slot > button:disabled { cursor: default; opacity: 1; }
#reading-page .oracle-drawn-slot img { height: 100%; }
#reading-page .oracle-drawn-slot.is-filled > button { border: none; }
#reading-page [aria-busy="true"] .oracle-deck-card { cursor: wait; }
.oracle-pick-dialog:not([open]) { display: none; }
.oracle-pick-dialog::backdrop { background: transparent; }
.oracle-pick-dialog .oracle-pick-turn { height: 100%; }
.oracle-pick-dialog .oracle-pick-front img { height: 100%; }
.oracle-pick-dialog .oracle-pick-skip { color: #faf1e6; }
.oracle-pick-dialog .oracle-pick-caption { pointer-events: none; }
html.reading-flight-open { overflow: hidden; }
/* 暂停背景以降低手机洗牌时的绘制负载。 */
.celestial-backdrop[data-scene-paused="true"] * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  #reading-page .oracle-deck-card > span { transition: filter .12s; }
}
