.studio{padding:42px 42px 70px;max-width:1440px}.studio-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.studio-heading .eyebrow{margin-bottom:14px}.studio-heading h1{font-size:clamp(28px,3.6vw,46px);letter-spacing:-1.8px;line-height:1.15;margin:0;max-width:900px}.studio-heading p:last-child{font-size:13px;color:#687266}.studio-link{display:inline-block;color:#355326;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}.studio-heading .studio-link{padding:15px 20px;border-radius:8px;background:#243d2b;color:white}.watch-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:30px;align-items:start}.main-column{min-width:0}.progress-panel,.story-desk{padding:28px;background:white;border:1px solid #e1e4d9;border-radius:16px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.panel-heading .eyebrow{font-size:9px;margin-bottom:12px}.panel-heading h2{font-size:24px}.progress-panel>p{color:#687266;font-size:14px;line-height:1.7;max-width:570px}.live-badge,.artifact-count{font-size:11px;color:#526f33;white-space:nowrap}.live-badge{padding:8px 12px;border-radius:20px;background:#edf3df}.live-badge.stopped{background:#fff0e7;color:#974522}.stage-list{list-style:none;padding:8px 0;margin:0}.stage{display:grid;grid-template-columns:28px 1fr auto;gap:12px;align-items:center;padding:12px 0;color:#8c9387;font-size:13px;border-bottom:1px solid #f0f1eb}.stage:last-child{border:0}.stage-dot{border:1px solid #dfe4d6;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;font-size:11px}.stage.complete{color:#526f33}.stage.complete .stage-dot{background:#edf3df;border-color:#edf3df}.stage.active{color:#243d2b;font-weight:700}.stage.active .stage-dot{background:#243d2b;color:#d2ed8e;border-color:#243d2b;box-shadow:0 0 0 4px #edf3df}.stage small{font-size:10px;font-weight:400}.scene-progress{font-size:12px;color:#526f33;margin-top:16px}.player-shell{background:#18201a;border-radius:14px;overflow:hidden;aspect-ratio:16/10;border:1px solid #243d2b}.player-shell iframe{display:block;border:0;width:100%;height:100%}.story-desk{margin-top:24px}.artifact-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #e1e4d9;padding:24px 0 18px;margin-bottom:20px}.artifact-tabs button{padding:10px 13px;font-size:12px;border-color:transparent;background:#f5f6f0}.artifact-tabs button[aria-pressed=true]{background:#243d2b;color:white}.artifact-empty{padding:26px 18px;border:1px dashed #d8dfce;border-radius:10px;color:#737d6d;font-size:13px;line-height:1.8}.reading-card{background:#f8f9f4;border:1px solid #e4e8dc;border-radius:10px;margin:10px 0;overflow:hidden}.reading-card summary{cursor:pointer;padding:17px 20px;font-size:14px;font-weight:600;line-height:1.5}.prose{padding:0 20px 22px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;color:#52604f;max-height:520px;overflow:auto}.script-card{display:grid;grid-template-columns:40px 1fr;gap:16px;margin:12px 0;padding:20px;border-radius:12px;background:#f8f9f4}.chapter-number{font-size:23px;letter-spacing:-1px;color:#8ca16b}.script-card p{font-size:16px;line-height:1.85;margin:0;overflow-wrap:anywhere}.source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.source-card,.scene-card{padding:20px;border:1px solid #e1e4d9;border-radius:12px;margin:10px 0;overflow-wrap:anywhere}.source-card h3,.scene-card h3{font-size:15px;margin:12px 0}.source-id,.scene-state{display:inline-block;padding:5px 9px;background:#edf3df;color:#526f33;border-radius:5px;font-size:10px;font-weight:700}.source-card code{font-size:11px;color:#65705f}.source-card p,.scene-card p{font-size:13px;line-height:1.8;color:#687266}.source-card a{font-size:12px;color:#355326}.scene-card .eyebrow{font-size:9px}.related{padding:8px 0}.related>.eyebrow{font-size:9px;margin-bottom:12px}.related h2{font-size:19px;margin-bottom:24px}.related-video{display:grid;grid-template-columns:90px 1fr;column-gap:12px;align-items:center;margin:16px 0;color:#243d2b;text-decoration:none}.mini-preview{grid-row:span 2;display:grid;place-items:center;height:62px;background:linear-gradient(135deg,#e5edda,#ccdcb9);color:#526f33;font-size:19px;border-radius:9px}.related-video strong{font-size:13px}.related-video small{font-size:10px;color:#77816d}.related>.studio-link{margin-top:22px}.studio #message:empty{display:none}.studio #message{margin:16px 0;font-size:13px;color:#974522}@media(max-width:900px){.watch-grid{grid-template-columns:1fr}.related{border-top:1px solid #dfe4d6;padding-top:26px}#related-videos{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px}}@media(max-width:600px){.studio{padding:24px 18px 40px}.studio-heading{align-items:flex-start;flex-direction:column;gap:10px}.progress-panel,.story-desk{padding:20px 16px}.panel-heading{align-items:flex-start}.panel-heading h2{font-size:20px}.live-badge{font-size:9px}.artifact-count{display:none}.script-card{grid-template-columns:25px 1fr;gap:12px;padding:15px}.script-card p{font-size:14px}.player-shell{aspect-ratio:4/3}.stage{font-size:12px}.source-grid{grid-template-columns:1fr}}

.watching .studio{padding-top:20px}.watching .studio-heading{margin-bottom:20px}.watching .studio-heading h1{font-size:28px;letter-spacing:-1px}.watching .studio-heading .eyebrow{display:none}
.sharing-panel{margin-top:24px;padding:24px;background:#edf3e4;border:1px solid #dce5cf;border-radius:14px}.sharing-panel h2{font-size:20px}.sharing-panel label{display:block;font-size:12px;margin:16px 0 8px}.sharing-panel select,.sharing-panel input{padding:12px;border:1px solid #cdd7bf;border-radius:7px;background:white;color:#243d2b;max-width:100%}.sharing-panel button{margin:8px}.sharing-panel p{font-size:12px;line-height:1.7;color:#52604f}.sharing-panel input{width:100%}.sharing-panel a{font-size:12px;color:#355326}.public-watch{max-width:1100px;margin:auto;padding:40px}.public-watch h1{font-size:32px}.public-watch>p{line-height:1.8}.landing-demo{margin:0 0 70px;padding:32px;background:#edf3e4;border-radius:20px}.landing-demo h2{font-size:30px}.landing-demo>p{color:#52604f;line-height:1.8}.landing-demo .player-shell{max-width:1000px;margin:24px auto 0}@media(max-width:600px){.public-watch{padding:24px 18px}.landing-demo{padding:20px}.sharing-panel select{width:100%}}
/* The fallback must expand the outer frame, not only its sandboxed document. */
html.video-fullscreen, .video-fullscreen body{overflow:hidden!important}
.player-shell.viewport-fullscreen{position:fixed!important;inset:0!important;z-index:10000!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;aspect-ratio:auto!important}
.exit-player-fullscreen{position:fixed;z-index:10001;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));background:#243d2b;color:white;border:1px solid #ffffff55;padding:10px 14px;border-radius:6px;font-size:12px}
.player-shell{aspect-ratio:16/9}
@media(max-width:600px){.player-shell{aspect-ratio:16/9}.watching .player-shell,.public-watch .player-shell{width:100vw;margin-left:-18px;border-radius:0;border:0}.landing-demo .player-shell{width:100%;border-radius:0}}
.player-shell{position:relative}.video-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#fffdf8;color:#687266;font:500 12px/1.5 var(--font-sans);z-index:2}.loading-spinner{width:30px;height:30px;border:2px solid #e1e5d9;border-top-color:#ed7014;border-radius:50%;animation:video-spin .8s linear infinite}.is-loading iframe{visibility:hidden}@keyframes video-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading-spinner{animation:none;border-top-color:#ed7014}}

.public-clip .watch-grid{grid-template-columns:minmax(0,1fr)}

.mini-preview{position:relative;overflow:hidden}.mini-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
