:root{color-scheme:light;--bg-page: #f4f3ee;--bg-surface: #fffefa;--bg-surface-2: #ebeae4;--bg-muted: #e5e4dd;--bg-subtle: #f8f7f2;--input-bg: #fffefa;--btn-secondary-bg: #fffefa;--text-primary: #171919;--text-secondary: #4a5050;--text-muted: #707676;--border: #d8d8d0;--border-strong: #bfc1b7;--border-soft: #e6e5df;--border-dashed: #afb3a8;--accent: #c9ff27;--accent-hover: #b5ee00;--accent-text: #547000;--accent-ink: #182000;--accent-ring: rgba(181, 238, 0, .38);--accent-soft-bg: #efffc5;--accent-soft-bg-strong: #e3ff8a;--accent-soft-border: #a6ce17;--youtube-red: #ff0033;--cta: var(--youtube-red);--cta-hover: #d9002b;--cta-ink: #3a000c;--cta-ring: rgba(255, 0, 51, .35);--hot: var(--youtube-red);--hot-soft: rgba(255, 0, 51, .1);--panel-bg: #171919;--panel-text: #f8f8f2;--editor-backdrop: #202322;--modal-backdrop: rgba(16, 19, 18, .66);--shadow-sm: 0 4px 0 rgba(23, 25, 25, .06);--shadow-md: 0 18px 50px rgba(23, 25, 25, .17);--shadow-drawer: 14px 0 40px rgba(23, 25, 25, .25);--shadow-float: 0 8px 22px rgba(23, 25, 25, .18);--warn-text: #8b5a00;--error-bg: rgba(255, 0, 51, .09);--error-text: #b00023;--success-bg: #e3f8dc;--success-text: #306a32;color:var(--text-primary);background:var(--bg-page);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;line-height:1.5;text-rendering:optimizeLegibility}[data-theme=dark]{color-scheme:dark;--bg-page: #171919;--bg-surface: #202322;--bg-surface-2: #292d2b;--bg-muted: #303532;--bg-subtle: #1a1d1c;--input-bg: #171919;--btn-secondary-bg: #252927;--text-primary: #f7f8f1;--text-secondary: #c1c8c1;--text-muted: #98a19a;--border: #393e3a;--border-strong: #545b55;--border-soft: #303532;--border-dashed: #596159;--accent-text: #d6ff56;--accent-ink: #182000;--accent-ring: rgba(201, 255, 39, .3);--accent-soft-bg: rgba(201, 255, 39, .13);--accent-soft-bg-strong: rgba(201, 255, 39, .2);--accent-soft-border: #87a927;--hot: var(--youtube-red);--hot-soft: rgba(255, 0, 51, .16);--panel-bg: #101211;--editor-backdrop: #111312;--modal-backdrop: rgba(0, 0, 0, .76);--shadow-sm: 0 4px 0 rgba(0, 0, 0, .15);--shadow-md: 0 20px 56px rgba(0, 0, 0, .38);--shadow-drawer: 14px 0 40px rgba(0, 0, 0, .55);--shadow-float: 0 8px 22px rgba(0, 0, 0, .35);--warn-text: #ffd76b;--error-bg: rgba(255, 0, 51, .16);--error-text: #ff99ad;--success-bg: rgba(67, 137, 68, .22);--success-text: #abeca2}.primary-button,.secondary-button,.ghost-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;font-size:14px;font-weight:900;line-height:1.1;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease}.primary-button{min-height:48px;background:var(--accent);box-shadow:3px 3px 0 var(--accent-ink);color:var(--accent-ink);padding:0 18px;text-decoration:none}.primary-button:hover:not(:disabled){transform:translate(1px,1px);box-shadow:2px 2px 0 var(--accent-ink);background:var(--accent-hover)}.primary-button:active:not(:disabled){transform:translate(3px,3px);box-shadow:0 0 0 var(--accent-ink)}.primary-button:disabled{opacity:.58;box-shadow:none}.primary-button.cta-button{background:var(--cta);box-shadow:3px 3px 0 var(--cta-ink);color:#fff}.primary-button.cta-button:hover:not(:disabled){box-shadow:2px 2px 0 var(--cta-ink);background:var(--cta-hover)}.primary-button.cta-button:active:not(:disabled){box-shadow:0 0 0 var(--cta-ink)}.cta-button:focus-visible{outline:3px solid var(--cta);outline-offset:2px;box-shadow:0 0 0 3px var(--cta-ring)}*{box-sizing:border-box}html{min-width:320px;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{min-width:320px;min-height:100vh;margin:0;color:var(--text-primary);background-color:var(--bg-page);background-image:radial-gradient(var(--border-soft) .65px,transparent .65px);background-size:12px 12px;transition:background-color .2s ease,color .2s ease}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}img{display:block;max-width:100%}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{text-wrap:balance}.eyebrow,.auth-kicker{margin-bottom:9px;color:var(--accent-text);font-size:11px;font-weight:900;letter-spacing:.13em;line-height:1.2;text-transform:uppercase}label{display:grid;gap:8px;color:var(--text-primary);font-size:13px;font-weight:800}input,select,textarea{width:100%;min-height:48px;border:1px solid var(--border-strong);border-radius:10px;outline:none;background:var(--input-bg);color:var(--text-primary);padding:12px 14px;font-size:16px;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23707676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:14px}[data-theme=dark] select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a19a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}input::placeholder,textarea::placeholder{color:var(--text-muted);opacity:.78}input:hover,select:hover,textarea:hover{border-color:var(--text-muted)}input:focus,select:focus,textarea:focus{border-color:var(--accent-text);box-shadow:0 0 0 3px var(--accent-ring)}textarea{min-height:96px;resize:vertical}input:read-only,textarea:read-only{background:var(--bg-subtle);color:var(--text-muted);cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.secondary-button{min-height:44px;border-color:var(--border-strong);background:var(--btn-secondary-bg);color:var(--text-primary);padding:0 15px}.secondary-button:hover:not(:disabled){border-color:var(--text-primary);background:var(--bg-muted);transform:translateY(-1px)}.ghost-button{width:100%;min-height:42px;background:transparent;color:var(--text-secondary);padding:0 12px}.ghost-button:hover{background:var(--hot-soft);color:var(--hot)}.icon-button{width:42px;height:42px;background:var(--bg-muted);color:var(--text-primary)}.icon-button:hover:not(:disabled){background:var(--accent);color:var(--accent-ink)}.compact-button{min-height:36px;padding:0 10px;font-size:12px}.compact-icon-button{width:34px;height:34px;flex-shrink:0}.form-error,.form-success{position:relative;z-index:10;margin-bottom:16px;border:1px solid transparent;border-radius:10px;padding:11px 13px;font-size:13px;font-weight:650}.form-error{border-color:color-mix(in srgb,var(--error-text) 25%,transparent);background:var(--error-bg);color:var(--error-text)}.form-success{border-color:color-mix(in srgb,var(--success-text) 25%,transparent);background:var(--success-bg);color:var(--success-text)}.spin{animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loader-page{display:grid;min-height:100vh;place-items:center;color:var(--accent-text)}.auth-page{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(370px,.65fr);min-height:100vh;padding:20px;gap:20px;background:#151817}.auth-hero{position:relative;display:flex;min-height:calc(100vh - 40px);flex-direction:column;overflow:hidden;border:1px solid #3e453d;border-radius:20px;background:#222624;color:#f7f8f1;padding:clamp(28px,5vw,64px)}.auth-hero:before{position:absolute;z-index:0;top:-22vmax;right:-17vmax;width:46vmax;height:46vmax;border:clamp(44px,7vw,92px) solid var(--accent);border-radius:50%;content:"";opacity:.95}.auth-hero:after{position:absolute;right:7%;bottom:12%;width:clamp(104px,13vw,190px);height:clamp(104px,13vw,190px);border:1px solid #596057;border-radius:18px;background:repeating-linear-gradient(-45deg,transparent 0 11px,rgba(201,255,39,.14) 11px 13px);content:"";transform:rotate(-12deg)}.auth-hero>*{position:relative;z-index:1}.auth-hero .brand-button{display:block;width:min(480px,85%);background:transparent;padding:8px 0}.auth-hero .brand-logo{width:100%}.brand-logo--dark,[data-theme=dark] .brand-logo--light,.auth-hero .brand-logo--light{display:none}[data-theme=dark] .brand-logo--dark,.auth-hero .brand-logo--dark{display:block}.auth-hero-copy{max-width:700px;margin-top:auto;padding-top:clamp(24px,4vw,48px)}.auth-kicker{color:var(--accent)}.auth-hero h1{max-width:640px;margin-bottom:22px;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;font-size:clamp(58px,8vw,118px);font-weight:400;letter-spacing:.015em;line-height:1.14;text-transform:uppercase}.auth-hero h1 span{color:var(--accent)}.auth-hero h1.auth-hero-title{margin-bottom:16px;font-size:clamp(44px,min(5.2vw,10vh),76px);line-height:.96}.auth-hero-copy>p:last-child{max-width:490px;margin-bottom:0;color:#c2c8c0;font-size:clamp(16px,1.6vw,19px);line-height:1.45}.auth-hero-points{display:flex;flex-wrap:wrap;gap:12px 28px;margin:clamp(24px,4vw,40px) 0 0;padding:0;list-style:none;color:#d7ddd4;font-size:12px;font-weight:750}.auth-hero-points li{display:flex;align-items:center;gap:8px}.auth-hero-points svg{flex:0 0 auto;color:var(--accent);stroke-width:2.4}.auth-card{align-self:center;width:min(100%,480px);margin:auto;border:1px solid var(--border);border-radius:18px;background:var(--bg-surface);box-shadow:var(--shadow-md);padding:clamp(24px,4vw,42px)}.stack{display:grid;gap:16px}.auth-card-heading{margin-bottom:10px}.auth-card-heading h2{margin-bottom:7px;font-size:clamp(26px,3vw,34px);letter-spacing:-.055em;line-height:1}.auth-card-heading>p:last-child{margin-bottom:0;color:var(--text-muted);font-size:14px}.auth-submit{width:100%;margin-top:4px}.auth-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-top:4px}.privacy-note{margin:0;color:var(--text-muted);font-size:12px;line-height:1.5}.privacy-note a{color:var(--accent-text);text-underline-offset:3px}.auth-login-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.auth-link{width:fit-content;border:0;background:transparent;color:var(--accent-text);padding:2px 0;text-align:left;font-size:13px;font-weight:850}.auth-login-links .auth-link:last-child{justify-self:end;text-align:right}.auth-link:hover{color:var(--text-primary);text-decoration:underline;text-underline-offset:3px}.dashboard-shell{display:grid;grid-template-columns:274px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;height:100vh;flex-direction:column;gap:15px;overflow-y:auto;border-right:1px solid var(--border);background:var(--bg-surface);padding:28px 16px 18px}.sidebar-content,.sidebar-account{display:contents}.sidebar>*,.sidebar-content>*,.sidebar-account>*{flex-shrink:0}.brand{display:flex;align-items:flex-start;gap:8px;padding:0 0 10px}.brand>div{display:flex;min-width:0;flex:1;flex-direction:column;align-items:center;gap:0}.brand .brand-button{display:flex;width:230px;max-width:100%;margin-bottom:0;border:0;background:transparent;padding:0}.brand .brand-logo{width:100%;height:auto;aspect-ratio:365 / 94;object-fit:contain}.brand-button{cursor:pointer;transition:opacity .18s ease}.brand-button:hover{opacity:.68}.mobile-menu-button,.mobile-sidebar-close,.mobile-menu-backdrop{display:none}.sidebar-nav{display:grid;gap:4px}.sidebar-nav button,.sidebar-nav a{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--text-secondary);padding:0 11px;text-align:left;font-size:13px;font-weight:800;text-decoration:none;transition:background-color .18s ease,color .18s ease,transform .18s ease}.sidebar-nav button:hover,.sidebar-nav a:hover{background:var(--bg-muted);color:var(--text-primary)}.sidebar-nav button.active{border-color:var(--border);background:var(--bg-muted);box-shadow:inset 3px 0 0 var(--accent);color:var(--text-primary)}.sidebar-create{display:grid;gap:8px;border:1px dashed var(--border-strong);border-radius:12px;background:var(--bg-subtle);padding:12px}.sidebar-create>span{color:var(--text-muted);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.sidebar-create .primary-button{width:100%;min-height:40px;padding:0 10px;font-size:12px}.sidebar-nav--bottom{margin-top:auto}.sidebar-legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;margin-top:-10px}.sidebar-payment-link{padding:4px 0;color:var(--text-muted);font-size:11px;line-height:1.4;text-decoration:none}.sidebar-payment-link:hover{color:var(--text-secondary);text-decoration:underline;text-underline-offset:3px}.theme-toggle{position:relative;width:52px;min-height:38px;border:1px solid var(--border);border-radius:999px;background:var(--bg-subtle);color:var(--text-secondary);padding:0}.theme-toggle-thumb{position:absolute;top:6px;left:5px;width:26px;height:26px;border-radius:50%;background:var(--accent);transition:transform .2s ease,background-color .2s ease}.theme-toggle-icon{position:absolute;top:50%;transform:translateY(-50%)}.theme-toggle-icon--sun{left:10px;color:var(--accent-ink)}.theme-toggle-icon--moon{display:none}[data-theme=dark] .theme-toggle-thumb{transform:translate(16px);background:#8e9890}[data-theme=dark] .theme-toggle-icon--sun{display:none}[data-theme=dark] .theme-toggle-icon--moon{display:block;left:26px;color:#151817}.profile-card{display:flex;align-items:center;gap:10px;width:100%;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:var(--bg-surface);color:var(--text-primary);padding:10px;text-align:left}.profile-card:hover{border-color:var(--accent-text);background:var(--accent-soft-bg)}.profile-card>svg{flex-shrink:0}.profile-card>div{min-width:0}.profile-card span{display:block;color:var(--text-muted);font-size:11px;font-weight:700}.profile-card strong{display:block;overflow:hidden;max-width:185px;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.dashboard-main{width:min(100%,1660px);padding:clamp(24px,4vw,54px)}.dashboard-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:30px}.dashboard-header-copy{max-width:770px}.dashboard-title-row{display:flex;align-items:center;gap:12px}.dashboard-title-icon{display:grid;width:38px;height:38px;flex:none;place-items:center;border-radius:10px;background:var(--accent);color:var(--accent-ink);transform:rotate(-5deg)}.dashboard-header h1{margin:0;font-size:clamp(34px,4vw,54px);letter-spacing:-.065em;line-height:.95}.dashboard-header-copy>p:last-child{max-width:670px;margin:13px 0 0;color:var(--text-muted);font-size:15px}.dashboard-header-actions{display:flex;align-items:center;gap:12px;flex:none;padding-top:4px}.header-note{display:grid;flex:none;white-space:nowrap;color:var(--text-muted);font-size:11px;line-height:1.25}.header-note b{color:var(--text-primary);font-size:13px}.home-sections{display:contents}.quick-start{display:grid;grid-template-columns:minmax(min(250px,100%),.78fr) minmax(min(420px,100%),1.22fr);gap:clamp(22px,4vw,52px);overflow:hidden;margin-bottom:24px;border:1px solid #343a35;border-radius:18px;background:#202522;color:#f7f8f1;padding:clamp(23px,4vw,38px)}.quick-start-intro{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.quick-start .eyebrow{color:var(--accent)}.quick-start h2{margin-bottom:14px;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;font-size:clamp(33px,3.5vw,51px);font-weight:400;letter-spacing:.05em;line-height:1.1;text-transform:uppercase}.quick-start h2 span{color:var(--accent)}.quick-start-intro>p:not(.eyebrow){max-width:430px;color:#bac3ba;font-size:14px}.quick-start .primary-button{margin-top:5px}.quick-start-steps{display:grid;align-content:center;gap:0;margin:0;padding:0;list-style:none}.quick-start-steps li{display:grid;grid-template-columns:40px 28px minmax(0,1fr);align-items:center;gap:12px;min-height:84px;border-bottom:1px solid #384039;padding:12px 0}.quick-start-steps li:last-child{border-bottom:0}.quick-start-number{color:var(--accent);font-family:Impact,sans-serif;font-size:20px;font-weight:400;letter-spacing:.06em}.quick-start-steps svg{color:#f7f8f1}.quick-start-steps strong{display:block;font-size:15px}.quick-start-steps p{margin:2px 0 0;color:#aeb8ae;font-size:12px}.quick-start-in-feed{display:none}.content-section,.modal{border:1px solid var(--border);border-radius:16px;background:var(--bg-surface);box-shadow:var(--shadow-sm)}.content-section{padding:clamp(18px,3vw,28px)}.section-heading{margin-bottom:20px;color:var(--text-muted);font-size:14px}.section-heading>p{max-width:700px;margin:0}.section-heading.split{display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-grid,.album-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.preview-grid.preview-grid-youtube{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:12px}.feed-toolbar{position:relative;z-index:20;align-items:flex-start}.feed-toolbar-controls{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.filter-select{position:relative}.filter-select-button{display:flex;align-items:center;min-height:36px;gap:6px;border:1px solid var(--border);border-radius:999px;background:var(--bg-surface);color:var(--text-secondary);padding:0 11px;font-size:12px;font-weight:650;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}.filter-select-button:hover{border-color:var(--text-muted);color:var(--text-primary)}.filter-select-button.is-active{border-color:var(--accent-soft-border);background:var(--accent-soft-bg);color:var(--accent-text)}.filter-select-label{color:var(--text-muted)}.filter-select-button.is-active .filter-select-label{color:inherit}.filter-select-value{font-weight:850}.filter-select-caret{flex-shrink:0;transition:transform .15s ease}.filter-select-caret.is-open{transform:rotate(180deg)}.filter-select-menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;display:grid;min-width:100%;max-height:260px;gap:2px;overflow-y:auto;border:1px solid var(--border);border-radius:12px;background:var(--bg-surface);padding:6px;box-shadow:var(--shadow-md);animation:filter-select-in .14s ease}@keyframes filter-select-in{0%{opacity:0;transform:translateY(-4px)}}.filter-select-option{border:0;border-radius:8px;background:transparent;color:var(--text-secondary);padding:8px 10px;font-size:13px;font-weight:650;text-align:left;white-space:nowrap;cursor:pointer}.filter-select-option:hover{background:var(--bg-subtle);color:var(--text-primary)}.filter-select-option.is-active{background:var(--accent-soft-bg);color:var(--accent-text)}.filter-reset{font-size:12px}.filter-bar-count{color:var(--text-muted);font-size:12px;font-weight:650}.filter-bar-note{margin:0 0 14px;color:var(--warn-text);font-size:12px;font-weight:700}.mobile-filters-toggle{display:none;position:relative}.filter-badge{position:absolute;top:-4px;right:-4px;display:grid;place-items:center;min-width:18px;height:18px;border-radius:999px;background:var(--cta);color:#fff;padding:0 4px;font-size:10px;font-weight:900;line-height:1}.feed-filters-group{display:contents}.feed-load-more{display:grid;place-items:center;min-height:56px;margin-top:18px;color:var(--text-muted)}.reference-groups{display:grid;gap:26px}.generation-processes{display:grid;gap:14px;margin-bottom:28px}.generation-process-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.generation-process{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:start;gap:12px;border:1px solid var(--border-soft);border-radius:10px;padding:12px;background:var(--bg-surface)}.generation-process.is-active{border-color:var(--accent-text)}.generation-process.is-failed .process-icon{color:var(--danger, #d9304f)}.process-icon{grid-column:1;grid-row:1;color:var(--accent-text)}.process-copy{grid-column:2;grid-row:1;display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.generation-process.is-active .process-copy{grid-column:2 / -1}.process-copy span,.process-copy small{color:var(--text-secondary);font-size:12px}.process-copy p{margin:4px 0 0;font-size:12px}.process-actions{grid-column:2 / -1;grid-row:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.process-actions>button{max-width:100%;white-space:normal}.process-delete-button{grid-column:3;grid-row:1;color:var(--danger, #d9304f)}.generation-progress-track{position:relative;display:block;width:100%;height:6px;overflow:hidden;border-radius:999px;background:var(--border-soft)}.generation-progress-complete,.generation-progress-pulse{position:absolute;inset-block:0;display:block}.generation-progress-complete{left:0;background:var(--accent-text)}.generation-progress-pulse{overflow:hidden}.generation-progress-pulse:after{position:absolute;inset-block:0;width:42%;border-radius:inherit;background:linear-gradient(90deg,transparent,var(--accent-text),transparent);content:"";animation:generation-progress 1.35s ease-in-out infinite}@keyframes generation-progress{0%{transform:translate(-100%)}to{transform:translate(240%)}}.generation-progress-card{position:relative;display:grid;gap:10px;border:1px solid var(--accent-text);border-radius:14px;background:var(--bg-surface);color:var(--text-primary);padding:13px 14px;box-shadow:var(--shadow-float)}.dashboard-floating-controls{position:fixed;z-index:65;right:24px;bottom:24px;left:298px;display:grid;gap:12px;pointer-events:none}.dashboard-floating-controls>*{pointer-events:auto}.dashboard-floating-controls .dashboard-scroll-to-top{position:static;justify-self:end}.generation-progress-card.is-global{width:100%}.generation-progress-clearance{width:100%;transition:height .18s ease}.generation-progress-card.is-embedded{width:100%;margin:0 0 14px;box-shadow:none}.generation-progress-link{display:grid;width:100%;gap:10px;border:0;background:transparent;color:inherit;padding:0;text-align:left;cursor:pointer}.generation-progress-link.is-static{cursor:default}.generation-progress-link:focus-visible{border-radius:8px;outline:3px solid var(--accent-ring);outline-offset:3px}.global-generation-progress-copy{display:flex;min-width:0;align-items:center;gap:10px}.global-generation-progress-copy>span{display:grid;min-width:0;gap:2px}.global-generation-progress-copy strong,.global-generation-progress-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.generation-progress-card.is-embedded.is-finished .global-generation-progress-copy small{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.global-generation-progress-copy small{color:var(--text-secondary)}.generation-progress-card.has-dismiss .global-generation-progress-copy{padding-right:34px}.generation-progress-dismiss{position:absolute;top:8px;right:8px;display:grid;width:36px;height:36px;place-items:center;border:1px solid var(--border-strong);border-radius:9px;background:var(--bg-muted);color:var(--text-primary);cursor:pointer}.generation-progress-dismiss:hover{border-color:var(--text-primary)}.generation-progress-card .generation-retry-button,.generation-progress-card .generation-stop-button{width:100%;justify-content:center}.generation-progress-error{color:var(--danger, #d9304f);font-size:12px;font-weight:700}.editor-backdrop .editor-scroll-to-top{z-index:95}@media(max-width:640px){.generation-process{gap:8px;padding:10px}.generation-process .process-actions>button{flex:1}.generation-process .process-delete-button{width:40px;height:40px}}.reference-group{display:grid;gap:14px}.reference-group-title{margin:0;font-size:17px;letter-spacing:-.02em}.preview-card,.album-card,.source-photo-card{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--bg-surface);content-visibility:auto;contain-intrinsic-size:300px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.preview-card:hover,.album-card:hover,.source-photo-card:hover{border-color:var(--text-muted);box-shadow:var(--shadow-sm);transform:translateY(-2px)}.preview-card-open{display:block;width:100%;border:0;background:transparent;padding:0;cursor:zoom-in}.preview-card img{width:100%;aspect-ratio:16 / 9;background:var(--bg-subtle);object-fit:cover}.preview-card-body{display:grid;gap:0;padding:14px}.preview-card h3,.album-card h3{margin:0;font-size:15px;line-height:1.18}.preview-card-body h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.album-card span{color:var(--accent-text);font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.use-reference-button{width:100%;margin-top:13px;padding:0 12px;font-size:12px}.preview-card-actions{position:absolute;z-index:1;top:9px;right:9px;display:flex;gap:6px}.favorite-button,.delete-button{display:inline-grid;width:35px;height:35px;place-items:center;border:1px solid rgba(255,255,255,.58);border-radius:9px;background:#161918d1;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.favorite-button:hover,.favorite-button.is-favorite{background:var(--hot);color:#fff}.delete-button:hover{background:var(--youtube-red)}.favorite-button:disabled,.delete-button:disabled{cursor:wait;opacity:.7}.album-card-open{display:block;width:100%;border:0;background:transparent;color:inherit;padding:0;text-align:left}.album-card img{width:100%;aspect-ratio:4 / 3;background:var(--bg-subtle);object-fit:cover}.album-card div{padding:14px}.album-card h3{margin-top:5px}.album-placeholder{display:grid;width:100%;aspect-ratio:4 / 3;place-items:center;background:var(--accent-soft-bg);color:var(--accent-text)}.album-card-description{color:var(--text-muted);font-size:13px;display:-webkit-box;margin:8px 0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.source-photo-card img{width:100%;aspect-ratio:1;background:var(--bg-subtle);object-fit:contain}.source-photo-card .delete-button{position:absolute;z-index:1;top:9px;right:9px}.source-photo-open{display:block;width:100%;border:0;background:transparent;padding:0;cursor:zoom-in}.source-photo-card span{display:block;overflow:hidden;color:var(--text-secondary);padding:10px 12px;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.album-card .delete-button{position:absolute;z-index:1;top:9px;right:9px}.empty-state{display:grid;min-height:240px;place-items:center;border:1px dashed var(--border-dashed);border-radius:12px;color:var(--text-muted);padding:24px;text-align:center}.empty-state p{margin-bottom:0}.empty-state-upload{align-content:center;gap:17px}.empty-state-dropzone{width:min(420px,100%);justify-content:center;min-height:64px}.inline-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.album-edit-form{display:grid;gap:16px;margin-bottom:22px;border:1px solid var(--border);border-radius:12px;background:var(--bg-subtle);padding:18px}.album-edit-form .section-heading{margin-bottom:0}.album-edit-form .section-heading h3{margin-bottom:4px}.inline-link{border:0;background:transparent;color:var(--accent-text);padding:0;font:inherit;font-weight:850;text-decoration:underline;text-underline-offset:3px}.inline-link:hover{color:var(--text-primary)}.inline-link-regular{font-weight:inherit}.reference-source{display:grid;gap:6px;margin-top:8px;color:var(--text-muted);font-size:11px}.reference-source a{color:var(--text-muted);font-weight:800;text-decoration:none}.reference-source a:hover{color:var(--accent-text);text-decoration:underline}.reference-score{color:var(--accent-text);font-weight:900;white-space:nowrap}.file-field{position:relative;display:flex;align-items:center;min-height:52px;overflow:hidden;border:1px dashed var(--accent-soft-border);border-radius:10px;background:var(--accent-soft-bg);color:var(--accent-text);padding:0 14px;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.file-field input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.file-field span{overflow:hidden;margin-left:8px;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:750}.file-field:hover,.file-field.is-dragging{border-color:var(--accent-text);background:var(--accent-soft-bg-strong);box-shadow:0 0 0 3px var(--accent-ring)}.file-field.has-preview{flex-direction:column;align-items:stretch;min-height:0;padding:10px;cursor:default}.file-field-preview{display:flex;width:100%;flex-direction:column;gap:8px;overflow:auto;max-height:320px}.file-field-preview img{width:100%;max-height:220px;border-radius:7px;background:var(--bg-subtle);object-fit:contain}.file-field-preview span{margin-left:0;text-align:center}.file-field-thumbs{display:flex;flex-wrap:wrap;gap:8px}.file-field-thumb{position:relative;display:block;width:84px;height:84px;border-radius:7px;overflow:hidden;background:var(--bg-subtle)}.file-field-thumb img{width:100%;height:100%;object-fit:cover}.file-field-thumb .delete-button{position:absolute;z-index:1;top:4px;right:4px;width:24px;height:24px}.modal-backdrop{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-start;justify-content:center;overflow:auto;background:var(--modal-backdrop);padding:24px}.modal{width:min(680px,100%);max-height:calc(100dvh - 48px);overflow-y:auto;margin:auto 0;border-radius:16px;padding:clamp(20px,4vw,30px);box-shadow:var(--shadow-md)}.modal-header,.modal-actions{display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-header{margin-bottom:20px}.modal-header h2{margin-bottom:4px;font-size:26px;letter-spacing:-.05em;line-height:1}.modal-header p:not(.eyebrow),.reference-upload-modal p:not(.eyebrow),.photo-upload-modal p:not(.eyebrow){margin:4px 0 0;color:var(--text-muted);font-size:13px}.modal-actions{justify-content:flex-end}.reference-upload-modal,.photo-upload-modal{display:grid;gap:16px}.reference-file-field{margin:0}.profile-settings-modal{display:grid;min-width:0;grid-template-columns:minmax(0,1fr);gap:20px}.settings-form{display:grid;gap:14px;border-top:1px solid var(--border-soft);padding-top:20px}.settings-form.balance-block{border-top:0;padding-top:0}.settings-form h3{display:flex;align-items:center;gap:8px;margin:0;font-size:16px}.settings-form .secondary-button{justify-self:start}.balance-amount{margin:0;font-size:28px;font-weight:700}.balance-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}.balance-topup-form{display:grid;gap:12px}.package-picker{min-width:0;margin:0;padding:0;border:0}.package-picker legend{margin-bottom:10px;font-size:13px;font-weight:700}.package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.package-option{display:grid;gap:5px;min-width:0;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--bg-surface);cursor:pointer}.package-option:hover,.package-option.is-selected{border-color:var(--youtube-red);background:var(--hot-soft)}.package-option:focus-within{outline:2px solid var(--youtube-red);outline-offset:2px}.package-option input{position:absolute;opacity:0}.package-option-main{display:flex;justify-content:space-between;gap:8px;font-size:14px}.package-option-main b{white-space:nowrap}.package-option-detail{color:var(--text-secondary);font-size:11px;line-height:1.4}.download-topup .package-grid{grid-template-columns:1fr}.lightbox-backdrop{position:fixed;z-index:200;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#000000db;padding:24px}.lightbox-image{max-width:100%;max-height:calc(100dvh - 48px);border-radius:8px;box-shadow:var(--shadow-md);object-fit:contain}.lightbox-close{position:fixed;top:20px;right:20px;background:#ffffff24;color:#f7f8f1}.lightbox-close:hover{background:#ffffff42;color:#fff}.scroll-to-top-button{position:fixed;z-index:60;right:24px;bottom:24px;display:flex;width:46px;height:46px;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:50%;background:var(--bg-surface);color:var(--text-primary);box-shadow:var(--shadow-float);transition:background-color .18s ease,color .18s ease,transform .18s ease}.scroll-to-top-button:hover{background:var(--accent);color:var(--accent-ink);transform:translateY(-2px)}.editor-backdrop{position:fixed;z-index:90;top:0;right:0;bottom:0;left:0;height:100dvh;overflow:hidden;background:var(--editor-backdrop)}.preview-editor{height:100dvh;min-height:0;padding:20px 20px calc(20px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.preview-editor-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1640px;margin:0 auto 16px;color:#f7f8f1}.preview-editor-header .eyebrow{color:var(--accent)}.preview-editor-header h2{margin-bottom:0;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;font-size:clamp(34px,4vw,50px);font-weight:400;letter-spacing:.02em;line-height:1.1;text-transform:uppercase}.preview-editor-header-actions{display:flex;align-items:center;gap:10px}.preview-editor-header .icon-button{background:#343a36;color:#f7f8f1}.preview-editor-header .icon-button:hover{background:var(--accent);color:var(--accent-ink)}.preview-editor-columns{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(370px,.86fr);max-width:1640px;min-height:calc(100vh - 118px);margin:0 auto;overflow:hidden;border:1px solid #3a403b;border-radius:16px;background:var(--bg-surface);box-shadow:var(--shadow-md)}.editor-inputs{overflow:auto;border-right:1px solid var(--border);padding:20px}.editor-section{margin-bottom:20px;border:1px solid var(--border-soft);border-radius:11px;background:var(--bg-subtle);padding:15px}.editor-section:last-child{margin-bottom:0}.editor-section h3{margin-bottom:10px;font-size:16px;letter-spacing:-.02em}.editor-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.editor-section-heading h3{margin:0}.editor-selected-reference{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:11px;margin-bottom:14px;border:2px solid var(--accent-text);border-radius:10px;background:var(--bg-surface);padding:9px;box-shadow:0 0 0 3px var(--accent-ring)}.editor-selected-reference img{width:100%;aspect-ratio:16 / 9;border-radius:7px;background:var(--bg-subtle);object-fit:contain}.editor-selected-reference .eyebrow{margin-bottom:3px;color:var(--accent-text)}.editor-selected-reference strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:12px;line-height:1.4}.editor-reference-catalogs{display:flex;flex-direction:column;gap:16px;min-height:0;overflow-y:auto;padding-right:4px}.editor-reference-catalogs section{display:grid;gap:8px;flex-shrink:0}.editor-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.editor-catalog-heading h4{margin:0;font-size:13px}.editor-catalog-heading span{color:var(--accent-text);font-size:11px;font-weight:900}.editor-catalog-empty{margin:0;color:var(--text-muted);font-size:12px}.editor-reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));gap:10px}.editor-catalog-youtube{min-height:0}.editor-reference-grid-scroll{display:contents}.editor-reference-card,.editor-photo-choice{overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--bg-surface);color:var(--text-primary);padding:0;text-align:left;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.editor-reference-card:hover,.editor-photo-choice:hover{border-color:var(--text-muted);box-shadow:var(--shadow-sm);transform:translateY(-2px)}.editor-reference-card.is-selected,.editor-photo-choice.is-selected{border-color:var(--accent-text);box-shadow:0 0 0 3px var(--accent-ring)}.editor-reference-card{display:flex;min-width:0;flex-direction:column}.editor-reference-card img{display:block;width:100%;aspect-ratio:16 / 9;background:var(--bg-subtle);object-fit:cover}.editor-reference-body{display:grid;width:100%;min-width:0;gap:8px;padding:10px}.editor-reference-title{display:-webkit-box;min-height:2.8em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:12px;font-weight:750;line-height:1.4}.reference-stats-compact{display:grid;min-width:0;gap:6px}.reference-channel{overflow:hidden;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.4}.reference-metrics{display:grid;gap:4px;color:var(--text-secondary);font-size:10px;line-height:1.4}.reference-source .reference-metrics{font-size:inherit}.reference-views{display:inline-flex;align-items:center;gap:5px}.reference-views svg{flex-shrink:0}.reference-performance{color:var(--accent-text);font-weight:750}.editor-photo-choice span{display:block;overflow:hidden;padding:14px;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800}.editor-choice-list{display:grid;gap:7px;margin-bottom:12px}.editor-choice{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--border-soft);border-radius:9px;background:var(--bg-surface);padding:10px}.editor-choice-label{display:flex;flex:1;align-items:flex-start;gap:10px;min-width:0}.editor-choice input{width:auto;min-height:0;margin-top:3px;accent-color:var(--accent-text)}.editor-choice strong,.editor-choice small{display:block}.editor-choice strong{font-size:12px}.editor-choice small{margin-top:2px;color:var(--text-muted);font-size:11px;font-weight:550}.editor-album-edit{display:grid;gap:10px;border:1px solid var(--accent-soft-border);border-radius:9px;background:var(--accent-soft-bg);padding:12px}.editor-album-edit label{font-size:12px;font-weight:750}.editor-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:9px}.editor-photo-choice{position:relative}.editor-photo-select{display:block;width:100%;height:100%;border:0;background:transparent;padding:0}.editor-photo-choice img{display:block;width:100%;aspect-ratio:1;background:var(--bg-subtle);object-fit:cover}.editor-photo-choice .delete-button{position:absolute;z-index:1;top:6px;right:6px;width:26px;height:26px}.editor-generate-button{width:100%;margin-top:13px}.reference-source-note{margin:0 0 10px;color:var(--warn-text);font-size:12px;font-weight:700}.anonymous-account-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;border:1px solid var(--accent-soft-border);border-radius:9px;background:var(--accent-soft-bg);padding:12px 16px;font-size:13px;font-weight:650}.anonymous-account-banner-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.anonymous-account-banner-actions>.ghost-button{width:auto}.auth-link-modal{display:grid;gap:14px}.account-modal-backdrop{z-index:110}.generation-drafts-note{margin:-6px 0 0;color:var(--text-secondary);font-size:12px}.editor-results{display:flex;min-height:0;flex-direction:column;background:var(--panel-bg);color:var(--panel-text);padding:24px}.editor-results .eyebrow{color:var(--accent)}.editor-results h3{margin-bottom:0;font-family:Impact,Haettenschweiler,Arial Narrow Bold,sans-serif;font-size:30px;font-weight:400;letter-spacing:.03em;line-height:.95;text-transform:uppercase}.editor-results-empty{display:grid;flex:1;place-items:center;align-content:center;gap:12px;color:#bdc7bc;text-align:center}.editor-results-empty svg{color:var(--accent)}.editor-results-empty p{max-width:270px;margin:0;font-size:14px}.generated-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:12px;margin-top:13px;overflow:visible}.editor-results .generated-preview-grid{min-height:0;overflow-y:auto;align-content:start;padding:0 4px 4px 0}.generated-preview-card{position:relative;display:grid;gap:8px;min-width:0}.generated-preview-open{display:block;width:100%;border:0;background:transparent;padding:0;cursor:zoom-in}.generated-preview-card-corner-actions{position:absolute;z-index:1;top:9px;right:9px;display:flex;gap:6px}.generated-preview-card img{width:100%;aspect-ratio:16 / 9;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:var(--bg-subtle);object-fit:cover}.generated-preview-card-body{display:grid;gap:6px}.generated-preview-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.generated-preview-card-header>div{display:grid;min-width:0;gap:3px}.generated-preview-card-header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.generated-preview-card-header small{color:var(--text-muted);font-size:11px}.generated-preview-card-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.generated-preview-card-actions .secondary-button,.generated-preview-card-actions .primary-button{min-width:0;justify-content:center;white-space:normal}.generated-preview-card-actions svg{flex-shrink:0}.generated-preview-downloads{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:8px}.generated-preview-downloads>button{min-width:0;min-height:48px;gap:5px;padding:10px 8px;font-size:12px;line-height:1.2}.generated-preview-downloads>button span{min-width:0}.generated-preview-downloads svg{flex-shrink:0}.original-download-status,.payment-return-status,.history-refresh-warning{min-width:0;border:1px solid var(--accent-soft-border);border-radius:10px;background:var(--accent-soft-bg);padding:11px 12px;color:var(--text-primary);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.original-download-status,.payment-return-status{display:flex;align-items:flex-start;gap:9px}.original-download-status svg,.payment-return-status svg{flex:0 0 auto;margin-top:1px;color:var(--accent)}.original-download-status span{display:grid;gap:2px;min-width:0}.original-download-status small{color:var(--text-secondary);font-size:12px}.original-download-status.is-complete,.payment-return-status.is-success{border-color:color-mix(in srgb,var(--success-text) 30%,transparent);background:var(--success-bg)}.original-download-status.is-complete svg,.payment-return-status.is-success svg{color:var(--success-text)}.payment-return-status{margin-bottom:16px;font-weight:650}.history-refresh-warning{margin:0 0 12px;color:var(--warn-text)}.history-refresh-warning .inline-link{color:inherit}.editor-results .original-download-status{background:#c9ff271a;color:var(--panel-text)}.editor-results .original-download-status small{color:#c1c8c1}.editor-results .original-download-status.is-complete{background:#43894438}.download-feedback,.download-topup,.download-topup form{display:grid;min-width:0;gap:8px}.download-feedback p{margin:0;overflow-wrap:anywhere}.download-feedback .reference-source-note{font-size:13px;line-height:1.5}.download-feedback .primary-button,.download-feedback .secondary-button{min-width:0;width:100%;padding:10px 8px;font-size:13px}.download-topup .package-option{color:var(--text-primary)}.editor-results .download-feedback{--warn-text: #ffd76b;--error-text: #ff99ad;--error-bg: rgba(255, 0, 51, .16)}.content-section .generated-preview-card{padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--bg-subtle)}.content-section .generation-history-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}.content-section .generated-preview-card-corner-actions{top:19px;right:19px}.content-section .generated-preview-card .reference-source{white-space:normal}.regenerate-modal{display:grid;gap:16px}.regenerate-modal-preview{width:100%;aspect-ratio:16 / 9;border:1px solid var(--border);border-radius:10px;object-fit:cover}.labeled-text-field{display:grid;min-width:0;gap:8px}.editor-section>.labeled-text-field>label{font-size:16px;letter-spacing:-.02em}@media(min-width:681px){.editor-reference-grid,.editor-selected-reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:12px}.editor-selected-reference-grid{margin-bottom:14px;padding-right:4px}.editor-selected-reference{flex:0 0 auto;grid-template-columns:minmax(0,1fr);gap:0;overflow:hidden;margin-bottom:0;border-width:1px;padding:0}.editor-selected-reference img{display:block;border-radius:0}.editor-selected-reference>div{padding:10px}.editor-photo-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr))}}@media(min-width:681px)and (max-width:1060px){.editor-inputs{padding:24px}.editor-inputs>.editor-section:first-child{border:0;background:transparent;padding:0}}@media(min-width:1061px){.editor-backdrop{overflow:hidden;padding:14px}.preview-editor{display:flex;min-height:0;height:100%;flex-direction:column;padding:0}.preview-editor-header{width:100%;max-width:none;margin:0;padding:14px 8px 14px 10px}.preview-editor-header h2{font-size:32px}.generation-progress-card.is-embedded{flex:0 0 auto;width:100%}.preview-editor-columns{width:100%;max-width:none;min-height:0;height:auto;flex:1 1 auto;grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.editor-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr) auto;gap:0;overflow:hidden;padding:0}.editor-section{display:flex;min-height:0;flex-direction:column;margin:0;border:0;border-radius:0;padding:20px}.editor-inputs>.editor-section:nth-child(2n){border-left:1px solid var(--border)}.editor-inputs>.editor-section:nth-child(n+3){border-top:1px solid var(--border)}.editor-choice-list,.editor-photo-grid{overflow:auto}.editor-reference-catalogs{overflow-y:auto}.editor-choice-list{flex:0 1 auto;max-height:40%;margin-bottom:8px;overflow-y:auto}.editor-section:nth-child(2){overflow-y:auto}.editor-reference-grid,.editor-selected-reference-grid,.editor-results .generated-preview-grid{grid-template-columns:1fr}.editor-reference-title{font-size:14px}.editor-photo-grid{flex:1 1 0;min-height:120px;grid-template-columns:repeat(3,minmax(0,1fr))}.editor-results{padding:20px;overflow:hidden}[data-theme=light] .editor-results{background:var(--bg-surface);color:var(--text-primary)}.editor-catalog-youtube{display:grid;gap:8px}.editor-reference-grid-scroll{display:contents}}@media(max-width:1240px){.preview-grid,.album-grid,.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-header-actions .header-note{display:none}}@media(max-width:1060px){.quick-start{grid-template-columns:1fr;gap:18px}.quick-start-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.quick-start-steps li{grid-template-columns:34px 1fr;align-items:start;min-height:132px;border:1px solid #384039;border-radius:10px;padding:12px}.quick-start-steps li:last-child{border-bottom:1px solid #384039}.quick-start-steps li svg{grid-column:1;grid-row:2;margin-top:4px}.quick-start-steps li div{grid-column:2;grid-row:1 / span 2}.preview-editor-columns{grid-template-columns:1fr}.editor-inputs{border-right:0;border-bottom:1px solid var(--border)}.editor-results{min-height:390px}}@media(max-width:860px){.auth-page,.dashboard-shell{grid-template-columns:1fr}.auth-page{min-height:100vh;padding:12px;gap:12px}.auth-hero{min-height:460px;border-radius:14px;padding:28px}.auth-hero .brand-button{width:240px}.auth-hero-copy{margin-top:auto;padding-top:24px}.auth-hero h1{font-size:clamp(52px,14vw,90px)}.auth-hero-points{margin-top:28px}.auth-card{width:100%}.sidebar{position:fixed;z-index:80;inset:0 auto 0 0;width:min(280px,calc(100vw - 64px));height:100dvh;gap:12px;overflow-y:auto;overscroll-behavior:contain;padding-top:20px;padding-bottom:calc(40px + env(safe-area-inset-bottom,0px));transform:translate(-105%);transition:transform .22s ease;box-shadow:var(--shadow-drawer)}.sidebar-content{display:flex;flex:none;flex-direction:column;gap:8px}.sidebar-content .brand{padding-bottom:0}.sidebar-content .sidebar-nav{gap:2px}.sidebar-account{display:flex;flex-direction:column;gap:12px;margin-top:auto}.sidebar-account .sidebar-nav--bottom{margin-top:0}.sidebar-account .sidebar-legal-links{margin-top:-7px}.sidebar.is-open{transform:translate(0)}.mobile-menu-button{position:fixed;z-index:70;top:16px;left:16px;display:inline-flex;border:1px solid var(--border);box-shadow:var(--shadow-float)}.mobile-sidebar-close{position:absolute;top:12px;right:16px;display:inline-flex}.mobile-menu-backdrop{position:fixed;z-index:75;top:0;right:0;bottom:0;left:0;display:block;width:100%;border:0;background:#00000085;opacity:0;pointer-events:none;transition:opacity .22s ease}.mobile-menu-backdrop.is-visible{opacity:1;pointer-events:auto}.dashboard-main{padding-top:86px}.dashboard-floating-controls{right:14px;bottom:14px;left:14px;width:auto}.preview-editor-columns{grid-template-columns:1fr}.editor-inputs{border-right:0;border-bottom:1px solid var(--border)}.editor-results{min-height:390px}}@media(max-width:680px){.dashboard-main{padding:78px 14px 20px}.dashboard-header{flex-direction:column;margin-bottom:22px}.dashboard-header h1{font-size:37px}.dashboard-header-actions,.dashboard-header-actions .primary-button{width:100%}.section-heading.split,.modal-actions,.editor-section-heading,.inline-actions,.anonymous-account-banner,.anonymous-account-banner-actions{align-items:stretch;flex-direction:column}.section-heading.split>button:not(.icon-button),.modal-actions>button,.editor-section-heading>button:not(.icon-button),.inline-actions>button:not(.icon-button),.anonymous-account-banner-actions>button,.generated-preview-card-actions>button:not(.icon-button){width:100%}.section-heading.split>.icon-button,.editor-section-heading>.icon-button{align-self:flex-end}.editor-reference-catalogs{max-height:300px;overflow-y:auto}.editor-catalog-youtube{display:none}.home-sections{display:block}.home-sections>.quick-start{display:none}.home-sections .quick-start-in-feed{display:grid;margin:0}.quick-start{border-radius:14px;padding:21px}.quick-start-intro{align-items:stretch}.quick-start-intro .primary-button{width:100%}.quick-start h2{font-size:37px}.quick-start-steps{grid-template-columns:1fr}.quick-start-steps li{min-height:78px;grid-template-columns:34px 28px 1fr;align-items:center}.quick-start-steps li svg{grid-column:2;grid-row:1;margin:0}.quick-start-steps li div{grid-column:3;grid-row:1}.preview-grid,.album-grid,.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.preview-grid.preview-grid-youtube{grid-template-columns:1fr;gap:10px}.feed-toolbar{flex-direction:column;align-items:stretch}.feed-toolbar>button{width:100%}.feed-toolbar-controls{width:100%;flex-direction:column;align-items:stretch;gap:10px}.mobile-filters-toggle{display:inline-flex}.feed-filters-group{display:none;flex-direction:column;gap:10px;padding-top:4px}.feed-filters-group.is-open{display:flex}.filter-select{width:100%}.filter-select-button{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr) 16px;width:100%;min-height:44px;gap:8px;padding:9px 14px;font-size:14px;line-height:1.35}.filter-select-label{min-width:0;text-align:left}.filter-select-value{min-width:0;text-align:center;overflow-wrap:anywhere}.filter-select-caret{width:16px;height:16px}.filter-select-option{padding:10px 12px}.filter-select-menu{right:0;left:0}.filter-bar-count{font-size:13px}.filter-reset{align-self:flex-start}.preview-card-body,.album-card div{padding:11px}.preview-card h3,.album-card h3{font-size:13px}.preview-card-actions,.source-photo-card .delete-button{top:7px;right:7px}.favorite-button,.delete-button{width:31px;height:31px;border-radius:8px}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px);border-radius:14px}.modal-header{align-items:flex-start}.balance-topup-form label,.balance-topup-form .secondary-button{width:100%}.preview-editor{padding:12px 12px calc(12px + env(safe-area-inset-bottom))}.generation-progress-card.is-embedded{width:100%;margin-bottom:12px}.preview-editor-header{padding:4px 2px 12px}.preview-editor-header h2{font-size:33px}.preview-editor-columns{border-radius:12px}.editor-inputs,.editor-results{padding:14px}.editor-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.generated-preview-grid{grid-template-columns:1fr}}@media(max-width:480px){.profile-settings-modal .package-grid{grid-template-columns:1fr}}@media(max-width:390px){.auth-hero{min-height:430px;padding:22px}.auth-hero-points{display:grid;gap:7px}.preview-grid,.album-grid,.photo-grid{grid-template-columns:1fr}}@media(max-width:360px){.filter-select-button{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) 16px;gap:6px;padding-inline:10px;font-size:13px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.upload-account-prompt{display:grid;gap:10px;padding:14px;border:1px solid var(--border);border-radius:10px;background:var(--bg-subtle)}.upload-account-prompt p{margin:0;color:var(--text-secondary);font-size:14px}.auth-hero h1 .auth-youtube{color:var(--youtube-red)}.editor-photo-select .editor-photo-check{position:absolute;top:6px;left:6px;display:grid;width:24px;height:24px;place-items:center;border:2px solid #fff;border-radius:6px;background:#00000073;padding:0;color:#fff;pointer-events:none}.editor-photo-choice.is-selected .editor-photo-check{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}.profile-signout{display:flex;justify-content:flex-end;border-top:1px solid var(--border);padding-top:18px}
