.legal-checkbox{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;font-size:13px;line-height:1.55;color:var(--muted);text-align:left;cursor:pointer;margin:0}.legal-checkbox input[type=checkbox]{appearance:auto;width:17px!important;height:17px!important;min-height:0!important;flex:0 0 17px;margin:2px 0 0!important;padding:0!important;accent-color:var(--accent);border-radius:3px}.legal-checkbox a{color:var(--text);text-decoration:underline;text-underline-offset:3px}.legal-checkbox input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.app-modal{transform-origin:center;overscroll-behavior:contain}.app-modal::backdrop{background:#152b4280;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.app-modal[data-phase=opening]::backdrop{animation:modal-backdrop-in var(--modal-motion-duration,.3s) ease-out}.app-modal[data-phase=closing]::backdrop{animation:modal-backdrop-out var(--modal-motion-duration,.22s) ease-in forwards}.app-modal[data-phase=opening],.app-modal[data-phase=closing]{pointer-events:none}@keyframes modal-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes modal-backdrop-out{0%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.app-modal::backdrop{animation:none!important}}.email-code-form{display:flex;flex-direction:column;gap:16px}.auth-hint{font-size:13px;color:var(--text-muted,#8d929c);line-height:1.5;margin:0}.auth-code-sent{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.auth-code-input{letter-spacing:.3em;font-size:24px!important;text-align:center;font-variant-numeric:tabular-nums}.auth-code-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.auth-card .auth-code-actions .text-btn{margin:0}.auth-code-actions button:disabled{opacity:.5;cursor:default}.auth-legal{display:grid;gap:12px;margin-bottom:4px}.auth-dialog{width:560px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);overflow:auto}.auth-dialog::backdrop{background:#0009;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.auth-content{position:relative;padding:44px 44px 28px;display:flex;flex-direction:column;gap:18px}.auth-close{position:absolute;right:14px;top:14px}.auth-content h2{text-align:center;font-size:34px;line-height:1.2;font-weight:750;letter-spacing:-.035em;margin:4px 0 0}.auth-intro{text-align:center;color:var(--muted);font-size:16px;line-height:1.55;margin-bottom:8px}.auth-provider{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:12px;border-radius:14px;background:#fff;color:#191a1c;font-size:16px;font-weight:650;transition:filter .15s}.auth-provider:hover{filter:brightness(.92)}.auth-provider img{width:22px;height:22px;object-fit:contain;flex-shrink:0}.auth-telegram{background:#27a7e7;color:#fff;width:100%;font-size:17px;min-height:58px}.auth-vk{background:#2787f5;color:#fff}.auth-providers{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.auth-divider{display:flex;align-items:center;gap:14px;font-size:13px;color:var(--muted);margin:2px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--line)}.auth-content input{border-radius:12px;min-height:50px;background:var(--page-bg)}.auth-content .btn{min-height:50px;border-radius:12px;justify-content:center}.sidebar-login{width:100%;justify-content:center;gap:10px}@media(max-width:700px){.topbar .topbar-login{display:none}.auth-legal{display:grid;gap:12px;margin-bottom:4px}.auth-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:20px}.auth-content{padding:42px 22px 22px;gap:16px}.auth-content h2{font-size:28px}.auth-intro{font-size:14px}.auth-telegram{font-size:15px}.auth-providers{grid-template-columns:repeat(auto-fit,minmax(85px,1fr));gap:8px}.auth-provider{font-size:14px;gap:7px;padding:10px 8px}.auth-provider img{width:20px;height:20px}.sidebar-login{min-height:36px;padding:7px 12px;font-size:13px}.sidebar-login svg{display:none}}.kam-amount{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text)}.kam-icon{width:1.2em;height:1.2em;object-fit:contain;flex-shrink:0}.kam-amount strong{font-weight:750}.kam-code{font-weight:550;color:var(--muted);font-size:.85em}.wallet-reserve{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-height:40px;padding:10px 12px;border-radius:12px;background:#292a2d;color:#ff7878;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}.wallet-reserve strong{font-size:14px;font-weight:700}.wallet-reserve small{font-size:10px;font-weight:550}.wallet-reserve svg{color:#a5a6ad;flex-shrink:0}@media(max-width:700px){.wallet-reserve{min-height:36px;padding:8px;gap:4px}.wallet-reserve strong{font-size:12px}.wallet-reserve small{font-size:9px}}.subscription-checkout-terms{text-align:left;font-size:13px;line-height:1.5;color:var(--muted)}.subscription-checkout-terms label{display:flex;flex-direction:row;align-items:flex-start;gap:10px;margin-top:10px;cursor:pointer}.subscription-checkout-terms input{width:16px;height:16px;min-height:0;flex:0 0 16px;margin-top:3px;accent-color:var(--accent)}.pricing-dialog{width:1240px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);padding:0;margin:auto;border:1px solid var(--line);border-radius:22px;background:var(--page-bg);color:var(--text);overflow:auto;scrollbar-width:thin}.pricing-dialog::backdrop{background:#000b;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.pricing-dialog .pricing-close{position:sticky;display:flex;top:18px;margin:18px 22px -58px auto;z-index:3;background:var(--page-bg)}.pricing-header{text-align:center;padding:70px 36px 0}.pricing-header>p{color:var(--muted);font-size:20px;line-height:1.5;margin-top:10px}.pricing-header .pricing-hero-amount{font-size:88px;line-height:1.1;gap:22px;margin-top:14px;letter-spacing:-.045em}.pricing-hero-amount .kam-icon{width:.84em;height:.84em}.pricing-hero-details{min-height:32px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;font-size:22px;line-height:1.4;margin-top:6px;color:var(--accent)}.pricing-hero-details .kam-amount{gap:10px}.pricing-hero-details .kam-icon{width:30px;height:30px}.pricing-hero-period{color:var(--muted);font-size:17px}.pricing-content{padding:0 36px 44px}.pricing-packages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:0}.pricing-package{position:relative;padding-top:32px;min-width:0}.pricing-dialog article{--tier:#888b8e;--tier-bg:#202224;--tier-line:#393b3e;min-width:0}.pricing-dialog .pricing-tier-mini{--tier:#2995b7;--tier-bg:#102a34;--tier-line:#234451}.pricing-dialog .pricing-tier-start{--tier:#00c8f8;--tier-bg:#073549;--tier-line:#09506a}.pricing-dialog .pricing-tier-pro,.pricing-dialog .pricing-tier-plus{--tier:#00e995;--tier-bg:#0c3025;--tier-line:#15513d}.pricing-dialog .pricing-tier-creator,.pricing-dialog .pricing-tier-max{--tier:#ff0073;--tier-bg:#341122;--tier-line:#63213f}.pricing-ribbon{position:absolute;top:0;left:0;right:0;height:39px;padding:0 8px 6px;display:flex;align-items:center;justify-content:center;gap:7px;background:var(--tier);color:#05201a;border-radius:11px 11px 0 0;text-transform:uppercase;font-size:12px;font-weight:750;white-space:nowrap}.pricing-tier-creator .pricing-ribbon{color:#fff}.pricing-card,.pricing-subscription{position:relative;width:100%;border:1px solid var(--tier-line);border-top:3px solid var(--tier);border-radius:11px;background:var(--tier-bg);color:var(--text);text-align:left;transition:filter .15s,border-color .15s}.pricing-card{display:flex;flex-direction:column;align-items:stretch;padding:19px 25px 20px;min-height:188px}.pricing-card:hover,.pricing-subscription:hover{filter:brightness(1.17)}.pricing-card.is-selected,.pricing-subscription.is-selected{border-color:var(--tier);outline:1px solid var(--tier)}.pricing-card.is-selected:after,.pricing-subscription.is-selected:after{content:"";position:absolute;inset:0;border:1px solid var(--tier);border-radius:9px;pointer-events:none}.pricing-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:20px;line-height:1.4}.pricing-radio{color:#88949e;flex-shrink:0;stroke-width:1.7}.is-selected .pricing-radio{color:var(--tier)}.pricing-price{font-size:32px;line-height:1.25;font-weight:750;letter-spacing:-.035em;white-space:nowrap;margin:5px 0 16px}.pricing-package-amount{font-size:21px;line-height:1.3;gap:10px}.pricing-package-amount strong{font-weight:500}.pricing-package-amount .kam-icon{width:29px;height:29px}.pricing-bonus{color:var(--accent);font-size:18px;line-height:1.4;margin-top:4px;white-space:nowrap}.pricing-subscriptions-section{margin-top:44px;padding-top:26px;border-top:1px solid var(--line)}.pricing-section-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:20px;margin-bottom:20px}.pricing-section-heading h3{font-size:26px;line-height:1.35;font-weight:700;letter-spacing:-.025em}.pricing-section-heading>span{font-size:16px;color:var(--muted)}.pricing-subscriptions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pricing-subscription{display:flex;align-items:center;gap:22px;min-height:128px;padding:22px}.pricing-subscription>.pricing-radio{align-self:flex-start;margin-top:2px}.pricing-subscription-main{display:flex;flex-direction:column;gap:7px;font-size:20px;white-space:nowrap}.pricing-subscription-main strong{font-size:25px;font-weight:750;letter-spacing:-.025em}.pricing-subscription-benefits{display:flex;flex-direction:column;justify-content:center;gap:10px;border-left:1px solid #ffffff18;padding-left:20px;margin-left:auto;min-width:0}.pricing-gift{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:16px}.pricing-gift .kam-amount{gap:8px}.pricing-gift .kam-amount strong{font-weight:500}.pricing-gift .kam-icon{width:28px;height:28px}.pricing-discount{padding:5px 12px;border-radius:7px;background:#fb9c5612;color:var(--accent);font-size:16px;line-height:1.5;text-align:center;white-space:nowrap}.pricing-footer{position:sticky;bottom:0;z-index:2;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:28px;padding:24px 36px 20px;border-top:1px solid var(--line);background:var(--page-bg)}.pricing-selection{display:flex;align-items:center;flex-wrap:wrap;gap:16px;font-size:23px;line-height:1.4}.pricing-selection-label{color:var(--muted);font-size:16px;margin-right:10px}.pricing-selection-price{font-weight:700;white-space:nowrap}.pricing-selection>svg{color:var(--muted);flex-shrink:0}.pricing-selection .kam-amount{gap:10px}.pricing-selection .kam-icon{width:30px;height:30px}.pricing-checkout{display:flex;flex-direction:column;gap:8px;text-align:center;min-width:0}.pricing-dialog .pricing-pay{width:100%;min-height:66px;border-radius:11px;font-size:23px;font-weight:750;justify-content:center}.pricing-availability{font-size:11px;color:var(--muted)}.pricing-payment-error{font-size:13px;color:#f6b49d;line-height:1.5}.pricing-pending-orders{display:grid;gap:12px;margin-top:24px}.pricing-pending-orders>div{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:13px}.pricing-pending-orders>div>span{display:flex;align-items:center;gap:8px}.pricing-pending-orders .text-btn{color:var(--accent)}@media(max-width:1250px){.pricing-card{padding:18px 16px}.pricing-card-heading{font-size:18px}.pricing-price{font-size:28px}.pricing-bonus{font-size:15px}.pricing-subscription{padding:20px 16px;gap:14px}.pricing-subscription-main{font-size:17px}.pricing-subscription-main strong{font-size:22px}.pricing-subscription-benefits{padding-left:12px}.pricing-gift,.pricing-discount{font-size:13px}.pricing-gift .kam-icon{width:24px;height:24px}.pricing-selection{gap:12px;font-size:20px}.pricing-selection-label{width:100%;margin:0;font-size:13px}}@media(max-width:1000px){.pricing-header{padding:48px 24px 0}.pricing-content{padding:0 24px 28px}.pricing-packages{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.pricing-subscriptions{grid-template-columns:1fr}.pricing-subscription{min-height:94px}.pricing-subscription-main{flex-direction:row;align-items:baseline;gap:20px}.pricing-subscription-benefits{flex-direction:row;align-items:center;border:0;gap:16px}.pricing-footer{padding:20px 24px;gap:20px}.pricing-dialog .pricing-pay{font-size:20px;min-height:56px}}@media(max-width:600px){.pricing-dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:17px}.pricing-dialog .pricing-close{top:10px;margin:10px 10px -50px auto}.pricing-header{padding:54px 16px 0}.pricing-header>p{font-size:14px;margin-top:8px}.pricing-header .pricing-hero-amount{font-size:56px;gap:14px;margin-top:14px}.pricing-hero-details{font-size:15px;gap:9px;margin-top:7px}.pricing-hero-details .kam-icon{width:21px;height:21px}.pricing-hero-period{font-size:13px}.pricing-content{padding:0 14px 24px}.pricing-packages{grid-template-columns:1fr;gap:10px;margin-top:22px}.pricing-package{padding-top:0}.pricing-package:has(.pricing-ribbon){padding-top:29px}.pricing-ribbon{height:36px;font-size:11px}.pricing-card{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:5px;min-height:100px;padding:15px 18px}.pricing-card-heading{grid-column:1/-1;font-size:16px}.pricing-card-heading .pricing-radio{width:23px;height:23px}.pricing-price{grid-column:1;grid-row:2;margin:0;font-size:25px}.pricing-package-amount{grid-column:2;grid-row:2;font-size:18px;gap:7px;justify-content:flex-end}.pricing-package-amount .kam-icon{width:23px;height:23px}.pricing-bonus{grid-column:2;grid-row:3;text-align:right;font-size:13px;margin:0}.pricing-subscriptions-section{margin-top:26px;padding-top:22px}.pricing-section-heading{gap:5px;margin-bottom:16px;flex-direction:column}.pricing-section-heading h3{font-size:20px}.pricing-section-heading>span{font-size:13px}.pricing-subscription{gap:12px;padding:16px 14px;min-height:105px}.pricing-subscription>.pricing-radio{width:23px;height:23px}.pricing-subscription-main{flex-direction:column;align-items:flex-start;gap:3px;font-size:15px}.pricing-subscription-main strong{font-size:22px}.pricing-subscription-benefits{flex-direction:column;gap:7px;padding-left:12px;border-left:1px solid #ffffff18}.pricing-gift{gap:4px;font-size:12px}.pricing-gift .kam-amount{gap:6px}.pricing-gift .kam-icon{width:22px;height:22px}.pricing-discount{font-size:12px;padding:3px 10px}.pricing-footer{grid-template-columns:1fr;gap:12px;padding:14px 16px}.pricing-selection{gap:10px;font-size:16px}.pricing-selection-label{font-size:12px;width:100%;margin:0}.pricing-selection .kam-icon{width:23px;height:23px}.pricing-selection .kam-amount{gap:6px}.pricing-selection>svg{width:16px}.pricing-dialog .pricing-pay{min-height:48px;font-size:17px}.pricing-availability{font-size:10px}.pricing-checkout{gap:5px}}@media(prefers-reduced-motion:reduce){.pricing-card,.pricing-subscription{transition:none}}.subscription-discount,.site-header .subscription-discount,.sidebar-wallet .subscription-discount{padding:9px 10px;min-height:40px;border-radius:10px;background:#fb9c561c;color:var(--accent);font-size:13px;font-weight:750;white-space:nowrap}.subscription-discount:hover{background:#fb9c5630}.subscription-discount:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.sidebar-wallet:has(.subscription-discount){grid-template-columns:minmax(0,1fr) auto}.sidebar-wallet:has(.subscription-discount) .sidebar-topup{grid-column:1/-1}@media(max-width:600px){.site-header:has(.subscription-discount) .header-pricing{display:none}}.notification-header-actions{display:flex;align-items:center;gap:8px}.notification-clear{font-size:12px;white-space:nowrap;min-height:32px}.notification-clear:disabled{opacity:.5}.site-header .notification-bell{position:relative;padding:9px;background:transparent;color:var(--muted)}.site-header .notification-bell:hover,.site-header .notification-bell[aria-expanded=true]{background:var(--surface-soft);color:var(--text)}.notification-count{position:absolute;top:0;right:-3px;border-radius:10px;background:var(--accent);color:#21170f;font-size:10px;min-width:17px;line-height:17px;text-align:center;padding:0 3px}.notification-dropdown{position:fixed;inset:auto;margin:0;box-sizing:border-box;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 14px 45px #0005;overflow:auto;overscroll-behavior:contain;font-family:inherit}.notification-dropdown:popover-open{animation:notification-drop-in .16s ease-out}.notification-dropdown>header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;background:var(--surface);border-bottom:1px solid var(--line)}.notification-dropdown h2{font-size:17px;line-height:1.3}.notification-dropdown header .icon-btn{min-width:32px;min-height:32px}.notification-list{padding:8px}.notification-item{display:flex;align-items:flex-start;gap:12px;width:100%;padding:14px 12px;background:transparent;color:var(--muted);text-align:left;border-radius:9px}.notification-item+.notification-item{border-top:1px solid var(--line)}.notification-item.unread{background:#fb9c560c;color:var(--text)}.notification-item:hover{background:var(--surface-hover)}.notification-item>svg{color:var(--accent);flex-shrink:0;margin-top:3px}.notification-item>span{min-width:0}.notification-item strong,.notification-item span>span,.notification-item small{display:block;overflow-wrap:anywhere}.notification-item strong{font-size:14px}.notification-item span>span{font-size:13px;line-height:1.5;margin-top:3px}.notification-item small{font-size:11px;margin-top:6px;color:var(--muted)}.notification-empty{display:flex;align-items:center;flex-direction:column;gap:12px;text-align:center;padding:26px 14px;color:var(--muted)}.notification-empty strong{color:var(--text);font-size:14px;line-height:1.5}.notification-empty p{font-size:12px;line-height:1.5}.notification-invite{position:relative}.notification-invite .notification-item{padding-right:40px}.notification-dismiss{position:absolute;right:5px;top:5px;min-width:30px;min-height:30px}@keyframes notification-drop-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.notification-dropdown:popover-open{animation:none}}.site-header .mobile-brand{display:none}.site-header{position:sticky;top:0;z-index:30;height:68px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 46px 0;background:var(--page-bg);transition:height .22s ease,padding .22s ease,min-height .22s ease,box-shadow .22s ease}.site-header.is-compact{height:52px;padding-block:8px;box-shadow:0 1px 0 var(--line)}.app-shell>main>.site-header+:is(.page,.home-page,.editor-page){padding-top:32px}.site-header-actions,.site-header-wallet{display:flex;align-items:center;gap:8px}.site-header-actions{margin-left:auto;gap:20px;flex-shrink:0;transition:gap .22s ease}.site-header button,.site-header a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;border-radius:10px;padding:9px 14px;font-size:14px;font-weight:650;white-space:nowrap;transition:background .15s,padding .22s ease,min-height .22s ease}.site-header svg{flex-shrink:0}.site-header .header-balance{min-width:76px;padding:11px 16px;background:color-mix(in srgb,var(--accent) 13%,var(--sidebar-bg));border-radius:12px}.header-balance .kam-amount{align-items:center;line-height:1;gap:4px;color:var(--accent);font-size:17px}.site-header .header-balance:hover{background:color-mix(in srgb,var(--accent) 20%,var(--sidebar-bg))}.header-pricing{background:var(--surface-soft);color:var(--text)}.header-pricing:hover{background:var(--surface-hover)}.header-pricing>svg{color:var(--accent)}.header-login{background:var(--text);color:var(--page-bg)}.header-login:hover{background:#dcdce0}.wallet-dialog{width:420px;max-width:calc(100vw - 32px);padding:32px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--text)}.wallet-close{position:absolute;top:12px;right:12px}.wallet-symbol{display:block;width:40px;height:40px;object-fit:contain;margin-bottom:16px}.wallet-kam-balance{margin-top:20px;font-size:32px}.wallet-kam-balance .kam-icon{width:32px;height:32px}.wallet-dialog .wallet-currency-info{margin-bottom:8px;color:var(--text)}.wallet-dialog h2{font-size:26px}.wallet-dialog p{color:var(--muted);margin:12px 0 24px;line-height:1.6}.wallet-dialog>.btn{width:100%}@media(max-width:1100px){.site-header{padding-inline:24px}}@media(max-width:700px){.site-header{height:56px;padding:10px 16px 0;gap:8px}.site-header-actions{gap:10px}.site-header button,.site-header a{min-height:36px;font-size:12px;padding:8px 10px;gap:6px}.site-header .header-balance{min-width:56px;padding:8px 10px}}@media(max-width:400px){.site-header{padding-inline:12px}.site-header-actions{gap:6px}.site-header .header-pricing>svg{display:none}.site-header .header-balance{padding-inline:8px}}@media(min-width:801px){.site-header.is-compact .site-header-actions{gap:12px}.site-header.is-compact button{min-height:36px;padding-block:6px}.site-header.is-compact .header-balance{padding-inline:12px}}@media(prefers-reduced-motion:reduce){.site-header,.site-header-actions,.site-header button,.site-header a{transition:none}}.wallet-dialog{max-height:calc(100dvh - 32px);overflow:auto}.wallet-orders{display:grid;gap:14px;margin:20px 0}.wallet-orders article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:12px}.wallet-orders small{display:block;color:var(--muted);margin-top:4px}.wallet-orders .text-btn{font-size:12px}.wallet-orders article>span{color:var(--accent)}.mobile-navigation-bar{--nav-circle-size:clamp(58px,18vw,72px);display:flex;align-items:center;isolation:isolate;padding:5px 6px;border:0;border-radius:999px;background:#191c20d9;color:#e4e7ec;box-shadow:0 8px 28px #0005}@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.mobile-navigation-bar{background:#191c208c;-webkit-backdrop-filter:blur(22px) saturate(150%);backdrop-filter:blur(22px) saturate(150%)}}.mobile-navigation-bar .mobile-navigation-item{position:relative;isolation:isolate;display:flex;flex:1;min-width:0;height:var(--nav-circle-size);flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;border:0;border-radius:50%;background:transparent;color:#e0e3e8;font-size:clamp(8.5px,2.55vw,11px);line-height:1.15;font-weight:550;text-align:center;white-space:nowrap;text-shadow:0 1px 4px #0008;transition:color .18s}.mobile-navigation-item:before{content:"";position:absolute;z-index:-1;width:var(--nav-circle-size);height:var(--nav-circle-size);border:0;box-sizing:border-box;border-radius:50%;background:transparent;transition:background .18s}.mobile-navigation-bar .mobile-navigation-item.active{color:var(--accent)}.mobile-navigation-item.active:before{background:#fb9c5629}.mobile-navigation-bar svg{flex-shrink:0;stroke-width:1.8}.mobile-navigation-item>span:not(.notification-count){position:relative;display:block;max-width:min(calc(100% - 8px),calc(var(--nav-circle-size) - 14px));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-navigation-item:active:before{background:#ffffff14}.mobile-navigation-item.active:active:before{background:#fb9c5640}.mobile-navigation-bar .notification-count{top:3px;right:calc(50% - 24px);font-size:9px;min-width:15px;line-height:15px;text-shadow:none}.mobile-navigation-bar :focus-visible{outline:2px solid var(--accent);outline-offset:0}@media(prefers-reduced-transparency:reduce){.mobile-navigation-bar{background:#1c1e22;-webkit-backdrop-filter:none;backdrop-filter:none}}@media(prefers-reduced-motion:reduce){.mobile-navigation-item,.mobile-navigation-item:before{transition:none}}.mobile-navigation{display:none}@media(max-width:800px){.mobile-navigation{position:fixed;z-index:40;display:flex;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));max-width:520px;margin-inline:auto}body:has(input:focus,textarea:focus,[contenteditable=true]:focus) .mobile-navigation{visibility:hidden}}.account-trigger,.site-header .account-trigger{display:flex;align-items:center;justify-content:flex-start;gap:11px;min-width:0;padding:5px 7px;border-radius:12px;background:transparent;color:var(--text);text-align:left;transition:background .15s}.account-trigger:hover{background:var(--surface-hover)}.account-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.account-avatar{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;background:radial-gradient(circle at 25% 15%,#ffbe83,#ab6239 70%,#633828);color:#fff;font-size:17px;font-weight:750;box-shadow:inset 0 1px 2px #ffffff30}.account-trigger-copy{display:flex;flex-direction:column;min-width:0;gap:2px;line-height:1.2}.account-trigger-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:650;max-width:180px}.account-trigger-copy small{color:var(--muted);font-size:12px;line-height:1.3;font-weight:450}.account-chevron{flex-shrink:0;margin-left:auto;color:var(--muted)}.sidebar-bottom .account-trigger{width:100%;margin-top:16px}.sidebar-bottom .account-trigger-copy{flex:1}@media(max-width:1100px){.site-header .account-trigger-copy strong{max-width:130px}}@media(max-width:700px){.sidebar-bottom .account-trigger{display:flex;width:auto;margin:0;padding:2px}.sidebar-bottom .account-trigger-copy,.sidebar-bottom .account-chevron{display:none}.sidebar-bottom .account-avatar{width:32px;height:32px;font-size:14px}.site-header .account-trigger{gap:5px;padding:2px}.site-header .account-trigger-copy{display:none}.site-header .account-avatar{width:32px;height:32px;font-size:14px}}.sidebar-wallet{display:grid;grid-template-columns:minmax(0,1fr)}.sidebar-wallet button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:42px;padding:10px 12px;border-radius:12px;font-size:13px;font-weight:650;white-space:nowrap;transition:background .15s}.sidebar-wallet button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.sidebar-topup{background:var(--accent);color:#22150d}.sidebar-topup:hover{background:var(--accent-hover)}@media(max-width:1200px){.sidebar-wallet button{padding-inline:8px;font-size:12px}}@media(max-width:700px){.sidebar-wallet{display:none}}.account-settings{display:flex;flex-direction:column;flex:1;min-width:0;gap:18px}.settings-heading{margin-bottom:10px;padding-right:14px}.settings-heading h2{font-size:32px;line-height:1.3;letter-spacing:-.035em;font-weight:750}.settings-heading p{color:var(--muted);font-size:17px;margin-top:8px;line-height:1.5}.account-settings h3{font-size:19px;letter-spacing:-.015em;font-weight:650;line-height:1.4}.settings-row{display:flex;align-items:center;gap:21px;min-height:72px;padding:12px 0}.settings-row+.settings-row{border-top:1px solid var(--line)}.settings-row-copy{flex:1;min-width:0}.settings-row-copy strong{display:block;font-size:17px;font-weight:550;line-height:1.4}.settings-row-copy small{display:block;color:var(--muted);font-size:15px;line-height:1.4;margin-top:3px;overflow-wrap:anywhere}.settings-switch{display:flex;align-items:center;flex-shrink:0;width:54px;height:30px;padding:3px;border-radius:30px;background:var(--surface-hover);transition:background .18s}.settings-switch>span{width:24px;height:24px;border-radius:50%;background:var(--text);box-shadow:0 1px 3px #0005;transition:transform .18s}.settings-switch[aria-checked=true]{background:var(--accent)}.settings-switch[aria-checked=true]>span{transform:translate(24px)}.settings-switch:disabled{opacity:.7}.settings-switch:focus-visible{box-shadow:0 0 0 3px #fb9c5650}.settings-channels{border-top:1px solid var(--line);margin-top:8px;padding-top:20px}.settings-channels h3{margin-bottom:3px}.settings-provider-icon,.settings-mail-icon{width:46px;height:46px;flex-shrink:0;object-fit:contain}.settings-mail-icon{display:grid;place-items:center;border-radius:13px;background:var(--surface-soft);color:var(--muted)}.account-settings .btn.secondary{background:transparent;font-size:14px;font-weight:500;border-color:#71757e;padding:9px 18px;min-height:40px}.account-settings .btn.secondary:hover{background:var(--surface-hover)}.settings-connected{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--muted);white-space:nowrap}.settings-connections .settings-row{min-height:100px}.settings-hint,.settings-delivery-note{color:var(--muted);font-size:13px;line-height:1.6}.settings-delivery-note{margin-top:6px;max-width:480px}.settings-save-status{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-height:22px;margin-top:auto;padding-top:12px;color:var(--muted);font-size:14px;line-height:1.4}.settings-save-status svg{flex-shrink:0}.settings-name{display:flex;align-items:flex-end;gap:12px;margin:3px 0 28px}.settings-name label{flex:1;min-width:0;font-size:15px}.settings-name input{margin-top:3px;background:var(--page-bg);border-color:var(--line)}.settings-name input:focus{border-color:var(--accent)}.settings-name .btn{margin-bottom:1px}.settings-email{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0;margin-bottom:24px}.settings-email>p{margin:12px 0 7px;font-size:16px;overflow-wrap:anywhere}.settings-link{padding:5px 0;background:transparent;color:var(--accent);font-size:14px;text-align:left}.settings-link:hover{text-decoration:underline}.settings-profile>.settings-link{margin-top:6px}.account-settings .email-code-form{margin-top:18px}@media(max-width:800px){.settings-heading{margin-bottom:7px}.settings-heading h2{font-size:25px}.settings-heading p{font-size:14px}.account-settings{gap:14px}.account-settings h3{font-size:17px}.settings-row{gap:12px;min-height:80px;padding:16px 0}.settings-row-copy strong{font-size:15px}.settings-row-copy small{font-size:12px}.settings-provider-icon,.settings-mail-icon{width:34px;height:34px}.account-settings .btn.secondary{font-size:12px;padding:8px 10px}.settings-channels{padding-top:21px}.settings-save-status{font-size:12px;padding-top:15px}.settings-delivery-note{font-size:12px}.settings-connected{font-size:11px;gap:3px}.settings-name{align-items:stretch;flex-direction:column}.settings-name .btn{align-self:flex-start}}@media(prefers-reduced-motion:reduce){.settings-switch,.settings-switch>span{transition:none}}.account-subscriptions{display:flex;flex-direction:column;gap:18px}.account-subscription{border:1px solid var(--line);border-radius:14px;padding:20px;background:var(--page-bg)}.account-subscription.active{border-color:#fb9c5650;background:#fb9c5609}.subscription-card-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.subscription-card-heading h3{font-size:21px}.subscription-card-heading>strong{color:var(--accent);font-size:23px}.subscription-status{display:flex;align-items:center;gap:7px;margin-top:12px;color:var(--accent);font-size:13px}.frozen .subscription-status{color:var(--muted)}.subscription-remaining{margin-top:8px;font-size:16px;font-weight:650}.subscription-explanation,.subscription-empty{font-size:13px;color:var(--muted);line-height:1.6}.account-subscription .subscription-explanation{margin-top:6px}.account-subscriptions>.btn{align-self:flex-start}.account-dialog{position:fixed;inset:0;margin:auto;width:1020px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);overflow:auto;box-shadow:0 28px 100px #0005}.account-dialog::backdrop{background:#0008;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.account-dialog-close{position:absolute;z-index:2;top:16px;right:16px;color:var(--muted)}.account-layout{display:grid;grid-template-columns:286px minmax(0,1fr);min-height:640px}.account-menu{display:flex;flex-direction:column;padding:26px 12px 24px;background:var(--page-bg);border-right:1px solid var(--line)}.account-menu>h2{font-size:23px;letter-spacing:-.025em;padding:0 17px;line-height:1.4}.account-summary{display:flex;align-items:center;gap:17px;margin:25px 17px 30px;min-width:0}.account-summary .account-avatar{width:58px;height:58px;font-size:27px}.account-summary>div{min-width:0}.account-summary strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:650}.account-summary small{display:block;color:var(--muted);font-size:14px;margin-top:2px}.account-menu nav{display:flex;flex-direction:column;gap:6px}.account-menu nav>button,.account-signout{display:flex;align-items:flex-start;gap:12px;background:transparent;color:var(--muted);text-align:left;border-radius:10px;padding:16px 14px;font-size:15px;font-weight:500;line-height:1.5}.account-menu nav>button>svg{flex-shrink:0;margin-top:1px}.account-menu nav>button:hover,.account-signout:hover{background:var(--surface-soft);color:var(--text)}.account-menu nav>button.selected{background:#fb9c561c;color:var(--accent)}.account-menu nav>button:focus-visible,.account-signout:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}.account-service-icons{display:flex;gap:16px;margin-top:13px}.account-service-icons img{width:22px;height:22px;object-fit:contain}.account-signout{margin-top:auto;align-items:center}.account-content{min-width:0;padding:36px 38px 30px;display:flex;flex-direction:column}@media(max-width:800px){.account-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.account-layout{grid-template-columns:1fr;min-height:0}.account-menu{padding:20px 16px 12px;border-right:0;border-bottom:1px solid var(--line)}.account-menu>h2{padding:0;font-size:20px}.account-summary{margin:16px 0;gap:12px}.account-summary .account-avatar{width:42px;height:42px;font-size:20px}.account-summary strong{font-size:15px}.account-menu nav{flex-direction:row;gap:4px}.account-menu nav>button{flex:1;justify-content:center;align-items:center;flex-direction:column;gap:6px;padding:9px 3px;font-size:11px;line-height:1.3;text-align:center}.account-menu nav>button>svg{width:20px;height:20px}.account-service-icons{display:none}.account-signout{position:absolute;right:18px;top:73px;padding:8px;font-size:13px;gap:7px}.account-signout svg{width:18px}.account-summary{padding-right:85px}.account-content{padding:24px 20px}.account-dialog-close{top:13px;right:12px}}.legal-footer[data-v-93616a73]{padding:28px 24px 0;text-align:center;color:var(--muted);font-size:12px;line-height:1.7}.legal-footer nav[data-v-93616a73]{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 22px;margin-bottom:12px}.legal-footer nav a[data-v-93616a73]{color:var(--text)}.legal-footer a[data-v-93616a73]:hover{text-decoration:underline}.legal-footer p[data-v-93616a73]{margin-bottom:5px}.emoji-credits[data-v-a6532791]{margin-top:auto;flex-shrink:0;padding:16px 24px 22px;text-align:center;font-size:11px;line-height:1.6;color:var(--muted)}.emoji-credits a[data-v-a6532791]{color:inherit;text-decoration:none}.emoji-credits a[data-v-a6532791]:hover{text-decoration:underline}.noto-emoji[data-v-0e9ef33a]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle;line-height:1}.noto-emoji picture[data-v-0e9ef33a],.noto-emoji img[data-v-0e9ef33a]{display:block;width:100%;height:100%;object-fit:contain}.home-preview-slide[data-v-7f7ec550]{position:absolute;inset:0;overflow:hidden;background:#101112;pointer-events:none}video[data-v-7f7ec550],.home-cover[data-v-7f7ec550]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}video[data-v-7f7ec550]{opacity:0}video.has-frame[data-v-7f7ec550]{opacity:1}.home-video-error[data-v-7f7ec550]{position:absolute;top:46px;left:16px;right:16px;color:#fff;font-size:12px;text-shadow:0 1px 6px #000}.glass-video-control[data-v-1606452c]{position:relative;display:grid;place-items:center;flex-shrink:0;width:var(--glass-size);height:var(--glass-size);padding:0;border:0;border-radius:50%;background:radial-gradient(ellipse at 30% 12%,#ffffff26,transparent 70%),linear-gradient(150deg,#ffffff12,#10141c14);-webkit-backdrop-filter:blur(16px) saturate(1.45) brightness(1.08);backdrop-filter:blur(16px) saturate(1.45) brightness(1.08);box-shadow:0 8px 24px #0000001a;color:#fff;transition:opacity .2s}.glass-video-control svg[data-v-1606452c]{position:relative;filter:drop-shadow(0 1px 3px #0004)}.glass-video-control.is-play svg[data-v-1606452c]{margin-left:5%}.glass-video-control.is-subdued[data-v-1606452c]{opacity:.65}button.glass-video-control[data-v-1606452c]{cursor:pointer}button.glass-video-control[data-v-1606452c]:hover,button.glass-video-control[data-v-1606452c]:focus-visible{opacity:1}@media(max-width:700px){.glass-video-control[data-v-1606452c]{width:min(var(--glass-size),48px);height:min(var(--glass-size),48px)}}@media(prefers-reduced-motion:reduce){.glass-video-control[data-v-1606452c]{transition:none}}.trend-preview>button[data-v-c29249ec],.trend-preview>a[data-v-c29249ec]{display:block;width:100%;height:100%;border:0;padding:0;background:#101112;color:inherit;text-align:left}.trend-preview>button[data-v-c29249ec]:focus-visible,.trend-preview>a[data-v-c29249ec]:focus-visible{border-radius:inherit}.home-cover-progress[data-v-c29249ec]{position:absolute;z-index:2;top:8px;left:16px;right:16px;display:flex;gap:4px;height:24px}.home-cover-progress>button[data-v-c29249ec]{flex:1;min-width:0;display:flex;align-items:center;border:0;padding:0;background:transparent;cursor:pointer}.home-cover-progress>button>span[data-v-c29249ec]{width:100%;height:4px;background:#ffffff60;border-radius:4px;overflow:hidden;transition:height .15s,background .15s,box-shadow .15s;box-shadow:0 1px 4px #0002}.home-cover-progress:hover>button>span[data-v-c29249ec],.home-cover-progress:focus-within>button>span[data-v-c29249ec]{height:7px}.home-cover-progress>button[data-v-c29249ec]:focus-visible{border-radius:4px}.home-cover-progress i[data-v-c29249ec]{display:block;height:100%;background:#fff;transform-origin:left;transition:background .15s}.is-engaged .home-cover-progress>button[aria-pressed=true]>span[data-v-c29249ec],.home-cover-progress>button:hover>span[data-v-c29249ec],.home-cover-progress>button:focus-visible>span[data-v-c29249ec]{background:color-mix(in srgb,var(--accent) 55%,transparent);box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 50%,transparent),0 0 10px #0003}.is-engaged .home-cover-progress>button[aria-pressed=true] i[data-v-c29249ec],.home-cover-progress>button:hover i[data-v-c29249ec],.home-cover-progress>button:focus-visible i[data-v-c29249ec]{background:var(--accent)}.home-preview-shade[data-v-c29249ec]{position:absolute;inset:0;background:#0003;pointer-events:none;transition:opacity .2s}.home-play-cue[data-v-c29249ec]{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;transition:opacity .2s}.is-playing .home-preview-shade[data-v-c29249ec]{opacity:0}.home-card-details[data-v-c29249ec]{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:7px;padding:64px 16px 20px;background:linear-gradient(transparent,#000000d1);color:#fff;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s;pointer-events:none;text-shadow:0 1px 8px #0008}.home-card-details.has-tag[data-v-c29249ec]{padding-bottom:70px}.home-card-details strong[data-v-c29249ec]{font-size:clamp(17px,1.6cqw,24px);font-weight:800;line-height:1.2;letter-spacing:-.02em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.home-card-description[data-v-c29249ec]{font-size:clamp(12px,1cqw,15px);line-height:1.45;color:#ffffffe0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}.is-engaged .home-card-details[data-v-c29249ec]{opacity:1;visibility:visible;transform:none}.home-preview-enter-active[data-v-c29249ec],.home-preview-leave-active[data-v-c29249ec]{transition:transform .35s cubic-bezier(.22,.61,.36,1)}.home-preview-enter-from[data-v-c29249ec]{transform:translate(100%)}.home-preview-leave-to[data-v-c29249ec]{transform:translate(-100%)}@media(max-width:700px){.home-cover-progress[data-v-c29249ec]{top:4px;left:12px;right:12px}.home-card-details[data-v-c29249ec]{padding:48px 12px 58px}.home-card-details.has-tag[data-v-c29249ec]{padding-bottom:56px}.home-card-description[data-v-c29249ec]{-webkit-line-clamp:2}}@media(prefers-reduced-motion:reduce){.home-card-details[data-v-c29249ec],.home-play-cue[data-v-c29249ec],.home-preview-shade[data-v-c29249ec],.home-cover-progress i[data-v-c29249ec],.home-cover-progress>button>span[data-v-c29249ec],.home-preview-enter-active[data-v-c29249ec],.home-preview-leave-active[data-v-c29249ec]{transition:none}}.template-character-count[data-v-bbfea53a]{display:inline-flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid #ffffff26;border-radius:7px;background:#101112b3;color:#fff;font-size:12px;font-weight:550;line-height:1.4;white-space:nowrap;pointer-events:none}.template-character-count svg[data-v-bbfea53a]{flex-shrink:0}@media(max-width:700px){.template-character-count[data-v-bbfea53a]{gap:5px;padding:4px 7px;font-size:11px}.template-character-count svg[data-v-bbfea53a]{width:14px;height:14px}}.generation-media-header[data-v-2eb647ba]{position:absolute;top:12px;left:12px;right:12px;z-index:3;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}.generation-card[data-v-2eb647ba]{min-width:0;align-self:start}.generation-media[data-v-2eb647ba]{position:relative;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#101418;isolation:isolate}.generation-open[data-v-2eb647ba]{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;border-radius:inherit}.generation-open video[data-v-2eb647ba]{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.generation-cover-placeholder[data-v-2eb647ba]{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;color:var(--muted);text-align:center}.generation-cover-placeholder strong[data-v-2eb647ba]{font-size:16px}.generation-cover[data-v-2eb647ba]{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.generation-frozen-frame[data-v-2eb647ba]{background:#101418}.generation-play-cue[data-v-2eb647ba]{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.generation-overlay[data-v-2eb647ba]{position:absolute;inset:auto 0 0;padding:64px 18px 18px;background:linear-gradient(transparent,#000000d9);color:#fff;opacity:0;transform:translateY(8px);transition:opacity .18s,transform .18s;pointer-events:none;max-height:100%;overflow-y:auto}.generation-media:hover .generation-overlay[data-v-2eb647ba],.generation-media:focus-within .generation-overlay[data-v-2eb647ba]{opacity:1;transform:none}.generation-overlay.has-footer[data-v-2eb647ba]{opacity:1;transform:none;padding:40px 14px 12px}.has-footer .generation-details[data-v-2eb647ba]{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .18s,opacity .18s,visibility .18s}.has-footer .generation-details-inner[data-v-2eb647ba]{min-height:0;overflow:hidden}.generation-media:hover .has-footer .generation-details[data-v-2eb647ba],.generation-media:focus-within .has-footer .generation-details[data-v-2eb647ba]{grid-template-rows:1fr;opacity:1;visibility:visible}.generation-media-footer[data-v-2eb647ba]{position:relative;max-height:160px;overflow-y:auto;pointer-events:auto}.generation-media:hover .has-footer .generation-media-footer[data-v-2eb647ba],.generation-media:focus-within .has-footer .generation-media-footer[data-v-2eb647ba]{margin-top:10px}.generation-template-link[data-v-2eb647ba]{pointer-events:auto;text-decoration:none}.generation-overlay h3[data-v-2eb647ba]{font-size:17px;line-height:1.4;overflow-wrap:anywhere}.generation-overlay p[data-v-2eb647ba]{font-size:13px;line-height:1.6;margin:7px 0 0;color:#ffffffe0;white-space:pre-line;overflow-wrap:anywhere}.generation-download[data-v-2eb647ba]{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:9px 13px;border:1px solid #ffffff70;border-radius:7px;background:#ffffff20;color:#fff;font-size:13px;font-weight:600;pointer-events:auto}.generation-download[data-v-2eb647ba]:hover{background:#ffffff40}.generation-action[data-v-2eb647ba]{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;margin-top:14px;padding:11px 12px;border:0;border-radius:10px;background:var(--accent,#fb9c56);color:#24160d;font-size:13px;font-weight:650;line-height:1.35;cursor:pointer;pointer-events:auto;transition:background .16s}.generation-action>span[data-v-2eb647ba]{flex:1;min-width:0;text-align:center}.generation-action>svg[data-v-2eb647ba]{flex-shrink:0;transition:transform .16s}.generation-action[data-v-2eb647ba]:hover{background:var(--accent-hover,#ffaf74)}.generation-action:hover>svg[data-v-2eb647ba]{transform:translate(2px)}.generation-error[data-v-2eb647ba]{margin:10px 0 0}@media(hover:none){.generation-overlay[data-v-2eb647ba]{opacity:1;transform:none;padding:40px 12px 12px}.generation-overlay h3[data-v-2eb647ba]{font-size:14px}.generation-overlay p[data-v-2eb647ba]{font-size:12px;max-height:5em;overflow:auto;pointer-events:auto}.generation-download[data-v-2eb647ba]{margin-top:10px;padding:8px 10px}.generation-action[data-v-2eb647ba]{margin-top:10px}}@media(hover:none){.has-footer .generation-details[data-v-2eb647ba]{grid-template-rows:1fr;opacity:1;visibility:visible}.has-footer .generation-media-footer[data-v-2eb647ba]{margin-top:10px}}@media(prefers-reduced-motion:reduce){.generation-overlay[data-v-2eb647ba],.has-footer .generation-details[data-v-2eb647ba],.generation-action[data-v-2eb647ba],.generation-action>svg[data-v-2eb647ba]{transition:none}}.app-select{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:var(--surface);color:var(--text);text-align:left;font:inherit;font-size:15px;font-weight:500;line-height:1.6;transition:border-color .15s,box-shadow .15s}.app-select>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.app-select>svg{flex-shrink:0;transition:transform .18s}.app-select>svg.rotated{transform:rotate(180deg)}.app-select:disabled{background:var(--surface-soft);color:var(--muted);opacity:.65}.app-select-options{position:fixed;margin:0;padding:5px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);box-shadow:0 10px 35px #172f4926;overflow-y:auto;overscroll-behavior:contain;font-family:Golos Text Variable,sans-serif;font-size:14px;font-weight:500}.app-select-options[data-open=false]{pointer-events:none}.app-select-options>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:9px 10px;text-align:left;color:inherit;background:none;border-radius:6px;line-height:1.6}.app-select-options>button>span{overflow-wrap:anywhere}.app-select-options>button>svg{flex-shrink:0}.app-select-options>button.highlighted{background:var(--surface-hover)}.app-select-options>button[aria-selected=true]{color:var(--text);font-weight:700}.select-empty{display:block;padding:12px;color:var(--muted)}.selected-controls .app-select{width:78px;padding:4px 6px;font-size:12px}.binding .app-select{flex:1;width:130px}.studio-test .app-select{font-size:14px}@media(max-width:700px){.app-select{font-size:16px}}@media(prefers-reduced-motion:reduce){.app-select,.app-select>svg{transition:none}}.hashtag-chip[data-v-49430b51]{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 2px;border:0;border-radius:3px;background:transparent;color:var(--tag-text);font-size:17px;font-weight:650;line-height:1.5;white-space:nowrap;min-width:0;max-width:100%;vertical-align:baseline}.hashtag-label[data-v-49430b51]{overflow:hidden;text-overflow:ellipsis;letter-spacing:-.055em;padding-inline-end:.08em}.on-media .hashtag-label[data-v-49430b51]{text-shadow:0 1px 5px #0009}.hashtag-emoji[data-v-49430b51]{transform:translateY(-1px)}.hashtag-chip.interactive[data-v-49430b51]{cursor:pointer;min-height:36px}.hashtag-chip.on-media[data-v-49430b51]{padding-block:0;min-height:23px;line-height:1.3}.hashtag-chip[data-v-49430b51]:after{content:"";position:absolute;left:2px;right:2px;bottom:2px;height:2px;border-radius:1px;background:currentColor;pointer-events:none;transform:scaleX(0);transform-origin:left center;transition:transform .14s ease-out}.hashtag-chip.interactive[data-v-49430b51]:not(:disabled):hover:after,.hashtag-chip.interactive[data-v-49430b51]:focus-visible:after,.hashtag-chip.selected[data-v-49430b51]:after{transform:scaleX(1)}.hashtag-chip[data-v-49430b51]:disabled{opacity:.5;cursor:default}@media(prefers-reduced-motion:reduce){.hashtag-chip[data-v-49430b51]:after{transition:none}}.catalog-controls[data-v-bc0f2f6a]{margin:24px 0 22px;display:grid;gap:18px;min-width:0}.catalog-search-row[data-v-bc0f2f6a]{display:flex;align-items:center;gap:24px;min-width:0;min-height:54px}.catalog-search[data-v-bc0f2f6a]{flex:0 1 720px;width:auto;min-width:180px;height:54px;background:var(--surface);border-radius:12px;padding:0 16px;gap:14px}.catalog-search input[data-v-bc0f2f6a]{min-width:0;flex:1;width:100%;font-size:16px}.catalog-search input[data-v-bc0f2f6a]::-webkit-search-cancel-button{display:none}.catalog-search .icon-btn[data-v-bc0f2f6a]{flex-shrink:0;padding:5px}.catalog-reset[data-v-bc0f2f6a]{background:none;color:var(--muted);white-space:nowrap;font-size:15px;padding:12px 0;min-height:44px}.catalog-reset[data-v-bc0f2f6a]:hover{color:var(--text)}.catalog-count[data-v-bc0f2f6a]{margin-left:auto;white-space:nowrap;color:var(--muted);font-size:14px}.catalog-characters[data-v-bc0f2f6a]{position:relative;flex:0 0 230px;min-width:0}.catalog-characters>svg[data-v-bc0f2f6a]{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}.catalog-characters[data-v-bc0f2f6a] .app-select{height:54px;border-radius:12px;padding-left:44px;font-size:14px}.catalog-characters.selected[data-v-bc0f2f6a] .app-select{border-color:var(--accent);color:var(--accent)}.catalog-characters.selected>svg[data-v-bc0f2f6a]{color:var(--accent)}.catalog-tags-row[data-v-bc0f2f6a]{display:flex;align-items:center;gap:20px;min-width:0}.hashtag-filters[data-v-bc0f2f6a]{display:flex;align-items:center;gap:12px;min-width:0;overflow-x:auto;padding:2px}.hashtag-filters[data-v-bc0f2f6a] .hashtag-chip{border-radius:999px;background:var(--surface);padding:10px 16px;gap:7px;flex-shrink:0;font-size:16px;font-weight:600;max-width:260px;min-height:46px}.hashtag-filters[data-v-bc0f2f6a] .hashtag-chip:after{display:none}.hashtag-filters[data-v-bc0f2f6a] .hashtag-chip:hover{background:var(--surface-hover)}.hashtag-filters[data-v-bc0f2f6a] .hashtag-chip.selected{background:var(--accent);color:#21170f}.hashtag-filters[data-v-bc0f2f6a] .hashtag-label{letter-spacing:0}.catalog-all-tags[data-v-bc0f2f6a]{display:flex;align-items:center;gap:10px;flex-shrink:0;min-height:46px;padding:10px 17px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--text);font-size:15px}.catalog-all-tags[data-v-bc0f2f6a]:hover,.catalog-all-tags[aria-expanded=true][data-v-bc0f2f6a]{background:var(--surface)}.catalog-all-tags span[data-v-bc0f2f6a]{color:var(--muted)}.catalog-all-tags svg[data-v-bc0f2f6a]{margin-left:10px}.catalog-all-tags svg.expanded[data-v-bc0f2f6a]{transform:rotate(90deg)}.catalog-tag-panel[data-v-bc0f2f6a]{position:fixed;margin:0;padding:14px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 48px #0006;overflow:hidden;font-family:inherit}.catalog-tag-panel[data-v-bc0f2f6a]:popover-open{display:flex;flex-direction:column;gap:12px}.catalog-tag-search[data-v-bc0f2f6a]{width:100%;min-width:0;min-height:46px;padding:0 10px;gap:10px;flex-shrink:0}.catalog-tag-search input[data-v-bc0f2f6a]{min-width:0;width:100%;flex:1;font-size:15px}.catalog-tag-search .icon-btn[data-v-bc0f2f6a]{padding:4px}.catalog-tag-list[data-v-bc0f2f6a]{overflow:auto;max-height:380px;min-height:0;overscroll-behavior:contain}.catalog-tag-option[data-v-bc0f2f6a]{display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;padding:7px 10px;min-height:46px;border-radius:8px;background:none;color:var(--text);gap:10px}.catalog-tag-option[data-v-bc0f2f6a]:hover{background:var(--surface-hover)}.catalog-tag-option.selected[data-v-bc0f2f6a]{background:#fb9c561c;color:var(--accent)}.catalog-tag-option[data-v-bc0f2f6a] .hashtag-chip{justify-content:flex-start;max-width:calc(100% - 26px);font-size:16px;gap:9px}.catalog-tag-option[data-v-bc0f2f6a] .hashtag-label{letter-spacing:0}.catalog-no-tags[data-v-bc0f2f6a]{color:var(--muted);padding:12px 8px;font-size:14px}@media(max-width:1000px){.catalog-search-row[data-v-bc0f2f6a]{gap:16px;flex-wrap:wrap}.catalog-search[data-v-bc0f2f6a]{flex:1}.catalog-count[data-v-bc0f2f6a]{font-size:13px}.catalog-tags-row[data-v-bc0f2f6a]{gap:12px}}@media(max-width:700px){.catalog-controls[data-v-bc0f2f6a]{margin-top:20px;gap:14px}.catalog-search-row[data-v-bc0f2f6a]{gap:10px 16px}.catalog-characters[data-v-bc0f2f6a]{flex:1;max-width:260px}.catalog-characters[data-v-bc0f2f6a] .app-select{height:46px}.catalog-search[data-v-bc0f2f6a]{flex:1 0 100%;height:50px}.catalog-count[data-v-bc0f2f6a]{min-height:36px;display:flex;align-items:center}.catalog-reset[data-v-bc0f2f6a]{padding:7px 0;font-size:14px;min-height:36px}.catalog-tags-row[data-v-bc0f2f6a]{gap:8px}.hashtag-filters[data-v-bc0f2f6a]{gap:8px;flex:1}.hashtag-filters[data-v-bc0f2f6a] .hashtag-chip{font-size:14px;padding:8px 12px;min-height:42px;max-width:200px}.catalog-all-tags[data-v-bc0f2f6a]{font-size:14px;padding:8px 10px;gap:6px;min-height:42px}.catalog-all-tags svg[data-v-bc0f2f6a]{margin-left:0}.catalog-all-tags span[data-v-bc0f2f6a]{display:none}}.video-hashtags[data-v-50815882]{min-width:0;width:100%}.video-hashtag-row[data-v-50815882]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:0 12px;min-width:0}.video-hashtag-row>.hashtag-chip[data-v-50815882]{flex:0 1 auto;min-width:0;max-width:100%}.catalog-card-caption[data-v-3d57bec1]{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}.page-heading h1[data-v-3d57bec1]{font-size:clamp(28px,2.8vw,44px);letter-spacing:-1.3px}.catalog-starting-price[data-v-3d57bec1]{color:var(--accent);white-space:nowrap}.placeholder-header[data-v-3d57bec1]{position:absolute;top:12px;left:12px;right:12px;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}.catalog-search-error[data-v-3d57bec1]{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:16px 0;color:var(--muted)}.catalog-search-note[data-v-3d57bec1]{margin:0 0 16px;color:var(--muted);font-size:14px}.catalog-more[data-v-3d57bec1]{display:flex;margin:24px auto}.video-grid.is-searching[data-v-3d57bec1]{opacity:.6;pointer-events:none}.placeholder-template-link[data-v-3d57bec1]{display:inline-flex;pointer-events:auto;padding:6px 10px;border-radius:8px;background:#191a1ccc;color:#fff;font-size:12px;z-index:1}.video-placeholder-media[data-v-3d57bec1]{position:relative;border-radius:14px;overflow:hidden}.placeholder-caption[data-v-3d57bec1]{position:absolute;inset:auto 0 0;padding:40px 14px 12px;background:linear-gradient(transparent,#000d);pointer-events:none}.placeholder-caption .video-hashtags[data-v-3d57bec1]{pointer-events:auto;max-height:160px;overflow-y:auto}.video-grid[data-v-3d57bec1]{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;align-items:start}@media(max-width:700px){.video-grid[data-v-3d57bec1]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.video-card[data-v-3d57bec1] .generation-cover-placeholder,.video-no-preview[data-v-3d57bec1]{justify-content:flex-start;padding:96px 12px 140px}.video-card[data-v-3d57bec1] .generation-cover-placeholder strong{font-size:14px}}@media(max-width:360px){.video-grid[data-v-3d57bec1]{grid-template-columns:1fr}}.video-volume[data-v-b64a250e]{--volume-size:42px;position:relative;flex-shrink:0;width:var(--volume-size);height:var(--volume-size);color:#fff;z-index:1}.video-volume.compact[data-v-b64a250e]{--volume-size:30px}.video-volume .video-volume-toggle[data-v-b64a250e]{position:relative;z-index:1;display:grid;place-items:center;width:var(--volume-size);height:var(--volume-size);padding:0;border:0;border-radius:50%;background:#1119;color:inherit;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.video-volume-toggle[data-v-b64a250e]:hover{background:#3b3b3bd9}.video-volume-toggle[data-v-b64a250e]:focus-visible{background:#555d}.video-volume-panel[data-v-b64a250e]{position:absolute;left:calc(var(--volume-size)/2);top:0;display:flex;align-items:center;width:0;height:100%;padding:0;overflow:hidden;visibility:hidden;border-radius:0 24px 24px 0;background:#111c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:width .18s ease,padding .18s ease,visibility 0s linear .18s}.video-volume:hover .video-volume-panel[data-v-b64a250e],.video-volume:has(:focus-visible) .video-volume-panel[data-v-b64a250e]{width:110px;padding:0 12px 0 calc(var(--volume-size)/2 + 8px);visibility:visible;transition-delay:0s}.video-volume.compact .video-volume-panel[data-v-b64a250e]{background:#17191cf2}.video-volume.compact:hover .video-volume-panel[data-v-b64a250e],.video-volume.compact:has(:focus-visible) .video-volume-panel[data-v-b64a250e]{width:96px}.video-volume input[data-v-b64a250e]{display:block;flex:1;min-width:0;width:100%;height:24px;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;accent-color:white;cursor:pointer}@media(prefers-reduced-motion:reduce){.video-volume-panel[data-v-b64a250e]{transition:none}}.shorts-player{--video-height:min(860px, calc(100dvh - 48px) ,calc((100vw - 144px)*16/9));position:relative;display:flex;gap:14px;width:calc(var(--video-height)*9/16 + 94px);height:var(--video-height);color:#fff;outline:none}.shorts-screen{position:relative;width:calc(var(--video-height)*9/16);height:100%;flex-shrink:0;background:#08090b;border-radius:16px;overflow:hidden}.shorts-screen>video{display:block;width:100%;height:100%;object-fit:contain;cursor:pointer}.shorts-icon{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:#1119;color:#fff;flex-shrink:0;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.shorts-icon:hover{background:#3b3b3bd9}.shorts-top{position:absolute;inset:0 0 auto;display:flex;gap:8px;align-items:center;padding:14px;background:linear-gradient(#0007,transparent)}.shorts-top-end{margin-left:auto}.shorts-controls{opacity:0;transition:opacity .2s}.show-controls .shorts-controls,.shorts-controls:focus-within,.shorts-top:hover{opacity:1}.shorts-close{position:absolute;right:19px;top:0;background:#ffffff1a}.shorts-actions{align-self:flex-end;width:80px;flex-shrink:0;display:flex;align-items:center;flex-direction:column;gap:24px;padding-bottom:26px}.shorts-action{display:flex;align-items:center;flex-direction:column;gap:8px;padding:0;border:0;background:none;color:#fff;font-size:11px;line-height:1.4;font-weight:600;text-decoration:none;white-space:nowrap;cursor:pointer}.shorts-action-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#ffffff1a;border:1px solid #ffffff12;transition:background .18s,transform .18s}.shorts-action:hover .shorts-action-icon{background:#ffffff30;transform:scale(1.06)}.shorts-action.saved .shorts-action-icon{color:#ff6585;background:#ff65851f}.shorts-action:disabled{opacity:.55;cursor:wait}.shorts-bottom{position:absolute;bottom:0;left:0;right:0;padding:0 14px 8px;pointer-events:none;background:linear-gradient(transparent,#0009)}.shorts-time{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-variant-numeric:tabular-nums;min-height:40px}.shorts-duration{color:#ffffff8f}.shorts-time .shorts-icon{width:32px;height:32px;pointer-events:auto;background:none}.shorts-player .shorts-seek{pointer-events:auto;display:block;appearance:none;-webkit-appearance:none;width:100%;height:18px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;accent-color:#fff}.shorts-seek::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:linear-gradient(to right,#fff var(--progress),#ffffff40 var(--progress))}.shorts-seek::-moz-range-track{height:3px;border-radius:4px;background:linear-gradient(to right,#fff var(--progress),#ffffff40 var(--progress))}.shorts-seek::-webkit-slider-thumb{appearance:none;width:11px;height:11px;margin-top:-4px;border-radius:50%;background:#fff;box-shadow:0 1px 6px #0008}.shorts-seek::-moz-range-thumb{width:11px;height:11px;border:0;border-radius:50%;background:#fff}.shorts-play-center{position:absolute!important;left:50%;top:50%;transform:translate(-50%,-50%)}.shorts-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.shorts-loading .loader{border-color:#ffffff40;border-top-color:#fff}.shorts-media-error{position:absolute;inset:40% 20px auto;text-align:center;font-size:14px;padding:18px;background:#111d;border-radius:12px}.shorts-action-error{position:absolute;left:14px;right:108px;bottom:80px;padding:12px 16px;background:#542b30ed;border:1px solid #ffaaaa40;border-radius:10px;font-size:13px;line-height:1.5}.shorts-share-fallback{position:absolute;bottom:90px;left:14px;right:14px;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px;border-radius:12px;background:#25272b;box-shadow:0 8px 40px #0008}.shorts-share-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px}.shorts-share-heading .shorts-icon{width:30px;height:30px}.shorts-send{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:#16191d;border:0;border-radius:8px;padding:13px;font-size:14px;font-weight:600}.shorts-copy{border:1px solid #ffffff40;border-radius:8px;padding:11px;background:transparent;color:#fff;font-size:13px}.shorts-share-fallback label{flex:1;min-width:0;color:#fff;font-size:13px}.shorts-share-fallback input{font-size:13px;color:#fff;background:#ffffff12;border-color:#ffffff30}@media(max-width:700px){.shorts-player{--video-height:100dvh;width:100vw;height:100dvh;gap:0}.shorts-screen{width:100%;border-radius:0}.shorts-close{top:max(14px,env(safe-area-inset-top));right:14px;background:#1119}.shorts-top{padding-top:max(14px,env(safe-area-inset-top));padding-right:70px}.shorts-actions{position:absolute;right:10px;bottom:80px;gap:20px;width:65px;padding:0}.shorts-action{font-size:10px;text-shadow:0 1px 4px #000}.shorts-action-icon{width:46px;height:46px;background:#1119;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.shorts-bottom{padding-bottom:max(10px,env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){.shorts-controls,.shorts-action-icon{transition:none}}.shorts-player.embedded{width:100%;height:100%;min-height:0;gap:0}.shorts-player.embedded .shorts-screen{width:100%;height:100%;border-radius:0}.shorts-screen:fullscreen{width:100vw!important;height:100dvh!important;border-radius:0;background:#000}.template-cost{gap:6px;display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #ffffff20;border-radius:9px;background:#191715e8;color:#eee;font-size:12px;line-height:1;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);white-space:nowrap;pointer-events:none}.template-cost.is-bare{padding:0;border:0;border-radius:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;filter:drop-shadow(0 1px 3px #000a)}.template-cost .kam-amount{color:#ffac6a;gap:4px;align-items:center;font-size:15px}.template-old-price{font-size:12px;opacity:.6}.template-price-discount{font-size:10px;line-height:1;background:#fb9c5620;color:inherit;padding:4px;border-radius:4px;font-weight:700}.quality-picker[data-v-3adcd97a]{display:grid;gap:9px;font-size:13px}.quality-options[data-v-3adcd97a]{display:flex;flex-wrap:wrap;gap:7px}.quality-options button[data-v-3adcd97a]{background:var(--page-bg);color:var(--muted);padding:8px 15px;border-radius:8px;font-size:13px}.quality-options button[aria-pressed=true][data-v-3adcd97a]{background:var(--accent);color:#21170e;font-weight:700}.quality-options button[data-v-3adcd97a]:not(:disabled):not([aria-pressed=true]):hover{color:var(--text);background:var(--surface-hover)}.video-purchase-dialog{width:1060px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);margin:auto;padding:36px;border:1px solid #303236;border-radius:24px;background:#191a1b;color:var(--text);overflow:auto}.video-purchase-dialog::backdrop{background:#000b;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.purchase-close{position:absolute;top:28px;right:28px}.purchase-heading{padding-right:32px}.purchase-heading h2{font-size:36px;line-height:1.2;font-weight:750}.purchase-heading p{margin-top:10px;font-size:18px;color:var(--muted)}.purchase-balance{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:16px;color:var(--muted);margin:24px 0}.purchase-balance>span[aria-hidden]{margin:0 4px}.purchase-balance .kam-amount{font-size:16px}.purchase-balance .kam-amount strong{font-weight:500}.video-purchase-dialog .kam-icon{order:2;width:1.05em;height:1.05em}.video-purchase-dialog .kam-amount{gap:8px}.purchase-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.purchase-choice{--choice-color:#acafb6;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:26px;border-radius:16px;border:1px solid #35373c;background:#202123;color:var(--text);text-align:left;transition:border-color .18s,filter .18s}.purchase-choice:hover{filter:brightness(1.12)}.purchase-choice:focus-visible{outline:2px solid white;outline-offset:4px}.purchase-start{--choice-color:#72d8ff;background:#102c3f;border-color:#167daa}.purchase-pro{--choice-color:#c59bff;background:#2a1c40;border-color:#7140a6}.purchase-choice.is-selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.purchase-single.is-selected{background:#30251c}.purchase-choice-icons{display:flex;align-items:center;justify-content:space-between;width:100%;height:34px;margin-bottom:24px;color:var(--choice-color)}.purchase-single .purchase-choice-icons>svg{color:#fff}.purchase-radio{opacity:.5}.purchase-check{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:#23170c}.purchase-name{font-size:21px;line-height:1.3;letter-spacing:-.02em}.purchase-kams{font-size:27px;margin-top:12px;line-height:1.3}.purchase-rubles{font-size:40px;line-height:1.2;margin-top:16px;letter-spacing:-.03em;white-space:nowrap}.purchase-description{margin-top:16px;font-size:16px;line-height:1.5;color:var(--muted)}.purchase-bonus{display:flex;align-items:center;gap:5px;flex-wrap:wrap;color:var(--choice-color)}.purchase-bonus .kam-amount{color:inherit}.purchase-bonus .kam-amount strong{font-weight:500}.purchase-all{display:flex;align-items:center;justify-content:center;gap:10px;margin:28px auto;padding:4px 8px;color:var(--muted);background:none;font-size:16px;text-decoration:underline;text-underline-offset:5px}.purchase-all:hover{color:#fff}.video-purchase-dialog .purchase-submit{width:100%;min-height:64px;border:0;border-radius:14px;font-size:22px;font-weight:750}.purchase-footnote{text-align:center;font-size:13px;color:var(--muted);margin-top:16px}.purchase-status,.purchase-error{font-size:14px;margin:12px 0;color:var(--muted)}.purchase-error{color:#ffb0a0}@media(max-width:800px){.video-purchase-dialog{padding:26px;max-width:calc(100vw - 24px)}.purchase-heading h2{font-size:28px}.purchase-heading p{font-size:15px}.purchase-choice{padding:18px}.purchase-name{font-size:17px}.purchase-kams{font-size:23px}.purchase-rubles{font-size:30px}.purchase-description{font-size:13px}.purchase-close{top:20px;right:18px}}@media(max-width:600px){.video-purchase-dialog{padding:24px 18px;max-height:calc(100dvh - 24px);border-radius:20px}.purchase-heading h2{font-size:25px}.purchase-balance{font-size:13px;margin:18px 0}.purchase-balance .kam-amount{font-size:13px}.purchase-choices{grid-template-columns:1fr;gap:10px}.purchase-choice{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:16px}.purchase-choice-icons{grid-column:2;grid-row:1;margin:0;height:25px;width:auto}.purchase-choice-icons>svg:first-child:not(.purchase-radio){display:none}.purchase-choice-icons .purchase-radio,.purchase-check{width:25px;height:25px}.purchase-name{grid-column:1;grid-row:1;align-self:center}.purchase-kams{grid-column:1;grid-row:2;margin:0;font-size:23px}.purchase-rubles{grid-column:2;grid-row:2;margin:0;font-size:25px}.purchase-description{grid-column:1 / -1;margin:0;font-size:13px}.purchase-all{margin:20px auto;font-size:14px}.video-purchase-dialog .purchase-submit{min-height:54px;font-size:18px}.purchase-footnote{font-size:12px}}@media(prefers-reduced-motion:reduce){.purchase-choice{transition:none}}.user-files-intro[data-v-b500c37d]{color:var(--muted);font-size:14px;line-height:1.6;margin-bottom:20px}.user-files-grid[data-v-b500c37d]{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:18px}.user-file[data-v-b500c37d]{display:flex;flex-direction:column;text-align:left;padding:0 0 14px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface);color:var(--text);cursor:pointer;min-width:0}.user-file[data-v-b500c37d]:hover{border-color:var(--muted)}.user-file[data-v-b500c37d]:disabled{cursor:not-allowed;opacity:.65}.user-file-preview[data-v-b500c37d]{aspect-ratio:1;width:100%;background:var(--surface-soft);display:grid;place-items:center;color:var(--muted)}.user-file-preview img[data-v-b500c37d]{width:100%;height:100%;object-fit:cover}.user-file-name[data-v-b500c37d]{font-size:13px;margin:12px 12px 5px;overflow-wrap:anywhere}.user-file time[data-v-b500c37d]{font-size:11px;color:var(--muted);margin:0 12px}.user-file-rejected[data-v-b500c37d]{font-size:12px;color:#e37960;margin:8px 12px 0}.user-files-more[data-v-b500c37d]{margin-top:20px}@media(max-width:700px){.user-files-grid[data-v-b500c37d]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.user-file-dialog{width:min(720px,calc(100vw - 32px));max-height:90dvh;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text)}.user-file-dialog header{gap:16px;margin-bottom:20px}.user-file-dialog h2{font-size:17px;overflow-wrap:anywhere}.user-file-dialog img,.user-file-dialog video{display:block;max-width:100%;max-height:65dvh;margin:auto;object-fit:contain}.user-file-dialog audio{width:100%}.template-edit-notice[data-v-4817ff3e]{padding:16px;margin-bottom:24px;background:var(--surface-soft);border:1px solid var(--line);border-radius:12px}.template-edit-notice h2[data-v-4817ff3e]{font-size:18px}.template-edit-notice p[data-v-4817ff3e]{font-size:13px;line-height:1.65;margin-top:8px;color:var(--muted)}.photo-rejected .template-photo[data-v-4817ff3e]{border:2px solid #e37960}.template-photo-error[data-v-4817ff3e],.template-photo-hint[data-v-4817ff3e]{font-size:12px;line-height:1.5;margin-top:10px}.template-photo-error[data-v-4817ff3e]{color:#e37960}.template-photo-hint[data-v-4817ff3e]{color:var(--muted)}.template-saved-photos[data-v-4817ff3e]{align-self:start;font-size:12px;margin-top:8px;min-height:36px;text-align:left}.photo-locked .template-photo[data-v-4817ff3e],.photo-locked .template-photo input[data-v-4817ff3e]:disabled{cursor:default}.photo-locked .template-photo[data-v-4817ff3e]{border-style:solid;border-color:var(--line)}.replacement-groups[data-v-4817ff3e]{padding-left:18px;margin-top:10px;font-size:13px;line-height:1.65;color:var(--text)}.template-create[data-v-4817ff3e]{container:actor-form / inline-size;width:100%;max-width:760px;min-width:0}.template-create-heading[data-v-4817ff3e]{margin-bottom:18px}.template-create-heading h2[data-v-4817ff3e]{font-size:21px;line-height:1.3}.template-create-heading p[data-v-4817ff3e]{margin-top:6px;font-size:13px;color:var(--muted);line-height:1.5}.template-actors[data-v-4817ff3e]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px}.template-actor[data-v-4817ff3e]{display:flex;flex-direction:column;min-width:0;padding:0;background:none}.template-actor-pair[data-v-4817ff3e]{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);align-items:center;gap:10px;width:100%;max-width:260px;margin:0}.template-actor-portrait[data-v-4817ff3e],.template-photo[data-v-4817ff3e]{width:100%;aspect-ratio:4/5;min-width:0;overflow:hidden;border-radius:10px}.template-actor-portrait[data-v-4817ff3e]{grid-column:1;grid-row:1;background:var(--surface-soft);display:grid;place-items:center;color:var(--muted)}.template-actor-portrait img[data-v-4817ff3e]{display:block;width:100%;height:100%;object-fit:cover}.template-actor-info[data-v-4817ff3e]{order:-1;margin:0 0 12px;min-width:0}.template-actor-info h3[data-v-4817ff3e]{font-size:14px;line-height:1.45;letter-spacing:-.015em;overflow-wrap:anywhere}.template-actor-info>span[data-v-4817ff3e]{display:block;margin-top:4px;font-size:12px;line-height:1.4;color:var(--muted)}.template-actor-arrow[data-v-4817ff3e]{grid-column:2;grid-row:1;color:var(--muted)}.template-photo[data-v-4817ff3e]{grid-column:3;grid-row:1;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed var(--muted);background:var(--page-bg);cursor:pointer}.template-photo[data-v-4817ff3e]:hover{border-color:var(--text);background:var(--surface-hover)}.template-photo input[data-v-4817ff3e]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;z-index:2;cursor:pointer}.template-photo input[data-v-4817ff3e]::file-selector-button{cursor:inherit}.template-photo[data-v-4817ff3e]:has(input:disabled){cursor:wait}.template-photo input[data-v-4817ff3e]:disabled{cursor:wait}.template-photo-icon[data-v-4817ff3e]{display:grid;place-items:center}.template-photo>img[data-v-4817ff3e]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.template-photo-label[data-v-4817ff3e]{font-size:11px;line-height:1.35;text-align:center}.has-photo .template-photo-label[data-v-4817ff3e]{position:absolute;inset:auto 0 0;padding:5px;background:#000a;color:#fff}.template-photo-check[data-v-4817ff3e]{position:absolute;left:4px;top:4px;border-radius:50%;background:var(--accent);color:#191a1c;padding:2px;box-sizing:content-box}.template-photo-remove[data-v-4817ff3e]{grid-column:3;grid-row:1;align-self:start;justify-self:end;position:relative;z-index:3;margin:-5px -5px 0 0;background:var(--surface);padding:3px}.template-photo.is-busy[data-v-4817ff3e]{opacity:.6}.is-guest .template-actor-pair[data-v-4817ff3e]{grid-template-columns:88px;justify-content:start;max-width:none}.template-create-footer[data-v-4817ff3e]{display:flex;flex-direction:column;gap:12px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.template-create-button[data-v-4817ff3e]{width:100%;min-height:50px;border-radius:11px;font-size:15px}.template-create-note[data-v-4817ff3e]{text-align:center;font-size:12px;line-height:1.55;color:var(--muted)}.template-price[data-v-4817ff3e]{display:flex;justify-content:space-between;gap:14px;font-size:13px}.template-price>span[data-v-4817ff3e]{color:var(--muted)}.template-create-footer[data-v-4817ff3e] .quality-picker{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px}.template-create-footer[data-v-4817ff3e] .quality-options button{padding:8px 16px}.template-create-button[data-v-4817ff3e]{flex-wrap:wrap;gap:10px 14px}.template-create-label[data-v-4817ff3e]{display:inline-flex;align-items:center;gap:9px}.template-create-cost[data-v-4817ff3e]{display:inline-flex;align-items:center;padding-left:14px;border-left:1px solid #21170f40}.template-create-cost[data-v-4817ff3e] .template-cost{color:inherit;filter:none;font-size:13px}.template-create-cost[data-v-4817ff3e] .kam-amount{color:inherit;font-size:15px}@container actor-form (max-width:439px){.template-actors[data-v-4817ff3e]{gap:24px 16px}.template-actor-pair[data-v-4817ff3e]{gap:6px;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr)}.template-actor-arrow[data-v-4817ff3e]{width:14px}.template-actor-info h3[data-v-4817ff3e]{font-size:13px}.template-actor-info[data-v-4817ff3e]{min-height:38px;margin-bottom:10px}.template-photo-label[data-v-4817ff3e]{font-size:10px}.template-photo[data-v-4817ff3e]{gap:5px}.is-guest .template-actor-pair[data-v-4817ff3e]{grid-template-columns:72px}}@container actor-form (max-width:300px){.template-actors[data-v-4817ff3e]{grid-template-columns:minmax(0,1fr)}.template-actor-info[data-v-4817ff3e]{min-height:0}}@media(max-width:700px){.template-create-heading h2[data-v-4817ff3e]{font-size:19px}.template-create-button[data-v-4817ff3e]{min-height:48px}}.template-files-dialog{width:min(760px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:24px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:18px}.template-files-dialog header{gap:16px;margin-bottom:20px}.template-files-dialog h2{font-size:20px}.public-template-page[data-v-6d211794]{max-width:1440px;padding-bottom:48px}.public-template-back[data-v-6d211794]{display:inline-flex;align-items:center;gap:9px;margin:10px 0 28px;color:var(--muted);font-size:13px}.public-template-back[data-v-6d211794]:hover{color:var(--text)}.public-template-layout[data-v-6d211794]{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(360px,1.65fr);grid-template-areas:"copy copy" "media form";gap:24px 28px;align-items:start;justify-content:center}.public-template-media[data-v-6d211794]{grid-area:media;align-self:start;position:sticky;top:24px;display:flex;justify-content:flex-start;min-width:0}.public-template-stage[data-v-6d211794]{width:min(100%,360px,calc(72dvh*var(--template-ratio)));aspect-ratio:var(--template-ratio);overflow:hidden;border-radius:16px;background:#08090b;border:1px solid var(--line)}.public-template-stage[data-v-6d211794] .shorts-player{height:100%;width:100%}.public-template-stage[data-v-6d211794] .shorts-screen{border-radius:0}.public-template-no-video[data-v-6d211794]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;height:100%;padding:24px;color:var(--muted);text-align:center;font-size:14px}.public-template-copy[data-v-6d211794]{grid-area:copy;min-width:0;padding-top:0}.public-template-copy .eyebrow[data-v-6d211794]{margin-bottom:12px;font-size:10px;letter-spacing:.16em;color:var(--muted)}.public-template-copy h1[data-v-6d211794]{font-size:36px;line-height:1.15;letter-spacing:-.035em;overflow-wrap:anywhere}.public-template-copy>p[data-v-6d211794]{margin-top:10px;font-size:15px;line-height:1.65;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}.public-template-tags[data-v-6d211794]{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:14px}.public-template-tags[data-v-6d211794] .hashtag-chip{font-size:14px}.public-template-form[data-v-6d211794]{grid-area:form;min-width:0}.is-landscape .public-template-layout[data-v-6d211794]{grid-template-columns:minmax(280px,1.1fr) minmax(360px,1.2fr)}.is-landscape .public-template-stage[data-v-6d211794]{width:min(100%,740px,calc(52dvh*var(--template-ratio)))}@media(max-width:1100px)and (min-width:701px){.public-template-layout[data-v-6d211794],.is-landscape .public-template-layout[data-v-6d211794]{grid-template-columns:minmax(190px,1fr) minmax(320px,1.2fr);gap:22px}.public-template-copy h1[data-v-6d211794]{font-size:29px}}@media(max-width:800px){.public-template-page[data-v-6d211794]{padding-inline:16px;padding-bottom:28px}.public-template-back[data-v-6d211794]{margin-bottom:18px;font-size:12px}.public-template-layout[data-v-6d211794],.is-landscape .public-template-layout[data-v-6d211794]{grid-template-columns:1fr;grid-template-areas:"copy" "media" "form";gap:22px}.public-template-media[data-v-6d211794]{position:static;justify-content:center}.public-template-stage[data-v-6d211794]{width:min(100%,300px,calc(48dvh*var(--template-ratio)));border-radius:16px}.public-template-copy[data-v-6d211794]{padding:0}.public-template-copy h1[data-v-6d211794]{font-size:27px}.public-template-copy>p[data-v-6d211794]{font-size:13px;margin-top:10px}.public-template-tags[data-v-6d211794]{margin-top:12px;gap:3px 14px}}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-cyrillic-ext-wght-normal-hICkpzq7.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-cyrillic-wght-normal-mKek_fSS.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-latin-ext-wght-normal-B-I5lbAQ.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-latin-wght-normal-BS5oQT7X.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Golos Text Variable,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--page-bg);font-synthesis:none;font-size:15px;font-weight:500;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.48}button{border:0}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.04em}h1{font-size:36px;font-weight:750;line-height:1.25}h2{font-size:28px;font-weight:750}h3{font-size:16px;font-weight:750}p{line-height:1.8}small{font-size:14px;line-height:1.65}input,textarea,select{border:1px solid #dae1e8;border-radius:8px;padding:10px 12px;color:#26394b;background:#fff;width:100%;outline:none;font-size:16px;transition:border-color .15s,box-shadow .15s}input:disabled{background:#f5f7fa;color:#8d98a5}input::placeholder,textarea::placeholder{color:#778b9c}textarea{resize:vertical}label{display:flex;flex-direction:column;gap:7px;font-size:15px;font-weight:650}label small{color:var(--muted);font-weight:500}::selection{background:#fb9c5640;color:var(--text)}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;z-index:20;left:0;top:0;width:238px;height:100dvh;background:#f2f5f9;border-right:1px solid #dfe5ec;padding:28px 16px 18px;display:flex;flex-direction:column}.brand-logo{display:block;width:160px;height:auto}.wordmark{display:flex;align-items:center;gap:12px;padding:0 7px;min-height:34px;line-height:1}.wordmark .brand-logo{max-width:calc(100% - 28px)}.wordmark svg{margin-left:auto;flex-shrink:0;color:#87929d}.nav-label{font-size:12px;letter-spacing:.15em;color:#718496;margin:43px 12px 12px;font-weight:700}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav a{display:flex;align-items:center;gap:12px;min-height:45px;padding:12px;border-radius:9px;font-size:15px;color:#5d6d7c;transition:background-color .15s,color .15s}.sidebar nav a.active{background:#e0e7ef;color:#233c57;font-weight:750}.sidebar nav a:hover{background:#e6ecf2}.sidebar nav svg{flex-shrink:0}.nav-new{font-size:11px;color:#638d75;margin-left:auto;font-weight:800;background:#e0ece4;padding:3px 5px;border-radius:4px}.count{margin-left:auto;font-size:13px;border-radius:50%;width:18px;height:18px;background:#233c57;color:#fff;text-align:center;line-height:18px}.root-label{margin-top:30px}.sidebar-bottom{margin-top:auto}.sidebar-note{padding:17px 16px 16px;border:1px solid #d6dee6;background:#ffffffb5;border-radius:12px;position:relative}.sidebar-note>svg{color:#6f927b;margin-bottom:8px}.sidebar-note strong{display:block;font-size:15px;letter-spacing:-.02em}.sidebar-note p{font-size:13px;color:#64788a;margin:7px 0 14px;line-height:1.8}.sidebar-note a{background:#233c57;display:flex;justify-content:space-between;align-items:center;border-radius:7px;padding:10px 12px;color:#fff;font-size:13px;font-weight:650}.account{display:flex;align-items:center;gap:9px;margin:23px 5px 0}.avatar{width:31px;height:31px;border-radius:50%;background:#e0e5eb;display:grid;place-items:center;font-size:14px;flex-shrink:0}.account strong{font-size:13px;font-weight:600;display:block}.account small{font-size:11px;display:block;color:#64788a;max-width:142px;overflow:hidden;text-overflow:ellipsis}.account .icon-btn{margin-left:auto;padding:5px}.app-shell>main{margin-left:238px;width:calc(100% - 238px)}.topbar{height:85px;border-bottom:1px solid #eef1f4;display:flex;align-items:center;justify-content:space-between;padding:0 46px}.breadcrumb{font-size:13px;color:#677b8d}.topbar-right{display:flex;align-items:center;gap:23px}.status-pill{font-size:13px;display:flex;align-items:center;gap:7px;color:#677b8d}.status-pill i,.eyebrow>span{background:#8fa99a;width:5px;height:5px;border-radius:50%;display:inline-block}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap;font-size:15px;font-weight:650;border-radius:8px;padding:12px 17px;min-height:41px;transition:background-color .18s,color .18s}.btn.primary{background:#233c57;color:#fff;border:1px solid #233c57;box-shadow:0 2px 3px #14283b06}.btn.primary:hover{background:#34536f}.btn.secondary{background:#fff;border:1px solid #dce3e9;color:#314860}.btn.secondary:hover{background:#f5f7fa}.btn.ghost{color:#617587;background:transparent}.btn.ghost:hover{background:#edf2f6}.btn.small{padding:8px 12px;font-size:13px;min-height:32px;gap:7px}.btn.large{font-size:15px;padding:16px 22px;border-radius:9px;min-height:54px}.icon-btn{background:transparent;color:#7d8d9b;display:inline-flex;align-items:center;justify-content:center;padding:7px;border-radius:6px;flex-shrink:0}.icon-btn:hover{background:#ecf0f4;color:#233c57}.icon-btn.danger:hover{color:#b45a58}.text-btn{color:#60758b;font-size:14px;background:transparent;padding:5px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:16px}.muted{color:var(--muted)}.small-text{font-size:14px;line-height:1.7}.badge{font-size:12px;text-transform:uppercase;letter-spacing:.05em;background:#edf1f5;color:#5d7081;border-radius:5px;padding:5px 8px;display:inline-block;font-weight:700;white-space:nowrap}.badge.completed{background:#e8f2eb;color:#658773}.badge.failed{background:#f8ebea;color:#b36c68}.badge.running,.badge.queued{background:#eaf0f7;color:#6985a3}.eyebrow{font-size:12px;font-weight:750;letter-spacing:.16em;color:#627587;display:flex;align-items:center;gap:8px;margin-bottom:16px}.page{padding:42px 46px;max-width:1700px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;gap:20px}.page-heading h1{margin-bottom:12px}.page-heading p{font-size:15px;color:#617486}.page-heading .btn{margin-top:12px}.title-dot{color:#83a590}.heading-count{font-size:17px;letter-spacing:0;color:#a6b1bc;vertical-align:middle;margin-left:10px}.panel{background:#fff;border:1px solid #e2e7ed;border-radius:12px;padding:22px}.panel-title{display:flex;align-items:center;gap:10px;margin-bottom:20px}.alert{padding:12px 15px;border-radius:8px;font-size:15px;line-height:1.7;display:flex;justify-content:space-between;gap:10px}.alert.error{background:#fbefed;color:#a96862;border:1px solid #f0dbd6}.toast-stack{position:fixed;z-index:200;right:24px;bottom:24px;display:flex;flex-direction:column;gap:10px;max-width:450px}.toast{border:1px solid #d9e7dc;border-radius:9px;padding:14px 18px;background:#f3f9f4;box-shadow:0 8px 30px #2030400d;font-size:15px;line-height:1.6}.toast.error{background:#fff4f1;border-color:#efdbd7;color:#a8635c}.loader{width:22px;height:22px;display:inline-block;border:2px solid #dce4eb;border-top-color:#54738c;border-radius:50%;animation:spin 1s linear infinite}.spinning{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.landing{padding-top:49px;max-width:1420px}.landing>.eyebrow{margin-bottom:14px}.hero{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;min-height:415px;gap:10px}.hero-copy h1{font-size:clamp(37px,3.8vw,60px);letter-spacing:-.055em;line-height:1.18;font-weight:750}.hero-copy h1 em{font-style:normal;color:#6d947a}.hero-copy>p{font-size:16px;color:#617486;line-height:1.9;margin:25px 0 28px}.hero-foot{display:flex;gap:12px;align-items:center;margin-top:29px;font-size:12px;color:#6e8191}.tiny-avatars{display:flex;padding-left:4px}.tiny-avatars b{display:grid;place-items:center;font-size:8px;width:25px;height:25px;margin-left:-4px;background:#dfe6ec;border:2px solid white;border-radius:50%;font-weight:500;color:#6c8090}.tiny-avatars b:nth-child(2){background:#e8dfd8}.tiny-avatars b:nth-child(3){background:#dbe6dc}.hero-art{position:relative;height:375px;isolation:isolate}.art-orbit{position:absolute;border:1px solid #edf1f1;border-radius:50%;z-index:-1;width:335px;height:335px;left:50%;top:50%;transform:translate(-50%,-50%)}.orbit-two{width:420px;height:420px}.art-photo{position:absolute;top:84px;left:6%;width:158px;height:208px;border:7px solid white;border-radius:14px;background:#e0e8e1;box-shadow:0 14px 40px #263a5018;transform:rotate(-9deg);overflow:hidden}.art-photo>span{position:absolute;bottom:0;display:flex;align-items:center;gap:7px;background:#fff;font-size:9px;justify-content:center;height:32px;width:100%;font-weight:600}.art-person{position:absolute;left:50%;bottom:0;transform:translate(-50%);width:140px;height:185px;display:flex;align-items:center;flex-direction:column;justify-content:end}.person-head{width:54px;height:65px;background:linear-gradient(140deg,#899e90,#bdcbbb);border-radius:48% 48% 44% 44%;box-shadow:0 -12px 0 -2px #688174;z-index:1;margin-bottom:-4px}.person-body{width:124px;height:104px;background:linear-gradient(120deg,#536f64,#729285);border-radius:58% 58% 0 0}.art-video{position:absolute;width:200px;height:318px;top:18px;right:9%;border:6px solid white;border-radius:19px;background:#203e4c;box-shadow:0 15px 50px #233e5326;overflow:hidden;transform:rotate(6deg)}.art-grid{position:absolute;inset:0;background:linear-gradient(transparent 97%,#8bc1ae14 97%),linear-gradient(90deg,transparent 97%,#8bc1ae14 97%);background-size:32px 32px;transform:perspective(200px) rotateX(8deg)}.art-glow{position:absolute;width:250px;height:250px;background:#b1d2b5;border-radius:50%;top:50px;left:20px;filter:blur(75px);opacity:.3}.second{height:235px;width:150px;bottom:0}.second .person-head{width:68px;height:80px;background:linear-gradient(140deg,#d8daca,#99bcaa);box-shadow:0 -15px 0 -4px #588779}.second .person-body{width:164px;height:129px;background:linear-gradient(120deg,#658b7c,#bed1c1)}.art-video-top{position:absolute;top:14px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:center;color:#d6e4e0;font-size:7px;letter-spacing:.14em}.art-video-bottom{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0f2935d9);padding:30px 13px 15px;display:flex;align-items:center;gap:11px;color:#fff}.play-circle{background:#ffffff2b;border:1px solid #ffffff45;border-radius:50%;height:35px;width:35px;display:grid;place-items:center;color:#fff}.art-video-bottom strong{display:block;font-size:11px}.art-video-bottom small{font-size:8px;color:#c9d9d1}.art-tag{position:absolute;right:3%;bottom:17px;background:#fff;border:1px solid #e5ede7;border-radius:9px;box-shadow:0 7px 22px #2d443c0b;padding:13px 15px;display:flex;gap:8px;align-items:center;font-size:10px;color:#76907e;transform:rotate(-3deg)}.landing-divider{height:1px;background:#e9edf0;margin:35px 0 38px}.how{display:grid;grid-template-columns:1.05fr repeat(3,1fr);gap:28px}.how>div .eyebrow{font-size:11px;margin-bottom:14px}.how h2{font-size:25px;line-height:1.35}.step-icon{height:44px;width:44px;border:1px solid #dfe7e1;background:#f0f5f1;border-radius:11px;display:grid;place-items:center;color:#71907d;margin-bottom:15px}.how article>span{font-size:11px;font-weight:750;letter-spacing:.1em;color:#718496}.how article h3{font-size:16px;margin:9px 0}.how article p{font-size:13px;line-height:1.9;color:#64788a}.landing-cta{margin-top:43px;background:#f3f6f7;border:1px solid #e9edef;border-radius:10px;padding:22px 25px;display:flex;justify-content:space-between;align-items:center;font-size:16px;font-weight:650}.landing-cta>span:last-child{display:flex;align-items:center;gap:15px;font-size:13px;color:#637a8b}.landing footer{margin-top:36px;display:flex;align-items:center;justify-content:space-between;color:#718496;font-size:15px}.landing footer>.brand-logo{width:90px}.landing footer small{font-size:12px}.catalog-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:25px 0 27px}.filter-chips{display:flex;gap:8px;flex-wrap:wrap}.filter-chips button{background:#fff;border:1px solid #e1e6ec;border-radius:7px;color:#617486;font-size:14px;padding:8px 13px}.filter-chips button.selected{background:#233c57;border-color:#233c57;color:#fff}.search-box{border:1px solid #e4e9ee;display:flex;align-items:center;gap:8px;padding-left:12px;border-radius:7px;width:210px;color:#6e8191}.search-box input{border:0;background:transparent;font-size:13px;padding:10px 8px;box-shadow:none}.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:26px 16px}.video-card{min-width:0}.video-thumbnail{padding:0;width:100%;aspect-ratio:9/14;position:relative;border-radius:12px;background:#e4ebea;overflow:hidden;display:block;text-align:left}.video-thumbnail>video{width:100%;height:100%;object-fit:cover}.video-no-preview{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;background:linear-gradient(150deg,#dce6e0,#d9e4ec);color:#8ca097;font-size:13px}.card-category{position:absolute;left:11px;top:12px;font-size:11px;letter-spacing:.02em;border:1px solid #ffffff4d;background:#1b2b3340;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:5px;padding:5px 7px;color:#fff}.card-draft{position:absolute;right:10px;top:12px;background:#fffc;color:#6e7c83;font-size:11px;border-radius:5px;padding:5px 7px}.card-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;border:1px solid #ffffff70;background:#ffffff35;color:#fff;display:grid;place-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);transition:.2s}.card-overlay{position:absolute;bottom:0;left:0;right:0;padding:42px 15px 17px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(transparent,#12262fb3);color:#fff;font-size:13px;opacity:0;transition:.2s}.video-thumbnail:hover .card-overlay{opacity:1}.video-thumbnail:hover .card-play{opacity:0}.video-card-info{display:flex;justify-content:space-between;align-items:center;margin-top:11px;gap:6px}.video-card h3{font-size:15px;letter-spacing:-.02em}.video-card p{font-size:13px;color:#6e8191;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-foot{display:flex;align-items:center;gap:9px;justify-content:center;font-size:12px;color:#687f70;margin-top:42px}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;min-height:360px;border:1px dashed #e1e7eb;border-radius:12px;background:#fcfdfd;color:#64798b;font-size:15px;padding:35px;text-align:center}.empty-state h2{font-size:22px;color:#455b6b}.empty-state p{font-size:15px;color:#677b8d}.empty-video-icon{width:100px;height:120px;border:1px solid #dee6e1;border-radius:18px;display:grid;place-items:center;background:linear-gradient(150deg,#edf3ef,#e5edf1);color:#88a091;transform:rotate(-5deg);margin-bottom:12px}.catalog-empty{min-height:440px}.catalog-empty .small-text{margin-top:7px}.auth-page{min-height:calc(100vh - 85px);display:flex;align-items:center;justify-content:center;padding:30px}.auth-card{width:370px;max-width:100%}.auth-card>.step-icon{height:56px;width:56px;margin-bottom:26px}.auth-card .eyebrow{font-size:11px;margin-bottom:12px}.auth-card h1{font-size:29px}.auth-card>p{font-size:15px;color:#64788a;margin:13px 0 28px}.auth-card form{display:flex;flex-direction:column;gap:19px}.auth-card .text-btn{margin:20px 0;padding:0}.users-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:24px;align-items:start}table{border-collapse:collapse;width:100%;font-size:15px}th{text-align:left;color:#6e8191;font-size:13px;font-weight:600;padding:10px 0;border-bottom:1px solid #e7edf1}td{padding:15px 0;border-bottom:1px solid #eff2f5}tr:last-child td{border:0}.modal-backdrop{position:fixed;inset:0;background:#152b426b;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:25px}.template-modal{position:relative;display:grid;grid-template-columns:1fr 1.2fr;border-radius:17px;background:#fff;width:800px;max-width:100%;overflow:auto;max-height:90vh}.modal-close{position:absolute;z-index:2;right:14px;top:14px;background:#fffd}.modal-preview{background:#233744;display:grid;place-items:center;min-height:450px;color:#9eafb2}.modal-preview video{width:100%;height:100%;object-fit:contain;max-height:700px}.modal-content{padding:39px 32px;gap:20px}.modal-content .eyebrow{margin-bottom:0;font-size:11px}.modal-content h2{font-size:27px}.modal-content>p{font-size:15px;color:#617486}.photo-slot{display:flex;flex-direction:row;align-items:center;border:1px dashed #d4dee6;border-radius:9px;background:#f8fafb;padding:14px;gap:13px;cursor:pointer;position:relative;font-size:14px}.photo-slot input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.photo-slot svg{flex-shrink:0;color:#8ca098}.photo-slot>span{display:flex;flex-direction:column;gap:4px;flex:1}.photo-slot small{font-size:13px;font-weight:500;color:#6e8191}.photo-slot img{width:43px;height:48px;object-fit:cover;border-radius:5px}.price-box{border:1px solid #e2e9e5;background:#f5f8f6;border-radius:8px;padding:14px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;font-size:14px;color:#4f6d5b}.price-box strong{font-size:17px;font-weight:700;color:#405e4e}.price-box small{display:block;width:100%;font-size:12px;color:#637d6b;overflow-wrap:anywhere}.runs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:22px}.run-card{border:1px solid #e3e9ee;border-radius:11px;overflow:hidden;background:#fff}.run-card>video{width:100%;height:260px;background:#172c3c;display:block;object-fit:contain}.run-placeholder{height:210px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;background:#f1f5f7;color:#6e8191;font-size:15px}.run-placeholder strong{font-size:15px;font-weight:500}.run-placeholder .loader{width:18px;height:18px}.run-info{padding:17px}.run-info h3{font-size:15px}.run-info>small{font-size:12px;color:#6e8191}.run-bottom{margin:15px 0 0;font-size:13px}.run-info>.btn{margin-top:12px;width:100%}.run-error{font-size:13px;color:#b2726d;line-height:1.7;margin-top:13px;max-height:120px;overflow:auto;overflow-wrap:anywhere}.editor-shell .sidebar{width:238px}.editor-shell>main{margin-left:238px;width:calc(100% - 238px)}.editor-shell .topbar{height:66px;padding:0 28px}.editor-page{padding:27px 28px 45px;background:#fafbfd;min-height:calc(100vh - 66px)}.editor-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.editor-heading .eyebrow{font-size:11px;margin:0 0 6px}.editor-heading h1{font-size:24px;letter-spacing:-.03em;display:flex;flex-wrap:wrap;align-items:center;gap:11px}.editor-heading h1 .badge{font-size:11px;letter-spacing:0}.editor-heading small{font-size:12px}.editor-heading>.row:first-child{gap:13px}.editor-tabs{display:flex;align-items:center;gap:32px;border-bottom:1px solid #e5eaf0;margin-bottom:22px;font-size:13px;color:#6e8191}.editor-tabs>span{padding:0 0 15px;display:flex;gap:9px;align-items:center}.editor-tabs b{font-size:14px;font-weight:600}.editor-tabs .selected{color:#4b6a81;border-bottom:2px solid #4b6a81}.editor-tabs>span:last-child{margin-left:auto;font-size:12px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start}.editor-main,.editor-settings{display:flex;flex-direction:column;gap:19px;min-width:0}.editor-page>.alert{margin-bottom:15px}.editor-settings .panel{padding:19px;gap:15px}.editor-settings h3{font-size:16px;letter-spacing:-.02em}.editor-settings label{font-size:13px;gap:6px}.editor-settings input,.editor-settings select,.editor-settings textarea{font-size:14px;padding:10px 11px;min-width:0}.editor-settings small{font-size:12px}.editor-settings .small-text{font-size:13px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.binding{gap:7px}.binding select{flex:1;width:130px}.binding>span{min-width:44px}.slot-editor{display:flex;flex-direction:column;gap:9px}.checkbox-label{display:flex;flex-direction:row;align-items:center;gap:7px!important;color:#617486}.checkbox-label input{width:13px;height:13px;margin:0;accent-color:#233c57}.preview-poster{width:100%;max-height:105px;object-fit:cover;border-radius:7px}.cost-panel{background:#f1f6f2!important;border-color:#dce6df!important}.total-cost{font-size:31px;font-weight:700;letter-spacing:-.04em;margin:17px 0 6px;color:#45634e}.cost-panel p{font-size:13px;color:#597461;margin:8px 0 11px;line-height:1.8}.cost-panel small{color:#637d6b;display:block;line-height:1.8}.segments-panel .eyebrow,.test-panel .eyebrow{font-size:11px;margin-bottom:8px}.segments-panel h3,.test-panel h3{font-size:17px}.segments-panel{padding:20px}.segment-foot{font-size:13px;margin-top:14px;flex-wrap:wrap}.segment-foot .small-text{font-size:12px}.segment-empty{font-size:14px;padding:22px 0 0}.test-panel{padding:22px}.test-panel>.row.between{flex-wrap:wrap}.test-panel>p{font-size:13px;margin-top:16px}.test-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:10px;margin-top:20px}.test-photos .photo-slot{font-size:13px;padding:12px}.test-actions{flex-wrap:wrap;margin-top:19px}.test-actions .small-text{font-size:12px}.test-actions .btn{font-size:13px;padding:10px 13px}.test-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:17px;margin-top:24px}.test-results .run-card>video{height:200px}.test-revision{display:block;margin:0 0 8px;font-size:12px}@media(min-width:1600px){.page{padding-left:65px;padding-right:65px}.hero{min-height:480px}.hero-art{transform:scale(1.1)}.editor-layout{grid-template-columns:minmax(0,1fr) 330px}.video-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}@media(max-width:1200px){.sidebar{width:205px}.app-shell>main{margin-left:205px;width:calc(100% - 205px)}.page{padding:35px 30px}.topbar{padding:0 30px}.hero{grid-template-columns:1.1fr .9fr}.hero-copy h1{font-size:40px}.hero-art{transform:scale(.85);transform-origin:50%}.art-video{right:0}.art-photo{left:0}.how{gap:20px}.how h2{font-size:22px}.editor-shell .sidebar{width:205px}.editor-shell>main{margin-left:205px;width:calc(100% - 205px)}.editor-shell .nav-new{display:none}.editor-page{padding:22px 20px}.editor-layout{grid-template-columns:minmax(0,1fr) 300px;gap:15px}.editor-tabs>span:last-child{display:none}.editor-heading h1{font-size:21px}.editor-heading h1 .badge{display:none}.editor-heading .btn{font-size:13px;padding:9px 12px}.segments-panel .between{flex-wrap:wrap}.segments-panel .small-text{font-size:11px}.sidebar .wordmark{min-height:30px}}@media(max-width:960px){.editor-layout{grid-template-columns:1fr}.editor-settings{display:grid;grid-template-columns:1fr 1fr;align-items:start}.how{grid-template-columns:1fr 1fr;gap:30px}.hero-art{transform:scale(.75);margin-left:-30px}.hero-copy h1{font-size:34px}.hero-copy>p{font-size:14px}.hero-foot{font-size:11px}.status-pill{display:none}.users-layout{grid-template-columns:1fr}.video-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr))}}@media(max-width:700px){.sidebar{position:sticky;top:0;width:100%;height:63px;padding:0 17px;flex-direction:row;align-items:center;border-bottom:1px solid #e0e7ed;gap:6px}.sidebar .wordmark{padding:0;min-height:24px}.wordmark .brand-logo{width:120px;max-width:none}.wordmark svg,.sidebar>.nav-label,.sidebar-bottom,.sidebar .root-label,.sidebar .nav-new,.sidebar .count{display:none}.sidebar nav{flex-direction:row;gap:6px;margin-left:auto}.sidebar nav a{padding:7px 9px;font-size:0;min-height:33px;gap:0}.sidebar nav+nav{margin-left:0}.sidebar nav a svg{width:18px}.app-shell{flex-direction:column}.app-shell>main,.editor-shell>main{margin-left:0;width:100%}.editor-shell .sidebar{width:100%}.topbar,.editor-shell .topbar{height:55px;padding:0 21px}.page{padding:29px 22px}.landing{padding-top:32px}.hero{grid-template-columns:minmax(0,1fr);min-height:auto;gap:25px}.hero-copy h1{font-size:40px}.hero-copy>p{font-size:15px;margin:21px 0}.hero-foot{margin-top:20px;font-size:12px}.hero-art{height:325px;width:320px;max-width:100%;margin:0 auto;transform:scale(.88);transform-origin:center}.art-video{right:5%}.art-photo{left:0}.art-tag{right:0;bottom:-18px}.orbit-two{width:350px;height:350px}.landing-divider{margin-top:37px}.how{gap:30px 20px}.how h2{font-size:24px}.how article h3{font-size:15px}.how article p{font-size:12px}.landing-cta{padding:19px 17px;gap:13px;align-items:start;flex-direction:column;margin-top:32px;font-size:15px}.landing footer{margin-top:27px}.page-heading{align-items:start;gap:16px;flex-wrap:wrap;margin-bottom:25px}.page-heading h1{font-size:28px;margin-bottom:10px}.page-heading p{font-size:14px}.page-heading .btn{margin:0;font-size:13px}.catalog-toolbar{flex-direction:column;align-items:start;gap:17px}.search-box{width:100%}.filter-chips button{font-size:13px;padding:7px 11px}.video-grid{grid-template-columns:1fr 1fr;gap:22px 12px}.video-card h3{font-size:14px}.empty-state h2{font-size:20px}.catalog-empty{padding:28px 20px;min-height:390px}.auth-page{min-height:calc(100vh - 120px)}.template-modal{grid-template-columns:1fr;max-height:90vh;width:430px}.modal-preview{min-height:0;height:250px}.modal-preview video{height:250px}.modal-content{padding:27px 22px}.modal-content h2{font-size:24px}.modal-backdrop{padding:17px}.toast-stack{right:17px;left:17px;bottom:20px}.toast{font-size:14px}.editor-page{padding:20px 13px}.editor-heading{flex-wrap:wrap;gap:15px}.editor-heading h1{font-size:21px}.editor-heading>.row:last-child{margin-left:0;width:100%;flex-wrap:wrap}.editor-heading>.row:last-child .btn{flex:1;padding:10px 9px}.editor-tabs{gap:20px;margin:22px 0}.editor-tabs span{font-size:11px}.editor-tabs b{font-size:12px}.editor-settings{grid-template-columns:1fr}.segments-panel{padding:16px}.test-panel{padding:17px}.test-results{grid-template-columns:1fr}.test-panel .badge{font-size:11px}.test-actions .small-text{font-size:12px}input,textarea,select,.editor-settings input,.editor-settings select,.editor-settings textarea{font-size:16px}}.video-editor-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;border-bottom:1px solid #e3e9ee;flex-shrink:0}.video-editor-header>.row{min-width:0;gap:13px}.video-editor-icon{width:43px;height:43px;background:#edf2f6;border-radius:10px;color:#4d6b82;display:grid;place-items:center;flex-shrink:0}.video-editor-header h2{font-size:20px;letter-spacing:-.025em}.video-editor-header p{font-size:13px;margin-top:5px}.video-editor-footer{padding:15px 24px;border-top:1px solid #e3e9ee;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0}.video-editor-footer>.muted{font-size:13px}@media(max-width:700px){.video-editor-header{padding:16px;gap:10px}.video-editor-header h2{font-size:19px}.video-editor-header p{font-size:12px;line-height:1.6}.video-editor-icon{display:none}.video-editor-footer{padding:13px 16px;gap:15px}.video-editor-footer>.muted{font-size:12px;line-height:1.6}.video-editor-footer>.btn{flex-shrink:0}}.flow-editor .editor-layout{grid-template-columns:minmax(0,1fr) 310px;gap:24px;max-width:1500px;margin:0 auto}.flow-editor .editor-main{gap:22px}.flow-editor .editor-heading{max-width:1500px;margin:0 auto 26px}.flow-editor h4{margin:0;font-size:15px;letter-spacing:-.02em}.about-template{padding:22px;gap:17px}.about-template .text-btn{display:inline-flex;align-items:center;gap:6px;font-size:13px}.about-fields{display:grid;grid-template-columns:1.6fr 1fr;gap:16px}.about-template label{font-size:14px}.about-template input,.about-template textarea{font-size:15px}.characters-section{border-top:1px solid var(--line);padding-top:18px;margin-top:3px}.characters-section>.row{gap:14px;flex-wrap:wrap}.characters-section p{font-size:13px;margin-top:3px}.character-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px;margin-top:15px}.character-card{border:1px solid var(--line);border-radius:10px;padding:12px;background:#fbfcfd;min-width:0}.character-pair{display:flex;align-items:center;gap:10px}.character-pair>.icon-btn{align-self:flex-start;padding:5px;flex-shrink:0}.character-portrait{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:68px;height:88px;flex-shrink:0;border:1px solid #dce4eb;border-radius:8px;background:#eef2f6;color:#627e95;overflow:hidden}.character-portrait img{height:100%;width:100%;object-fit:cover}.character-portrait>span{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:3px;font-size:10px;padding:4px 0;background:#fffe;color:#314f68}.character-field{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}.character-field label{font-size:12px}.character-field input:not([type=checkbox]){font-size:14px;padding:8px}.character-field .checkbox-label{font-size:11px}.character-pair>svg{flex-shrink:0}.clear-reference{font-size:11px!important;margin-top:6px;padding:0;color:var(--muted)}.empty-character{display:flex;align-items:center;justify-content:center;gap:8px;min-height:85px;border:1px dashed #cad6df;border-radius:9px;background:#f7f9fb;color:var(--muted);font-size:14px}.flow-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin:4px 0 19px}.flow-heading h3{font-size:18px}.flow-heading p{font-size:13px;margin-top:4px}.flow-heading>.row{gap:9px;flex-wrap:wrap}.segment-chain{display:flex;flex-direction:column;gap:29px}.segment-node{position:relative;border:1px solid #dfe5eb;border-radius:12px;background:#fff;min-width:0}.segment-node.active{border-color:#9eb2c3;box-shadow:0 2px 10px #233c5705}.segment-node.original{background:#f4f8f4;border-color:#d9e6dc}.segment-node:after{content:"";position:absolute;top:100%;left:40px;height:29px;width:1px;background:#becfda}.segment-node-header{display:flex;align-items:center;gap:13px;width:100%;background:none;text-align:left;color:inherit;padding:17px 20px;border-radius:11px}.segment-node-header:hover{background:#edf2f650}.segment-number{display:grid;place-items:center;flex-shrink:0;width:39px;height:39px;background:#eef2f6;color:#627b90;border:1px solid #dce4eb;border-radius:10px;font-size:13px;font-weight:750}.original .segment-number{background:#e4eee5;border-color:#d1dfd4;color:#5a7960}.segment-node-title{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.segment-node-title strong{font-size:15px;letter-spacing:.01em}.segment-node-title small{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.segment-node-title small span{margin-left:7px}.segment-node-cost{font-size:14px;font-weight:650;white-space:nowrap}.segment-edit-label{font-size:12px;color:var(--muted);margin-left:8px}.segment-node-header>svg{flex-shrink:0}.segment-node-summary{display:flex;gap:14px;flex-wrap:wrap;padding:0 20px 14px 72px;font-size:12px;color:var(--muted)}.segment-warning{color:#9a653a}.segment-prompt-preview{font-size:13px;color:#627486;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 20px 0 72px;margin-bottom:12px}.segment-binding-summary{display:flex;flex-wrap:wrap;gap:8px;padding:0 20px 17px 72px}.segment-binding-summary>span{display:flex;align-items:center;gap:6px;border:1px solid #e1e8ed;padding:4px 9px 4px 5px;border-radius:6px;font-size:12px;background:#fafbfd}.segment-binding-summary img{width:23px;height:27px;object-fit:cover;border-radius:3px}.flow-result{position:relative;display:flex;gap:13px;align-items:center;padding:18px 20px;border:1px dashed #b6c9bd;background:#f1f7f2;border-radius:11px;color:#47624f}.result-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#e2ece4}.flow-result>div{display:flex;flex-direction:column;gap:2px;flex:1}.flow-result strong{font-size:15px}.flow-result small{font-size:12px}.flow-editor .segment-empty{padding:28px;font-size:14px;color:var(--muted)}.studio-actions{position:sticky;top:22px;max-height:calc(100dvh - 44px);overflow-y:auto;overscroll-behavior:contain;padding:21px;gap:20px;scrollbar-width:thin}.studio-actions h3{font-size:17px}.studio-price{border-radius:9px;background:#f1f6f2;padding:15px;color:#526c5a}.studio-price>.row{font-size:13px;font-weight:650}.studio-price small{font-size:11px;display:block;line-height:1.75}.studio-price small+small{margin-top:6px}.studio-price .total-cost{margin:8px 0 2px;font-size:32px}.studio-test{gap:11px}.studio-test>p{font-size:13px;line-height:1.6}.studio-test label{font-size:13px}.studio-test select{font-size:14px}.studio-test>small{font-size:11px;text-align:center}.studio-actions .btn{font-size:14px;padding:11px 13px}.studio-actions .photo-slot{padding:10px;gap:10px;min-width:0}.studio-actions .photo-slot>span{min-width:0;flex:1;overflow-wrap:anywhere}.studio-actions .photo-slot strong{font-size:12px}.studio-actions .photo-slot small{font-size:11px}.studio-actions .photo-slot img{width:37px;height:44px}.studio-save{gap:10px;border-top:1px solid var(--line);padding-top:18px}.delete-template{color:#a36963;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;margin-top:3px}.test-history h3{font-size:18px}.binding-portrait{width:37px;height:44px;object-fit:cover;border-radius:5px;flex-shrink:0}.segment-settings{gap:17px}.segment-settings input,.segment-settings select,.segment-settings textarea{font-size:15px;min-width:0}.segment-settings label{font-size:14px}.segment-settings small{font-size:12px}.segment-settings .price-box{margin-top:6px}.segment-settings .field-grid{gap:17px}.segment-settings .binding{flex-wrap:wrap}.segment-settings .binding select{min-width:120px}.studio-dialog,.actor-dialog,.confirm-dialog{border:1px solid #dce4eb;border-radius:16px;padding:0;margin:auto;box-shadow:0 24px 100px #13283b40;color:#233445;background:#fff;width:calc(100% - 40px);max-height:calc(100dvh - 40px)}.studio-dialog{max-width:720px}.actor-dialog{max-width:900px}.studio-dialog[open],.actor-dialog[open]{display:flex;flex-direction:column}.studio-dialog::backdrop,.actor-dialog::backdrop,.confirm-dialog::backdrop{background:#152b4280;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.studio-dialog-body,.actor-dialog-body{padding:24px;overflow:auto;min-height:0;overscroll-behavior:contain}.actor-dialog-body{gap:17px}.actor-crop-surface{position:relative;overflow:hidden;touch-action:none;cursor:crosshair;line-height:0;-webkit-user-select:none;user-select:none}.actor-crop-surface>img{display:block;max-width:100%;max-height:48dvh;pointer-events:none}.actor-crop-box{position:absolute;border:2px solid #fff;box-shadow:0 0 0 2000px #07172588;pointer-events:none;display:flex;align-items:flex-end;justify-content:flex-end;padding:6px;color:#fff}.actor-frame-controls{gap:12px;flex-wrap:wrap}.inline-field{flex-direction:row;align-items:center;gap:10px;font-size:14px}.inline-field input{width:100px;padding:8px}.confirm-dialog{max-width:450px;padding:25px}.confirm-dialog h2{font-size:22px}.confirm-dialog p{margin:14px 0 22px;font-size:14px}.confirm-dialog .row{justify-content:flex-end}.btn.danger{background:#a46059;color:#fff}.public-character{display:flex;align-items:center;gap:9px;min-width:0}.public-character>.photo-slot{flex:1;min-width:0;margin:0}.public-character>.photo-slot>span{min-width:0;overflow-wrap:anywhere}.public-actor-hint{display:flex;align-items:center;flex-direction:column;gap:4px;flex-shrink:0}.public-actor-hint img{width:59px;height:68px;object-fit:cover;border-radius:7px}.public-actor-hint small{font-size:10px;color:var(--muted)}.public-character>svg{flex-shrink:0}@media(max-width:1200px){.flow-editor .editor-layout{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.studio-actions{padding:17px}.segment-edit-label{display:none}.character-grid{grid-template-columns:1fr}}@media(max-width:1000px){.flow-editor .editor-layout{grid-template-columns:minmax(0,1fr)}.studio-actions{position:static;max-height:none;overflow:visible}.studio-actions .test-photo{max-width:100%}.character-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr))}}@media(max-width:700px){.flow-editor .editor-heading h1{font-size:22px}.flow-editor .editor-heading>.row{width:100%;flex-wrap:nowrap}.about-template{padding:17px}.about-fields{grid-template-columns:1fr}.flow-heading>.row{width:100%;justify-content:space-between}.segment-node-header{padding:14px 12px;gap:9px}.segment-number{width:33px;height:36px}.segment-node:after{left:29px}.segment-node-title strong{font-size:14px}.segment-node-cost{font-size:12px;white-space:normal;max-width:82px;text-align:right}.segment-node-title small{font-size:11px}.segment-node-summary,.segment-prompt-preview,.segment-binding-summary{padding-left:54px;padding-right:14px}.segment-prompt-preview{font-size:12px}.studio-dialog,.actor-dialog{width:100%;max-width:none;max-height:100dvh;border-radius:0}.studio-dialog-body,.actor-dialog-body{padding:17px}.studio-dialog .video-editor-footer{flex-wrap:wrap;gap:10px}.studio-dialog .video-editor-footer .btn{margin-left:auto}.segment-settings .field-grid{gap:10px}.studio-dialog input,.studio-dialog select,.studio-dialog textarea,.actor-dialog input,.actor-dialog select{font-size:16px}.flow-result{padding:15px}.character-field .checkbox-label{font-size:12px}.character-field input:not([type=checkbox]){font-size:16px}.characters-section>.row{align-items:flex-start}.public-character .photo-slot{padding:9px;gap:7px}.public-actor-hint img{width:44px;height:59px}.public-actor-hint small{font-size:9px}}.flow-editor .editor-heading{margin-bottom:20px}.flow-editor .about-template{gap:12px;padding:19px 21px}.flow-editor .about-template input,.flow-editor .about-template textarea{padding:8px 11px}.flow-editor .about-template textarea{height:58px;min-height:58px}.flow-editor .about-template label{gap:5px}.flow-editor .characters-section{padding-top:13px;margin-top:0}.flow-editor .character-grid{margin-top:11px}.flow-editor .character-card{padding:10px}.flow-editor .character-portrait{height:76px;width:60px}.flow-editor .character-field{gap:7px}.flow-editor .character-field input:not([type=checkbox]){padding:7px 8px}.flow-editor .clear-reference{margin-top:3px}.flow-editor .flow-heading{margin-bottom:14px}.flow-editor .segment-node-header{padding-top:13px;padding-bottom:10px}.flow-editor .segment-node-summary{padding-bottom:8px}.flow-editor .segment-prompt-preview{margin-bottom:8px;line-height:1.6}.flow-editor .segment-binding-summary{padding-bottom:12px}.flow-editor .segment-chain{gap:24px}.flow-editor .segment-node:after{height:24px}.flow-editor .segment-node.original .segment-node-summary{padding-bottom:13px}@media(max-width:700px){.segment-settings .segment-processing{grid-template-columns:1fr}}.catalog-dialog{margin:auto;padding:0;border:0;border-radius:17px;background:#fff;color:inherit;max-width:calc(100% - 40px);max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 24px 100px #13283b40}.catalog-dialog .template-modal{max-height:none;width:800px}.actor-dialog .app-select,.studio-dialog .app-select{font-size:15px}@media(max-width:700px){.catalog-dialog{max-width:calc(100% - 28px);max-height:calc(100dvh - 28px)}.catalog-dialog .template-modal{width:430px}.actor-dialog .app-select,.studio-dialog .app-select{font-size:16px}}.segment-list{border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text);overflow:hidden;margin-bottom:20px;container-type:inline-size}.segment-list-heading,.segment-row{display:grid;grid-template-columns:minmax(240px,1.8fr) minmax(125px,.9fr) minmax(130px,1fr) 120px;align-items:center;gap:18px;padding:20px}.segment-list-heading{background:var(--surface-soft);font-size:13px;font-weight:700;color:var(--muted);padding-top:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}.segment-list-heading>span:first-child{padding-left:30px}.segment-row{min-height:124px;border-bottom:1px solid var(--line)}.segment-row:last-child{border-bottom:0}.segment-row{transition:background-color .15s}.segment-row:hover{background:var(--surface-soft)}.segment-identity{display:flex;align-items:center;gap:14px;min-width:0}.segment-index{font-size:13px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums;flex-shrink:0}.segment-preview-button{background:none;padding:0;flex-shrink:0;border-radius:7px;overflow:hidden;width:116px}.segment-thumbnail{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/10;background:var(--surface-soft);color:var(--muted);overflow:hidden;border-radius:7px}.segment-thumbnail video{display:block;width:auto;max-width:100%;height:100%;max-height:100%;object-fit:contain;background:#000;pointer-events:none}.segment-name{min-width:0;display:flex;flex-direction:column;gap:8px}.segment-name strong{font-size:16px;font-weight:750;overflow-wrap:anywhere}.segment-name small{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.segment-metadata{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}.segment-metadata small{font-size:13px}.segment-row .segment-binding-summary{padding:0;gap:8px;flex-direction:column;min-width:0}.segment-row .segment-binding-summary>span{border:0;background:none;padding:0;gap:9px;font-size:13px;overflow-wrap:anywhere}.segment-row .segment-binding-summary img{width:32px;height:39px;border-radius:5px}.segment-row .segment-binding-summary svg{flex-shrink:0}.segment-configure{display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:13px;white-space:nowrap}.segment-configure svg{flex-shrink:0}.flow-editor .flow-heading{align-items:center;margin-top:4px;margin-bottom:22px}.flow-heading h3{font-size:25px}.flow-editor .flow-result{border:1px solid #d9e5dd;padding:20px}.flow-editor .flow-result strong{font-size:16px}.flow-editor .flow-result small{font-size:14px}.character-card>small{display:block;font-size:12px;margin-top:6px}@container (max-width:800px){.segment-list-heading,.segment-row{grid-template-columns:minmax(215px,1.6fr) minmax(105px,.8fr) minmax(105px,1fr) 30px;gap:12px;padding-left:15px;padding-right:15px}.segment-preview-button{width:85px}.segment-configure span,.segment-configure>svg:last-child{display:none}.segment-name small{font-size:12px}.segment-identity{gap:10px}}@container (max-width:560px){.segment-list-heading{display:none}.segment-row{grid-template-columns:1fr auto;gap:14px;padding:17px}.segment-identity{grid-column:1;grid-row:1}.segment-configure{grid-column:2;grid-row:1}.segment-metadata{grid-column:1;grid-row:2;padding-left:30px;font-size:13px}.segment-row .segment-binding-summary{grid-column:1/-1;grid-row:3;padding-left:30px;flex-direction:row}.segment-name strong{font-size:15px}.segment-name small{font-size:12px}.segment-preview-button{width:84px}}@media(max-width:700px){.flow-heading{gap:15px}.flow-heading>.btn{width:100%}.flow-editor .flow-result{padding:16px}.flow-editor .flow-result small{font-size:12px}}@container (min-width:1001px){.segment-list-heading,.segment-row{padding-left:24px;padding-right:24px;gap:20px;grid-template-columns:minmax(340px,1.8fr) minmax(135px,.9fr) minmax(145px,1fr) 130px}.segment-row{min-height:140px;padding-top:24px;padding-bottom:24px}.segment-preview-button{width:148px}.segment-thumbnail{aspect-ratio:16/9}.segment-index{width:26px;font-size:14px}.segment-identity{gap:16px}.segment-name strong{font-size:18px}.segment-name small{font-size:14px}.segment-metadata{font-size:15px}.segment-metadata small,.segment-row .segment-binding-summary>span,.segment-configure{font-size:14px}.segment-row .segment-binding-summary img{width:38px;height:46px}}.root-nav-toggle{display:flex;align-items:center;gap:12px;width:100%;padding:12px;min-height:45px;border-radius:9px;background:transparent;color:#5d6d7c;font-size:15px;text-align:left}.root-nav-toggle.active{color:var(--navy);font-weight:750}.root-nav-toggle:hover{background:#e6ecf2}.root-nav-toggle>svg:last-child{margin-left:auto;transition:transform .18s}.root-nav-toggle>svg.expanded{transform:rotate(180deg)}.root-submenu{display:flex;flex-direction:column;gap:4px;padding-left:18px;transform-origin:top;max-height:280px}.sidebar .root-submenu a{min-height:40px;font-size:14px;padding:10px}.root-menu-enter-active,.root-menu-leave-active{transition:opacity .18s,transform .18s,max-height .18s;overflow:hidden}.root-menu-enter-from,.root-menu-leave-to{opacity:0;transform:translateY(-5px);max-height:0}.root-templates-toolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:0 0 24px}.root-templates-toolbar .search-box{flex:1;max-width:420px}.root-templates-toolbar>.app-select{width:205px}.root-templates-toolbar>.muted{margin-left:auto;font-size:14px}.root-table-scroll{position:relative;overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff;overscroll-behavior:contain}.root-templates-table{border-collapse:collapse;width:100%;min-width:850px;text-align:left}.root-templates-table th{padding:16px 20px;font-size:13px;color:var(--muted);font-weight:700;background:#f8fafc;white-space:nowrap}.root-templates-table td{padding:18px 20px;border-top:1px solid var(--line);font-size:14px}.root-templates-table tr:hover td{background:#fafbfd}.root-templates-table td:first-child{min-width:250px;width:38%}.root-templates-table td:last-child{text-align:right}.root-template-title{display:flex;gap:14px;align-items:center}.root-template-title strong{font-size:15px;overflow-wrap:anywhere}.root-template-title:hover strong{color:#476d8b}.root-template-poster{width:62px;height:56px;border-radius:7px;background:var(--soft);color:#7890a2;display:grid;place-items:center;overflow:hidden;flex-shrink:0}.root-template-poster img{width:100%;height:100%;object-fit:cover}.template-state{display:inline-flex;padding:4px 9px;border-radius:6px;font-size:12px;font-weight:700;white-space:nowrap;background:#edf1f5;color:#647689}.template-state.published{background:#eaf3ed;color:#52765c}.root-templates-table time{white-space:nowrap;color:var(--muted);font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){.sidebar .root-navigation{position:relative;margin-left:2px}.root-nav-toggle{font-size:12px;min-height:33px;padding:7px;gap:5px}.root-nav-toggle>svg:last-child{width:12px}.sidebar .root-submenu{position:absolute;right:0;top:calc(100% + 10px);min-width:195px;padding:7px;border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:0 8px 25px #233c571a}.sidebar .root-submenu a{font-size:14px;gap:9px;min-height:42px;padding:10px}.root-templates-toolbar .search-box{width:100%;max-width:none;flex-basis:100%}.root-templates-toolbar>.app-select{width:210px}.root-templates-page .page-heading>.btn{width:100%}.root-templates-table th,.root-templates-table td{padding:14px}}@media(prefers-reduced-motion:reduce){.root-menu-enter-active,.root-menu-leave-active,.root-nav-toggle>svg:last-child{transition:none}}.root-template-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}.confirm-dialog>.alert{margin-bottom:18px;font-size:14px}.seedance-prompt-help{padding:16px;background:#f1f5f9;border:1px solid var(--line);border-radius:12px;font-size:14px;line-height:1.65}.seedance-prompt-help p{margin:9px 0}.seedance-prompt-help code{font-weight:750;color:#244865}.seedance-prompt-help small{display:block;color:var(--muted)}.seedance-guides{border-top:1px solid var(--line);padding-top:18px}.seedance-guides>.row{flex-wrap:wrap;gap:12px}.seedance-guides>.row small{display:block;margin-top:4px}.seedance-guide-grid{display:grid;gap:10px}.seedance-guide{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);border-radius:10px;min-width:0}.seedance-guide>img{width:76px;height:64px;object-fit:contain;background:#eef2f6;border-radius:6px}.seedance-guide>div{flex:1;min-width:0}.seedance-guide small{display:block;margin-top:4px}.segment-timing{display:flex;flex-direction:column;gap:7px}.segment-row-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}.segment-row-actions .segment-test-button{font-size:12px;justify-content:center;padding:9px 8px;white-space:nowrap}@container (max-width:800px){.segment-row-actions .segment-test-button{padding:6px}.segment-row-actions .segment-test-button span{display:none}}@container (max-width:560px){.segment-row-actions{grid-column:2;grid-row:1/3;align-self:center}.segment-row-actions .segment-configure{grid-column:auto;grid-row:auto}.segment-row-actions .segment-test-button{min-width:34px}}.app-shell{min-height:100dvh}.app-shell>main{display:flex;flex-direction:column;flex:1;min-width:0}.app-shell>.sidebar,.app-shell>main>.topbar{flex-shrink:0}.app-shell>main>.page,.app-shell>main>.home-page{width:100%;margin-top:0;margin-bottom:0;flex-shrink:0}.app-shell>main>.auth-page{min-height:0;flex:1}.app-shell>main>.editor-page{min-height:0}.character-upload{cursor:pointer}.character-upload>input{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;opacity:0;cursor:pointer}.character-upload:has(input:disabled){cursor:wait;opacity:.65}.character-upload input:disabled{cursor:wait}.actor-upload-error{color:#f2aaa7}:root{--page-bg:#101112;--surface:#191a1c;--surface-soft:#222427;--surface-hover:#2b2d31;--text:#f4f4f5;--muted:#a8adb8;--line:#2a2c2f;--sidebar-bg:#0d0e0f;--accent:#fb9c56;--accent-hover:#ffaf74;--navy:#e5e7eb;--soft:var(--surface-soft);--scrollbar-thumb:rgba(244,244,245,.16);--scrollbar-thumb-hover:rgba(244,244,245,.3);color:var(--text);background:var(--page-bg);color-scheme:dark}*{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}*::-webkit-scrollbar{width:6px;height:6px}*::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:transparent}*::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:3px}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}@media(forced-colors:active){*{scrollbar-color:auto}}body{background:var(--page-bg);color:var(--text)}.sidebar{background:var(--sidebar-bg);border-color:var(--line);padding:30px 16px 20px;overflow:hidden}.sidebar .wordmark{padding:0 9px;flex-shrink:0}.sidebar-navigation{flex:1;min-height:0;overflow-y:auto}.sidebar-bottom{flex-shrink:0}.sidebar .wordmark .brand-logo{width:160px;max-width:100%}.product-navigation{margin-top:42px}.sidebar nav a,.nav-upcoming{color:var(--muted);min-height:52px;padding:13px 12px;font-size:15px;gap:12px}.sidebar nav a,.nav-upcoming,.root-nav-toggle{font-weight:750}.sidebar nav a.active{background:var(--surface-soft);color:var(--text)}.sidebar nav a:hover{background:var(--surface-hover);color:var(--text)}.nav-upcoming{display:flex;align-items:center;border-radius:9px}.nav-upcoming>svg{flex-shrink:0}.nav-new,.home-new{background:var(--accent);color:#22150d;border-radius:7px;font-size:11px;font-weight:800;padding:4px 8px}.nav-soon{font-weight:500;margin-left:auto;background:var(--surface-soft);color:var(--muted);border-radius:7px;padding:3px 7px;font-size:11px}.sidebar nav .generations-nav{position:relative;margin-top:28px}.sidebar nav .generations-nav:before{content:"";position:absolute;top:-17px;left:0;right:0;height:1px;background:var(--line);pointer-events:none}.root-label{margin-top:26px;color:var(--muted)}.root-nav-toggle,.root-nav-toggle:hover,.root-nav-toggle.active{color:var(--muted);background:transparent}.root-nav-toggle:hover,.root-nav-toggle.active{background:var(--surface-soft);color:var(--text)}.sidebar-bottom{padding-top:32px}.account{margin-top:16px}.account .avatar{background:var(--surface-hover);color:var(--text);width:36px;height:36px}.account small{color:var(--muted)}.account>div:nth-child(2){min-width:0}.account small{max-width:122px}.topbar{border-color:var(--line)}.breadcrumb,.status-pill,.eyebrow,.page-heading p,.video-card p,.catalog-foot,.auth-card>p{color:var(--muted)}input,textarea,select,.app-select{background:var(--surface);border-color:var(--line);color:var(--text)}input:disabled,.app-select:disabled{background:var(--surface-soft);color:var(--muted)}input::placeholder,textarea::placeholder{color:var(--muted)}button:focus-visible,a:focus-visible{outline-color:var(--accent)}.btn.primary{background:var(--accent);border-color:var(--accent);color:#21170f;box-shadow:none}.btn.primary:hover{background:var(--accent-hover)}.btn.secondary,.panel,.run-card,.root-table-scroll,.app-select-options,.app-dropdown,.template-modal{background:var(--surface);color:var(--text);border-color:var(--line)}.btn.secondary:hover,.icon-btn:hover,.btn.ghost:hover,.app-select-options>button.highlighted,.app-dropdown>button:hover,.app-dropdown>button:focus-visible{background:var(--surface-hover);color:var(--text)}.btn.ghost,.text-btn,.icon-btn,.app-select-options>button[aria-selected=true]{color:var(--muted)}.filter-chips button{background:var(--surface);border-color:var(--line);color:var(--muted)}.filter-chips button.selected{background:var(--text);border-color:var(--text);color:var(--page-bg)}.search-box{border-color:var(--line);color:var(--muted)}.empty-state{background:var(--surface);border-color:var(--line);color:var(--muted)}.empty-state h2{color:var(--text)}.empty-state p,.modal-content>p,.run-info>small{color:var(--muted)}.photo-slot{background:var(--surface-soft);border-color:var(--line)}.photo-slot small{color:var(--muted)}.run-placeholder,.badge{background:var(--surface-soft);color:var(--muted)}:root .badge.failed,:root .alert.error,:root .toast.error{background:#362325;border-color:#5f353a;color:#f2aaa7}:root .run-error{color:#f2aaa7}:root .badge.completed,:root .toast{background:#20352c;border-color:#355b48;color:#aed7bd}:root .badge.running,:root .badge.queued{background:#233346;color:#abc9eb}:root .price-box{background:#20352c;border-color:#355b48;color:#aed7bd}:root .price-box strong,:root .price-box small{color:#aed7bd}:root .modal-close{background:#24262bd9;color:var(--text)}:root .root-templates-table th,:root .root-templates-table tr:hover td{background:var(--surface-soft)}:root .root-templates-table th,:root th{color:var(--muted)}th,td{border-color:var(--line)}:root .editor-page{background:var(--page-bg)}:root :is(.confirm-dialog,.studio-dialog,.video-editor-dialog,.region-dialog,.catalog-dialog,.seedance-prompt-help,.editor-shortcuts,.regions-track){background:var(--surface);color:var(--text);border-color:var(--line)}:root :is(.editor-tabs,.panel-title,.video-editor-header,.video-editor-footer){border-color:var(--line)}:root .seedance-prompt-help code{color:#f5b989}@media(min-width:701px){.sidebar .wordmark{justify-content:center}}@media(min-width:1201px){.sidebar,.editor-shell .sidebar{width:256px}.app-shell>main,.editor-shell>main{margin-left:256px;width:calc(100% - 256px)}}@media(max-width:700px){.sidebar{overflow:visible;padding:13px 16px;gap:12px;background:var(--sidebar-bg)}.product-navigation{margin-top:0}.sidebar .wordmark .brand-logo{width:115px}.sidebar nav a,.nav-upcoming{font-size:12px;min-height:36px;padding:7px;gap:6px}.nav-upcoming{display:none}.sidebar nav .generations-nav{margin:0;padding:7px;border:0;min-height:36px}.sidebar nav .generations-nav:before{display:none}.sidebar-bottom{display:flex;padding:0;margin:0 0 0 auto}.sidebar-bottom .account{display:none}.sidebar .root-submenu{background:var(--surface)}}:root :is(.character-card,.segment-node,.segment-node.original,.test-result,.actor-dialog){background:var(--surface);color:var(--text);border-color:var(--line)}:root :is(.character-portrait,.empty-character,.segment-number,.segment-binding-summary>span,.video-editor-icon,.test-photo,.seedance-guide>img,.template-state){background:var(--surface-soft);color:var(--muted);border-color:var(--line)}:root :is(.studio-price,.flow-result,.result-icon,.template-state.published){background:#20352c;color:#aed7bd;border-color:#355b48}:root :is(.segment-prompt-preview,.editor-tabs){color:var(--muted)}:root .segment-node-header:hover{background:var(--surface-hover)}:root .character-portrait>span{background:#24262be8;color:var(--text)}:root .root-template-title:hover strong{color:var(--accent)}@media(max-width:700px){.sidebar .wordmark .brand-logo{width:94px}.sidebar nav a{font-size:0;gap:0;padding:7px}.sidebar .root-nav-toggle>span,.sidebar .root-nav-toggle>svg:last-child{display:none}.sidebar .root-nav-toggle{padding:7px;min-height:33px}}*,*:before,*:after{outline:none!important}:focus,:focus-visible,:focus-within{box-shadow:none!important}.home-page{max-width:1500px;margin:0 auto;padding:42px 44px 28px}.home-heading{margin-bottom:36px}.home-heading h1{font-size:clamp(32px,3.5vw,50px);font-weight:650;line-height:1.15;letter-spacing:-.035em}.home-heading h1>span{color:var(--accent)}.home-products{display:flex;flex-direction:column;gap:44px}.trends-feature{container-type:inline-size;min-width:0}.trends-previews{--preview-gap:16px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--preview-gap);align-items:stretch}.trend-preview{position:relative;display:block;overflow:hidden;border-radius:14px;isolation:isolate;color:#fff;min-width:0;min-height:0;aspect-ratio:2/3}.trend-preview>button>img,.trend-preview>a>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}.trend-preview .home-hashtag{display:flex;align-items:center;gap:.2em;position:absolute;inset:auto 0 0;padding:30px 16px 14px;font-size:clamp(20px,2.3cqw,36px);font-weight:900;line-height:1.05;letter-spacing:-.045em;text-shadow:0 2px 18px #000b;background:linear-gradient(transparent,#0009)}.trend-preview:hover>button>img,.trend-preview:hover>a>img{transform:scale(1.035)}.trends-copy{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:24px}.trends-copy>div{min-width:0}.trends-title{display:flex;align-items:center;gap:14px;margin-bottom:10px}.trends-title h2{font-size:38px;line-height:1.2;font-weight:750;letter-spacing:-.035em}.home-new{font-size:12px;padding:4px 11px;line-height:1.6}.trends-copy p{font-size:18px;line-height:1.6;color:var(--muted)}.trends-cta{display:flex;align-items:center;justify-content:center;gap:18px;min-height:58px;padding:16px 24px;min-width:280px;border-radius:11px;background:var(--accent);color:#25180e;font-size:16px;font-weight:650;transition:background .15s;flex-shrink:0}.trends-cta:hover{background:var(--accent-hover)}.home-footer{display:flex;align-items:center;gap:20px;margin-top:40px;color:var(--muted);font-size:11px}.home-footer .brand-logo{width:85px;opacity:.6}.home-footer>span{padding-left:20px}@media(min-width:701px)and (max-width:1150px){.home-page{padding:32px 26px 24px}.home-heading{margin-bottom:28px}.trends-copy{gap:20px}.trends-copy p{font-size:16px}.trends-cta{min-width:220px;padding:14px 18px}.trend-preview .home-hashtag{padding:22px 10px 10px}}@media(max-width:700px){.home-page{padding:28px 20px}.home-shell>main>.topbar{display:none}.home-heading{margin-bottom:24px}.home-heading h1{font-size:32px}.trends-previews{--preview-gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.trend-preview{border-radius:10px}.trend-preview .home-hashtag{font-size:clamp(18px,4.5cqw,28px);padding:28px 10px 12px}.trends-copy{align-items:stretch;flex-direction:column;gap:22px;margin-bottom:24px}.trends-title h2{font-size:32px}.trends-copy p{font-size:16px}.wide-break{display:none}.trends-cta{min-width:0}.home-products{gap:48px}.home-footer{gap:12px;font-size:10px;margin-top:36px}.home-footer>span{padding-left:0}.home-footer .brand-logo{width:65px}}@media(prefers-reduced-motion:reduce){.trend-preview>button>img,.trend-preview>a>img,.trends-cta{transition:none}.trend-preview:hover>button>img,.trend-preview:hover>a>img{transform:none}}.home-hashtag-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline-end:.06em}@media(max-width:800px){:root{--mobile-nav-height: calc(104px + env(safe-area-inset-bottom)) ;scroll-padding-bottom:calc(var(--mobile-nav-height) + 16px)}.app-shell>.sidebar{display:none}.app-shell{flex-direction:column;min-height:calc(100dvh - var(--mobile-nav-height))}.app-shell>main,.editor-shell>main{margin-left:0;width:100%;min-width:0;padding-bottom:var(--mobile-nav-height)}.shared-shell{padding-bottom:var(--mobile-nav-height)}.app-shell .site-header,.shared-shell .site-header{height:auto;min-height:64px;gap:8px;padding:10px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));background:var(--page-bg)}.app-shell .site-header.is-compact,.shared-shell .site-header.is-compact{min-height:52px;padding-block:4px}.site-header .mobile-brand{display:flex;flex-shrink:0;padding:0;min-height:44px;border-radius:0}.mobile-brand img{width:88px;height:auto}.site-header .site-header-actions{gap:6px;min-width:0;flex-shrink:1}.site-header .site-header-wallet{gap:5px}.site-header button{min-height:44px;padding:8px;font-size:12px;gap:4px}.site-header .header-balance{min-width:52px;padding:8px}.header-balance .kam-amount{font-size:16px}.site-header .header-topup{width:40px;padding:8px}.site-header .mobile-topup-icon{display:block}.header-topup>span,.site-header .header-pricing>svg,.site-header .header-login{display:none}.site-header .notification-bell{display:none}.site-header .header-pricing{padding-inline:8px}.app-shell>main>.site-header+:is(.page,.home-page,.editor-page){padding-top:24px}.app-shell .page,.app-shell .home-page{padding-inline:16px;max-width:100%;min-width:0}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:16px;margin-bottom:24px}.page-heading>div{min-width:0}.page-heading h1{font-size:28px;overflow-wrap:anywhere}.page-heading p{font-size:14px}.page .panel{min-width:0;padding:16px}.page .panel-title{gap:8px;flex-wrap:wrap}.page .empty-state{min-height:260px;padding:28px 18px;overflow-wrap:anywhere}.page .empty-state .btn{white-space:normal}.page .catalog-toolbar{flex-direction:column;align-items:stretch;gap:16px;margin:20px 0}.catalog-toolbar .search-box{width:100%;min-width:0}.page .search-box input{min-height:44px;font-size:16px}.page .hashtag-filters{gap:8px 16px}.hashtag-filters .hashtag-chip{min-height:40px}.home-page .home-heading h1{font-size:30px}.home-page .home-heading{margin-bottom:26px}.home-page .trends-copy{flex-direction:column;align-items:stretch;gap:16px;margin-bottom:20px}.home-page .trends-title h2{font-size:28px}.home-page .trends-copy p{font-size:14px;line-height:1.65}.home-page .trends-cta{min-width:0;min-height:48px;padding:12px 18px;font-size:14px}.home-page .home-products{gap:36px}.home-page .trends-previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-page .home-footer{flex-wrap:wrap;gap:10px}.home-page .home-footer>span{padding:0}.toast-stack{left:12px;right:12px;bottom:calc(var(--mobile-nav-height) + 12px);max-width:none}.toast{overflow-wrap:anywhere}:root .app-modal{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);scroll-padding-block:80px}:root .app-modal .icon-btn{min-width:40px;min-height:40px}:root :is(.confirm-dialog,.wallet-dialog){padding:22px 18px;overflow:auto}:root .confirm-dialog>.row{flex-wrap:wrap;gap:8px}:root .confirm-dialog>.row>.btn{flex:1;white-space:normal}:root .app-modal :is(input:not([type=range]):not([type=checkbox]),textarea,select){font-size:16px}:root .app-modal .video-editor-footer{flex-wrap:wrap;gap:12px;padding-bottom:max(16px,env(safe-area-inset-bottom))}:root .generation-dialog{max-width:none;max-height:none}:root .shared-video-page{min-height:calc(100dvh - 64px - var(--mobile-nav-height));padding:12px 0}.shared-video-page .shorts-player{height:calc(100dvh - 88px - var(--mobile-nav-height));--video-height:calc(100dvh - 88px - var(--mobile-nav-height));max-width:100%}.flow-editor .editor-heading{flex-wrap:wrap;gap:14px}.flow-editor .editor-heading>.row{min-width:0;flex-wrap:wrap}.flow-editor .editor-heading>.row:last-child{width:100%;margin:0}.flow-editor .editor-heading>.row:last-child .btn{flex:1;white-space:normal}:root .flow-editor :is(input:not([type=range]):not([type=checkbox]),textarea,select,.app-select){font-size:16px;min-width:0}.flow-editor .studio-actions .btn,.flow-editor .studio-quality-options button{min-height:44px}.flow-editor .source-section{grid-template-columns:minmax(0,1fr);gap:12px}.flow-editor .source-section .source-video-player{max-width:100%;width:100%}.flow-editor .source-section .alert{flex-wrap:wrap}.flow-editor .source-section>div{min-width:0;overflow-wrap:anywhere}.flow-editor .editor-layout,.flow-editor .editor-main{min-width:0}:root .flow-editor .editor-main{display:contents}.flow-editor .studio-actions{order:1}.flow-editor .test-history{order:2}.flow-editor .studio-quality-options{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-editor .character-card,.flow-editor .character-field{min-width:0}.flow-editor .flow-heading{flex-wrap:wrap}.flow-editor .flow-result{min-width:0;gap:10px;padding:14px}.flow-editor .flow-result>div{min-width:0;overflow-wrap:anywhere}.generations-grid>.run-card{grid-column:1/-1}.generations-grid>.run-card .run-placeholder{height:auto;min-height:110px;gap:8px}.generations-grid>.run-card .run-error{max-height:none}.generations-grid>.run-card .run-info{padding:16px}.page .run-info .row{flex-wrap:wrap;gap:8px}.run-info h3,.run-info .run-error{overflow-wrap:anywhere}.run-bottom>span{min-width:0}}@media(max-width:360px){.site-header .mobile-brand img{width:72px}.site-header .site-header-actions,.site-header .site-header-wallet{gap:3px}.site-header .header-balance{min-width:48px;padding:6px}.site-header .notification-bell{min-width:32px;padding:6px}.site-header .header-pricing{padding:6px}.app-shell .page,.app-shell .home-page{padding-inline:12px}.page-heading h1,.home-page .home-heading h1{font-size:26px}.flow-editor .source-section{grid-template-columns:minmax(0,1fr)}.flow-editor .source-section .source-video-player{max-width:180px}}@media(max-width:800px){:root .account-layout{grid-template-columns:minmax(0,1fr)}.account-menu{min-width:0}.account-menu nav>button{min-width:0}.account-menu nav>button>span{min-width:0;overflow-wrap:anywhere}.account-dialog .account-summary strong{max-width:100%}.account-dialog .account-summary{padding-right:0;margin-bottom:12px}.account-dialog .account-signout{position:static;align-self:flex-end;margin-top:6px;min-height:40px}.account-dialog .account-summary>div{flex:1}}
