/* Stage geometry and palette adapted from the existing storybook reading room. */
.stage-room {
  --lib-night: #16100c;
  --lib-night-raised: #21170f;
  --lib-night-line: rgba(243, 217, 149, .14);
  --lib-paper: #f8efdd;
  --lib-paper-2: #f1e4c9;
  --lib-paper-edge: #dcc7a0;
  --lib-ink: #2a1f17;
  --lib-ink-soft: #5c4a3b;
  --lib-ink-faint: #8a7560;
  --lib-cream: #f6ead2;
  --lib-cream-soft: rgba(246, 234, 210, .78);
  --lib-cream-faint: rgba(246, 234, 210, .56);
  --lib-gold: #d9b56d;
  --lib-gold-bright: #f3d995;
  --lib-accent: #be5535;
  --lib-accent-ink: #fff;
  --lib-lamp-rgb: 255, 190, 115;
  --lib-font-book: Georgia, 'Times New Roman', serif;
  --lib-font-hanzi: 'Songti SC', 'STSong', 'SimSun', serif;
  --font-chinese: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-sans: 'Trebuchet MS', 'Lucida Sans Unicode', sans-serif;
  --lib-ease: cubic-bezier(.22, 1, .36, 1);
  display: none;
  color: var(--lib-cream);
  background: var(--lib-night);
}
body[data-reader-view='stage'] { overflow: hidden; overscroll-behavior: none; background: #16100c; }
body[data-reader-view='stage'] > .site-header,
body[data-reader-view='stage'] > .site-footer,
body[data-reader-view='stage'] > .reader-main { display: none; }
body[data-reader-view='stage'] .stage-room {
  position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column;
  overflow: hidden; min-height: 0; padding-top: env(safe-area-inset-top, 0px);
  height: 100vh; height: 100dvh; overscroll-behavior: none;
}
body[data-reader-view='dialogue'] .stage-room { display: none; }
.stage-room [hidden] { display: none !important; }
.stage-room button { border: 0; background: none; font-family: var(--font-sans); }
.stage-room button:disabled { cursor: default; }
.stage-room button:focus-visible,
.stage-room a:focus-visible,
.stage-room summary:focus-visible,
.stage-room select:focus-visible,
.stage-room input:focus-visible { outline: 2px solid var(--lib-gold-bright); outline-offset: 3px; }
.stage-reader-bar, .stage-room .lib-reader-bar {
  position: relative; z-index: 10; display: flex; align-items: center; gap: 18px; flex: none;
  width: min(1280px, calc(100% - 48px)); margin: 0 auto; min-height: 74px; padding: 12px 0;
}
.stage-reader-back { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; color: var(--lib-cream); border-radius: 50%; text-decoration: none; box-shadow: inset 0 0 0 1px var(--lib-night-line); }
.stage-reader-back svg { width: 20px; height: 20px; }
.stage-reader-title { min-width: 0; flex: 1; color: var(--lib-cream); }
.stage-reader-title h1, h1.stage-reader-title { font: 500 17px/1.25 var(--lib-font-book); letter-spacing: -.015em; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-reader-title p, .stage-reader-title small { display: block; font-size: 10px; line-height: 1.5; color: var(--lib-cream-faint); margin-top: 4px; letter-spacing: .035em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-view-tabs, .stage-room .lib-view-switch--tabs { display: flex; align-items: center; flex: none; border-radius: 999px; padding: 4px; background: rgba(246, 234, 210, .05); box-shadow: inset 0 0 0 1px var(--lib-night-line); }
.stage-view-tabs button, .stage-room .lib-view-switch--tabs button { min-width: 86px; min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--lib-cream-soft); }
.stage-view-tabs button[aria-pressed='true'], .stage-view-tabs button[aria-selected='true'],
.stage-room .lib-view-switch--tabs button[aria-pressed='true'] { background: var(--lib-gold); color: var(--lib-night); }
.stage-transcript-toggle { min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--lib-cream-soft); box-shadow: inset 0 0 0 1px var(--lib-night-line); font-size: 11px; font-weight: 700; }
.stage-transcript-toggle[aria-pressed='true'] { color: var(--lib-gold-bright); box-shadow: inset 0 0 0 1px rgba(243, 217, 149, .35); }
.stage-help-controls { display: flex; align-items: center; gap: 6px; flex: none; }
.stage-room .stage-help-controls [data-stage-toggle] { min-height: 36px; padding: 0 11px; border-radius: 999px; color: var(--lib-cream-soft); font-size: 11px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--lib-night-line); }
.stage-room .stage-help-controls [data-stage-toggle][aria-pressed='true'] { color: var(--lib-night); background: var(--lib-gold); box-shadow: none; }
.reader-view-switch { min-height: 40px; padding: 0 16px; border: 1px solid #e4d7c6; border-radius: 999px; font-size: 12px; color: #a25b37; background: #f7e9d3; white-space: nowrap; }
.stage-room .chapter-menu, .stage-chapter-menu { position: relative; color: var(--lib-cream-soft); flex: none; font-size: 11px; }
.stage-room .chapter-menu summary, .stage-chapter-menu summary { color: var(--lib-cream-soft); border-color: var(--lib-night-line); min-height: 44px; padding: 10px 15px; gap: 12px; }
.stage-chapter-menu summary { cursor: pointer; list-style: none; border: 1px solid var(--lib-night-line); border-radius: 999px; display: flex; align-items: center; }
.stage-chapter-menu summary::-webkit-details-marker { display: none; }
.stage-chapter-menu ol { position: absolute; z-index: 20; right: 0; top: 100%; width: min(340px, 85vw); overflow: auto; list-style: none; padding: 12px; margin: 10px 0 0; border: 1px solid var(--lib-paper-edge); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.stage-chapter-menu a { display: block; padding: 12px; text-decoration: none; border-radius: 8px; line-height: 1.5; }
.stage-room .chapter-menu ol, .stage-chapter-menu ol { color: var(--lib-ink); background: var(--lib-paper); border-color: var(--lib-paper-edge); max-height: min(60dvh, 480px); }
.stage-room .chapter-menu a, .stage-chapter-menu a { color: var(--lib-ink-soft); }
.stage-room .chapter-menu a:hover, .stage-room .chapter-menu a[aria-current], .stage-chapter-menu a[aria-current] { background: var(--lib-paper-2); color: var(--lib-ink); }
.lib-stage-wrap { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 0; width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding-bottom: 12px; }
.lib-stage {
  --stage-fill: var(--stage-h, max(0px, calc(100dvh - 224px)));
  position: relative; overflow: hidden; isolation: isolate; flex: 1 1 auto; min-height: 0; height: auto;
  width: 100%; background: #0c0907; margin-inline: auto;
}
.lib-stage__canvas { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; transition: transform .9s var(--lib-ease); will-change: transform; }
.lib-stage__canvas.is-entering { animation: lib-stage-in .35s ease both; }
@keyframes lib-stage-in { from { opacity: 0; } to { opacity: 1; } }
.lib-stage__base { display: block; width: 100%; height: auto; max-width: none; transition: filter .45s ease; }
.lib-stage[data-dim='full'] .lib-stage__base { filter: brightness(.42) saturate(.75); }
.lib-stage[data-dim='soft'] .lib-stage__base { filter: brightness(.68) saturate(.85); }
.lib-stage__actor { position: absolute; max-width: none; opacity: 0; pointer-events: none; transform-origin: 50% 100%; transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1), filter .45s ease; }
.lib-stage__actor.is-on { opacity: 1; transform: translateY(-1.2%) scale(1.035); filter: brightness(1.07) drop-shadow(0 0 2px rgba(255, 228, 176, .95)) drop-shadow(0 0 14px rgba(255, 186, 96, .75)) drop-shadow(0 0 36px rgba(255, 150, 60, .45)); }
.lib-stage__teller { position: absolute; left: -2%; bottom: 0; z-index: 2; height: 66%; width: auto; max-width: none; pointer-events: none; opacity: 0; transform: translateY(104%); filter: brightness(.6); transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .35s ease, filter .45s ease; }
.lib-stage__teller.is-on { opacity: 1; transform: translateY(0); filter: brightness(1.05) drop-shadow(0 0 2px rgba(255, 228, 176, .95)) drop-shadow(0 0 16px rgba(255, 186, 96, .7)); }
.lib-stage__voice { position: absolute; left: 14px; bottom: calc(var(--caption-h, 120px) + 12px); z-index: 5; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--who, #5b3a24); pointer-events: none; box-shadow: 0 0 0 3px rgba(255, 244, 220, .98), 0 0 0 6px rgba(255, 196, 120, .55), 0 0 22px 8px rgba(255, 186, 96, .75), 0 12px 26px -8px rgba(0, 0, 0, .75); animation: lib-voice-in .42s cubic-bezier(.2, .7, .2, 1) both, lib-voice-glow 2.2s ease-in-out .42s infinite; }
.lib-stage__voice-face { display: block; width: 100%; height: 100%; max-width: none; border-radius: 50%; object-fit: cover; background-repeat: no-repeat; background-color: #f3ead8; }
.lib-stage__voice-mono { font: 700 28px/1 var(--lib-font-hanzi); color: #fff8ec; }
@keyframes lib-voice-in { from { opacity: 0; transform: translateY(10px) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes lib-voice-glow { 0%, 100% { box-shadow: 0 0 0 3px rgba(255, 244, 220, .98), 0 0 0 6px rgba(255, 196, 120, .55), 0 0 22px 8px rgba(255, 186, 96, .75), 0 12px 26px -8px rgba(0, 0, 0, .75); } 50% { box-shadow: 0 0 0 3px rgba(255, 248, 230, 1), 0 0 0 7px rgba(255, 206, 130, .7), 0 0 34px 14px rgba(255, 186, 96, .9), 0 12px 26px -8px rgba(0, 0, 0, .75); } }
.lib-stage__chip { position: absolute; top: 12px; left: 12px; z-index: 4; max-width: calc(100% - 164px); padding: 8px 13px; border-radius: 999px; background: rgba(14, 10, 8, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #f6eedf; font-size: 13px; font-weight: 650; line-height: 1.25; transition: opacity .4s ease; }
.lib-stage__chip.is-hidden { opacity: 0; pointer-events: none; }
.lib-stage__opts { position: absolute; top: 10px; right: 10px; z-index: 4; display: flex; gap: 6px; }
.stage-room .lib-stage__opt, .lib-stage__opts [data-stage-toggle] { min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 11px; font-weight: 700; color: rgba(246, 238, 223, .72); background: rgba(14, 10, 8, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(246, 238, 223, .2); }
.stage-room .lib-stage__opt[aria-pressed='true'], .lib-stage__opts [data-stage-toggle][aria-pressed='true'] { color: var(--lib-night); background: var(--lib-gold); box-shadow: none; }
.lib-stage__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 6px 16px 16px; max-height: calc(100% - 72px); overflow-y: auto; scrollbar-width: thin; color: #f6eedf; background: linear-gradient(180deg, #2e1e14, #1c120c); }
.lib-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: var(--caption-h, 0px); z-index: 3; height: 88px; pointer-events: none; background: linear-gradient(180deg, rgba(46, 30, 20, 0) 0%, rgba(46, 30, 20, .2) 30%, rgba(46, 30, 20, .62) 64%, #2e1e14 100%); }
.lib-stage__who { display: flex; align-items: baseline; gap: 7px; margin: 0 0 2px; color: #f2a384; }
.lib-stage__who b { font-family: var(--font-chinese); font-size: 15px; font-weight: 500; }
.lib-stage__who span { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.lib-who-text-0 { color: #f2a384; }
.lib-who-text-1 { color: #a3cdbb; }
.lib-who-text-2 { color: #c7c1f4; }
.lib-who-text-3 { color: #eccb7f; }
.lib-stage__text { font-family: var(--font-chinese); font-size: 22px; font-weight: 500; line-height: 2.2; letter-spacing: .02em; word-break: normal; line-break: strict; overflow-wrap: anywhere; }
.lib-stage__pinyin { font-size: 12.5px; line-height: 1.65; color: #e3d4bb; margin: 0 0 7px; letter-spacing: -.015em; }
.lib-stage__en { margin: 2px 0 0; font-size: 17px; line-height: 1.4; color: #eadfcb; }
.lib-stage[data-compact='true'] .lib-stage__text { font-size: 19px; line-height: 2; }
.lib-stage[data-compact='true'] .lib-stage__en { font-size: 15px; }
.lib-stage[data-compact='true'] .lib-stage__caption { padding-top: 4px; padding-bottom: 12px; }
.lib-stage__notice { position: absolute; left: 12px; right: 12px; top: 64px; z-index: 5; margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(14, 10, 8, .78); color: var(--lib-gold-bright); font-size: 14px; font-weight: 600; text-align: center; }
.lib-stage__tap { position: absolute; inset: 0; z-index: 2; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lib-stage__flash { position: absolute; left: 50%; top: max(84px, calc((100% - var(--caption-h, 0px)) / 2)); z-index: 4; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; pointer-events: none; background: color-mix(in srgb, var(--lib-ink) 58%, transparent); color: var(--lib-paper); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: lib-stage-flash 700ms var(--lib-ease) both; }
.lib-stage__flash svg { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.lib-stage__flash[data-glyph='play'] svg { margin-left: 4px; }
@keyframes lib-stage-flash { 0% { opacity: 0; transform: scale(.75); } 22% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
.lib-stage__start { position: absolute; left: 50%; top: max(84px, calc((100% - var(--caption-h, 0px)) / 2)); z-index: 4; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 12px; padding: 10px; color: #fff; }
.lib-stage__start-disc { position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--lib-accent); color: var(--lib-accent-ink); }
.lib-stage__start-label { font-size: 16px; font-weight: 800; text-shadow: 0 1px 10px rgba(0, 0, 0, .85); }
.stage-transcript { display: none; }
.stage-transcript__heading { font: 500 18px/1.3 var(--lib-font-book); padding: 12px 12px 16px; color: var(--lib-ink-soft); }
.stage-room .stage-transcript__line { display: block; width: 100%; text-align: left; padding: 13px 14px; border-radius: 10px; color: var(--lib-ink); transition: background-color .3s ease; }
.stage-transcript__line + .stage-transcript__line { margin-top: 4px; }
.stage-room .stage-transcript__line.is-active { background: rgba(var(--lib-lamp-rgb), .2); }
.stage-room .stage-transcript__line:hover { background: rgba(var(--lib-lamp-rgb), .13); }
.stage-transcript__line:focus-visible { outline-color: #b8392f !important; outline-offset: -2px !important; }
.stage-transcript__speaker { display: block; font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .02em; color: var(--lib-ink-faint); margin-bottom: 4px; }
.stage-transcript__zh { display: block; font-family: var(--font-chinese); font-size: 20px; line-height: 2; letter-spacing: .02em; overflow-wrap: anywhere; }
.stage-transcript__pinyin { display: block; font-size: 12.5px; line-height: 1.65; color: var(--lib-ink-soft); margin-top: 3px; }
.stage-transcript__en { display: block; font-size: 15px; line-height: 1.5; color: var(--lib-ink-soft); margin-top: 5px; }
.stage-room .lib-dock { position: relative; flex: none; bottom: 0; z-index: 40; margin-top: 0; color: var(--lib-cream); color-scheme: dark; padding: 8px 18px calc(12px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: linear-gradient(180deg, var(--lib-night-raised), var(--lib-night)); box-shadow: 0 -1px 0 var(--lib-night-line), 0 -18px 40px -22px rgba(0, 0, 0, .8); }
.lib-dock__inner { max-width: 560px; margin: 0 auto; }
.lib-dock__track input[type='range'], .lib-dock input[data-seek] { display: block; width: 100%; height: 28px; accent-color: var(--lib-accent); cursor: pointer; margin: 0; }
.lib-dock__time { display: flex; justify-content: space-between; margin-top: -2px; font-size: 12px; font-weight: 600; color: var(--lib-cream-soft); font-variant-numeric: tabular-nums; }
.lib-dock__controls { display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-items: center; gap: 14px; margin-top: 2px; }
.stage-room .lib-dock__play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--lib-accent); color: var(--lib-accent-ink); box-shadow: 0 10px 24px -8px rgba(220, 121, 86, .75); flex: 0 0 auto; font-size: 24px; padding: 0; }
.stage-room .lib-dock__btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--lib-cream); flex: 0 0 auto; font-size: 21px; padding: 0; }
.lib-dock__play svg { width: 28px; height: 28px; }
.lib-dock__btn svg { width: 22px; height: 22px; }
.lib-dock__btn:disabled { opacity: .3; }
.lib-dock__play:active, .lib-dock__btn:active { transform: scale(.94); }
.lib-dock__speedwrap { position: relative; justify-self: start; }
.stage-room .lib-dock__speed, .stage-room .stage-speed { min-width: 58px; height: 40px; border: 0; padding: 0 10px; border-radius: 999px; font: 800 14px/1 var(--font-sans); color: var(--lib-cream); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(246, 234, 210, .3); cursor: pointer; }
.stage-room select.stage-speed { justify-self: start; width: 66px; }
.lib-dock__speed option, .stage-speed option { background: var(--lib-night-raised); color: var(--lib-cream); }
.lib-dock__position, .lib-dock__repeat { justify-self: end; font-size: 11px; color: var(--lib-cream-faint); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .stage-reader-back:hover, .stage-room .lib-dock__btn:hover, .stage-room .lib-dock__speed:hover { background: rgba(246, 234, 210, .1); } }
@media (min-width: 640px) { .lib-stage { border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .75); } }
@media (min-width: 900px) { .lib-stage { width: min(100%, max(560px, calc(var(--stage-fill) * .75))); } }
@media (min-width: 1100px) {
  .lib-stage-wrap--with-text { flex-direction: row; justify-content: center; gap: 24px; }
  .lib-stage-wrap--with-text .lib-stage { flex: 0 1 auto; margin-inline: 0; }
  .lib-stage-wrap--with-text .stage-transcript { position: relative; display: block; flex: 0 1 440px; min-width: 320px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 8px 14px 10px; border-radius: 22px; color: var(--lib-ink); background: var(--lib-paper); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .75); scrollbar-width: thin; scrollbar-color: var(--lib-paper-edge) transparent; }
}
@media (max-width: 1099px) { .stage-transcript-toggle { display: none; } }
@media (max-width: 899px) {
  .stage-reader-bar, .stage-room .lib-reader-bar { gap: 10px; width: calc(100% - 24px); }
  .stage-reader-title h1, h1.stage-reader-title { font-size: 15px; }
  .stage-view-tabs button, .stage-room .lib-view-switch--tabs button { min-width: 65px; padding: 0 12px; }
  .lib-stage-wrap { width: calc(100% - 24px); }
}
@media (max-width: 639px) {
  .stage-reader-bar, .stage-room .lib-reader-bar { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 7px; min-height: 104px; padding-block: 8px; }
  .stage-reader-back { width: 40px; height: 40px; }
  .stage-reader-title { grid-column: 2; grid-row: 1; }
  .stage-reader-title h1, h1.stage-reader-title { font-size: 14px; }
  .stage-reader-title p, .stage-reader-title small { font-size: 9px; }
  .stage-view-tabs, .stage-room .lib-view-switch--tabs { grid-column: 1 / 3; grid-row: 2; justify-self: start; padding: 3px; }
  .stage-view-tabs button, .stage-room .lib-view-switch--tabs button { min-height: 34px; min-width: 74px; font-size: 11px; }
  .stage-room .chapter-menu, .stage-chapter-menu { grid-column: 3; grid-row: 2; font-size: 10px; }
  .stage-help-controls { grid-column: 3; grid-row: 1; }
  .stage-room .stage-help-controls [data-stage-toggle] { min-height: 32px; padding-inline: 9px; font-size: 10px; }
  .stage-room .chapter-menu summary, .stage-chapter-menu summary { min-height: 40px; padding: 8px 11px; gap: 8px; }
  .lib-stage-wrap { width: 100%; padding-bottom: 10px; }
}
@media (max-width: 480px) {
  .stage-room .lib-dock { padding: 6px 14px calc(10px + env(safe-area-inset-bottom)); }
  .lib-dock__controls { gap: 8px; }
  .lib-dock__time { font-size: 11px; }
  .lib-dock__position { font-size: 9px; }
}
@media (max-width: 380px) {
  .lib-stage__voice { width: 72px; height: 72px; }
  .lib-stage__text { font-size: 20px; }
  .lib-stage__en { font-size: 16px; }
  .stage-room .lib-stage__opt, .lib-stage__opts [data-stage-toggle] { padding-inline: 10px; font-size: 10px; }
}
@media (max-width: 480px) and (max-height: 720px) {
  .lib-stage { display: flex; flex-direction: column; }
  .lib-stage__caption { position: relative; flex: none; margin-top: auto; max-height: calc(100% - 72px); overflow-y: auto; }
  .lib-stage__start { position: relative; left: auto; top: auto; flex: none; margin: auto auto 0; padding: 4px; transform: none; }
  .lib-stage__start-disc { width: 64px; height: 64px; }
  .lib-stage__start-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (max-width: 380px) and (max-height: 700px) {
  .lib-stage__caption { padding: 6px 12px 10px; }
  .lib-stage__who { margin-bottom: 0; }
  .lib-stage__who b { font-size: 13px; }
  .lib-stage__text { font-size: 19px; line-height: 1.72; }
  .lib-stage__pinyin { font-size: 11.5px; line-height: 1.5; }
  .lib-stage__en { font-size: 14px; line-height: 1.3; }
  .stage-reader-bar, .stage-room .lib-reader-bar { min-height: 98px; }
}
@media (max-width: 380px) and (max-height: 680px) { .lib-stage__chip { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .lib-stage__canvas, .lib-stage__actor, .lib-stage__teller, .lib-stage__base, .stage-transcript__line { transition: none; }
  .lib-stage__canvas.is-entering, .lib-stage__voice { animation: none; }
  .lib-stage__flash { animation: none; }
}
