:root{--bg:#f4f6fa;--ink:#121318;--gray:#888d9b;--line:#ebeef4;--muted:#9ca2b0;--blue:#315cf3;--rail:84px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #537cf9;outline-offset:2px}[hidden]{display:none!important}.app{min-height:100vh}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:var(--rail);background:#fff;display:flex;align-items:center;flex-direction:column;border-radius:0 0 0 8px}.brand-logo{margin-top:15px;width:42px;height:42px;border:0;border-radius:0;padding:0;background:transparent;display:grid;place-items:center}.brand-logo img{width:30px;height:30px;object-fit:contain}.side-icons{margin-top:26px;width:100%;display:flex;align-items:center;flex-direction:column;gap:5px}.side-item{width:56px;height:55px;border:none;background:transparent;border-radius:10px;display:grid;place-items:center;color:#20242b;transition:background .15s}.side-item:hover,.side-item.selected{background:#f1f3f8}.side-item svg{width:23px;height:23px;stroke-width:2.1}.menu-trigger{margin-top:auto;margin-bottom:16px;width:44px;height:44px;border:0;background:transparent;color:#20242b;display:grid;place-items:center}.menu-trigger svg{width:22px;height:22px}.flyout-menu{position:absolute;bottom:15px;left:74px;width:248px;border-radius:15px;background:#fff;box-shadow:0 12px 50px #252d4b24;padding:12px;z-index:31;border:1px solid #f1f1f1}.flyout-heading{display:flex;align-items:center;gap:10px;padding:10px;font-size:18px}.flyout-heading img{width:29px;height:29px;background:transparent;border-radius:0;padding:0;object-fit:contain}.flyout-menu>button{width:100%;background:none;border:0;border-radius:10px;display:flex;align-items:center;gap:14px;padding:11px 12px;text-align:left}.flyout-menu>button:hover{background:var(--bg)}.flyout-menu svg{width:18px;height:18px}.flyout-foot{padding:14px 12px 4px;color:#a0a5b0;font-size:11px}.main-shell{margin-left:var(--rail);min-height:100vh;position:relative;overflow-x:hidden}.topbar{position:absolute;top:15px;left:0;right:23px;z-index:10;pointer-events:none}.top-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;pointer-events:auto}.top-button{height:42px;border:0;border-radius:12px;background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:15px;color:#151515;font-weight:600;white-space:nowrap}.api-button{padding:0 16px;min-width:54px}.download-button{position:relative;padding:0 15px}.download-button svg{width:20px;height:20px}.download-button sup{position:absolute;right:4px;top:-10px;color:#162a30;background:#ddf9f8;font-size:11px;line-height:19px;padding:0 3px;border-radius:2px;font-weight:500}.premium-button{background:#ffcaad;padding:0 17px}.premium-button svg{width:17px;height:17px}.top-avatar{margin-left:7px;width:49px;height:49px;display:grid;place-items:center;border:0;border-radius:50%;background:#fff;color:#9ea4b1}.top-avatar svg{width:25px;height:25px;stroke-width:1.5}.page{display:none}.page.active{display:block}.hero{padding-top:119px}.hero h1{margin:0 auto;text-align:center;font-size:43px;line-height:1.34;letter-spacing:1px;font-weight:700;white-space:nowrap}.hero-main{max-width:1340px;width:calc(100% - 72px);height:181px;margin:35px auto 0;display:grid;grid-template-columns:minmax(400px,754px) repeat(3,minmax(0,1fr));gap:14px}.create-box{min-width:0;background:#fff;border-radius:20px;position:relative;box-shadow:0 12px 35px rgba(48,58,82,.075);overflow:visible}.prompt-label{position:absolute;left:15px;top:18px;color:#a9aeb9;font-size:15px;z-index:1;pointer-events:none}.create-box:has(textarea:not(:placeholder-shown)) .prompt-label{display:none}.create-box textarea{position:absolute;left:15px;top:18px;width:calc(100% - 30px);height:104px;padding:0;background:transparent;border:0;resize:none;outline:none;color:#262932;font-size:15px;line-height:1.8;z-index:2}.create-box textarea::placeholder{color:transparent}.uploads{position:absolute;top:74px;left:15px;right:16px;display:flex;gap:8px}.upload-chip{max-width:146px;height:37px;background:#f3f5fa;display:flex;align-items:center;gap:7px;border-radius:7px;padding:4px 7px;font-size:11px;color:#555d70}.upload-chip img{width:30px;height:30px;object-fit:cover;border-radius:4px}.upload-chip span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upload-chip button{background:none;border:0;color:#666;padding:1px}.creator-bottom{position:absolute;bottom:14px;left:25px;right:14px;display:flex;align-items:center;justify-content:space-between}.creator-actions{display:flex;align-items:center;height:46px;gap:9px}.creator-action{border:0;background:transparent;color:#666b76;display:flex;align-items:center;justify-content:center;height:39px;gap:7px;padding:0 5px;font-size:15px}.creator-action svg{width:21px;height:21px;stroke-width:1.8}.creator-action:first-child svg{width:22px;height:22px}.creator-action:hover{color:#315cf3}.creator-action.icon-only{width:38px}.creator-actions .split{height:16px;width:1px;background:#dfe2e9;margin:0 3px}.generate-button{width:119px;height:46px;border:0;border-radius:15px;background:#acbdff;color:#fff;display:flex;justify-content:center;align-items:center;gap:9px;font-size:15px;font-weight:600}.generate-button:hover{background:#7d97ff}.generate-button svg{width:16px;height:16px;fill:white;stroke-width:1.8}.scene-card{border:0;border-radius:20px;min-width:0;position:relative;overflow:hidden;text-align:left;color:white;background:linear-gradient(162deg,#265afa 0%,#377afd 52%,#addaff 100%);padding:19px 20px;display:flex;flex-direction:column;gap:12px;transition:transform .2s,filter .2s}.scene-card:hover{transform:translateY(-3px);filter:saturate(1.12)}.scene-card.card-two{background:linear-gradient(158deg,#2558f9 0%,#3777f7 50%,#add8fa 100%)}.scene-card.card-three{background:linear-gradient(148deg,#3469fb 0%,#68a7ff 47%,#d6eeff 100%)}.scene-icon svg{width:24px;height:24px;stroke-width:2.5}.scene-card strong{font-size:14px;font-weight:600}.scene-plus{position:absolute;right:13px;bottom:14px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#ffffff30}.scene-plus svg{width:22px;height:22px;stroke-width:2}.prompt-presets{margin:15px auto 0;display:flex;justify-content:center;gap:13px}.prompt-presets button{background:#ffffff95;border:0;border-radius:11px;height:35px;padding:0 13px;font-size:13px;color:#30333b;white-space:nowrap}.prompt-presets button:hover{background:#fff;box-shadow:0 2px 10px #d5dbea}.quick-section{margin:48px auto 0;max-width:1546px;width:calc(100% - 90px);position:relative}.section-header{display:flex;justify-content:space-between;align-items:center;position:relative;margin-bottom:16px}.section-header h2{font-size:18px;color:#818898;line-height:1.3;font-weight:400;margin:0}.arrows{display:flex;align-items:center;gap:19px;padding-right:9px}.arrows button{background:transparent;border:0;padding:0;display:grid;place-items:center;color:#22252c;width:25px;height:26px}.arrows button:first-child{color:#aeb4be}.arrows svg{width:17px;height:17px;stroke-width:1.6}.quick-viewport{width:100%;overflow:hidden}.quick-items{display:flex;gap:15px;min-width:max-content;transition:transform .45s cubic-bezier(.2,.75,.2,1)}.quick-card{position:relative;height:81px;background:#fff;border:1px solid #f0f1f4;border-radius:14px;display:flex;align-items:center;gap:13px;text-align:left;padding:12px 15px;flex-shrink:0;width:260px;color:#151619;transition:box-shadow .2s,border-color .2s}.quick-card:nth-child(2){width:300px}.quick-card:nth-child(3){width:250px}.quick-card:nth-child(4){width:250px}.quick-card:nth-child(5){width:286px}.quick-card:nth-child(n+6){width:260px}.quick-card:hover{box-shadow:0 6px 20px #2d427817;border-color:#cbd7ff}.quick-icon{width:51px;height:51px;flex:0 0 51px;border-radius:10px;background:#f4f6f9;display:grid;place-items:center}.quick-icon svg{width:27px;height:27px;stroke:#1a1d24;stroke-width:2.1}.quick-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.quick-copy strong{font-size:18px;font-weight:650;white-space:nowrap}.quick-copy small{color:#a1a5b0;font-size:13px;white-space:nowrap}.quick-card em{position:absolute;top:4px;right:4px;background:#ffdad8;color:#ff6868;font-size:11px;font-style:normal;border-radius:20px;padding:3px 7px}.templates-section{max-width:1546px;width:calc(100% - 90px);margin:49px auto 0}.featured-panel{background:#fff;border-radius:23px;display:flex;gap:0;height:344px;overflow:hidden;padding:18px 13px 18px 33px}.featured-text{flex:0 0 227px;padding-top:14px;position:relative}.featured-text h2{font-size:25px;font-weight:700;letter-spacing:-.4px;margin:0 0 12px}.featured-text p{font-size:14px;color:#767b88;white-space:nowrap;margin:0}.featured-start{position:absolute;bottom:19px;left:0;display:flex;gap:10px;align-items:center;border:0;background:#f2f5ff;color:#3e65d9;padding:10px 15px;border-radius:10px;font-size:13px;opacity:0;transition:opacity .2s}.featured-start svg{width:14px;height:14px}.featured-panel:hover .featured-start{opacity:1}.featured-gallery{min-width:0;display:flex;gap:14px;overflow:hidden;position:relative;flex:1}.photo-card{flex:0 0 204px;border:0;padding:0;background:#edf0f4;height:306px;border-radius:14px;overflow:hidden;transition:transform .2s}.photo-card:hover{transform:translateY(-4px)}.photo-card img{display:block;width:100%;height:auto;min-height:100%;object-fit:cover;object-position:top}.round-next{position:absolute;right:3px;bottom:6px;background:#fff;border:0;border-radius:50%;width:49px;height:49px;display:grid;place-items:center;box-shadow:0 3px 15px #0000001f}.round-next svg{width:20px;height:20px;stroke-width:1.8}.more-section{max-width:1546px;width:calc(100% - 90px);margin:28px auto 30px}.more-title h2{font-size:24px;margin:18px 0 8px}.more-title p{font-size:14px;color:#8d94a3;margin:0 0 22px}.more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.more-card{text-align:left;display:flex;flex-direction:column;gap:12px;padding:22px;min-height:146px;background:#fff;border:1px solid #eef0f5;border-radius:16px}.more-card:hover{border-color:#bed0ff}.more-card>span{color:#456bfc}.more-card svg{width:28px;height:28px}.more-card strong{font-size:18px}.more-card small{font-size:13px;color:#9298a5}.more-section footer{font-size:12px;color:#a9aeba;text-align:center;margin-top:40px;padding-bottom:18px}.more-section footer span{margin-left:13px}.popover{position:absolute;z-index:15;left:88px;bottom:60px;background:#fff;border-radius:13px;padding:12px;box-shadow:0 10px 45px #1b2b581f;width:246px;border:1px solid #eef0f5}.popover b{display:block;font-size:13px;margin:3px 4px 8px}.popover .opt{display:flex;justify-content:space-between;width:100%;border:0;background:none;padding:10px 9px;font-size:13px;text-align:left;border-radius:8px}.popover .opt:hover,.popover .opt.selected{background:#f2f5ff;color:#2e5ff4}.options-popover{left:145px;width:235px}.popover-row{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin:7px 0}.popover-row select{background:#f5f7fb;border:0;border-radius:6px;padding:7px;font-size:13px}.popover-note{color:#9ba2b0;font-size:11px;padding-top:5px}.sub-page{max-width:1546px;width:calc(100% - 90px);margin:0 auto;padding:126px 0 50px;min-height:100vh}.sub-head{margin-bottom:38px}.sub-head .overline{font-size:11px;letter-spacing:2px;color:#6e86f8}.sub-head h1{font-size:38px;letter-spacing:-1px;margin:8px 0 9px}.sub-head p{margin:0;color:#848a98;font-size:15px}.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.tool-tile{background:white;border:1px solid #eceef4;border-radius:16px;min-height:172px;padding:22px;text-align:left;display:flex;flex-direction:column;gap:12px}.tool-tile:hover{border-color:#b4c4ff;box-shadow:0 10px 28px #3449860e}.tool-tile .icon-bg{height:49px;width:49px;background:#f0f3ff;color:#4069ec;display:grid;place-items:center;border-radius:12px}.tool-tile svg{width:26px;height:26px}.tool-tile strong{font-size:17px}.tool-tile small{color:#939aa9;font-size:12px}.works-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.work-tile{padding:12px;background:white;border-radius:16px;min-width:0}.work-tile img{width:100%;height:220px;object-fit:cover;border-radius:11px}.work-tile strong{display:block;margin:12px 6px 6px;font-size:15px}.work-tile small{margin:0 6px;color:#9ca3b0}.work-tile button{display:block;margin:12px 6px 5px;padding:9px 12px;border:0;background:#f2f4fa;border-radius:8px}.works-empty{border:1px dashed #cbd2e4;background:white;text-align:center;border-radius:20px;padding:80px 30px;grid-column:1/-1;color:#8e96a4}.works-empty svg{height:40px;width:40px;color:#99a8ee}.works-empty h3{font-size:20px;color:#333;margin:20px 0 10px}.works-empty button{border:0;background:#315ff8;color:white;padding:12px 25px;border-radius:10px;margin-top:15px}.modal-root{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}.modal-backdrop{position:absolute;inset:0;background:#12182881;backdrop-filter:blur(3px)}.modal-card{position:relative;background:#fff;border-radius:20px;padding:33px;width:min(490px,100%);box-shadow:0 15px 60px #0a153d31;max-height:90vh;overflow-y:auto}.modal-close{position:absolute;top:16px;right:16px;background:#f4f6f9;border:0;border-radius:50%;height:33px;width:33px;display:grid;place-items:center}.modal-close svg{width:18px;height:18px}.modal-symbol{width:54px;height:54px;background:#ecf1ff;border-radius:15px;display:grid;place-items:center;color:#406af3;margin-bottom:18px}.modal-symbol svg{width:29px;height:29px}.modal-card h2{font-size:24px;margin:0 0 12px}.modal-card p{font-size:14px;line-height:1.8;color:#747c8d}.modal-caption{font-size:12px!important;color:#adb2c0!important}.modal-input{display:block;width:100%;padding:13px;border:1px solid #e5e9f2;border-radius:10px;margin-top:17px;outline:none}.modal-cta{margin-top:20px;background:#315ff8;border:0;color:white;border-radius:11px;padding:12px 20px;font-size:15px;font-weight:600;min-height:44px}.modal-cta:disabled{opacity:.65;cursor:progress}.modal-secondary{background:#eef1f8;color:#2c3352;margin-left:10px}.modal-preview{width:100%;max-height:250px;object-fit:cover;border-radius:13px;margin:12px 0}.modal-progress{height:7px;background:#eaeef8;border-radius:10px;margin:20px 0 4px;overflow:hidden}.modal-progress>div{height:100%;width:0;background:linear-gradient(90deg,#356bff,#a88cff);transition:width .28s}.modal-result{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}.modal-result img{width:100%;aspect-ratio:1.05;object-fit:cover;border-radius:9px}.modal-option-list{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}.modal-option-list span{font-size:12px;color:#69728a;background:#f3f5fa;padding:7px 10px;border-radius:20px}.toast{position:fixed;left:50%;bottom:36px;transform:translate(-50%,20px);border-radius:12px;background:#262b38;color:white;padding:11px 22px;opacity:0;pointer-events:none;z-index:130;transition:opacity .3s,transform .3s;white-space:nowrap;font-size:13px}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media (max-width:1500px){.hero-main{width:calc(100% - 82px);grid-template-columns:minmax(355px,1.75fr) repeat(3,minmax(120px,.5fr))}.hero h1{font-size:40px}.quick-card{width:245px}.quick-card:nth-child(2){width:280px}.quick-card:nth-child(3),.quick-card:nth-child(4){width:240px}.quick-card:nth-child(5){width:265px}.featured-text{flex-basis:207px}.photo-card{flex-basis:190px}}
@media (max-width:1150px){.hero{padding-top:120px}.hero h1{font-size:35px;white-space:normal}.hero-main{width:calc(100% - 62px);grid-template-columns:1.6fr repeat(3,.55fr);gap:10px}.scene-card{padding:19px 12px}.scene-card strong{font-size:12px}.quick-section,.templates-section,.more-section,.sub-page{width:calc(100% - 54px)}.featured-text{flex-basis:196px}.photo-card{flex-basis:178px}.tools-grid,.works-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:780px){:root{--rail:62px}.sidebar{width:var(--rail)}.brand-logo{width:38px;height:38px;padding:0}.side-item{width:48px;height:50px}.side-icons{gap:7px}.topbar{top:12px;right:16px}.top-actions{gap:7px}.top-button{height:36px;font-size:12px}.api-button{min-width:40px;padding:0 10px}.download-button{display:none}.premium-button{padding:0 10px}.top-avatar{width:37px;height:37px;margin-left:0}.hero{padding-top:112px}.hero h1{font-size:27px;white-space:normal;padding:0 18px}.hero-main{height:auto;margin-top:25px;width:calc(100% - 28px);grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.create-box{grid-column:1/-1;height:178px}.scene-card{height:133px;border-radius:15px;padding:14px 10px}.scene-icon svg{width:21px;height:21px}.scene-plus{height:28px;width:28px;bottom:10px;right:8px}.scene-plus svg{height:18px;width:18px}.scene-card strong{font-size:11px}.prompt-presets{justify-content:flex-start;overflow-x:auto;white-space:nowrap;padding:0 14px;margin-top:13px}.prompt-presets button{font-size:11px}.quick-section,.templates-section,.more-section,.sub-page{width:calc(100% - 28px)}.quick-section{margin-top:45px}.quick-items{gap:9px}.quick-card,.quick-card:nth-child(n){width:238px}.templates-section{margin-top:35px}.featured-panel{height:325px;padding:17px 13px;flex-direction:column}.featured-text{flex:0 0 63px;padding:0}.featured-text h2{font-size:20px;margin-bottom:5px}.featured-text p{font-size:12px}.featured-gallery{overflow:auto}.photo-card{flex-basis:180px;height:230px}.round-next{display:none}.more-grid,.tools-grid,.works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sub-page{padding-top:104px}.sub-head h1{font-size:31px}.featured-start{display:none}}
@media (max-width:480px){.hero h1{font-size:23px;letter-spacing:0}.scene-card strong{font-size:10px}.scene-card{height:114px}.more-grid,.tools-grid,.works-grid{grid-template-columns:1fr}.top-actions .premium-button{font-size:11px}.prompt-label{font-size:13px}.creator-bottom{left:14px}.hero-main{width:calc(100% - 22px)}.quick-section,.templates-section,.more-section,.sub-page{width:calc(100% - 22px)}}

/* Pixel alignment against the supplied 1728×886 screenshot */
.hero-main,.quick-section,.templates-section,.more-section,.sub-page{left:-4px;position:relative}
.prompt-presets{width:754px;max-width:calc(100% - 80px);margin-left:max(0px,calc((100% - 1340px)/2 - 4px));justify-content:center}
.prompt-presets button{flex:0 0 165px;padding:0 5px}
.photo-card img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:top}
@media(max-width:780px){.hero-main,.quick-section,.templates-section,.more-section,.sub-page{left:0}.prompt-presets{margin-left:0;max-width:100%;width:100%;justify-content:flex-start}.prompt-presets button{flex:0 0 auto;width:auto;padding:0 13px}}

.creator-action.upload-action{white-space:nowrap;flex-shrink:0}

/* TikTok Shop 爆款复刻：保持参考 UI 布局，补足可播放视频素材与完整预览 */
.photo-card{position:relative;isolation:isolate;outline-offset:3px;background:#eceff5}
.photo-video{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.photo-card::after{content:"";position:absolute;inset:54% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.52));pointer-events:none}
.photo-top-stats,.photo-length{position:absolute;top:10px;background:#0005;color:#fff;padding:5px 8px;border-radius:6px;font-size:12px;line-height:1;z-index:2;pointer-events:none}
.photo-top-stats{left:10px}.photo-length{right:9px;background:#13151880}
.photo-play{position:absolute;z-index:3;top:42%;left:50%;transform:translate(-50%,-50%);border-radius:50%;background:#0005;color:#fff;width:46px;height:46px;display:grid;place-items:center;padding-left:3px;font-size:17px;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;backdrop-filter:blur(3px)}
.photo-card:hover .photo-play,.photo-card:focus-visible .photo-play{opacity:1;transform:translate(-50%,-50%) scale(1.07)}
.photo-bottom-title{position:absolute;bottom:14px;left:13px;right:9px;text-align:left;z-index:2;color:#fff;font-weight:600;font-size:13px;text-shadow:0 1px 5px #0006;pointer-events:none}
.tk-modal-open .modal-card{width:min(820px,calc(100vw - 40px));padding:28px 30px;max-height:94vh}
.tk-eyebrow{color:#516ae4;display:block;font-size:12px;font-weight:700;letter-spacing:.4px;margin-bottom:9px}
.tk-modal-head h2{margin:0 0 5px;font-size:26px}
.tk-modal-head p{margin:0 0 18px}
.tk-preview-layout{display:flex;gap:26px;align-items:start}
.tk-large-video{width:min(290px,44%);aspect-ratio:9/16;max-height:65vh;object-fit:contain;background:#14151a;border-radius:13px;box-shadow:0 8px 26px #0d1e4324}
.tk-preview-info{flex:1;min-width:0;padding:6px 5px}
.tk-preview-info>b{font-size:17px;display:block;margin-bottom:20px}
.tk-timeline{border-left:2px solid #dae3ff;padding:0 0 20px 21px;margin-left:10px;position:relative;font-size:14px;font-weight:600}
.tk-timeline>span{position:absolute;left:-15px;top:-1px;width:28px;height:28px;border-radius:50%;background:#eef2ff;display:grid;place-items:center;color:#3d63e4;font-size:11px;font-weight:700}
.tk-timeline>small{display:block;margin-top:5px;color:#8d95a6;font-size:12px;font-weight:400}
.tk-copy-button{width:100%;margin-top:18px}
.tk-preview-info .modal-caption{margin-top:16px}
@media(max-width:650px){.tk-modal-open .modal-card{padding:22px 17px;max-height:96vh}.tk-preview-layout{flex-direction:column;gap:12px;align-items:center}.tk-large-video{width:min(250px,68vw);max-height:48vh}.tk-preview-info{width:100%}.tk-preview-info>b{margin-bottom:11px}.tk-timeline{padding-bottom:12px}.tk-modal-head h2{font-size:21px}}

.featured-text{min-width:0}.featured-text p{max-width:215px}


/* 平台选择：将原图标改为文字展开式下拉选择 */
.creator-action.platform-trigger{height:34px;padding:0 9px;gap:6px;border:1px solid #e8ebf2;border-radius:9px;background:#f8f9fc;white-space:nowrap;font-size:12px;color:#6c7281;transition:background .18s,color .18s,border-color .18s}
.creator-action.platform-trigger:hover,.creator-action.platform-trigger[aria-expanded="true"]{background:#eff3ff;border-color:#dce5ff;color:#325eeb}
.platform-trigger .platform-label{color:#555c6b}
.platform-trigger .platform-current{font-size:12px;color:#315be9;font-weight:600}
.platform-trigger .platform-chevron{width:13px;height:13px;stroke-width:1.8;transition:transform .2s;flex:none}
.platform-trigger[aria-expanded="true"] .platform-chevron{transform:rotate(180deg)}
.platform-popover{top:calc(100% + 8px);bottom:auto;left:110px;width:230px;padding:9px 7px;box-shadow:0 14px 45px #1b2b5828}
.platform-popover-title{padding:7px 10px 8px;color:#959cab;font-size:12px}
.platform-popover .opt{display:flex;align-items:center;justify-content:space-between;padding:11px 10px;font-size:13px;color:#3c4250;line-height:1.3}
.platform-popover .opt.selected{background:#f1f5ff;color:#315cf3;font-weight:600}
.platform-popover .platform-check{visibility:hidden;color:#315cf3;font-weight:700}
.platform-popover .opt.selected .platform-check{visibility:visible}
@media(max-width:780px){.creator-action.platform-trigger{font-size:11px;padding:0 7px;gap:4px}.platform-trigger .platform-current{font-size:11px}}
@media(max-width:480px){.creator-actions{gap:3px}.creator-actions .split{margin:0 1px}.creator-action.platform-trigger{max-width:93px;min-width:0;gap:4px;padding:0 5px}.platform-trigger .platform-label{display:none}.platform-trigger .platform-current{max-width:70px;overflow:hidden;text-overflow:ellipsis}.generate-button{width:85px;flex-shrink:0}.creator-action.icon-only{width:28px}}

/* Screenshot-matched TK gallery: 5 cards, original 9:16 ratio, no duplicate badges/titles. */
.featured-panel{height:auto;min-height:0;align-items:stretch}
.featured-gallery{gap:14px;align-items:flex-start;min-height:0}
.photo-card{flex:0 0 calc((100% - 56px) / 5);aspect-ratio:9/16;height:auto;min-width:0;box-shadow:none;border-radius:15px;background:#f7f7f7}
.photo-card::after{display:none}
.photo-card .photo-video{width:100%;height:100%;object-fit:fill;border-radius:inherit}
.photo-card .photo-play{top:50%}
.photo-card:hover{transform:translateY(-3px)}
@media(max-width:1500px){.photo-card{flex-basis:194px}}
@media(max-width:1150px){.photo-card{flex-basis:185px}}
@media(max-width:780px){.featured-panel{height:auto}.featured-gallery{overflow-x:auto;scroll-snap-type:x proximity}.photo-card{flex:0 0 174px;height:auto;scroll-snap-align:start}.featured-text{flex:0 0 70px}.featured-gallery::-webkit-scrollbar{height:0}}


/* Pixmini → FunmoreTV 短剧创作入口 */
.top-actions a.short-drama-button{padding:0 14px;text-decoration:none;color:#151515;background:#fff;transition:background .15s ease,color .15s ease}
.top-actions a.short-drama-button:hover{background:#f6f1ff;color:#424ad8}
.top-actions a.short-drama-button svg{flex:0 0 20px;width:20px;height:20px;stroke-width:1.8}
@media (max-width:480px){.top-actions a.short-drama-button{padding:0 9px;gap:5px}.top-actions a.short-drama-button svg{width:16px;height:16px;flex-basis:16px}}


/* Pixmini 侧边栏：鼠标悬停展开文字菜单，覆盖内容而不改变工作台宽度 */
.sidebar{align-items:flex-start;width:var(--rail);border-right:1px solid #edf0f5;transition:width .24s cubic-bezier(.2,.8,.2,1),box-shadow .24s ease;overflow:visible}
.sidebar:hover,.sidebar.expanded,.sidebar:has(:focus-visible){width:228px;box-shadow:12px 3px 35px rgba(39,47,70,.095)}
.brand-logo{margin-left:calc((var(--rail) - 42px)/2);margin-top:15px;flex:0 0 42px;width:42px;height:42px;position:relative;overflow:visible;transition:none}
.brand-logo img{width:30px;height:30px;flex:0 0 30px;object-fit:contain}
.brand-name{position:absolute;left:55px;top:8px;font-size:17px;font-weight:700;line-height:26px;color:#222534;letter-spacing:.1px;white-space:nowrap;pointer-events:none;opacity:0;transform:translateX(-7px);transition:opacity .15s,transform .18s}
.sidebar:hover .brand-name,.sidebar.expanded .brand-name,.sidebar:has(:focus-visible) .brand-name{opacity:1;transform:translateX(0)}
.side-icons{align-items:flex-start;width:100%;margin-top:26px;gap:5px}
.side-item,.menu-trigger{display:flex;align-items:center;justify-content:flex-start;flex-shrink:0;gap:0;padding:0;margin-left:calc((var(--rail) - 56px)/2);width:56px;height:55px;text-align:left;border-radius:10px;overflow:hidden;white-space:nowrap;transition:width .24s cubic-bezier(.2,.8,.2,1),background .16s ease}
.side-item-icon{height:55px;width:56px;flex:0 0 56px;display:grid;place-items:center;line-height:1}
.side-item-icon svg{display:block;width:23px;height:23px;stroke-width:2}
.side-label{display:block;flex:0 0 auto;font-size:14px;font-weight:550;line-height:1.4;letter-spacing:.1px;white-space:nowrap;color:#2d323b;opacity:0;transform:translateX(-8px);transition:opacity .13s ease,transform .17s ease;pointer-events:none}
.sidebar:hover .side-item,.sidebar.expanded .side-item,.sidebar:has(:focus-visible) .side-item,
.sidebar:hover .menu-trigger,.sidebar.expanded .menu-trigger,.sidebar:has(:focus-visible) .menu-trigger{width:calc(100% - 28px)}
.sidebar:hover .side-label,.sidebar.expanded .side-label,.sidebar:has(:focus-visible) .side-label{opacity:1;transform:translateX(0);transition-delay:.065s}
.menu-trigger{margin-top:auto;margin-bottom:16px;background:transparent}
.menu-trigger:hover{background:#f1f3f8}
.menu-trigger .side-item-icon svg{width:22px;height:22px}
.flyout-menu{left:calc(100% - 2px)}
@media (max-width:780px){
 .brand-logo{margin-left:calc((var(--rail) - 42px)/2)}
 .side-item,.menu-trigger{margin-left:calc((var(--rail) - 56px)/2);height:50px}
 .side-item-icon{height:50px}
 .side-item{width:56px}
 .sidebar:hover,.sidebar.expanded,.sidebar:has(:focus-visible){width:214px}
}
@media (prefers-reduced-motion:reduce){.sidebar,.side-item,.menu-trigger,.side-label,.brand-name{transition:none!important}}
