:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--background:#fff;--foreground:#182433;--muted:#465568;--accent:#1553a3;--selected:#e8f0fc;--border:#62758c;--space:1rem}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--background:#101b29;--foreground:#eef3fa;--muted:#bdcbdc;--accent:#a5caff;--selected:#233d5e;--border:#8c9fb7}}*{box-sizing:border-box}body{background:var(--background);color:var(--foreground);overflow-wrap:anywhere;margin:0;font-family:system-ui,sans-serif;font-size:1rem;line-height:1.6}a{color:var(--accent)}a,button{touch-action:manipulation}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.shell{width:min(100% - 2 * var(--space), 72rem);flex-direction:column;min-height:100svh;margin-inline:auto;display:flex}.site-header{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding-block:1.5rem;display:flex}.site-name{min-height:44px;color:var(--foreground);align-items:center;font-weight:700;text-decoration:none;display:inline-flex}.locale-switch{flex-wrap:wrap;gap:.5rem;display:flex}button{font:inherit;border:1px solid var(--border);min-width:44px;min-height:44px;color:var(--foreground);background:var(--background);cursor:pointer;border-radius:.25rem;padding:.5rem .75rem}button[aria-current=true]{background:var(--selected);text-underline-offset:.25em;font-weight:700;text-decoration:underline}button:hover,button:active{background:var(--selected)}main{flex:1;min-width:0;padding-block:clamp(3rem,8vw,7rem)}h1{letter-spacing:-.025em;max-width:20ch;margin:0 0 1.5rem;font-size:clamp(2rem,5vw,3.5rem);line-height:1.15}p{max-width:60ch}.introduction{font-size:clamp(1.125rem,2vw,1.375rem)}.availability{color:var(--muted);margin-top:2rem}footer{border-top:1px solid var(--border);color:var(--muted);padding-block:1.5rem}.skip-link{background:var(--background);z-index:1;min-height:44px;padding:.75rem;position:absolute;top:.5rem;left:1rem;transform:translateY(-200%)}.skip-link:focus{transform:translateY(0)}@media (min-width:48rem){:root{--space:2rem}}.auth-form{gap:.75rem;width:min(100%,28rem);margin-block:1.5rem;display:grid}.auth-form input:not([type=hidden]):not([type=checkbox]){width:100%;min-width:0;min-height:44px;font:inherit;color:var(--foreground);background:var(--background);border:1px solid var(--border);border-radius:.25rem;padding:.5rem .75rem}.auth-form label{font-weight:600}.checkbox-label{cursor:pointer;align-items:center;gap:.5rem;min-height:44px;display:flex}.checkbox-label input{width:1.25rem;height:1.25rem;accent-color:var(--accent);flex-shrink:0;margin:.75rem}.field-hint{color:var(--muted);margin:0}.auth-links{flex-wrap:wrap;gap:.5rem 1.5rem;display:flex}.auth-links a,.auth-link{align-items:center;min-height:44px;display:inline-flex}.turnstile{min-width:0;min-height:140px}[role=alert]{border-inline-start:3px solid var(--accent);padding-inline-start:1rem}.credits-badge{border:1px solid var(--border);font-variant-numeric:tabular-nums;border-radius:.25rem;align-items:center;min-width:44px;min-height:44px;padding:.5rem .75rem;display:inline-flex}.credits-badge:hover,.credits-badge:active{background:var(--selected)}.credits-balance{font-variant-numeric:tabular-nums;margin-block:1rem 2.5rem;font-size:clamp(1.75rem,5vw,2.75rem);font-weight:700}.credits-section{margin-block:2.5rem}.credit-groups{padding-inline-start:1.5rem}.credit-groups li{margin-block:.75rem}.credit-history-scroll{max-width:100%;overflow-x:auto}.credit-history{border-collapse:collapse;width:100%;min-width:34rem}.credit-history th,.credit-history td{text-align:start;border-bottom:1px solid var(--border);padding:.75rem 1rem}.credit-history th{background:var(--selected)}.credit-history th:last-child,.credit-history td:last-child{text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap}.template-list{max-width:60ch;padding:0;list-style:none}.template-list li{border-bottom:1px solid var(--border);padding-block:1.5rem}.template-list a{align-items:center;min-height:44px;font-size:1.25rem;font-weight:600;display:inline-flex}.template-list p{margin-block:.5rem}.template-form{max-width:52rem;margin-block:2rem}.template-prompt label,.template-length>label,.template-form legend{font-weight:600}.template-prompt textarea{resize:vertical;width:100%;min-height:8rem;font:inherit;color:var(--foreground);background:var(--background);border:1px solid var(--border);border-radius:.25rem;margin-top:.5rem;padding:.75rem;display:block}.template-counter{text-align:end;font-variant-numeric:tabular-nums;max-width:none;margin-block:.25rem 1.5rem}.template-options,.template-column{align-content:start;gap:1.5rem;min-width:0;display:grid}.template-length,.template-form fieldset{border:1px solid var(--border);border-radius:.25rem;min-width:0;margin:0;padding:.75rem 1rem 1rem}.template-form legend{padding-inline:.25rem}.template-range{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;display:flex}.template-range input{width:100%;min-width:0;min-height:44px;accent-color:var(--accent);flex:8rem;margin:0}.template-range output{font-variant-numeric:tabular-nums}.template-formats{flex-wrap:wrap;gap:.5rem 1rem;display:flex}.template-option{cursor:pointer;align-items:center;gap:.5rem;min-width:44px;min-height:44px;display:flex}.template-option input{width:1.25rem;height:1.25rem;accent-color:var(--accent);flex-shrink:0;margin:0}.template-option:has(input:disabled){color:var(--muted);cursor:not-allowed}.template-summary{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:start;gap:1rem 2rem;margin-top:2rem;padding-top:1.5rem;display:flex}.template-price{font-variant-numeric:tabular-nums;margin:0;font-size:1.5rem;font-weight:700}.template-action{gap:.5rem;display:grid}.template-action button:disabled{color:var(--muted);cursor:not-allowed;background:var(--background)}@media (min-width:48rem){.template-options{grid-template-columns:repeat(2,minmax(0,1fr))}}.library-list{margin:0;padding:0;list-style:none}.library-list>li{border-bottom:1px solid var(--border);padding-block:1.5rem}.library-list h2{margin-block:0 .5rem}.library-output{justify-items:start;gap:.75rem;min-width:0;display:grid}.library-output video{background:#000;width:min(100%,40rem);height:auto;display:block}.library-actions{flex-wrap:wrap;gap:.75rem;display:flex}.generation-state{font-weight:600}
