:root{--ink:#171717;--muted:#696969;--green:#171717;--green-dark:#000;--green-soft:#eeeeeb;--cream:#f4f2ec;--paper:#fbfaf7;--line:#d8d8d4;--white:#fff;--shadow:0 25px 70px rgba(20,20,20,.1)}
.attachment-tray.hidden{display:none!important}
.image-check,.image-toggle{display:none!important}
.video-assets-warning{margin:0 0 12px;padding:10px;border-left:2px solid #171717;background:#f3f2ee;color:#6f7471;font-size:8px;line-height:1.6}
.video-assets summary{pointer-events:none}.video-field-row:has(#video-seed){display:none!important}.video-preview{background:#fff!important}.video-preview-empty{color:#797e7b!important}.video-preview-empty>span{border-color:#d7d9d7!important;color:#171717!important}.video-preview-empty strong{color:#171717!important}.video-preview-result{width:min(84%,760px);height:auto;aspect-ratio:16/9;justify-content:center;border:1px solid #d7d9d7;border-radius:12px;background:#f0efeb;color:#777!important}.video-preview-result.portrait{width:auto;height:min(78%,560px)}.video-preview-result.square{width:min(70%,560px)}.video-preview-result>span{border-color:#c8cbc8!important;color:#171717!important}.video-preview-result strong{color:#171717!important}.video-preview-result small{color:#777!important}
.video-studio{width:min(1180px,100%);align-self:start}.video-creation-grid{display:grid;grid-template-columns:380px minmax(0,1fr);gap:18px}.video-controls{padding:22px;border:1px solid #d6d8d5;border-radius:16px;background:#fff}.video-field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.video-field label,.video-duration label{font-size:11px;font-weight:700}.video-field input,.video-field select,.video-field textarea{width:100%;border:1px solid #cfd2cf;border-radius:8px;outline:0;background:#fbfaf7;color:#171717}.video-field input,.video-field select{height:42px;padding:0 12px}.video-field textarea{min-height:138px;padding:12px;resize:vertical;line-height:1.6}.video-field>small{align-self:flex-end;color:#8a8e8b;font-size:8px}.video-field input:focus,.video-field select:focus,.video-field textarea:focus{border-color:#171717}.video-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.video-duration{margin-bottom:17px}.video-duration label{display:flex;justify-content:space-between}.video-duration output{font-size:9px;font-weight:500}.video-duration input{width:100%;margin-top:10px;accent-color:#171717}.video-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:2px 0 18px}.video-options label{font-size:10px}.video-options input{margin:0 6px 0 0;accent-color:#171717}.video-assets{margin-top:5px;border-top:1px solid #e3e4e1;border-bottom:1px solid #e3e4e1}.video-assets summary{display:flex;align-items:center;justify-content:space-between;padding:15px 0;cursor:pointer;list-style:none}.video-assets summary::-webkit-details-marker{display:none}.video-assets summary span{font-size:11px;font-weight:700}.video-assets summary small{color:#858a87;font-size:8px}.video-asset-row{display:grid;grid-template-columns:minmax(0,1fr) 54px 55px;align-items:center;gap:8px;padding:13px 0;border-top:1px solid #ececea}.video-asset-row>div{display:flex;min-width:0;flex-direction:column}.video-asset-row strong{font-size:10px}.video-asset-row small{margin-top:5px;color:#878c89;font-size:7px;line-height:1.5}.video-asset-row button{height:32px;border:1px solid #cfd2cf;border-radius:7px;background:#fbfaf7;cursor:pointer;font-size:9px;font-weight:700}.video-asset-row>span{overflow:hidden;color:#777c79;font-size:8px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.video-run-row{display:grid;grid-template-columns:44px 1fr;gap:8px;margin-top:19px}.reset-video-button,.generate-video-button{min-height:46px;border:0;border-radius:9px;cursor:pointer}.reset-video-button{border:1px solid #cfd2cf;background:#fff;font-size:18px}.generate-video-button{display:flex;align-items:center;justify-content:center;gap:11px;background:#171717;color:#fff}.generate-video-button strong{font-size:11px}.generate-video-button span{color:#bbb;font-size:8px}.video-preview{min-height:670px;display:grid;place-items:center;overflow:hidden;border:1px solid #d6d8d5;border-radius:16px;background:#111}.video-preview-empty,.video-preview-result{display:flex;align-items:center;flex-direction:column;color:#aaa;text-align:center}.video-preview-empty>span,.video-preview-result>span{width:48px;height:48px;display:grid;place-items:center;border:1px solid #444;border-radius:13px;color:#fff;font-size:19px}.video-preview-empty strong,.video-preview-result strong{margin-top:16px;color:#fff;font-size:14px}.video-preview-empty p{margin:8px 0 0;font-size:9px}.video-preview-result small{margin-top:8px;color:#aaa;font-size:8px}.video-gallery{margin-top:18px}.video-gallery header{display:flex;align-items:center;justify-content:space-between;padding:15px 2px}.video-gallery header div{display:flex;flex-direction:column}.video-gallery header strong{font-size:15px}.video-gallery header small{margin-top:5px;color:#858a87;font-size:8px}.video-gallery header>span{color:#737875;font-size:9px}.video-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.video-gallery-empty{grid-column:1/-1;min-height:130px;display:grid;place-items:center;border:1px dashed #cdd0cd;border-radius:13px;color:#898d8a;font-size:10px}.video-gallery-item{aspect-ratio:16/9;display:flex;align-items:flex-end;padding:13px;border-radius:11px;background:#202020;color:#fff;font-size:9px}.video-gallery-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1100px){.video-creation-grid{grid-template-columns:340px minmax(0,1fr)}.video-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.video-creation-grid{grid-template-columns:1fr}.video-preview{min-height:430px}.video-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.image-studio{width:min(1180px,100%);align-self:start}.image-creation-grid{display:grid;grid-template-columns:360px minmax(0,1fr);gap:18px}.image-controls{padding:22px;border:1px solid #d6d8d5;border-radius:16px;background:#fff}.image-field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.image-field label,.image-check>span,.image-toggle>span{font-size:11px;font-weight:700}.image-field input,.image-field select,.image-field textarea{width:100%;border:1px solid #cfd2cf;border-radius:8px;outline:0;background:#fbfaf7;color:#171717}.image-field input,.image-field select{height:42px;padding:0 12px}.image-field input:disabled{color:#7f8481;background:#f1f0ec}.image-field textarea{min-height:118px;padding:12px;resize:vertical;line-height:1.6}.image-field input:focus,.image-field select:focus,.image-field textarea:focus{border-color:#171717}.image-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.image-check,.image-toggle{min-height:39px;display:flex;align-items:center;gap:9px}.image-check input{width:16px;height:16px;margin:0;accent-color:#171717}.image-check b{width:16px;height:16px;display:grid;place-items:center;border:1px solid #aaa;border-radius:50%;color:#777;font-size:9px}.image-toggle{justify-content:space-between}.image-toggle input{position:absolute;opacity:0;pointer-events:none}.image-toggle i{position:relative;width:34px;height:20px;border-radius:999px;background:#a9aaa7;cursor:pointer}.image-toggle i:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:.18s}.image-toggle input:checked+i{background:#171717}.image-toggle input:checked+i:after{transform:translateX(14px)}.reference-upload{width:100%;min-height:48px;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;padding:0 10px;border:1px solid #cfd2cf;border-radius:8px;background:#fbfaf7;cursor:pointer;text-align:left}.reference-upload span{margin:0!important;font-size:16px}.reference-upload strong{font-size:10px}.reference-upload b{padding:7px 10px;border:1px solid #c9cbc9;border-radius:7px;background:#fff;font-size:9px}.reference-list{display:flex;gap:7px;overflow-x:auto;margin-top:9px}.reference-thumb{position:relative;width:54px;height:54px;flex:0 0 auto}.reference-thumb img{width:100%;height:100%;object-fit:cover;border-radius:7px}.reference-thumb button{position:absolute;top:-5px;right:-5px;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:#171717;color:#fff;cursor:pointer}.image-run-row{display:grid;grid-template-columns:44px 1fr;gap:8px;margin-top:19px}.reset-image-button,.generate-image-button{min-height:46px;border:0;border-radius:9px;cursor:pointer}.reset-image-button{border:1px solid #cfd2cf;background:#fff;font-size:18px}.generate-image-button{display:flex;align-items:center;justify-content:center;gap:11px;background:#171717;color:#fff}.generate-image-button strong{font-size:11px}.generate-image-button span{color:#bbb;font-size:8px}.image-preview{min-height:620px;display:grid;place-items:center;overflow:hidden;border:1px solid #d6d8d5;border-radius:16px;background:#fff}.image-preview-empty{display:flex;align-items:center;flex-direction:column;color:#797e7b;text-align:center}.image-preview-empty>span{width:48px;height:48px;display:grid;place-items:center;border:1px solid #d7d9d7;border-radius:13px;color:#171717;font-size:19px}.image-preview-empty strong{margin-top:16px;color:#171717;font-size:14px}.image-preview-empty p{margin:8px 0 0;font-size:9px}.image-preview-grid{width:100%;height:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px}.generated-placeholder{min-height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:25px;border-radius:10px;background:#efeee9;color:#777;text-align:center}.generated-placeholder strong{color:#171717;font-size:12px}.generated-placeholder small{margin-top:8px;font-size:8px}.image-gallery{margin-top:18px}.image-gallery header{display:flex;align-items:center;justify-content:space-between;padding:15px 2px}.image-gallery header div{display:flex;flex-direction:column}.image-gallery header strong{font-size:15px}.image-gallery header small{margin-top:5px;color:#858a87;font-size:8px}.image-gallery header>span{color:#737875;font-size:9px}.image-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.image-gallery-empty{grid-column:1/-1;min-height:150px;display:grid;place-items:center;border:1px dashed #cdd0cd;border-radius:13px;color:#898d8a;font-size:10px}.gallery-placeholder{aspect-ratio:1;display:flex;align-items:flex-end;padding:13px;border-radius:11px;background:#e8e7e2;color:#171717;font-size:9px}.gallery-placeholder span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1100px){.image-creation-grid{grid-template-columns:320px minmax(0,1fr)}.image-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.image-creation-grid{grid-template-columns:1fr}.image-preview{min-height:430px}.image-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}.hidden{display:none!important}.page-width{width:min(1180px,calc(100% - 48px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:20;height:72px;border-bottom:1px solid rgba(23,23,23,.1);background:rgba(244,242,236,.9);backdrop-filter:blur(18px)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:11px}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--ink);color:#fff;font-size:11px;font-weight:800;letter-spacing:.08em}.brand-copy{display:flex;flex-direction:column;line-height:1.05}.brand-copy strong{font-size:17px;letter-spacing:-.02em}.brand-copy small{margin-top:5px;color:var(--ink);font-size:7px;font-weight:800;letter-spacing:.17em}.auth-actions{display:flex;gap:8px}.login-button,.signup-button,.primary-button,.secondary-button{min-height:42px;padding:0 18px;border:0;border-radius:11px;font-weight:700;cursor:pointer;transition:.2s}.login-button{background:transparent}.login-button:hover{background:rgba(255,255,255,.7)}.signup-button,.primary-button{color:#fff;background:var(--ink)}.signup-button:hover,.primary-button:hover{background:var(--green-dark);transform:translateY(-1px)}.secondary-button{border:1px solid #cbd3ce;background:rgba(255,255,255,.45)}.secondary-button:hover{background:#fff}
.hero{min-height:calc(100vh - 136px);padding:76px 0 92px;display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:72px}.kicker{margin:0 0 18px;color:#171717;font-size:9px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}.hero h1,.section-heading h2,.about-card h2{margin:0;letter-spacing:-.05em;line-height:1.1}.hero h1{max-width:580px;color:#171717;font-size:clamp(46px,5vw,72px)}.hero h1 span{color:#171717}.hero-text{max-width:575px;margin:25px 0 0;color:#555;font-size:17px;line-height:1.9}.hero-actions{display:flex;gap:11px;margin-top:32px}.hero-actions button{min-height:49px;padding:0 23px}.hero-note{display:flex;gap:10px;margin-top:26px;color:#6a6a6a;font-size:12px}.hero-note span{width:8px;height:8px;margin-top:3px;flex:0 0 auto;border-radius:50%;background:#171717;box-shadow:0 0 0 5px rgba(23,23,23,.1)}.hero-note p{margin:0}
.hero-map{position:relative;height:520px;overflow:hidden;border:1px solid #d2d8d4;border-radius:28px;background:rgba(255,255,255,.62);box-shadow:var(--shadow)}.map-grid{position:absolute;inset:0;opacity:.28;background-image:linear-gradient(#dce3df 1px,transparent 1px),linear-gradient(90deg,#dce3df 1px,transparent 1px);background-size:32px 32px;mask-image:radial-gradient(circle at center,#000,transparent 76%)}.map-lines{position:absolute;inset:10px 0 0;width:100%;height:100%}.map-lines path{fill:none;stroke:#b7c7c0;stroke-width:1.2;stroke-dasharray:5 6}.map-node{position:absolute;z-index:2;width:142px;min-height:82px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:13px;border:1px solid #d9dfdb;border-radius:15px;background:rgba(255,255,255,.94);text-align:center;box-shadow:0 10px 28px rgba(29,53,45,.08)}.map-node>span:not(.node-icon){color:var(--green);font-size:8px;font-weight:800;letter-spacing:.12em}.map-node strong{margin-top:6px;font-size:13px}.map-node small{margin-top:5px;color:#81908a;font-size:8px;line-height:1.45}.map-center{left:50%;top:50%;width:180px;min-height:130px;transform:translate(-50%,-50%);border-color:#bfd3c9}.map-center .node-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:var(--ink);color:#fff;font-size:9px;font-weight:800}.map-center strong{margin-top:10px;font-size:18px}.map-chat{left:58px;top:56px}.map-image{right:58px;top:56px}.map-video{left:28px;top:255px}.map-models{right:28px;top:255px}.map-works{left:95px;bottom:36px}.map-credits{right:95px;bottom:36px}
.site-footer{padding:28px 0;border-top:1px solid #d7ded9}.site-footer>div{display:flex;align-items:center;justify-content:space-between;gap:20px}.site-footer p,.site-footer>div>span{color:#7d8984;font-size:10px}
.studio-view{min-height:100vh;display:grid;grid-template-columns:270px minmax(0,1fr);background:#f7f6f2}.studio-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:22px 16px 16px;border-right:1px solid #dedfdc;background:#efeee9}.studio-brand{display:flex;align-items:center;gap:11px;padding:0 8px 20px}.studio-brand strong{font-size:17px}.new-creation{width:100%;min-height:42px;padding:0 14px;border:1px solid #d2d5d2;border-radius:10px;background:#fbfaf7;cursor:pointer;font-weight:700;text-align:left}.studio-nav{display:grid;gap:4px;margin-top:18px}.studio-nav button{width:100%;min-height:56px;display:grid;grid-template-columns:28px 1fr;align-items:center;gap:8px;padding:7px 10px;border:0;border-radius:10px;background:transparent;cursor:pointer;text-align:left}.studio-nav button:hover,.studio-nav button.active{background:#dddcd7}.studio-nav button>span{font-size:16px;text-align:center}.studio-nav button div{display:flex;flex-direction:column}.studio-nav strong{font-size:12px}.studio-nav small{margin-top:4px;color:#858c89;font-size:8px}.nav-divider{height:1px;margin:18px 8px 0;background:#d9dad7}.secondary-nav{margin-top:9px}.credit-card{margin-top:auto;padding:15px;border:1px solid #d4d8d4;border-radius:13px;background:#f8f7f3}.credit-card>span{color:var(--green);font-size:7px;font-weight:800;letter-spacing:.14em}.credit-card>strong{display:block;margin-top:8px;font-size:22px}.credit-card>strong small{font-size:9px}.credit-card p{margin:4px 0 12px;color:#838c87;font-size:8px}.credit-card button{width:100%;min-height:32px;border:0;border-radius:8px;background:var(--ink);color:#fff;cursor:pointer;font-size:9px;font-weight:700}.profile-button{width:100%;display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:9px;margin-top:10px;padding:9px;border:0;border-radius:10px;background:transparent;cursor:pointer;text-align:left}.profile-button:hover{background:#dddcd7}.profile-button>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-size:9px;font-weight:800}.profile-button div{display:flex;min-width:0;flex-direction:column}.profile-button strong{font-size:10px}.profile-button small{overflow:hidden;margin-top:3px;color:#8a918d;font-size:7px;text-overflow:ellipsis}.profile-button b{font-size:10px;letter-spacing:2px}.studio-main{min-width:0}.studio-header{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 30px;border-bottom:1px solid #e1e2df;background:rgba(251,250,247,.8);backdrop-filter:blur(16px)}.studio-header>div:first-child{display:flex;flex-direction:column}.studio-header strong{font-size:14px}.studio-header span{margin-top:5px;color:#868e8a;font-size:9px}.studio-header-actions{display:flex;gap:7px}.studio-header-actions button{min-height:34px;padding:0 13px;border:1px solid #d6dad6;border-radius:8px;background:#fff;cursor:pointer;font-size:9px}.studio-content{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:50px 30px}.empty-studio{width:min(800px,100%);display:flex;align-items:center;flex-direction:column;text-align:center}.large-tool-icon{width:54px;height:54px;display:grid;place-items:center;margin-bottom:23px;border:1px solid #d6ddd8;border-radius:16px;background:#fff;color:var(--green);font-size:23px;box-shadow:0 10px 30px rgba(25,48,40,.06)}.empty-studio h1{margin:0;font-size:38px;letter-spacing:-.04em}.empty-studio>p:not(.kicker){max-width:570px;margin:14px 0 0;color:#74807b;font-size:12px;line-height:1.7}.prompt-box{width:100%;margin-top:35px;overflow:hidden;border:1px solid #ccd3cf;border-radius:16px;background:#fff;box-shadow:0 18px 50px rgba(25,48,40,.07)}.prompt-box textarea{width:100%;min-height:130px;padding:20px;resize:none;border:0;outline:0;background:transparent;color:var(--ink);line-height:1.7}.prompt-box>div{display:flex;align-items:center;gap:12px;padding:11px;border-top:1px solid #eef0ed}.prompt-box button{border:0;background:transparent;cursor:pointer;color:#6f7b76;font-size:9px}.prompt-box span{margin-left:auto;color:#7b8782;font-size:9px}.prompt-box .send-button{width:34px;height:34px;border-radius:9px;background:var(--ink);color:#fff;font-size:16px}.suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px}.suggestions button{min-height:35px;padding:0 13px;border:1px solid #dadeda;border-radius:999px;background:rgba(255,255,255,.65);color:#6e7975;cursor:pointer;font-size:9px}.placeholder-panel{width:min(650px,100%);min-height:190px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;margin-top:34px;border:1px dashed #b9c7c0;border-radius:18px;background:rgba(255,255,255,.5)}.placeholder-panel strong{font-size:15px}.placeholder-panel span{color:#7c8983;font-size:9px}
.workspace-panel{width:min(820px,100%);align-self:start}.panel-heading{margin-bottom:28px}.panel-heading .kicker{margin-bottom:10px}.panel-heading h1{margin:0;font-size:38px;letter-spacing:-.04em}.panel-heading>p:last-child{max-width:660px;margin:12px 0 0;color:#6f7472;font-size:12px;line-height:1.7}.empty-list-card{min-height:220px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:32px;border:1px dashed #c9ccca;border-radius:18px;background:rgba(255,255,255,.52);text-align:center}.empty-list-card>span{font-size:28px}.empty-list-card strong{margin-top:17px;font-size:16px}.empty-list-card p{max-width:470px;margin:9px 0 0;color:#7b807e;font-size:10px;line-height:1.7}.settings-card,.redeem-card{margin-top:16px;padding:24px;border:1px solid #d6d8d5;border-radius:17px;background:#fff}.settings-card h2{margin:0;font-size:16px}.settings-card>p{margin:8px 0 20px;color:#7b807e;font-size:10px}.folder-setting{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid #ececea}.folder-setting>div{display:flex;min-width:0;flex-direction:column}.folder-setting strong{font-size:12px}.folder-setting small{overflow:hidden;margin-top:6px;color:#858a87;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.folder-setting button,.redeem-card button{min-height:38px;padding:0 15px;flex:0 0 auto;border:1px solid #d2d4d2;border-radius:9px;background:#f8f7f3;cursor:pointer;font-size:10px;font-weight:700}.folder-setting button:hover,.redeem-card button:hover{border-color:#171717}.account-settings{display:grid;padding-block:14px}.account-settings h2{padding:9px 10px 15px}.account-settings>button{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 10px;border:0;border-top:1px solid #ececea;background:transparent;cursor:pointer;text-align:left}.account-settings>button span{display:flex;flex-direction:column}.account-settings>button small{margin-top:5px;color:#858a87;font-size:9px}.account-settings>button b{font-size:20px;font-weight:400}.account-settings>button:hover{background:#f7f7f4}.danger-setting strong{color:#a22}.recharge-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.recharge-grid button{min-height:130px;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:20px;border:1px solid #d5d7d5;border-radius:15px;background:#fff;cursor:pointer;text-align:left}.recharge-grid button:hover{border-color:#171717;transform:translateY(-1px)}.recharge-grid strong{font-size:20px}.recharge-grid span{margin-top:12px;color:#7c817e;font-size:9px;line-height:1.6}.redeem-card label{display:block;font-size:12px;font-weight:700}.redeem-card>div{display:flex;gap:9px;margin-top:10px}.redeem-card input{min-width:0;height:42px;flex:1;padding:0 13px;border:1px solid #d2d4d2;border-radius:9px;outline:0}.redeem-card input:focus{border-color:#171717}.redeem-card small{display:block;margin-top:10px;color:#8a8e8c;font-size:8px}
.chat-studio{width:min(920px,100%);height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;align-self:stretch;gap:16px}.chat-output{min-height:0;overflow:auto;padding:8px 2px}.chat-message{max-width:78%;margin:12px 0 12px auto;padding:13px 15px;border-radius:14px 14px 3px 14px;background:#e7e6e1;font-size:13px;line-height:1.7;white-space:pre-wrap}.chat-message.assistant{margin-right:auto;margin-left:0;border-radius:14px 14px 14px 3px;background:#fff;border:1px solid #dedfdd}.chat-message small{display:block;margin-top:7px;color:#777;font-size:8px}.chat-prompt-box{margin:0;overflow:visible}.attachment-tray{display:flex!important;gap:9px;overflow-x:auto;padding:11px 11px 0!important;border-top:0!important}.attachment-card{position:relative;width:112px;height:70px;display:grid;grid-template-columns:42px 1fr;align-items:center;gap:8px;flex:0 0 auto;padding:8px;border:1px solid #dedfdd;border-radius:10px;background:#f7f6f2}.attachment-card img{width:42px;height:52px;object-fit:cover;border-radius:6px}.attachment-file-icon{width:42px;height:52px;display:grid;place-items:center;margin-left:0!important;border-radius:6px;background:#e9e8e3;font-size:9px!important;font-weight:800}.attachment-card div{min-width:0}.attachment-card strong,.attachment-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-card strong{font-size:8px}.attachment-card small{margin-top:5px;color:#888;font-size:7px}.attachment-remove{position:absolute;top:4px;right:4px;width:18px;height:18px!important;display:grid;place-items:center;padding:0!important;border-radius:50%!important;background:rgba(23,23,23,.82)!important;color:#fff!important;font-size:12px!important}.chat-prompt-box textarea{min-height:54px;height:54px;max-height:240px;overflow-y:hidden;padding:15px 20px;font-size:14px}.composer-toolbar{position:relative;min-height:56px}.composer-control{min-height:38px!important;display:inline-flex;align-items:center;gap:8px!important;padding:0 12px!important;border:1px solid #d6d8d6!important;border-radius:9px!important;background:#faf9f6!important;color:#171717!important;font-size:10px!important;font-weight:700}.composer-control:hover{border-color:#171717!important}.plus-icon{width:14px;display:inline-grid;place-items:center;margin:0!important;color:#171717!important;font-size:16px!important;font-family:Arial,sans-serif;font-weight:900!important;line-height:1}.model-picker{position:relative}.model-button{min-width:190px;justify-content:flex-start}.model-button strong{font-size:10px}.chevron-icon{width:20px;height:38px;display:grid;place-items:center;margin-left:auto;align-self:center;line-height:0}.chevron-icon svg{width:11px;height:8px;display:block;fill:none;stroke:#171717;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.model-symbol{font-size:13px}.model-menu{position:absolute;left:0;bottom:calc(100% + 9px);z-index:10;width:270px;max-height:min(520px,65vh);overflow-y:auto;padding:6px;border:1px solid #d5d7d5;border-radius:12px;background:#fff;box-shadow:0 18px 55px rgba(0,0,0,.13)}.model-menu button{width:100%;display:flex;align-items:flex-start;flex-direction:column;gap:5px;padding:11px!important;border-radius:8px!important;text-align:left}.model-menu button:hover{background:#f0efeb}.model-menu strong{font-size:10px}.model-menu small{color:#818683;font-size:8px}.composer-toolbar .send-button{width:38px;height:38px;display:grid;place-items:center;margin-left:auto;padding:0;background:#171717;color:#fff}.composer-toolbar .send-button svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.folder-setting small.folder-ready{color:#171717;font-weight:700}
.history-drawer{position:fixed;inset:0;z-index:120}.history-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.2)}.history-drawer aside{position:absolute;top:0;right:0;width:min(390px,92vw);height:100%;display:flex;flex-direction:column;background:#f8f7f3;box-shadow:-18px 0 55px rgba(0,0,0,.13)}.history-drawer header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #dedfdd}.history-drawer header div{display:flex;flex-direction:column}.history-drawer header strong{font-size:15px}.history-drawer header small{margin-top:4px;color:#818683;font-size:8px}.history-drawer header button{width:32px;height:32px;border:0;border-radius:8px;background:#ecebe6;cursor:pointer;font-size:18px}.history-list{overflow:auto;padding:12px}.history-empty{padding:44px 15px;color:#888;font-size:10px;text-align:center}.history-item{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:6px;margin-bottom:4px}.history-open{min-width:0;padding:11px 12px;border:0;border-radius:9px;background:transparent;cursor:pointer;text-align:left}.history-open:hover{background:#e9e8e3}.history-open strong,.history-open small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-open strong{font-size:11px}.history-open small{margin-top:5px;color:#848986;font-size:8px}.history-delete{width:30px;height:30px;align-self:center;border:0;border-radius:7px;background:transparent;color:#888;cursor:pointer;font-size:15px}.history-delete:hover{background:#eee1df;color:#a22}
.auth-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px}.auth-backdrop{position:absolute;inset:0;border:0;background:rgba(15,28,24,.58);backdrop-filter:blur(7px)}.auth-card{position:relative;z-index:1;width:min(430px,100%);padding:36px;border-radius:21px;background:#fbfaf7;box-shadow:0 30px 100px rgba(0,0,0,.3)}.auth-card .brand-mark{margin-bottom:25px}.auth-card h2{margin:0;font-size:29px;letter-spacing:-.04em}.auth-card>p:not(.kicker){margin:12px 0 26px;color:#717e78;font-size:11px;line-height:1.7}.auth-card label{display:flex;flex-direction:column;gap:8px}.auth-card label span{font-size:10px;font-weight:700}.auth-card input{width:100%;height:46px;padding:0 13px;border:1px solid #cfd6d1;border-radius:10px;outline:0;background:#fff}.auth-card input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(22,115,95,.1)}.auth-submit{width:100%;min-height:46px;margin-top:13px;border:0;border-radius:10px;background:var(--ink);color:#fff;cursor:pointer;font-weight:700}.auth-card>small{display:block;margin-top:14px;color:#939b97;font-size:8px;line-height:1.6;text-align:center}.auth-close{position:absolute;top:15px;right:15px;width:32px;height:32px;border:0;border-radius:8px;background:#efefeb;cursor:pointer;font-size:18px}.support-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:24px}.support-backdrop{position:absolute;inset:0;border:0;background:rgba(15,28,24,.48);backdrop-filter:blur(5px)}.support-card{position:relative;z-index:1;width:min(330px,100%);padding:28px;border:1px solid #d9ded9;border-radius:16px;background:#fbfaf7;box-shadow:0 22px 70px rgba(0,0,0,.24)}.support-card .kicker{margin:0 0 12px}.support-card h2{margin:0;font-size:22px}.support-card p:not(.kicker){margin:10px 0 20px;color:#717e78;font-size:11px;line-height:1.7}.support-qq-row{display:flex;align-items:center;gap:8px}.support-qq{flex:1;display:block;padding:14px 16px;border-radius:10px;background:#efeee9;color:var(--ink);font-size:17px;letter-spacing:.02em;text-align:center}.support-qq-row button{min-height:44px;padding:0 14px;border:1px solid #cfd6d1;border-radius:9px;background:#fff;color:var(--ink);cursor:pointer;font-size:11px;font-weight:700}.support-qq-row button:hover{background:#efeee9}.support-close{position:absolute;top:12px;right:12px;width:30px;height:30px;border:0;border-radius:8px;background:#efefeb;cursor:pointer;font-size:18px}.toast{position:fixed;left:50%;bottom:28px;z-index:130;max-width:calc(100% - 40px);padding:12px 17px;border-radius:9px;background:#13241f;color:#fff;opacity:0;pointer-events:none;transform:translate(-50%,12px);transition:.22s;box-shadow:0 14px 40px rgba(0,0,0,.2);font-size:11px}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:980px){.hero{grid-template-columns:1fr}.hero-map{width:min(720px,100%);margin:0 auto}}
@media(max-width:720px){.page-width{width:min(100% - 28px,1180px)}.site-header{height:64px}.brand-copy small,.login-button{display:none}.signup-button{padding:0 13px}.hero{min-height:0;padding-top:55px;gap:55px}.hero h1{font-size:43px}.hero-actions{flex-direction:column}.hero-actions button{width:100%}.hero-map{height:500px}.map-node{width:116px}.map-center{width:150px}.map-chat{left:16px}.map-image{right:16px}.map-video{left:8px}.map-models{right:8px}.map-works{left:28px}.map-credits{right:28px}.site-footer>div{align-items:flex-start;flex-direction:column}.studio-view{grid-template-columns:74px minmax(0,1fr)}.studio-sidebar{padding:16px 9px}.studio-brand strong,.new-creation,.studio-nav button div,.credit-card,.profile-button div,.profile-button b{display:none}.studio-brand{justify-content:center;padding:0 0 18px}.studio-nav button{display:grid;grid-template-columns:1fr;place-items:center;padding:0}.nav-divider{margin-inline:4px}.profile-button{display:grid;grid-template-columns:1fr;place-items:center;padding:8px 0}.studio-header{height:auto;min-height:68px;padding:12px 16px}.studio-header span{display:none}.studio-header-actions{gap:4px}.studio-header-actions button{padding:0 8px}.studio-content{min-height:calc(100vh - 68px);padding:20px 12px}.empty-studio h1,.panel-heading h1{font-size:30px}.prompt-box>div>span{display:none}.prompt-box>div .send-button{margin-left:auto}.model-button{min-width:150px}.folder-setting{align-items:flex-start;flex-direction:column}.folder-setting button{width:100%}.recharge-grid{grid-template-columns:1fr}.redeem-card>div{flex-direction:column}.redeem-card button{width:100%}}
.usage-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.usage-heading button{min-width:72px;height:36px;border:1px solid #d2d5d2;border-radius:8px;background:#fff;cursor:pointer;font-size:10px;font-weight:700}.usage-heading button:disabled{cursor:wait;opacity:.55}.usage-state{min-height:220px;display:flex;align-items:center;justify-content:center;flex-direction:column;margin-top:30px;border:1px dashed #cdd0cd;border-radius:16px;color:#7c817e;text-align:center}.usage-state>span{font-size:19px;color:#171717}.usage-state strong{margin-top:20px;color:#171717;font-size:14px}.usage-state p{margin:8px 0 0;font-size:9px}.usage-table-wrap{margin-top:30px;overflow:auto;border:1px solid #d9dbd8;border-radius:14px;background:#fff}.usage-table{width:100%;min-width:850px;border-collapse:collapse}.usage-table th,.usage-table td{padding:14px 16px;border-bottom:1px solid #ececea;text-align:left;white-space:nowrap}.usage-table th{background:#f1f0ec;color:#646a67;font-size:9px;font-weight:700}.usage-table td{font-size:10px}.usage-table tbody tr:last-child td{border-bottom:0}.usage-table tbody tr:hover{background:#faf9f6}.usage-task-id{padding:0;border:0;background:transparent;color:#315c50;cursor:pointer;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}.usage-points{font-weight:800}.usage-status{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#e9e8e4;color:#565b58;font-size:8px;font-weight:700}.usage-status-succeeded{background:#e0f2e9;color:#176346}.usage-status-failed,.usage-status-cancelled{background:#f7e4e1;color:#9a332a}.usage-status-processing{background:#e4edf7;color:#285c8f}

.video-creation-grid{grid-template-columns:minmax(400px,460px) minmax(0,1fr);align-items:start}.video-right-column{min-width:0;display:grid;grid-template-rows:minmax(470px,1fr) auto;gap:18px}.video-preview{min-height:470px}.video-gallery{margin-top:0}.video-gallery header{padding-top:0}.video-gallery-empty{min-height:112px}.video-model-note{margin:0 0 17px;padding:10px 11px;border-left:2px solid #171717;background:#f3f2ee;color:#6f7471;font-size:8px;line-height:1.6}.video-assets-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 0}.video-assets-heading span{font-size:11px;font-weight:700}.video-assets-heading small{color:#858a87;font-size:8px}.video-negative-prompt{min-height:82px!important}.video-options{grid-template-columns:repeat(3,minmax(0,1fr))}.video-options label{display:flex;align-items:center;white-space:nowrap}.video-field input:disabled{color:#777;background:#f1f0ec}.video-preview-result{max-height:410px}.video-asset-row>span{cursor:help}
@media(max-width:1100px){.video-creation-grid{grid-template-columns:370px minmax(0,1fr)}.video-right-column{grid-template-rows:minmax(430px,1fr) auto}.video-preview{min-height:430px}.video-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.video-creation-grid{grid-template-columns:1fr}.video-right-column{grid-template-rows:minmax(390px,auto) auto}.video-preview{min-height:390px}.video-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.video-asset-row{grid-template-columns:minmax(0,1fr) 54px auto}.video-asset-count{max-width:58px}.video-asset-previews{grid-column:1/-1;display:flex;gap:7px;overflow-x:auto;min-width:0;padding:2px 0 1px}.video-asset-preview{position:relative;width:58px;height:58px;flex:0 0 auto;overflow:hidden;border:1px solid #dedfdd;border-radius:7px;background:#f1f0ec}.video-asset-preview img,.video-asset-preview video{width:100%;height:100%;display:block;object-fit:cover}.video-asset-preview>small{position:absolute;left:0;right:0;bottom:0;overflow:hidden;padding:12px 3px 3px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.video-asset-file-icon{width:100%;height:100%;display:grid;place-items:center;color:#555;font-size:12px;font-weight:700}.video-asset-remove{position:absolute;top:2px;right:2px;width:16px!important;height:16px!important;padding:0;border:0!important;border-radius:50%!important;background:rgba(23,23,23,.8)!important;color:#fff;cursor:pointer;font-size:13px!important;line-height:1}
.send-button:disabled,.generate-image-button:disabled,.generate-video-button:disabled{cursor:wait;opacity:.55}.generated-image{width:100%;height:100%;min-height:220px;object-fit:contain;border-radius:10px;background:#f1f0ec}.gallery-placeholder{position:relative;overflow:hidden}.gallery-placeholder img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.gallery-placeholder span{position:relative;z-index:1;max-width:100%;padding:5px 7px;border-radius:5px;background:rgba(255,255,255,.82)}.video-preview-result video{width:100%;height:100%;object-fit:contain;border-radius:11px;background:#fff}.video-gallery-item{position:relative;overflow:hidden}.video-gallery-item video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.video-gallery-item span{position:relative;z-index:1;max-width:100%;padding:5px 7px;border-radius:5px;background:rgba(0,0,0,.68)}

.auth-field-action{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:8px}.auth-field-action button{border:0;border-radius:10px;background:#e5ebe7;color:#173f35;cursor:pointer;font-weight:700}.auth-field-action button:disabled{opacity:.55;cursor:wait}.auth-secondary{width:100%;margin-top:12px;border:0;background:transparent;color:var(--green-dark);cursor:pointer;font-size:10px;font-weight:700}

/* Keep every authentication field visually separate in all modal modes. */
.auth-card{max-height:calc(100vh - 32px);overflow-y:auto}
.auth-card label{gap:9px}
.auth-card #auth-username-field:not(.hidden),
.auth-card #auth-password-field:not(.hidden),
.auth-card #auth-code-field:not(.hidden){margin-top:15px}
.auth-card .auth-submit{margin-top:18px}

.recharge-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.recharge-heading>div>p:last-child{margin:12px 0 0;color:#6f7472;font-size:12px;line-height:1.7}.credit-rate{flex:0 0 auto;padding:10px 14px;border:1px solid #d5d7d5;border-radius:999px;background:#fff;font-size:11px}.recharge-section,.redeem-card{margin-top:16px;padding:24px;border:1px solid #d6d8d5;border-radius:17px;background:#fff}.section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.redeem-card>.section-title-row{margin-top:0}.section-title-row h2{margin:0;font-size:16px}.section-title-row p{margin:7px 0 0;color:#7b807e;font-size:10px;line-height:1.6}.recharge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.recharge-grid button,.recharge-custom{min-height:112px;padding:18px;border:1px solid #d5d7d5;border-radius:14px;background:#fff}.recharge-grid button{position:relative}.recharge-grid button.selected,.recharge-custom.selected{border-color:#171717;box-shadow:0 0 0 1px #171717}.recharge-grid button.selected:after,.recharge-custom.selected:after{content:"✓";position:absolute;top:10px;right:11px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#171717;color:#fff;font-size:10px}.recharge-grid strong{font-size:18px}.recharge-grid span{margin-top:9px;font-size:10px}.recharge-custom{position:relative;display:flex;align-items:flex-start;justify-content:center;flex-direction:column}.recharge-custom input{width:100%;height:35px;margin-top:9px;padding:0 10px;border:1px solid #d2d4d2;border-radius:8px;outline:0;background:#fbfaf7;font-size:10px}.recharge-custom input:focus{border-color:#171717}.recharge-custom span{color:#7c817e}.recharge-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:14px 16px;border-radius:11px;background:#f3f2ee}.recharge-summary>span{font-size:10px}.recharge-summary b{font-size:11px}.recharge-summary button{min-height:38px;padding:0 16px;border:0;border-radius:9px;background:#171717;color:#fff;cursor:pointer;font-size:10px;font-weight:700}.redeem-card>.redeem-denominations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:0;margin-bottom:20px}.redeem-denominations span{display:grid;place-items:center;min-height:48px;border:1px solid #dedfdd;border-radius:10px;background:#f8f7f3;font-size:11px;font-weight:700}.redeem-card .redeem-action{display:flex;gap:9px;margin-top:10px}.redeem-card .redeem-action input{text-transform:uppercase}.redeem-card button:disabled,.recharge-summary button:disabled{cursor:wait;opacity:.55}
@media(max-width:720px){.recharge-heading{align-items:flex-start;flex-direction:column}.recharge-grid,.redeem-card>.redeem-denominations{grid-template-columns:1fr}.recharge-summary{align-items:stretch;flex-direction:column}.recharge-summary button{width:100%}}
.recharge-summary button:disabled{cursor:not-allowed}
.recharge-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;flex:0 0 auto}.recharge-actions button{width:92px}.recharge-actions .recharge-contact-button{border:1px solid #171717;background:#fff;color:#171717}.recharge-actions .recharge-contact-button:hover{background:#e8e7e2}
@media(max-width:720px){.recharge-actions{width:100%;grid-template-columns:1fr 1fr}.recharge-actions button{width:100%}}
.profile-menu-wrap{position:relative}.profile-menu{position:absolute;right:0;bottom:54px;left:0;z-index:30;display:grid;gap:3px;padding:7px;border:1px solid #d4d7d4;border-radius:11px;background:#fff;box-shadow:0 12px 30px rgba(20,28,24,.14)}.profile-menu.hidden{display:none}.profile-menu button{min-height:34px;padding:0 10px;border:0;border-radius:7px;background:transparent;cursor:pointer;color:#242624;font-size:9px;font-weight:700;text-align:left}.profile-menu button:hover{background:#f0efeb}.profile-menu button.danger{color:#a43333}.credit-card>strong{margin-bottom:12px}
@media(max-width:720px){.profile-menu{right:auto;bottom:50px;left:0;width:150px}.profile-menu-wrap{margin-top:auto}.profile-menu-wrap .profile-button{margin-top:10px}}
.generated-result-card,.generated-video-card,.media-record-card{min-width:0;overflow:hidden;border:1px solid #d6d8d5;border-radius:10px;background:#fff}.generated-result-card{display:flex;min-height:260px;flex-direction:column}.generated-video-card{width:100%;display:flex;flex-direction:column}.result-media{min-width:0;overflow:hidden;background:#efeee9}.generated-result-card .result-media{flex:1;display:grid;place-items:center}.generated-video-card .result-media{height:min(360px,55vh);background:#111}.result-media img,.result-media video{width:100%;height:100%;display:block;object-fit:contain}.media-record-card .result-media{aspect-ratio:1;background:#e8e7e2}.video-record-card .result-media{aspect-ratio:16/9;background:#111}.media-record-card .result-media img,.media-record-card .result-media video{object-fit:cover}.result-actions{display:flex;align-items:center;gap:6px;padding:8px;background:#fff}.result-actions button{min-width:0;min-height:31px;flex:1;padding:0 7px;border:1px solid #c9ceca;border-radius:7px;background:#fff;color:#171717;cursor:pointer;font-size:8px;font-weight:700;white-space:nowrap}.result-actions button:hover{background:#efeee9}.result-actions .primary-action{border-color:#171717;background:#171717;color:#fff}.result-actions .primary-action:hover{background:#30302f}.video-preview-result{width:100%;max-height:none}.image-preview-grid{align-items:stretch}.image-gallery-grid,.video-gallery-grid{align-items:start}
.image-preview{position:relative}
.image-preview-grid{position:absolute;inset:0;display:flex;flex-direction:column;gap:0;padding:0}
.image-preview-grid .generated-result-card{width:100%;height:100%;min-width:0;min-height:0;border:0;aspect-ratio:auto}
.image-preview-grid .result-media{width:100%;height:0;min-height:0;flex:1;padding:clamp(24px,3vw,40px);background:#fff}
.image-preview-grid .generated-image{width:100%;height:100%;min-height:0;object-fit:contain;background:#fff}
.image-preview-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:0 0 auto;padding:12px}
.image-preview-actions button{min-height:38px;font-size:10px}
.generated-result-card .result-media{cursor:zoom-in}
.generated-result-card .result-media:focus-visible{outline:2px solid #171717;outline-offset:-3px}
.image-lightbox{position:fixed;inset:0;z-index:160;display:grid;place-items:center;padding:24px}
.image-lightbox.hidden{display:none}
.image-lightbox-backdrop{position:absolute;inset:0;border:0;background:rgba(12,16,14,.76);backdrop-filter:blur(6px)}
.image-lightbox-card{position:relative;z-index:1;width:min(1000px,calc(100vw - 48px));height:min(850px,calc(100vh - 48px));display:flex;overflow:hidden;flex-direction:column;border-radius:16px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.42)}
.image-lightbox-media{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;flex:1;padding:clamp(28px,4vw,48px);overflow:hidden;background:#fff}
.image-lightbox-media img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
.image-lightbox-close{position:absolute;top:12px;right:12px;z-index:2;width:36px;height:36px;border:0;border-radius:9px;background:#f5f5f3;color:#171717;cursor:pointer;font-size:22px}
.image-lightbox-actions{flex:0 0 auto;padding:12px}
.image-lightbox-actions button{min-height:38px;font-size:10px}
@media(max-width:560px){.result-actions{flex-wrap:wrap}.result-actions button{flex-basis:calc(50% - 3px)}}
.folder-action-wrap{position:relative;display:flex}.folder-inline-hint{position:absolute;top:calc(100% + 7px);left:50%;z-index:80;width:max-content;max-width:250px;padding:8px 11px;border-radius:7px;background:#171717;color:#fff!important;font-size:9px!important;line-height:1.45;text-align:center;transform:translateX(-50%);box-shadow:0 8px 25px rgba(0,0,0,.18);pointer-events:none}.folder-inline-hint:before{content:"";position:absolute;bottom:100%;left:50%;border:5px solid transparent;border-bottom-color:#171717;transform:translateX(-50%)}.folder-inline-hint.hidden{display:none}
.folder-setting small.folder-warning{color:#a45a16;font-weight:700;white-space:normal}
.profile-button{cursor:default}.profile-button .profile-id-copy{display:block;max-width:100%;margin-top:3px;padding:0;border:0;background:transparent;color:#737a76;cursor:pointer;font:inherit;font-size:8px;text-align:left;overflow-wrap:anywhere}.profile-id-copy:disabled{cursor:default;color:#8a918d}.profile-id-copy:not(:disabled):hover{color:#171717;text-decoration:underline}.profile-id-copy:focus-visible,.profile-menu-trigger:focus-visible{outline:2px solid #171717;outline-offset:2px;border-radius:3px}.profile-menu-trigger{width:28px;height:30px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#171717;cursor:pointer}.profile-menu-trigger:hover{background:#efeee9}.profile-menu-trigger span{font-size:12px;font-weight:700;letter-spacing:1px}
.video-assets .video-asset-row{grid-template-columns:minmax(0,1fr) 54px 55px}.video-assets .video-asset-count{width:55px;max-width:55px}.video-asset-row>button:disabled{background:#ececea;color:#a3a5a2;border-color:#e3e4e1;cursor:not-allowed}.video-asset-row>.video-reference-duration{grid-column:1/-1;margin:0;color:#626763;font-size:9px;overflow-wrap:anywhere}.video-asset-duration{position:absolute;left:2px;top:2px;max-width:calc(100% - 20px);overflow:hidden;padding:2px;background:rgba(255,255,255,.9);color:#171717;font-size:7px;text-overflow:ellipsis;white-space:nowrap}
