/* Shared effect studios use the existing Bulin palette, type and controls. */
.effect-page{padding-top:34px;padding-bottom:80px;max-width:1240px}
.effect-breadcrumb{display:flex;gap:10px;color:#a9aaa5;font-size:12px;margin:0 0 30px}
.effect-breadcrumb a:hover{color:#deedac}
.effect-intro{max-width:820px;margin-bottom:34px}
.effect-intro h1{font-size:clamp(34px,4.5vw,58px);line-height:1.08;font-weight:650;letter-spacing:-.045em;margin:14px 0 18px;color:#f7f7f2}
.effect-intro>p:last-child{font-size:18px;line-height:1.6;color:#babbB4;max-width:680px}
.effect-workspace{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:28px;align-items:start;scroll-margin-top:calc(var(--effect-header-height,90px) + 24px)}
.effect-workspace :is(input,select,textarea,button){scroll-margin-top:calc(var(--effect-header-height,90px) + 24px)}
.effect-workspace form,.effect-result{border:1px solid #343632;border-radius:18px;background:#191b1a;min-width:0;overflow:hidden}
.effect-workspace form{padding:26px}
.effect-fields{border:0;padding:0;margin:0;min-width:0}
.effect-fields:disabled{opacity:.65}
.effect-field-heading{display:flex;gap:10px;align-items:center;margin:0 0 18px}
.effect-field-heading>span,.effect-scenes legend>span{font-size:11px;color:#deedac;letter-spacing:.06em}
.effect-field-heading h2,.effect-scenes legend{font-size:15px;font-weight:600;color:#f5f5ef;margin:0}
.effect-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.effect-photos[data-count="1"]{grid-template-columns:1fr}
.effect-photo{min-width:0}
.effect-photo-role{display:block;font-size:12px;font-weight:500;margin-bottom:8px;color:#d6d7d0}
.effect-upload{position:relative;display:block;cursor:pointer;border:1px dashed #484d40;border-radius:10px;background:#111412;overflow:hidden}
.effect-upload:focus-within{outline:2px solid #deedac;outline-offset:3px}
.effect-upload:hover{border-color:#deedac}
.effect-upload input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;inset:50%;pointer-events:none}
.effect-photo-preview{height:142px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;font-size:12px;color:#d8e6b1}
.effect-photo-preview>span:first-child{font-size:26px;font-weight:300}
.effect-photo-preview img{width:100%;height:100%;object-fit:contain}
.effect-remove{font-size:11px;color:#b8bab2;text-decoration:underline;text-underline-offset:3px;margin-top:4px;padding:8px 0;min-height:36px}
.effect-photo-tools{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:10px 0 26px}
.effect-photo-tools p{font-size:11px;line-height:1.6;color:#a9ada1;margin:0;max-width:300px}
.effect-swap{color:#deedac;font-size:12px;min-height:44px;padding:8px 12px;border:1px solid #474e3b;border-radius:8px;white-space:nowrap}
.effect-swap:disabled{opacity:.4;cursor:not-allowed}
.effect-scenes{border:0;padding:0;margin:0 0 26px;min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:9px}
.effect-scenes legend{padding:0;margin-bottom:16px}
.effect-scenes legend>span{margin-right:10px}
.effect-scene{display:block;position:relative;cursor:pointer}
.effect-scene>input{position:absolute;opacity:0;top:50%;left:12px;width:1px;height:1px}
.effect-scene>span{display:flex;flex-direction:column;gap:6px;height:100%;min-height:86px;border:1px solid #3a3f36;border-radius:9px;padding:13px;background:#151815}
.effect-scene strong{font-size:12px;font-weight:600;color:#e7e9e0}
.effect-scene small{font-size:11px;line-height:1.45;color:#b0b3a6}
.effect-scene>input:checked+span{border-color:#deedac;background:#252c1e}
.effect-scene>input:focus-visible+span{outline:2px solid #deedac;outline-offset:3px}
.effect-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.effect-settings label,.effect-direction{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#dedfd5}
.effect-settings select,.effect-direction textarea{width:100%;color:#f6f6ef;background:#101310;border:1px solid #454a3e;border-radius:8px;padding:11px;min-height:44px;font:inherit}
.effect-settings select{cursor:pointer}
.effect-direction textarea{resize:vertical;line-height:1.5;font-size:13px}
.effect-settings select:focus-visible,.effect-direction textarea:focus-visible{outline:2px solid #deedac;outline-offset:2px}
.effect-audio{display:flex;gap:9px;align-items:center;font-size:12px;color:#dedfd5;margin-top:10px;min-height:44px;cursor:pointer}
.effect-audio input{accent-color:#deedac;width:17px;height:17px}
.effect-limit,.effect-terms{font-size:11px;line-height:1.65;color:#b0b3a6;margin:10px 0 18px}
.effect-submit.bulin-primary{display:flex;justify-content:space-between;gap:16px;width:100%;min-height:52px;padding:14px 18px;font-size:14px;border:0;cursor:pointer}
.effect-submit:disabled{opacity:.5;cursor:not-allowed}
.effect-submit>[data-effect-cost]{font-size:12px;font-weight:500;white-space:nowrap}
[data-effect-status]{font-size:12px;line-height:1.6;margin:12px 0;color:#c2c9b2}
[data-effect-status][data-error="true"]{color:#ffb6a3}
.effect-terms{margin:0}
.effect-terms a{text-decoration:underline;text-underline-offset:3px}
.effect-result{position:sticky;top:calc(var(--effect-header-height,90px) + 20px)}
.effect-result-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 22px;border-bottom:1px solid #343632}
.effect-result-top>span{font-size:10px;color:#deedac;letter-spacing:.12em}
.effect-result-top>a{font-size:12px;color:#c0c2b7}
[data-effect-output]{position:relative}
.effect-reference{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#0c100c}
.effect-motion{position:absolute;top:12px;right:12px;padding:8px 12px;min-height:44px;font-size:11px;color:#fff;background:#111b;border:1px solid #ffffff50;border-radius:8px}
.effect-concept{aspect-ratio:1/1;width:100%;background-image:url('/effects/scenes.webp');background-size:200% 100%;background-repeat:no-repeat}
.effect-concept-hotel{background-position:0 50%}
.effect-concept-zombie{background-position:100% 50%}
.effect-media-caption{padding:12px 22px;margin:0;font-size:11px;color:#b7bcad;border-bottom:1px solid #343632}
.effect-result-bottom{padding:22px}
.effect-result-bottom strong{font-size:17px;font-weight:500;color:#e9ecdf}
.effect-result-bottom p{font-size:13px;line-height:1.7;color:#b0b5a5;margin:10px 0 0}
[data-effect-download]{margin-top:18px;min-height:44px}
.effect-output-video{display:block;width:100%;max-height:75vh;object-fit:contain;background:#0a0d0a}
.effect-job-state{min-height:300px;padding:44px 28px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;text-align:center;color:#dbe3c8}
.effect-job-state p{font-size:14px;line-height:1.6}
.effect-job-state a{font-size:13px;text-decoration:underline;text-underline-offset:4px}
.effect-how,.effect-faq,.effect-related{margin-top:80px}
.effect-how h2,.effect-faq h2,.effect-related h2{font-size:clamp(26px,3vw,38px);line-height:1.2;letter-spacing:-.035em;color:#f2f3eb;font-weight:550;margin:12px 0 30px}
.effect-how ol{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:30px}
.effect-how li{display:flex;gap:14px;border-top:1px solid #353a30;padding-top:22px}
.effect-step-number{font-size:11px;color:#deedac;padding-top:4px}
.effect-how h3{font-size:16px;font-weight:550;margin:0 0 9px;color:#eeeFE8}
.effect-how li p{font-size:14px;line-height:1.7;color:#b3b8a9;margin:0}
.effect-faq{max-width:850px}
.effect-faq details{border-bottom:1px solid #343a2e;padding:18px 0}
.effect-faq summary{font-size:15px;color:#e8eddd;cursor:pointer;min-height:32px;line-height:1.6}
.effect-faq details p{font-size:14px;line-height:1.8;color:#b4baa9;margin:14px 0 0}
.effect-related-link{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 0;border-bottom:1px solid #353a30;color:#e5edd2;font-size:19px;min-height:60px}
.effect-related-link:hover{color:#deedac}
.effect-dialog{color:#eef0e7;background:#1a1e17;border:1px solid #5a634b;border-radius:16px;padding:32px;width:min(440px,calc(100% - 32px));max-height:calc(100svh - 32px);overflow:auto}
.effect-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}
.effect-dialog h2{font-size:24px;margin:0 22px 14px 0}
.effect-dialog p{font-size:14px;color:#c0c7b3;line-height:1.7;margin-bottom:22px}
.effect-dialog [data-effect-close]{position:absolute;right:10px;top:8px;width:44px;height:44px;font-size:24px}
.effect-page [hidden]{display:none!important}
.effect-dialog:focus-visible,.effect-page a:focus-visible,.effect-page button:focus-visible{outline:2px solid #deedac;outline-offset:4px}
@media(max-width:767px){
 .effect-page{padding-top:24px;padding-bottom:48px}
 .effect-breadcrumb{margin-bottom:24px;font-size:11px;flex-wrap:wrap}
 .effect-intro{margin-bottom:26px}
 .effect-intro h1{font-size:clamp(30px,8.7vw,42px);margin:12px 0 16px}
 .effect-intro>p:last-child{font-size:15px;line-height:1.65}
 .effect-workspace{grid-template-columns:minmax(0,1fr);gap:20px}
 .effect-workspace form{padding:20px}
 .effect-result{position:static}
 .effect-how,.effect-faq,.effect-related{margin-top:54px}
 .effect-how ol{grid-template-columns:1fr;gap:22px}
 .effect-scenes{gap:8px}
 .effect-scene>span{padding:11px;min-height:96px}
 .effect-settings{gap:8px}
 .effect-photo-tools{align-items:flex-start}
 .effect-photo-preview{height:130px}
 .effect-photo-role{font-size:11px;line-height:1.5;min-height:32px}
 .effect-swap{font-size:11px;white-space:normal;padding:8px;min-width:70px}
 .effect-related-link{font-size:17px}
 .bulin-header .bulin-nav[data-effect-navigation]{border-radius:10px}
 .bulin-header .bulin-nav[data-effect-navigation]>a{min-height:44px;font-size:11px;padding:10px}
}
@media(prefers-reduced-motion:reduce){.effect-workspace{scroll-behavior:auto}}
