.tg-surface{--tg-top-offset:calc(max(env(safe-area-inset-top,0px),var(--tg-safe-area-inset-top,0px)) + var(--tg-content-safe-area-inset-top,0px));--tg-bottom-offset:calc(max(env(safe-area-inset-bottom,0px),var(--tg-safe-area-inset-bottom,0px)) + var(--tg-content-safe-area-inset-bottom,0px));--tg-left-offset:calc(max(env(safe-area-inset-left,0px),var(--tg-safe-area-inset-left,0px)) + var(--tg-content-safe-area-inset-left,0px));--tg-right-offset:calc(max(env(safe-area-inset-right,0px),var(--tg-safe-area-inset-right,0px)) + var(--tg-content-safe-area-inset-right,0px));color:#edf4f8;min-height:100dvh;padding-top:var(--tg-top-offset);padding-bottom:calc(82px + var(--tg-bottom-offset));padding-left:var(--tg-left-offset);padding-right:var(--tg-right-offset);background:#070b0f}.tg-surface:before{content:"";height:var(--tg-top-offset);z-index:31;pointer-events:none;background:#070b0f;position:fixed;inset:0 0 auto}.tg-header{top:var(--tg-top-offset);z-index:30;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#070b0ff2;border-bottom:1px solid #ffffff0a;justify-content:space-between;align-items:center;gap:12px;height:68px;padding:0 18px;display:flex;position:sticky}.tg-brand{letter-spacing:-.8px;align-items:center;gap:8px;font-size:23px;font-weight:800;display:flex}.tg-brand img{object-fit:contain}.tg-header-actions{align-items:center;gap:9px;display:flex}.tg-balance{border:1px solid #344239;border-radius:24px;align-items:center;gap:6px;padding:9px 12px;font-size:13px;font-weight:750;display:flex}.tg-balance svg{color:#4ade80}.tg-balance span{color:#97a5af;font-size:11px}.tg-support{color:#a9b5bf;border-radius:14px;place-items:center;min-width:44px;min-height:44px;display:grid}.tg-support:hover{color:#4ade80;background:#151d25}.tg-main{max-width:980px;margin:auto;padding:16px}.tg-account-note{color:#c0d2c6;background:#13251b;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-size:12px;display:flex}.tg-account-note a,.tg-account-note button{color:#4ade80;font-weight:700}.tg-account-note button:disabled{opacity:.5}.tg-nav{z-index:40;padding:10px calc(12px + var(--tg-right-offset)) calc(10px + var(--tg-bottom-offset)) calc(12px + var(--tg-left-offset));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0a1016f5;border-top:1px solid #ffffff13;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.tg-nav a{color:#80909e;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:46px;font-size:10px;font-weight:600;display:flex}.tg-nav a[aria-current=page]{color:#4ade80}.tg-promos{scroll-snap-type:x mandatory;scrollbar-width:none;gap:12px;display:flex;overflow-x:auto}.tg-promos::-webkit-scrollbar{display:none}.tg-promo{scroll-snap-align:start;text-align:left;cursor:pointer;background:linear-gradient(120deg,#1e282d,#11171d);border:1px solid #ffffff0e;border-radius:23px;flex-direction:column;flex:0 0 86%;justify-content:flex-end;align-items:flex-start;min-height:166px;padding:22px;display:flex;position:relative;overflow:hidden}.tg-promo:nth-child(2){background:linear-gradient(120deg,#19251f,#10181b)}.tg-promo-website{background:linear-gradient(120deg,#1b2930,#10171b)}.tg-promo img{pointer-events:none;width:200px;height:190px;position:absolute;bottom:-20px;right:-28px}.tg-promo strong{letter-spacing:-.6px;max-width:58%;font-size:20px;font-weight:750;line-height:1.15;position:relative}.tg-promo small{color:#b4c1cb;max-width:54%;margin-top:10px;font-size:11px;line-height:1.5;position:relative}.tg-promo-controls{justify-content:center;align-items:center;gap:10px;margin:10px 0 20px;display:flex}.tg-promo-controls button{color:#95a9b8;border-radius:10px;place-items:center;width:32px;height:32px;display:grid}.tg-promo-controls button:hover{background:#162028}.tg-promo-dot{background:#3a4853;border-radius:10px;width:6px;height:6px}.tg-promo-dot[data-current=true]{background:#4ade80;width:16px}.tg-tools{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0 28px;display:grid}.tg-tools a{text-align:center;color:#aebbc6;min-width:0;font-size:12px;line-height:1.4}.tg-tools i{aspect-ratio:1;color:#e1f2e7;background:linear-gradient(145deg,#20292f,#11171d);border:1px solid #ffffff0d;border-radius:19px;place-items:center;width:100%;max-width:66px;margin:0 auto 9px;font-style:normal;display:grid}.tg-tools a:hover i{color:#4ade80;border-color:#4ade8055}.tg-home h1{letter-spacing:-.8px;font-size:26px;font-weight:800;line-height:1.1}.tg-home-intro{color:#9cadbb;margin:9px 0 18px;font-size:13px;line-height:1.6}.tg-filters{gap:8px;margin-bottom:16px;display:flex;overflow:auto}.tg-filters button{color:#aab8c5;background:#121a21;border:1px solid #ffffff0d;border-radius:22px;flex-shrink:0;padding:10px 14px;font-size:12px}.tg-filters button[aria-pressed=true]{color:#082d18;background:#4ade80;font-weight:700}.tg-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.tg-card{aspect-ratio:4/5;background:#141b21;border-radius:20px;min-width:0;position:relative;overflow:hidden}.tg-card img,.tg-card video{object-fit:cover;width:100%;height:100%}.tg-card-copy{background:linear-gradient(#0000,#000b 50%,#000e);flex-direction:column;justify-content:flex-end;min-height:40%;padding:16px 12px;display:flex;position:absolute;bottom:0;left:0;right:0}.tg-card-copy strong{letter-spacing:-.3px;font-size:16px;font-weight:800;line-height:1.15}.tg-card-copy small{color:#bfccd0;margin-top:8px;font-size:10px}.tg-card-tag{color:#eef5f5;background:#0009;border:1px solid #ffffff1c;border-radius:10px;padding:4px 7px;font-size:9px;font-weight:700;position:absolute;top:10px;left:10px}.tg-empty{text-align:center;color:#93a4b2;border:1px solid #273038;border-radius:20px;padding:36px 20px}.tg-subscriptions h1{letter-spacing:-.9px;font-size:28px;font-weight:800;line-height:1.1}.tg-subscriptions>p{color:#a6b5c0;margin:12px 0 20px;font-size:13px;line-height:1.6}.tg-plan-list{gap:14px;display:grid}.tg-plan{background:#10171e;border:1px solid #29333b;border-radius:23px;padding:24px}.tg-plan[data-recommended=true]{background:linear-gradient(135deg,#14291c,#10171e 75%);border-color:#4ade80}.tg-plan-label{letter-spacing:.12em;text-transform:uppercase;color:#4ade80;font-size:10px;font-weight:700}.tg-plan h2{margin:7px 0 6px;font-size:23px;font-weight:800}.tg-plan-price{font-size:21px;font-weight:700}.tg-plan-price small{color:#acbdc8;font-size:12px;font-weight:400}.tg-plan p{color:#a8b6c0;margin:14px 0;font-size:13px;line-height:1.6}.tg-plan button,.tg-plan a.tg-plan-action{color:#062a15;background:#4ade80;border-radius:16px;justify-content:center;align-items:center;width:100%;min-height:46px;padding:10px 14px;font-size:13px;font-weight:800;display:flex}.tg-plan button:disabled{opacity:.55;cursor:not-allowed}.tg-payment-note{color:#b9d2c2;background:#122219;border:1px solid #273d32;border-radius:18px;margin-top:20px;padding:16px;font-size:12px;line-height:1.7}.tg-surface :focus-visible{outline-offset:4px;outline:2px solid #4ade80}@media (min-width:600px){.tg-main{padding:28px}.tg-promos{display:flex}.tg-promo{flex-basis:48%;min-height:190px}.tg-tools{gap:18px;max-width:530px;margin-top:22px}.tg-tools a{font-size:12px}.tg-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.tg-card-copy strong{font-size:22px}.tg-card-copy{padding:20px}.tg-card-copy small{font-size:12px}.tg-card-tag{font-size:11px}.tg-plan-list{grid-template-columns:repeat(3,minmax(0,1fr))}.tg-plan{padding:20px}.tg-home h1{font-size:36px}}@media (prefers-reduced-motion:reduce){.tg-promos{scroll-behavior:auto}}.tg-email-panel{color:#edf4f8;background:#10171c;border:1px solid #2b373b;border-radius:22px;width:100%;max-width:440px;margin:20px 0;padding:22px}.tg-email-heading{align-items:center;gap:10px;margin-bottom:12px;display:flex}.tg-email-heading h2{flex:1;font-size:20px;font-weight:750}.tg-email-heading button{color:#a5b3b8;background:0 0;border:0;padding:5px}.tg-email-panel p{color:#a5b3b8;margin:0 0 18px;font-size:14px;line-height:1.6}.tg-email-panel label{font-size:13px;display:block}.tg-email-panel input{box-sizing:border-box;color:#edf4f8;background:#080e12;border:1px solid #344147;border-radius:12px;width:100%;margin:7px 0 14px;padding:14px;font-size:16px;display:block}.tg-email-panel input:focus{outline-offset:2px;outline:2px solid #4ade80}.tg-email-submit{color:#07100a;background:#4ade80;border:0;border-radius:12px;width:100%;min-height:48px;padding:14px;font-weight:700}.tg-email-submit:disabled{opacity:.5}.tg-email-secondary{color:#a5b3b8;background:0 0;border:0;margin-top:14px;font-size:13px;display:block}.tg-email-panel .tg-email-error{color:#fba5a5;margin-bottom:12px}.tg-email-overlay{z-index:100;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0009;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.tg-login-state{text-align:center;color:#a5b3b8;padding:64px 24px}.tg-login-state h2{color:#edf4f8;margin-bottom:10px;font-size:22px}.tg-login-state p{line-height:1.5}.tg-legal-note{color:#687a83;text-align:center;padding:0 20px 22px;font-size:11px;line-height:1.5}.tg-legal-note a{text-decoration:underline}.tg-login-retry{color:#07180e;background:#4d8;border-radius:14px;min-height:48px;margin-top:24px;padding:12px 24px;font-weight:700}.tg-login-retry:focus-visible{outline-offset:4px;outline:2px solid #edf4f8}.tg-reels-entry{background:linear-gradient(115deg,#18331f,#111c16);border:1px solid #4ade803d;border-radius:20px;align-items:center;gap:14px;margin:0 0 28px;padding:18px;display:flex}.tg-reels-entry-icon{color:#b9ed77;background:#b9ed7715;border-radius:14px;flex-shrink:0;place-items:center;width:48px;height:48px;display:grid}.tg-reels-entry>span:nth-child(2){flex:1;min-width:0}.tg-reels-entry strong{color:#ecf8e7;font-size:20px;font-weight:800;display:block}.tg-reels-entry small{color:#a1b59e;margin-top:5px;font-size:11px;line-height:1.6;display:block}.tg-reels-entry>svg{color:#b9ed77;flex-shrink:0}.tg-surface{--tg-nav-offset:calc(77px + var(--tg-bottom-offset));min-width:0}.tg-surface .editor-export-bar{bottom:var(--tg-nav-offset);padding-left:calc(12px + var(--tg-left-offset));padding-right:calc(12px + var(--tg-right-offset))}.tg-main{width:100%;min-width:0}.tg-surface:has(.generate-studio){padding-bottom:calc(67px + var(--tg-bottom-offset));flex-direction:column;display:flex}.tg-surface:has(.generate-studio) .tg-header{flex-shrink:0}.tg-surface:has(.generate-studio) .tg-main{flex-direction:column;flex:1;padding-bottom:8px;display:flex}.tg-surface:has(.generate-studio)>.tg-legal-note{display:none}.tg-surface .generate-studio{gap:12px;min-width:0;margin-bottom:0}.tg-surface .tool-page-header{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tg-surface .studio-toolbar{top:calc(68px + var(--tg-top-offset));background:#070b0f;justify-content:flex-end;margin:0;padding:0}.tg-surface .studio-welcome{padding:8px 0;display:flex}.tg-surface .studio-welcome>div{margin-bottom:14px}.tg-surface .studio-welcome>h2{max-width:340px;font-size:18px;line-height:1.35}.tg-surface .studio-welcome>p{max-width:340px;margin-top:6px;font-size:12px;line-height:1.5}.tg-surface .studio-welcome>div>div{width:96px;height:96px}.tg-surface .studio-welcome>div>div:nth-child(2),.tg-surface .studio-welcome>div>div:nth-child(3){width:112px;height:112px}.tg-surface .studio-thread[data-empty=true]{flex:0;padding-bottom:0}.tg-surface .studio-composer{bottom:var(--tg-nav-offset);background:#070b0f;min-width:0;margin:0;padding:0}.tg-surface .studio-thread[data-empty=true]~.studio-composer{bottom:var(--tg-nav-offset);margin-top:auto;position:sticky}.composer-submit-compact,.tg-surface .composer-collapse{display:none}.tg-surface .composer-controls{background:#0f161d;border:1px solid #2b353d;border-radius:20px}.tg-surface .composer-card{box-shadow:none;border:0;border-radius:20px;padding:10px}.tg-surface .composer-tabs{gap:6px;padding:8px 10px 0}.tg-surface .composer-tabs>div>button{letter-spacing:0;text-transform:none;color:#a9b8c2;background:#182129;border:1px solid #29343d;border-radius:11px;min-height:34px;padding:7px 10px;font-size:11px;font-style:normal}.tg-surface .composer-tabs>div>button[aria-expanded=true]{color:#67e49a;background:#193326;border-color:#3d835b}.tg-surface .composer-preset-label{display:none}.tg-surface .composer-preset-label-compact{display:inline}.tg-surface .composer-popover{max-height:min(460px,var(--composer-popover-space,50dvh));background:#0f161d;border:1px solid #2b353d;border-radius:18px;flex-direction:column;margin-bottom:8px;padding:0;display:flex;overflow:hidden;box-shadow:0 12px 30px #0005}.tg-surface .composer-popover-heading{border-bottom:1px solid #ffffff0a;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;display:flex}.tg-surface .composer-popover-heading strong{font-size:13px;font-weight:700}.tg-surface .composer-popover-heading button{color:#a9b8c2;background:#1c252d;border-radius:9px;flex-shrink:0;place-items:center;width:30px;height:30px;display:grid}.tg-surface .composer-popover-content{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#34424b transparent;min-height:0;padding:10px 12px;overflow:hidden auto}.tg-surface .composer-popover-categories{flex-wrap:wrap;gap:5px;margin-bottom:10px;overflow:visible}.tg-surface .composer-popover-categories button{color:#a9b8c2;background:#1d272f;border-radius:9px;padding:5px 9px;font-size:11px;line-height:17px}.tg-surface .composer-popover-categories button[aria-pressed=true]{color:#8aefb1;background:#244634}.tg-surface .composer-popover-grid{grid-template-rows:none;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-columns:auto;grid-auto-flow:row;gap:10px 8px;padding:0;overflow:visible}.tg-surface .composer-popover-grid>div,.tg-surface .composer-popover-grid>button{min-width:0}.tg-surface .composer-popover-grid>button>span:last-child,.tg-surface .composer-element-tile>span:last-child{margin-top:5px;font-size:11px;line-height:15px}.tg-surface .composer-element-tile{cursor:pointer;animation:none}.tg-surface .composer-popover-grid>div>button.absolute{width:26px;height:26px;padding:6px}.tg-surface .composer-popover-kind-hint,.tg-surface .composer-element-help-full,.tg-surface .composer-element-help>svg,.tg-surface .composer-preset-hover{display:none}.tg-surface .composer-element-help{color:#8499a7;background:0 0;margin-bottom:10px;padding:0;font-size:11px;line-height:16px}.tg-surface .composer-element-help-compact{display:inline}.tg-surface .composer-popover-note{color:#8499a7;margin-top:12px;padding-top:10px;font-size:11px;line-height:16px}.tg-surface .composer-element-editor>div{flex-wrap:wrap}.tg-surface .composer-element-editor input{flex-basis:100%;min-height:40px;font-size:16px}.tg-surface .composer-element-add-form input{min-width:0;font-size:16px}@media (min-width:440px){.tg-surface .composer-popover-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:639px){.tg-surface .composer-toolbar{grid-template-columns:minmax(0,1fr) 34px auto;gap:6px;display:grid}.tg-surface .composer-model{grid-area:1/1;min-width:0}.tg-surface .composer-model>button{justify-content:space-between;width:100%;min-height:34px;padding:6px 9px;font-size:12px}.tg-surface .composer-model>button>span{min-width:0}.tg-surface .composer-settings-toggle{grid-area:1/2;justify-content:center;min-height:34px;padding:0}.tg-surface .composer-settings-label,.tg-surface .composer-settings-summary{display:none}.tg-surface .composer-settings{grid-area:2/1/auto/-1;min-width:0}.tg-surface .composer-actions{grid-area:1/3;min-width:0;margin-left:0}.tg-surface .composer-submit{white-space:nowrap;border-radius:12px;gap:5px;min-height:34px;padding:6px 8px;font-size:12px}.tg-surface .composer-submit>svg:not(.animate-spin),.tg-surface .composer-submit-label{display:none}.tg-surface .composer-submit-compact{display:inline}.tg-surface .composer-price{gap:3px;padding:2px 5px;font-size:11px}.tg-surface .composer-price svg{width:12px;height:12px}}@media (max-height:680px){.tg-surface .generate-studio{gap:8px}.tg-surface .studio-welcome{padding:0}.tg-surface .studio-welcome>div{margin-bottom:8px}.tg-surface .studio-welcome>div>div{width:64px;height:64px}.tg-surface .studio-welcome>div>div:nth-child(2),.tg-surface .studio-welcome>div>div:nth-child(3){width:76px;height:76px}}.tg-surface .generation-library video{max-width:100%}.tg-trends h1{letter-spacing:-.8px;font-size:26px;font-weight:800;line-height:1.1}@media (min-width:600px){.tg-trends h1{font-size:36px}}.tg-promo-controls button:disabled{opacity:.3;cursor:default}@media (min-width:900px){.tg-promos{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.tg-promo strong{font-size:18px}.tg-promo img{right:-55px}.tg-promo-controls{display:none}}.tg-create{max-width:540px;margin:12px auto 24px}.tg-create h1{letter-spacing:-.8px;font-size:30px;font-weight:800;line-height:1.15}.tg-create>p{color:#9cadbb;margin:10px 0 26px;font-size:14px;line-height:1.5}.tg-create-options{gap:12px;display:grid}.tg-create-option{background:#11191f;border:1px solid #ffffff12;border-radius:22px;align-items:center;gap:14px;min-width:0;min-height:90px;padding:16px;transition:border-color .15s,background .15s;display:flex}.tg-create-option:hover{background:#15251c;border-color:#4ade8055}.tg-create-icon{color:#4ade80;background:#4ade8010;border-radius:16px;flex:0 0 52px;place-items:center;height:52px;display:grid}.tg-create-copy{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.tg-create-copy strong{font-size:19px;font-weight:750;line-height:1.2}.tg-create-copy small{color:#97a9b6;font-size:12px;line-height:1.5}.tg-create-arrow{color:#718590;flex-shrink:0}.tg-legal-note:has(+.tg-nav a[href="/app/tg/create"][aria-current=page]){margin-top:20px}@media (prefers-reduced-motion:reduce){.tg-create-option{transition:none}}.tg-prompt-entry{color:#77eaa3;background:#153322;border:1px solid #3c8056;border-radius:18px;align-items:center;gap:12px;margin:0 0 18px;padding:15px 16px;display:flex}.tg-prompt-entry>span{flex:1;min-width:0}.tg-prompt-entry strong{font-size:16px;font-weight:750;display:block}.tg-prompt-entry small{color:#a4bdac;margin-top:3px;font-size:12px;display:block}.tg-prompt-entry:hover{background:#1b3e2a}.tg-prompt-screen .lab-page-header>span{display:none}.tg-prompt-screen .lab-page-header h1{font-size:23px}.tg-prompt-screen .lab-page-header p{font-size:13px;line-height:1.6}.tg-prompt-screen .lab-page-header+div{margin-top:20px}.tg-prompt-lab{min-width:0}.tg-prompt-lab .lab-targets{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.tg-prompt-lab .lab-targets button{border-radius:14px;padding:12px 8px}.tg-prompt-lab .lab-targets button>p:last-child{display:none}.tg-prompt-lab .lab-targets button>p{font-size:12px}.tg-prompt-lab .lab-models{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tg-prompt-lab .lab-models button{border-radius:14px;padding:11px}.tg-prompt-lab .lab-models button>p:first-child{font-size:13px}.tg-prompt-lab p.whitespace-pre-wrap{overflow-wrap:anywhere;max-height:260px;overflow:auto}.tg-prompt-lab textarea{font-size:16px}.tg-surface .library-filters-full{display:none}.tg-surface .library-filters-compact{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.tg-surface .library-filters-compact label{min-width:0;position:relative}.tg-surface .library-filters-compact select{appearance:none;color:#cfdae1;background:#11191f;border:1px solid #2b353d;border-radius:12px;width:100%;min-width:0;height:42px;padding:0 30px 0 12px;font-size:13px}.tg-surface .library-filters-compact label>svg{pointer-events:none;color:#8396a4;position:absolute;top:14px;right:10px}.tg-surface .library-page-header>span,.tg-surface .library-page-header p{display:none}.tg-surface .library-page-header h1{font-size:23px;line-height:1.25}.tg-surface .library-page-content{margin-top:18px}.tg-surface .profile-email-news{display:none}.tg-plan-action{color:#062a15;background:#4ade80;border-radius:16px;justify-content:center;align-items:center;width:100%;min-height:48px;padding:12px 16px;font-size:14px;font-weight:800;display:flex}.tg-plan-action:disabled{opacity:.45;cursor:not-allowed}
