/* Raya（Claude 接管段）。主栏几何、颜色、圆角与阴影对照原版未登录公开骨架的计算样式
   （reference/public-ssr）与登录态原版的现场实测（reference/logged-in/raya）。标题字体原版为 ABC Favorit Extended，这里仍用已许可的 Inter。
   会话气泡、发送中/失败态、Agent 状态条的文案与图标、附件条属独立本地实现。 */
.raya-page{position:relative;display:flex;flex-direction:column;height:100vh;overflow:hidden;background:var(--canvas)}
.raya-scroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto}
.raya-stage{position:relative;min-height:100%}
.raya-grid-layer{position:absolute;inset:0;opacity:.6;pointer-events:none}
.raya-grid{position:absolute;inset:0;background:radial-gradient(circle at 0 0,#0f111529 1.1px,#0000 1.6px) 0 0/32px 32px,linear-gradient(#0f111509 1px,#0000 1px) 0 0/32px 32px,linear-gradient(90deg,#0f111509 1px,#0000 1px) 0 0/32px 32px;-webkit-mask:linear-gradient(#0000 420px,#000 720px);mask:linear-gradient(#0000 420px,#000 720px)}
.raya-wash{position:absolute;top:0;left:0;right:0;height:760px;pointer-events:none;background:radial-gradient(38% 70% at 0% 18%,color-mix(in srgb,var(--foji-violet-soft) 30.2%,transparent),transparent 72%),radial-gradient(30% 60% at 4% 70%,#ffbeaa38,#ffbeaa00 70%),radial-gradient(40% 75% at 100% 30%,#8ca0ff4d,#8ca0ff00 72%),radial-gradient(30% 50% at 96% 0%,#63cdf52e,#63cdf500 70%);-webkit-mask:linear-gradient(#000 55%,#0000);mask:linear-gradient(#000 55%,#0000)}
.raya-column{position:relative;width:100%;max-width:812px;margin:0 auto;padding:24px 16px}
.raya-stack{position:relative;display:flex;flex-direction:column;align-items:center;gap:40px;width:100%}
.raya-stack>*{width:100%}
.raya-stack.thread,.raya-stack.error,.raya-stack.sending{gap:24px}
.raya-stack.sending>.raya-section{display:none}
.raya-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;height:40px}
.raya-anchor{position:relative}
.raya-brand-trigger{display:inline-flex;align-items:center;gap:12px;max-width:520px;height:40px;padding:0 8px;border:0;border-radius:12px;background:transparent;white-space:nowrap;transition:background-color .15s}
.raya-brand-trigger:hover:not(:disabled),.raya-brand-trigger[aria-expanded=true]{background:#0000000a}
.raya-brand-icon,.raya-brand-caret{display:flex;color:#00000073}
.raya-brand-label{overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:22px;color:#000000a6}
.raya-link{padding:0;border:0;background:none;color:#61278d;font-size:12px;line-height:20px;white-space:nowrap}
.raya-link:hover{color:#6a2e97;text-decoration:underline}
.raya-section{display:flex;flex-direction:column;gap:12px}
.raya-heading{padding:4px}
.raya-heading.split{display:flex;align-items:center;justify-content:space-between;gap:12px}
.raya-heading h2{margin:0;font-size:20px;line-height:28px;font-weight:600;color:#000000e0}
.raya-hero{position:relative;isolation:isolate;display:flex;overflow:hidden;border:1px solid #bfbfe724;border-radius:18px;background:#141418}
.raya-hero-glow{position:absolute;inset:0 auto 0 0;z-index:1;width:30%;pointer-events:none;background:radial-gradient(120% 90% at 0% 100%,#a2c47f33,transparent 65%)}
.raya-hero-clips{position:absolute;top:0;right:0;bottom:0;left:20%;z-index:0;display:grid;grid-template-columns:repeat(4,1fr);gap:2px}
.raya-hero-clips i{display:block;min-width:0;background:#000}
.raya-hero-clips .c1{background:radial-gradient(60% 40% at 50% 38%,#6f5bd066,transparent 70%),linear-gradient(170deg,#2a2440,#121019)}
.raya-hero-clips .c2{background:radial-gradient(45% 30% at 50% 42%,#dfe6f255,transparent 70%),linear-gradient(180deg,#1b2a3f,#0b0f17)}
.raya-hero-clips .c3{background:radial-gradient(55% 36% at 50% 46%,#f0a27a66,transparent 72%),linear-gradient(175deg,#5a3526,#1f1512)}
.raya-hero-clips .c4{background:radial-gradient(55% 36% at 50% 44%,#b9c8a866,transparent 72%),linear-gradient(175deg,#4b5745,#1b2019)}
.raya-hero-clips b{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#141418 0%,#141418e0 30%,#14141880 52%,#1414181f 74%,transparent 90%)}
.raya-hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;gap:8px;max-width:520px;min-height:270px;padding:22px 28px}
.raya-new{align-self:flex-start;padding:0 6px;border-radius:9px;background:#cffb9f;color:#000;font-size:10px;line-height:16px;font-weight:700;letter-spacing:.25px}
.raya-hero h3{margin:0;white-space:nowrap;font-size:30px;line-height:1.08;font-weight:700;letter-spacing:-.035em;color:#ffffffd9}
.raya-hero h3 em{font-style:normal;color:#cda7f4}
.raya-hero-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:2px 0 4px;font-size:12.5px;line-height:1.5714;color:#ffffffd9}
.raya-hero-tags span{padding:4px 10px;border-radius:999px;background:#ffffff14}
.raya-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.raya-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 16px;border:1px solid transparent;border-radius:14px;background:#a578cf;color:#000000e6;font-size:14px;line-height:22px;font-weight:700;white-space:nowrap;box-shadow:0 6px 22px #a578cf59;transition:filter .15s,transform .15s}
.raya-cta:hover{filter:brightness(1.07)}
.raya-cta:active{transform:translateY(1px)}
.raya-week{display:flex;flex-shrink:0;align-items:center;gap:4px}
.raya-week-step{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#000000e0}
.raya-week-label{padding:2px 4px;border:0;border-radius:9px;background:transparent;font-size:14px;line-height:22px;white-space:nowrap;color:#000000e0}
.raya-week-step:hover,.raya-week-label:hover{background:#0000000a}
.raya-skeleton{background:#0000000f;animation:raya-pulse 2s cubic-bezier(.4,0,.6,1) infinite}
.raya-skeleton.row{height:48px;border-radius:18px}
.raya-skeleton.tile{height:64px;border-radius:12px}
.raya-skeleton.tile.grow{flex:1}
@keyframes raya-pulse{50%{opacity:.5}}
.raya-explore-note{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px dashed #0e0e492b;border-radius:12px;font-size:13px;line-height:20px;color:#000000a6}
.raya-promo{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid #05056914;border-radius:20px;background:linear-gradient(105deg,#f0e9ff 0%,#f0e9ff 58%,#e3d4fc 100%);box-shadow:0 1px 2px #4516670d}
.raya-promo-main{display:flex;flex:1;align-items:center;gap:16px;min-width:0}
.raya-promo-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#e3d4fc;color:#74449e}
.raya-promo h2{margin:0;font-size:14px;line-height:22px;font-weight:600;color:#000000e0}
.raya-promo p{margin:4px 0 0;font-size:14px;line-height:24px;color:#000000a6}
.raya-promo-cta{flex-shrink:0;padding:10px 20px;border:0;border-radius:999px;background:#000000e0;color:#fff;font-size:12px;line-height:17.1429px;font-weight:600;white-space:nowrap}
.raya-promo-cta:hover{background:#000000bf}
.raya-schedule{display:flex;flex-direction:column;gap:12px}
.raya-schedule:has(.raya-skeleton){gap:8px}
.raya-note-card{padding:16px 20px;border:1px solid #05056914;border-radius:18px;background:#fff;text-align:center}
.raya-note-card p{margin:0;font-size:14px;line-height:22px;color:#00000073}
.raya-list-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #05056914;border-radius:18px;background:#fff}
.raya-example{display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;border:0;border-bottom:1px solid #05056914;background:transparent;text-align:left;transition:background-color .15s}
.raya-example:last-child{border-bottom:0}
.raya-example:hover{background:#00000005}
.raya-spark{display:flex;flex-shrink:0;color:#5daa1e}
.raya-example-text{display:flex;flex:1;flex-direction:column;min-width:0}
.raya-example-text b,.raya-example-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:22px}
.raya-example-text b{font-weight:600;color:#000000e0}
.raya-example-text small{color:#00000073}
.raya-row-arrow{display:flex;flex-shrink:0;color:#000000e0}
.raya-explore{display:flex;flex-direction:column;gap:8px}
.raya-explore-row{display:flex;align-items:stretch;gap:6px}
.raya-explore-tabs{display:flex;flex:1;gap:6px;min-width:0}
.raya-explore-tabs:has(.raya-skeleton){flex:none;gap:4px}
.raya-explore-tab{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;height:70px;padding:16px 8px;border:1px solid #05056914;border-radius:12px;background:#fff;color:#000000e0;transition:border-color .15s,background-color .15s}
.raya-explore-icon{display:flex;align-items:center;justify-content:center;width:14px;height:14px;color:#74449e}
.raya-explore-tab>span:last-child{font-size:13px;line-height:20px;font-weight:500;white-space:nowrap}
.raya-explore-tab:hover{border-color:#e3d4fc}
.raya-explore-tab[aria-selected=true]{border-color:var(--foji-violet-soft);background:var(--foji-lav-bg)}
.raya-explore-search{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:56px;height:70px;padding:0;border:1px solid #05056914;border-radius:12px;background:#fff;color:#000000a6;transition:border-color .15s,color .15s}
.raya-explore-search:hover{border-color:#e3d4fc;color:#000000e0}
.raya-prompt-card{display:flex;flex-direction:column;padding:8px;border:1px solid #05056914;border-radius:18px;background:#fff}
.raya-prompt{display:flex;align-items:center;gap:12px;width:100%;padding:8px 12px 8px 8px;border:0;border-radius:12px;background:transparent;text-align:left;transition:background-color .15s}
.raya-prompt:hover{background:#0000000a}
.raya-prompt b{flex-shrink:0;font-size:14px;line-height:22px;font-weight:500;color:#000000e0}
.raya-prompt small{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:22px;color:#00000073}
.raya-prompt .raya-row-arrow{color:#00000073}
.raya-prompt-rule{height:0;margin:8px 8px 4px;border-top:1px solid #05056914}
.raya-view-more{width:100%;padding:4px 0;border:0;border-radius:12px;background:transparent;font-size:12px;line-height:20px;color:#00000073}
.raya-view-more:hover{background:#0000000a;color:#000000a6}
.raya-library{display:flex;flex-direction:column;gap:16px}
.raya-library-group h3{margin:0 0 4px;font-size:14px;line-height:22px;font-weight:600}
.raya-strip{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;width:100%;height:78px;margin-bottom:-34px;padding:8px 18px;border:1px solid #0e0e492b;border-radius:20px;background:#00000005;text-align:left;transition:background-color .15s}
.raya-strip:hover{background:#0000000a}
.raya-strip-main{display:flex;flex:1;align-items:center;gap:8px;min-width:0;height:28px}
.raya-strip-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #0e0e492b;border-radius:50%;background:#fff;color:#d9660a}
.raya-strip[data-state=live] .raya-strip-icon{color:#5daa1e}
.raya-strip[data-state=loading] .raya-strip-icon{color:#00000040}
.raya-strip[data-state=error] .raya-strip-icon{color:#ed383b}
.raya-strip-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:22px;color:#000000e0}
.raya-strip-arrow{display:flex;flex-shrink:0;align-items:center;height:28px;color:#00000073}
.raya-menu.brand{left:-.5px;width:225px;min-width:0;padding:0;overflow:hidden}
.raya-menu-search{display:flex;align-items:center;gap:4px;height:32px;margin:4px 4px 0;padding:0 11px;border:1px solid #d6d6e0;border-radius:9px;background:#fff;transition:border-color .15s,box-shadow .15s}
.raya-menu-search:focus-within{border-color:var(--foji-violet-soft);box-shadow:0 0 0 2px color-mix(in srgb,var(--foji-violet-soft) 20%,transparent)}
.raya-menu-search>span{display:flex;color:#00000040}
.raya-menu-search input{flex:1;min-width:0;padding:0;border:0;outline:none!important;background:transparent;box-shadow:none;font-size:14px;line-height:22px}
.raya-menu-search input::placeholder{color:#00000040}
.raya-menu-list{max-height:320px;overflow-y:auto;padding:4px}
.raya-menu-list [hidden]{display:none}
.raya-menu.brand .raya-menu-sep{margin:0}
.raya-menu-extra{padding:4px}
.raya-menu.create{left:-.5px;width:280px;min-width:0;max-width:none;padding:8px;border:1px solid #05056914;border-radius:18px}
.raya-create-title{display:block;padding:4px 10px 6px;font-size:12px;line-height:20px;font-weight:600;color:#000000a6}
.raya-create-item{display:flex;align-items:flex-start;gap:10px;width:100%;padding:10px;border:0;border-radius:12px;background:transparent;text-align:left}
.raya-create-item:hover{background:#0000000a}
.raya-create-item>svg{flex-shrink:0;margin-top:2px;color:#00000073}
.raya-create-item>span{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.raya-create-item b{font-size:14px;line-height:22px;font-weight:600;color:#000000e0}
.raya-create-item small{font-size:12px;line-height:20px;color:#00000073;white-space:nowrap}
.raya-create-chip[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}
.raya-dock{flex-shrink:0;padding:0 16px;background:var(--canvas)}
.raya-dock-inner{position:relative;display:flex;flex-direction:column;width:100%;max-width:812px;margin:0 auto}
.raya-composer-wrap{position:relative;z-index:10;padding-bottom:16px}
.raya-composer{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid #0e0e492b;border-radius:20px;background:#fff;box-shadow:0 0 8px #00000014;transition:border-color .2s,box-shadow .2s}
.raya-composer:hover:not(:focus-within){box-shadow:0 0 10px #0000001a}
.raya-composer:focus-within{border-color:#00000040;box-shadow:0 0 12px #0000001f}
.raya-composer textarea{display:block;width:100%;height:30px;min-height:30px;max-height:200px;margin:0;padding:4px 11px 4px 4px;border:0;border-radius:9px;outline:none!important;background:transparent;box-shadow:none;resize:none;font-size:14px;line-height:22px;color:#000000e0}
.raya-composer textarea::placeholder{color:#00000040}
.raya-composer-row{display:flex;align-items:center;gap:8px}
.raya-composer-tools{display:flex;flex:1;align-items:center;gap:4px;min-width:0}
.raya-create-chip{display:inline-flex;flex-shrink:0;align-items:center;gap:6px;height:32px;padding:0 10px 0 12px;border:0;border-radius:10px;background:#0000000f;color:#000000a6;font-size:13px;line-height:1.5714;font-weight:600;transition:background-color .15s,color .15s}
.raya-create-chip:hover,.raya-create-chip[aria-expanded=true]{background:#00000026;color:#000000e0}
.raya-attach{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;background:transparent;color:#000000a6;transition:color .15s}
.raya-attach:hover:not(:disabled){color:#000000e0}
.raya-attach:disabled,.raya-brand-trigger:disabled{opacity:.4}
.raya-send{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:var(--foji-violet);color:#fff;transition:opacity .15s}
.raya-send:hover:not(:disabled){opacity:.9}
.raya-send:disabled{background:#0000000f;color:#00000040;opacity:1}
.raya-glow{position:absolute;bottom:12px;left:50%;width:80%;height:12px;transform:translateX(-50%);pointer-events:none}
.raya-glow>div{width:100%;height:100%;border-radius:999px;background:linear-gradient(to right in oklab,var(--foji-violet-soft),#ffab2e,#3eaedc);opacity:.4;filter:blur(4px)}
.raya-attachments{display:flex;flex-wrap:wrap;gap:6px}
.raya-attachments[hidden]{display:none}
.raya-chip-file{display:inline-flex;align-items:center;gap:6px;max-width:100%;height:28px;padding:0 6px 0 8px;border-radius:8px;background:#0000000a;font-size:12px;color:#000000a6}
.raya-chip-file b{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:#000000e0}
.raya-chip-file small{color:#00000073}
.raya-chip-file button{display:flex;padding:2px;border:0;border-radius:4px;background:none;color:#00000073}
.raya-chip-file button:hover{background:#0000000f;color:#000000e0}
.raya-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:30;min-width:260px;max-width:min(360px,calc(100vw - 32px));max-height:360px;overflow:auto;padding:4px;border-radius:12px;background:#fff;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}
.raya-menu.up{top:auto;bottom:calc(100% + 4px)}
.raya-menu[hidden]{display:none}
.raya-menu-title,.raya-menu-note{padding:5px 12px;font-size:12px;line-height:20px;color:#00000073}
.raya-menu-item{display:flex;align-items:center;gap:8px;width:100%;min-height:32px;padding:5px 12px;border:0;border-radius:8px;background:transparent;text-align:left;font-size:14px;line-height:22px;color:#000000e0}
.raya-menu-item>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.raya-menu-item:hover{background:#0000000a}
.raya-menu-item>svg{color:#00000073}
.raya-menu-item[aria-checked=true]{background:var(--foji-lav-bg);font-weight:500}
.raya-menu-item[aria-checked=true]>svg{color:#61278d}
.raya-menu-item.tall{align-items:flex-start;padding:8px 12px}
.raya-menu-item.tall>svg{margin-top:3px}
.raya-menu-item.tall>span{display:flex;flex-direction:column;white-space:normal}
.raya-menu-item.tall b{font-weight:500}
.raya-menu-item.tall small{font-size:12px;line-height:20px;color:#00000073}
.raya-dot{flex-shrink:0;width:10px;height:10px;border:1px solid #0000001f;border-radius:50%}
.raya-menu-sep{height:1px;margin:4px 0;background:#05056914}
.raya-thread-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 4px}
.raya-thread-head h2{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:20px;line-height:28px;font-weight:600}
.raya-thread-head span{flex-shrink:0;font-size:12px;line-height:20px;color:#00000073}
.raya-thread{display:flex;flex-direction:column;gap:24px;padding:0 4px 8px}
.raya-message{display:flex;flex-direction:column;gap:8px;min-width:0}
.raya-message.user{align-items:flex-end}
.raya-message-meta{display:flex;align-items:center;gap:8px;font-size:13px;line-height:20px}
.raya-message-meta b{font-weight:600}
.raya-mark{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:var(--foji-lav-bg);color:#61278d}
.raya-message-text{overflow-wrap:anywhere;font-size:14px;line-height:22px;color:#000000e0}
.raya-message-text h2{margin:12px 0 2px;font-size:16px;line-height:24px}
.raya-message-text h3{margin:10px 0 2px;font-size:14px;line-height:22px}
.raya-message.user .raya-message-text{max-width:min(600px,85%);padding:10px 16px;border-radius:18px 18px 4px 18px;background:#0000000f}
.raya-message.failed .raya-message-text{color:#7a0b18}
.raya-message.user .studio-context-used{max-width:min(600px,85%);margin-top:0;text-align:right}
.raya-message.user .studio-context-used pre,.raya-message.user .studio-context-used p{text-align:left}
.raya-working{display:flex;align-items:center;gap:5px;font-size:13px;line-height:20px;color:#00000073}
.raya-working i{width:6px;height:6px;border-radius:50%;background:var(--foji-violet-soft);animation:raya-bounce 1.2s ease-in-out infinite}
.raya-working i:nth-child(2){animation-delay:.15s}
.raya-working i:nth-child(3){animation-delay:.3s}
.raya-working span{margin-left:6px}
@keyframes raya-bounce{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.raya-send-error{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px;border:1px solid #ffbeb8;border-radius:12px;background:#fff2f0;color:#7a0b18;font-size:13px;line-height:20px}
.raya-send-error b{font-weight:600}
.raya-send-error span{flex:1;min-width:200px}
.raya-composer-wrap>.raya-send-error{margin-bottom:8px}
.raya-state{display:flex;flex-direction:column;align-items:center;gap:8px;padding:72px 24px;text-align:center}
.raya-state-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:8px;border-radius:14px;background:#0000000a;color:#00000073}
.raya-state h2{margin:0;font-size:20px;line-height:28px}
.raya-state p{max-width:480px;margin:0;color:#000000a6}
.raya-state-actions{display:flex;gap:8px;margin-top:12px}
.raya-page[data-raya-locked] .raya-dock{display:none}
.raya-drop{position:fixed;inset:0;z-index:1001;display:flex;align-items:center;justify-content:center;padding:12px;background:#ffffffd9;backdrop-filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .2s ease-out}
.raya-drop.active{opacity:1}
.raya-drop>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;width:100%;height:100%;padding:0 24px;border:2px dashed #0e0e492b;border-radius:24px;text-align:center;color:#00000073}
.raya-drop span{font-size:16px;line-height:24px;font-weight:600;color:#000000e0}
@media(prefers-reduced-motion:reduce){.raya-skeleton,.raya-working i{animation:none}}
@media(max-width:760px){.raya-hero h3{font-size:26px}.raya-explore-row,.raya-explore-tabs{flex-wrap:wrap}.raya-promo{flex-direction:column;align-items:flex-start}}
/* Ad Maker 入口（Claude 接管段）。几何、颜色、圆角与阴影取自登录态原版的现场实测（reference/logged-in/maker，2026-11-10）
   和当前导出 CSS 的声明值。标题与标签字体原版为 ABC Favorit Extended / Mono（商业字体，未打包），这里用 Inter 与原版自己的等宽回退栈。
   检查点弹层、原生下拉、卡片来源标记属独立本地实现。 */
.maker-page{position:relative;height:100vh;overflow-x:hidden;overflow-y:auto;background:var(--layout);--vg-well:#0000000a;--vg-well-hover:#0000000f;--vg-mono:ui-monospace,Menlo,monospace}
.maker-page::-webkit-scrollbar{width:6px}
.maker-page::-webkit-scrollbar-thumb{border-radius:3px;background:#00000026}
.maker-page .vg-wash{position:absolute;top:0;left:0;right:0;height:760px;pointer-events:none;background:radial-gradient(38% 70% at 0% 18%,color-mix(in srgb,var(--foji-violet-soft) 30.2%,transparent),transparent 72%),radial-gradient(30% 60% at 4% 70%,#ffbeaa38,#ffbeaa00 70%),radial-gradient(40% 75% at 100% 30%,#8ca0ff4d,#8ca0ff00 72%),radial-gradient(30% 50% at 96% 0%,#63cdf52e,#63cdf500 70%);-webkit-mask:linear-gradient(#000 55%,#0000);mask:linear-gradient(#000 55%,#0000)}
.maker-inner{position:relative;width:100%;max-width:1100px;margin:0 auto;padding:48px 24px 0}
.maker-intro{display:flex;flex-direction:column;align-items:center;margin-bottom:32px}
.vg-title{margin:0;text-align:center;text-wrap:balance;font-size:46px;line-height:1.05;font-weight:700;letter-spacing:-.035em;color:#000000e0}
.vg-box{position:relative;z-index:2;padding:14px;border:1px solid #ffffffd9;border-radius:22px;background:#ffffff9e;-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);box-shadow:inset 0 1px 0 #fffffff2,inset 0 -18px 40px color-mix(in srgb,var(--foji-violet-soft) 5.1%,transparent),0 12px 40px #0f111514,0 0 0 1px #0f11150d}
.maker-flex{flex:1}
.maker-main-row{display:flex;gap:10px}
.vg-drop{display:flex;flex:1;flex-direction:column;min-width:0;height:252px;border:1.5px solid transparent;border-radius:14px;background:var(--vg-well);transition:background-color .15s,border-color .15s}
.vg-drop:hover,.vg-drop.over{background:var(--vg-well-hover)}
.vg-drop.over{border-color:var(--foji-violet-soft)}
.maker-paste textarea{flex:1;width:100%;min-height:120px;padding:14px;border:0;border-radius:14px;outline:none!important;background:transparent;box-shadow:none;resize:none;font-size:15px;line-height:1.5714;color:#000000e0}
.maker-paste textarea::placeholder{color:#00000040}
.maker-script-tools{display:flex;flex-shrink:0;align-items:flex-end;gap:8px;height:90px;padding:0 10px 10px}
.maker-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:80px;height:80px;padding:0 4px;border:1px dashed #0e0e492b;border-radius:10px;background:#00000005;color:#00000073;font-size:13px;line-height:16.25px;transition:border-color .15s,color .15s}
.maker-add:hover:not(:disabled){border-color:#dbc2fb;color:#000000e0}
.maker-template{display:inline-flex;align-items:center;gap:6px;height:24px;margin-bottom:2px;padding:0;border:0;border-radius:6px;background:none;color:#000000a6;font-size:13px;line-height:20.4286px;font-weight:500}
.maker-template:hover{color:#000000e0}
.maker-wells{display:flex;flex-direction:column;flex-shrink:0;gap:10px;width:220px}
.vg-well{position:relative;display:flex;flex:1;align-items:center;gap:10px;min-height:90px;padding:34px 16px 12px;border-radius:14px;background:var(--vg-well);font-size:14px;line-height:22px;font-weight:600;color:#000000e0;transition:background-color .15s,opacity .15s}
.vg-well.dim{opacity:.5}
.vg-well:hover{background:var(--vg-well-hover)}
.vg-well-label{position:absolute;top:12px;left:16px;font-family:var(--vg-mono);font-size:10.5px;line-height:22px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#00000073}
.vg-well select{flex:1;min-width:0;border:0;outline:none!important;background:transparent;font:inherit;color:inherit;cursor:pointer}
.vg-well select:disabled{cursor:not-allowed}
.maker-controls{display:flex;align-items:center;gap:8px;height:42px;margin-top:12px}
.maker-chips{display:flex;align-items:center;gap:8px;min-width:0;padding:0 1px}
.vg-chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid #fffffff2;border-radius:999px;background:linear-gradient(#ffffffe6,#ffffff80);color:#000000a6;font-size:13px;line-height:19.5px;box-shadow:inset 0 1px #fff,0 1px 3px #5028780f,0 0 0 1px #1c1b1f0f;-webkit-backdrop-filter:blur(10px) saturate(1.4);backdrop-filter:blur(10px) saturate(1.4)}
.vg-chip:hover,.vg-chip[aria-expanded=true]{border-color:#dbc2fb;color:#000000e0;box-shadow:inset 0 1px 0 #fff,0 0 0 1px color-mix(in srgb,var(--foji-violet-soft) 34.9%,transparent)}
.vg-chip select{max-width:150px;border:0;outline:none!important;background:transparent;font:inherit;color:inherit;cursor:pointer}
.maker-style-thumb{width:18px;height:18px;border-radius:50%;background:conic-gradient(from 210deg,var(--foji-violet-soft),#ffab2e,#3eaedc,var(--foji-violet-soft))}
.maker-check{height:34px;line-height:20.4286px}
.maker-flag{display:flex;color:#74449e}
.maker-check>svg{color:#00000073}
.vg-check-label{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.maker-anchor{position:relative}
.vg-pop{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:min(400px,calc(100vw - 48px));padding:14px;border:1px solid #05056914;border-radius:18px;background:#ffffffeb;-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4);box-shadow:0 30px 70px #0f11152e}
.vg-pop[hidden]{display:none}
.maker-pop-title{margin:0 0 6px;padding:0 12px;font-size:14px;line-height:22px;font-weight:600}
.maker-choice{display:flex;align-items:flex-start;gap:10px;padding:8px 12px;border-radius:12px;cursor:pointer}
.maker-choice:hover{background:#0000000a}
.maker-choice input{margin:4px 0 0;accent-color:var(--foji-violet)}
.maker-choice span{display:flex;flex-direction:column}
.maker-choice b{font-size:14px;line-height:22px;font-weight:500}
.maker-choice small{font-size:12px;line-height:20px;color:#00000073}
.maker-stops{display:flex;flex-wrap:wrap;gap:6px 14px;padding:4px 12px 2px 35px;font-size:13px;line-height:22px;text-transform:capitalize}
.maker-stops label{display:flex;align-items:center;gap:5px}
.maker-stops input{accent-color:var(--foji-violet)}
.vg-cta{position:relative;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:12px;width:104px;height:42px;padding:0 16px;overflow:hidden;border:1px solid transparent;border-radius:10px;background-color:var(--foji-violet);background-image:linear-gradient(#fff3,#fff0 52%),radial-gradient(90% 70% at 50% 120%,color-mix(in srgb,var(--foji-violet) 50.2%,transparent),transparent 62%),linear-gradient(#a67ad0,var(--foji-violet));color:#fff;font-size:14px;line-height:22px;font-weight:600;text-shadow:0 1px 0 color-mix(in srgb,var(--foji-violet) 25.1%,transparent);box-shadow:inset 0 1px 0 #ffffff52,inset 0 0 0 1px #ffffff24,inset 0 -3px 8px color-mix(in srgb,var(--foji-violet) 30.2%,transparent),0 6px 16px color-mix(in srgb,var(--foji-violet) 23.9%,transparent)}
.vg-cta-arrow{font-size:16.1px;line-height:16.1px}
.vg-cta:hover:not(:disabled){filter:brightness(1.05)}
.vg-cta:disabled{opacity:.55}
.maker-error{margin:10px 2px 0;font-size:12px;line-height:20px;color:#8a3a00}
.maker-error[hidden]{display:none}
.maker-error[data-maker-error]{color:#c7262e}
.maker-below{display:flex;align-items:center;gap:12px;height:24px;margin-top:12px;padding:0 4px}
.maker-ask{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0;border:0;border-radius:6px;background:none;color:#000000a6;font-size:13.5px;line-height:21.2143px;font-weight:600}
.maker-ask:hover{color:#000000e0}
.vg-raya-mark{display:flex;color:var(--foji-violet-soft)}
.maker-trending-wrap{position:relative;padding:40px 24px 80px}
.maker-trending{display:flex;flex-direction:column;gap:18px}
.maker-trending-head{display:flex;align-items:center;gap:8px 12px;height:22px}
.vg-section-title{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:19px;line-height:22px;font-weight:500;letter-spacing:-.02em}
.vg-live{display:inline-flex;align-items:center;gap:6px;font-family:var(--vg-mono);font-size:12px;line-height:18.8571px;color:#00000073}
.vg-live i{width:7px;height:7px;border-radius:50%;background:#5daa1e;box-shadow:0 0 8px #5daa1e}
.maker-styles{display:flex;flex-wrap:wrap;gap:8px}
.maker-style{display:inline-flex;align-items:center;height:24px;padding:0 8px;border:1px solid #0e0e492b;border-radius:6px;background:#fff;font-size:12px;line-height:20px;font-weight:500;color:#000000e0}
.maker-style:hover{border-color:#dbc2fb}
.maker-style[aria-pressed=true]{border-color:transparent;background:var(--foji-violet);color:#fff}
.maker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.maker-card{position:relative;display:block;aspect-ratio:9/16;max-width:100%;overflow:hidden;border-radius:14px;background:#0000000a}
.maker-card.skeleton{background:#0000000f;animation:raya-pulse 2s cubic-bezier(.4,0,.6,1) infinite}
.maker-card img{display:block;width:100%;height:100%;object-fit:cover}
.maker-card-time{position:absolute;top:10px;left:10px;padding:1px 6px;border-radius:6px;background:#fffc;color:#000000e0;font-size:12px;line-height:20px;font-weight:600}
.maker-card-source{position:absolute;top:10px;right:10px;padding:1px 6px;border-radius:6px;background:#000000a6;color:#fff;font-size:11px;line-height:20px}
.maker-card-foot{position:absolute;inset:auto 0 0 0;display:flex;align-items:center;gap:6px;padding:32px 10px 10px;background:linear-gradient(to top,#000000d9,transparent);color:#fff}
.maker-card-foot i{flex-shrink:0;width:20px;height:20px;border-radius:50%;background:#fff}
.maker-card-foot b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;line-height:19.6429px;font-weight:600}
.maker-card-foot small{display:inline-flex;flex-shrink:0;align-items:center;gap:4px;font-size:11.5px;line-height:18.0714px;font-weight:500;color:#ffffffe6}
.maker-card-foot em{width:6px;height:6px;border-radius:50%;background:#5daa1e}
.maker-trending-note{display:flex;flex-direction:column;align-items:center;gap:4px;padding:40px 24px;border:1px dashed #05056914;border-radius:18px;background:#00000005;text-align:center;font-size:14px;line-height:22px;color:#000000a6}
.maker-trending-note b{font-weight:600;color:#000000e0}
@media(max-width:767px){.vg-title{font-size:32px}.maker-intro{margin-bottom:20px}.maker-main-row{flex-direction:column}.maker-wells{flex-direction:row;width:auto}.maker-inner{padding:16px 16px 0}.vg-drop{height:auto;min-height:220px}}
.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}.project-card{background:white;border:1px solid var(--border-soft);border-radius:12px;overflow:hidden}.project-cover{height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#a793bc;background:radial-gradient(ellipse at 20% 15%,#ffe4f2,transparent 60%),linear-gradient(145deg,#efe9fa,#fbf8fd)}.project-cover img{width:100%;height:100%;object-fit:contain}.project-cover span{font-size:11px;color:#9f91ad}.project-card-body{padding:16px}.project-card-body h3{font-size:14px;line-height:22px;margin:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-card-body p{font-size:12px;line-height:20px;color:#888;margin:10px 0;min-height:40px}.project-card-body small{color:#aaa;font-size:10px}.project-card:hover{border-color:#daccee;box-shadow:0 6px 18px #00000008}.breadcrumb{font-size:11px;color:#888;margin-bottom:6px}.breadcrumb a{cursor:pointer}.project-stepper{display:flex;gap:0;background:#fff;border:1px solid var(--border-soft);border-radius:12px;padding:18px 26px;margin-bottom:20px}.project-stepper>div{flex:1;display:flex;align-items:center;gap:10px;color:#aaa;font-size:12px;position:relative}.project-stepper>div:not(:last-child):after{content:'';height:1px;flex:1;background:#eceaf0;margin:0 18px}.project-stepper span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#f1f0f5;color:#999;flex-shrink:0}.project-stepper .current{color:#532876}.project-stepper .current span{background:#f1ebff;color:#623389}.project-stepper .done span{background:#eaf7e2;color:#74ac55}.project-workspace{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);gap:20px}.project-brief{align-self:start}.script-copy{white-space:pre-wrap;font-size:13px;line-height:23px;color:#666;max-height:320px;overflow:auto}.project-properties{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid var(--border-soft);padding-top:14px;margin:18px 0}.project-properties small{display:block;color:#999;font-size:10px}.project-properties b{font-weight:500;font-size:11px}.stage-actions{display:grid;gap:8px}.output-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.output-card{border:1px solid var(--border-soft);border-radius:10px;overflow:hidden}.output-card>img{width:100%;max-height:420px;object-fit:contain;display:block;background:#faf9fd}.output-card>pre{font-size:12px;white-space:pre-wrap;padding:15px}.output-card>div{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.output-card b{font-size:12px;font-weight:500}.media-card{padding:0;overflow:hidden}.media-card>img,.media-placeholder{width:100%;height:230px;object-fit:contain;background:#f0eff6}.media-placeholder{display:grid;place-items:center;color:#aaa}.media-card h3{font-size:13px;margin:14px 16px 0}.media-card small{display:block;margin:4px 16px 16px;font-size:10px}.connect-page{max-width:750px;text-align:center;margin:7vh auto 0}.connect-page>.empty-symbol{margin:0 auto 20px}.connect-page h1{font-size:28px;margin-bottom:10px}.connect-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;text-align:left;margin:30px 0 15px}.connect-cards .panel{padding:24px}.platform-mark{font-size:34px;line-height:44px}.connect-cards p{font-size:12px;color:#888;min-height:40px}.small-copy{font-size:11px;margin-top:12px}.performance-chart{width:100%;height:230px;display:block}.chart-empty{height:180px;display:grid;place-items:center}.report-card{text-align:left;cursor:pointer}.report-card>svg{color:#977faf;margin-bottom:14px}.report-card h3{margin-bottom:5px}.report-card p,.report-card small{color:#999;font-size:12px}.analytics-page .panel .table-wrap{border:0}.analytics-page .data-table td{font-size:12px}
@media(max-width:1100px){.project-workspace{grid-template-columns:1fr}.project-brief{display:block}.stage-actions{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.connect-cards{grid-template-columns:1fr}.project-stepper{padding:12px;gap:6px}.project-stepper>div{flex-direction:column;font-size:10px;gap:5px}.project-stepper>div:after{display:none}.stage-actions{grid-template-columns:1fr 1fr}}

.project-quote{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;margin:20px 0}.project-quote dt{color:var(--muted)}.project-quote dd{margin:0;text-align:right}.report-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.report-summary-grid>div{padding:12px;background:var(--layout);border-radius:8px}.report-summary-grid small{display:block;color:var(--muted)}.report-summary-grid strong{display:block;margin-top:6px;font-size:18px;font-weight:600}

/* 明确上下文、阶段审核和外部产物回流。 */
.studio-context-used,.studio-context-preview{font-size:11px;line-height:18px;margin-top:12px;color:var(--muted)}
.studio-context-used summary,.studio-context-preview summary{cursor:pointer;color:#6f6679;padding:5px 0}
.studio-context-used pre,.studio-context-preview pre,.studio-reply-preview{max-height:260px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f6fa;padding:12px;border-radius:8px;font-size:11px;line-height:18px}
.studio-options{margin:16px 0;padding:14px;border:1px solid var(--border-soft);border-radius:9px;min-width:0}
.studio-options legend{font-weight:600;font-size:12px;padding:0 6px}
.studio-option{display:flex;align-items:flex-start;gap:9px;padding:10px 0;border-bottom:1px solid var(--border-soft);cursor:pointer}
.studio-option:last-child{border-bottom:0}.studio-option>input{flex-shrink:0;margin:4px 0 0;width:15px;height:15px;accent-color:var(--primary-solid)}
.studio-option>span{min-width:0;flex:1}.studio-option b{font-size:12px;font-weight:500}.studio-option small{display:block;color:var(--muted);font-size:10px;overflow-wrap:anywhere;line-height:17px;margin-top:3px}
.studio-option pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/19px Inter,sans-serif;max-height:160px;overflow:auto}
.studio-options [data-reference-fields]{max-height:280px;overflow:auto}.studio-checkpoints{display:flex;gap:12px;flex-wrap:wrap}.studio-checkpoints label{display:flex;gap:4px;align-items:center;font-size:12px}.studio-checkpoints small{flex-basis:100%;font-size:11px}.studio-checkpoints input,.studio-asset-option input[type=checkbox]{accent-color:var(--primary-solid)}
.studio-small{font-size:11px;line-height:18px}.studio-project-right{display:flex;flex-direction:column;gap:20px;min-width:0}.studio-project-right>.panel{min-width:0}.studio-project-right .panel-title{flex-wrap:wrap;gap:10px}
.studio-pipeline{margin-bottom:20px;padding:18px 22px}.studio-pipeline>p{font-size:12px;color:var(--muted);margin:10px 0 0}.studio-pipeline>p b{font-weight:500;color:#666}
.studio-review{display:flex;align-items:center;gap:20px;justify-content:space-between;padding-top:14px;margin-top:14px;border-top:1px solid var(--border-soft);font-size:12px;line-height:20px}.studio-review>button{white-space:nowrap;flex-shrink:0}
.output-card>video{display:block;width:100%;max-height:420px;background:#151318}.output-card>pre{max-height:360px;overflow:auto;overflow-wrap:anywhere;line-height:20px;margin:0;background:#faf9fc}.output-card>.studio-output-heading{align-items:flex-start;border-bottom:1px solid var(--border-soft)}
.output-card>.studio-output-meta{display:flex;align-items:flex-start;flex-direction:column;gap:8px}.studio-output-meta small{color:var(--muted);font-size:10px;overflow-wrap:anywhere}.studio-output-meta details{width:100%;font-size:11px;color:var(--muted)}.studio-output-meta summary{cursor:pointer}.studio-output-meta pre{max-height:170px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:17px}.studio-output-meta>.btn{margin-top:4px}
fieldset[data-source-block],fieldset[data-provenance]{border:0;padding:0;margin:12px 0;min-width:0}fieldset[data-provenance]>legend{font-weight:600;font-size:12px;margin-bottom:12px}fieldset[hidden]{display:none}.studio-asset-option{padding:16px;background:#f7f6fa;border-radius:9px;font-size:12px}.studio-asset-option>.field{margin-top:12px}.studio-reply-preview:empty{display:none}

/* 项目列表与项目详情（Claude 接管段）。页头、状态标签、筛选条、空态、详情页头与标签条、底部操作条的尺寸取自登录态原版的现场实测
   （reference/logged-in/projects 与 reference/logged-in/project，2026-11-10）。内容区卡片按本地真实产物排版，属独立本地实现。 */
.pl-page{min-height:100vh;background:var(--layout)}
.pl-header{display:flex;align-items:center;gap:12px;height:57px;padding:12px 24px;border-bottom:1px solid #05056914;background:#fff}
.pl-header h1{margin:0;font-size:24px;line-height:32px;font-weight:700;color:#000000e0}
.pl-tabs{display:flex;gap:6px}
.pl-tab{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid #05056914;border-radius:999px;background:#fff;color:#000000a6;font-size:14px;line-height:22px;font-weight:600}
.pl-tab span{font-size:12px;line-height:17.1429px;font-weight:600;color:#00000073}
.pl-tab[aria-current=page]{border-color:transparent;background:#0000000f;color:#000000e0}
.pl-create{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 15px;border:1px solid transparent;border-radius:9px;background:var(--foji-violet);color:#fff;font-size:14px;line-height:22px;font-weight:500;box-shadow:0 2px 0 color-mix(in srgb,var(--foji-violet-soft) 20%,transparent)}
.pl-create:hover{background:#6a2e97}
.pl-filters{display:flex;align-items:center;gap:4px;height:45px;padding:6px 16px;border-bottom:1px solid #05056914;background:#fff}
.pl-filter{display:inline-flex;align-items:center}
.pl-filter select{height:32px;padding:0 8px;border:1px solid transparent;border-radius:9px;outline:none;background:transparent;font-size:14px;line-height:22px;font-weight:500;color:#000000e0;cursor:pointer}
.pl-filter select:hover{background:#0000000a}
.pl-rule{flex-shrink:0;width:1px;height:16px;margin:0 4px;background:#0e0e492b}
.pl-groupby{display:inline-flex;align-items:center;gap:4px;margin-left:4px;font-size:14px;line-height:22px;color:#000000a6}
.pl-main{padding:16px 24px 80px}
.pl-note{display:block;margin-top:40px;text-align:center;font-size:14px;line-height:22px;color:#000000a6}
.pl-group{margin-bottom:28px}
.pl-group h2{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:13px;line-height:20px;font-weight:600;color:#000000a6}
.pl-group h2 span{font-weight:500;color:#00000073}
.pl-header.image{height:65px;padding:16px 24px}
.pl-header.image .pl-filter-form{display:flex;gap:12px}
.pl-header.image .pl-rule{height:20px;margin:0 0 0 4px}
.pl-help>svg{color:#00000073}
.pl-header.image .pl-filter select{width:200px;padding:0 11px;border-color:#d6d6e0;background:#fff;font-weight:400}
.pl-help{display:inline-flex;align-items:center;gap:4px;margin-left:12px;padding:0;border:0;background:none;font-size:14px;line-height:22px;color:#000000a6}
.pl-help:hover{color:#000000e0}
.pl-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding-top:calc((100vh - 369px)/2 + 28px);text-align:center}
.pl-empty-art{position:relative;width:120px;height:72px}
.pl-empty-art:before{content:'';position:absolute;right:0;bottom:0;left:0;height:22px;border-radius:50%;background:#0000000f}
.pl-empty-art i{position:absolute;top:8px;right:17px;bottom:8px;left:17px;border:1px solid #d6d6e0;border-radius:6px 6px 8px 8px;background:#f0f0f5;clip-path:polygon(18% 0,82% 0,100% 34%,100% 100%,0 100%,0 34%)}
.pl-empty h2{margin:0;font-size:20px;line-height:28px;font-weight:600;color:#000000e0}
.pl-empty p{max-width:480px;margin:0 0 8px;font-size:14px;line-height:22px;color:#000000a6}
.pl-empty .pl-create{height:40px;border-radius:12px;font-size:16px;line-height:25.1429px;font-weight:400}
.pd-page{position:relative;display:flex;flex-direction:column;height:100vh;overflow:hidden;background:var(--layout)}
.pd-header{flex-shrink:0;height:99px;padding:14px 24px 0;border-bottom:1px solid #05056914;background:#fff}
.pd-top{display:flex;align-items:center;gap:12px;height:34px}
.pd-top-left{display:flex;flex:1;align-items:center;min-width:0}
.pd-back{display:inline-flex;flex-shrink:0;align-items:center;gap:6px;height:34px;margin-right:24px;font-size:13px;line-height:20.4286px;font-weight:500;color:#000000e0}
.pd-back:hover{color:#61278d}
.pd-title{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:22px;line-height:28px;font-weight:700;letter-spacing:-.55px;color:#000000e0}
.pd-title-trigger{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;border:0;border-radius:6px;padding:0;background:transparent;font:inherit;letter-spacing:inherit;color:inherit;text-align:left;cursor:pointer}
.pd-title-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pd-title-trigger:hover:not(:disabled){background:#0000000a}.pd-title-trigger:disabled{cursor:default}
.pd-title-pencil{display:inline-flex;opacity:0;color:#00000073;flex-shrink:0}.pd-title-trigger:hover:not(:disabled) .pd-title-pencil{opacity:1}
.pd-title-input{height:40px;min-width:192px;width:100%;max-width:600px;border:1px solid var(--primary,var(--foji-violet));border-radius:6px;padding:4px 11px;font:inherit;letter-spacing:inherit;color:inherit;background:white;outline:0}
.pd-created-by{display:inline-flex;align-items:center;gap:8px;padding:0 4px;white-space:nowrap;font-size:12px;line-height:20px;color:#000000a6}.pd-creator-avatar{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;background:var(--foji-violet);color:white;font-size:9px;font-weight:600}.pd-creator-avatar img{width:100%;height:100%;object-fit:cover}
.pd-header-feedback{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:32px;border:0;border-radius:6px;background:transparent;padding:4px 15px;color:#000000e0;font-size:14px;line-height:22px;cursor:pointer}.pd-header-feedback:hover{background:#0000000a}
.pd-notify.icon-btn{width:32px;height:32px;flex-shrink:0;border:0;border-radius:6px;background:transparent;color:#000000e0}.pd-notify.icon-btn:hover:not(:disabled){background:#0000000a}.pd-notify.icon-btn.pd-notify-on{color:var(--primary-solid,var(--foji-violet))}.pd-notify.icon-btn:disabled{color:#00000040}
.pd-project-menu{position:relative;flex-shrink:0}.pd-project-menu-trigger{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:6px;list-style:none;cursor:pointer;color:#000000a6}.pd-project-menu-trigger::-webkit-details-marker{display:none}.pd-project-menu-trigger:hover{background:#0000000a}
.pd-project-menu>div{position:absolute;top:36px;right:0;z-index:70;min-width:242px;padding:4px;background:white;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}.pd-project-menu>div>button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:white;border-radius:4px;padding:6px 12px;text-align:left;font-size:14px;line-height:22px;white-space:nowrap;cursor:pointer}.pd-project-menu>div>button:hover:not(:disabled){background:#0000000a}
.pd-top-right{display:flex;flex-shrink:0;align-items:center;gap:8px}
.pd-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid transparent;border-radius:9px;background:#0000000f;color:#000000a6;font-size:12px;line-height:17.1429px;font-weight:500;white-space:nowrap}
.pd-chip.outline{border-color:#05056914;border-radius:999px;background:#fff;font-weight:400}
.pd-chip.outline:hover:not(:disabled){border-color:#dbc2fb}
.pd-chip.outline>svg:last-child{color:#00000073}
.pd-flag{display:flex;color:#74449e}
.pd-top-gap{width:4px}
.pd-button{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 15px;border:1px solid #d6d6e0;border-radius:9px;background:#fff;font-size:14px;line-height:22px;font-weight:500;color:#000000e0;box-shadow:0 2px 0 #00000005}
.pd-button:hover:not(:disabled){border-color:#dbc2fb;color:#61278d}
.pd-tabs{display:flex;align-items:center;gap:12px;height:51px}
.pd-tab{position:relative;display:inline-flex;align-items:center;gap:6px;height:51px;padding:15px 12px 14px;font-size:14px;line-height:20px;font-weight:500;color:#000000a6}
.pd-tab:hover{color:#000000e0}
.pd-tab[aria-current=step]{font-weight:600;color:#000000e0}
.pd-tab[aria-current=step]:after{content:'';position:absolute;right:0;bottom:0;left:0;height:2px;background:var(--foji-violet-soft)}
.pd-tab.done>svg{color:#5daa1e}
.pd-dot{width:6px;height:6px;border-radius:50%;background:var(--foji-violet-soft)}
.pd-tabs-rule{flex-shrink:0;width:1px;height:18px;background:#0e0e492b}
.pd-tab.media{color:#00000073}
.pd-tab.media[aria-current=step]{color:#000000e0}
.pd-count{font-size:12px;font-weight:500;color:#00000073}
.pd-scroll{flex:1;min-height:0;overflow-y:auto}
.pd-body{display:flex;flex-direction:column;gap:24px;width:100%;max-width:1180px;margin:0 auto;padding:16px 24px 110px}
.pd-cards{display:flex;flex-wrap:wrap;gap:12px}
.pd-card-chip{display:flex;align-items:center;gap:14px;width:300px;height:66px;padding:10px 12px 10px 10px;border:1px solid #05056914;border-radius:14px;background:#fff;text-align:left;color:#00000073;transition:border-color .15s}
.pd-card-chip:hover:not(:disabled){border-color:#e3d4fc}
.pd-doc{display:flex;flex-shrink:0;flex-direction:column;gap:3.5px;width:37px;height:46px;padding:9px 6px 6px;border-radius:3px;background:linear-gradient(160deg,#f7f4ff,#dbdbe6);transform:rotate(-1.5deg)}
.pd-doc i{display:block;height:3px;border-radius:1px;background:#281e3c47}
.pd-doc i:first-child{width:60%;margin:0 auto 2px;background:color-mix(in srgb,var(--foji-violet-soft) 70.2%,transparent)}
.pd-doc i:nth-child(3){width:70%}
.pd-doc i:nth-child(5){width:45%}
.pd-card-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:37px;height:46px;border-radius:8px;background:var(--foji-lav-bg);color:#74449e}
.pd-card-text{display:flex;flex:1;flex-direction:column;min-width:0}
.pd-card-text b{font-size:14px;line-height:22px;font-weight:500;letter-spacing:-.14px;color:#000000e0}
.pd-card-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:20px;color:#00000073}
.pd-pipeline{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0;padding:10px 14px;border:1px solid #05056914;border-radius:14px;background:#fff;font-size:12px;line-height:20px;color:#000000a6}
.pd-pipeline>b{font-size:14px;line-height:22px;font-weight:600;color:#000000e0}
.pd-pipeline span b{font-weight:500;color:#000000e0}
.pd-section{display:flex;flex-direction:column;gap:12px;min-width:0}
.pd-section-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px}
.pd-section-head h2{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:18px;line-height:27px;font-weight:500;letter-spacing:-.18px;color:#000000e0}
.pd-section-head h2>svg{align-self:center;color:#74449e}
.pd-section-head>span{font-size:12px;line-height:20px;color:#00000073}
.pd-outputs .output-card{border-radius:14px;background:#fff}
.pd-empty{padding:28px 20px;border:1px dashed #0e0e492b;border-radius:14px;background:#ffffff8c;text-align:center;font-size:13px;line-height:20px;color:#000000a6}
.pd-table{overflow:hidden;border:1px solid #05056914;border-radius:14px;background:#fff}
.pd-table .data-table td{font-size:12px}
.pd-action-bar{position:absolute;bottom:16px;left:50%;z-index:5;display:flex;align-items:center;gap:10px;width:calc(100% - 175px);max-width:1148px;min-height:70px;padding:12px 14px;border:1px solid #e3d4fc;border-radius:14px;background:#fff;box-shadow:0 8px 28px color-mix(in srgb,var(--foji-violet-soft) 16.1%,transparent),0 2px 6px #0000000f;transform:translateX(-50%)}
.pd-action-status{display:flex;flex:1;flex-direction:column;min-width:0}
.pd-action-headline{font-size:14px;line-height:22px;font-weight:700;color:#000000e0}
.pd-action-note{font-size:12px;line-height:22px;color:#00000073}
.pd-action-buttons{display:flex;flex-shrink:0;align-items:center;gap:8px}
.pd-pill{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid #05056914;border-radius:999px;background:#fff;font-size:14px;line-height:21px;color:#000000e0;white-space:nowrap}
.pd-pill:hover:not(:disabled){border-color:#dbc2fb}
.pd-primary{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 15px;border:1px solid transparent;border-radius:12px;background:var(--foji-violet);color:#fff;font-size:14px;line-height:21px;font-weight:500;white-space:nowrap;box-shadow:0 2px 0 color-mix(in srgb,var(--foji-violet-soft) 20%,transparent)}
.pd-primary:hover:not(:disabled){background:#6a2e97}
@media(max-width:1100px){.pd-top-right .pd-chip:not(.outline){display:none}.pd-action-bar{flex-wrap:wrap;width:calc(100% - 32px)}}

/* Raya 会话页（Claude 接管段，第二轮）。顶栏、内容列宽、用户气泡、正文段落与列表间距取自登录态原版会话页的现场实测
   （reference/logged-in/raya/raya-thread-*.png 与 measure）。来源标记、Agent 标记、品牌上下文按钮属本地需要的附加项。 */
.raya-thread-bar{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:12px;height:64px;padding:16px}
.raya-thread-brand{display:flex;align-items:center;gap:6px;min-width:0}
.raya-thread-brand .raya-mark{flex-shrink:0;width:28px;height:28px;background:transparent;color:var(--foji-violet-soft)}
.raya-thread-brand h1{margin:0;font-size:20px;line-height:28px;font-weight:600;white-space:nowrap;color:#000000e0}
.raya-thread-meta{margin-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:20px;color:#00000073}
.raya-thread-tools{display:flex;flex-shrink:0;align-items:center;gap:8px}
.raya-agent-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid #05056914;border-radius:999px;background:#fff;font-size:12px;line-height:20px;color:#000000a6;white-space:nowrap}
.raya-agent-chip:before{content:'';width:6px;height:6px;border-radius:50%;background:#d9660a}
.raya-agent-chip[data-state=live]:before{background:#5daa1e}
.raya-agent-chip[data-state=error]:before{background:#ed383b}
.raya-brand-trigger.compact{gap:8px;height:32px;max-width:320px;border-radius:9px}
.raya-anchor.end .raya-menu{right:0;left:auto}
.raya-page.thread .raya-scroll{-webkit-mask:linear-gradient(#0000,#000 16px,#000 calc(100% - 16px),#0000);mask:linear-gradient(#0000,#000 16px,#000 calc(100% - 16px),#0000)}
.raya-thread-column{width:100%;max-width:680px;margin:0 auto;padding:16px 24px 32px}
.raya-page.thread .raya-dock{padding:0 8px 0 0}
.raya-page.thread .raya-dock-inner{max-width:680px;padding:0 24px}
.raya-page.thread .raya-glow{width:calc(80% - 48px)}
.raya-page.thread .raya-thread{gap:0;padding:0}
.raya-page.thread .raya-message{gap:0}
.raya-page.thread .raya-message.user{gap:8px;margin-bottom:16px;padding-bottom:16px}
.raya-page.thread .raya-message.user .raya-message-text,.raya-stack.sending .raya-message.user .raya-message-text{max-width:100%;padding:8px 16px;border-radius:24px;background:#0000000f}
.raya-page.thread .raya-message.assistant{margin-bottom:16px}
.raya-page.thread .raya-message-meta{gap:8px;height:24px;margin-bottom:16px;font-size:14px;line-height:22px;color:#00000073}
.raya-page.thread .raya-message-meta b{font-weight:400}
.raya-page.thread .raya-message-meta .raya-mark{width:20px;height:20px;border-radius:6px}
.raya-message-text p{margin:0 0 16px}
.raya-message-text ul,.raya-message-text ol{margin:0 0 16px;padding-left:28px}
.raya-message-text li{padding-left:3.5px}
.raya-message-text p:last-child,.raya-message-text ul:last-child,.raya-message-text ol:last-child{margin-bottom:0}
.raya-message-text strong{font-weight:600}
.raya-message-text code{padding:1px 5px;border-radius:5px;background:#0000000f;font-size:13px}
.raya-message-actions{display:flex;align-items:center;gap:4px;height:24px;padding:0 4px;opacity:0;transition:opacity .15s}
.raya-message:hover .raya-message-actions,.raya-message:focus-within .raya-message-actions{opacity:1}
.raya-message.assistant .raya-message-actions{flex-direction:row-reverse;margin-top:16px}
.raya-message-actions time{font-size:12px;line-height:20px;color:#00000073}
.raya-copy{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:#00000073}
.raya-copy:hover{background:#0000000a;color:#000000e0}
.raya-message.user .studio-context-used{max-width:100%}
.raya-status{display:flex;align-items:center;gap:8px;height:32px;font-size:14px;line-height:22px}
.raya-status b{font-weight:600;color:#000000a6}
.raya-status>span:last-child{color:#00000073}
.raya-status .raya-mark{width:28px;height:28px;background:transparent;color:var(--foji-violet-soft);animation:raya-pulse 1.6s ease-in-out infinite}
.raya-page.thread .raya-send-error{margin-bottom:16px}
/* Image Ads 列表页（Claude 接管段）。页头、四个来源标签、筛选条、空态标题与两张引导卡的尺寸取自登录态原版的现场实测
   （reference/logged-in/maker/image-ads-entry.png，2026-11-10）。引导卡右侧的说明文字是本地写的。 */
.ia-header{display:flex;align-items:center;gap:12px;height:65px;padding:16px 24px;border-bottom:1px solid #05056914;background:#fff}
.ia-header h1{margin:0 8px 0 0;font-size:24px;line-height:32px;font-weight:700;color:#000000e0}
.ia-tabs{display:flex;gap:6px}
.ia-tab{display:inline-flex;align-items:center;gap:12px;height:32px;padding:0 15px;border:1px solid #05056914;border-radius:32px;background:#fff;color:#000000a6;font-size:14px;line-height:22px;font-weight:500;box-shadow:0 2px 0 #00000005}
.ia-tab span{font-size:12px;line-height:17.1429px}
.ia-tab[aria-current=page]{background:#0000000f;color:#000000e0}
.ia-header .pl-rule{height:20px}
.ia-header .pl-help{margin-left:0}
.ia-create{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 15px;border:1px solid transparent;border-radius:9px;background:var(--foji-violet);color:#fff;font-size:14px;line-height:22px;font-weight:600;box-shadow:0 2px 0 color-mix(in srgb,var(--foji-violet-soft) 20%,transparent)}
.ia-create:hover{background:#6a2e97}
.ia-filters{display:flex;align-items:center;gap:8px;height:49px;padding:12px 24px;border-bottom:1px solid #05056914;background:#fff}
.ia-filters .pl-filter select{height:24px;padding:0 7px;border-radius:6px;font-weight:400}
.ia-filters .pl-rule{height:20px;margin:0 8px;background:#05056914}
.ia-filters .pl-groupby{gap:8px;margin-left:0;font-size:12px;line-height:20px;font-weight:500;color:#00000073}
.ia-main{padding:48px 24px 80px}
.ia-empty{display:flex;flex-direction:column;align-items:center;width:650px;max-width:100%;margin:0 auto}
.ia-empty-head{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:20px;padding-top:8px;text-align:center}
.ia-empty-head h2{margin:0;font-size:20px;line-height:28px;font-weight:600;color:#000000e0}
.ia-empty-head p{margin:0;font-size:14px;line-height:22px;color:#000000a6}
.ia-card{display:flex;gap:24px;width:100%;padding:12px;border-radius:18px;background:#fff}
.ia-card+.ia-card{margin-top:12px}
.ia-card-text{display:flex;flex-direction:column;flex-shrink:0;gap:8px;width:182px;padding:12px}
.ia-card-text h3{margin:0;font-size:16px;line-height:24px;font-weight:600;color:#000000e0}
.ia-card-text p{margin:0;font-size:14px;line-height:22px;color:#000000a6}
.ia-card-text u{color:#000000e0}
.ia-card-button{display:inline-flex;align-items:center;justify-content:center;width:100%;height:32px;padding:0 15px;border:1px solid #d6d6e0;border-radius:9px;background:#fff;font-size:14px;line-height:22px;color:#000000e0;box-shadow:0 2px 0 #00000005}
.ia-card-button:hover{border-color:#dbc2fb;color:#61278d}
.ia-card-panel{display:flex;flex:1;align-items:center;justify-content:center;min-height:237px;padding:24px 40px;border:1px solid #05056914;border-radius:12px;background:#00000005;text-align:center;font-size:13px;line-height:20px;color:#00000073}
.maker-back{position:absolute;top:14px;left:24px;margin:0}
/* 项目卡片（Claude 接管段，第二轮）。分组标题与卡片结构对照原版“列表里有一个项目”的现场截图；卡片内的尺寸是按截图估的，未逐项实测。 */
.pl-group h2{display:flex;align-items:baseline;gap:8px;margin:0 0 12px;font-size:20px;line-height:28px;font-weight:700;color:#000000e0}
.pl-group h2 span{font-size:12px;line-height:20px;font-weight:400;color:#00000073}
.pl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,306px));gap:16px}
.project-card.pl-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #05056914;border-radius:18px;background:#fff;transition:border-color .15s,box-shadow .15s}
.project-card.pl-card:hover{border-color:#e3d4fc;box-shadow:0 6px 18px #0000000a}
.pl-card-cover{position:relative;display:flex;align-items:center;justify-content:center;height:190px;background:radial-gradient(ellipse at 20% 15%,#ffe4f2,transparent 60%),linear-gradient(145deg,#efe9fa,#fbf8fd);color:#a793bc}
.pl-card-cover img{width:100%;height:100%;object-fit:cover}
.pl-card-spec{position:absolute;top:8px;right:8px;padding:1px 7px;border-radius:6px;background:#000000a6;color:#fff;font-family:ui-monospace,Menlo,monospace;font-size:11px;line-height:18px}
.pl-card-body{display:flex;flex-direction:column;gap:6px;padding:14px 16px 12px}
.pl-card-body h3{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:24px;font-weight:600;color:#000000e0}
.pl-card-status{display:flex;align-items:center;gap:6px;font-size:12px;line-height:20px;color:#000000a6}
.pl-card-status i{flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#00000040}
.pl-card-status.ready i{background:#5daa1e}
.pl-card-status.progress i{background:var(--foji-violet-soft)}
.pl-card-status.failed i{background:#ed383b}
.pl-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:12px;line-height:20px;color:#00000073}
.pl-card-foot b{display:inline-flex;align-items:center;gap:4px;font-weight:600;color:#61278d}

/* AI Playground（Claude 接管段）。位置、尺寸、字号来自原版初始页面的实测：reference/logged-in/maker/ai-playground-entry.measure.json。
   第一张卡的渐变是自己画的，不是原版背景图。 */
.pg-page{min-height:100vh;background:var(--layout)}
.pg-header{display:flex;align-items:center;gap:24px;height:65px;padding:16px 24px;border-bottom:1px solid #05056914;background:#fff}
.pg-header h1{margin:0;font-size:24px;line-height:32px;font-weight:600;color:#000000e0}
.pg-credits{display:inline-flex;align-items:center;gap:4px;height:21px;color:#00000073;text-decoration:none}
.pg-credits b{font-size:12px;line-height:20px;font-weight:600;color:#000000a6}
.pg-body{padding:24px}
.pg-tools{display:flex;flex-wrap:wrap;gap:16px}
.pg-card{display:flex;flex-direction:column;box-sizing:border-box;width:400px;max-width:100%;height:220px;border-radius:12px}
.pg-card h2,.pg-card p{margin:0}
.pg-card.ideas{padding:20px 20px 21.5px;color:#fff;background:linear-gradient(118deg,#ee7a63 0%,#f0609b 36%,#643988 68%,#7d45d4 100%)}
.pg-icon{height:36.5px}
.pg-icon svg{display:block}
.pg-text{flex:1;margin-top:12px}
.pg-card.ideas h2{font-size:20px;line-height:28px;font-weight:600}
.pg-card.ideas p{margin-top:4px;font-size:12px;line-height:20px}
.pg-actions{display:flex;align-items:center;gap:12px;height:32px}
.pg-card.ideas .pg-actions{margin-top:10px}
.pg-hint{flex:1;font-size:12px;line-height:20px}
.pg-start{box-sizing:border-box;height:32px;padding:0 15px;border:1px solid transparent;border-radius:9px;font:inherit;font-size:14px;line-height:22px;cursor:pointer;box-shadow:0 2px 0 color-mix(in srgb,var(--foji-violet-soft) 20%,transparent)}
.pg-card.ideas .pg-start{background:#fff;color:#5c1e8a}
.pg-card.reviews{padding:20px 20px 18px;border:1px solid #05056914;background:#fff}
.pg-emoji{height:40px;font-size:40px;line-height:40px}
.pg-card.reviews h2{margin-top:12px;font-size:16px;line-height:24px;font-weight:600;color:#000000e0}
.pg-card.reviews p{flex:1;margin-top:4px;font-size:12px;line-height:20px;color:#000000a6}
.pg-card.reviews .pg-actions{margin-top:4px}
.pg-card.reviews .pg-hint{color:#00000073}
.pg-card.reviews .pg-start{background:var(--foji-violet);color:#fff}
.pg-start:disabled{opacity:.5;cursor:not-allowed}
.pg-start:focus-visible,.pg-credits:focus-visible{outline:2px solid var(--foji-violet);outline-offset:2px}
.pg-results{max-width:816px;margin:40px 0 0;font-size:14px;line-height:22px;color:#000000a6}
.pg-results b{display:block;margin-bottom:16px;font-size:20px;line-height:28px;font-weight:600;color:#000000e0}

/* 结构化项目编辑：原版阶段布局；控件与空态如实对应本地编辑文档。 */
.spj-page .pd-tab{border:0;background:transparent;cursor:pointer}
.spj-page>.pd-scroll{scrollbar-gutter:stable}
.spj-page>.pd-scroll::-webkit-scrollbar{width:6px}
.spj-page>.pd-scroll::-webkit-scrollbar-track{background:transparent}
.spj-page>.pd-scroll::-webkit-scrollbar-thumb{background:#00000026;border-radius:3px}
.spj-body{gap:24px}.spj-body #spj-editor-form{display:flex;flex-direction:column;gap:24px;min-width:0}
.spj-api-error{margin:16px 24px;padding:12px 16px;border:1px solid #ffd591;border-radius:10px;background:#fff7e6;font-size:13px}
.spj-section-head{display:flex;align-items:center;gap:8px;min-height:28px;margin-bottom:12px}
.spj-section-head h2{margin:0;font-size:18px;font-weight:600;line-height:27px;letter-spacing:-.18px}
.spj-section-head>span{font-size:12px;line-height:20px;color:#00000073;flex:1}
.spj-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:25px;padding:2px 10px;border:1px solid #d6d6e0;border-radius:6px;background:#fff;box-shadow:0 1px 2px #00000008;font-size:13px;line-height:20px;white-space:nowrap}
.spj-button:hover:not(:disabled){border-color:var(--foji-violet-soft);color:#511c78}.spj-button:disabled{cursor:not-allowed;color:#00000040;background:#00000005}
.spj-characters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.spj-character{position:relative;display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #05056914;border-radius:14px;background:#fff;min-height:196px}
.spj-field{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:12px;line-height:20px;margin:0}
.spj-field>span{color:#00000073}.spj-field input,.spj-field textarea,.spj-field select{min-width:0;width:100%;border:1px solid transparent;border-radius:9px;background:#0000000a;color:#000000e0;padding:7px 10px;outline:none;font:400 13px/20px Inter,sans-serif}
.spj-field input:focus,.spj-field textarea:focus,.spj-field select:focus{border-color:var(--foji-violet-soft);background:#fff}
.spj-field textarea{resize:vertical;min-height:66px}.spj-field input[type=checkbox]{width:16px;height:16px;margin:5px 0;accent-color:var(--foji-violet)}
.spj-character>.spj-field:first-child>span{display:none}.spj-character>.spj-field:first-child input{font-weight:600;font-size:14px}
.spj-row-tools{display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin-top:auto}.spj-row-tools .spj-button{font-size:12px;padding:1px 6px;min-height:24px}
.spj-empty{padding:24px;border:1px dashed #d6d6e0;border-radius:12px;background:#ffffff80;color:#00000073;font-size:13px;line-height:21px}
.spj-characters>.spj-empty,.spj-element-grid>.spj-empty,.spj-clip-grid>.spj-empty,.spj-media-grid>.spj-empty{grid-column:1/-1}
.spj-shots h3{font-size:14px;font-weight:600;line-height:22px;margin:0 0 12px}.spj-shots>.spj-button{margin-top:12px}
.spj-shot-table{overflow:hidden;border:1px solid #05056914;border-radius:12px;background:#fff}
.spj-shot-grid{width:100%;border-collapse:collapse;table-layout:fixed}
.spj-shot-label-column{width:96px}.spj-shot-action-column{width:40px}
.spj-shot-head,.spj-shot-row{display:table-row}
.spj-shot-head{background:#0000000f;color:#00000073;font-size:12px;line-height:17.1429px}
.spj-shot-head>th{padding:8px 12px;border-right:1px solid #05056914;font-size:12px;line-height:17.1429px;font-weight:600;text-align:left}
.spj-shot-head>th:last-child{border-right:0}
.spj-shot-row:not(:last-child){border-bottom:1px solid #05056914}
.spj-shot-row>th{padding:8px 12px;font-size:12px;line-height:17.1429px;font-weight:600;text-align:left;vertical-align:top}
.spj-shot-row>td{padding:0;border-left:1px solid #05056914;vertical-align:top}
.spj-shot-field .spj-field{display:block;gap:0}.spj-shot-field .spj-field>span{display:none}
.spj-shot-field textarea{display:block;width:100%;margin:0;min-height:33px;padding:8px 12px;border:0;border-radius:9px;background:#fff;font:400 12px/17.1429px Inter,sans-serif;resize:none;overflow-y:hidden}
.spj-shot-field textarea:focus-visible{box-shadow:inset 0 0 0 1px var(--foji-violet-soft)}
.spj-shot-label{display:block;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;white-space:nowrap;cursor:pointer}.spj-shot-label:hover{text-decoration:underline}
.spj-shot-remove .spj-icon-remove{margin:4px auto;color:#00000040}
.spj-shot-options{grid-column:1/-1;border-top:1px solid #0505690a;padding:4px 12px;font-size:11px;color:#00000073}.spj-shot-options[open]{padding-bottom:12px}.spj-ref-selector select{min-height:66px}.spj-ref-selector small{font-size:10px}
.spj-inline-fields{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0}.spj-inline-fields>.spj-field,.spj-inline-fields>.field{flex:1;min-width:100px;margin:0}
/* Script默认布局按已归档角色/镜头表；额外编辑能力移至菜单及独立表单。 */
.spj-script-section{display:flex;flex-direction:column;gap:12px}
.spj-script-section .spj-section-head{flex-wrap:wrap;align-items:baseline;min-height:0;gap:0 8px;margin:0}
.spj-script-section-head h2{display:flex;align-items:center;gap:8px;font-family:"Atria Research Favorit Extended","Studio Reference Expanded",Inter,sans-serif;font-size:18px;font-weight:500;line-height:27px;letter-spacing:-.18px;font-stretch:normal;font-variation-settings:normal}
.spj-section-icon{display:flex;flex:none;width:16px;height:16px;color:#74449e;font-size:16px;line-height:24px}.spj-section-icon svg{display:block}
.spj-script-section-head>span{flex:0 1 auto;font-size:12px;line-height:20px;color:#00000073}
.spj-script-form .spj-script-section-head>.spj-button{align-self:flex-start;margin-left:auto;margin-top:4.5px;gap:8px;padding-left:7px;padding-right:7px;box-shadow:0 2px 0 #00000005}
.spj-script-form .spj-button{height:24px;min-height:24px;padding:0 8px;border-radius:6px;font-size:14px;line-height:22px;font-weight:500}
.spj-script-form .spj-shots{display:flex;flex-direction:column;gap:12px}
.spj-script-form .spj-shots h3{margin:0;font-size:14px;line-height:22px;font-weight:600}
.spj-script-form .spj-shots>.spj-button{align-self:flex-start;margin:0}
.spj-character .spj-field>span{display:none}
.spj-character-name-row{display:flex;align-items:center;gap:4px;height:32px}
.spj-character-name-row>.spj-field{flex:0 1 auto;width:100%;min-width:0;gap:0}
.spj-character-name-row input{height:32px;padding:4px 11px;font:600 14px/22px Inter,sans-serif}
.spj-character-name-row .spj-icon-remove{width:24px;flex:0 1 auto;border:1px solid transparent;color:#000000e0}
.spj-icon-remove{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:transparent;color:#000000a6;cursor:pointer}.spj-icon-remove:hover:not(:disabled){background:#0000000a;color:#000000e0}
.spj-character-person>.spj-field{gap:0}
.spj-character-person>.spj-field textarea{height:94px;min-height:94px;padding:10px 12px;border-radius:10px;font:400 12px/18px Inter,sans-serif;resize:none}
.spj-character-foot{display:flex;align-items:center;justify-content:space-between;min-height:24px;margin-top:4px}
.spj-script-form .spj-character-foot>.spj-button{font-size:12px;line-height:20px;box-shadow:none}
.spj-script-form .spj-icon-remove>svg{fill:none;stroke:none;background-color:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='64 64 896 896'%3E%3Cpath d='M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.06-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z'/%3E%3C/svg%3E") center/contain no-repeat}
.spj-character-voice{gap:4px}
.spj-voice-heading{display:flex;align-items:center;gap:6px;min-height:28px}
.spj-voice-heading>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:22px;font-weight:600}
.spj-voice-heading>span{flex:none;padding:0 7px;border:1px solid #05056914;border-radius:999px;color:#00000073;font-size:11px;line-height:18px;font-weight:600}
.spj-voice-profile,.spj-voice-tone{margin:0;white-space:pre-line;font-size:12px;line-height:20px}.spj-voice-profile{color:#000000a6}.spj-voice-tone{color:#000000e0}
.spj-character-voice>.spj-character-foot{justify-content:flex-end;margin-top:auto}
.spj-item-menu,.spj-project-tools{position:relative;flex:none}
.spj-item-menu>summary{display:flex;align-items:center;justify-content:center;width:24px;height:24px;list-style:none;border-radius:6px;color:#00000073;font-size:18px;cursor:pointer}
.spj-item-menu>summary::-webkit-details-marker,.spj-project-tools>summary::-webkit-details-marker{display:none}
.spj-item-menu>div,.spj-project-tools>div{position:absolute;z-index:40;right:0;top:calc(100% + 4px);display:flex;flex-direction:column;gap:2px;width:220px;padding:6px;border:1px solid #05056914;border-radius:10px;background:#fff;box-shadow:0 8px 24px #0000001a}
.spj-item-menu>div .spj-button,.spj-project-tools>div .spj-button{justify-content:flex-start;height:auto;min-height:28px;border:0;border-radius:6px;box-shadow:none;font-size:12px;line-height:20px;font-weight:400}
.spj-shot-menu{display:flex;flex-direction:column;align-items:stretch;gap:10px}.spj-shot-menu>p{margin:0 0 8px;color:#00000073;font-size:13px}
.spj-project-tools>summary{list-style:none;cursor:pointer;border:1px solid #d6d6e0;border-radius:999px;padding:5px 10px;background:#fff;font-size:12px;line-height:20px}
.spj-project-tools>div{top:auto;bottom:calc(100% + 8px)}
.spj-script-action-bar .pd-action-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spj-external-cost{max-width:90px;color:#00000073;font-size:11px;line-height:16px;text-align:center}
.spj-segments{display:flex;align-items:center;gap:0;width:max-content;max-width:100%;border-radius:12px;background:#0000000a;padding:3px}
.spj-segments>a,.spj-segments>button{padding:6px 12px;border:0;border-radius:9px;background:transparent;font-size:14px;line-height:22px;color:#000000a6}.spj-segments>.active,.spj-segments>a:hover{background:#fff;box-shadow:0 1px 3px #0000001a}.spj-segments>span{margin-left:18px;font-size:13px}.spj-segments small{font-size:12px;color:#00000073}
.spj-element-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.spj-element{overflow:hidden;border:1px solid #05056914;border-radius:12px;background:#fff}
.spj-element-image{aspect-ratio:16/9;overflow:hidden;background:#eaeaf0}.spj-element-image img,.spj-media-card img{display:block;width:100%;height:100%;object-fit:cover}
.spj-element-fields{display:flex;flex-direction:column;gap:8px;padding:12px}.spj-element-fields details{font-size:12px}.spj-element-fields details[open]>summary{margin-bottom:10px}
.spj-media-empty{display:flex;align-items:center;justify-content:center;min-height:140px;height:100%;padding:16px;color:#00000073;background:#eeeef4;text-align:center;font-size:13px;line-height:20px}
.spj-media-binding{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.spj-media-binding small{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#00000073}
.spj-clip-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.spj-clip{overflow:hidden;border:1px solid #05056914;border-radius:16px;background:#fff;padding:8px}
.spj-clip-media{position:relative;aspect-ratio:9/16;overflow:hidden;border-radius:10px;background:#eeeef4}.spj-clip-media video,.spj-clip-media img{display:block;width:100%;height:100%;object-fit:contain}.spj-clip-media audio{width:100%}.spj-clip-media>.spj-media-note{position:absolute;left:0;right:0;bottom:0;background:#fffb}
.spj-clip .spj-element-fields{padding:10px 4px 4px}.spj-shot-line{font-size:13px;line-height:21px;margin:0;color:#000000a6}
.spj-cut-layout{display:grid;grid-template-columns:minmax(220px,360px) minmax(0,1fr);gap:28px}.spj-cut-preview{min-width:0;align-self:start}.spj-preview-media{overflow:hidden;border-radius:18px;background:#eaeaf0;aspect-ratio:9/16}.spj-preview-media video,.spj-preview-media img{display:block;width:100%;height:100%;object-fit:contain}
.spj-cut-controls{display:flex;flex-direction:column;gap:16px;min-width:0}.spj-cut-panel{padding:16px;border:1px solid #05056914;border-radius:18px;background:#fff}.spj-cut-panel h3{font-size:14px;line-height:22px;margin:0 0 10px}
.spj-ruler{display:flex;justify-content:space-between;border-bottom:1px solid #d6d6e0;padding:8px 0;color:#00000073;font-size:10px}
.spj-track{margin:12px 0}.spj-track-head{display:flex;align-items:end;gap:6px;flex-wrap:wrap}.spj-track-head>.spj-field{flex:1;min-width:90px}
.spj-timeline-track{height:48px;position:relative;margin:8px 0;border-radius:8px;background:#f7f7fa}.spj-timeline-track>button{position:absolute;top:0;height:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #d3baf4;border-radius:8px;background:#f3e9ff;padding:6px;font-size:10px;color:#000000e0;min-width:0}
.spj-timeline-row{display:grid;grid-template-columns:minmax(100px,2fr) 1fr 1fr auto;gap:6px;align-items:end;margin:6px 0}.spj-timeline-row .spj-field>span{font-size:10px}.spj-timeline-row input,.spj-timeline-row select{padding:5px 6px;font-size:11px}
.spj-subtitle-row{display:grid;grid-template-columns:minmax(120px,2fr) 70px 70px 100px auto;align-items:end;gap:6px;margin:10px 0}.spj-subtitle-row textarea{min-height:40px}
.spj-export,.spj-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.spj-export>.spj-button:first-child{height:40px;background:var(--foji-violet);color:#fff;border-color:var(--foji-violet);border-radius:10px}
.spj-note,.spj-media-note{margin:6px 0;color:#00000073;font-size:12px;line-height:20px}.spj-media-note:not(:empty){padding:4px 6px}.spj-media-note[role=alert]{color:#a61d24}
.spj-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.spj-media-card{overflow:hidden;display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:12px;border:1px solid #05056914;background:#fff}.spj-media-card>div{aspect-ratio:9/16;overflow:hidden;border-radius:8px;background:#eeeef4}.spj-media-card video{width:100%;height:100%;object-fit:contain}.spj-media-card audio{width:100%}.spj-media-card strong{font-size:13px}.spj-media-card small{font-size:10px;line-height:16px;color:#00000073}
.spj-document-info,.spj-legacy{border:1px solid #05056914;border-radius:12px;padding:12px 16px;background:#fff;font-size:13px;line-height:21px}.spj-document-info[open]>summary,.spj-legacy[open]>summary{margin-bottom:12px}.spj-legacy .output-grid{margin:12px 0}.spj-document-info pre,.spj-conflict-columns pre,.spj-json-preview{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:18px}
.spj-alert{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 16px;border:1px solid #ffd591;border-radius:12px;background:#fff7e6;font-size:13px;line-height:21px}.spj-alert>span{flex:1}.spj-action-bar{z-index:4}.spj-action-bar .spj-button{height:32px;border-radius:999px}
.spj-media-picker{max-height:400px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.spj-media-picker>label{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #dddce6;border-radius:9px;cursor:pointer}.spj-media-picker small{display:block;font-size:10px;color:#777}.spj-picker-thumb{width:56px;height:56px;display:grid;place-items:center;overflow:hidden;background:#f5f5fa;flex-shrink:0}.spj-picker-thumb img{width:100%;height:100%;object-fit:cover}
.spj-conflict-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.spj-conflict-columns section{min-width:0}.spj-preview-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.spj-preview-sources article{min-width:0}.spj-preview-sources small{display:block;font-size:11px;color:#777}.spj-preview-sources video,.spj-preview-sources img,.spj-preview-sources audio{width:100%;max-height:360px;object-fit:contain}

/* 未连接账户的原版布局；OAuth按冻结范围暂缓，Connect提供真实状态与本地导入入口。 */
.analytics-connect{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:var(--layout)}.analytics-connect-inner{width:640px;text-align:center}.analytics-connect-inner h1{font-size:24px;line-height:32px;font-weight:600;margin:0}.analytics-connect-inner>p{font-size:12px;line-height:20px;color:#000000a6;margin:8px 0 24px}.analytics-connect-options{width:400px;margin:auto;display:flex;flex-direction:column;gap:8px}.analytics-connect-options>div{height:56px;border-radius:12px;background:#fff;display:flex;align-items:center;gap:8px;padding:12px}.analytics-connect-options strong{font-size:14px;line-height:22px;font-weight:600}.analytics-connect-options .btn{margin-left:auto;height:32px}.analytics-provider-logo{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;font-size:30px;line-height:24px;font-weight:700}.analytics-provider-logo.meta{color:#0081fb}.analytics-provider-logo.tiktok{color:#000;font-size:26px;text-shadow:-1px 0 #25f4ee,1px 1px #fe2c55}
.spj-render-start:not(:disabled){background:var(--foji-violet)!important;color:#fff!important;border-color:var(--foji-violet)!important;border-radius:10px;height:40px}
.spj-render-history>.spj-section-head{align-items:flex-start;flex-wrap:wrap}.spj-render-history>.spj-section-head h2{font-size:16px}
.spj-render-error{color:#a61d24;font-size:12px;line-height:20px;margin:8px 0;overflow-wrap:anywhere}
.spj-render-reasons{margin:10px 0;padding:10px 12px 10px 28px;border-radius:8px;background:#fff7e6;font-size:12px;line-height:20px;color:#7c4b11}
.spj-render-support{font-size:12px;line-height:20px;margin:12px 0;color:#000000a6}.spj-render-support p{margin:7px 0}
.spj-render-jobs{display:flex;flex-direction:column;gap:12px}.spj-render-job{border:1px solid #05056914;border-radius:12px;padding:12px;background:#fafafd}
.spj-render-job>header{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px}.spj-render-job>header>b{flex:1;min-width:100px;overflow-wrap:anywhere;font-size:13px}
.spj-render-job progress{display:block;width:100%;height:8px;accent-color:var(--foji-violet);margin:10px 0}.spj-render-job video{display:block;width:100%;max-height:420px;margin:10px 0;border-radius:10px;background:#000}
.spj-render-job>details{font-size:12px;line-height:20px;margin:8px 0}.spj-render-job .spj-stale{color:#ad6800;font-weight:600;border-radius:5px;background:#fff1b8;padding:2px 6px}
.spj-render-provenance pre{font-size:10px;line-height:17px;max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}

/* Raya 完成态建议（2026-11-10 原版截图）：点击只准备可编辑草稿，Send 才提交。 */
.raya-page.thread .raya-followups{position:relative;flex-shrink:0;width:100%;margin:0 0 8px;border:1px solid #05056914;border-radius:20px;background:#fff;box-shadow:0 2px 8px #0000000d}
.raya-page.thread .raya-followup{display:flex;align-items:center;gap:12px;width:100%;min-height:67px;padding:12px 16px;border:0;background:transparent;text-align:left;color:#000000e0}
.raya-page.thread .raya-followup:not(:last-child){border-bottom:1px solid #05056914}
.raya-page.thread .raya-followup>svg:first-child{flex-shrink:0;color:var(--foji-violet)}.raya-page.thread .raya-followup>svg:last-child{flex-shrink:0;margin-left:auto;color:#000000a6}
.raya-page.thread .raya-followup>span{display:flex;flex:1;flex-direction:column;min-width:0;gap:0}.raya-page.thread .raya-followup b{font-size:14px;line-height:22px;font-weight:600}.raya-page.thread .raya-followup small{font-size:12px;line-height:20px;color:#00000073}
.raya-page.thread .raya-followup:hover:not(:disabled){background:#fdf7ff}.raya-page.thread .raya-followup:disabled{opacity:.55;cursor:not-allowed}.raya-page.thread .raya-followup:nth-child(2){border-radius:20px 20px 0 0}.raya-page.thread .raya-followup:last-child{border-radius:0 0 20px 20px}
.raya-page.thread .raya-followup-dismiss{position:absolute;z-index:1;top:-8px;right:-8px;display:grid;place-items:center;width:20px;height:20px;padding:0;border:1px solid #05056914;border-radius:50%;background:#fff;color:#00000073;box-shadow:0 1px 3px #0000000d}

/* Maker 稳定上下文摘要：额外选择不因单个 Product 下拉框而被静默丢弃。 */
.maker-page .maker-context-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;font-size:12px;line-height:20px;color:#00000073}.maker-page .maker-context-summary small{font-size:11px}.maker-page .maker-context-summary .raya-link{font-size:12px}

/* Cut 页（Claude 第四轮接管段）开始。几何取自原版 project-final-cut-tab.measure.json 与 claude-cut-round4/reference/original-cut（CSS 1651×780）。
   本段由 work/atria/claude-round5/tools/apply_css.py 写入（第四轮原稿在 claude-cut-round4/tools/cut.css）；只含 .spj-cut-* 和 Cut 页的页面级规则。
   第五轮（C1）：干净时的保存条、documentInfo / legacy 两块改为 structuredDetail 里结构上不渲染，这里不再用 :has() 隐藏。 */
.spj-board.spj-view-cut .spj-body{padding-top:16px}
.spj-board.spj-view-cut.spj-clean .spj-body{padding-bottom:24px}
.spj-cut-root{display:flex;align-items:flex-start;gap:28px;min-width:0;font-size:14px;line-height:22px;color:#000000e0}
.spj-cut-root button{margin:0;font-family:inherit;color:inherit;cursor:pointer}
.spj-cut-root button:disabled{cursor:not-allowed}
.spj-cut-root>[data-cut-overlays]{display:contents}
.spj-cut-h{font-size:14px;line-height:22px;font-weight:600}
.spj-cut-meta{font-size:12px;line-height:20px;color:#00000073;font-variant-numeric:tabular-nums}
.spj-cut-card{border:1px solid #05056914;border-radius:18px;background:#fff}

.spj-cut-stagecol{position:sticky;top:0;flex:none;width:360px}
.spj-cut-stage{position:relative;width:100%;aspect-ratio:var(--ar);overflow:hidden;border-radius:18px;background:#000}
.spj-cut-stage>video,.spj-cut-stage>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.spj-cut-stage>[hidden]{display:none}
.spj-cut-nomedia{position:absolute;inset:0;display:grid;place-items:center;padding:24px;color:#ffffffa6;font-size:12px;line-height:20px;text-align:center}
.spj-cut-caption{position:absolute;right:0;left:0;display:flex;justify-content:center;padding:0 var(--cap-margin);text-align:center;pointer-events:none}
.spj-cut-caption[data-align="left"]{justify-content:flex-start;text-align:left}
.spj-cut-caption[data-align="right"]{justify-content:flex-end;text-align:right}
.spj-cut-caption[data-pos="top"]{top:var(--cap-margin)}
.spj-cut-caption[data-pos="middle"]{top:50%;transform:translateY(-50%)}
.spj-cut-caption[data-pos="bottom"]{bottom:var(--cap-margin)}
.spj-cut-caption span{max-width:var(--cap-width);color:var(--cap-color);font:400 var(--cap-size)/1.36 Inter,sans-serif;white-space:pre-line;overflow-wrap:anywhere}
.spj-cut-caption[data-box="true"] span{margin:calc(var(--cap-pad) * -1);padding:var(--cap-pad);background:var(--cap-bg)}
.spj-cut-bigplay{position:absolute;top:50%;left:50%;display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:#00000073;box-shadow:0 0 0 1px #fff6;color:#fff !important;transform:translate(-50%,-50%);transition:opacity .15s}
.spj-cut-stage.playing .spj-cut-bigplay{opacity:0}
.spj-cut-stage.playing:hover .spj-cut-bigplay,.spj-cut-stage.playing .spj-cut-bigplay:focus-visible{opacity:1}
.spj-cut-full{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:12px;background:#0006;color:#fff !important}
.spj-cut-stagebar{position:absolute;right:0;bottom:0;left:0;display:flex;flex-direction:column;gap:6px;padding:24px 8px 8px;background:linear-gradient(to top,#0009,#0000)}
.spj-cut-stagebar>span{color:#ffffffe6;font-size:10px;line-height:13.3333px;font-variant-numeric:tabular-nums}
.spj-cut-segs{display:flex;gap:4px}
.spj-cut-segs button{position:relative;flex-basis:0;min-width:0;height:4px;padding:0;border:0;border-radius:999px;background:#ffffff59;overflow:hidden}
.spj-cut-segs i{position:absolute;top:0;bottom:0;left:0;width:0;background:#fff}
.spj-cut-crop{position:absolute;right:0;left:0;border-top:1px dashed #fff;border-bottom:1px dashed #fff;box-shadow:0 0 0 999px #0000008c;pointer-events:none}
.spj-cut-crop span,.spj-cut-safe span{padding:1px 6px;border-radius:6px;background:#000000a6;color:#fff;font-size:10px;line-height:15px}
.spj-cut-crop span{position:absolute;top:8px;left:8px}
.spj-cut-safe{position:absolute;right:0;left:0;display:flex;justify-content:center;pointer-events:none}
.spj-cut-safe span{margin:4px 0}
.spj-cut-safe.top{top:0;height:8.75%;align-items:flex-end;border-bottom:1px dashed #ffffffd9;background:#ff3b3040}
.spj-cut-safe.long{top:60%;height:15%;align-items:flex-start;border-top:1px dashed #ffffffd9;background:#ff3b301f}
.spj-cut-safe.bottom{top:75%;bottom:0;align-items:flex-start;border-top:1px dashed #ffffffd9;background:#ff3b3047}

.spj-cut-side{display:flex;flex:1;flex-direction:column;gap:16px;min-width:0}
.spj-cut-hooks{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.spj-cut-hook{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px 0 6px;border:1px solid #0e0e492b;border-radius:9px;background:#fff;font-size:14px;line-height:22px}
.spj-cut-hook.on{border-color:var(--foji-violet-soft);box-shadow:inset 0 0 0 1px var(--foji-violet-soft)}
.spj-cut-hook b{font-weight:600}
.spj-cut-hookthumb{flex:none;width:24px;height:24px;border-radius:6px;background:#0000000f;overflow:hidden}
.spj-cut-hookthumb>*,.spj-cut-clipthumb>*,.spj-cut-adthumb>*{display:block;width:100%;height:100%;object-fit:cover}

.spj-cut-timeline{position:relative;z-index:1;display:flex;flex-direction:column;gap:8px;min-width:0;padding:16px}
.spj-cut-thead{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:24px}
.spj-cut-round{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:#0000000f}
.spj-cut-zoom{display:inline-flex;align-items:center;gap:4px;margin-left:auto}
.spj-cut-zoom button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:24px;padding:0 8px;border:0;border-radius:6px;background:transparent;font-size:12px;line-height:20px;font-weight:500}
.spj-cut-zoom button.on,.spj-cut-zoom button:hover:not(:disabled){background:#0000000f}
.spj-cut-zoom button:disabled{opacity:.5}
.spj-cut-tl{display:flex;gap:8px;min-width:0}
.spj-cut-names{display:flex;flex:none;flex-direction:column;gap:6px;width:72px;color:#000000a6;font-size:12px;line-height:20px}
.spj-cut-names span{display:flex;align-items:center;height:32px}
.spj-cut-names span:nth-child(3){height:48px}
.spj-cut-names span:nth-child(4){height:24px}
.spj-cut-scroll{flex:1;min-width:0;padding:0 2px 4px 6px;overflow-x:auto;overflow-y:hidden}
.spj-cut-scroll::-webkit-scrollbar{height:6px}
.spj-cut-scroll::-webkit-scrollbar-thumb{border-radius:3px;background:#00000026}
.spj-cut-lanes{--u:calc((100% - 16px) / var(--dur));position:relative;display:flex;flex-direction:column;gap:6px;width:calc((100% - 16px) * var(--zoom) + 16px)}
.spj-cut-ruler{position:relative;height:32px;border-bottom:1px solid #05056914;cursor:pointer;touch-action:none}
.spj-cut-tick{position:absolute;bottom:0;left:calc(var(--u) * var(--s));display:flex;flex-direction:column;align-items:flex-start;pointer-events:none}
.spj-cut-tick b{color:#00000073;font:400 10px/12px Inter,sans-serif;font-variant-numeric:tabular-nums;transform:translateX(-50%)}
.spj-cut-tick.first b{transform:none}
.spj-cut-tick i{width:1px;height:8px;background:#0e0e492b}
.spj-cut-seg{position:absolute;top:0;left:calc(var(--u) * var(--s) + 2px);font-size:10px;line-height:12px;font-weight:500;white-space:nowrap;pointer-events:none}
.spj-cut-seg.hook{color:#61278d}
.spj-cut-seg.body{left:calc(var(--u) * var(--s) + 3px);color:#5c1e8a}
.spj-cut-lane{position:relative;height:32px}
.spj-cut-lane.clips{height:48px}
.spj-cut-lane.voice{height:24px}
.spj-cut-cell{position:absolute;top:0;bottom:0;left:calc(var(--u) * var(--s));width:calc(var(--u) * var(--d) - 2px);container-type:inline-size}
.spj-cut-cap{display:flex;align-items:center;width:100%;height:100%;padding:0 6px;border:1px solid #05056914;border-radius:9px;background:#00000005;color:#000000a6 !important;font-size:10px;line-height:13.3333px;text-align:left;overflow:hidden}
.spj-cut-cap span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spj-cut-cap.on{border-color:#000000e0;background:#fff;color:#000000e0 !important}
.spj-cut-clip{display:flex;align-items:center;gap:6px;width:100%;height:100%;padding:0 6px 0 0;border:1px solid #d8c2f0;border-radius:9px;background:#f1ebff;text-align:left;overflow:hidden}
.spj-cut-clip:not(:has(.spj-cut-clipthumb)){padding-left:6px}
.spj-cut-clip.hook{border-color:#e3d4fc;background:var(--foji-lav-bg)}
.spj-cut-clip.on{border:2px solid var(--foji-violet-soft)}
.spj-cut-clipthumb{flex:none;width:27px;height:100%;background:#0000000f;overflow:hidden}
.spj-cut-cliptext{display:flex;flex-direction:column;min-width:0;font-size:10px;line-height:13.3333px}
.spj-cut-cliptext b{font-weight:600;line-height:13.3333px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spj-cut-cliptext small{display:block;color:#000000a6;font-size:10px;line-height:13.3333px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@container (max-width:96px){.spj-cut-clip,.spj-cut-clip:not(:has(.spj-cut-clipthumb)){justify-content:center;padding:0 4px}.spj-cut-clipthumb,.spj-cut-cliptext small{display:none}}
.spj-cut-voice{display:flex;align-items:center;gap:4px;width:100%;height:100%;padding:0 6px;border:1px solid #b3e681;border-radius:9px;background:#e7ffd3;color:#5daa1e;overflow:hidden}
.spj-cut-voice.muted{border-color:#0e0e492b;background:#0000000a;color:#00000040}
.spj-cut-voice.none{border:1px dashed #0e0e492b;background:transparent}
.spj-cut-divider{position:absolute;top:0;bottom:0;left:calc(var(--u) * var(--s) - 1px);width:0;border-left:1px dashed #0e0e492b;pointer-events:none}
.spj-cut-playhead{position:absolute;top:0;bottom:0;left:calc(var(--u) * var(--t) - 6px);z-index:2;width:12px;cursor:ew-resize;touch-action:none}
.spj-cut-playhead::before{position:absolute;top:0;bottom:0;left:5px;width:2px;background:var(--foji-violet-soft);content:""}
.spj-cut-playhead i{position:absolute;top:0;left:2px;width:8px;height:8px;border-radius:50%;background:var(--foji-violet-soft)}
.spj-cut-selrow{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-height:32px}
.spj-cut-ghost{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:24px;padding:0 8px;border:1px solid #0e0e492b;border-radius:6px;background:#fff;color:inherit;font-size:12px;line-height:20px;font-weight:500;text-decoration:none;white-space:nowrap}
.spj-cut-ghost:disabled,.spj-cut-primary:disabled,.spj-cut-soft:disabled{opacity:.5}
.spj-cut-primary{display:inline-flex;align-items:center;justify-content:center;height:24px;padding:0 10px;border:0;border-radius:6px;background:var(--foji-violet);color:#fff !important;font-size:12px;line-height:20px;font-weight:500;white-space:nowrap}

.spj-cut-group{display:flex;flex-direction:column;gap:12px;min-width:0}
.spj-cut-previewcard{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 16px}
.spj-cut-segmented{display:inline-flex;padding:2px;border-radius:6px;background:#f5f5fa;font-variant-numeric:tabular-nums}
.spj-cut-segmented button{height:20px;padding:0 7px;border:0;border-radius:3px;background:transparent;color:#000000a6 !important;font-size:14px;line-height:20px}
.spj-cut-segmented button[aria-checked="true"]{background:#fff;box-shadow:0 1px 2px 0 #0000000d,0 1px 6px -1px #00000008,0 2px 4px 0 #00000008;color:#000000e0 !important}
.spj-cut-check{display:inline-flex;align-items:center;padding:0;border:0;background:none;font-size:14px;line-height:22px}
.spj-cut-check i{display:grid;place-items:center;width:16px;height:16px;border:1px solid #d6d6e0;border-radius:6px;background:#fff;color:transparent}
.spj-cut-check[aria-checked="true"] i{border-color:var(--foji-violet);background:var(--foji-violet);color:#fff}
.spj-cut-check span{padding:0 8px}
.spj-cut-check:disabled{color:#00000040 !important}
.spj-cut-check:disabled i{background:#0000000a}
.spj-cut-full-card{display:flex;flex-direction:column;gap:12px;padding:12px 16px}
.spj-cut-fullhead{display:flex;flex-direction:column;gap:4px}
.spj-cut-fullrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;min-height:24px}
.spj-cut-fulltitle{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;margin-right:auto}
.spj-cut-tag{padding:0 6px;border-radius:6px;background:#0000000f;color:#000000a6;font-size:12px;line-height:17.1429px;font-weight:500}
.spj-cut-dim{color:#00000073;font-variant-numeric:tabular-nums}
.spj-cut-soft{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 8px;border:0;border-radius:6px;background:#0000000f;font-size:12px;line-height:20px;font-weight:500;white-space:nowrap}
.spj-cut-soft.strong{background:var(--foji-lav-bg);color:#451567 !important}
.spj-cut-iconlink{display:inline-flex;align-items:center;justify-content:center;width:30px;height:24px;border-radius:6px;color:inherit}
.spj-cut-progress{color:#000000a6;font-size:12px;line-height:20px}
.spj-cut-note{margin:0;color:#000000a6;font-size:12px;line-height:20px}
.spj-cut-settings{display:flex;flex-direction:column;gap:12px}
.spj-cut-caprow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:32px}
.spj-cut-musicrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:22px}
.spj-cut-withinfo{display:inline-flex;align-items:center;gap:4px;margin-right:4px}
.spj-cut-musicrow .spj-cut-withinfo{gap:6px}
.spj-cut-info{display:inline-grid;place-items:center;width:14px;height:14px;padding:0;border:0;background:none;color:#00000073 !important}
.spj-cut-height{display:inline-flex;align-items:center;gap:8px;font-size:12px;line-height:20px}
.spj-cut-height>span{color:#000000a6}
.spj-cut-height output{min-width:36px}
.spj-cut-height input{-webkit-appearance:none;appearance:none;width:128px;height:12px;margin:0;padding:0;border:0;background:transparent;cursor:pointer}
.spj-cut-height input::-webkit-slider-runnable-track{height:4px;border-radius:3px;background:linear-gradient(to right,#e3d4fc var(--p),#0000000a var(--p))}
.spj-cut-height input::-webkit-slider-thumb{-webkit-appearance:none;width:10px;height:10px;margin-top:-3px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #e3d4fc}
.spj-cut-height input:disabled{opacity:.45;cursor:not-allowed}
.spj-cut-pick{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid #0e0e492b;border-radius:6px;background:#fff;font-size:14px;line-height:22px;white-space:nowrap}
.spj-cut-pick b{font-weight:500}
.spj-cut-pick>span:last-child{color:#000000a6}
.spj-cut-pick.look{gap:8px;padding:0 12px 0 4px}
.spj-cut-pick.look i{display:grid;place-items:center;width:16px;height:16px;color:#00000073}
.spj-cut-pick:disabled{opacity:.5}
.spj-cut-sample{display:grid;flex:none;place-items:center;width:64px;height:24px;border-radius:6px;background:#000000d9;color:#fff;font-size:10px;line-height:22px;font-weight:500;overflow:hidden}
.spj-cut-sample em{font-style:normal}
.spj-cut-sample.background{background:#c9c9d6}
.spj-cut-sample.background em{padding:0 4px;border-radius:3px;background:#000000d9;line-height:16px}
.spj-cut-sample.off{background:#0000000f;color:#00000073}
.spj-cut-sample.off em{text-decoration:line-through}
.spj-cut-dot{width:16px;height:16px;border:1px solid #0e0e492b;border-radius:50%}
.spj-cut-switch{position:relative;width:44px;height:22px;padding:0;border:0;border-radius:100px;background:#00000040}
.spj-cut-switch.on{background:var(--foji-violet-soft)}
.spj-cut-switch i{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:9px;background:#fff;box-shadow:0 2px 4px 0 #00230b33;transition:left .2s}
.spj-cut-switch.on i{left:24px}
.spj-cut-switch:disabled{opacity:.65}
.spj-cut-exportwrap{padding-top:8px}
.spj-cut-export,.spj-cut-download{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 15px;border:1px solid transparent;border-radius:12px;background:var(--foji-violet);box-shadow:0 2px 0 color-mix(in srgb,var(--foji-violet-soft) 20%,transparent);color:#fff !important;font-weight:500}
.spj-cut-export{width:240px;font-size:14px;line-height:21px}
.spj-cut-download{font-size:16px;line-height:24px}
.spj-cut-export:disabled,.spj-cut-download:disabled{opacity:.5}

.spj-cut-mask{position:fixed;inset:0;z-index:60;background:#00000073}
.spj-cut-drawer{position:fixed;top:0;right:0;bottom:0;z-index:61;display:flex;flex-direction:column;width:460px;max-width:100vw;background:#fff;box-shadow:-6px 0 16px 0 #00000014,-3px 0 6px -4px #0000001f,-9px 0 28px 8px #0000000d;font-size:14px;line-height:21px}
.spj-cut-drawer>header{display:flex;flex:none;align-items:center;gap:8px;height:57px;padding:16px 24px;border-bottom:1px solid #05056914;font-size:16px;line-height:24px}
.spj-cut-drawer>header button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:none;color:#00000073 !important}
.spj-cut-drawer>header b{font-weight:600}
.spj-cut-drawerbody{display:flex;flex:1;flex-direction:column;gap:24px;min-height:0;padding:24px;background:#f5f5fa;overflow-y:auto}
.spj-cut-drawerbody>*{flex:none}
.spj-cut-dsection{display:flex;flex-direction:column;gap:10px}
.spj-cut-dsection.tight{gap:8px}
.spj-cut-dsection h3{margin:0;font-size:14px;line-height:22px;font-weight:600}
.spj-cut-dnote{display:block;color:#00000073;font-size:12px;line-height:20px}
.spj-cut-ad{display:flex;align-items:center;gap:12px;padding:8px 12px 8px 8px;border:1px solid #05056914;border-radius:14px;background:#fff}
.spj-cut-adthumb{flex:none;width:48px;height:64px;border-radius:9px;background:#0000000f;overflow:hidden}
.spj-cut-adtext{display:flex;flex:1;flex-direction:column;min-width:0}
.spj-cut-adtext b{font-size:14px;line-height:22px;font-weight:600}
.spj-cut-adtext>span{display:flex;align-items:center;gap:8px;margin-top:4px}
.spj-cut-adtext small,.spj-cut-option small,.spj-cut-ziptext small{color:#00000073;font-size:12px;line-height:20px}
.spj-cut-ad>i,.spj-cut-option>i{display:grid;flex:none;place-items:center;width:20px;height:20px;border:1.5px solid #0e0e492b;border-radius:9px;background:#0000000a;color:#00000040}
.spj-cut-chips{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;border:1px solid #05056914;border-radius:18px;background:#fff}
.spj-cut-chips span{padding:2px 8px;border-radius:9px;background:#0000000f;color:#000000a6;font-size:12px;line-height:17.1429px}
.spj-cut-chips span.strong{background:var(--foji-lav-bg);color:#000000e0;font-weight:600}
.spj-cut-option{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:1px solid #05056914;border-radius:18px;background:#fff;text-align:left}
.spj-cut-option>span{display:flex;flex:1;flex-direction:column;min-width:0}
.spj-cut-option b{font-size:14px;line-height:22px;font-weight:600}
.spj-cut-option.on{border-color:#e3d4fc}
.spj-cut-option.on>i{border-color:var(--foji-violet);background:var(--foji-violet);color:#fff}
.spj-cut-option:disabled{opacity:.6}
.spj-cut-zip{padding:12px;border:1px dashed #0e0e492b;border-radius:14px;background:#fff}
.spj-cut-ziphead{display:flex;align-items:center;gap:12px}
.spj-cut-zipicon{display:grid;flex:none;place-items:center;width:38px;height:44px;border-radius:12px;background:var(--foji-lav-bg);color:#451567;font:700 10.5px/15.75px ui-monospace,SFMono-Regular,Menlo,monospace}
.spj-cut-ziptext{display:flex;flex:1;flex-direction:column;min-width:0}
.spj-cut-ziptext b{font-weight:600;line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spj-cut-ziphead button{flex:none;padding:0;border:0;background:none;color:#451567 !important;font-size:12px;line-height:17.1429px;font-weight:600}
.spj-cut-ziplist{margin-top:10px;font:12px/17.1429px ui-monospace,SFMono-Regular,Menlo,monospace}
.spj-cut-ziplist>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 4px;border-top:1px solid #05056914}
.spj-cut-ziplist>div:first-child{border-top:0}
.spj-cut-ziplist b{font-weight:600}
.spj-cut-ziplist span{color:#00000073}
.spj-cut-ziplist .file{padding:4px 4px 4px 16px;border-top:0}
.spj-cut-ziplist .file span:first-child{color:#000000a6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spj-cut-local{color:#000000a6;font-size:12px;line-height:20px}
.spj-cut-local summary{font-weight:600;cursor:pointer}
.spj-cut-local p{margin:6px 0 0}
.spj-cut-localbuttons{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.spj-cut-drawer>footer{display:flex;flex:none;justify-content:flex-end;padding:12px 16px;border-top:1px solid #05056914}

.spj-cut-pop{position:fixed;top:0;left:-9999px;z-index:70;max-width:calc(100vw - 16px);padding:12px;border-radius:12px;background:#fff;box-shadow:0 6px 16px 0 #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;color:#000000e0;font-size:14px;line-height:22px}
.spj-cut-pop p{margin:8px 0 0;color:#00000073;font-size:12px;line-height:20px}
.spj-cut-pop.caption{width:324px;padding:16px 20px}
.spj-cut-pop.info{width:300px}
.spj-cut-pop.info p:first-child{margin-top:0}
.spj-cut-pop.font{width:248px}
.spj-cut-poptitle{display:block;font-weight:600}
.spj-cut-pop textarea{display:block;width:100%;margin-top:8px;padding:6px 8px;border:1px solid #0e0e492b;border-radius:6px;font:inherit;resize:vertical}
.spj-cut-popbuttons{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.spj-cut-popbuttons>span{flex:1}
.spj-cut-looks{display:grid;gap:2px}
.spj-cut-looks button{display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;border:0;border-radius:9px;background:none;text-align:left}
.spj-cut-looks button.on{background:var(--foji-lav-bg)}
.spj-cut-looks button>span:last-child{display:flex;flex-direction:column}
.spj-cut-looks b{font-weight:500}
.spj-cut-looks small{color:#00000073;font-size:12px;line-height:17px}
.spj-cut-pop.look p{max-width:260px}
.spj-cut-poplabel{color:#000000a6;font-size:14px;line-height:22px}
.spj-cut-swatches{display:flex;gap:8px;margin:10px 4px 4px}
.spj-cut-swatches button,.spj-cut-swatches label{position:relative;width:28px;height:28px;padding:0;border:1px solid #0000001f;border-radius:50%;background:var(--c);cursor:pointer}
.spj-cut-swatches .on{outline:2px solid var(--foji-violet);outline-offset:2px}
.spj-cut-swatches label{background:conic-gradient(#f45c44,#f59c0c,#c7b00f,#5ce1e6,#9e51e8,#df44ca,#f45c44);overflow:hidden}
.spj-cut-swatches input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.spj-cut-fonts button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:6px 12px;border:0;border-radius:9px;background:none;font-size:16px;line-height:28px}
.spj-cut-fonts button.on{background:var(--foji-lav-bg);opacity:1}
.spj-cut-fonts button.on svg{color:var(--foji-violet)}
.spj-cut-poprow{display:flex;align-items:center;gap:8px;margin-top:10px;color:#000000a6;font-size:12px}
.spj-cut-poprow .spj-cut-segmented button{font-size:12px}
.spj-cut-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.spj-cut-musicfile{color:#000000e0 !important}
.spj-cut-watch{display:flex;flex-direction:column;align-items:center;gap:10px}
.spj-cut-watch video{max-width:100%;max-height:60vh;border-radius:14px;background:#000}
.spj-cut-watch p{margin:0;color:#000000a6;font-size:12px;line-height:20px;text-align:center}
.spj-cut-emptyroot{display:block}
.spj-cut-empty{display:flex;flex-direction:column;gap:8px;max-width:640px;padding:24px}
.spj-cut-empty p{margin:0;color:#000000a6;font-size:12px;line-height:20px}
.spj-cut-databack{align-self:flex-start}
/* Cut 页（Claude 第四轮接管段）结束 */

/* Elements 页（Claude 第五轮接管段）开始。几何取自原版 project-elements-tab-later.measure.json 与 claude-round5/elements/reference（CSS 1651×780）。
   本段由 work/atria/claude-round5/tools/apply_css.py 写入；只含 .spj-el-* 和 Elements 页的页面级规则。 */
.spj-board.spj-view-elements .spj-body{gap:16px;padding-bottom:80px}
.spj-board.spj-view-elements.spj-has-bar .spj-body{padding-bottom:106px}
.spj-board.spj-view-elements #spj-editor-form{gap:16px}
.spj-el-root{display:flex;flex-direction:column;gap:16px;min-width:0;font-size:14px;line-height:22px;color:#000000e0}
.spj-el-root button{margin:0;font-family:inherit;cursor:pointer}
.spj-el-root button:disabled{cursor:not-allowed}
.spj-el-root svg{display:block;flex:none}
.spj-el-root>[data-el-overlays]{display:contents}

.spj-el-bar{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-16px -4px 0;padding:16px 4px 12px;border-bottom:1px solid #05056914;background:#f5f5fa}
.spj-el-nav{display:inline-flex;max-width:100%;padding:2px;overflow-x:auto;border-radius:12px;background:#0000000f}
.spj-el-nav button{display:inline-flex;flex:none;align-items:center;gap:6px;height:32px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:#000000a6;font-size:12.5px;line-height:19.6429px;font-weight:600;transition:color .15s}
.spj-el-nav button:hover{color:#000000e0}
.spj-el-nav button[aria-current="true"]{background:#fff;color:#000000e0;box-shadow:0 2px 4px #00000005,0 1px 6px -1px #00000005,0 1px 2px #00000008}
.spj-el-nav button span{font-size:11px;line-height:17.2857px;font-weight:500;color:#00000073;font-variant-numeric:tabular-nums}
.spj-el-style{display:inline-flex;align-items:center;gap:8px;height:24px}
.spj-el-style>i{width:1px;height:16px;background:#05056914}
.spj-el-dot{flex:none;width:20px;height:20px;border-radius:50%;background:#0000000f conic-gradient(from 210deg,var(--foji-violet-soft),#ffab2e,#3eaedc,var(--foji-violet-soft))}
.spj-el-style>span:last-of-type{color:#000000a6}
.spj-el-style b{font-weight:600;color:#000000e0}
.spj-el-link{display:inline-flex;align-items:center;height:24px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#61278d;font-size:14px;line-height:22px;font-weight:500;text-decoration:underline;text-underline-offset:2px}
.spj-el-link:disabled{color:#00000040}
.spj-el-ready{display:inline-flex;align-items:center;gap:8px;height:32px;margin-left:auto !important;padding:0 10px;border:0;border-radius:9px;background:#0000000f;color:#000000e0;font-size:14px;line-height:21px;font-weight:600;font-variant-numeric:tabular-nums;transition:background .15s}
.spj-el-ready:hover,.spj-el-ready[aria-expanded="true"]{background:#00000026}
.spj-el-ready svg{color:#00000073}
.spj-el-meter{width:40px;height:4px;overflow:hidden;border-radius:999px;background:#00000026}
.spj-el-meter i{display:block;height:100%;border-radius:999px;background:#5daa1e}

.spj-el-notice{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px;border:1px solid #ffd2ad;border-radius:18px;background:#fff1e3}
.spj-el-notice>span{flex:1;min-width:0}
.spj-el-outline{display:inline-flex;align-items:center;gap:8px;height:24px;padding:0 7px;border:1px solid #d6d6e0;border-radius:6px;background:#fff;box-shadow:0 2px 0 #00000005;color:#000000e0;font-size:14px;line-height:22px;font-weight:500;white-space:nowrap}
.spj-el-outline:hover:not(:disabled){border-color:var(--foji-violet-soft);color:#61278d}
.spj-el-outline:disabled{color:#00000040}

.spj-el-section{display:flex;flex-direction:column;gap:12px;scroll-margin-top:80px}
.spj-el-head{display:flex;align-items:center;gap:8px;min-height:24px}
.spj-el-head h3{margin:0;font-size:14px;line-height:22px;font-weight:700;letter-spacing:0}
.spj-el-head>span{font-size:12px;line-height:20px;color:#00000073;font-variant-numeric:tabular-nums}
.spj-el-add{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;height:24px;margin-left:auto !important;padding:0 8px;border:1px solid #0e0e492b;border-radius:6px;background:#fff;color:#000000e0;font-size:12px;line-height:20px;font-weight:500;white-space:nowrap}
.spj-el-add:hover:not(:disabled){border-color:var(--foji-violet-soft);color:#61278d}
.spj-el-add:disabled{color:#00000040}
.spj-el-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.spj-el-empty{grid-column:1/-1;margin:0;padding:20px;border:1px dashed #0e0e492b;border-radius:12px;color:#00000073;font-size:12px;line-height:20px}

.spj-el-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #05056914;border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s}
.spj-el-card:hover{border-color:#0e0e492b;box-shadow:0 2px 4px #00000005,0 1px 6px -1px #00000005,0 1px 2px #00000008}
.spj-el-media{position:relative;flex:none;width:100%;aspect-ratio:16/9;overflow:hidden;background:#00000005}
.spj-el-media>button{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;background:transparent}
.spj-el-back,.spj-el-front{position:absolute;inset:0;display:block;overflow:hidden}
.spj-el-back{background:#0000000f;opacity:.6;filter:blur(24px);transform:scale(1.1)}
.spj-el-back img,.spj-el-front img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.spj-el-front img{object-fit:contain}
.spj-el-none{position:absolute;inset:0;display:grid;place-items:center;padding:12px;color:#00000073;font-size:12px;line-height:20px;text-align:center}
.spj-el-info{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0;padding:10px 12px 12px}
.spj-el-looks{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin-bottom:4px}
.spj-el-look{display:flex;flex-direction:column;align-items:center;gap:4px;width:60px}
.spj-el-look>button{position:relative;display:grid;place-items:center;width:60px;height:34px;padding:0;overflow:hidden;border:0;border-radius:9px;background:#00000005;color:#00000073}
.spj-el-look>button[aria-pressed="true"]{box-shadow:0 0 0 2px var(--foji-violet-soft)}
.spj-el-look>.spj-el-addlook{border:1px dashed #0e0e492b;background:#fff}
.spj-el-look>.spj-el-addlook:hover:not(:disabled){border-color:var(--foji-violet-soft);color:#61278d}
.spj-el-look>span{max-width:100%;overflow:hidden;color:#00000073;font-size:11px;line-height:11px;text-overflow:ellipsis;white-space:nowrap}
.spj-el-look>span.on{color:#000000e0;font-weight:600}
.spj-el-looks>i{align-self:stretch;width:1px;margin:0 2px 18px;background:#0e0e492b}
.spj-el-name{display:flex;align-items:center;gap:6px;min-width:0}
.spj-el-name>span{min-width:0;overflow:hidden;font-size:14.5px;line-height:22px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.spj-el-desc{display:-webkit-box;overflow:hidden;color:#000000a6;line-height:21px;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.spj-el-grow{flex:1}
.spj-el-foot{display:flex;align-items:center;gap:6px;margin-top:6px;padding-top:10px;border-top:1px solid #05056914}
.spj-el-usage{min-width:0;overflow:hidden;color:#00000073;font-size:12px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}
.spj-el-push{display:inline-flex;flex:none;margin-left:auto}
.spj-el-regen{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;height:24px;padding:0 8px;border:0;border-radius:6px;background:#0000000f;color:#000000e0;font-size:12px;line-height:20px;font-weight:500;white-space:nowrap}
.spj-el-regen:hover{background:#00000026}
.spj-el-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;height:24px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:#000000e0}
.spj-el-icon.spj-el-more{padding:0 7px}
.spj-el-icon:hover:not(:disabled),.spj-el-icon[aria-expanded="true"]{background:#0000000f}
.spj-el-icon:disabled{color:#00000040}

.spj-el-pop{position:fixed;z-index:30;visibility:hidden;border-radius:12px;background:#fff;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}
.spj-el-readypop{display:flex;flex-direction:column;gap:8px;width:364px;max-width:calc(100vw - 32px);padding:12px}
.spj-el-pophead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 4px}
.spj-el-pophead b{font-weight:600}
.spj-el-pophead span{color:#00000073;font-size:12px;line-height:20px;font-variant-numeric:tabular-nums}
.spj-el-poplist{display:flex;flex-direction:column;gap:12px;max-height:min(60vh,460px);margin:0 -4px;padding:0 4px;overflow-y:auto}
.spj-el-poplist section{display:flex;flex-direction:column;gap:2px}
.spj-el-popgroup{padding:0 4px 2px;color:#00000073;font-size:12px;line-height:20px;font-weight:600}
.spj-el-popgroup span{font-weight:400;font-variant-numeric:tabular-nums}
.spj-el-poplist button{display:flex;align-items:center;gap:10px;padding:4px;border:0;border-radius:9px;background:transparent;color:#000000e0;font-size:14px;line-height:22px;text-align:left}
.spj-el-poplist button:hover{background:#0000000a}
.spj-el-thumb{position:relative;flex:none;width:32px;height:32px;overflow:hidden;border-radius:6px;background:#0000000f}
.spj-el-thumb img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.spj-el-rowname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spj-el-state{display:inline-flex;flex:none;align-items:center;gap:6px;color:#000000a6;font-size:12px;line-height:17.1429px;white-space:nowrap}
.spj-el-state.ok svg{color:#5daa1e}
.spj-el-popnote{margin:0;padding:0 4px;color:#00000073;font-size:12px;line-height:20px}
.spj-el-poptools{display:flex;flex-wrap:wrap;gap:6px;padding:8px 4px 0;border-top:1px solid #05056914}
.spj-el-poptools>span{flex-basis:100%;color:#00000073;font-size:12px;line-height:20px}
.spj-el-poptools button{height:24px;padding:0 8px;border:1px solid #0e0e492b;border-radius:6px;background:#fff;color:#000000e0;font-size:12px;line-height:20px;font-weight:500}
.spj-el-poptools button:hover:not(:disabled){border-color:var(--foji-violet-soft);color:#61278d}
.spj-el-poptools button:disabled{color:#00000040}
.spj-el-menu{display:flex;flex-direction:column;min-width:210px;padding:4px}
.spj-el-menu button{display:flex;flex-direction:column;align-items:flex-start;padding:5px 12px;border:0;border-radius:6px;background:transparent;color:#000000e0;font-size:14px;line-height:22px;text-align:left}
.spj-el-menu button:hover:not(:disabled){background:#0000000a}
.spj-el-menu button:disabled{color:#00000040}
.spj-el-menu button.danger:not(:disabled){color:#ff4d4f}
.spj-el-menu small{max-width:224px;color:#00000073;font-size:10px;line-height:13.3333px;white-space:normal}

.spj-el-next{min-height:66px}
.spj-el-next .pd-action-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spj-el-detail{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:20px;align-items:start}
.spj-el-detailmedia{position:relative;display:grid;place-items:center;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#0000000a;color:#00000073;font-size:12px;line-height:20px}
.spj-el-detailmedia img{display:block;width:100%;height:100%;object-fit:contain}
.spj-el-detailside{display:flex;flex-direction:column;gap:10px;min-width:0}
.spj-el-detailstate{display:flex;align-items:center;gap:6px;margin:0;color:#000000a6;font-size:12px;line-height:20px}
.spj-el-detailstate.ok svg{color:#5daa1e}
.spj-el-detailtools{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:900px){.spj-el-detail{grid-template-columns:1fr}}
/* Elements 页（Claude 第五轮接管段）结束 */

/* Storyboard 页（Claude 第五轮接管段）开始。几何取自原版 claude-round5/storyboard/reference/storyboard-top-r5.measure.json（CSS 1651×780）。
   本段由 work/atria/claude-round5/tools/apply_css.py 写入；只含 .spj-sb-* 和 Storyboard 页的页面级规则。 */
.spj-board.spj-view-storyboard .spj-body{gap:16px;padding-bottom:80px}
.spj-board.spj-view-storyboard.spj-has-bar .spj-body{padding-bottom:106px}
.spj-board.spj-view-storyboard #spj-editor-form{gap:16px}
.spj-sb-root{display:flex;flex-direction:column;gap:24px;min-width:0;font-size:14px;line-height:22px;color:#000000e0}
.spj-sb-root button{margin:0;font-family:inherit;cursor:pointer}
.spj-sb-root button:disabled{cursor:not-allowed}
.spj-sb-root svg{display:block;flex:none}
.spj-sb-root>[data-sb-overlays]{display:contents}
.spj-sb-section{display:flex;flex-direction:column;gap:12px}
.spj-sb-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px}
.spj-sb-section[data-sb-section="hooks"] .spj-sb-head{align-items:center;gap:4px 8px;min-height:32px}
.spj-sb-head h2{margin:0;font-size:15px;line-height:22px;font-weight:700;letter-spacing:0}
.spj-sb-head>span{color:#00000073;font-size:12px;line-height:20px}
.spj-sb-ready{display:inline-flex;align-items:center;gap:8px;height:32px;margin-left:auto !important;padding:0 10px;border:0;border-radius:9px;background:#0000000f;color:#000000e0;font-size:14px;line-height:21px;font-weight:600;font-variant-numeric:tabular-nums;transition:background .15s}
.spj-sb-ready:hover,.spj-sb-ready[aria-expanded="true"]{background:#00000026}
.spj-sb-ready svg{color:#00000073}
.spj-sb-meter{width:40px;height:4px;overflow:hidden;border-radius:999px;background:#00000026}
.spj-sb-meter i{display:block;height:100%;border-radius:999px;background:#5daa1e}
.spj-sb-addhook{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 15px;border:1px solid #d6d6e0;border-radius:9px;background:#fff;box-shadow:0 2px 0 #00000005;color:#000000e0;font-size:14px;line-height:22px;font-weight:500;white-space:nowrap}
.spj-sb-addhook:hover:not(:disabled){border-color:var(--foji-violet-soft);color:#61278d}
.spj-sb-addhook:disabled{background:#0000000a;color:#00000040}
.spj-sb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.spj-sb-empty{grid-column:1/-1;margin:0;padding:20px;border:1px dashed #0e0e492b;border-radius:12px;color:#00000073;font-size:12px;line-height:20px}

.spj-sb-card{display:flex;flex-direction:column;min-width:0;padding:8px;border:1px solid #05056914;border-radius:14px;background:#fff;transition:border-color .15s,box-shadow .15s}
.spj-sb-card:hover{border-color:#0e0e492b;box-shadow:0 2px 4px #00000005,0 1px 6px -1px #00000005,0 1px 2px #00000008}
.spj-sb-media{position:relative;isolation:isolate;flex:none;width:100%;aspect-ratio:9/16;overflow:hidden;border-radius:10px;background:#0000000f}
.spj-sb-media>video,.spj-sb-media>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.spj-sb-none{position:absolute;inset:0;display:grid;place-items:center;padding:16px;color:#00000073;font-size:12px;line-height:20px;text-align:center}
.spj-sb-play{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;width:100%;padding:0;border:0;background:transparent}
.spj-sb-play>span{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#00000073;box-shadow:0 0 0 1px #fff6;color:#fff;transition:opacity .15s}
.spj-sb-media.playing .spj-sb-play>span{opacity:0}
.spj-sb-media.playing:hover .spj-sb-play>span,.spj-sb-media.playing .spj-sb-play:focus-visible>span{opacity:1}
.spj-sb-shade{position:absolute;right:0;bottom:0;left:0;height:72px;background:linear-gradient(#0000,#0006);pointer-events:none}
.spj-sb-time{position:absolute;bottom:22px;left:10px;z-index:2;color:#fff;font-size:11.5px;line-height:18.0714px;font-variant-numeric:tabular-nums;pointer-events:none}
.spj-sb-seek{position:absolute;right:8px;bottom:4px;left:8px;z-index:2;display:flex;align-items:center;gap:3px;height:16px}
.spj-sb-seek button{display:flex;flex:1;align-items:center;min-width:8px;height:100%;padding:0;border:0;background:transparent}
.spj-sb-seek button>span{display:block;width:100%;height:3px;overflow:hidden;border-radius:999px;background:#ffffff59;transition:height .15s}
.spj-sb-seek button:hover>span{height:5px}
.spj-sb-seek i{display:block;width:0;height:100%;background:#fff}
.spj-sb-info{display:flex;flex:1;flex-direction:column;gap:6px;min-width:0;padding:10px 4px 0}
.spj-sb-row{display:flex;align-items:center;gap:8px;min-width:0}
.spj-sb-label{flex:none;font-weight:600}
.spj-sb-secs{flex:none;color:#00000073;font-size:12px;line-height:20px;font-variant-numeric:tabular-nums}
.spj-sb-section:not([data-sb-section="hooks"]) .spj-sb-label{min-width:0;overflow:hidden;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.spj-sb-section:not([data-sb-section="hooks"]) .spj-sb-secs{line-height:22px}
.spj-sb-actions{display:inline-flex;flex:none;align-items:center;justify-content:center;width:24px;height:24px;margin:-4px -4px -4px auto !important;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#00000073}
.spj-sb-actions:hover,.spj-sb-actions[aria-expanded="true"]{background:#0000000f;color:#000000e0}
.spj-sb-line{display:-webkit-box;margin:0;overflow:hidden;color:#00000073;line-height:20.3px;cursor:pointer;-webkit-box-orient:vertical;-webkit-line-clamp:4}
.spj-sb-line>span{color:#000000e0;transition:color .15s}
.spj-sb-line:hover>span{color:#61278d}
.spj-sb-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;margin-top:auto;padding-top:4px}
.spj-sb-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#000000e0}
.spj-sb-icon:hover:not(:disabled){background:#0000000f}
.spj-sb-icon:disabled{color:#00000040}
.spj-sb-regen{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;height:28px;padding:0 10px;border:1px solid #0e0e492b;border-radius:9px;background:#fff;color:#000000e0;font-size:12px;line-height:20px;font-weight:500;white-space:nowrap}
.spj-sb-regen:hover:not(:disabled){border-color:var(--foji-violet-soft);color:#61278d}
.spj-sb-regen:disabled{color:#00000040}

.spj-sb-pop{position:fixed;z-index:30;visibility:hidden;border-radius:12px;background:#fff;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}
.spj-sb-readypop{display:flex;flex-direction:column;gap:8px;width:364px;max-width:calc(100vw - 32px);padding:12px}
.spj-sb-pophead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 4px}
.spj-sb-pophead b{font-weight:600}
.spj-sb-pophead span{color:#00000073;font-size:12px;line-height:20px;font-variant-numeric:tabular-nums}
.spj-sb-poplist{display:flex;flex-direction:column;gap:12px;max-height:min(60vh,460px);margin:0 -4px;padding:0 4px;overflow-y:auto}
.spj-sb-poplist section{display:flex;flex-direction:column;gap:2px}
.spj-sb-popgroup{padding:0 4px 2px;color:#00000073;font-size:12px;line-height:20px;font-weight:600}
.spj-sb-popgroup span{font-weight:400;font-variant-numeric:tabular-nums}
.spj-sb-poplist button{display:flex;align-items:center;gap:10px;min-height:32px;padding:4px;border:0;border-radius:9px;background:transparent;color:#000000e0;font-size:14px;line-height:22px;text-align:left}
.spj-sb-poplist button:hover{background:#0000000a}
.spj-sb-rowname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spj-sb-state{display:inline-flex;flex:none;align-items:center;gap:6px;color:#000000a6;font-size:12px;line-height:17.1429px;white-space:nowrap}
.spj-sb-state.ok svg{color:#5daa1e}
.spj-sb-popnote{margin:0;padding:0 4px;color:#00000073;font-size:12px;line-height:20px}
.spj-sb-poptools{display:flex;flex-wrap:wrap;gap:6px;padding:8px 4px 0;border-top:1px solid #05056914}
.spj-sb-poptools>span{flex-basis:100%;color:#00000073;font-size:12px;line-height:20px}
.spj-sb-poptools button{height:24px;padding:0 8px;border:1px solid #0e0e492b;border-radius:6px;background:#fff;color:#000000e0;font-size:12px;line-height:20px;font-weight:500}
.spj-sb-poptools button:hover:not(:disabled){border-color:var(--foji-violet-soft);color:#61278d}
.spj-sb-poptools button:disabled{color:#00000040}
.spj-sb-menu{display:flex;flex-direction:column;min-width:200px;padding:4px}
.spj-sb-menu button{display:flex;align-items:center;padding:5px 12px;border:0;border-radius:6px;background:transparent;color:#000000e0;font-size:14px;line-height:22px;text-align:left}
.spj-sb-menu button:hover:not(:disabled){background:#0000000a}
.spj-sb-menu button:disabled{color:#00000040}
.spj-sb-menu button.danger:not(:disabled){color:#ff4d4f}

.spj-sb-bar{gap:14px;min-height:66px}
.spj-sb-bar .pd-action-status b{font-weight:700}
.spj-sb-bar .pd-action-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spj-sb-detail{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:20px;align-items:start}
.spj-sb-detailmedia{position:relative;display:grid;place-items:center;aspect-ratio:9/16;overflow:hidden;border-radius:10px;background:#0000000f;color:#00000073;font-size:12px;line-height:20px;text-align:center}
.spj-sb-detailmedia video,.spj-sb-detailmedia img{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.spj-sb-detailmedia audio{width:90%}
.spj-sb-detailside{display:flex;flex-direction:column;gap:10px;min-width:0}
.spj-sb-detailstate{display:flex;align-items:center;gap:6px;margin:0;color:#000000a6;font-size:12px;line-height:20px}
.spj-sb-detailstate.ok svg{color:#5daa1e}
.spj-sb-detailtools{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:900px){.spj-sb-detail{grid-template-columns:1fr}}
/* Storyboard 页（Claude 第五轮接管段）结束 */

/* Ad Maker 入口补充（Claude 第五轮接管段）开始。白 2026-11-11 定：“Context details & references”一行挪到创作框外，和 Ask Raya 同一行的右侧，创作框恢复原版高度。
   本段由 work/atria/claude-round5/tools/apply_css.py 写入。 */
.maker-page .maker-below .maker-context-summary{flex-wrap:nowrap;min-width:0;margin-top:0;white-space:nowrap}
.maker-page .maker-below .maker-context-summary small{min-width:0;overflow:hidden;text-overflow:ellipsis}
.maker-page .maker-below .badge{flex:none}
/* Ad Maker 入口补充（Claude 第五轮接管段）结束 */

/* 第六轮接线（Claude 第六轮接管段）开始。接 Codex 的新后端：连续字幕高度、字幕字体和描边、Hook 角度标签、按 Hook 的成片、媒体探测、合并冲突表。
   本段由 work/atria/claude-round6/tools/apply_css.py 写入；studio.css 的其余字节不动。 */
/* 预览里的字幕：位置 = 文字块中心距顶端的百分比（和渲染器同一个语义）；字体用渲染器同一份随包字体；描边画在字形外侧。 */
.spj-cut-caption[data-pos="percent"]{top:var(--cap-top);transform:translateY(-50%)}
.spj-cut-caption span{font-family:var(--cap-font,Inter,sans-serif);font-weight:var(--cap-weight,400)}
.spj-cut-caption[data-outline="true"] span{-webkit-text-stroke:var(--cap-stroke) var(--cap-stroke-color);paint-order:stroke fill}
/* 连续高度滑杆：轨道 128×4，手柄圆心落在比例位置（原版 ant-slider 的几何），所以 input 比轨道左右各宽半个手柄。 */
.spj-cut-slider{position:relative;display:inline-block;flex:none;width:128px;height:12px}
.spj-cut-slider::before,.spj-cut-slider::after{content:"";position:absolute;top:4px;left:0;height:4px;border-radius:3px;pointer-events:none}
.spj-cut-slider::before{right:0;background:#0000000a}
.spj-cut-slider::after{width:var(--p);background:#e3d4fc}
.spj-cut-height .spj-cut-slider input{position:absolute;z-index:1;top:0;left:-5px;width:138px}
.spj-cut-height .spj-cut-slider input::-webkit-slider-runnable-track{background:transparent}
.spj-cut-height output{font-variant-numeric:tabular-nums}
/* Hook 角度标签（hooks[].angle）：Cut 的 Hook 标记、Export 面板和 Storyboard 卡片上同一种小标签。 */
.spj-cut-angle,.spj-sb-angle{min-width:0;max-width:96px;padding:0 6px;border-radius:6px;background:#0000000f;color:#000000a6;font-size:12px;line-height:17.1429px;font-weight:500;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spj-cut-hook .spj-cut-angle{flex:none}
.spj-sb-angle{max-width:none}
/* 不在当前这条成片里的片段（别的 Hook、没有镜头归属的片段）。 */
.spj-cut-clip.out{opacity:.45}
/* Voice over：还没探测过有没有音轨。 */
.spj-cut-voice.unknown{border-style:dashed;background:#f4ffe9;color:#5daa1e99}
/* 外观样例：带描边的 Plain；没有描边的 Text only。 */
.spj-cut-sample.outlined em{text-shadow:0 0 2px #000000e6,0 0 2px #000000e6,0 1px 3px #000c}
.spj-cut-sample.text{background:#5c5c66}
.spj-cut-pick>b[style]{font-weight:700}
/* 冲突合并：两边都改过的地方。 */
.spj-merge-overlaps{margin:12px 0}
.spj-merge-overlaps h3{margin:0 0 6px;font-size:13px;line-height:21px}
.spj-merge-overlaps td{max-width:320px;vertical-align:top;overflow-wrap:anywhere;font-size:12px;line-height:18px}
/* 第六轮接线（Claude 第六轮接管段）结束 */

/* 第七轮整页校准（Claude 第七轮接管段）开始：Ad Maker 入口 / AI Playground / Raya 首页。
   取值来自原版登录态现场（2026-11-11，work/atria/claude-round7/reference/original）：.vg-grid 的计算样式、画布位图、各胶囊的几何。 */
.maker-stage{position:relative;min-height:100%}
.maker-page .vg-grid{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 0 0,#0f111529 1.1px,#0000 1.6px) 0 0/32px 32px,linear-gradient(#0f111509 1px,#0000 1px) 0 0/32px 32px,linear-gradient(90deg,#0f111509 1px,#0000 1px) 0 0/32px 32px;-webkit-mask:linear-gradient(#0000 420px,#000 720px);mask:linear-gradient(#0000 420px,#000 720px)}
.vg-dots{position:absolute;left:0;top:0;width:100%;height:720px;pointer-events:none}
.maker-pick{position:relative;cursor:pointer}
.maker-pick>svg{flex:none;color:#00000073}
.maker-pick-icon{display:flex;flex:none;color:#000000a6}
.maker-pick-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vg-chip.maker-pick select{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;padding:0;border:0;opacity:0;cursor:pointer;-webkit-appearance:none;appearance:none}
.maker-pick:focus-within{border-color:#dbc2fb;color:#000000e0;box-shadow:inset 0 1px 0 #fff,0 0 0 1px color-mix(in srgb,var(--foji-violet-soft) 34.9%,transparent)}
.maker-style{padding:0 7px}
.maker-provider{margin:8px 2px 0;font-size:12px;line-height:20px;color:#00000073;text-align:right}
.maker-provider[hidden]{display:none}
.maker-page .vg-well>svg:not(:last-of-type){flex:none}
/* Start 按钮：原版在渐变上叠一层柔光噪点（feTurbulence，现场计算样式），静止时每 4.5 秒扫一道高光；“减少动效”下不扫。 */
.vg-cta{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"),linear-gradient(#fff3,#fff0 52%),radial-gradient(90% 70% at 50% 120%,color-mix(in srgb,var(--foji-violet) 50.2%,transparent),transparent 62%),linear-gradient(#a67ad0,var(--foji-violet));background-blend-mode:soft-light,normal,normal,normal}
.vg-cta:not(:disabled):not(:hover)::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(105deg,#0000 40%,#ffffff59 50%,#0000 60%) -150% 0/250% 100% no-repeat;animation:vg-glint-rest 4.5s ease-in-out 1s infinite}
@keyframes vg-glint-rest{0%,72%{background-position:-150% 0}100%{background-position:250% 0}}
@media(prefers-reduced-motion:reduce){.vg-cta::after{animation:none!important}}
/* Trending 视频卡片中央的播放圆（原版现场：44px、rgba(0,0,0,.45)、白色 16px 三角）。 */
.maker-card-play{position:absolute;left:50%;top:50%;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#00000073;color:#fff;transform:translate(-50%,-50%);pointer-events:none}
.maker-card .maker-card-play svg{width:16px;height:16px}
/* 第七轮整页校准（Claude 第七轮接管段）结束 */

/* 第八轮接线（Claude 第八轮接管段）开始
   E2 Save to assets、E3 Product 标记、E4 项目内上传、E5 参考图和图片版本、E6 Generation prompt、B3 六种字幕外观和词级时间。
   数值来源：Product 标记、Save to assets 一格、外观弹层的六张卡取自原版现场测量
   （work/atria/claude-round5/elements/reference/elements-bottom-r5.measure.json、claude-cut-round4/reference/original-cut/cut-captions-look-menu.measure.json）；
   详情弹窗里的版本条、参考图、词级时间编辑是本地独立实现，没有原版同状态的对照。 */
/* —— 共用 —— */
[data-action="spj-media-upload"][aria-busy="true"],[data-action="spj-media-save-asset"][aria-busy="true"]{cursor:progress;opacity:.6}
.spj-picker-upload{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px}
.spj-picker-upload .spj-note{margin:0}
.spj-el-inassets,.spj-sb-inassets{margin-left:6px;padding:0 6px;border-radius:6px;background:#f6ffed;color:#389e0d;font-size:11px;line-height:18px;font-weight:500}
/* —— Elements 卡片 —— */
.spj-el-name>.spj-el-product{flex:none;padding:0 6px;overflow:visible;border-radius:6px;background:var(--foji-lav-bg);color:#61278d;font-size:10px;line-height:13.3333px;font-weight:500}
.spj-el-icon.spj-el-save{width:24px;padding:0}
.spj-el-save[data-save="nobrand"],.spj-sb-save[data-save="nobrand"]{color:#00000040}
/* —— Elements 详情：左边图 + 版本条，右边状态 / 参考图 / 字段 —— */
.spj-el-detailmain{display:flex;flex-direction:column;gap:12px;min-width:0}
.spj-el-versions{display:flex;flex-direction:column;align-items:center;gap:8px}
.spj-el-vstrip{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.spj-el-vtile{display:flex;flex-direction:column;align-items:center;gap:4px;color:#00000073;font-size:12px;line-height:20px}
.spj-el-vtile>span.on{color:#000000e0;font-weight:600}
.spj-el-version,.spj-el-vupload{position:relative;display:grid;place-items:center;width:56px;height:56px;padding:0;overflow:hidden;border:1px solid #0e0e492b;border-radius:10px;background:#0000000a;color:#000000a6;font-size:11px}
.spj-el-version img{display:block;width:100%;height:100%;object-fit:cover}
.spj-el-version i{font-style:normal}
.spj-el-version.on{border:2px solid var(--foji-violet)}
.spj-el-version em{position:absolute;top:0;right:0;display:grid;place-items:center;width:16px;height:16px;border-radius:0 0 0 6px;background:var(--foji-violet);color:#fff}
.spj-el-version:not(.on):not(:disabled):hover,.spj-el-vupload:not(:disabled):hover{border-color:var(--foji-violet-soft);color:#61278d}
.spj-el-version:disabled:not(.on){opacity:.5}
.spj-el-vupload{border-style:dashed;background:#fff}
.spj-el-vnote,.spj-el-vreview{max-width:460px;margin:0;color:#00000073;font-size:12px;line-height:18px;text-align:center}
.spj-el-vreview{padding:8px 10px;border-radius:8px;background:#fff7e6;color:#000000a6;text-align:left}
.spj-el-vreview b{color:#000000e0;font-weight:600}
.spj-el-vreview .spj-el-link,.spj-el-refs .spj-el-link{height:18px;font-size:12px;line-height:18px}
.spj-el-refs{display:flex;flex-direction:column;gap:6px}
.spj-el-refs>b{font-size:13px;line-height:20px;font-weight:600}
.spj-el-reflist{display:flex;flex-wrap:wrap;gap:8px}
.spj-el-ref{position:relative;display:grid;place-items:center;width:64px;height:64px;overflow:hidden;border-radius:8px;background:#0000000a;color:#00000073;font-size:11px}
.spj-el-ref img{display:block;width:100%;height:100%;object-fit:cover}
.spj-el-ref i{font-style:normal}
.spj-el-ref button{position:absolute;top:2px;right:2px;display:grid;place-items:center;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:#000000a6;color:#fff;font-size:13px;line-height:1}
.spj-el-ref button:disabled{display:none}
.spj-el-refadd{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:64px;height:64px;padding:0;border:0;border-radius:8px;background:#0000000a;color:#000000e0;font-size:12px;line-height:18px;font-weight:500}
.spj-el-refadd:hover:not(:disabled){background:#0000000f}
.spj-el-refadd:disabled{color:#00000040}
.spj-el-refs .muted{margin:0;font-size:12px;line-height:18px}
.spj-el-productfield>span{display:flex;align-items:center;justify-content:flex-start;gap:8px}
.spj-el-productfield>span input{flex:none;width:16px;height:16px;min-height:0;margin:0;padding:0}
.spj-el-productfield small,.spj-sb-prompt small{display:block;color:#00000073;font-size:12px;line-height:18px;font-weight:400}
/* —— Storyboard 详情 —— */
.spj-sb-prompt textarea{min-height:96px}
/* —— Cut：页面底部留白。原版内容外层是 pb-20（80px；work/atria/claude-cut-round4/reference/original-cut/cut-default-r4.measure.json 里 1180 × 736 的那一层），
   所以 1651 × 780 下主区能再滚 55px；本地原来是 24px、滚不动。外观弹层的原版参考图就是在滚了 55px 的位置采的。 */
.spj-board.spj-view-cut.spj-clean .spj-body{padding-bottom:80px}
/* —— Cut：外观弹层的六张卡（原版 524 × 232：内边距 12，三列，卡 161.33 × 100，间距 8）—— */
.spj-cut-pop.look.six{padding:12px}
.spj-cut-lookgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:min(500px,80vw)}
.spj-cut-lookcard{display:flex;flex-direction:column;height:100px;padding:0;overflow:hidden;border:1px solid #05056914;border-radius:12px;background:none;color:#000000e0;text-align:left;transition:border-color .15s}
.spj-cut-lookcard:hover:not(:disabled){border-color:#0e0e492b}
.spj-cut-lookcard.on,.spj-cut-lookcard.on:hover{border-color:var(--foji-violet);box-shadow:0 0 0 1px var(--foji-violet)}
.spj-cut-lookcard:disabled{opacity:.6}
.spj-cut-lookdemo{display:flex;flex:none;align-items:center;justify-content:center;height:48px;padding:0 8px;overflow:hidden;background:#000000d9}
.spj-cut-lookinfo{display:flex;flex-direction:column;padding:6px 10px}
.spj-cut-lookinfo b{font-size:12px;line-height:20px;font-weight:500}
.spj-cut-lookinfo small{color:#00000073;font-size:10px;line-height:18px}
.spj-cut-demo{color:#fff;font-size:13px;line-height:20.4286px;white-space:nowrap}
.spj-cut-demo em{font-style:normal}
.spj-cut-demo.plain,.spj-cut-demo.typewriter,.spj-cut-demo.sweep,.spj-cut-demo.one_word{text-shadow:0 0 2px #000000e6,0 0 2px #000000e6,0 1px 3px #000c}
.spj-cut-demo.plate>em{display:block}
.spj-cut-demo.plate>em>em{padding:.08em .35em;border-radius:.2em;background:#fff;color:#111;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.spj-cut-demo.typewriter em,.spj-cut-demo.one_word em{position:relative;display:inline-block}
.spj-cut-demo.box{display:inline-flex;gap:.38em;font-size:14.95px;line-height:23.4929px;text-shadow:0 1px 3px #0009}
.spj-cut-demo.box em{position:relative;display:block}
.spj-cut-demo.box .hl{isolation:isolate}
.spj-cut-demo.box .hl::before{position:absolute;z-index:-1;inset:-.06em -.26em -.1em;border-radius:.2em;background:#5d2089;box-shadow:0 .05em .12em #0000004d;content:""}
.spj-cut-demo.sweep em{color:#ffd400}
.spj-cut-demo.one_word{font-size:18.2px;line-height:28.6px;text-transform:uppercase}
.spj-cut-pop.look.six p.spj-cut-looknote{max-width:500px}
/* 按钮上的小样例：新外观 */
.spj-cut-sample.plate em{padding:0 4px;border-radius:3px;background:#fff;color:#111;line-height:16px}
.spj-cut-sample.sweep em{color:#ffd400}
.spj-cut-sample.box u{padding:0 3px;border-radius:2px;background:#5d2089;text-decoration:none}
/* —— Cut：预览里的逐词状态（规则同渲染器；浏览器排版，不是成片的逐帧结果）—— */
.spj-cut-caption span i{font-style:normal}
.spj-cut-caption i.hidden{visibility:hidden}
.spj-cut-caption[data-look="sweep"][data-words="true"] span{color:#fff}
.spj-cut-caption[data-look="sweep"] i.lit{color:var(--cap-hl)}
.spj-cut-caption[data-look="box"][data-words="true"] span{color:#fff;font-size:calc(var(--cap-size) * 1.15)}
.spj-cut-caption[data-look="box"] i.current{border-radius:.06em;background:var(--cap-hl);box-shadow:0 0 0 .18em var(--cap-hl);color:var(--cap-hl-ink)}
.spj-cut-caption[data-look="one_word"][data-words="true"] span{font-size:calc(var(--cap-size) * 1.4)}
/* —— Cut：缺词级时间的提示、字幕弹层里的词级时间 —— */
.spj-cut-wordwarn{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;border-radius:8px;background:#fff7e6;color:#000000a6;font-size:12px;line-height:18px}
.spj-cut-wordwarn>svg{flex:none;margin-top:2px;color:#d48806}
.spj-cut-wordwarn>span{flex:1;min-width:0}
.spj-cut-wordwarn b{color:#000000e0;font-weight:600}
.spj-cut-wordwarn .spj-cut-ghost{flex:none}
.spj-cut-cap.nowords{border-style:dashed;border-color:#d48806}
.spj-cut-pop.caption{max-height:calc(100vh - 16px);overflow:auto}
.spj-cut-words{margin-top:12px;padding-top:12px;border-top:1px solid #05056914}
.spj-cut-wordshead{display:flex;align-items:center;gap:8px}
.spj-cut-wordshead b{font-weight:600}
.spj-cut-wordshead>span{flex:1;color:#00000073;font-size:12px;line-height:20px}
.spj-cut-wordlist{display:grid;gap:4px;max-height:168px;margin-top:8px;padding-right:2px;overflow:auto}
.spj-cut-wordrow{display:grid;grid-template-columns:minmax(0,1fr) 76px 76px;align-items:center;gap:6px;font-size:12px;line-height:20px}
.spj-cut-wordrow.head{color:#00000073}
.spj-cut-wordrow>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spj-cut-wordrow input{width:100%;height:26px;padding:0 6px;border:1px solid #0e0e492b;border-radius:6px;background:#fff;font:inherit;font-variant-numeric:tabular-nums}
.spj-cut-wordnote{color:#ad6800 !important}
.spj-cut-capswitch{justify-content:space-between;color:#000000e0;font-size:14px;line-height:22px}
/* 第八轮接线（Claude 第八轮接管段）结束 */

/* 第九轮状态收敛（Claude 第九轮接管段）开始：Ad Maker 入口 / AI Playground / Raya 的其余状态。
   取值来自原版登录态现场（2026-11-11，work/atria/claude-round9/reference，两侧“减少动效”下采）：检查点弹层、品牌下拉、提示条、脚本框聚焦态、预览弹层的计算样式和几何。 */
/* —— Ad Maker：检查点弹层（原版是 424 × 430 的白底弹层，贴在胶囊外 3px；放不下时翻到胶囊上方）—— */
.maker-pop{top:calc(100% + 3px);right:0;box-sizing:border-box;width:min(424px,calc(100vw - 24px));padding:12px;border:0;border-radius:12px;background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 6px 16px 0 #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d,0 0 32px 0 #00000017;overflow-y:auto;overscroll-behavior:contain}
.maker-pop.up{top:auto}
.maker-pop-head{position:relative}
.maker-pop-title{display:block;margin:0;padding:0;font-size:14px;line-height:22px;font-weight:600;color:#000000e0}
.maker-pop-more{position:absolute;top:1px;right:0;height:20px;padding:0 2px;border:0;background:none;font-size:12px;line-height:20px;color:#00000073;cursor:pointer}
.maker-pop-more:hover{color:#000000e0}
.maker-check-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.maker-check-card{padding:4px;border:1px solid #05056914;border-radius:18px}
.maker-check-card:has(>.maker-check-row>input:checked){border-color:#e3d4fc;background:var(--foji-lav-bg)}
.maker-check-row{position:relative;display:flex;align-items:flex-start;gap:10px;padding:8px 10px;border-radius:12px;cursor:pointer}
.maker-check-row:hover{background:#0000000a}
.maker-check-row>input{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.maker-check-radio,.maker-check-box{box-sizing:border-box;flex:none;width:18px;height:18px;margin-top:2px;border:1.5px solid #0e0e492b;background:#fff}
.maker-check-radio{border-radius:50%}
.maker-check-box{display:flex;align-items:center;justify-content:center;border-radius:5px;color:#fff}
.maker-check-box svg{display:none}
.maker-check-row>input:checked+.maker-check-radio{border:5px solid var(--foji-violet-soft)}
.maker-check-row>input:checked+.maker-check-box{border-color:var(--foji-violet);background:var(--foji-violet)}
.maker-check-row>input:checked+.maker-check-box svg{display:block}
.maker-check-row>input:focus-visible+i{outline:2px solid var(--foji-violet-soft);outline-offset:2px}
.maker-check-row>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.maker-check-row b{font-size:14px;line-height:22px;font-weight:600;color:#000000e0}
.maker-check-row small{font-size:12px;line-height:20px;color:#00000073}
.maker-check-tag{margin-left:8px;padding:1px 6px;border-radius:999px;background:var(--foji-lav-bg);font-style:normal;font-size:10px;line-height:13.3333px;font-weight:600;color:#61278d;vertical-align:1px}
.maker-check-row:has(>input:checked) .maker-check-tag{display:none}
.maker-check-stops{display:flex;flex-direction:column;gap:2px;padding:0 0 4px 28px}
.maker-pop:not([data-more]) .local{display:none}
/* —— Ad Maker：品牌格（按钮）和品牌菜单 —— */
/* 产品格自带 46px 的上下内边距；品牌格外面这层没有，基准值补上 46px 两格才等高（原版两格都是 121px）。 */
.maker-brand-anchor{display:flex;flex:1 1 46px;min-height:0}
.maker-brand-anchor>.vg-well{flex:1;width:100%;border:0;font-family:inherit;text-align:left;cursor:pointer;-webkit-appearance:none;appearance:none}
.maker-brand-anchor>.vg-well:disabled{cursor:not-allowed}
.maker-well-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.maker-page .vg-well .maker-well-caret{display:flex;flex:none;margin-left:auto;color:#00000073}
.maker-page .vg-well .maker-well-caret svg{color:inherit}
.maker-brand-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:31;box-sizing:border-box;min-width:260px;max-width:min(360px,calc(100vw - 32px));max-height:360px;overflow:auto;padding:6px;border:1px solid #05056914;border-radius:18px;background:#fff;box-shadow:0 9px 28px 8px #0000000d,0 3px 6px -4px #0000001f,0 6px 16px 0 #00000014;font-size:14px;line-height:22px;font-weight:400;color:#000000e0}
.maker-brand-menu[hidden],.maker-menu-item[hidden]{display:none}
.maker-menu-head{display:block;padding:4px 10px;font-size:12px;line-height:20px;font-weight:600;color:#00000073}
.maker-menu-sep{height:0;margin:6px 4px;border-top:1px solid #05056914}
.maker-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:6px 10px;border:0;border-radius:9px;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}
.maker-menu-item:hover,.maker-menu-item[aria-checked=true]{background:#0000000a}
.maker-menu-mark{box-sizing:border-box;display:flex;flex:none;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid #0e0e492b;border-radius:50%;font-style:normal;font-size:11px;line-height:1;font-weight:600;color:#000000a6}
.maker-menu-item[data-testid=brand-create] .maker-menu-mark{border-style:dashed}
.maker-menu-item>span{display:flex;flex:1;flex-direction:column;min-width:0}
.maker-menu-item b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:22px;font-weight:600}
/* 上下文入口那一行不参与菜单宽度的计算（否则这句长文字会把菜单撑到 360px）；放不下时省略，完整文字在 title 里。 */
.maker-menu-item[data-testid=brand-context]>span{contain:inline-size}
/* —— Ad Maker：创作框内的提示行（原版同一位置是 42px 高的提示条）、脚本框聚焦态、Trending 来源标记 —— */
.maker-page .maker-alert{display:flex;align-items:flex-start;gap:8px;margin:8px 0 0;padding:9px 12px;border:1px solid #ffd2ad;border-radius:12px;background:#fff1e3;font-size:14px;line-height:22px;font-weight:400;color:#000000e0;text-align:left}
.maker-page .maker-alert[hidden]{display:none}
.maker-page .maker-alert::before{content:"";flex:none;width:14px;height:14px;margin-top:3px;background:#d9660a;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='64 64 896 896'%3E%3Cpath d='M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='64 64 896 896'%3E%3Cpath d='M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z'/%3E%3C/svg%3E") center/contain no-repeat}
/* 聚焦只加 1.5px 的内描边；底色不变（参考图里聚焦和空闲的底色相同，6% 只在悬停时出现）。 */
.maker-paste:focus-within{box-shadow:inset 0 0 0 1.5px var(--foji-violet-soft)}
.vg-live[hidden]{display:none}
.vg-live[data-live="false"] i{background:#00000040;box-shadow:none}
.maker-model{cursor:default}
/* —— Raya：两个菜单展开时触发按钮不换底色（原版只有悬停才变，现场量到展开时仍是 6% 黑、65% 字）；会话页输入框下面没有彩色光晕 —— */
.raya-brand-trigger[aria-expanded=true]:not(:hover){background:transparent}
.raya-create-chip[aria-expanded=true]:not(:hover){background:#0000000f;color:#000000a6}
.raya-page.thread .raya-glow{display:none}
/* 第九轮状态收敛（Claude 第九轮接管段）结束 */

/* 第十轮关键状态（Claude 第十轮接管段）开始：Watch 弹窗、Safe zones、页头、保存 / 上传状态、草稿恢复、打不开的项目。
   几何和颜色取自原版现场（2026-11-11 只读采样，work/atria/claude-round10/reference）。本段以外的字节不动。 */
/* —— Safe zones：顶 14%、Long caption 65%–80%、底 20%；error/30、warning/25；标签 10/16、离虚线 4px —— */
.spj-cut-safe{box-sizing:border-box}
.spj-cut-safe span{margin:4px 0;padding:0 6px;border-radius:6px;background:#0009;color:#fff;font-size:10px;line-height:16px}
.spj-cut-safe.top{top:0;height:14%;border-bottom:1px dashed #fffc;background:#ed383b4d}
.spj-cut-safe.long{top:65%;height:15%;border-top:1px dashed #ffffffb3;background:#d9660a40}
.spj-cut-safe.bottom{top:auto;bottom:0;height:20%;border-top:1px dashed #fffc;background:#ed383b4d}
/* —— Watch 弹窗：垂直居中、20/24 内边距、标题 16/24、右上角 32px 关闭；视频框高 70vh、宽按画幅、圆角 18 —— */
.modal-overlay:has([data-cut-watch]){background:#00000073;-webkit-backdrop-filter:none;backdrop-filter:none}
.modal-overlay:has([data-cut-watch]) .modal{position:relative;box-sizing:border-box;width:auto;max-height:none;overflow:visible;padding:20px 24px;border-radius:12px;background:#fff;box-shadow:0 6px 16px 0 #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}
.modal-overlay:has([data-cut-watch]) .modal-heading{display:block;margin:0 0 8px;padding:0}
.modal-overlay:has([data-cut-watch]) .modal-heading h2{box-sizing:border-box;width:0;min-width:100%;margin:0;padding-right:24px;overflow:hidden;font-size:16px;line-height:24px;font-weight:600;color:#000000e0;text-overflow:ellipsis;white-space:nowrap}
.modal-overlay:has([data-cut-watch]) .modal-heading>.icon-btn{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:none;color:#00000073}
.modal-overlay:has([data-cut-watch]) .modal-heading>.icon-btn:hover{background:#0000000f;color:#000000e0}
.modal-overlay:has([data-cut-watch]) .modal-heading>.icon-btn svg{width:16px;height:16px}
.modal-overlay:has([data-cut-watch]) .modal-body{padding:0}
.modal-overlay:has([data-cut-watch]) .modal-footer,.modal-overlay:has([data-cut-watch]) .modal-error{display:none}
.spj-watch{display:flex;flex-direction:column;gap:12px;min-width:336.38px}
.spj-watch-stage{position:relative;align-self:center;height:70vh;aspect-ratio:var(--ar);overflow:hidden;border-radius:18px;background:#000}
.spj-watch-stage video{display:block;width:100%;height:100%;object-fit:contain;cursor:pointer}
.spj-watch-stage.playing .spj-cut-bigplay{opacity:0}
.spj-watch-stage.playing:hover .spj-cut-bigplay,.spj-watch-stage.playing .spj-cut-bigplay:focus-visible{opacity:1}
.spj-watch-zones{position:absolute;inset:0;pointer-events:none}
.spj-watch-seek{display:flex;align-items:center;width:100%;height:12px;padding:0;border:0;background:none;cursor:pointer}
.spj-watch-seek>span{position:relative;display:block;width:100%;height:4px;overflow:hidden;border-radius:999px;background:#ffffff59}
.spj-watch-seek i{position:absolute;top:0;bottom:0;left:0;width:0;background:#fff}
.spj-watch-stage.empty{display:grid;place-items:center;background:#f5f5fa}
.spj-watch-empty{display:flex;flex-direction:column;align-items:center;gap:10px;box-sizing:border-box;max-width:300px;padding:20px;color:#000000a6;font-size:13px;line-height:20px;text-align:center}
.spj-watch-empty b{color:#000000e0;font-size:14px;font-weight:600}
.spj-watch-empty small{color:#00000073;font-size:12px}
.spj-watch-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:32px}
.spj-watch-seg{display:inline-flex;padding:2px;border-radius:6px;background:#f5f5fa}
.spj-watch-seg button{height:20px;padding:0 7px;border:0;border-radius:3px;background:none;color:#000000a6;font:inherit;font-size:14px;line-height:20px;font-variant-numeric:tabular-nums;cursor:pointer}
.spj-watch-seg button[aria-checked="true"]{background:#fff;color:#000000e0;box-shadow:0 1px 2px 0 #0000000d,0 1px 6px -1px #00000008,0 2px 4px 0 #00000008}
.spj-watch-tool{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;height:24px;padding:0 8px;border:0;border-radius:6px;background:none;color:#000000e0 !important;font:inherit;font-size:12px;line-height:20px;font-weight:500;text-decoration:none;white-space:nowrap;cursor:pointer}
.spj-watch-tool:hover,.spj-watch-tool[aria-pressed="true"]{background:#0000000f}
.spj-watch-tool[aria-pressed="true"]:hover,.spj-watch-tool:active{background:#00000026}
.spj-watch-right{display:inline-flex;align-items:center;gap:4px;min-height:32px;margin-left:auto}
/* —— Trending 标题左边的火焰：原版在图上有一层橙色投影（第九轮未通过的那一处） —— */
.maker-page[data-maker] .vg-section-title>.studio-reference-fire{width:17.7031px;object-fit:fill;filter:drop-shadow(0 3px 8px rgba(246,108,48,.35))}
/* —— 保存 / 上传状态：页头标签行右端，平时是空的，不占版面 —— */
.spj-activity-slot{display:inline-flex;align-items:center;align-self:center;min-width:0;margin-left:auto}
.spj-activity{display:inline-flex;align-items:center;gap:6px;max-width:460px;overflow:hidden;color:#00000073;font-size:12px;line-height:20px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.spj-activity.failed{color:#d4380d}
.spj-activity-spin{flex:none;box-sizing:border-box;width:11px;height:11px;border:1.5px solid #00000026;border-top-color:#000000a6;border-radius:50%;animation:spj-activity-spin .8s linear infinite}
@keyframes spj-activity-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spj-activity-spin{animation:none}}
/* —— 打不开的项目：原版在主区域正中写一句话和一个链接（16/24 半粗、14/22 主色，间距 12） —— */
.spj-missing{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;height:100vh;padding:24px;background:#f5f5fa}
.spj-missing-title{display:block;color:#000000e0;font-size:16px;line-height:24px;font-weight:600}
.spj-missing-back{display:block;color:#61278d !important;font-size:14px;line-height:22px;font-weight:400;text-decoration:none}
/* —— 页头右侧：按原版成片后的页头量到的几何（胶囊没有边框；额度图标和数字间距 3；Created by 间距 6；Feedback 500 字重、带 1px 透明边、离左边一组 12；Feedback 和菜单比胶囊高 1px） —— */
.spj-page .pd-top-right .pd-chip:not(.outline){border-width:0}
.spj-page .pd-top-right [data-testid="spend-chip"]{gap:3px}
.spj-page .pd-created-by{gap:6px}
.spj-page .pd-header-feedback{position:relative;top:-1px;box-sizing:border-box;margin-left:4px;border:1px solid transparent;font-weight:500}
.spj-page .pd-project-menu{position:relative;top:-1px}
.spj-page .pd-title-pencil svg{width:12px;height:12px}
/* —— 页头标签：原版没选中的标签是 45% 黑，按钮底下有 2px 的线位（文字因此高 1px） —— */
.spj-page .pd-tab{padding-bottom:16px}
.spj-page .pd-tab:not([aria-current=step]):not(:hover){color:#00000073}
/* —— Watch 弹窗的画幅分段：没选中的一格悬停时和原版一样变深 —— */
.spj-watch-seg button:not([aria-checked="true"]):hover{background:#0000000f;color:#000000e0}
/* 第十轮关键状态（Claude 第十轮接管段）结束 */

/* 第十一轮附件与权限边界（Claude 第十一轮接管段）开始 */
/* —— Raya 附件方块：原版 96×96、圆角 8、1px 边；图片缩略图铺满；其余写文件名（最多三行）和类型；上传中盖一层进度环；出错红框 —— */
.raya-attachments{gap:8px}
.raya-tile{position:relative;flex:none;width:96px;height:96px;border:1px solid #f0f0f0;border-radius:8px;background:#fff;overflow:visible;box-sizing:border-box;cursor:default}
.raya-tile>.raya-tile-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:7px}
.raya-tile-body{display:flex;flex-direction:column;gap:4px;width:100%;height:100%;padding:8px;box-sizing:border-box;border-radius:7px;background:#0000000f}
.raya-tile-name{display:flex;align-items:flex-start;gap:4px;min-width:0;font-size:12px;line-height:1.375;color:#000000e0}
.raya-tile-name>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all}
.raya-tile-name>svg{flex:none;margin-top:2px;color:#ff4d4f}
.raya-tile-body>small{margin-top:auto;font-size:12px;line-height:20px;color:#00000073}
.raya-tile.error{border-color:#ff4d4f}
.raya-tile.error .raya-tile-name{color:#ff4d4f}
.raya-tile-progress{position:absolute;inset:0;display:grid;place-items:center;border-radius:7px;background:#ffffffb3}
.raya-tile-progress>i{width:36px;height:36px;border-radius:50%;border:3px solid #0000000f;border-top-color:#00000073;animation:raya-tile-spin .9s linear infinite}
@keyframes raya-tile-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.raya-tile-progress>i{animation:none;border-top-color:#00000073;border-right-color:#00000073}}
.raya-tile-remove{position:absolute;right:-6px;top:-6px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:0;border-radius:50%;background:#000;color:#fff;opacity:0;cursor:pointer;transition:opacity .15s}
.raya-tile:hover .raya-tile-remove,.raya-tile-remove:focus-visible{opacity:1}
.raya-tile-remove svg{width:9px;height:9px}
.raya-sent-files{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0 0 8px auto;max-width:100%}
.raya-tile.sent{display:block;text-decoration:none;cursor:pointer}
.raya-tile.sent:hover{border-color:#d9d9d9}
.raya-message.user{display:flex;flex-direction:column;align-items:flex-end}
/* —— Raya 首页 Slack 推广卡：直接写明没有连接（第十一轮，如实标注） —— */
.raya-promo-state{flex:none;margin-right:12px;padding:2px 10px;border-radius:999px;background:#ffffffb3;border:1px solid #0000000f;font-size:12px;line-height:20px;color:#000000a6;white-space:nowrap}
/* —— Automations 确认卡 —— */
.raya-proposal{margin:12px 0 4px;padding:12px 16px;border:1px solid #05056914;border-radius:12px;background:#fff}
.raya-proposal header{display:flex;align-items:center;gap:8px;font-size:14px;line-height:22px;color:#000000e0}
.raya-proposal-icon{display:flex;color:#74449e}
.raya-proposal dl{display:grid;grid-template-columns:96px 1fr;gap:4px 12px;margin:8px 0 0;font-size:13px;line-height:20px}
.raya-proposal dt{color:#00000073}
.raya-proposal dd{margin:0;color:#000000e0}
.raya-proposal-note{margin:8px 0 0;font-size:12px;line-height:18px;color:#00000073}
.raya-proposal-actions{display:flex;gap:8px;margin-top:12px}
.raya-proposal-done{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:13px;line-height:20px;color:#389e0d}
.raya-proposal-done.muted{color:#00000073}
.raya-occurrence.past{opacity:.6}
/* —— Automations 页：按原版现场尺寸（外框 800、左右 24、上下 60；标题 24/32 600；说明 16/24 65% 黑；示例卡白底圆角 18、行 69 高） —— */
.ra-page{height:100%;min-height:100vh;box-sizing:border-box;width:100%;overflow-y:auto;background:#f5f5fa;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:#000000e0}
.ra-inner{box-sizing:border-box;max-width:800px;width:100%;margin:0 auto;padding:60px 24px;display:flex;flex-direction:column}
.ra-header{display:flex;flex-direction:column;gap:8px}
.ra-title{display:flex;align-items:center;gap:12px}
.ra-title-icon{display:flex;width:24px;height:24px;color:#74449e}
.ra-title h1{margin:0;font-size:24px;line-height:31.9992px;font-weight:600;color:#000000e0;letter-spacing:0}
.ra-intro{margin:0;font-size:16px;line-height:24px;color:#000000a6}
.ra-body{margin-top:32px;display:flex;flex-direction:column;gap:12px}
.ra-body.has-tasks{margin-top:12px}
.ra-examples-block{display:flex;flex-direction:column;gap:20px;padding:20px 0}
.ra-examples-heading{margin:0;font-size:16px;line-height:24px;color:#000000a6}
.ra-examples{display:flex;flex-direction:column;overflow:hidden;border-radius:18px;background:#fff}
.ra-example{display:flex;width:100%;align-items:center;gap:12px;padding:12px 16px;border:0;border-bottom:1px solid #05056914;background:none;text-align:left;cursor:pointer;font:inherit;color:inherit;transition:background-color .2s}
.ra-example:last-child{border-bottom:0}
.ra-example:hover:not(:disabled){background:#05056905}
.ra-example:disabled{cursor:not-allowed;opacity:.6}
.ra-example-icon{display:flex;flex:none;width:16px;height:16px;color:#74449e}
.ra-example-icon svg{width:16px;height:16px}
.ra-example-text{display:flex;flex:1;min-width:0;flex-direction:column}
.ra-example-text>b,.ra-example-text>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:22px}
.ra-example-text>b{font-weight:600;color:#000000e0}
.ra-example-text>span{color:#00000073}
.ra-example-arrow{display:flex;flex:none;width:14px;height:14px;color:#000000e0}
.ra-example-arrow svg{width:14px;height:14px}
.ra-filters{margin-top:32px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.ra-tabs{display:flex;align-items:center;gap:8px}
.ra-tab{display:flex;align-items:center;justify-content:center;padding:8px 16px;border:0;border-radius:999px;background:none;font:inherit;font-size:14px;line-height:22px;color:#000000a6;cursor:pointer;white-space:nowrap}
.ra-tab[aria-selected=true]{background:#0000000f;color:#000000e0}
.ra-tab:not([aria-selected=true]):hover{background:#00000005}
.ra-mine{display:flex;align-items:center;gap:8px;font-size:14px;line-height:22px;color:#000000a6;cursor:pointer}
.ra-list{display:flex;flex-direction:column;gap:12px}
.ra-row{display:flex;width:100%;box-sizing:border-box;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-radius:18px;background:#fff;cursor:pointer;transition:box-shadow .2s}
.ra-row:hover{box-shadow:0 10px 15px -3px #0000000d}
.ra-row-main{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}
.ra-row-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:24px;font-weight:600;color:#000000e0}
.ra-row-meta{display:flex;align-items:center;gap:8px;min-width:0}
.ra-row-schedule{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px;line-height:20px;color:#00000073}
.ra-row-schedule>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ra-tag{display:inline-flex;align-items:center;padding:0 8px;border-radius:4px;background:#0000000f;font-size:12px;line-height:20px;font-weight:600;color:#000000e0}
.ra-row-side{display:flex;flex:none;align-items:center;gap:12px}
.ra-brand-pill{position:relative;display:inline-flex;align-items:center;gap:8px;max-width:200px;padding:4px 12px;border:1px solid #f0f0f0;border-radius:999px;background:#fff;font-size:14px;line-height:22px;color:#000000e0;cursor:pointer}
.ra-brand-pill.warning{border-color:#ffe58f;background:#fffbe6;color:#ad6800}
.ra-brand-pill>span:not(.ra-warn):not(.ra-brand-dot){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ra-brand-pill select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.ra-brand-pill select:disabled{cursor:not-allowed}
.ra-brand-dot{width:12px;height:12px;flex:none;border-radius:50%}
.ra-warn{display:flex;color:#faad14}
.ra-button{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 15px;border:1px solid #d9d9d9;border-radius:9px;background:#fff;font:inherit;font-size:14px;line-height:22px;color:#000000e0;cursor:pointer}
.ra-button:hover:not(:disabled){border-color:var(--foji-violet);color:#692b98}
.ra-button:disabled{cursor:not-allowed;opacity:.5}
.ra-button.danger:hover:not(:disabled){border-color:#ff4d4f;color:#ff4d4f}
.ra-detail{display:flex;flex-direction:column;gap:16px}
.ra-detail-head h2{margin:0 0 4px;font-size:20px;line-height:28px;font-weight:600}
.ra-tz{font-size:12px;line-height:20px;color:#00000073}
.ra-rule{height:1px;background:#0000000f}
.ra-detail-lines{display:flex;flex-direction:column;gap:4px}
.ra-detail-line{display:flex;align-items:center;gap:12px;font-size:14px;line-height:22px}
.ra-detail-line>span{width:80px;flex:none;color:#000000a6}
.ra-detail-line>div{display:flex;align-items:center;gap:8px}
.ra-failed{padding:0 6px;border-radius:4px;background:#fff1f0;color:#cf1322;font-size:12px;line-height:20px}
.ra-link{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;font:inherit;font-size:14px;line-height:22px;color:#692b98;cursor:pointer}
.ra-link.primary:disabled{opacity:.5;cursor:not-allowed}
.ra-prompt{max-height:220px;overflow-y:auto;white-space:pre-wrap;font-size:14px;line-height:22px;color:#000000e0}
.ra-local-note{margin:0;font-size:12px;line-height:18px;color:#00000073}
.ra-detail-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ra-detail-buttons{display:flex;align-items:center;gap:12px}
/* —— 侧栏 Automations 数字（原版 font-semibold 后缀） —— */
.wnav-item .wnav-count{margin-left:auto;font-weight:600;font-size:14px;line-height:22px;color:inherit}
/* —— People 弹窗：按原版现场（页签 46 高、文字距顶 12、选中色 #6a2e97、下划线 var(--foji-violet-soft)；Invite people 图标 14、距页签顶 7；表头 39 高） —— */
.ac-people-toolbar{height:46px;margin-top:-4px}
.ac-people-tabs{height:46px}
.ac-people-tabs>button{padding:12px 0 10px;align-items:flex-start}
.ac-people-tabs>button.active{border-bottom-color:var(--foji-violet-soft);color:#6a2e97}
.ac-invite-people.btn{margin-top:7px}
.ac-people-table{border-collapse:separate;border-spacing:0}
.ac-people-table th{height:39px;border-bottom-color:#ebebf3}
.ac-people-table td{border-bottom-color:#ebebf3}
.ac-people-table th:not(:last-child):after{top:8px;bottom:auto;height:22.4px;background:#ebebf3}
.ac-th-flex{display:inline-flex;align-items:center;gap:4px}
.ac-th-flex .ac-info-icon{display:inline-flex;width:14px;height:14px}
/* 设置弹窗左侧菜单：原版分组名和条目都是 600 字重 */
.ac-modal-menu-label,.ac-modal-settings-menu a{font-weight:600}
/* —— People · Guests 页签：原版套餐提示框、空状态 —— */
.ac-guest-plan-alert{margin:0 0 12px;padding:12px;border-radius:12px;background:#f5f5fa;font-size:14px;line-height:22px;color:#000000a6}
.ac-guest-plan-alert a{color:#000000e0;text-decoration:underline}
.ac-guests-table .ac-people-empty td{height:auto;padding:72px 8px;text-align:center;color:#000000a6;border-bottom:1px solid #ebebf3}
.ac-guest-access{padding:0;height:auto;min-height:0;font-size:14px;line-height:22px}
.ac-guest-accounts{margin:12px 0 0;padding:0;border:0;display:flex;flex-direction:column;gap:8px}
.ac-guest-accounts[hidden]{display:none}
.ac-guest-accounts legend{margin-bottom:6px;font-size:14px;line-height:22px;font-weight:600;color:#000000e0}
.ac-guest-account{display:flex;align-items:flex-start;gap:8px}
.ac-guest-account span{display:flex;flex-direction:column}
.ac-guest-account small{font-size:12px;line-height:18px;color:#00000073}
.ac-guest-blocked{margin:0;font-size:14px;line-height:22px;color:#000000a6}
/* —— Guest 身份：主导航只留 Analytics，其余上锁（提示语是原版原文，挂在 title 上） —— */
.rail-item.locked{opacity:.45;cursor:not-allowed}
.rail-item.locked .rail-symbol{position:relative}
.rail-lock{position:absolute;right:-2px;bottom:-2px;display:flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:50%;background:#020206;color:#ffffffd9}
.rail-lock svg{width:9px;height:9px}
.rail-credits:disabled{cursor:default}
.analytics-guest-note{margin:8px 12px 0;font-size:12px;line-height:18px;color:#ffffff73}
/* 第十一轮附件与权限边界（Claude 第十一轮接管段）结束 */

/* 第十三轮（V5.editor_stages.S1）：元素生成后 Script 锁定。照原版 Video ad 1 的参考帧（work/atria/claude-round12/reference/original-rm/project-script.png）：
   卡片下面 12px 一行锁定说明（12px / 19.5px，灰 45%；三个入口 500 字重、#61278d：前两个是带 1px 透明边的行内按钮，第三个是行内链接）；
   角色卡只读（名字 14/600，说明 12/20 灰 65%），镜头表只读（标签列 84px 等宽体 12.5/500，正文 12/18 灰 65%、上下 9px）；
   区块标题行至少 30px、标题和说明隔 10px；Hooks / Body 小标题 700、和表格隔 8px。只作用在锁住的 Script 页。 */
.spj-script-lock{display:flex;align-items:flex-start;gap:8px;margin-top:-12px;color:#00000073}
.spj-script-lock>svg{display:block;flex:none;width:12px;height:12px;margin-top:3px}
.spj-script-lock>span{display:block;min-width:0;font-size:12px;line-height:19.5px;color:#00000073}
.spj-lock-link{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:auto;margin:0;padding:0;border:1px solid transparent;border-radius:6px;background:none;color:#61278d;font:500 12px/19.5px Inter,"Inter Fallback",sans-serif;white-space:nowrap;text-align:center;cursor:pointer}
.spj-lock-link>span{display:block}
.spj-lock-restart{color:#61278d;font-weight:500;text-decoration:none;cursor:pointer}
.spj-lock-link:hover,.spj-lock-restart:hover{color:#74449e;text-decoration:underline}
.spj-lock-link:focus-visible,.spj-lock-restart:focus-visible{outline:2px solid #74449e;outline-offset:1px}
.spj-script-locked .spj-section-head{min-height:30px;gap:0 10px}
.spj-script-locked .spj-character-ro{min-height:0;gap:4px}
.spj-character-ro .spj-character-desc{margin:0;white-space:pre-line;overflow-wrap:anywhere;font-size:12px;line-height:20px;color:#000000a6}
.spj-script-locked .spj-shots{gap:8px}
.spj-script-locked .spj-shots h3{font-weight:700}
.spj-shot-grid-ro .spj-shot-label-column{width:84px}
.spj-shot-grid-ro .spj-shot-row>th.spj-row-label{padding:10px 12px;font-family:"Atria Research Favorit Mono",ui-monospace,Menlo,monospace;font-size:12.5px;font-weight:500;line-height:17.8571px;color:#000000e0;white-space:nowrap}
.spj-shot-grid-ro .spj-shot-row>td{padding:9px 12px;border-left:1px solid #05056914;font-size:12px;line-height:18px;color:#000000a6;white-space:pre-line;overflow-wrap:anywhere}
/* 第十三轮：锁住的 Script 页没有底部操作条，原版正文底部留白 80px（pb-20；本地其它页给操作条留 110px）。决定滚动条长短。 */
.pd-body:has(>form.spj-script-locked){padding-bottom:80px}
/* 第十三轮（Pasted script 卡片）：照今天的原版 vg-paper-page（34×44、左转 4°、2px 线、右上角 9px 折角；标题 ABC Favorit Extended 500）。只作用在 Script 页这张卡。 */
.spj-paper-page{position:relative;width:34px;height:44px;padding:9px 6px 0;gap:3.5px;background:linear-gradient(160deg,#f7f4ff,#dbdbe4);transform:rotate(-4deg);transform-origin:17px 22px}
.spj-paper-page::after{content:"";position:absolute;top:0;right:0;width:9px;height:9px;background:linear-gradient(225deg,transparent 50%,#cbc7d1 50%)}
.spj-paper-page i{height:2px}
.spj-paper-chip .pd-card-text b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:"Atria Research Favorit Extended","Studio Reference Expanded",Inter,sans-serif;font-weight:500;font-stretch:normal;font-variation-settings:normal}
.spj-paper-chip>svg{flex:none;color:#00000073}
.spj-paper-chip .pd-card-text small{font-variant-numeric:tabular-nums}
/* 第十三轮（项目页页头）：照今天的原版——Media 数字在灰色胶囊里；“⋯”88% 黑；图标 14px（铃铛、Feedback、⋯）、Media 图标 15px 45% 黑。 */
.spj-page .pd-count{display:block;min-width:20px;height:18px;padding:0 6px;border-radius:999px;background:#0000000f;color:#00000073;font-size:11.5px;line-height:18px;font-weight:500;text-align:center}
.spj-page .pd-tab.media>svg{flex:none;color:#00000073}
.spj-page .pd-project-menu-trigger{color:#000000e0}
.spj-page .pd-notify.icon-btn>svg,.spj-page .pd-project-menu-trigger>svg,.spj-page .pd-header-feedback>svg{display:block;flex:none;width:14px;height:14px}
