/* Reference UI: Tago Movie, inspected 2026-10-22. */
:root{--bg:#0d0d0d;--panel:#141414;--panel2:#1b1b1b;--border:#2c2c2c;--text:#f5f5f5;--muted:#999;--dim:#666;--accent:#60a5fa;--accent-light:#93c5fd;--green:#38c5a0;--radius:12px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
body{background:#0d0d0d;line-height:1.5}h1,h2,h3{letter-spacing:0}button{font-weight:400}button:disabled{opacity:.42}.btn{background:#1b1b1b;color:#e5e5e5;border-color:#333;border-radius:8px;padding:8px 14px}.btn:hover:not(:disabled){background:#292929;border-color:#555}.btn.primary{background:#60a5fa;border-color:#60a5fa;color:#0c1826}.btn.primary:hover:not(:disabled){background:#93c5fd;border-color:#93c5fd}.btn.soft{background:#172334;border-color:#273d58;color:#9bc5ff}.btn.ghost:hover{background:#222}.btn.small{font-size:12px;padding:6px 10px}.icon-btn:hover{background:#252525}.icon-btn.selected{background:#20324b;color:#93c5fd}.actions{gap:8px}.badge{background:#252525;border-color:#333;color:#bbb}.badge.success{background:#153629;color:#8dd5b5;border-color:#2b5944}input,select,textarea{background:#151515;border-color:#333;color:#f5f5f5}input::placeholder,textarea::placeholder{color:#737373}textarea:focus,input:focus,select:focus{border-color:#555}.notice{background:#222017;border-color:#3c392c;color:#c4bd9c}.notice.info{background:#14202c;border-color:#273c50;color:#a6bdd4}.notice.success{background:#0a261a;border-color:#125335;color:#8bdcaa}.empty{border-color:#303030}.empty h3{color:#eee}.empty .icon{color:#777}.form-field label{color:#ccc}.mode-tag{color:#aaa;border-color:#444}.table-wrap,table,thead{border-color:#333}th{background:#191919;color:#aaa}td{border-color:#2a2a2a}.page{max-width:none;padding:32px 48px 64px}.page-header h1{font-size:24px}.eyebrow{color:#888;letter-spacing:1px}
.tago-shell{min-height:100vh}.tago-announcement{height:57px;background:#111c24;display:flex;align-items:center;justify-content:center;position:relative}.tago-announcement>button:first-child{background:none;border:0;font-size:20px;font-weight:700;letter-spacing:.3px}.tago-announcement>button span{display:inline-block;margin-left:24px;font-size:13px;font-weight:400;border:1px solid #c9ccce;border-radius:5px;line-height:24px;padding:0 12px;vertical-align:2px}.tago-announcement .announcement-close{position:absolute;right:21px;top:18px;background:none;border:1px solid #82909a;border-radius:50%;height:20px;width:20px;display:grid;place-items:center;padding:0;color:#abb6bd}.announcement-close .icon{width:13px;height:13px}
.tago-nav{height:49px;background:rgba(13,13,13,.94);display:flex;align-items:center;padding:0 16px;gap:20px;position:relative;z-index:30;border-bottom:1px solid #222}.tago-brand{display:flex;align-items:center;gap:8px;flex-shrink:0}.tago-brand img{height:24px;width:24px;object-fit:contain}.tago-brand strong{font-size:14px;white-space:nowrap}.chrome-tip{background:transparent;border:0;color:#d2b67b;font-size:11px;white-space:nowrap;padding:0;display:flex;align-items:center;gap:5px}.chrome-tip .icon{width:12px;height:12px}.tago-main-links{display:flex;align-self:stretch;gap:22px;align-items:stretch;flex:1;justify-content:center;min-width:0}.tago-main-links>a,.tago-main-links>button{font-size:13px;line-height:17px;text-align:center;max-width:54px;min-width:27px;background:none;border:0;position:relative;display:flex;align-items:center;justify-content:center;color:#999;padding:0}.tago-main-links .gold-link{color:#f6daa2;font-weight:500}.tago-main-links>a.active{color:white}.tago-main-links>a.active:after{content:"";height:2px;border-radius:1px;background:#60a5fa;position:absolute;left:0;right:0;bottom:0}.tago-main-links button:hover,.tago-main-links a:hover{color:#fff}.tago-account{display:flex;align-items:center;gap:14px;flex-shrink:0;position:relative}.purchase-button{border:0;border-radius:6px;color:#292319;font-size:12px;font-weight:700;line-height:15px;background:linear-gradient(100deg,#efe6d2,#fce3ad);padding:4px 13px;min-width:54px}.local-edition{position:absolute;left:0;top:32px;background:#58471f;color:#f5d88e;border:1px solid #7b6535;border-radius:3px;font-size:8px;line-height:12px;padding:0 5px;pointer-events:none;white-space:nowrap}.credit-count{border:0;background:#222;color:#ddd;border-radius:6px;padding:6px 10px;font-size:12px}.credit-count span{color:#78beff;margin-right:6px}.account-menu{font-size:12px;position:relative;z-index:40}.account-menu summary{display:flex;align-items:center;cursor:pointer;gap:6px;list-style:none;color:#bbb;white-space:nowrap}.account-menu summary::-webkit-details-marker{display:none}.account-menu .icon{width:13px;height:13px}.account-menu>div{position:absolute;right:0;top:28px;width:190px;padding:7px;background:#1b1b1b;border:1px solid #393939;border-radius:9px;box-shadow:0 10px 35px #0008}.account-menu a{display:flex;gap:10px;padding:10px;border-radius:5px}.account-menu a:hover{background:#303030}.account-menu small{display:block;padding:10px;font-size:10px}.notification{position:relative;color:#999;display:flex}.notification .icon{width:17px;height:17px}.notification b{position:absolute;right:-7px;top:-10px;background:#60a5fa;color:#0d0d0d;min-width:14px;height:14px;font-size:9px;border-radius:50%;text-align:center}.tago-avatar{width:30px;height:30px;border:1px solid #333;background:#202020;border-radius:50%;display:grid;place-items:center;font-size:13px}
.tago-home{position:relative;overflow:hidden;min-height:calc(100vh - 106px);padding-top:64px}.home-atmosphere{position:absolute;inset:0 0 auto;height:900px;pointer-events:none;z-index:0;background:radial-gradient(ellipse at 34% 4%,#5c606381 0,transparent 42%),radial-gradient(ellipse at 84% 40%,#2948425e 0,transparent 45%),radial-gradient(ellipse at 8% 65%,#54595c38 0,transparent 40%),linear-gradient(155deg,#2b2e30 0%,#171d1c 32%,#111516 70%,#0d0d0d 100%);mask-image:linear-gradient(#000 65%,transparent)}.home-creation,.home-secondary,.movie-show{position:relative;z-index:1}.home-creation>h1{text-align:center;font-size:32px;font-weight:700;line-height:40px;letter-spacing:-.8px;margin:0 16px 39px}.creation-wrap{width:min(818px,calc(100% - 40px));margin:auto}.tago-create{background:#0b0b0bf5;border:1px solid #60676b;border-radius:24px;padding:17px 15px 14px;box-shadow:0 0 11px #89c6cb25;position:relative;min-height:193px}.creation-hint{display:flex;align-items:center;gap:12px;height:21px;white-space:nowrap;font-size:13px;color:#e8e8e8}.creation-hint small{color:#c8c8c8;font-size:11px}.creation-mode-name{padding:2px 7px;border:0;border-radius:4px;background:#12392e;color:#52d4a9;font-size:12px;line-height:18px;white-space:nowrap}.tago-story-input{display:block;border:0!important;background:transparent;border-radius:0;padding:15px 0 6px;resize:none;min-height:100px;height:100px;font-size:14px;line-height:24px;outline:none!important}.tago-story-input::placeholder{color:#999}.creation-toolbar{display:flex;align-items:center;gap:5px;position:relative;min-height:36px}.create-control{display:flex;align-items:center;gap:5px;border:1px solid #282828;background:#111;border-radius:6px;font-size:11px;line-height:16px;padding:6px 7px;white-space:nowrap;min-height:31px;color:#d4d4d4}.create-control:hover,.create-control.selected{border-color:#666;background:#242424}.create-control .icon{width:12px;height:12px}.ratio-symbol{display:block;width:15px;height:9px;border:1px solid #c4c4c4;border-radius:1px}.create-submit{background:#4c91ee;border:0;color:#fff;font-size:12px;white-space:nowrap;padding:8px 12px;border-radius:6px;margin-left:auto;min-height:34px}.create-submit:disabled{opacity:1;background:#183254;color:#668ab6}.create-submit:hover:not(:disabled){background:#6cabff}.create-popover{position:absolute;top:calc(100% - 8px);left:15px;z-index:25;background:#1b1b1b;border:1px solid #383838;border-radius:10px;padding:7px;box-shadow:0 16px 32px #0009;min-width:150px}.create-popover.inputMode{left:176px;width:340px}.create-popover.duration{left:307px;width:198px}.create-popover.ratio{left:88px}.create-popover.language{left:auto;right:84px;width:160px}.popover-heading{font-size:12px;color:#aaa;padding:8px}.create-popover>button{display:flex;flex-direction:column;align-items:flex-start;width:100%;position:relative;text-align:left;color:#ddd;font-size:12px;background:none;border:0;border-radius:6px;padding:8px 29px 8px 9px;gap:5px}.create-popover>button:hover{background:#2a2a2a}.create-popover>button[aria-selected=true]{background:#253348;color:#94c6ff}.create-popover>button small{color:#929292;font-size:11px}.create-popover>button .icon{position:absolute;right:8px;top:11px;width:13px;height:13px}.episode-count-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:10px 8px 4px;border-top:1px solid #303030;margin-top:6px}.episode-count-label input{width:67px;padding:5px 8px;font-size:12px}.popover-note{font-size:10px;display:block;padding:5px 8px}.style-panel{margin-top:12px;background:#121212ed;border:1px solid #3d4345;border-radius:20px;padding:17px 20px;box-shadow:0 4px 20px #0003;height:352px}.style-panel-title{font-weight:600;font-size:14px;margin-bottom:12px}.style-scroll{height:282px;overflow:auto;padding-right:4px}.style-section{display:flex;align-items:center;justify-content:space-between;margin:5px 0 12px}.style-section h3{font-size:12px;color:#c8c8c8;font-weight:500}.style-section .btn{font-size:11px;padding:4px 9px}.style-none{font-size:12px;color:#737373;margin:4px 0 22px}.custom-style-list{display:flex;gap:7px;margin-bottom:15px}.style-filters{display:flex;gap:7px}.style-filters button{padding:4px 11px;background:none;border:0;border-radius:6px;color:#888;font-size:11px}.style-filters button.active{background:#343434;color:white}.style-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.style-card{border:1px solid transparent;background:none;padding:0;overflow:hidden;border-radius:8px;position:relative;text-align:left}.style-card img{width:100%;height:104px;object-fit:cover;display:block}.style-card span{display:block;font-size:11px;padding:6px 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.style-card:hover,.style-card.selected{border-color:#69adfa;background:#1d2d40}.creation-mode-cards{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:14px;height:84px}.creation-mode-card{width:294px;height:76px;border-radius:12px;border:1px solid #354452;padding:14px 19px;text-align:left;background-size:cover;background-position:center;position:relative;display:flex;flex-direction:column;justify-content:center;gap:6px;overflow:hidden;box-shadow:inset 0 0 30px #0003}.creation-mode-card.active{width:320px;height:84px;border-color:#a1e4c4;box-shadow:0 0 0 3px #648b8040,inset 0 0 30px #0003}.creation-mode-card strong{font-size:16px;line-height:22px;font-weight:600;color:#f9fff9;letter-spacing:1px}.creation-mode-card span{font-size:12px;color:#d0dedc}.creation-mode-card small{position:absolute;right:0;top:0;color:#15372f;background:#a9eccb;border-radius:0 11px 0 8px;padding:1px 9px;font-size:10px}.home-secondary{width:min(1076px,calc(100% - 48px));margin:38px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.home-section-heading{display:flex;align-items:center;justify-content:space-between;height:40px;margin-bottom:0;color:#aaa}.home-section-heading h2{font-size:13px;font-weight:500}.home-section-heading a{font-size:12px;color:#bebebe}.reference-label{font-size:9px;color:#7d8985}.activity-card{height:227px;overflow:hidden;border-radius:14px;position:relative;background:#182027}.activity-hit{border:0;padding:0;width:100%;height:100%;display:block;background:none}.activity-hit img{height:100%;width:100%;object-fit:cover;display:block}.activity-arrow{position:absolute;top:calc(50% - 13px);height:26px;width:26px;border:1px solid #ffffff30;background:#161d2699;border-radius:50%;font-size:19px;line-height:22px;padding:0;color:#fff;opacity:0}.activity-card:hover .activity-arrow{opacity:1}.activity-arrow.prev{left:10px}.activity-arrow.next{right:10px}.activity-dots{position:absolute;left:0;right:0;bottom:9px;display:flex;justify-content:center;gap:5px}.activity-dots button{height:5px;width:5px;padding:0;border:0;border-radius:50%;background:#ffffff65}.activity-dots button.active{width:14px;border-radius:5px;background:#fff}.recent-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;height:227px}.recent-empty{border:1px solid #4448;border-radius:12px;grid-column:1/-1;background:#171c1b80;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;font-size:12px;color:#999}.recent-empty .icon{width:30px;height:30px}.tago-project-card{border:1px solid #303030;border-radius:12px;position:relative;overflow:hidden;min-width:0;height:148px;background:linear-gradient(130deg,#292929,#191919)}.project-background{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.52}.project-hit{position:absolute;inset:0;padding:16px;background:linear-gradient(180deg,#1616160d,#101010a6);display:flex;flex-direction:column;align-items:flex-start}.project-hit h3{font-size:14px;font-weight:600;line-height:21px;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-bottom:7px}.project-tags{display:flex;gap:4px;margin-bottom:8px}.project-tags span{color:#8bd2a5;background:#255b3d66;border-radius:4px;font-size:10px;padding:2px 6px}.project-tags span+span{background:#45454577;color:#c3c3c3}.project-hit p{font-size:10px;color:#a7a7a7;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.project-hit>strong{font-size:12px;color:#85bfff;font-weight:500;margin-top:8px}.project-hit>small{font-size:10px;margin-top:auto;color:#a7a7a7;display:flex;align-items:center;gap:5px}.project-hit>small .icon{width:11px;height:11px}.tago-project-card:hover{border-color:#626262}.project-card-action{position:absolute;right:8px;bottom:7px;opacity:0;background:#171717bb}.tago-project-card:hover .project-card-action,.project-card-action:focus-visible{opacity:1}.recent-projects .tago-project-card{height:227px}.recent-projects .project-hit{padding:18px 16px}.recent-projects .project-hit>strong{margin-top:15px}.movie-show{margin-top:75px;padding:0 24px 50px}.movie-show h2{font-size:17px;font-weight:600;margin-bottom:19px}.show-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.show-empty{grid-column:1/-1;color:#595959;min-height:80px;padding:25px 0;font-size:12px}.show-card{background:#191919;border:1px solid #333;border-radius:12px;overflow:hidden;padding:0;text-align:left}.show-card video{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.show-card span,.show-card small{display:block;margin:10px 14px}.show-card small{font-size:10px}
.tago-projects.page{padding:32px max(40px,calc((100% - 1230px)/2)) 60px}.project-page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:49px}.project-page-heading h1{font-size:24px;font-weight:600;line-height:32px;margin:0 0 8px}.project-page-heading p{font-size:14px;color:#8c8c8c}.project-search{display:flex;align-items:center;gap:8px}.project-search .search{background:#151515;height:38px;font-size:12px;padding:9px 12px;width:255px!important}.project-search .btn{font-size:12px;height:38px}.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.add-project{height:148px;border:1px dashed #434343;border-radius:12px;background:linear-gradient(130deg,#292929,#141414);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.add-project>span{font-size:29px;line-height:40px;color:#60a5fa;border:1px solid #306197;border-radius:50%;width:42px;height:42px;text-align:center;background:#1f3550}.add-project strong{font-size:14px;font-weight:500}.add-project:hover{border-color:#75a5d7;background:#252b30}
.tago-assets{padding:20px 24px 24px}.assets-page-heading{margin-bottom:22px}.assets-page-heading h1{font-size:20px;font-weight:600;line-height:28px;margin-bottom:5px}.assets-page-heading p{font-size:12px;color:#999}.asset-center-layout{display:grid;grid-template-columns:224px minmax(0,1fr);gap:20px;min-height:calc(100vh - 222px)}.folder-sidebar{border:1px solid #292929;background:#111;border-radius:12px;padding:13px 12px}.folder-sidebar>div{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:12px}.folder-sidebar>div .icon-btn{height:25px;width:25px;font-size:19px}.folder-item{width:100%;display:flex;align-items:center;gap:9px;border:0;padding:9px 10px;font-size:12px;background:none;border-radius:6px;color:#aaa;text-align:left;margin-bottom:4px}.folder-item.active{background:#122238;color:#83bafa}.folder-item .icon{width:15px;height:15px}.folder-sidebar>p{color:#555;text-align:center;font-size:11px;margin-top:35px}.asset-center-main{background:#111;border:1px solid #292929;border-radius:12px;padding:15px 16px 24px;min-width:0}.asset-center-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.asset-tabs{display:flex;gap:3px;background:#191919;border:1px solid #262626;border-radius:9px;padding:4px}.asset-tabs button{border:0;background:none;padding:6px 13px;border-radius:6px;font-size:11px;white-space:nowrap;color:#999}.asset-tabs button.active{background:#333;color:white;box-shadow:0 1px 3px #0003}.asset-center-toolbar .actions{gap:7px}.asset-center-toolbar .btn{padding:6px 9px;font-size:11px;background:#181818}.asset-center-toolbar .actions i{height:18px;width:1px;background:#383838;margin:0 2px}.asset-group{margin:0 0 28px}.asset-group>h3{font-size:14px;margin-bottom:14px;font-weight:500;display:flex;gap:8px;align-items:center}.asset-group>h3>span{font-size:11px;background:#222;color:#aaa;border-radius:4px;padding:1px 6px}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}.asset-card{background:#181818;border:1px solid #2e2e2e;border-radius:10px;overflow:hidden;min-width:0}.asset-card .asset-image{height:180px;background:#202020;position:relative;display:grid;place-items:center}.asset-image>img{width:100%;height:100%;object-fit:cover}.asset-image>.icon{width:40px;height:40px;color:#5a5a5a}.asset-image .badge{position:absolute;top:8px;left:8px;font-size:9px;background:#161616b8;color:#bcbcbc;border-color:#ffffff20}.asset-card-body{padding:10px 12px}.asset-card-body h3{font-size:12px;font-weight:500}.asset-card-body p{font-size:10px;line-height:18px;color:#777;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0;margin:5px 0 10px}.asset-card-body .actions{gap:4px}.asset-card-body .btn{font-size:10px;padding:4px 7px}.asset-card-body .icon{height:13px;width:13px}.asset-card-body .icon-btn{width:25px;height:25px}.asset-card-body .section-note{font-size:9px;color:#777;margin-top:9px}.asset-select-wrap{position:relative;min-width:0}.asset-checkbox{position:absolute;right:8px;top:9px;z-index:2}.asset-checkbox input{height:17px;width:17px;accent-color:#60a5fa}.organize-toolbar{display:flex;align-items:center;gap:12px;margin:-7px 0 20px;padding:10px;background:#19222e;border-radius:7px;font-size:12px}.organize-toolbar select{width:auto;padding:6px 12px;font-size:12px}
.tago-workspace{min-height:calc(100vh - 106px);display:grid;grid-template-columns:minmax(0,1fr)}.tago-workspace.with-rail{grid-template-columns:192px minmax(0,1fr)}.workspace-main{min-width:0}.workspace-bar{height:52px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #272727;padding:0 48px;gap:12px}.with-rail .workspace-bar{padding:0 32px}.stage-nav{padding:0;border:0;overflow:visible;gap:14px;align-items:center;min-width:0}.stage-btn{flex:none;min-width:0;padding:0;border:0;border-radius:0;font-size:13px;gap:8px;white-space:nowrap;color:#999}.stage-btn .number{width:24px;height:24px;background:#282828;border:0;border-radius:50%;font-size:12px;color:#ddd}.stage-btn.active{background:none;border:0;color:#fff}.stage-btn.active .number{background:#60a5fa;color:#0d1520;border:0}.stage-separator{font-size:16px;letter-spacing:-2px;color:#444;white-space:nowrap}.workspace-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.workspace-actions .btn{padding:5px 10px;font-size:11px;background:#191919}.workspace-actions .btn .icon{width:14px;height:14px}.workspace-actions .icon-btn{width:26px;height:26px}.workspace-actions .icon-btn .icon{height:17px;width:17px}.episode-rail{border-right:1px solid #262626;padding:0;background:#101010}.rail-project{padding:19px 14px 15px;display:grid;grid-template-columns:1fr 24px;column-gap:5px}.rail-project h1{font-size:13px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.rail-project .icon-btn{height:24px;width:24px}.rail-project .icon-btn .icon{height:14px;width:14px}.rail-project small{grid-column:1/-1;font-size:10px;margin-top:5px;color:#777}.episode-row{display:flex;align-items:center;gap:3px;height:40px;padding:0 9px 0 16px;border-left:3px solid transparent}.episode-row.active{border-left-color:#60a5fa;background:#272727}.episode-row a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;font-size:12px;color:#ccc}.episode-row .icon-btn{height:23px;width:23px;opacity:0;flex-shrink:0}.episode-row:hover .icon-btn,.episode-row:focus-within .icon-btn{opacity:1}.episode-row .icon-btn .icon{height:12px;width:12px}.add-episode{background:none;border:1px dashed #3b3b3b;border-radius:6px;margin:14px 12px;padding:8px;font-size:11px;color:#aaa;width:calc(100% - 24px)}.work-content{padding:30px 48px 130px;max-width:none}.stage-0.work-content{padding:32px max(40px,calc((100% - 1230px)/2)) 130px}.work-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.work-section-title h2{font-size:16px;font-weight:600}.work-section-title p{font-size:12px;color:#777;margin-top:6px}.idea-summary{margin:0 0 24px;font-size:13px;line-height:23px;color:#aaa}.idea-summary summary{list-style:none;display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;cursor:pointer}.idea-summary summary::-webkit-details-marker{display:none}.idea-summary strong{font-weight:500;color:#ccc}.idea-summary summary span{color:#888;font-size:11px}.idea-summary details>p{white-space:pre-wrap}.idea-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.idea-summary:has(details[open]) .idea-preview{display:none}.stage-0>.notice.success{margin-bottom:24px;padding:12px 14px;border-radius:8px;font-size:12px}.editor{border-color:#303030;border-radius:9px;background:#151515;color:#dedede;font-size:14px;line-height:28px;padding:20px 24px}.editor.outline-editor{height:434px;min-height:300px;border-radius:8px;padding:17px 16px}.editor-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:10px}.editor-footer small{font-size:11px;color:#777}.episode-summaries-title{margin:34px 0 17px}.episode-summaries{display:grid;gap:18px}.episode-summaries>section{border:1px solid #303030;border-radius:9px;padding:18px;background:#111}.episode-summaries>section>span{font-size:11px;color:#aaa}.episode-summaries>section>h3{font-size:14px;margin:9px 0}.episode-summaries label{display:block;font-size:11px;color:#777;margin-bottom:8px}.episode-summaries textarea{font-size:13px;min-height:200px;background:#121212;line-height:24px}.workflow-dock{position:fixed;left:50%;transform:translateX(-50%);bottom:24px;z-index:20;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #303030;background:#252525ed;border-radius:34px;box-shadow:0 8px 30px #0005;padding:10px 12px;backdrop-filter:blur(12px);max-width:calc(100% - 24px);white-space:nowrap}.with-rail .workflow-dock{left:calc(50% + 96px);max-width:calc(100% - 216px)}.workflow-dock>span{font-size:12px;color:#c5c5c5;padding:0 10px}.workflow-dock .dock-button{background:#fff;color:#222;border-color:#fff;border-radius:24px;padding:9px 18px;font-size:13px;font-weight:500}.workflow-dock .dock-button:hover:not(:disabled){background:#dedede;border-color:#dedede}.workflow-dock button:disabled{opacity:.4}.script-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.script-heading h2{font-size:24px;line-height:28px;font-weight:600;border-left:4px solid #eee;padding-left:8px}.script-heading>span{color:#aaa;font-size:13px}.script-tools{display:flex;align-items:center;gap:12px;margin-bottom:15px;min-height:26px}.script-tools>span{font-size:12px;color:#929292}.script-tools .btn{padding:4px 8px;font-size:11px}.script-tools .btn.ghost{margin-left:auto}.editor.script{width:100%;height:562px;min-height:400px;border-radius:18px;padding:23px;font-size:14px;line-height:28px;resize:vertical}.reference-empty{border:1px solid #2c2c2c;border-radius:16px;background:#151515;min-height:320px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px;gap:16px}.reference-empty h3{font-size:18px}.reference-empty p{font-size:12px;color:#999;max-width:560px;line-height:23px}.reference-empty .btn{background:#e9e9e9;color:#1a1a1a;font-size:12px;padding:9px 15px}.job-banner{background:#18232e;border-color:#2c4055;margin:16px 48px 0}.shot-card,.export-box,.settings-card,.settings-group,.diagnostic-card,.history-item{background:#151515;border-color:#303030}.shot-thumb{background:#202020}.shot-dialogue{color:#bcbcbc;border-color:#4c4c4c}.shot-index{color:#777}.preview-frame{background:#111;border-color:#303030}.export-row{border-color:#2c2c2c}.filter.active{background:#203047;border-color:#2f4c6e;color:#9bc8ff}dialog{background:#191919;color:#eee;border:1px solid #3c3c3c;border-radius:16px;box-shadow:0 20px 80px #0009}dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}.dialog-header{border-color:#303030}.dialog-body{color:#ddd}.dialog-footer{border-color:#333}.toast{background:#252525;border-color:#444;color:#eee}.asset-library-dialog{width:min(1120px,calc(100vw - 48px));max-width:none}.asset-library-dialog .asset-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.asset-library-dialog .asset-group{margin:12px 0 24px}
@media(min-width:1550px){.tago-nav{gap:24px}.tago-main-links{gap:26px;justify-content:flex-start}.tago-main-links>a,.tago-main-links>button{max-width:none;white-space:nowrap}.tago-account{margin-left:auto}.purchase-button br{display:none}.local-edition{top:28px}.stage-nav{gap:22px}.asset-grid{grid-template-columns:repeat(auto-fill,minmax(192px,1fr))}}
@media(max-width:1220px){.chrome-tip{display:none}.tago-main-links{gap:20px}.workspace-bar,.with-rail .workspace-bar{padding:0 22px}.stage-nav{gap:10px}.stage-btn{font-size:12px;gap:5px}.stage-btn .number{width:21px;height:21px}.workspace-actions{gap:3px}.work-content{padding:28px 30px 120px}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.asset-center-layout{grid-template-columns:180px minmax(0,1fr);gap:16px}.asset-center-toolbar{gap:14px}.asset-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}
@media(max-width:900px){.tago-announcement>button:first-child{font-size:16px}.tago-announcement>button span{font-size:11px;margin-left:12px}.tago-nav{gap:15px}.tago-main-links{justify-content:flex-start;gap:16px;overflow:auto}.tago-main-links>a,.tago-main-links>button{flex-shrink:0;max-width:none;white-space:nowrap;font-size:12px}.tago-main-links .gold-link,.tago-main-links>button{display:none}.tago-account{gap:10px}.account-menu,.chrome-tip,.notification{display:none}.tago-home{padding-top:44px}.home-creation>h1{font-size:27px;line-height:36px}.creation-hint{font-size:12px}.creation-hint small{display:none}.creation-toolbar{flex-wrap:wrap;gap:6px}.create-submit{margin-left:0}.home-secondary{margin-top:28px}.tago-projects.page{padding:28px 24px 50px}.project-page-heading{margin-bottom:32px}.project-grid{gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.project-search .search{width:190px!important}.tago-workspace.with-rail{grid-template-columns:150px minmax(0,1fr)}.workspace-bar{height:auto;min-height:52px;flex-wrap:wrap;padding:12px 20px!important}.stage-nav{overflow:auto;width:100%;padding-bottom:4px}.workspace-actions{margin-left:auto}.stage-separator{font-size:12px}.with-rail .workflow-dock{left:calc(50% + 75px);max-width:calc(100% - 170px)}.workflow-dock>span{white-space:normal;font-size:11px}.work-content{padding:24px 22px 130px}.stage-0.work-content{padding:24px 24px 130px}.script-tools{flex-wrap:wrap}.script-tools .btn.ghost{margin-left:0}.tago-assets{padding:20px 16px}.asset-center-layout{grid-template-columns:150px minmax(0,1fr);gap:12px}.asset-center-toolbar .actions{flex-wrap:wrap}.asset-tabs{width:100%;justify-content:space-between}.asset-tabs button{padding:5px 9px}.style-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:600px){.tago-announcement{height:42px;padding-right:27px}.tago-announcement>button:first-child{font-size:12px;letter-spacing:0}.tago-announcement>button span{font-size:10px;margin-left:7px;line-height:20px;padding:0 5px}.tago-announcement .announcement-close{right:8px;top:12px;width:16px;height:16px}.tago-nav{height:54px;padding:0 12px;gap:18px}.tago-brand strong{display:none}.tago-brand img{height:25px;width:25px}.tago-account{gap:7px}.purchase-button,.credit-count,.local-edition{display:none}.tago-main-links{gap:20px}.tago-avatar{width:27px;height:27px}.tago-home{padding-top:35px}.home-creation>h1{font-size:22px;line-height:32px;margin:0 22px 27px;letter-spacing:0}.creation-wrap{width:calc(100% - 28px)}.tago-create{padding:13px;border-radius:18px}.creation-hint{gap:8px;align-items:flex-start;height:auto;white-space:normal;font-size:11px;line-height:20px}.creation-hint>span{flex:1}.tago-story-input{height:110px;min-height:110px;padding-top:15px}.creation-toolbar{gap:7px}.create-control{font-size:10px;min-height:30px;padding:5px 7px}.create-submit{margin-left:auto;min-height:31px}.creation-mode-cards{gap:12px;margin:15px 15px 0;height:74px}.creation-mode-card,.creation-mode-card.active{width:calc(50% - 6px);height:74px;padding:12px}.creation-mode-card strong{font-size:14px;letter-spacing:0}.creation-mode-card span{font-size:9px}.creation-mode-card small{font-size:8px;padding:0 5px}.home-secondary{width:calc(100% - 28px);grid-template-columns:1fr;margin-top:22px;gap:20px}.activity-card{height:auto;aspect-ratio:2.34/1}.recent-projects,.recent-projects .tago-project-card{height:175px}.movie-show{margin-top:34px;padding:0 16px 30px}.show-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.style-panel{padding:15px;height:348px}.style-scroll{height:281px}.style-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.style-card img{height:90px}.create-popover.inputMode{left:10px;width:calc(100% - 20px)}.create-popover.duration{left:auto;right:15px}.create-popover.language{right:14px}.tago-projects.page{padding:24px 16px 45px}.project-page-heading{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:24px}.project-page-heading h1{font-size:22px}.project-page-heading p{font-size:12px}.project-search{width:100%}.project-search .search{width:100%!important}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-hit{padding:12px}.project-hit h3{font-size:12px}.project-tags span{font-size:8px;padding:2px 4px}.project-hit p{font-size:9px}.tago-assets{padding:20px 12px}.asset-center-layout{grid-template-columns:1fr;gap:12px}.folder-sidebar{padding:8px 10px;display:flex;gap:5px;align-items:center;overflow:auto}.folder-sidebar>div{margin:0;gap:9px;flex-shrink:0}.folder-sidebar>div strong{display:none}.folder-sidebar>p{display:none}.folder-item{width:auto;white-space:nowrap;margin:0;font-size:11px}.asset-center-main{padding:12px}.asset-tabs button{font-size:10px;padding:5px 8px}.asset-center-toolbar .btn{font-size:10px;padding:5px 7px}.asset-center-toolbar .actions{gap:6px}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.asset-card .asset-image{height:150px}.organize-toolbar{flex-wrap:wrap}.tago-workspace.with-rail{grid-template-columns:1fr}.episode-rail{border-right:0;border-bottom:1px solid #292929;display:flex;overflow:auto;align-items:center;padding:7px 10px;gap:8px}.rail-project{padding:0;display:none}.episode-row{padding:4px 8px;height:31px;border-left:0;border-bottom:2px solid transparent;min-width:120px;border-radius:4px}.episode-row.active{border-left:0;border-bottom-color:#60a5fa}.episode-row .icon-btn{opacity:1}.add-episode{width:auto;white-space:nowrap;margin:0;padding:7px}.workspace-bar,.with-rail .workspace-bar{padding:10px 12px!important;gap:8px}.stage-nav{gap:9px}.stage-btn{font-size:10px;gap:4px}.stage-btn .number{height:18px;width:18px;font-size:10px}.stage-separator{font-size:10px;letter-spacing:-2px}.workspace-actions .btn{font-size:10px;padding:4px 8px}.work-content,.stage-0.work-content{padding:24px 16px 120px}.workflow-dock,.with-rail .workflow-dock{left:50%;width:calc(100% - 24px);max-width:calc(100% - 24px);gap:7px;padding:8px;bottom:14px}.workflow-dock .dock-button{padding:9px 12px;font-size:11px}.workflow-dock>span{font-size:9px;padding:0 4px;line-height:16px}.script-heading h2{font-size:21px}.script-heading{margin-bottom:22px}.script-tools{gap:8px}.script-tools>span{font-size:10px;width:100%}.editor.script{min-height:400px;height:55vh;padding:16px;font-size:13px;line-height:25px}.work-section-title{flex-wrap:wrap;gap:14px}.work-section-title .actions{gap:6px}.work-section-title .btn{font-size:10px;padding:5px 7px}.job-banner{margin:12px 16px 0}.page{padding:25px 16px 50px}.reference-empty{padding:24px 16px}.reference-empty p{font-size:11px}}

.style-panel{position:relative}.style-close{position:absolute;top:14px;right:20px;padding:2px 0;background:none;border:0;color:#888;font-size:11px}.style-close:hover{color:white}.module-status>svg{color:#999;margin-bottom:14px}.module-status h3{margin-bottom:12px}.module-status p{font-size:13px;line-height:24px;color:#aaa}.tutorial-steps{padding-left:20px;color:#ccc;line-height:2.3;font-size:13px}.group-empty{color:#777;font-size:12px;padding:20px 0;grid-column:1/-1}.project-assets-header{font-size:13px;color:#999;margin:0 0 20px}
/* Desktop measurements from the reference: 49 px navigation, 192 px rail. */
@media(min-width:1221px){.tago-nav{padding:0 24px;gap:12px}.tago-brand strong{letter-spacing:.4px}.chrome-tip{font-size:14px;margin-right:26px;gap:5px}.chrome-tip .icon{width:14px;height:14px}.tago-main-links{gap:24px;justify-content:space-between}.tago-main-links>a,.tago-main-links>button{font-size:14px;line-height:20px;max-width:38px;width:38px;flex-shrink:1}.tago-main-links>a:first-child{width:28px}.tago-account{gap:12px}}
@media(min-width:1550px){.tago-main-links>a,.tago-main-links>button{max-width:none;width:auto;white-space:nowrap}.tago-main-links>a:first-child{width:auto}}
.tago-workspace{height:calc(100dvh - 106px);min-height:0;overflow:hidden}.no-banner .tago-workspace{height:calc(100dvh - 49px)}.workspace-main{display:flex;flex-direction:column;min-height:0}.workspace-bar{flex-shrink:0}.work-content{overflow-y:auto;flex:1;min-height:0}.episode-rail{overflow-y:auto}.stage-1.work-content{padding-top:25px}.script-heading h2{font-size:20px;font-weight:700}.script-heading{margin-bottom:16px}.script-tools{margin-bottom:15px}.editor.script{font-size:15px;line-height:27px;padding:20px 24px}.workflow-dock{padding:8px 16px;gap:16px;bottom:20px}.workflow-dock .dock-button{font-size:12px;line-height:16px;padding:5px 14px;font-weight:600}.workflow-dock>span{padding:0;font-size:12px;line-height:18px}
@media(max-width:600px){.tago-workspace{height:calc(100dvh - 96px)}.no-banner .tago-workspace{height:calc(100dvh - 54px)}.tago-workspace.with-rail{grid-template-rows:auto minmax(0,1fr)}.episode-rail{overflow-y:visible}.workflow-dock{padding:8px;gap:8px;bottom:12px}.workflow-dock>span{font-size:9px;line-height:16px}.workflow-dock .dock-button{padding:5px 10px;font-size:11px}.editor.script{font-size:13px;padding:16px}}
.project-page-heading{margin-bottom:35px}.tago-assets{height:calc(100dvh - 106px);display:flex;flex-direction:column;overflow:hidden}.no-banner .tago-assets{height:calc(100dvh - 49px)}.assets-page-heading{flex-shrink:0}.asset-center-layout{flex:1;min-height:0}.folder-sidebar,.asset-center-main{overflow-y:auto}.asset-center-main{padding:18px 24px 24px;border:0;border-radius:0}.asset-center-toolbar{margin-bottom:30px}.asset-tabs button{font-size:13px;padding:6px 14px}.asset-center-toolbar .btn{font-size:12px;padding:7px 12px}.asset-center-main .asset-grid{grid-template-columns:repeat(auto-fill,192px);gap:16px}.asset-center-main .asset-card{height:182px;position:relative;border-radius:15px}.asset-center-main .asset-image{height:128px}.asset-center-main .asset-card-body{padding:15px}.asset-center-main .asset-card-body h3{font-size:14px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.asset-center-main .asset-card-body p,.asset-center-main .asset-card-body .section-note{display:none}.asset-center-main .asset-card-body .actions{position:absolute;right:8px;top:91px;opacity:0;background:#171717d9;border-radius:6px;padding:3px}.asset-center-main .asset-card:hover .actions,.asset-center-main .asset-card:focus-within .actions{opacity:1}.asset-center-main .asset-image>.icon{color:#5d9de8;width:36px;height:36px}.folder-sidebar>div{font-size:14px;margin-bottom:15px}.folder-sidebar>div .icon-btn{background:#1d1d1d;border-radius:50%;font-size:17px}.folder-item{font-size:13px}.movie-show{margin-top:48px}
@media(max-width:1220px){.asset-center-main{padding:16px}.asset-center-main .asset-grid{grid-template-columns:repeat(auto-fill,minmax(160px,192px))}.asset-tabs button{font-size:11px}.asset-center-toolbar .btn{font-size:11px;padding:6px 9px}}
@media(max-width:600px){.tago-assets{height:calc(100dvh - 96px)}.no-banner .tago-assets{height:calc(100dvh - 54px)}.asset-center-layout{grid-template-rows:auto minmax(0,1fr)}.folder-sidebar{overflow-y:hidden}.folder-sidebar>div{margin:0}.asset-center-main{padding:12px}.asset-center-main .asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.asset-center-main .asset-card{height:182px}.asset-center-main .asset-card-body .actions{opacity:1}.asset-tabs button{font-size:10px;padding:5px 8px}.asset-center-toolbar .btn{font-size:10px;padding:5px 7px}.project-page-heading{margin-bottom:24px}.movie-show{margin-top:34px}}

/* Creation modes share the home editor, as on the reference site. */
.tago-create:focus-within{border-color:#87cbb5;box-shadow:0 0 0 2px #648b8033,0 0 20px #89c6cb18}
.creation-status{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:12px;padding-top:10px;border-top:1px solid #ffffff14;font-size:11px;line-height:18px;color:#9fa8b2}
.creation-status strong{color:#9bd6ba;font-weight:500}
.creation-mode-card:focus-visible{outline:2px solid #b4e9d1;outline-offset:4px}
@media(max-width:600px){.creation-status{display:grid;gap:2px;font-size:10px}}

/* QianFilm / 千影 product identity; legacy selectors preserve layout compatibility. */
.tago-brand strong{display:flex;align-items:center;gap:8px;white-space:nowrap}.tago-brand .brand-en{letter-spacing:.2px}.tago-brand .brand-cn{font-size:12px;font-weight:500;color:#b4c7e2;letter-spacing:1px}.tago-brand img{object-fit:contain}
@media(max-width:760px){.tago-nav .tago-brand{gap:6px;min-width:0}.tago-nav .tago-brand strong{display:block}.tago-nav .brand-en{display:none}.tago-nav .brand-cn{font-size:14px;color:#f5f5f5}}

/* User-supplied QianFilm mark; dark tile keeps its white loop visible. */
.tago-brand img,.guest-logo{object-fit:contain;background:#0b0d0e;border-radius:6px}
.duration-panel{margin:14px 0;padding:16px;border:1px solid #3c4b50;border-radius:12px;background:#12252955;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;max-width:100%;min-width:0}.duration-panel>div{display:flex;flex-wrap:wrap;gap:8px 16px;flex:1 1 100%;min-width:0}.duration-panel p{margin:0;font-size:13px}.duration-panel small{display:block;color:#a3b5b8;flex:1 1 100%;line-height:1.7}.duration-warning{color:#e9b96a}.duration-panel .btn{margin-left:auto}#shot-plan-form>label{display:flex;gap:14px;align-items:center;margin:20px 0}#shot-plan-form p{line-height:1.8}

#capture-frame-form{display:grid;gap:14px}#capture-frame-form label{display:grid;gap:7px}#capture-frame-form p{line-height:1.8}

@media(max-width:600px){#shot-plan-form>label{display:block}#shot-plan-form>label>select{display:block;width:100%;margin-top:8px}}
