@font-face {
  font-family: "Prototype Barlow";
  src: url("assets/fonts/Barlow-Regular.ttf?v=3afd1ed3ad8c") format("truetype");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Prototype Barlow";
  src: url("assets/fonts/Barlow-Medium.ttf?v=c57cd2a15636") format("truetype");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Prototype PingFang SC";
  src: url("assets/fonts/PingFang-SC-Regular.woff2?v=720c39711ecd") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Prototype PingFang SC";
  src: url("assets/fonts/PingFang-SC-Medium.woff2?v=be776e90b496") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  --accent: #4a91ed;
  --panel: #11151d;
  --muted: #8f98a8;
  --mobile-bottom-clearance: 80px;
  --glass-blur: 30px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

* { box-sizing: border-box; }

html, body { width: 100%; min-height: 100%; margin: 0; }

body {
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 20%, rgba(39, 89, 152, .22), transparent 34%),
    radial-gradient(circle at 32% 86%, rgba(36, 73, 114, .14), transparent 28%),
    #080b10;
  color: #f5f7fa;
}

button, textarea, input { font: inherit; }
button { color: inherit; }

.demo-shell {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
}

.demo-panel {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 30px 24px 24px;
  background: rgba(15, 19, 27, .92);
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 24px 0 70px rgba(0,0,0,.2);
  backdrop-filter: blur(24px);
  overflow-y: auto;
}

.eyebrow { margin: 0 0 8px; color: #6ba7f6; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.demo-panel h1 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.intro { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.loading-note { margin: 10px 0 0; color: #b6c7dc; font-size: 13px; line-height: 1.65; }

.scenario-list { display: grid; gap: 8px; }
.scenario-list > p { margin: 0 0 3px; color: #737e8f; font-size: 11px; }
.scenario {
  width: 100%; min-height: 58px; display: grid; grid-template-columns: 35px 1fr; grid-template-rows: 1fr 1fr;
  align-items: center; padding: 9px 11px; border: 1px solid transparent; border-radius: 13px;
  background: rgba(255,255,255,.035); text-align: left; cursor: pointer; transition: .18s ease;
}
.scenario:hover { background: rgba(255,255,255,.07); transform: translateX(2px); }
.scenario.active { border-color: rgba(89,153,239,.42); background: linear-gradient(110deg, rgba(55,123,214,.22), rgba(55,123,214,.08)); }
.scenario span { grid-row: 1 / 3; color: #6fa8f5; font-size: 11px; font-weight: 800; }
.scenario b { align-self: end; font-size: 13px; }
.scenario small { align-self: start; color: #818b9a; font-size: 10px; }

.guide-card { padding: 14px 12px; border: 1px solid rgba(92,151,230,.32); border-radius: 14px; background: #131e2d; }
.guide-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.guide-heading h2 { margin: 0; font-size: 15px; font-weight: 650; color: #f3f7ff; white-space: nowrap; }
#guideContext { max-width: 120px; color: #a8c9f6; font-size: 11px; line-height: 1.4; text-align: right; }
.guide-caption { margin: 6px 0 12px; color: #a0aec2; font-size: 11px; line-height: 1.5; }
#guideText { display: grid; gap: 7px; list-style: none; margin: 0; padding: 0; }
.guide-step { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 9px; padding: 10px 8px; background: rgba(255,255,255,.045); border-radius: 8px; }
.guide-gesture { align-self: start; padding: 3px 0; border-radius: 4px; color: #a6ceff; background: #233c59; font-size: 11px; font-weight: 650; line-height: 16px; text-align: center; }
.guide-gesture[data-gesture="拖动"], .guide-gesture[data-gesture="滑动"], .guide-gesture[data-gesture="松手"] { color: #a1e4d1; background: #203e3a; }
.guide-gesture[data-gesture="长按"], .guide-gesture[data-gesture="连点"] { color: #f3d29f; background: #44372a; }
.guide-gesture[data-gesture="输入"], .guide-gesture[data-gesture="查看"] { color: #cec1f1; background: #37314c; }
.guide-step-body { min-width: 0; }
.guide-step-body strong { display: block; color: #f1f5fc; font-size: 12px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.guide-step-body p { margin: 3px 0 0; color: #aebcd0; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }

.panel-actions { margin-top: auto; display: grid; gap: 13px; }
.secondary-button { padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; background: rgba(255,255,255,.04); cursor: pointer; }
.secondary-button:hover { background: rgba(255,255,255,.08); }
.hint-toggle { display: flex; align-items: center; gap: 8px; color: #8d97a7; font-size: 12px; cursor: pointer; }
.hint-toggle input { accent-color: var(--accent); }

.stage { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px; overflow: hidden; }
.phone-viewport { position: relative; flex: 0 0 auto; filter: drop-shadow(0 30px 56px rgba(0,0,0,.48)); }
.prototype-load-notice { flex: 0 0 auto; width: min(100%, 390px); min-height: 40px; margin-bottom: 8px; color: #b6c7dc; font-size: 12px; line-height: 18px; text-align: center; }
.prototype-load-notice button { margin-left: 8px; padding: 2px 6px; border: 0; border-radius: 4px; background: #223650; color: #c4dfff; cursor: pointer; }
.prototype-load-notice.is-busy { color: #d9e9ff; }
.show-daylight .prototype-load-notice { display: none; }
.prototype-frame {
  position: relative; width: 390px; height: 844px; overflow: hidden; transform-origin: top left;
  border-radius: 34px; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  touch-action: pan-y; user-select: none;
}
.screen-image {
  position: absolute; z-index: 0; inset: 0; width: 390px; height: 844px; border: 0;
  object-fit: cover; pointer-events: none; opacity: 0;
  transition: none;
}
.screen-image.is-active { z-index: 1; opacity: 1; }
.overlay-root { position: absolute; inset: 0; z-index: 2; opacity: 1; transition: none; }
.visual-transition-hold { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.overlay-root.is-loading-screen { opacity: 0; pointer-events: none; }
.overlay-root.is-loading-screen.is-preserving-playback { opacity: 1; }
.overlay-root.is-loading-screen.is-preserving-playback > :not(.is-preserved-control) { visibility: hidden; }
.frame-crop { position: absolute; z-index: 2; overflow: hidden; pointer-events: none; }
.frame-crop-source {
  position: absolute; width: 390px; height: 844px; border: 0; pointer-events: none;
}
.player-favorite-icon {
  position: absolute; z-index: 8; object-fit: contain; pointer-events: none;
}
.listen-scrub-preserved-header {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  color: #fff;
  font-family: "Prototype PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}
.listen-scrub-avatar,
.listen-scrub-waiting-icon {
  position: absolute;
  top: 65px;
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}
.listen-scrub-avatar {
  border-radius: 50%;
}
.listen-scrub-avatar-cloud { left: 70px; }

/* Figma 8:6293: all three dots share the original 2000ms timeline. */
.listen-waiting-avatar { position:absolute; left:146px; top:65px; width:30px; height:30px; border:1px solid #fff; border-radius:50%; overflow:hidden; transform:scaleX(-1); mix-blend-mode:luminosity; }
.listen-waiting-avatar > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.5; }
.listen-waiting-dot { position:absolute; top:13px; width:2px; height:2px; }
.listen-waiting-dot svg { display:block; }
.listen-waiting-dot-0 { left:7px; animation:kf_8_6429_opacity_0 2s linear infinite; }
.listen-waiting-dot-1 { left:13px; animation:kf_8_6428_opacity_0 2s linear infinite; }
.listen-waiting-dot-2 { left:19px; animation:kf_8_6430_opacity_0 2s linear infinite; }
.listen-waiting-label { position:absolute; left:70px; top:95px; width:106px; font-size:12px; line-height:24px; font-weight:400; text-align:center; white-space:nowrap; }
.listen-waiting-connection svg { display:block; width:30px; height:30px; overflow:visible; }
.wait-line { transform-box:fill-box; transform-origin:center; vector-effect:non-scaling-stroke; }
.wait-line-outer { animation:listen-wait-outer 2s var(--ease-in-out) infinite; }
.wait-line-inner { animation:listen-wait-inner 2s var(--ease-in-out) infinite; }
.wait-line-center { animation:listen-wait-center 2s var(--ease-in-out) infinite; }
@keyframes listen-wait-outer { 0%,100% { transform:scaleY(1); opacity:.6; } 40% { transform:scaleY(2.4); opacity:1; } 80% { transform:scaleY(1); opacity:.6; } }
@keyframes listen-wait-inner { 0%,100% { transform:scaleY(1); opacity:.8; } 20% { transform:scaleY(1.3); opacity:1; } 60% { transform:scaleY(.55); opacity:.6; } }
@keyframes listen-wait-center { 0%,100% { transform:scaleY(1); opacity:1; } 40% { transform:scaleY(.5); opacity:.6; } 80% { transform:scaleY(.8); opacity:.8; } }
@keyframes kf_8_6429_opacity_0 { 0% { animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1); opacity: 0.6; } 20% { animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1); opacity: 0.8; } 40% { animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1); opacity: 1; } 60% { animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1); opacity: 0.8; } 80% { opacity: 0.6; } 100% { opacity: 0.6; } }
@keyframes kf_8_6428_opacity_0 { 0% { animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1); opacity: 0.8; } 20% { animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1); opacity: 1; } 40% { animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1); opacity: 0.8; } 60% { opacity: 0.6; } 80% { animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1); opacity: 0.6; } 100% { opacity: 0.8; } }
@keyframes kf_8_6430_opacity_0 { 0% { animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1); opacity: 1; } 20% { opacity: 0.6; } 60% { animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1); opacity: 0.6; } 80% { animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1); opacity: 0.8; } 100% { opacity: 1; } }

.listen-scrub-waiting-icon { left: 108px; }
.listen-scrub-avatar-thinking { left: 146px; }
.listen-scrub-label {
  position: absolute;
  top: 95px;
  width: 70px;
  height: 24px;
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}
.listen-scrub-label-cloud { left: 50px; }
.listen-scrub-label-thinking { left: 126px; }
.listen-connected-icon {
  position: absolute;
  z-index: 8;
  display: block;
  object-fit: contain;
  pointer-events: none;
}
.listen-connected-hotspot { z-index: 9; }
.listen-end-dismiss {
  position: absolute;
  inset: 0;
  z-index: 30;
  width: 390px;
  height: 844px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: default;
}
.listen-end-bubble {
  position: absolute;
  z-index: 31;
  left: 70.5px;
  top: 118px;
  width: 105px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.listen-end-bubble img {
  display: block;
  width: 105px;
  height: 40px;
  object-fit: fill;
  pointer-events: none;
}
.hotspot { position: absolute; z-index: 5; padding: 0; border: 0; outline: 0; background: transparent; cursor: pointer; touch-action: manipulation; }
.chapter-progress-zone, .rating-zone, .listen-swipe-zone, .playback-like-hotspot { touch-action: none; }
.show-hints .hotspot { border: 2px solid rgba(74,145,237,.75); border-radius: 8px; background: rgba(74,145,237,.13); box-shadow: 0 0 0 3px rgba(74,145,237,.12); }
.show-hints .hotspot::after { content: ""; position: absolute; width: 8px; height: 8px; right: -4px; top: -4px; border-radius: 50%; background: #72adff; animation: hintPulse 1.25s infinite; }
@keyframes hintPulse { 50% { transform: scale(1.8); opacity: .35; } }

.friend-notice {
  position: absolute; z-index: 30; left: 50%; top: 54px; min-width: 128px; transform: translate(-50%, -28px);
  padding: 9px 16px; border-radius: 19px; background: rgba(43, 49, 58, .92); color: #fff; font-size: 13px;
  text-align: center; opacity: 0; pointer-events: none; -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.friend-notice.visible { opacity: 1; transform: translate(-50%, 0); }
.friend-notice.visible.leaving { opacity: 0; transform: translate(-50%, -14px); transition-timing-function: var(--ease-in-out); }

.rating-zone { position: absolute; left: 75px; top: 300px; width: 240px; height: 48px; z-index: 7; cursor: ew-resize; touch-action: none; }
.rating-stars { position: absolute; left: 75px; top: 300px; z-index: 6; display: flex; gap: 0; pointer-events: none; }
.rating-star {
  position: relative; width: 48px; height: 48px; overflow: hidden;
}
.rating-star-base, .rating-star-fill, .rating-star-fill img { position: absolute; left: 0; top: 0; height: 48px; }
.rating-star-base, .rating-star-fill img { width: 48px; max-width: none; }
.rating-star-fill { width: 0; overflow: hidden; }
.program-user-rating { left: 175px; top: 537px; width: 104px; height: 20px; gap: 1px; background: #fbfcfe; }
.program-user-rating .rating-star { width: 20px; height: 20px; flex: 0 0 20px; }
.program-user-rating .rating-star-base,
.program-user-rating .rating-star-fill,
.program-user-rating .rating-star-fill img { height: 20px; }
.program-user-rating .rating-star-base,
.program-user-rating .rating-star-fill img { width: 20px; }
.review-textarea {
  position: absolute; z-index: 6; left: 24px; top: 374px; width: 342px; height: 74px; padding: 16px 0;
  resize: none; outline: 0; border: 0; border-radius: 0; background: #fff; color: #333; font-size: 16px; line-height: 1.45;
  user-select: text; touch-action: manipulation;
}
.review-textarea::placeholder { color: #aaa; }
.keyboard-key { position: absolute; z-index: 10; border: 0; background: transparent; color: transparent; cursor: pointer; }
.show-hints .keyboard-key { outline: 1px dashed rgba(74,145,237,.35); border-radius: 5px; }

.published-review {
  position: absolute; z-index: 6; left: 22px; top: 644px; width: 346px; min-height: 126px; padding: 12px 12px 13px 54px;
  border-radius: 7px; background: white; color: #333; box-shadow: 0 -8px 20px rgba(255,255,255,.9);
}
.published-avatar { position: absolute; left: 4px; top: 10px; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(145deg,#1e548d,#82c7df); }
.published-review header { display: flex; align-items: center; gap: 8px; color: #888; font-size: 12px; }
.published-review header b { color: #606a76; font-weight: 500; }
.mini-stars { color: #ffa600; letter-spacing: 1px; }
.published-review p { margin: 9px 0 0; font-size: 14px; line-height: 1.45; }

.player-ui-crop { mix-blend-mode: screen; }
.chapter-progress-zone { cursor: ew-resize; }
.playback-progress-layer {
  position: absolute; z-index: 8; inset: 0; pointer-events: none;
  font-family: "Barlow", "DIN", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
}
.playback-time-row {
  position: absolute; left: 24px; top: 528px; width: 342px; height: 24px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0; color: #fff; font-size: 14px; font-weight: 500; line-height: 24px;
}
.playback-time-row span {
  position: relative; z-index: 1; display: block; min-width: 72px; white-space: nowrap;
  background: #07131f; box-shadow: 0 0 3px 3px #07131f;
}
.playback-time-elapsed { text-align: left; }
.playback-time-remaining { text-align: right; }
.playback-subtitle-preview {
  position: absolute; z-index: 7; left: 70px; top: 528px; width: 250px; height: 32px;
  display: grid; place-items: center; overflow: hidden; pointer-events: none;
  background: #07131f;
}
.playback-subtitle-preview p {
  display: -webkit-box; width: 177px; max-height: 32px; margin: 0; overflow: hidden;
  color: #fff; font-family: "Prototype Barlow", "Prototype PingFang SC", "Barlow", "PingFang SC", sans-serif;
  font-size: 14px; font-weight: 500; line-height: 16px; letter-spacing: 0; text-align: center;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.5) 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5) 55%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 250px 32px;
  mask-size: 250px 32px;
  -webkit-mask-position: -37px -2px;
  mask-position: -37px -2px;
  will-change: transform, opacity;
}
.playback-toggle-visual {
  position: absolute; z-index: 7; left: 166px; top: 652px; width: 60px; height: 60px;
  border-radius: 12px; background: #07131f; opacity: 0; pointer-events: none;
}
.playback-toggle-visual.is-playing { opacity: 1; }
.playback-toggle-visual i {
  position: absolute; top: 7.5px; width: 10px; height: 45px; border-radius: 2.5px; background: #fff;
}
.playback-toggle-visual i:first-child { left: 15px; }
.playback-toggle-visual i:last-child { left: 35px; }
.playback-like-hotspot { z-index: 9; }
.playback-like-visual {
  position: relative; display: block; flex: 0 0 30px; width: 30px; height: 30px;
  pointer-events: none;
}
.playback-like-fixed { position: absolute; z-index: 4; left: 252px; top: 748px; }
.playback-like-visual img {
  position: absolute; left: 0; top: 0; display: block; width: 30px; height: 30px;
  transform-origin: 15px 15px;
}
.playback-like-default { opacity: 1; transform: rotate(0deg); }
.playback-like-clicked { opacity: 0; transform: rotate(30deg); }
.like-burst-layer { position: absolute; z-index: 9; inset: 0; pointer-events: none; }
.status-glyph { position: absolute; display: block; width: 42px; height: 42px; pointer-events: none; }
.status-glyph > img { position: absolute; inset: 0; display: block; width: 42px; height: 42px; }
.status-glyph-question { border-radius: 50%; background: #3b7bc9; }
.status-glyph-question > img { left: 11.27px; top: 6.085px; width: 18.4653px; height: 31.4285px; }
.timeline-status-marks { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.timeline-status-mark { position: absolute; top: 46px; width: 8px; height: 8px; }
.timeline-status-mark[hidden] { display: none; }
.timeline-status-mark > .status-glyph { transform: scale(0.1904761905); transform-origin: 0 0; }
.floating-like-particle {
  position: absolute; left: 0; top: 0; display: block; width: 42px; height: 42px;
  transform-origin: 21px 21px; opacity: 0; pointer-events: none;
}
.timeline-like-feedback {
  position: absolute; z-index: 4; top: 29px; width: 42px; height: 42px;
  opacity: 0; transform-origin: 21px 21px; pointer-events: none;
}
.timeline-like-active { width: 42px; }
.timeline-like-orbit {
  position: absolute; left: -9px; top: -9px; width: 60px; height: 60px;
  overflow: visible; opacity: 0; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .playback-like-visual img { transform: none !important; }
  .timeline-like-feedback:not(.is-burst-compact) { transform: none !important; }
  .timeline-like-orbit { visibility: hidden; }
}
.playback-waveform-box {
  position: absolute; left: 24px; top: 560px; width: 342px; height: 56px;
}
.playback-waveform-clip {
  position: absolute; inset: 0; overflow: hidden; border-radius: 8px;
  background: #07131f;
}
.playback-waveform-clip::before {
  content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.1);
}
.playback-waveform,
.playback-waveform-played-clip {
  position: absolute; inset: 0; overflow: hidden;
}
.playback-waveform i {
  position: absolute; bottom: 6px; width: 4.025px; border-radius: 7px;
}
.playback-waveform-unplayed i { background: rgba(255,255,255,.1); }
.playback-waveform-played i { background: #4076be; }
.playback-waveform-played-clip { width: 0; will-change: width; }
.playback-progress-display {
  position: absolute; z-index: 2; left: 0; top: 0; height: 56px; overflow: hidden;
  pointer-events: none; will-change: width;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.20));
}
.chapter-progress-indicator {
  position: absolute; z-index: 3; top: 0; width: 3px; height: 56px;
  overflow: hidden; border-radius: 0;
  background: rgba(255,255,255,.8); pointer-events: none; will-change: left;
}
.playback-progress-layer.is-scrubbing .chapter-progress-indicator {
  top: -4px; width: 6px; height: 64px;
  border-radius: 10px; background: #fff;
}
.playback-progress-layer.is-scrubbing .playback-progress-display {
  height: 56px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.60));
}
.playback-progress-layer.is-scrubbing .playback-waveform-played i { background: #3b7bc9; }
.chapter-browser-panel {
  position: absolute; z-index: 3; left: 0; top: 452px; width: 390px; height: 68px;
  overflow: hidden; color: #fff; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.3) 0%, #000 10%, #000 90%, rgba(0,0,0,.3) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.3) 0%, #000 10%, #000 90%, rgba(0,0,0,.3) 100%);
  font-family: "Prototype PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}
.chapter-card {
  position: absolute; top: 0; width: 136px; height: 68px; box-sizing: border-box;
  padding: 8px; border-radius: 4px; overflow: hidden;
  background-color: transparent; background-repeat: no-repeat; color: #fff;
  font-size: 12px; line-height: normal; letter-spacing: 0;
}
.chapter-card small {
  display: block; margin-bottom: 2px; color: #fff; white-space: nowrap;
  font-family: "Prototype PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px; font-weight: 400; line-height: 16px;
}
.chapter-card > span {
  display: block; width: 120px; color: #fff; word-break: break-word;
  font-family: "Prototype PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px; font-weight: 400; line-height: normal;
}
.chapter-card.is-selected {
  background-color: transparent; color: #fff;
}
.chapter-card.is-selected small { color: #fff; }
.chapter-card.is-empty { visibility: hidden; }
.chapter-card-previous {
  left: -15px;
  background-image: url("assets/chapter-nav-unselected-left.png?v=a6046905ce7f");
  background-position: right top; background-size: 121px 68px;
}
.chapter-card-current {
  left: 129px;
  background-image: url("assets/chapter-nav-selected.png?v=d2cd79b3f40b");
  background-position: left top; background-size: 136px 68px;
}
.chapter-card-next {
  left: 273px;
  background-image: url("assets/chapter-nav-unselected-right.png?v=d90633111668");
  background-position: left top; background-size: 117px 68px;
}
.review-keyboard-panel {
  animation: kf_80_1785_translate_0 2s linear both;
}
@keyframes kf_80_1785_translate_0 {
  0% { animation-timing-function: cubic-bezier(0, 0, .5, 1); transform: translateY(331.791px); }
  10%, 100% { transform: translateY(0); }
}
.transcript-selection-highlight {
  position: absolute; z-index: 2; left: 0; top: 0; width: 390px; height: 0;
  background: rgba(255,255,255,.25); pointer-events: none;
}
.transcript-selection-highlight.is-animated { animation: kf_8_1449_opacity_0 2s linear both; }
@keyframes kf_8_1449_opacity_0 {
  0% { animation-timing-function: ease-in-out; opacity: 0; }
  10% { opacity: 1; }
  25% { animation-timing-function: ease-in-out; opacity: 1; }
  40%, 100% { opacity: 0; }
}
.transcript-live-surface {
  position: absolute; z-index: 3; left: 38px; top: 112px; width: 314px; height: 601px;
  overflow: hidden; color: #fff; pointer-events: auto;
  font-family: "Prototype PingFang SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
}
.transcript-live-surface.comments-visible { z-index: 9; }
.transcript-live-viewport {
  position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto;
  scrollbar-width: none; overscroll-behavior: contain; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 89%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 89%, transparent 100%);
}
.transcript-live-viewport::-webkit-scrollbar { display: none; }
.transcript-live-list { padding: 72px 0 190px; }
.transcript-turn { margin: 0 0 16px; }
.transcript-speaker {
  margin: 0; color: rgba(59,123,201,.5); font-size: 14px; font-weight: 500;
  line-height: 20px; letter-spacing: .28px; transition: color 100ms linear;
}
.transcript-turn.is-current .transcript-speaker { color: #3b7bc9; }
.transcript-copy {
  margin: 0; color: rgba(255,255,255,.38); font-size: 16px; font-weight: 500;
  line-height: 24px; letter-spacing: .32px; overflow-wrap: break-word; word-break: normal;
}
.transcript-copy + .transcript-copy { margin-top: 16px; }
.transcript-sentence { transition: color 100ms linear, opacity 100ms linear; }
.transcript-character { color: inherit; transition: none; }
.transcript-comment-tail { white-space: nowrap; }
.transcript-sentence.is-playing { color: rgba(255,255,255,.38); opacity: 1; }
.transcript-sentence.is-playing .transcript-character.is-played { color: #fff; }
.transcript-sentence.has-comment { color: #fff; opacity: 1; }
.transcript-sentence.has-comment .transcript-character { color: #fff; }
.transcript-comment-marker {
  display: inline-flex; width: 16px; height: 16px; margin: 0 0 -2px 4px; padding: 0;
  border: 0; background: transparent; vertical-align: baseline; cursor: pointer;
}
.transcript-comment-marker { position: relative; }
.transcript-comment-marker img { display: block; position: absolute; left: 2px; top: 3px; width: 12px; height: 11.5702px; }
.transcript-comment-marker.is-selected img { left: 0; top: 0; width: 16px; height: 16px; }
.transcript-comment-marker.is-selected { position: relative; z-index: 12; }
.transcript-chapter-rail {
  position: absolute; z-index: 7; left: 340px; top: 366px; width: 40px; height: 84px;
  border: 0; outline: 0; touch-action: none; cursor: ns-resize;
}
.transcript-chapter-lines {
  position: absolute; right: 14px; top: 12px; width: 8px; height: 60px;
  display: grid; grid-template-rows: repeat(6, 10px); align-items: center; justify-items: end;
}
.transcript-chapter-tick {
  display: block; width: 8px; height: 2px; border-radius: 2px;
  background: #fff; opacity: .5; transform: scaleX(.5); transform-origin: right center;
  transition: transform 120ms var(--ease-in-out), opacity 120ms linear;
}
.transcript-chapter-tick.is-current { opacity: .8; transform: scaleX(1); }
.transcript-chapter-card {
  position: absolute; z-index: 6; left: 216px; top: 368px; width: 136px; height: 68px;
  padding: 8px; pointer-events: none; opacity: 0; transform: scale(.96); transform-origin: right center;
  background: url("assets/文稿内章节导航背景-选中.png?v=4279fc1e86c6") center / 136px 68px no-repeat;
  transition: transform 180ms var(--ease-out), opacity 160ms var(--ease-out);
}
.transcript-chapter-card.is-visible { opacity: 1; transform: scale(1); }
.transcript-chapter-card small {
  display: block; margin: 0; color: #fff; font-family: "Prototype PingFang SC", "PingFang SC", sans-serif;
  font-size: 12px; font-weight: 400; line-height: 14px; white-space: nowrap;
}
.transcript-chapter-card span {
  display: block; width: 120px; margin-top: 4px; color: #fff;
  font-family: "Prototype PingFang SC", "PingFang SC", sans-serif;
  font-size: 12px; font-weight: 400; line-height: 16px;
}
.reaction-popover-layer { position: absolute; z-index: 7; inset: 0; pointer-events: none; }
.reaction-popover-layer.is-closing button,
.reaction-popover-layer.is-closing .reaction-bubble-blocker { pointer-events: none; }
.reaction-popover {
  position: absolute; z-index: 1; left: 24px; top: 682px; width: 342px; height: 58px;
  pointer-events: none;
  animation:
    kf_58_777_opacity_0 1s linear both,
    kf_58_777_translate_0 1s linear both,
    kf_58_777_scale_0 1s linear both;
}
@keyframes kf_58_777_opacity_0 {
  0% { animation-timing-function: cubic-bezier(.5, 0, .5, 1); opacity: 0; }
  20%, 100% { opacity: 1; }
}
@keyframes kf_58_777_translate_0 {
  0% { translate: 0 12.202px; }
  20%, 100% { translate: 0 0; }
}
@keyframes kf_58_777_scale_0 {
  0% { animation-timing-function: cubic-bezier(.5, 0, .5, 1); scale: .6 .6; }
  20%, 100% { scale: 1 1; }
}
.reaction-backplate {
  position: absolute; z-index: 2; left: 0; top: 0; width: 342px; height: 57.25px;
  display: block; object-fit: fill; pointer-events: none;
}
.reaction-icon-row {
  position: absolute; z-index: 4; left: 12px; top: 8px; display: block;
  width: 318px; height: 30px; object-fit: contain; pointer-events: none;
}
.reaction-dismiss {
  position: absolute; inset: 0; z-index: 0; border: 0; background: transparent;
  pointer-events: auto; cursor: default;
}
.reaction-bubble-blocker {
  position: absolute; z-index: 3; left: 0; top: 0; width: 342px; height: 58px;
  pointer-events: auto;
}
.reaction-choice {
  position: absolute; z-index: 5; top: 0; height: 48px; border: 0;
  background: transparent; cursor: pointer; pointer-events: auto;
}
.comment-dismiss { position: absolute; inset: 0; z-index: 8; border: 0; background: transparent; }
.comment-panel-blocker { position: absolute; z-index: 4; left: 24px; top: 401px; width: 342px; height: 300px; }
.comment-glass {
  position: absolute; z-index: 3; left: 24px; top: 407px; width: 342px; height: 294px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
  background: rgba(234,221,255,.08);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); pointer-events: none;
}
.comment-glass::before {
  content: ""; position: absolute; left: 97px; top: -7px; width: 12px; height: 12px;
  transform: rotate(45deg); border-left: 1px solid rgba(255,255,255,.2);
  border-top: 1px solid rgba(255,255,255,.2); background: rgba(234,221,255,.08);
}
.comment-reply-glass {
  position: absolute; z-index: 3; left: 69px; top: 482px; width: 281px; height: 72px;
  border-radius: 4px; background: rgba(234,221,255,.08);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); pointer-events: none;
}
.comment-vector-crop { position: absolute; z-index: 4; overflow: hidden; pointer-events: none; }
.comment-content-crop { left: 38px; top: 423px; width: 312px; height: 232px; }
.comment-more-crop { left: 268px; top: 655px; width: 98px; height: 46px; }
.comment-vector-source { position: absolute; width: 390px; height: 844px; border: 0; pointer-events: none; }
.content-source { left: -38px; top: -423px; }
.more-source { left: -268px; top: -655px; }
.transcript-comment-panel {
  position: absolute; z-index: 10; left: 24px; top: 401px; width: 342px; height: 300px;
  color: rgba(255,255,255,.8); font-family: "Prototype PingFang SC", "PingFang SC", sans-serif;
  opacity: 0; will-change: opacity;
  transition: opacity 130ms var(--ease-out);
}
.transcript-comment-panel.is-visible { opacity: 1; transition-duration: 160ms; }
.transcript-comment-panel.is-closing { pointer-events: none; }
.transcript-comment-glass {
  position: absolute; left: 0; top: 0; width: 342px; min-height: 48px;
  border: 16px solid transparent; border-image-source: url("assets/comment-frame.png?v=12788f6d8b26");
  border-image-slice: 14 14 14 14 fill; border-image-width: 16px; border-image-repeat: stretch;
  box-sizing: border-box; pointer-events: none;
}
.transcript-comment-mask {
  position: absolute; left: 14px; top: 22px; width: 312px; height: 232px;
  overflow-x: hidden; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain;
  touch-action: pan-y; -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 90%, transparent 100%);
}
.transcript-comment-mask::-webkit-scrollbar { display: none; }
.transcript-comment-panel:not(.is-scrollable) .transcript-comment-mask {
  -webkit-mask-image: none; mask-image: none;
}
.transcript-comment-list { padding: 0 2px; }
.transcript-comment-item { margin: 0 0 20px; font-size: 14px; line-height: 20px; letter-spacing: .28px; }
.transcript-comment-item:last-child { margin-bottom: 0; }
.transcript-comment-user { display: flex; align-items: center; min-height: 24px; gap: 8px; }
.transcript-comment-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.transcript-comment-user > span:not(.transcript-comment-likes) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.transcript-comment-likes { display: flex; align-items: center; gap: 4px; margin-left: auto; color: rgba(255,255,255,.8); }
.transcript-comment-likes img { width: 20px; height: 20px; opacity: .8; }
.transcript-comment-copy { margin: 8px 0 0 32px; color: #fff; font-size: 16px; line-height: 24px; letter-spacing: .32px; }
.transcript-comment-copy button {
  margin: 0 4px 0 0; padding: 0; border: 0; border-bottom: 1px solid #3b7bc9;
  background: transparent; color: #3b7bc9; font: inherit; cursor: pointer;
}
.transcript-comment-replies {
  margin: 8px 0 0 32px; padding: 12px; border-radius: 4px; background: rgba(234,221,255,.08);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
}
.transcript-comment-replies p {
  display: block; margin: 0; color: #fff;
  font-size: 14px; line-height: 22px; letter-spacing: -.14px;
}
.transcript-comment-reply-name { color: rgba(255,255,255,.8); white-space: nowrap; }
.transcript-comment-host-badge {
  position: relative; display: inline-block; width: 20px; height: 14px; margin: 0 3px;
  border-radius: 2px; background: #3b7bc9; vertical-align: -2px;
}
.transcript-comment-host-badge img {
  position: absolute; left: 1px; top: -2px; width: 18px; height: 18px; margin: 0;
}
.transcript-comment-reply-text { color: #fff; }
.transcript-comment-more {
  position: absolute; right: 18px; bottom: 16px; padding: 0; border: 0; background: transparent;
  color: rgba(255,255,255,.8); font-family: inherit; font-size: 14px; line-height: 20px; cursor: pointer;
}
.listen-chat-input {
  position: absolute; z-index: 7; left: 0; top: 0; width: 304px; height: 40px; padding: 0 8px;
  border: 0; outline: 0; border-radius: 8px; appearance: none; -webkit-appearance: none;
  background: transparent !important; color: #fff; font-family: "PingFang SC", -apple-system, sans-serif;
  font-size: 14px; letter-spacing: .28px; user-select: text; touch-action: manipulation; pointer-events: none;
  caret-color: #fff;
}
.listen-chat-input::placeholder { color: #999; opacity: 1; }
.listen-bottom-layer {
  position: absolute; z-index: 4; left: 0; top: 730px; width: 390px; height: 114px;
  overflow: hidden; pointer-events: none; opacity: 1;
  contain: layout paint; backface-visibility: hidden;
}
.listen-bottom-background { position: absolute; inset: 0; overflow: hidden; background: #07131e; }
.listen-bottom-background img {
  position: absolute; left: 0; top: -730px; width: 390px; height: 844px; max-width: none; pointer-events: none;
}
.listen-controls-viewport { position: absolute; z-index: 5; left: 0; top: 9px; width: 390px; height: 58px; overflow: hidden; }
.listen-controls-track {
  position: absolute; left: 0; top: 9px; width: 780px; height: 40px;
  transform: translate3d(0,0,0); will-change: transform; backface-visibility: hidden;
}
.listen-controls-track.settling { transition: transform 220ms var(--ease-out); }
.listen-bottom-icons {
  position: absolute; left: 36px; top: 0; width: 318px; height: 30px;
  display: flex; align-items: center; justify-content: center; gap: 42px; pointer-events: none;
}
.listen-bottom-icons img { flex: 0 0 30px; width: 30px; height: 30px; }
.listen-input-panel { position: absolute; left: 414px; top: 0; width: 342px; height: 40px; }
.listen-input-surface {
  position: absolute; z-index: 5; left: 0; top: 0; width: 342px; height: 40px;
  border-radius: 8px; background: rgba(255,255,255,.2); pointer-events: none;
  transform: translateZ(0); backface-visibility: hidden; contain: paint;
}
.listen-send-icon { position: absolute; z-index: 6; left: 310px; top: 8px; width: 24px; height: 24px; pointer-events: none; }
.listen-state-indicator {
  position: absolute; z-index: 6; left: 50%; top: 67px; height: 4px; transform: translateX(-50%);
  display: flex; gap: 8px; align-items: center; pointer-events: none;
}
.listen-state-indicator span { width: 16px; height: 4px; border-radius: 4px; background: #fff; opacity: .8; }
.listen-state-indicator b { width: 4px; height: 4px; border-radius: 4px; background: #fff; opacity: .5; }
.listen-state-indicator span.settling, .listen-state-indicator b.settling {
  transition: width 220ms var(--ease-out), opacity 220ms var(--ease-out);
}
.listen-swipe-zone { cursor: ew-resize; }
.listen-input-swipe-zone { z-index: 8; }
.listen-send-hotspot { z-index: 9; }

.evaluation-heart-cover {
  position: absolute; z-index: 4; left: 170px; top: 605px; width: 20px; height: 22px;
  display: block; background: #fff; pointer-events: none;
}
.evaluation-emoji-cover {
  position: absolute; z-index: 3; left: 84px; top: 697px; width: 216px; height: 24px;
  display: block; background: #f4f4f4; pointer-events: none;
}
.evaluation-reply-text {
  position: absolute; z-index: 4; left: 86px; top: 697px; height: 24px; color: #333;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px; line-height: 22px; letter-spacing: -.14px; white-space: nowrap; pointer-events: none;
}
.share-player-dim {
  position: absolute; z-index: 1; inset: 0; background: transparent;
  -webkit-backdrop-filter: blur(50px); backdrop-filter: blur(50px); pointer-events: none;
}
.figma-share-enter {
  animation: kf_59_1758_translate_0 2s linear both;
}
@keyframes kf_59_1758_translate_0 {
  0% { animation-timing-function: cubic-bezier(0, 0, .5, 1); transform: translateY(428px); }
  10%, 100% { transform: translateY(0); }
}
.share-sheet-base {
  position: absolute; z-index: 2; left: 0; top: 416px; width: 390px; height: 428px;
  border-radius: 24px 24px 0 0; background: #fff; pointer-events: none;
}
.share-sheet-header { z-index: 3; }
.share-divider-cover {
  position: absolute; z-index: 5; left: 0; top: 575px; width: 390px; height: 4px;
  background: #fff; pointer-events: none;
}
.share-card-viewport {
  position: absolute; z-index: 6; left: 0; top: 578px; width: 390px; height: 266px;
  overflow: hidden; background: #fff; cursor: grab; touch-action: pan-y;
}
.share-card-viewport:active { cursor: grabbing; }
.share-card-strip {
  position: absolute; left: 0; top: 10px; width: 580px; height: 224px; border: 0;
  overflow: visible; background: transparent; pointer-events: none; will-change: transform;
}
.share-card-strip.settling { transition: transform 200ms var(--ease-in-out); }
.share-card-item { position: absolute; top: 0; height: 224px; }
.share-card-group-image { display: block; width: 100%; height: 210px; object-fit: fill; pointer-events: none; }
.share-card-label {
  position: absolute; left: 0; top: 208px; width: 100%; color: #888;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px; line-height: 20px; text-align: center; white-space: nowrap; pointer-events: none;
}
.share-card-shadow {
  position: absolute; left: 0; top: 12px; width: 100%; height: 186px; border-radius: 8px;
  box-shadow: 0 0 12px rgba(47,76,121,.2); pointer-events: none;
}
.share-card-crop { position: absolute; inset: 0; overflow: hidden; background: transparent; }
.share-card-source { position: absolute; top: -588px; width: 390px; height: 844px; border: 0; pointer-events: none; }
.screen-state-preview {
  position: absolute; z-index: 4; inset: 0; width: 390px; height: 844px; pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.screen-state-preview.settling { transition: transform 200ms var(--ease-in-out), opacity 200ms var(--ease-in-out); }

@media (prefers-reduced-motion: reduce) {
  .listen-waiting-dot, .wait-line { animation: listen-wait-reduced 2s linear infinite; }
  .share-card-strip.settling { transition-duration: 1ms; }
  .reaction-popover { animation: none; }
  .figma-share-enter { animation: none; }
  .review-keyboard-panel { animation: none; }
  .transcript-selection-highlight.is-animated { animation: none; opacity: 0; }
  .transcript-comment-panel,
  .transcript-comment-panel.is-visible { transition-duration: 90ms; }
  .transcript-chapter-tick { transition: opacity 120ms linear; }
  .transcript-chapter-card { transform: none; transition: opacity 160ms var(--ease-out); }
  .transcript-chapter-card.is-visible { transform: none; }
}
@keyframes listen-wait-reduced { 0%,100% { opacity:.7; } 50% { opacity:.85; } }

.stage-note { margin: 12px 0 0; color: #687384; font-size: 11px; }
.mobile-toolbar, .mobile-drawer { display: none; }

.daylight-showcase[hidden] { display: none; }
.show-daylight .stage { display: block; overflow-y: auto; padding: 32px; }
.show-daylight .phone-viewport, .show-daylight .stage-note, .show-daylight .hint-toggle { display: none; }
.daylight-showcase { max-width: 1320px; margin: 0 auto; }
.daylight-heading h2 { margin: 0; font-size: clamp(22px,2.1vw,32px); font-weight: 600; letter-spacing: -.03em; }
.daylight-heading > p:last-child { margin: 10px 0 26px; color: #a6b2c4; font-size: 13px; }
.daylight-media { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 28px; align-items: start; }
.daylight-media figure { margin: 0; min-width: 0; }
.daylight-media figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: 13px; }
.daylight-media figcaption span { font-size: 11px; color: #9cacc0; }
.daylight-video-surface { position: relative; width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 390/844; background: #0d1726; border-radius: 18px; overflow: hidden; touch-action: pan-y; }
.daylight-motion video, #daylightCanvas { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
#daylightCanvas { background-position: center; background-size: cover; }
#daylightCanvas[hidden], #daylightVideo[hidden] { display: none; }
.daylight-video-covered .daylight-video-surface, .daylight-video-surface.is-outside-viewport { visibility: hidden; }
.daylight-video-controls { display: flex; align-items: center; gap: 12px; margin: 12px 0; font-size: 12px; }
.daylight-video-controls button { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #34465e; border-radius: 8px; background: #152237; cursor: pointer; }
.daylight-video-controls input { min-width: 0; flex: 1; accent-color: #79adf4; touch-action: pan-y; }
.daylight-video-controls span { font-variant-numeric: tabular-nums; }
.daylight-motion > p { color: #9cacc0; font-size: 11px; line-height: 1.7; }
.daylight-speed { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; color: #c4d1e3; font-size: 13px; }
.daylight-speed select { padding: 8px 12px; border: 1px solid #34465e; border-radius: 8px; color: #eef5ff; background: #152237; font: inherit; cursor: pointer; }
.daylight-speed select:focus-visible { outline: 2px solid #8dc1ff; outline-offset: 3px; }
.daylight-stills { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 18px; }
.daylight-stills a { display: block; width: fit-content; margin: auto; border-radius: 10px; }
.daylight-stills img { display: block; max-width: 100%; width: auto; height: auto; max-height: 280px; border-radius: 10px; margin: auto; -webkit-touch-callout: none; user-select: none; }
.daylight-stills a:focus-visible { outline: 3px solid #8dc1ff; outline-offset: 5px; }
.daylight-rules { margin-top: 30px; padding: 24px; border: 1px solid #283444; border-radius: 16px; background: #101a28; }
.daylight-rules h3 { margin: 0; font-size: 17px; font-weight: 600; }
.daylight-rules p { color: #b0bfd2; font-size: 13px; line-height: 1.8; }
.daylight-rules dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 20px 0; }
.daylight-rules dt { color: #b5cefa; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.daylight-rules dd { margin: 0; font-size: 12px; color: #d8e0ec; line-height: 1.9; }
.daylight-rules .daylight-disclaimer { margin-bottom: 0; font-size: 11px; color: #90a1b8; }
@media (min-width: 1350px) {
  .daylight-media { grid-template-columns: minmax(230px,1.35fr) minmax(0,4fr); }
  .daylight-stills { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .daylight-stills img { max-height: none; width: 100%; }
}
@media (max-width: 1000px) {
  .show-daylight .stage { padding: 24px 18px; }
  .daylight-media { gap: 18px; }
  .daylight-media figcaption { align-items: start; flex-direction: column; gap: 4px; }
  .daylight-rules dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 740px) {
  html, body { height: auto; overflow-x: hidden; overflow-y: auto; touch-action: pan-y; }
  .demo-shell { display: block; height: auto; min-height: 100vh; min-height: 100dvh; }
  .demo-panel { display: none; }
  .stage { height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; padding: 52px 6px calc(8px + var(--mobile-bottom-clearance) + env(safe-area-inset-bottom, 0px)); justify-content: flex-start; }
  .show-daylight .stage { padding: 68px 18px calc(24px + var(--mobile-bottom-clearance) + env(safe-area-inset-bottom, 0px)); }
  html.daylight-page, html.daylight-page body { height: auto; overflow-x: hidden; overflow-y: auto; touch-action: pan-y; }
  .show-daylight .demo-shell { height: auto; min-height: 100vh; min-height: 100dvh; }
  .show-daylight .stage { height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; touch-action: pan-y; }
  .daylight-media { grid-template-columns: 1fr; }
  .daylight-motion { width: min(100%,300px); justify-self: center; }
  .daylight-heading h2 { font-size: 23px; }
  .daylight-rules { padding: 18px; }
  .mobile-toolbar {
    position: fixed; z-index: 40; inset: 0 0 auto; height: 46px; display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; padding: 0 12px; background: rgba(10,13,18,.88); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px);
  }
  .mobile-toolbar b { font-size: 13px; }
  .mobile-toolbar button { border: 0; background: transparent; color: #79adf4; font-size: 12px; cursor: pointer; }
  .mobile-toolbar button:first-child { justify-self: start; }
  .mobile-toolbar button:last-child { justify-self: end; }
  .stage-note { display: none; }
  .prototype-frame { border-radius: 28px; }
  .mobile-drawer { position: fixed; z-index: 70; inset: 0; visibility: hidden; display: block; }
  .mobile-drawer.open { visibility: visible; }
  .drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.48); opacity: 0; transition: .2s; }
  .drawer-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px calc(max(22px,env(safe-area-inset-bottom)) + var(--mobile-bottom-clearance)); border-radius: 22px 22px 0 0; background: #161b24; transform: translateY(105%); transition: .25s ease; }
  .mobile-drawer.open .drawer-backdrop { opacity: 1; }
  .mobile-drawer.open .drawer-sheet { transform: translateY(0); }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
  .drawer-head button { border: 0; background: transparent; color: #78acf4; }
  .drawer-sheet > button:not(.drawer-backdrop) { width: 100%; padding: 13px 4px; border: 0; border-top: 1px solid rgba(255,255,255,.08); background: transparent; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
