/* 097 · A director's rehearsal instrument, not a generated film.
   Only this feature's nodes are styled. Original video, anchors and review grids
   retain their existing layout and state. All motion is driven by the client. */
@media screen {
 /* Original appearance retains its original text choices, with no unstyled instrument. */
 body:not(.studio-world-ui) .rehearsal-stage,body:not(.studio-world-ui) .rehearsal-receipt {display:none!important}
 /* Compact only the new rehearsal task: show the stage before the first fold. */
 body.studio-world-ui #main:has(.rehearsal-stage)>.intro {margin:0 0 7px!important}
 body.studio-world-ui #main:has(.rehearsal-stage)>.intro h1 {margin:0!important;font-size:18px!important;line-height:1.45!important}
 body.studio-world-ui #main:has(.rehearsal-stage)>.intro p {margin:3px 0 0!important}
 body.studio-world-ui .guide-current.game-mission:has(.rehearsal-stage) {margin-top:6px;padding-top:0}
 body.studio-world-ui .guide-current:has(.rehearsal-stage) .game-mission-tag {margin:0 0 3px;padding:3px 7px;font-size:10px;line-height:1.5}
 body.studio-world-ui .guide-current.game-mission:has(.rehearsal-stage)>h2 {margin:3px 0 5px;font-size:18px;line-height:1.45}
 body.studio-world-ui .guide-current:has(.rehearsal-stage)>[data-guide-hint] {margin:0 0 7px;font-size:13px;line-height:1.65}
 body.studio-world-ui .guide-current:has(.rehearsal-stage) .guide-context {margin:0 0 7px!important;font-size:12px!important;line-height:1.55!important;padding-left:9px}
 body.studio-world-ui .guide-current:has(.rehearsal-stage) .child-choice-options {margin-top:10px;gap:8px}
 body.studio-world-ui .guide-current:has(.rehearsal-stage) .child-choice-option p {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.6;margin:4px 0 0}
 /* Only tasks that own this new instrument lose their old outer clapper card. */
 body.studio-world-ui .guide-current.game-mission:has(.rehearsal-stage),
 body.studio-world-ui .guide-writing .guide-current:has(.rehearsal-stage) {padding:0;border:0;border-radius:0;background:#fff;box-shadow:none}
 body.studio-world-ui .guide-current:has(.rehearsal-stage)::before {content:none}
 body.studio-world-ui .guide-current:has(.rehearsal-stage)>[data-guide-hint] {margin-bottom:9px}
 body.studio-world-ui .rehearsal-stage {
  --rehearsal-ink:#203247;--rehearsal-muted:#586b7e;--rehearsal-gold:#ffd166;
  --rehearsal-x:20%;--rehearsal-y:0px;--rehearsal-turn:0deg;--rehearsal-reach:0deg;--rehearsal-light:0;
  min-width:0;margin:10px 0 14px;padding:0;border:0;background:transparent;box-shadow:none;
  color:var(--rehearsal-ink);font-size:14px;line-height:1.7;isolation:isolate;
 }
 body.studio-world-ui .rehearsal-stage *,
 body.studio-world-ui .rehearsal-stage *::before,
 body.studio-world-ui .rehearsal-stage *::after {box-sizing:border-box}
 body.studio-world-ui .rehearsal-stage [hidden] {display:none!important}
 body.studio-world-ui .rehearsal-stage .rehearsal-heading {
  display:flex;align-items:center;justify-content:space-between;gap:8px 14px;flex-wrap:wrap;
  margin:0 0 7px;padding:0;border:0;background:transparent;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-heading h4 {
  order:-1;min-width:0;margin:0;color:var(--rehearsal-ink);font-size:16px;font-weight:650;line-height:1.5;letter-spacing:-.015em;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-heading small {
  flex:0 1 auto;display:inline-flex;align-items:center;gap:6px;padding:3px 7px;
  border:1px solid #dbe5ed;border-radius:4px;background:#f4f7fa;color:#50677b;
  font-size:11px;font-weight:500;line-height:1.5;overflow-wrap:anywhere;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-heading small::before {
  content:"";width:6px;height:6px;flex:0 0 6px;border:1px solid #8fa6b8;border-radius:50%;background:#fff;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-viewfinder {
  position:relative;isolation:isolate;display:block;width:100%;min-width:0;height:236px;aspect-ratio:auto;min-height:176px;
  overflow:hidden;border:1px solid #193243;border-radius:10px;background:#213c4d;
  box-shadow:inset 0 0 0 5px #ffffff06,0 5px 12px #2032470d;
 }
 /* Four viewfinder corners and a quiet reticle; no decorative animation. */
 body.studio-world-ui .rehearsal-stage .rehearsal-viewfinder::after {
  content:"";position:absolute;inset:13px;z-index:7;border:0;border-radius:2px;pointer-events:none;
  background:
   linear-gradient(#fff9,#fff9) left top/15px 1px no-repeat,
   linear-gradient(#fff9,#fff9) left top/1px 15px no-repeat,
   linear-gradient(#fff9,#fff9) right top/15px 1px no-repeat,
   linear-gradient(#fff9,#fff9) right top/1px 15px no-repeat,
   linear-gradient(#fff9,#fff9) left bottom/15px 1px no-repeat,
   linear-gradient(#fff9,#fff9) left bottom/1px 15px no-repeat,
   linear-gradient(#fff9,#fff9) right bottom/15px 1px no-repeat,
   linear-gradient(#fff9,#fff9) right bottom/1px 15px no-repeat;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-reference {
  position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;margin:0;
  border:0;border-radius:0;object-fit:contain;background:#182e3e;
 }
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="light"] .rehearsal-viewfinder,
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="character"] .rehearsal-viewfinder {height:250px}
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="light"] .rehearsal-reference {object-fit:cover;filter:contrast(calc(1 - var(--rehearsal-light,0) * .12))}
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="character"] .rehearsal-reference {padding:12px}
 body.studio-world-ui .rehearsal-stage .rehearsal-placeholder {
  position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;
  padding:36px 30px;text-align:center;color:#d5e2ec;font-size:14px;line-height:1.85;overflow-wrap:anywhere;
  background:radial-gradient(ellipse at 48% 5%,#44617666,transparent 65%),linear-gradient(0deg,#1b3447,#274657);
 }
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="action"] .rehearsal-placeholder {align-items:flex-start;padding-top:30px;color:#b9ccd9;font-size:12px}
 /* No locked image: a clearly symbolic cast token, never a made-up character photo. */
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="character"] .rehearsal-placeholder {
  display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:0;padding:19px 25px;
  color:#c9d9e5;font-size:12px;background:radial-gradient(ellipse at 50% 32%,#46667a8c,transparent 65%),#213c4d;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-character-token {
  position:absolute;z-index:2;left:50%;top:49%;width:57px;height:62px;border:1px solid #c0d7e6;
  border-radius:14px 14px 9px 9px;background:linear-gradient(110deg,#d2e2ed,#9fbad0);
  transform:translate(-50%,-22%);box-shadow:inset -5px 0 0 #88a8c033,0 9px 16px #102b3c66;font-size:0;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-character-token::before {
  content:"";position:absolute;left:8px;top:-41px;width:40px;height:42px;border:1px solid #dbe9f0;
  border-radius:43% 43% 42% 42%;background:linear-gradient(115deg,#fffaf0,#e9e3d5);box-shadow:inset -4px -2px 0 #dbd4c6;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-character-token::after {
  content:"";position:absolute;left:8px;bottom:-25px;width:17px;height:28px;border-radius:1px 1px 4px 4px;
  background:#b3cbdc;box-shadow:24px 0 0 #a4bfd3;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-character-mark {
  position:absolute;z-index:3;left:20px;top:11px;color:#34566e;font-size:19px;line-height:1;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-nameplate {
  position:absolute;z-index:4;left:50%;bottom:12%;max-width:80%;transform:translateX(-50%);
  margin:0;padding:4px 13px;border:1px solid #7d97aa;border-radius:4px;background:#203849;color:#eef4f8;
  font-size:13px;font-weight:550;line-height:1.6;text-align:center;overflow-wrap:anywhere;
 }
 /* Softness changes shadow edges and neutral contrast, never the time or light direction. */
 body.studio-world-ui .rehearsal-stage .rehearsal-light {
  position:absolute;inset:0;z-index:3;display:block;pointer-events:none;opacity:var(--rehearsal-light,0);
  background:#ffffff14;mix-blend-mode:normal;transition:opacity .16s ease;
 }
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="light"] .rehearsal-placeholder {
  align-items:flex-start;padding:18px 25px;color:#e2eaf0;font-size:12px;
  background:linear-gradient(0deg,#91a4af 0 37%,#496270 37% 100%);
 }
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="light"] .rehearsal-placeholder::before,
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="light"] .rehearsal-placeholder::after {
  content:"";position:absolute;z-index:2;bottom:32%;display:block;pointer-events:none;
  box-shadow:22px 18px calc(var(--rehearsal-light,0) * 16px) 0 #142b3b99;
 }
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="light"] .rehearsal-placeholder::before {
  left:27%;width:66px;height:66px;border:1px solid #e5edf1;border-radius:50%;
  background:radial-gradient(circle at 27% 23%,#fafcfd 0,#dce5ea 37%,#9cabb5 84%);
 }
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="light"] .rehearsal-placeholder::after {
  left:60%;width:59px;height:59px;border:1px solid #d9e4eb;border-top-color:#f5f8fa;border-left-color:#edf3f6;border-radius:2px;
  background:linear-gradient(125deg,#e7edf1 0 20%,#c7d3db 20% 73%,#a7b8c4 73% 100%);
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-floor {
  position:absolute;z-index:2;left:0;right:0;bottom:0;height:39%;pointer-events:none;
  border-top:1px solid #aec5d52e;
  background:
   linear-gradient(90deg,transparent 49.8%,#adc4d511 50%,transparent 50.2%),
   linear-gradient(155deg,transparent 32%,#adc4d511 32.3%,transparent 32.7%),
   linear-gradient(25deg,transparent 32%,#adc4d511 32.3%,transparent 32.7%),
   linear-gradient(#2f5065,#1d3546);
 }
 body.studio-world-ui .rehearsal-stage [data-rehearsal-motion="walk"] .rehearsal-floor::before {
  content:"";position:absolute;left:20%;right:23%;top:37%;height:1px;
  background:repeating-linear-gradient(90deg,#dce7ec8f 0 5px,transparent 5px 11px);
 }
 body.studio-world-ui .rehearsal-stage [data-rehearsal-motion="walk"] .rehearsal-floor::after {
  content:"";position:absolute;right:22%;top:calc(37% - 3px);width:7px;height:7px;
  border-top:1px solid #dce7ec8f;border-right:1px solid #dce7ec8f;transform:rotate(45deg);
 }
 /* A neutral stage token makes action visible without animating a child's anchor image. */
 body.studio-world-ui .rehearsal-stage .rehearsal-token {
  position:absolute;z-index:4;left:var(--rehearsal-x,20%);bottom:24%;display:block;width:25px;height:39px;
  border:1px solid #f4bd4b;border-radius:8px 8px 6px 6px;background:linear-gradient(110deg,#ffe1a0,#ffc95e);
  box-shadow:0 3px 0 #1a303b4d;transform:translate(-50%,var(--rehearsal-y,0px));
  transform-origin:50% 100%;transition:none;font-size:0;line-height:0;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-token::before,
 body.studio-world-ui .rehearsal-stage .rehearsal-token::after {
  content:"";position:absolute;bottom:-16px;width:8px;height:20px;border-radius:2px 2px 4px 4px;
  background:#f8d184;border:1px solid #e2b96d;transform-origin:50% 2px;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-token::before {left:3px;transform:rotate(9deg)}
 body.studio-world-ui .rehearsal-stage .rehearsal-token::after {right:3px;transform:rotate(-9deg)}
 body.studio-world-ui .rehearsal-stage .rehearsal-token-head {
  position:absolute;left:-2px;top:-24px;display:block;width:29px;height:28px;border:1px solid #ffdf9b;
  border-radius:45% 45% 43% 43%;background:#fff1cf;transform:perspective(90px) rotateY(var(--rehearsal-turn,0deg));
  box-shadow:inset -3px -2px 0 #efdcb7;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-token-head::before {
  content:"";position:absolute;left:7px;top:11px;width:3px;height:4px;border-radius:50%;background:#354451;box-shadow:9px 0 0 #354451;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-token-hand {
  position:absolute;left:21px;top:7px;display:block;width:8px;height:26px;border-radius:4px;background:#ffe8b2;
  border:1px solid #e9be73;transform:rotate(var(--rehearsal-reach,0deg));transform-origin:50% 3px;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-command {
  margin:12px 0 4px;padding:0 0 0 12px;border:0;border-left:2px solid #d5b66b;background:transparent;
  color:#203247;font-size:15px;font-weight:550;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;
 }
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="text"] .rehearsal-viewfinder {
  height:auto;aspect-ratio:auto;min-height:138px;background:linear-gradient(135deg,#2e4b5d,#1c3345);
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-beats {
  position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;
  min-width:0;min-height:148px;padding:24px 20px;margin:0;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-beat {min-width:0;margin:0;padding:4px 13px;border:0;border-right:1px solid #9eb9ca45;background:transparent;box-shadow:none;border-radius:0}
 body.studio-world-ui .rehearsal-stage .rehearsal-beat:last-child {border-right:0}
 body.studio-world-ui .rehearsal-stage .rehearsal-beat small {display:block;margin:0 0 9px;color:#efcf8f;font-size:11px;font-weight:500;line-height:1.5;letter-spacing:.04em}
 body.studio-world-ui .rehearsal-stage .rehearsal-beat p {margin:0;color:#eaf1f5;font-size:14px;font-weight:400;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
 body.studio-world-ui .rehearsal-stage .rehearsal-reference-note,
 body.studio-world-ui .rehearsal-stage .rehearsal-mode {
  margin:7px 0;color:#586b7e;font-size:12px;font-weight:400;line-height:1.7;overflow-wrap:anywhere;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-mode {display:flex;align-items:baseline;gap:6px;margin:7px 0 12px}
 body.studio-world-ui .rehearsal-stage .rehearsal-mode::before {
  content:"";display:inline-block;flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:#91a3b2;
 }
 body.studio-world-ui .rehearsal-stage[data-rehearsal-candidate="true"] .rehearsal-mode {color:#705720}
 body.studio-world-ui .rehearsal-stage[data-rehearsal-candidate="true"] .rehearsal-mode::before {background:#d8ac42}
 body.studio-world-ui .rehearsal-stage .rehearsal-legend {
  display:flex;align-items:center;gap:8px;margin:10px 0 6px;padding:0;min-width:0;color:#586b7e;font-size:12px;line-height:1.7;overflow-wrap:anywhere;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-mark {
  display:inline-flex;flex:0 0 25px;align-items:center;justify-content:center;min-width:25px;min-height:25px;
  padding:2px;border:1px dashed #8199ad;border-radius:50%;background:#eaf2f8;color:#27485f;font-size:12px;font-weight:650;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-controls,
 body.studio-world-ui .rehearsal-stage .rehearsal-light-controls {
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:12px 0 0;
  border:0;border-top:1px solid #e0e7ed;background:transparent;min-width:0;
 }
 body.studio-world-ui .rehearsal-stage :is(.rehearsal-controls,.rehearsal-light-controls) button {
  appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;
  width:auto;min-width:44px;min-height:44px;max-width:100%;margin:0;padding:9px 13px;
  border:1px solid #c4d4e0;border-radius:7px;background:#fff;color:#294961;
  box-shadow:0 2px 0 #e5edf3;font:inherit;font-size:13px;font-weight:550;line-height:1.55;
  white-space:normal;overflow-wrap:anywhere;cursor:pointer;transition:background-color .12s,border-color .12s,box-shadow .12s;
 }
 body.studio-world-ui .rehearsal-stage>button {
  appearance:none;min-width:44px;min-height:44px;max-width:100%;margin:5px 0 0;padding:9px 12px;
  border:1px solid #c4d4e0;border-radius:7px;background:#fff;color:#294961;font:inherit;font-size:12px;line-height:1.6;
  white-space:normal;overflow-wrap:anywhere;cursor:pointer;
 }
 body.studio-world-ui .rehearsal-stage>button:hover {background:#f1f6fa;border-color:#7c9cb5}
 body.studio-world-ui .rehearsal-stage .rehearsal-controls output {flex:0 0 auto;color:#586b7e;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
 body.studio-world-ui .rehearsal-stage .rehearsal-controls button[data-rehearsal-action="play"] {
  border-color:#d8b256;background:#ffd166;color:#203247;box-shadow:0 2px 0 #d8b256;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-light-controls button[aria-pressed="true"] {
  border-color:#8aa8bf;background:#eaf2f8;color:#203247;box-shadow:inset 0 -2px 0 #bed2e2;
 }
 body.studio-world-ui .rehearsal-stage :is(.rehearsal-controls,.rehearsal-light-controls) button:hover:not(:disabled) {border-color:#7c9cb5;background:#f1f6fa;box-shadow:0 2px 0 #cadbe7}
 body.studio-world-ui .rehearsal-stage .rehearsal-controls button[data-rehearsal-action="play"]:hover:not(:disabled) {background:#ffdc86;border-color:#d1a23b;box-shadow:0 2px 0 #d1a23b}
 body.studio-world-ui .rehearsal-stage :is(.rehearsal-controls,.rehearsal-light-controls) button:active:not(:disabled) {box-shadow:inset 0 1px 2px #2032471a}
 body.studio-world-ui .rehearsal-stage :is(.rehearsal-controls,.rehearsal-light-controls) button:disabled {background:#f1f4f7;color:#84919d;border-color:#dbe2e8;box-shadow:none;cursor:default}
 body.studio-world-ui .rehearsal-stage button:focus-visible,
 body.studio-world-ui .rehearsal-stage input:focus-visible {outline:3px solid #3476a8;outline-offset:3px}
 body.studio-world-ui .rehearsal-stage :is(.rehearsal-controls,.rehearsal-light-controls)>label {
  display:flex;align-items:center;gap:8px;flex:1 1 145px;min-width:0;margin:0;color:#586b7e;font-size:12px;line-height:1.5;
 }
 body.studio-world-ui .rehearsal-stage input[type="range"] {
  display:block;flex:1 1 90px;min-width:60px;width:100%;max-width:100%;min-height:44px;margin:0;padding:0;
  border:0;background:transparent;accent-color:#376c91;cursor:pointer;touch-action:pan-y;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-static-pair {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;margin:10px 0 0;
 }
 body.studio-world-ui .rehearsal-stage .rehearsal-static-pair>div {position:relative;min-width:0;min-height:152px;overflow:hidden;border:1px solid #c7d5e0;border-radius:7px;background:linear-gradient(0deg,#2c4a5f 0 39%,#213c4d 39%)}
 body.studio-world-ui .rehearsal-stage .rehearsal-static-pair>div>small {display:block;padding:7px 9px;color:#d1e0e9;font-size:11px;line-height:1.5}
 body.studio-world-ui .rehearsal-stage .rehearsal-static-pair>div>span:first-child {display:block;padding:6px 9px;color:#586b7e;font-size:11px;line-height:1.5}
 body.studio-world-ui .rehearsal-stage .rehearsal-static-pair .rehearsal-viewfinder {height:128px;min-height:128px;border-radius:0;border:0;box-shadow:none}
 body.studio-world-ui .rehearsal-stage .rehearsal-static-pair .rehearsal-viewfinder::after {inset:8px}
 body.studio-world-ui .rehearsal-stage .rehearsal-static-pair .rehearsal-token {scale:.75;transform-origin:50% 100%}
 /* Suppress only the old celebration while the specific new receipt is present. */
 body.studio-world-ui:has(.rehearsal-receipt) .game-reward {display:none}
 /* The companion's receipt is temporary UI, never a score or a new chat history item. */
 body.studio-world-ui .rehearsal-receipt {
  flex:0 0 auto;min-width:0;min-height:44px;max-height:112px;overflow-y:auto;overscroll-behavior:contain;
  margin:10px 0 0;padding:9px 11px;border:1px solid #c3d8e7;border-left:3px solid #dfb64d;
  border-radius:4px 9px 9px 4px;background:#fffdf6;color:#34556e;font-size:13px;line-height:1.75;
  overflow-wrap:anywhere;box-shadow:0 2px 0 #d9e6ef;
 }
}
@media screen and (max-width:560px) {
 body.studio-world-ui .rehearsal-stage {margin-top:14px}
 body.studio-world-ui .rehearsal-stage .rehearsal-heading {gap:6px}
 body.studio-world-ui .rehearsal-stage .rehearsal-heading h4 {font-size:15px}
 body.studio-world-ui .rehearsal-stage .rehearsal-heading small {font-size:10px}
 body.studio-world-ui .rehearsal-stage .rehearsal-viewfinder,
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="light"] .rehearsal-viewfinder,
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="character"] .rehearsal-viewfinder {height:auto;aspect-ratio:16/9;min-height:176px;border-radius:8px}
 body.studio-world-ui .rehearsal-stage[data-rehearsal-kind="text"] .rehearsal-viewfinder {height:auto;aspect-ratio:auto;min-height:138px}
 body.studio-world-ui .rehearsal-stage .rehearsal-reference-note,
 body.studio-world-ui .rehearsal-stage .rehearsal-mode {font-size:11px}
 body.studio-world-ui .rehearsal-stage .rehearsal-command {font-size:14px}
 body.studio-world-ui .rehearsal-stage .rehearsal-character-token {top:47%;transform:translate(-50%,-22%) scale(.72)}
 body.studio-world-ui .rehearsal-stage .rehearsal-nameplate {bottom:8px;font-size:12px;padding:3px 10px}
 body.studio-world-ui .rehearsal-stage .rehearsal-beats {grid-template-columns:1fr;min-height:0;padding:18px 23px}
 body.studio-world-ui .rehearsal-stage .rehearsal-beat {padding:9px 0;border-right:0;border-bottom:1px solid #9eb9ca38}
 body.studio-world-ui .rehearsal-stage .rehearsal-beat:last-child {border-bottom:0}
 body.studio-world-ui .rehearsal-stage .rehearsal-beat small {margin-bottom:4px}
 body.studio-world-ui .rehearsal-stage .rehearsal-beat p {font-size:13px;line-height:1.7}
 body.studio-world-ui .rehearsal-stage :is(.rehearsal-controls,.rehearsal-light-controls) {gap:7px}
 body.studio-world-ui .rehearsal-stage :is(.rehearsal-controls,.rehearsal-light-controls) button {padding:9px 11px;font-size:12px}
 body.studio-world-ui .rehearsal-stage :is(.rehearsal-controls,.rehearsal-light-controls)>label {flex-basis:100%;font-size:12px}
 body.studio-world-ui .rehearsal-stage .rehearsal-static-pair .rehearsal-viewfinder {min-height:120px}
}
@media screen and (prefers-reduced-motion:reduce) {
 body.studio-world-ui .rehearsal-stage *,body.studio-world-ui .rehearsal-stage *::before,body.studio-world-ui .rehearsal-stage *::after {animation:none;transition:none}
}
@media print {
 body.studio-world-ui .rehearsal-stage,body.studio-world-ui .rehearsal-receipt {display:none!important}
}

/* The full candidate is already visible in the rehearsal command. Keep one adoption row. */
@media screen {
 body.studio-world-ui .guide-body:has(>.rehearsal-stage[data-rehearsal-candidate="true"])>.quest-trial {padding:0;margin:12px 0;background:transparent;box-shadow:none;animation:none}
 body.studio-world-ui .guide-body:has(>.rehearsal-stage[data-rehearsal-candidate="true"])>.quest-trial>.quest-trial-sheet,
 body.studio-world-ui .guide-body:has(>.rehearsal-stage[data-rehearsal-candidate="true"])>.quest-trial>.quest-hint {display:none}
}
