@charset "utf-8";

:root {
  color-scheme: light;
  --ink: #554650;
  --ink-soft: #82717b;
  --rose: #bd8195;
  --rose-deep: #986779;
  --pearl: #fbf7f7;
  --line: rgba(143, 105, 122, .2);
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--ink);
  background: #f4ecef;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; }

.bridge {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: clip;
  background:
    radial-gradient(ellipse at 51% 43%, rgba(255,255,255,.98) 0, rgba(255,250,251,.84) 27%, rgba(247,235,239,.72) 57%, rgba(235,219,225,.92) 100%),
    linear-gradient(135deg, #f8f2f4, #e9d9df);
}

.bridge::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .24;
  pointer-events: none;
  background-image: radial-gradient(rgba(133, 91, 111, .48) .45px, transparent .65px);
  background-size: 5px 5px;
  mask-image: linear-gradient(90deg, transparent, #000 17%, #000 83%, transparent);
}

.sky-glow {
  position: absolute;
  z-index: -1;
  width: min(78vw, 1000px);
  height: min(78vw, 1000px);
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.92) 0 17%, rgba(255,255,255,.5) 38%, rgba(239,214,224,.18) 65%, transparent 72%);
  filter: blur(5px);
}

.orbit-orb {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(177, 126, 148, .14);
  border-radius: 50%;
}

.orb-one {
  width: min(77vw, 1010px);
  aspect-ratio: 1;
  top: 48%;
  left: 48%;
  transform: translate(-50%, -50%);
}

.orb-two {
  width: min(63vw, 820px);
  aspect-ratio: 1;
  top: 48%;
  left: 48%;
  transform: translate(-50%, -50%);
  border-style: dashed;
  border-color: rgba(177, 126, 148, .1);
}

.frame-line {
  position: absolute;
  z-index: 5;
  top: 9%;
  bottom: 9%;
  width: 1px;
  background: linear-gradient(transparent, rgba(167, 120, 141, .22) 18%, rgba(167, 120, 141, .22) 82%, transparent);
  pointer-events: none;
}

.frame-left { left: 3.25%; }
.frame-right { right: 3.25%; }

.masthead {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6.2%;
  border-bottom: 1px solid rgba(151, 110, 127, .12);
}

.insignia {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.insignia-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(164, 115, 137, .5);
  border-radius: 50%;
  color: var(--rose-deep);
  font-size: 18px;
}

.insignia-text {
  color: #765b68;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .17em;
}

.insignia-text small {
  display: block;
  margin-top: 3px;
  color: #a68d98;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .28em;
}

.chapter-mark {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  color: #a08b94;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .12em;
}

.chapter-rule { width: 24px; height: 1px; background: #c5a3b1; }

.masthead-index {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a28e97;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .18em;
}

.masthead-index i {
  width: 30px;
  height: 1px;
  background: rgba(162, 126, 142, .45);
}

.masthead-index span:first-child { color: var(--rose-deep); }

.scene {
  position: absolute;
  inset: 86px 0 72px;
  overflow: hidden;
}

.scene-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(121, 94, 145, .18), rgba(147, 119, 157, .08) 38%, transparent 67%),
    radial-gradient(ellipse at 50% 90%, rgba(199, 157, 174, .22), transparent 37%),
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 40%, rgba(255,255,255,.1));
  pointer-events: none;
}

#viewport {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
  cursor: grab;
}

#viewport:active { cursor: grabbing; }
#viewport:focus-visible { outline: 1px solid rgba(164, 115, 137, .6); outline-offset: -7px; }

.scene-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(248,240,243,.85) 0%, rgba(248,240,243,.45) 15%, transparent 35%, transparent 73%, rgba(246,237,241,.22) 100%),
    linear-gradient(0deg, rgba(242,228,234,.5), transparent 25%, transparent 78%, rgba(255,255,255,.22));
}

.identity {
  position: absolute;
  z-index: 3;
  top: 15%;
  left: 8.2%;
  width: min(25vw, 310px);
  pointer-events: none;
  animation: appear .9s .12s both;
}

.eyebrow {
  margin: 0 0 11px 2px;
  color: #a17d8d;
  font-size: 10px;
  letter-spacing: .27em;
}

.native-source-camera .identity { display: none; }

.identity h1 {
  margin: 0;
  color: #795765;
  font-family: var(--serif);
  font-size: clamp(36px, 4.3vw, 63px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(255,255,255,.8);
}

.identity-flourish {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 112px;
  margin: 21px 0 17px;
  color: #ba8fa1;
}

.identity-flourish span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(174, 128, 147, .7)); }
.identity-flourish span:last-child { transform: rotate(180deg); }
.identity-flourish b { font-size: 11px; font-weight: 400; }

.identity-note {
  max-width: 190px;
  margin: 0;
  color: #927d87;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .08em;
  line-height: 1.9;
}

.vertical-caption {
  position: absolute;
  z-index: 3;
  top: 36%;
  left: 3.4%;
  color: rgba(138, 103, 120, .5);
  font-family: var(--serif);
  font-size: 8px;
  letter-spacing: .35em;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.subtitle-bubble {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 8%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: min(520px, 54vw);
  padding: 13px 21px 14px;
  transform: translateX(-50%);
  border: 1px solid rgba(183, 139, 157, .31);
  border-radius: 2px 15px 2px 15px;
  background: rgba(255, 251, 252, .84);
  box-shadow: 0 8px 30px rgba(135, 93, 112, .1);
  color: #785b68;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .06em;
  line-height: 1.65;
  backdrop-filter: blur(12px);
  animation: bubble-in .25s ease-out both;
}

.subtitle-bubble[hidden] { display: none; }
.bubble-star { color: #c291a5; font-size: 12px; line-height: 1.9; }

.loading-panel {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(390px, calc(100% - 36px));
  padding: 27px 30px 25px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(183, 139, 157, .27);
  background: rgba(255, 251, 252, .86);
  box-shadow: 0 20px 70px rgba(131, 89, 108, .13);
  text-align: center;
  backdrop-filter: blur(15px);
}

.loading-panel[hidden] { display: none; }
.loading-flower { color: #bf8ba1; font-size: 25px; animation: flower-turn 7s linear infinite; }
.loading-title { margin-top: 13px; color: #775969; font-family: var(--serif); font-size: 16px; letter-spacing: .12em; }
.loading-message { margin-top: 9px; color: #9b8791; font-size: 11px; letter-spacing: .05em; line-height: 1.8; }
.loading-panel.is-error .loading-flower { color: #a05e70; animation: none; }
.loading-panel.is-error .loading-message { color: #805865; }

.folder-button {
  margin-top: 17px;
  padding: 8px 15px;
  border: 1px solid rgba(166, 117, 139, .45);
  border-radius: 2px;
  background: rgba(255,255,255,.62);
  color: #8b6577;
  font-size: 11px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.folder-button:hover, .folder-button:focus-visible {
  border-color: #b27d94;
  background: #fff;
  color: #704c5e;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.drag-hint {
  position: absolute;
  z-index: 3;
  bottom: 3.8%;
  left: 8.2%;
  color: #a38e98;
  font-size: 10px;
  letter-spacing: .08em;
  pointer-events: none;
}

.drag-hint span { margin-right: 5px; color: #b18498; font-size: 15px; vertical-align: -1px; }

.interaction-rail {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: 6.2%;
  width: 214px;
  transform: translateY(-42%);
  padding: 22px 18px 17px;
  border-left: 1px solid rgba(164, 119, 138, .28);
  background: linear-gradient(90deg, rgba(255,255,255,.36), rgba(255,255,255,.08));
  animation: appear .8s .28s both;
}

.rail-kicker {
  color: #b18a9a;
  font-family: var(--serif);
  font-size: 8px;
  letter-spacing: .2em;
}

.resource-picker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #a18c96; font-size: 10px; }
.resource-picker > span { white-space: nowrap; flex-shrink: 0; }
.resource-picker select { flex: 1; width: 0; min-width: 0; padding: 7px 3px; border: 0; border-bottom: 1px solid #c7aebb; background: transparent; color: #765463; font-family: var(--serif); font-size: 11px; }

.rail-heading h2 {
  margin: 9px 0 7px;
  color: #765463;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: .12em;
}

.rail-heading p { margin: 0; color: #a18c96; font-size: 10px; letter-spacing: .04em; }

.action-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 19px;
}

.resource-preview .action-list { max-height: 47vh; overflow-y: auto; scrollbar-width: thin; }
.resource-preview .action-label { font-size: 11px; letter-spacing: 0; }
.resource-preview .action-zone { max-width: 64px; font-size: 9px; }

.action-placeholder {
  margin: 0;
  padding: 10px 0;
  color: #aa98a0;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: .04em;
}

.action-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 7px 5px;
  border: 0;
  border-bottom: 1px solid rgba(161, 122, 139, .17);
  background: transparent;
  color: #806572;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, padding .2s ease, opacity .2s ease;
}

.action-button:hover:not(:disabled), .action-button:focus-visible {
  padding-left: 10px;
  color: #a2607d;
}

.action-button:focus-visible { outline: 1px solid rgba(164, 115, 137, .65); outline-offset: 2px; }
.action-button:disabled { color: #b6a7ae; cursor: not-allowed; opacity: .67; }

.action-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 1px solid rgba(169, 126, 145, .4);
  border-radius: 50%;
  color: #ad7f93;
  font-family: var(--serif);
  font-size: 10px;
  transition: background .2s ease, color .2s ease;
}

.action-button:hover:not(:disabled) .action-icon,
.action-button.is-playing .action-icon {
  background: #b77f96;
  color: #fff;
}

.action-label { flex: 1; overflow: hidden; font-family: var(--serif); font-size: 12px; letter-spacing: .07em; text-overflow: ellipsis; white-space: nowrap; }
.action-zone { color: #b5a3ab; font-size: 9px; }

.rail-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(161, 122, 139, .17);
  color: #a48f99;
  font-size: 9px;
  letter-spacing: .06em;
}

.rail-dot { width: 5px; height: 5px; border-radius: 50%; background: #c8adba; }
.rail-dot[data-state="ready"] { background: #83a78e; box-shadow: 0 0 9px rgba(105, 160, 122, .55); }
.rail-dot[data-state="error"] { background: #c5797d; }

.controls-bar {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 6.2%;
  border-top: 1px solid rgba(151, 110, 127, .15);
  background: rgba(250, 245, 247, .54);
  backdrop-filter: blur(14px);
}

.scene-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #9b858f;
  font-size: 9px;
  letter-spacing: .1em;
}

.meta-overline { color: #a78092; font-family: var(--serif); font-size: 9px; letter-spacing: .16em; }
.meta-separator { color: #c4aeba; }

.camera-controls { display: flex; align-items: center; gap: 9px; }
.voice-button { position: relative; }
.voice-button.is-muted { opacity: .55; }
.voice-button.is-muted::after {
  position: absolute;
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transform: rotate(-45deg);
}

.camera-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 31px;
  height: 31px;
  padding: 0 7px;
  border: 1px solid rgba(162, 120, 139, .3);
  border-radius: 50%;
  background: rgba(255,255,255,.48);
  color: #946c7e;
  font-family: var(--serif);
  font-size: 15px;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.camera-button:hover, .camera-button:focus-visible {
  transform: translateY(-1px);
  border-color: #b78398;
  background: #fff;
  color: #805365;
}

.camera-button:focus-visible { outline: 2px solid rgba(164, 115, 137, .35); outline-offset: 2px; }
.camera-reset { gap: 5px; min-width: 69px; border-radius: 18px; font-size: 13px; }
.camera-reset em { font-family: var(--sans); font-size: 9px; font-style: normal; letter-spacing: .08em; }

.controls-signature {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  color: #a38e97;
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: .16em;
}

.controls-signature i { color: #bd91a4; font-size: 12px; font-style: normal; }

@keyframes flower-turn { to { transform: rotate(360deg); } }
@keyframes appear { from { opacity: 0; translate: 0 7px; } to { opacity: 1; translate: 0 0; } }
@keyframes bubble-in { from { opacity: 0; translate: 0 7px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 1000px) {
  .identity { left: 6%; width: 23vw; }
  .interaction-rail { right: 4.5%; width: 194px; }
  .drag-hint { left: 6%; }
}

@media (max-width: 720px) {
  .bridge { min-height: 480px; }
  .masthead { height: 65px; padding: 0 6%; }
  .chapter-mark { display: none; }
  .masthead-index { font-size: 9px; }
  .masthead-index i { width: 20px; }
  .scene { inset: 65px 0 62px; }
  .identity { top: 6%; left: 7%; width: 46%; }
  .eyebrow { margin-bottom: 5px; font-size: 8px; }
  .identity h1 { font-size: clamp(27px, 8vw, 39px); }
  .identity-flourish { margin: 9px 0 7px; width: 83px; }
  .identity-note { max-width: 145px; font-size: 10px; line-height: 1.6; }
  .vertical-caption { display: none; }
  .interaction-rail {
    top: auto;
    right: 5%;
    bottom: 4%;
    width: min(190px, 48vw);
    padding: 12px 12px 10px;
    transform: none;
    border-left: 1px solid rgba(164, 119, 138, .22);
    background: rgba(255, 250, 252, .62);
    backdrop-filter: blur(9px);
  }
  .rail-heading h2 { margin: 5px 0 3px; font-size: 17px; }
  .rail-heading p { font-size: 9px; }
  .rail-kicker { font-size: 7px; }
  .action-list { gap: 1px; max-height: 22vh; margin-top: 8px; overflow: auto; }
  .action-button { min-height: 31px; }
  .action-label { font-size: 11px; }
  .action-icon { width: 17px; height: 17px; flex-basis: 17px; }
  .rail-foot { margin-top: 8px; padding-top: 8px; font-size: 8px; }
  .drag-hint { bottom: 5%; left: 6%; max-width: 34%; font-size: 8px; }
  .subtitle-bubble { bottom: 30%; max-width: 80vw; padding: 9px 13px; font-size: 12px; }
  .controls-bar { height: 62px; padding: 0 6%; }
  .scene-meta { gap: 6px; font-size: 8px; }
  .meta-overline { font-size: 8px; }
  .controls-signature { gap: 6px; font-size: 8px; }
  .camera-controls { gap: 5px; }
  .camera-button { min-width: 28px; height: 28px; font-size: 14px; }
  .camera-reset { min-width: 58px; }
}

@media (max-width: 420px) {
  .scene-meta .meta-overline { display: none; }
  .meta-separator { display: none; }
  .controls-signature { letter-spacing: .07em; }
  .controls-signature i { display: none; }
  .interaction-rail { right: 4%; width: 48vw; }
  .identity { width: 42%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.resource-picker[hidden], .action-button[hidden] { display: none; }
.preview-scope { flex-shrink: 0; margin: 0 0 9px; color: #856a77; font: 10px/1.7 var(--sans); }
.preview-scope[hidden] { display: none; }
.preview-scope summary { cursor: pointer; color: #99617c; }
.preview-scope p { margin: 5px 0 0; white-space: pre-line; }

.action-search { display: grid; gap: 7px; margin: 15px 0 4px; color: #967b88; font-size: 10px; }
.action-search[hidden], .playback-controls[hidden] { display: none; }
.weapon-visibility { display: flex; align-items: center; gap: 6px; margin: 8px 0; color: #816373; font-size: 11px; }
.weapon-visibility[hidden] { display: none; }
.weapon-visibility input { accent-color: #9e5b7d; }
.action-search input { min-width: 0; padding: 9px 10px; border: 1px solid #dac5cf; border-radius: 6px; background: #fff9fc; color: #725461; font: inherit; font-size: 12px; }
.playback-controls { grid-column: 1 / -1; align-self: end; width: min(680px, 100%); margin: 0 auto; color: #795768; }
.playback-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 11px; }
.playback-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.playback-heading span { flex-shrink: 0; color: #927a86; font-variant-numeric: tabular-nums; }
.playback-controls input[type="range"] { display: block; width: 100%; height: 18px; margin: 8px 0; accent-color: #a76185; cursor: ew-resize; }
.playback-buttons { display: flex; align-items: center; justify-content: center; gap: 9px; }
.playback-buttons button { padding: 6px 13px; border: 1px solid #cfafbf; border-radius: 6px; background: #fff8fc; color: #7d5067; font: inherit; font-size: 11px; cursor: pointer; }
.playback-buttons button:first-child { min-width: 58px; background: #9e5b7d; border-color: #9e5b7d; color: white; }
.playback-buttons label { display: flex; align-items: center; gap: 4px; font-size: 10px; white-space: nowrap; }
.playback-buttons input { accent-color: #9e5b7d; }
.playback-buttons label[hidden] { display: none; }
.playback-speed select { padding: 3px; border: 1px solid #d6beca; border-radius: 4px; background: #fff8fc; color: inherit; font: inherit; }
.resource-preview .scene { right: 306px; bottom: 158px; }
.resource-preview .identity { top: 16px; left: 28px; width: calc(100% - 56px); }
.resource-preview .identity h1 { display: none; }
.resource-preview .identity-flourish { display: none; }
.resource-preview .eyebrow { margin-bottom: 4px; font-size: 12px; }
.resource-preview .identity-note { max-width: 100%; margin: 0; font-size: 11px; line-height: 1.5; }
.resource-preview .interaction-rail { top: 112px; right: 22px; bottom: 174px; width: 264px; padding: 0 0 0 18px; transform: none; display: flex; flex-direction: column; }
.resource-preview .rail-heading { margin-top: 10px; }
.resource-preview .rail-heading h2 { margin: 7px 0; font-size: 22px; }
.resource-preview .rail-kicker { display: none; }
.resource-preview .action-list { flex: 1; min-height: 40px; max-height: none; margin-top: 8px; overflow-y: auto; }
.resource-preview .action-label { font-family: var(--sans); font-size: 12px; }
.resource-preview .action-zone { max-width: 56px; font-size: 9px; }
.resource-preview .rail-foot { flex-shrink: 0; margin-top: 10px; }
.resource-preview .controls-bar { height: 158px; grid-template-rows: 90px 54px; row-gap: 0; padding: 0 26px; }
.resource-preview .drag-hint { left: 28px; bottom: 18px; max-width: calc(100% - 48px); }
.resource-preview .resource-picker { flex-shrink: 0; }
.resource-preview .resource-picker select { width: 100%; max-width: none; }
.playback-enabled .controls-bar { height: 158px; grid-template-rows: 90px 54px; row-gap: 0; }
.playback-enabled .scene { bottom: 158px; }
.many-interactions .interaction-rail { top: 112px; bottom: 174px; transform: none; display: flex; flex-direction: column; }
.many-interactions .action-list { flex: 1; min-height: 50px; max-height: none; overflow-y: auto; scrollbar-width: thin; }
.many-interactions .action-button, .many-interactions .resource-picker, .many-interactions .rail-foot { flex-shrink: 0; }
.many-interactions .rail-heading { margin-top: 12px; }
.many-interactions .rail-heading h2 { font-size: 23px; margin: 8px 0; }
.many-interactions .rail-kicker { display: none; }
@media (max-width: 720px) {
  .resource-preview .scene { right: 206px; bottom: 160px; }
  .resource-preview .interaction-rail { top: 88px; right: 10px; bottom: 174px; width: 186px; padding-left: 10px; background: none; backdrop-filter: none; }
  .resource-preview .identity { left: 14px; width: calc(100% - 28px); }
  .resource-preview .rail-heading h2 { font-size: 17px; }
  .resource-preview .controls-bar { padding: 0 12px; }
  .resource-preview .controls-signature { display: none; }
  .resource-preview .scene-meta { max-width: 120px; }
  .playback-buttons { gap: 5px; }
  .playback-buttons button { padding: 6px 8px; }
  .playback-heading { font-size: 10px; }
  .playback-speed { display: none !important; }
}
.scene-transition[hidden] { display: none !important; }
.scene-transition {
  position: fixed; inset: 0; z-index: 1000; background: #000; opacity: 0;
  display: grid; place-items: center; pointer-events: auto; color: #dbe9ed;
}
.scene-transition-content { text-align: center; font-size: 14px; letter-spacing: .12em; }
.scene-transition-content p { margin: 0 0 18px; }
.scene-transition-content button {
  border: 1px solid #638692; color: #c9e2ec; background: #10212a;
  padding: 8px 18px; font: inherit; letter-spacing: .08em; cursor: pointer;
}
