* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "PingFang SC", "Noto Sans SC", sans-serif; color: #2b2b2b; }
button { font: inherit; cursor: pointer; border: 1px solid #c9c2b8; background: #fff; border-radius: 8px; padding: 6px 12px; }
button.primary { background: #f08a3c; border-color: #f08a3c; color: #fff; }
button:disabled { opacity: .5; cursor: default; }
input, select, textarea { font: inherit; border: 1px solid #c9c2b8; border-radius: 6px; padding: 5px 8px; }

/* 一页画面：16:9，背景铺满，图层按比例定位 */
.stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e9e4dc; user-select: none; }
.stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-layer { position: absolute; }
.stage-shadow { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.stage-layer.missing { border: 2px dashed #b46; background: rgba(255, 255, 255, .7); color: #b46; font-size: 12px;
  display: flex; align-items: center; justify-content: center; text-align: center; }

/* 带拼音的文字：拼音小一号、颜色淡一点，行距拉开免得挤 */
.txt ruby { ruby-position: over; margin: 0 .04em; }
.txt ruby rt { font-size: .52em; color: #7a7268; font-weight: normal; letter-spacing: 0; }
.txt.py { line-height: 2.05 !important; }
