:root{color-scheme:dark;--bg:#0f0f0f;--text:#f1f1f1;--secondary:#aaa;--surface:#272727;--hover:#3f3f3f;--border:#3f3f3f;--subtle:#181818;--blue:#3ea6ff;--inverse:#0f0f0f;--white:#f1f1f1}
html[data-theme=light]{color-scheme:light;--bg:#fff;--text:#0f0f0f;--secondary:#606060;--surface:#f2f2f2;--hover:#e5e5e5;--border:#ddd;--subtle:#fafafa;--blue:#065fd4;--inverse:#fff;--white:#0f0f0f}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Roboto,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.45}button,input,textarea{font:inherit}button{border:0;color:inherit;background:none;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}button:disabled{cursor:default}button,textarea,input{-webkit-tap-highlight-color:transparent}button svg{pointer-events:none}svg.icon{width:24px;height:24px;display:block;flex-shrink:0}a{color:var(--blue)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.masthead{height:56px;padding:0 28px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:40px;position:sticky;top:0;z-index:30;background:var(--bg)}.masthead-start,.masthead-end{display:flex;align-items:center;gap:14px;flex-shrink:0}.masthead-start{gap:16px}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.icon-button:hover{background:var(--surface)}.youtube-brand{display:flex;align-items:center;padding:0;position:relative;gap:4px}.yt-mark{width:32px;height:23px}.yt-word{font-family:'Arial Narrow',Arial,sans-serif;font-weight:800;font-stretch:condensed;font-size:24px;letter-spacing:-1.5px;transform:scaleX(.84);transform-origin:left;margin-right:-12px}.youtube-brand sup{color:var(--secondary);font-size:10px;align-self:flex-start;margin:0 0 0 6px;line-height:12px}.search-form{display:flex;align-items:center;width:100%;max-width:680px;height:40px;margin-left:32px}.search-input-wrap{height:40px;flex:1;min-width:0;border:1px solid var(--border);border-right:0;border-radius:40px 0 0 40px;background:var(--bg);display:flex;padding:0 0 0 20px}.search-input-wrap:focus-within{border-color:#1c62b9}.search-input-wrap input{font-size:16px;line-height:24px;background:transparent;color:var(--text);outline:none;border:0;width:100%;min-width:0;padding:0 8px 0 0}.search-input-wrap input::-webkit-search-cancel-button{-webkit-appearance:none}.search-submit{height:40px;width:64px;border:1px solid var(--border);background:var(--subtle);border-radius:0 40px 40px 0;display:grid;place-items:center}.search-submit:hover{background:var(--surface)}.mic-button{margin-left:16px;background:var(--surface)}.mic-button:hover{background:var(--hover)}.masthead-end{gap:14px}.preview-chip{font-size:12px;letter-spacing:.15px;color:var(--secondary);border:1px solid var(--border);border-radius:4px;padding:4px 7px;white-space:nowrap}.profile-avatar{width:32px;height:32px;border-radius:50%;background:#5c7569;color:#fff;font-size:18px;display:grid;place-items:center;margin-left:3px}.mobile-search{display:none}.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px;max-width:1754px;margin:24px auto 0;padding:0 28px 48px}.primary-column{min-width:0}.player{position:relative;background:#000;aspect-ratio:16/9;width:100%;border-radius:12px;overflow:hidden;isolation:isolate;color:white}.poster{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.center-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:0;width:68px;height:48px;filter:drop-shadow(0 2px 8px #0005);transition:transform .16s}.center-play svg{width:100%;height:100%}.play-background{fill:#f03;transition:fill .15s}.center-play:hover{transform:translate(-50%,-50%) scale(1.08)}.center-play:hover .play-background{fill:red}.player-chrome{position:absolute;bottom:0;left:0;right:0;padding:30px 12px 0;background:linear-gradient(transparent,#000b);opacity:1;transition:opacity .15s}.seek-track{height:3px;position:relative;background:#ffffff38;margin:0 0 3px}.seek-buffer{width:30%;height:100%;background:#ffffff30}.seek-progress{position:absolute;inset:0 auto 0 0;width:0;background:#f03}.player-controls{display:flex;justify-content:space-between;align-items:center;height:43px}.player-left,.player-right{display:flex;align-items:center;min-width:0}.player-button{width:40px;height:40px;display:grid;place-items:center;position:relative;color:white;padding:0;opacity:.95}.player-button:hover{opacity:1;background:#ffffff12;border-radius:4px}.player-button svg{width:24px;height:24px;filter:drop-shadow(0 1px 1px #0006)}.player-left>.player-button:first-child{width:38px}.player-left>.player-button:first-child svg{fill:currentColor;stroke:none}.player-time{font-size:12px;white-space:nowrap;margin-left:9px;text-shadow:0 1px 2px #000;letter-spacing:.1px}.time-divider{padding:0 3px;color:#ddd}.volume-slider{width:0;opacity:0;transition:width .15s,opacity .15s;accent-color:white;margin:0;height:3px}.player-left:hover .volume-slider,.volume-slider:focus{width:48px;opacity:1;margin:0 3px}.quality-button b{position:absolute;top:3px;right:2px;background:#f03;color:white;border-radius:2px;font-size:8px;line-height:11px;min-width:15px;padding:0 2px}.player-notice{position:absolute;top:16px;left:16px;right:16px;display:flex;align-items:center;gap:12px;max-width:430px;background:#111e;color:#fff;border:1px solid #ffffff22;padding:10px 12px;border-radius:8px;box-shadow:0 4px 18px #0003}.player-notice>div{flex:1}.player-notice strong,.player-notice div>span{display:block}.player-notice strong{font-size:14px}.player-notice div>span{font-size:12px;color:#ddd;margin-top:2px}.player-notice .icon-button{width:30px;height:30px}.player-notice .icon-button:hover{background:#ffffff20}.player-settings{position:absolute;z-index:5;bottom:56px;right:12px;width:310px;max-width:calc(100% - 24px);background:#202020f5;border-radius:10px;box-shadow:0 4px 18px #0005;color:#fff;padding:8px 0}.player-settings>button{width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;font-size:13px;text-align:left}.player-settings>button:hover{background:#fff2}.player-settings>button>span:nth-child(2){flex:1}.player-settings strong{font-size:12px;font-weight:500}.player-settings em{font-style:normal;color:#f03;font-size:10px;font-weight:800}.player-settings p{font-size:11px;margin:8px 16px;color:#aaa}.video-details h1{font-size:20px;line-height:28px;letter-spacing:-.25px;font-weight:700;margin:13px 0 11px}.engagement-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.channel-cluster{display:flex;align-items:center;min-width:0;gap:12px}.channel-avatar-button{padding:0;flex:none;width:40px;height:40px}.channel-avatar{width:40px;height:40px;display:block;border-radius:50%;object-fit:cover}.channel-name{padding:0;text-align:left;white-space:nowrap;margin-right:8px}.channel-name strong{font-size:16px;font-weight:600;line-height:22px;display:block}.subscribe-button{border-radius:20px;background:var(--white);color:var(--inverse);height:36px;padding:0 16px;font-size:14px;font-weight:600;white-space:nowrap;display:flex;align-items:center;gap:8px}.subscribe-button:hover{opacity:.9}.subscribe-button[aria-pressed=true]{background:var(--surface);color:var(--text)}.subscribe-button svg{width:20px;height:20px}.action-cluster{display:flex;align-items:center;gap:8px}.pill-button,.reaction-group,.action-more{background:var(--surface);border-radius:20px;height:36px;font-size:14px;font-weight:600}.pill-button{display:inline-flex;align-items:center;gap:7px;padding:0 14px;white-space:nowrap}.pill-button:hover,.action-more:hover{background:var(--hover)}.pill-button svg{width:22px;height:22px}.reaction-group{display:flex;align-items:center;overflow:hidden}.reaction-group button{display:flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 14px}.reaction-group button:hover{background:var(--hover)}.reaction-group button[aria-pressed=true] svg{fill:currentColor}.reaction-divider{height:24px;width:1px;background:var(--border)}.reaction-group .dislike-button{padding:0 14px}.action-more{width:36px;height:36px}.more-container{position:relative}.more-menu{position:absolute;right:0;top:42px;width:235px;z-index:20;padding:8px 0;border-radius:12px;box-shadow:0 4px 20px #0006;background:var(--surface)}.more-menu button{display:flex;align-items:center;gap:16px;padding:12px 16px;width:100%;text-align:left;font-weight:400}.more-menu button:hover{background:var(--hover)}.description-box{border-radius:12px;background:var(--surface);padding:12px;cursor:default;line-height:20px}.description-box:hover{background:color-mix(in srgb,var(--surface) 94%,var(--text))}.description-stats{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-weight:600;margin-bottom:2px}.description-hashtags{font-weight:400;color:var(--secondary)}.description-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.description-box.expanded .description-summary{display:block;overflow:visible}.description-full p{margin:16px 0}.description-full ul{list-style:disc;margin:12px 0 16px;padding-left:22px}.description-full li{padding:2px 0}.description-full strong{font-weight:600}.description-toggle{padding:4px 0 0;font-weight:600;display:block;line-height:20px}.description-tags{color:var(--blue);margin-top:24px}.description-channel{display:flex;gap:14px;align-items:center;margin:24px 0 14px}.description-channel>img{width:48px;height:48px;object-fit:cover;border-radius:50%}.description-channel strong{display:block;font-size:16px}.description-channel button{display:block;margin:5px 0 0;padding:0;color:var(--secondary);font-size:13px}.comments{margin-top:24px}.comments-heading{display:flex;align-items:center;gap:28px;margin-bottom:24px}.comments-heading h2{font-size:20px;line-height:28px;margin:0;font-weight:700}.sort-button{display:flex;align-items:center;gap:8px;font-weight:500;padding:0}.comment-form{display:flex;gap:16px;align-items:flex-start}.comment-avatar{width:40px;height:40px;background:#5c7569;border-radius:50%;color:white;display:grid;place-items:center;font-size:21px;flex-shrink:0}.comment-input-area{flex:1;min-width:0}.comment-input-area textarea{display:block;width:100%;min-height:31px;resize:vertical;background:transparent;border:0;border-bottom:1px solid var(--border);padding:2px 0 5px;outline:none;color:var(--text);font-size:14px;line-height:21px}.comment-input-area textarea:focus{border-bottom:2px solid var(--text)}.comment-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:8px}.comment-actions>span{font-size:12px;color:var(--secondary);margin-right:auto}.text-button,.comment-submit{padding:8px 16px;border-radius:20px;font-weight:600}.text-button:hover{background:var(--surface)}.comment-submit{background:var(--blue);color:#0f0f0f}.comment-submit:disabled{background:var(--surface);color:var(--secondary)}.comment-item{display:flex;gap:16px;align-items:flex-start;margin-top:24px}.comment-content{flex:1;min-width:0}.comment-content h3{display:flex;gap:8px;font-size:13px;margin:0 0 4px}.comment-content h3 span{font-weight:400;color:var(--secondary);font-size:12px}.comment-content p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.comment-local{font-size:11px;color:var(--secondary);margin-top:6px}.preview-footer{font-size:11px;line-height:17px;color:var(--secondary);margin-top:42px;opacity:.8}.recommendations{min-width:0}.recommendation-filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 0 16px;white-space:nowrap;padding:1px 0 2px}.recommendation-filters::-webkit-scrollbar{display:none}.filter-chip{height:32px;border-radius:8px;padding:0 12px;background:var(--surface);font-weight:600;flex-shrink:0}.filter-chip:hover{background:var(--hover)}.filter-chip.selected{background:var(--white);color:var(--inverse)}.recommendation-card{display:grid;grid-template-columns:168px minmax(0,1fr) 16px;gap:8px;width:100%;padding:0;margin-bottom:12px;text-align:left;align-items:start}.recommendation-thumb{position:relative;overflow:hidden;border-radius:8px;aspect-ratio:16/9;background:var(--surface);width:100%}.recommendation-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}.recommendation-card:hover .recommendation-thumb img{transform:scale(1.035)}.recommendation-thumb img.screenshot-thumb{height:auto;position:absolute;top:0;left:0}.duration{position:absolute;bottom:4px;right:4px;background:#000c;color:white;padding:0 4px;border-radius:3px;font-size:12px;font-weight:600;line-height:18px}.recommendation-copy strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:19px;font-weight:600;margin:0 0 5px}.recommendation-copy small{color:var(--secondary);font-size:12px;line-height:17px;display:block}.recommendation-card>.icon{width:18px;height:20px}.rail-about{display:flex;align-items:flex-start;gap:12px;padding:20px 0;margin-top:6px;border-top:1px solid var(--border)}.rail-about>img{width:36px;height:36px;border-radius:50%}.rail-about strong{font-size:14px}.rail-about p{font-size:12px;color:var(--secondary);line-height:18px;margin:5px 0}.rail-about button{padding:0;color:var(--blue);font-size:12px}.nav-drawer{position:fixed;left:0;top:56px;width:240px;height:calc(100vh - 56px);z-index:29;background:var(--bg);padding:12px;overflow:auto}.drawer-backdrop{position:fixed;inset:56px 0 0;background:#0008;z-index:28}.nav-drawer>button{width:100%;display:flex;align-items:center;gap:24px;padding:10px 12px;border-radius:10px;text-align:left}.nav-drawer>button:hover{background:var(--surface)}.nav-drawer h2{margin:12px;font-size:16px}.nav-drawer hr{border:0;border-top:1px solid var(--border);margin:12px 0}.drawer-note{font-size:12px;color:var(--secondary);line-height:20px;margin:16px 12px}dialog{background:var(--surface);border:0;border-radius:12px;color:var(--text);padding:24px;width:520px;max-width:calc(100vw - 32px);box-shadow:0 10px 80px #0006}dialog::backdrop{background:#0009}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.dialog-heading h2{margin:0;font-size:20px;font-weight:500}.dialog-heading .icon-button{margin:-8px -8px -8px 0}.dialog-heading .icon-button:hover{background:var(--hover)}dialog>p{font-size:14px;line-height:21px}.share-link{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:8px;background:var(--bg);padding:8px 8px 8px 12px;margin:20px 0}.share-link input{flex:1;min-width:0;background:transparent;border:0;outline:0;font-size:14px;color:var(--text)}.share-link button{border-radius:20px;background:var(--blue);color:var(--bg);padding:8px 16px;font-weight:600}.dialog-note{font-size:12px!important;color:var(--secondary);line-height:18px!important}.channel-dialog-brand{display:flex;align-items:center;gap:18px;margin-bottom:20px}.channel-dialog-brand img{width:64px;height:64px;border-radius:50%}.channel-dialog-brand h3{font-size:20px;margin:0}.channel-dialog-brand p{font-size:13px;margin:4px 0;color:var(--secondary)}.channel-dialog>.pill-button{background:var(--hover);margin-top:8px}.recommendation-dialog>img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}.recommendation-dialog h3{font-size:18px;line-height:25px}.toast{position:fixed;left:24px;bottom:24px;background:var(--text);color:var(--bg);padding:12px 20px;border-radius:5px;box-shadow:0 2px 15px #0004;z-index:90;font-size:14px;max-width:calc(100vw - 48px)}body.theater .watch-layout{grid-template-columns:minmax(0,1fr) 370px;max-width:1754px}body.theater .primary-column{display:contents}body.theater .player{grid-column:1/-1;max-height:calc(100vh - var(--project-bar-height) - 80px);aspect-ratio:16/9;margin:0 auto;width:100%;border-radius:0}body.theater .player .poster{object-fit:contain}body.theater .video-details{grid-column:1;grid-row:2}body.theater .recommendations{grid-column:2;grid-row:2}.player:fullscreen,.player.faux-fullscreen{border-radius:0;width:100vw;height:100vh;max-height:none!important;aspect-ratio:auto;background:#000}.player:fullscreen .poster,.player.faux-fullscreen .poster{object-fit:contain}.player.faux-fullscreen{position:fixed;inset:0;z-index:100}.player:fullscreen .player-chrome,.player.faux-fullscreen .player-chrome{padding-left:24px;padding-right:24px}
@media(min-width:1700px){.watch-layout{gap:28px;grid-template-columns:minmax(0,1fr) 402px}.recommendation-card{grid-template-columns:184px minmax(0,1fr) 16px}.recommendation-copy strong{-webkit-line-clamp:3}}@media(max-width:1250px){.watch-layout{grid-template-columns:minmax(0,1fr) 320px;padding-left:24px;padding-right:24px}.recommendation-card{grid-template-columns:145px minmax(0,1fr) 16px}.masthead{gap:20px}.preview-chip{display:none}.engagement-row{gap:14px}.channel-name{margin-right:0}.channel-cluster{gap:10px}.save-action{display:none}}@media(max-width:1000px){.watch-layout{grid-template-columns:minmax(0,1fr);max-width:900px}.recommendations{margin-top:12px}.recommendation-card{grid-template-columns:200px minmax(0,1fr) 20px}.recommendation-copy strong{-webkit-line-clamp:2;font-size:16px;line-height:22px}.recommendation-copy small{font-size:13px;line-height:19px}.rail-about{display:none}.masthead{padding-right:20px}.search-form{margin-left:10px}.masthead-end{gap:7px}.save-action{display:inline-flex}body.theater .watch-layout{display:block;padding:0;max-width:none;margin-top:0}body.theater .video-details,body.theater .recommendations{max-width:900px;margin:0 auto;padding:0 24px}body.theater .recommendations{margin-top:28px}body.theater .player{max-height:75vh}}@media(max-width:650px){.masthead{height:56px;padding:0 12px;gap:10px}.masthead-start{gap:6px}.masthead-start>.icon-button{display:none}.yt-word{font-size:23px}.youtube-brand sup{font-size:9px}.search-form{display:none;margin:0}.mobile-search{display:inline-flex}.masthead-end{gap:2px}.masthead-end>#appearance{width:36px}.profile-avatar{width:28px;height:28px;font-size:16px;margin:0 3px 0 6px}.search-open .masthead-start{display:none}.search-open .search-form{display:flex}.search-open .search-form .mic-button{display:none}.search-open .masthead-end #appearance,.search-open .masthead-end .profile-avatar{display:none}.watch-layout{padding:0 0 32px;margin:0;gap:0}.player{border-radius:0}.player-chrome{padding:24px 8px 0}.player-controls{height:37px}.player-button{width:32px;height:34px}.player-button svg{width:22px;height:22px}.next-control,.mini-control,.cc-control{display:none!important}.volume-slider{display:none}.player-time{font-size:11px;margin-left:2px}.player-left>.player-button:first-child{width:32px}.player-right{gap:1px}.quality-button b{top:2px;right:0;font-size:7px;line-height:9px;min-width:12px}.center-play{width:58px;height:41px}.video-details{padding:0 12px}.video-details h1{font-size:18px;line-height:25px;margin:11px 0 12px;letter-spacing:-.15px}.engagement-row{display:block;margin-bottom:12px}.channel-cluster{gap:10px;margin-bottom:14px;width:100%}.channel-avatar-button,.channel-avatar{width:34px;height:34px}.channel-name{flex:1;white-space:normal}.channel-name strong{font-size:14px;line-height:19px}.subscribe-button{height:34px;padding:0 13px;font-size:13px}.action-cluster{gap:8px;overflow:visible}.pill-button,.reaction-group,.action-more{height:34px;font-size:13px}.reaction-group button{height:34px;padding:0 13px}.reaction-group .dislike-button{padding:0 12px}.reaction-group svg{width:21px;height:21px}.pill-button{padding:0 13px}.pill-button svg{width:21px;height:21px}.action-more{width:34px}.more-container{margin-left:auto}.description-box{font-size:13px;line-height:19px;padding:10px 12px}.description-stats{gap:8px}.description-hashtags{display:none}.description-summary{-webkit-line-clamp:2}.description-toggle{font-size:13px}.description-full li{padding:4px 0}.description-channel strong{font-size:15px}.comments{margin-top:22px}.comments-heading{gap:25px;margin-bottom:18px}.comments-heading h2{font-size:18px}.sort-button{font-size:13px}.comment-avatar{width:32px;height:32px;font-size:18px}.comment-form,.comment-item{gap:12px}.comment-input-area textarea{font-size:16px;line-height:22px}.comment-actions>span{font-size:10px;line-height:14px;max-width:110px}.comment-submit,.text-button{padding:7px 12px;font-size:13px}.recommendations{padding:0 12px;margin-top:30px}.recommendation-filters{margin-bottom:14px}.filter-chip{font-size:13px}.recommendation-card{grid-template-columns:43% minmax(0,1fr) 14px;gap:8px}.recommendation-copy strong{font-size:14px;line-height:19px;-webkit-line-clamp:3}.recommendation-copy small{font-size:12px;line-height:17px}.recommendation-card>.icon{width:16px}.preview-footer{margin-top:30px;font-size:10px}.player-notice{top:8px;left:8px;right:8px;gap:8px;padding:7px 9px}.player-notice strong{font-size:12px}.player-notice div>span{font-size:11px}.player-notice>svg{width:20px;height:20px}.player-notice .icon-button{width:28px;height:28px}.player-settings{bottom:48px;font-size:12px;width:280px}.player-settings>button{padding:9px 14px}.player-settings p{font-size:10px}.more-menu{right:0;width:225px}.toast{left:12px;bottom:12px;max-width:calc(100vw - 24px);font-size:13px}.dialog-heading h2{font-size:19px}dialog{padding:20px;max-width:calc(100vw - 24px)}body.theater .video-details,body.theater .recommendations{padding-left:12px;padding-right:12px}}
@media(max-width:360px){.save-action{display:none}.channel-cluster{gap:8px}.channel-name strong{font-size:13px}.subscribe-button{padding:0 11px}.video-details h1{font-size:17px}.player-time{font-size:10px}.player-button{width:29px}.recommendation-card{grid-template-columns:43% minmax(0,1fr) 12px}.recommendation-copy strong{font-size:13px;line-height:18px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Participant pages */
:root{--project-bar-height:76px;--ecg:#6cffbd;--script-border:#ffffff12;--script-card:#171a18}
html[data-theme=light]{--ecg:#157a4c;--script-border:#00000014;--script-card:#f5f8f6}
.project-bar{height:var(--project-bar-height);position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 clamp(12px,2vw,32px);border-bottom:1px solid var(--border);background:var(--bg)}
.project-brand{display:flex;gap:12px;align-items:center;min-width:0}.project-brand img{width:36px;height:36px;border-radius:50%;object-fit:cover}.project-brand strong,.project-brand small{display:block}.project-brand strong{font-size:13px;letter-spacing:1.8px;font-weight:700;white-space:nowrap}.project-brand small{font-size:12px;color:var(--secondary);margin-top:3px}
.project-tabs{display:flex;gap:4px;padding:4px;background:var(--surface);border-radius:11px;flex-shrink:0}.project-tab{display:flex;align-items:center;justify-content:center;gap:9px;padding:11px 18px;border-radius:8px;font-size:14px;font-weight:600;color:var(--secondary);white-space:nowrap;min-height:44px;transition:background .18s,color .18s}.project-tab .icon{width:19px;height:19px}.project-tab:hover{color:var(--text)}.project-tab[aria-selected=true]{background:var(--ecg);color:#072c1b;box-shadow:0 1px 5px #0002}html[data-theme=light] .project-tab[aria-selected=true]{color:#fff}.project-tab:focus-visible{outline-color:var(--ecg);outline-offset:5px}
.page-deck{overflow-x:clip}.project-panel{min-width:0}.project-panel.panel-enter-right{animation:panel-enter-right .32s cubic-bezier(.2,.7,.25,1)}.project-panel.panel-enter-left{animation:panel-enter-left .32s cubic-bezier(.2,.7,.25,1)}
@keyframes panel-enter-right{from{opacity:.35;transform:translateX(64px)}to{opacity:1;transform:translateX(0)}}@keyframes panel-enter-left{from{opacity:.35;transform:translateX(-64px)}to{opacity:1;transform:translateX(0)}}
.masthead{top:var(--project-bar-height)}.nav-drawer{top:calc(var(--project-bar-height) + 56px);height:calc(100vh - var(--project-bar-height) - 56px)}.drawer-backdrop{inset:calc(var(--project-bar-height) + 56px) 0 0}
.script-page{max-width:1080px;margin:0 auto;padding:58px 32px 36px}.script-header{padding-bottom:36px;border-bottom:1px solid var(--script-border)}.script-eyebrow{color:var(--ecg);font-size:12px;line-height:1.6;font-weight:700;letter-spacing:2px;margin:0 0 14px}.script-header h1{font-size:clamp(36px,5vw,56px);line-height:1.1;letter-spacing:-1.8px;margin:0 0 28px;font-weight:750}.script-meta{display:flex;gap:32px;flex-wrap:wrap}.script-meta>span{display:flex;gap:8px;align-items:baseline;color:var(--secondary);font-size:14px}.script-meta strong{font-size:16px;color:var(--text);font-weight:600}
.script-scene{display:grid;grid-template-columns:62px minmax(0,1fr);gap:26px;padding:38px 0;border-bottom:1px solid var(--script-border)}.scene-marker{font-size:27px;line-height:1;font-weight:650;color:var(--ecg);padding-top:5px;font-variant-numeric:tabular-nums;letter-spacing:-1px}.script-intro .scene-marker{font-size:11px;letter-spacing:1.2px;padding-top:12px}.scene-body h2{font-size:22px;font-weight:650;line-height:1.4;letter-spacing:-.3px;margin:0 0 20px;max-width:780px}.scene-body p{font-size:17px;line-height:1.75;margin:16px 0;max-width:800px;color:var(--text)}.scene-body p:last-child{margin-bottom:0}.scene-body .music-direction{display:inline-flex;align-items:center;gap:8px;margin-top:0;color:var(--secondary);font-size:15px;font-style:italic}.music-direction:before{content:'♪';font-size:20px;line-height:1;color:var(--ecg)}.scene-body .title-card-direction{padding:20px 24px;background:var(--script-card);border:1px solid var(--script-border);border-radius:12px;margin-top:24px}.title-card-direction strong{display:block;margin-top:8px;font-size:20px;line-height:1.5;font-weight:650;letter-spacing:.2px}.script-dialogue{border-left:2px solid var(--ecg);padding:2px 0 2px 24px;margin:24px 0}.script-dialogue p{font-size:19px;line-height:1.65}.script-dialogue p:first-child{margin-top:0}.script-dialogue p:last-child{margin-bottom:0}.scene-body .script-broll{padding:16px 20px;border:1px solid color-mix(in srgb,var(--ecg) 23%,transparent);border-radius:10px;background:color-mix(in srgb,var(--ecg) 4%,var(--bg));color:var(--ecg);font-size:15px;line-height:1.7;margin-top:24px}.script-broll strong{font-weight:500}
.script-additional{padding:38px 0 34px 88px}.script-additional>h2{font-size:22px;font-weight:650;margin:0 0 26px;letter-spacing:-.3px}.reference-heading{font-size:16px;margin:0 0 14px;color:var(--secondary)}.script-references{display:grid;gap:10px}.script-references a{display:flex;align-items:center;gap:16px;min-width:0;padding:18px;background:var(--script-card);border:1px solid var(--script-border);border-radius:10px;text-decoration:none;color:var(--text);font-size:14px;line-height:1.6}.script-references a:hover{border-color:var(--ecg)}.script-references a>span:nth-child(2){overflow-wrap:anywhere;min-width:0;flex:1}.script-references .icon{width:22px;height:22px;color:var(--ecg);flex-shrink:0}.reference-index{font-size:12px;color:var(--secondary);font-variant-numeric:tabular-nums}.script-production-notes{margin-top:28px}.script-production-notes p{font-size:16px;line-height:1.8;margin:14px 0}.script-production-notes strong{font-weight:500}.script-production-notes p:first-child strong{font-weight:600}.script-footer{border-top:1px solid var(--script-border);display:flex;justify-content:space-between;gap:16px;padding:22px 0 0;margin:16px 0 0;color:var(--secondary);font-size:12px;line-height:1.6}.script-footer>span:first-child{letter-spacing:1.4px;font-size:11px}
@media(max-width:760px){:root{--project-bar-height:68px}.project-bar{gap:12px;padding:0 12px}.project-brand{gap:0}.project-brand>span{display:none}.project-brand img{width:32px;height:32px}.project-tabs{gap:2px}.project-tab{padding:9px 12px}.script-page{padding:36px 22px 28px}.script-header{padding-bottom:28px}.script-eyebrow{font-size:11px;letter-spacing:1.3px}.script-header h1{letter-spacing:-1px;margin-bottom:24px}.script-meta{gap:14px 24px}.script-meta>span{display:block;font-size:13px}.script-meta strong{display:block;font-size:16px;margin-bottom:2px}.script-scene{grid-template-columns:38px minmax(0,1fr);gap:16px;padding:28px 0}.scene-marker{font-size:23px}.script-intro .scene-marker{font-size:9px;letter-spacing:.7px}.scene-body h2{font-size:20px;line-height:1.45}.scene-body p{font-size:16px;line-height:1.75}.scene-body .title-card-direction{padding:16px 18px}.title-card-direction strong{font-size:18px}.script-dialogue{padding-left:18px}.script-dialogue p{font-size:17px}.scene-body .script-broll{padding:14px 16px;font-size:14px}.script-additional{padding:28px 0 20px 54px}.script-additional>h2{font-size:20px}.script-references a{padding:14px;gap:10px}.reference-index{display:none}.script-production-notes p{font-size:15px}.script-footer{font-size:11px}}
@media(max-width:420px){.project-tabs{flex:1}.project-tab{flex:1;padding:9px 8px;font-size:14px}.project-tab .icon{display:none}.script-page{padding-left:16px;padding-right:16px}.script-scene{grid-template-columns:29px minmax(0,1fr);gap:12px}.scene-marker{font-size:21px}.script-intro .scene-marker{font-size:8px;letter-spacing:.2px}.script-additional{padding-left:0}.script-eyebrow{font-size:10px;letter-spacing:1px}.script-meta{gap:14px 18px}.script-meta strong{font-size:15px}.script-footer{flex-direction:column;gap:4px}.scene-body .title-card-direction{padding:15px}.scene-body h2{font-size:19px}.script-dialogue{padding-left:14px}}
@media(prefers-reduced-motion:reduce){.project-panel{animation:none!important}}
