.auth-dialog{width: min(460px,calc(100% - 32px));max-height: calc(100dvh - 32px);margin: auto;padding: 0;border: none;border-radius: var(--r-lg);background: var(--surface);box-shadow: inset 0 0 0 1px var(--line),var(--sh-lg);color: var(--text);font-family: var(--font-sans);overflow-y: auto}.auth-dialog::backdrop{background: var(--scrim)}.auth-dialog__body{position: relative;padding: var(--space-8)}.auth-dialog__close{position: absolute;top: var(--space-4);right: var(--space-4);width: var(--hit);height: var(--hit);display: inline-flex;align-items: center;justify-content: center;border: 0;border-radius: var(--r-full);background: none;color: var(--muted)}@media (hover: hover){.auth-dialog__close:hover{background: var(--raised);color: var(--text)}}.auth-dialog__close svg{width: 20px;height: 20px;fill: currentColor}.auth-dialog__title{margin-bottom: var(--space-2);padding-right: var(--hit);font-size: var(--fs-h3);line-height: var(--lh-h3);font-weight: 500;letter-spacing: var(--ls-h3)}.auth-dialog__desc{margin-bottom: var(--space-6);font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--muted)}.auth-dialog__desc[hidden]{display: none}.auth-dialog__footer{display: flex;align-items: center;justify-content: center;gap: var(--space-2);padding: var(--space-4) var(--space-8) var(--space-6);box-shadow: inset 0 1px 0 var(--line);font-size: var(--fs-small);color: var(--muted)}.auth-socials-grid{display: grid;grid-template-columns: 1fr 1fr;gap: var(--space-2)}.auth-social-btn{display: flex;align-items: center;gap: var(--space-3);width: 100%;min-height: var(--btn-h-m);padding: 0 var(--space-4);border: 0;border-radius: var(--r-full);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line);font-size: var(--fs-small);font-weight: 500;color: var(--text);text-align: left;transition: background-color var(--dur-fast) var(--ease)}@media (hover: hover){.auth-social-btn:hover{background: var(--active)}}.auth-social-btn:disabled{opacity: .5;cursor: not-allowed}.auth-social-btn__icon{width: 24px;height: 24px;flex: none}.auth-social-btn__icon svg{width: 100%;height: 100%;filter: grayscale(1) brightness(1.15)}.auth-divider{display: flex;align-items: center;gap: var(--space-3);margin: var(--space-6) 0;font-size: var(--fs-caption);color: var(--tertiary)}.auth-divider::before,.auth-divider::after{content: "";flex: 1;height: 1px;background: var(--line)}.auth-form,.auth-page-form{display: flex;flex-direction: column;gap: var(--space-4)}.auth-form[hidden],.auth-page-form[hidden]{display: none}.auth-field{display: flex;flex-direction: column;gap: var(--space-2)}.auth-field label{font-size: var(--fs-small);font-weight: 500;color: var(--muted)}.auth-required{color: var(--amber-text)}.auth-input-wrapper{position: relative}.auth-input-wrapper input{width: 100%;height: var(--btn-h-l);padding: 0 var(--space-4);border: none;border-radius: var(--r-md);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line);color: var(--text);font-family: inherit;font-size: var(--fs-ui)}.auth-input-wrapper--toggle input{padding-right: calc(var(--hit) + var(--space-2));text-overflow: ellipsis}.auth-input-wrapper input::placeholder{color: var(--tertiary)}.auth-input-wrapper input:focus{outline: none;box-shadow: inset 0 0 0 2px var(--focus)}.auth-field.has-error .auth-input-wrapper input,.auth-input-wrapper input[aria-invalid="true"]{box-shadow: inset 0 0 0 2px var(--error)}.auth-field.has-error .auth-toggle-input + .auth-toggle-switch{box-shadow: inset 0 0 0 2px var(--error)}.auth-pwd-toggle{position: absolute;top: 50%;right: var(--space-2);width: var(--hit);height: var(--hit);transform: translateY(-50%);display: inline-flex;align-items: center;justify-content: center;border: 0;border-radius: var(--r-full);background: none;color: var(--muted)}@media (hover: hover){.auth-pwd-toggle:hover{color: var(--text);background: var(--active)}}.auth-pwd-toggle svg{width: 20px;height: 20px;fill: currentColor}.auth-pwd-icon-hide{display: none}.auth-pwd-toggle.is-visible .auth-pwd-icon-show{display: none}.auth-pwd-toggle.is-visible .auth-pwd-icon-hide{display: block}.auth-field-hint{font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--tertiary)}.auth-field-error{min-height: 0;font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--error)}.auth-field-error:empty{display: none}.auth-form__row-between{display: flex;align-items: center;justify-content: space-between;gap: var(--space-4);flex-wrap: wrap}.auth-toggle-row{position: relative;display: flex;align-items: flex-start;gap: var(--space-3);cursor: pointer;font-size: var(--fs-small);line-height: var(--lh-small);color: var(--muted)}.auth-toggle-input{position: absolute;opacity: 0;pointer-events: none}.auth-toggle-switch{position: relative;flex: none;width: 44px;height: 26px;border-radius: var(--r-full);background: var(--active);box-shadow: inset 0 0 0 1px var(--line-strong);transition: background-color var(--dur-base) var(--ease)}.auth-toggle-switch::after{content: "";position: absolute;top: 3px;left: 3px;width: 20px;height: 20px;border-radius: var(--r-full);background: var(--muted);transition: transform var(--dur-base) var(--ease),background-color var(--dur-base) var(--ease)}.auth-toggle-input:checked + .auth-toggle-switch{background: var(--amber);box-shadow: none}.auth-toggle-input:checked + .auth-toggle-switch::after{background: var(--on-amber);transform: translateX(18px)}.auth-toggle-input:focus-visible + .auth-toggle-switch{outline: 2px solid var(--focus);outline-offset: 2px}.auth-toggle-text a,.auth-link-btn,.auth-link-subtle,.auth-help a,.auth-note a,.auth-card a:not([class]){color: var(--amber-text);text-decoration: underline;text-underline-offset: 3px}.auth-link-subtle{font-size: var(--fs-small);border: 0;background: none}.auth-link-btn{font-size: var(--fs-small);font-weight: 500;border: 0;background: none}@media (hover: hover){.auth-link-btn:hover,.auth-link-subtle:hover{color: var(--link-hover)}}.auth-link-btn,.auth-link-subtle{display: inline-flex;align-items: center;min-height: var(--hit);padding-inline: var(--space-1)}.auth-btn-submit,.auth-btn-secondary{display: inline-flex;align-items: center;justify-content: center;gap: var(--space-2);width: 100%;min-height: var(--btn-h-l);padding: 0 var(--space-6);border: none;border-radius: var(--r-full);font-family: inherit;font-size: var(--fs-ui);font-weight: 500;line-height: 1;text-align: center;text-decoration: none;white-space: nowrap;cursor: pointer;transition: background-color var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease)}.auth-btn-submit{margin-top: var(--space-2);background: var(--amber);color: var(--on-amber)}.auth-btn-secondary{background: transparent;color: var(--text);box-shadow: inset 0 0 0 1px var(--line-strong)}@media (hover: hover){.auth-btn-submit:hover{background: var(--amber-hover)}.auth-btn-secondary:hover{background: var(--raised)}}.auth-btn-submit:active{background: var(--amber-press)}.auth-btn-submit:disabled,.auth-btn-secondary:disabled,.auth-btn-submit[aria-busy="true"]{opacity: .5;cursor: not-allowed}.auth-btn-secondary[hidden],.auth-btn-submit[hidden]{display: none}.auth-note{font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--tertiary);text-align: center}.auth-status{font-size: var(--fs-caption);line-height: var(--lh-caption);color: var(--muted);text-align: center}.auth-status:empty{display: none}.auth-status.is-error{color: var(--error)}.auth-status.is-ok{color: var(--text)}.auth-mail-address{font-weight: 600;color: var(--text);overflow-wrap: anywhere}.auth-dialog__actions{display: flex;flex-direction: column;gap: var(--space-2)}.auth-change{margin-top: var(--space-4)}.auth-help{margin-top: var(--space-6);padding-top: var(--space-4);box-shadow: inset 0 1px 0 var(--line);font-size: var(--fs-small);line-height: var(--lh-small);color: var(--muted)}.auth-help__title{margin-bottom: var(--space-2);font-weight: 500;color: var(--text)}.auth-help__list{display: flex;flex-direction: column;gap: var(--space-1);padding-left: var(--space-4);list-style: disc}.grecaptcha-badge{visibility: hidden}@media (max-width: 479px){.auth-dialog__body{padding: var(--space-6)}.auth-dialog__footer{padding-inline: var(--space-6)}.auth-socials-grid{grid-template-columns: 1fr}}.auth-main{display: flex;justify-content: center;align-items: flex-start;min-height: calc(var(--app-h) * .6);padding: var(--space-16) max(var(--margin-page),var(--safe-right)) var(--space-24) max(var(--margin-page),var(--safe-left))}.auth-page{width: 100%;max-width: 480px}.auth-card{display: flex;flex-direction: column;gap: var(--space-4);padding: var(--space-8);border-radius: var(--r-lg);background: var(--surface);box-shadow: inset 0 0 0 1px var(--line);color: var(--text)}.auth-card__view{display: flex;flex-direction: column;gap: var(--space-4)}.auth-card__icon{display: inline-flex;align-items: center;justify-content: center;width: 48px;height: 48px;border-radius: var(--r-full);background: var(--raised);color: var(--amber-text)}.auth-card__icon svg{width: 24px;height: 24px;fill: currentColor}.auth-card__icon--error{color: var(--error)}.auth-card__title{font-size: var(--fs-h3);line-height: var(--lh-h3);font-weight: 500;letter-spacing: var(--ls-h3)}.auth-card__text{font-size: var(--fs-ui);line-height: var(--lh-ui);color: var(--muted)}.auth-card__text + .auth-card__text{margin-top: calc(-1 * var(--space-2))}.auth-card__actions{display: flex;flex-direction: column;gap: var(--space-2)}.auth-card [hidden]{display: none}.auth-card__links{display: flex;flex-wrap: wrap;align-items: center;gap: var(--space-2) var(--space-4);font-size: var(--fs-small);color: var(--muted)}a.auth-btn-submit,a.auth-btn-secondary{text-decoration: none}@media (max-width: 479px){.auth-main{padding-top: var(--space-8);padding-bottom: var(--space-16)}.auth-card{padding: var(--space-6)}}@media (prefers-reduced-motion: reduce){.auth-btn-submit,.auth-btn-secondary,.auth-toggle-switch,.auth-toggle-switch::after{transition: none}}
html .epic-toast{position: fixed;left: max(var(--space-4),var(--safe-left));right: max(var(--space-4),var(--safe-right));bottom: calc(var(--safe-bottom) + var(--space-4));z-index: 10000;margin-inline: auto;width: fit-content;max-width: min(calc(100% - 2 * var(--space-4)),420px);display: flex;align-items: center;gap: var(--space-3);padding: var(--space-3) var(--space-4);border: 0;border-radius: var(--r-md);background: var(--raised);box-shadow: inset 0 0 0 1px var(--line-strong),var(--sh-md);color: var(--text);font-size: var(--fs-ui);line-height: var(--lh-ui);font-weight: 500;overflow-wrap: anywhere;opacity: 0;pointer-events: none;transform: translateY(var(--space-4));transition: opacity var(--dur-base) var(--ease),transform var(--dur-base) var(--ease)}html .epic-toast.is-visible{opacity: 1;transform: none;pointer-events: auto}html .epic-toast__text{min-width: 0}html .epic-toast .epic-toast__icon{flex: none;width: 20px;height: 20px;fill: currentColor;color: var(--amber-text)}html .epic-toast[data-type="success"] .epic-toast__icon{color: var(--success)}html .epic-toast[data-type="warning"] .epic-toast__icon{color: var(--warning)}html .epic-toast[data-type="error"]{color: var(--error)}html .epic-toast[data-type="error"] .epic-toast__icon{color: var(--error)}html .epic-toast__action{flex: none;min-height: var(--hit);margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-2)) calc(-1 * var(--space-3)) 0;padding: 0 var(--space-3);border: 0;border-radius: var(--r-sm);background: none;color: var(--amber-text);font: inherit;font-weight: 500;cursor: pointer}html .epic-toast__action:active{background: var(--active)}@media (hover: hover){html .epic-toast__action:hover{background: var(--active)}}html .epic-toast:empty{padding: 0;min-width: 0;box-shadow: none}html .epic-toast__close{flex: none;display: inline-flex;align-items: center;justify-content: center;width: var(--hit);min-height: var(--hit);margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) calc(-1 * var(--space-2));padding: 0;border: 0;border-radius: var(--r-sm);background: none;color: var(--muted);cursor: pointer}html .epic-toast .epic-toast__close-icon{width: 20px;height: 20px;fill: currentColor;color: inherit}html .epic-toast__close:active{background: var(--active)}@media (hover: hover){html .epic-toast__close:hover{background: var(--active)}}@media (prefers-reduced-motion: reduce){html .epic-toast{transition: opacity var(--dur-fast) var(--ease);transform: none}}.cookie-bar{position: fixed;z-index: var(--z-drawer-scrim);left: max(var(--space-4),var(--safe-left));right: max(var(--space-4),var(--safe-right));bottom: calc(var(--safe-bottom) + var(--space-4));margin-inline: auto;max-width: 720px;display: flex;align-items: center;gap: var(--space-4);padding: var(--space-3) var(--space-3) var(--space-3) var(--space-6);border-radius: var(--r-lg);background: var(--raised);color: var(--text-2);box-shadow: inset 0 0 0 1px var(--line-strong),var(--sh-md);font-size: var(--fs-small);line-height: var(--lh-small)}.cookie-bar[hidden]{display: none}.cookie-bar__text{flex: 1;min-width: 0;margin: 0}.cookie-bar__text a{color: var(--amber-text);text-decoration: underline;text-underline-offset: 3px}.cookie-bar__ok{flex: none;min-height: var(--hit);padding: 0 var(--space-6);border: 0;border-radius: var(--r-full);background: var(--active);color: var(--text);font: inherit;font-weight: 500;cursor: pointer;transition: background var(--dur-fast) var(--ease)}.cookie-bar__ok:active{background: var(--line-strong)}@media (hover: hover){.cookie-bar__ok:hover{background: var(--line-strong)}}@media (max-width: 767px){.cookie-bar{flex-direction: column;align-items: stretch;gap: var(--space-3);padding: var(--space-4)}.cookie-bar__ok{width: 100%}}.metrika-pixel{position: absolute;left: -9999px;width: 1px;height: 1px;overflow: hidden}.noscript-note{margin: 0;padding: var(--space-3) max(var(--space-4),var(--safe-left));text-align: center;background: var(--surface);color: var(--text-2);font-size: var(--fs-small);line-height: var(--lh-small);box-shadow: inset 0 -1px 0 var(--line)}
.site-logo{display: inline-flex;align-items: center;min-height: var(--hit);text-decoration: none}.site-logo img{width: 128px;height: auto;display: block;max-width: 100%}.site-logo .logo--light{display: none}[data-theme="light"] .site-logo .logo--dark{display: none}[data-theme="light"] .site-logo .logo--light{display: block}@media (prefers-color-scheme: light){:root:not([data-theme]) .site-logo .logo--dark{display: none}:root:not([data-theme]) .site-logo .logo--light{display: block}}.top-btn{display: inline-flex;align-items: center;justify-content: center;gap: var(--space-2);height: var(--btn-h-m);padding: 0 var(--space-6);border: 0;border-radius: var(--r-full);font: inherit;font-size: var(--fs-ui);line-height: var(--lh-ui);font-weight: 500;text-decoration: none;white-space: nowrap;cursor: pointer;transition: background var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease)}.top-btn--primary{background: var(--amber);color: var(--on-amber)}@media (hover: hover){.top-btn--primary:hover{background: var(--amber-hover)}}.top-btn--primary:active{background: var(--amber-press)}.top-btn--text{background: none;color: var(--text-2);padding-inline: var(--space-3)}@media (hover: hover){.top-btn--text:hover{color: var(--text);background: var(--raised)}}.top-btn--block{width: 100%}.top__icon{display: inline-grid;place-items: center;width: var(--hit);height: var(--hit);padding: 0;border: 0;border-radius: var(--r-full);background: none;color: var(--muted);cursor: pointer;transition: background var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease)}@media (hover: hover){.top__icon:hover{background: var(--raised);color: var(--text)}}.top__icon svg{width: 24px;height: 24px;fill: currentColor}.top{position: sticky;top: 0;z-index: 100;padding-top: calc(var(--space-4) + var(--safe-top));pointer-events: none}@media (min-width: 1200px){.top{padding-inline: max(var(--margin-page),var(--safe-left)) max(var(--margin-page),var(--safe-right))}}.top__bar{pointer-events: auto;display: flex;align-items: center;gap: var(--space-6);max-width: var(--container);margin: 0 auto;padding: var(--space-2) var(--space-2) var(--space-2) var(--space-6);border-radius: var(--r-full);background: var(--shell);box-shadow: inset 0 0 0 1px var(--line),var(--sh-sm)}.top__nav{display: flex;align-items: center;gap: var(--space-1);margin-inline: auto}.top__nav a{display: inline-flex;align-items: center;min-height: var(--hit);padding: 0 var(--space-3);white-space: nowrap;border-radius: var(--r-full);color: var(--muted);text-decoration: none;font-size: var(--fs-ui);font-weight: 500;transition: color var(--dur-fast) var(--ease),background var(--dur-fast) var(--ease)}.top__nav a[aria-current="page"]{color: var(--amber-text)}@media (hover: hover){.top__nav a:hover{color: var(--text);background: var(--raised)}}.top__actions{display: flex;align-items: center;gap: var(--space-1)}.top__burger{display: none}.theme-toggle .ic-sun{display: none}[data-theme="light"] .theme-toggle .ic-sun{display: block}[data-theme="light"] .theme-toggle .ic-moon{display: none}@media (prefers-color-scheme: light){:root:not([data-theme]) .theme-toggle .ic-sun{display: block}:root:not([data-theme]) .theme-toggle .ic-moon{display: none}}.top__actions .top-btn--login{color: var(--text)}.top__menu{pointer-events: auto;display: none;max-width: var(--container);margin: var(--space-2) auto 0;padding: var(--space-3);border-radius: var(--r-lg);background: var(--shell);box-shadow: inset 0 0 0 1px var(--line),var(--sh-md)}.top__menu a:not(.top-btn){display: flex;align-items: center;min-height: 48px;padding: 0 var(--space-4);border-radius: var(--r-md);text-decoration: none;font-weight: 500;color: var(--text-2)}.top__menu a[aria-current="page"]:not(.top-btn){color: var(--amber-text)}@media (hover: hover){.top__menu a:not(.top-btn):hover{background: var(--raised)}}.top__menu .top-btn{margin-top: var(--space-2)}.top__menu.is-open{display: block}@media (max-width: 1199px){.top__nav,.top__actions .top-btn--login{display: none}.top__burger{display: inline-grid}.top__bar{padding-left: var(--space-4)}.top__actions{margin-left: auto}.top .site-logo{flex: none}.top .site-logo img{max-width: none}}@media (max-width: 767px){.top{padding-top: calc(var(--space-2) + var(--safe-top))}.top__actions .top-btn--start{display: none}}.foot{background: var(--shell);padding-block: var(--space-16) var(--space-12)}.wide-page .foot{margin-top: var(--space-24)}@media (max-width: 767px){.wide-page .foot{margin-top: var(--space-16)}}.foot__wrap{width: 100%;max-width: calc(var(--container) + 2 * var(--margin-page));margin: 0 auto;padding-inline: max(var(--margin-page),var(--safe-left)) max(var(--margin-page),var(--safe-right))}.foot__grid{display: grid;grid-template-columns: 5fr 2fr 2fr 3fr;gap: var(--space-8)}.foot h2{margin: 0 0 var(--space-3);font-size: var(--fs-small);font-weight: 500;color: var(--tertiary)}.foot ul{display: grid;list-style: none;margin: 0;padding: 0}.foot li a{display: inline-flex;align-items: center;min-height: var(--hit);min-width: var(--hit);text-decoration: none;color: var(--text-2);font-size: var(--fs-ui)}@media (hover: hover){.foot li a:hover{color: var(--amber-text);text-decoration: underline}}.foot__about{display: grid;gap: var(--space-4);align-content: start}.foot__about p{max-width: 380px}.foot__note{margin: 0;font-size: var(--fs-small);line-height: var(--lh-small);color: var(--muted)}.foot__legal{margin-top: var(--space-12);padding-top: var(--space-6);box-shadow: 0 -1px 0 var(--line);display: grid;gap: var(--space-2)}.foot__legal p{max-width: 820px}.foot .foot__docs{display: flex;flex-wrap: wrap;gap: 0 var(--space-8)}.foot__docs a{color: var(--muted);font-size: var(--fs-small)}.foot__legal .foot__docs li a{min-height: var(--hit)}@media (max-width: 1023px){.foot__grid{grid-template-columns: 1fr 1fr}.foot__about{grid-column: 1 / -1}}@media (max-width: 767px){.foot__grid{grid-template-columns: 1fr;gap: var(--space-6)}}
:root{--safe-top: env(safe-area-inset-top,0px);--safe-right: env(safe-area-inset-right,0px);--safe-bottom: env(safe-area-inset-bottom,0px);--safe-left: env(safe-area-inset-left,0px);--app-h: 100vh;--vv-top: 0px;--kb: 0px;--composer-h: 0px;--drawer-w: min(320px,calc(100vw - 56px - var(--safe-left)));--sheet-max-w: 560px;--sheet-shift: 100%;--z-topbar: 30;--z-drawer-scrim: 90;--z-drawer: 100;--z-popover: 210}@supports (height: 100dvh){:root{--app-h: 100dvh}}@keyframes epic-sheet-in{0%{opacity: 0;transform: translateY(var(--sheet-shift))}25%{opacity: 1}100%{opacity: 1;transform: none}}@keyframes epic-scrim-in{from{opacity: 0}to{opacity: 1}}@media (max-width: 767px){:root{--header-height: 56px}}@media (min-width: 480px) and (max-height: 500px) and (orientation: landscape) and (hover: none){:root{--header-height: 48px}}@media (prefers-reduced-motion: reduce){:root{--sheet-shift: 0%}html{scroll-behavior: auto}}html{-webkit-text-size-adjust: 100%;text-size-adjust: 100%;-webkit-tap-highlight-color: transparent}html :where(a,button,summary,[role="button"],[role="tab"],[role="menuitem"],[role="option"],[tabindex]:not([tabindex="-1"])):focus-visible{outline: 2px solid var(--focus);outline-offset: 2px}html :where([tabindex="-1"]:not(a,button,summary,input,textarea,select,[role="button"],[role="tab"],[role="menuitem"],[role="option"])):focus-visible{outline: none}@media (hover: none){body.app,body.settings-page,body.history-page{overscroll-behavior: none}html:has(> body.app),html:has(> body.settings-page),html:has(> body.history-page){overscroll-behavior: none}}body.app,body.settings-page,body.history-page{height: var(--app-h)}a,button,summary,label,input,select,textarea,[role="button"],[role="tab"],[role="menuitem"],[role="option"],[role="switch"]{touch-action: manipulation;-webkit-tap-highlight-color: transparent}.chat,.image,.image-controls,.chat-settings,.sidebar__history-section,.settings-main,.history-main,.modal,.modal-overlay,.models-dropdown__list,.library-list,.library-editor,.earn-tokens__modal-body,.earn-tokens__list,.search-chats__list,.auth-dialog,.bubble-files,.composer__textarea{overscroll-behavior-y: contain}.models-dropdown__recent-row,.models-dropdown__categories{overscroll-behavior-x: contain}.modal:where(:not(.modal--library,.modal--earn-tokens,.modal--search-chats)){max-height: calc(var(--app-h) - 2 * var(--space-4));overflow-y: auto;overscroll-behavior: contain}.modal__close{z-index: 1}.modal--search-chats{max-height: min(560px,calc(100vh - 64px),calc(var(--app-h) - 2 * var(--space-4)))}@media (hover: none){:where(button,[role="button"]){transition: scale var(--dur-fast) var(--ease);-webkit-touch-callout: none;-webkit-user-select: none;user-select: none}:where(button:not(:disabled),[role="button"]:not([aria-disabled="true"])):active{scale: 0.97}:where(button:not(:disabled),[role="button"]:not([aria-disabled="true"])):has(> svg:only-child):active{scale: 0.96}html .nav-list__link:active,html .history-accordion__header:active,html .history-group__item:not(.active):active,html .user-menu__item:active,html .save-menu__item:active,html .chat-action-menu__item:active,html .model-entry:active,html .family-entry:active,html .recent-entry:active,html .history-item:active,html .library-item:active,html .search-chats__item:active,html .buy-tokens__item:active,html .account-card:active,html .earn-tokens__item--toggle:active,html .chat-capability:active{background: var(--active);scale: none}html .user-menu__item--danger:active,html .chat-action-menu__item--danger:active{background: var(--error-soft)}.library-create-btn:active,.library-primary-btn:active,.library-empty__action:active,.library-secondary-btn:active,.library-danger-btn:active{scale: none}}@media (max-width: 1023px){html.has-overlay,html.has-overlay body{overflow: hidden}}html.has-overlay body.app{overflow: clip}html.is-kbd .composer__hint-help,html.is-landscape-short .composer__hint-help{display: none}html.is-kbd-ios body.app,html.is-kbd-ios body.settings-page,html.is-kbd-ios body.history-page{position: fixed;inset: 0 0 auto 0;width: 100%;height: var(--app-h);transform: translateY(var(--vv-top,0px))}
html.is-menu-open{overflow: hidden}.is-fade-end{-webkit-mask-image: linear-gradient(to right,#000 calc(100% - var(--space-12)),transparent);mask-image: linear-gradient(to right,#000 calc(100% - var(--space-12)),transparent)}.is-fade-start{-webkit-mask-image: linear-gradient(to right,transparent,#000 var(--space-12));mask-image: linear-gradient(to right,transparent,#000 var(--space-12))}.is-fade-start.is-fade-end{-webkit-mask-image: linear-gradient(to right,transparent,#000 var(--space-12),#000 calc(100% - var(--space-12)),transparent);mask-image: linear-gradient(to right,transparent,#000 var(--space-12),#000 calc(100% - var(--space-12)),transparent)}[data-hscroll]{overscroll-behavior-x: contain;scrollbar-width: none}[data-hscroll]::-webkit-scrollbar{display: none}html.is-standalone #mobile,html.is-standalone [href="#mobile"]{display: none}@media (max-width: 767px){html .breadcrumbs__list{flex-wrap: nowrap}html .breadcrumbs__item:last-child{flex: 1 1 0}html .breadcrumbs__current{max-width: none}}@media (pointer: coarse),(max-width: 767px){html .breadcrumbs__link{display: inline-flex;align-items: center;justify-content: center;min-width: var(--hit);min-height: var(--hit)}html .toc__list a{align-items: center;min-height: var(--hit)}html .toc__details > summary{display: flex;align-items: center;min-height: var(--hit)}html .post-full__back{min-height: var(--hit)}html .auth-link-btn,html .auth-link-subtle{display: inline-flex;align-items: center;min-height: var(--hit);padding-inline: var(--space-1)}html .auth-toggle-row{min-height: var(--hit)}html .auth-form__row-between .auth-toggle-row{align-items: center}html .faq-index__support a{display: inline-flex;align-items: center;min-height: var(--hit)}html .faq-empty button{min-height: var(--hit)}}@media (hover: none){html .top__menu a:not(.top-btn):active,html .top__menu .theme-row:active,html .foot li a:active,html .btn--text:active,html .top-btn--text:active,html .faq-index__link:not(.is-active):active,html .faq-question summary:active,html .toc__details > summary:active{background: var(--raised)}html a.btn--secondary:active,html .chip:not([aria-pressed="true"]):active{background: var(--active)}html a.btn--quiet:active{background: var(--line-strong)}html .q summary:active,html a.post:active .post__title{color: var(--amber-text)}html .breadcrumbs__link:active,html .post-full__back:active{color: var(--amber-text)}html .logo:active,html .site-logo:active,html .store:active{background: var(--active)}html .logo:active,html .site-logo:active,html .ck-content a:active,html a.link:active{border-radius: var(--r-sm)}html .ck-content a:active,html a.link:active{background: var(--active)}}.theme-row .theme-row__name{display: inline-flex;align-items: center;gap: var(--space-3)}.theme-row svg{width: 20px;height: 20px;fill: currentColor;color: var(--muted);flex: none}.theme-row .ic-sun{display: none}[data-theme="light"] .theme-row .ic-sun{display: block}[data-theme="light"] .theme-row .ic-moon{display: none}.theme-row__value{color: var(--muted);font-size: var(--fs-small);font-weight: 400}@media (max-width: 767px),(max-height: 500px) and (orientation: landscape) and (hover: none){html .auth-dialog{width: 100%;max-width: var(--sheet-max-w);max-height: calc(var(--app-h) - var(--safe-top) - var(--space-4));margin: auto auto 0;border-radius: var(--r-lg) var(--r-lg) 0 0;overscroll-behavior: contain;scroll-padding-block-end: calc(var(--btn-h-l) + 2 * var(--space-3) + var(--space-4));animation: epic-sheet-in var(--dur-slow) var(--ease)}html .auth-dialog__body{padding: var(--space-6) max(var(--space-6),var(--safe-right)) var(--space-4) max(var(--space-6),var(--safe-left))}html .auth-dialog__footer{padding-bottom: calc(var(--space-6) + var(--safe-bottom))}html .auth-btn-submit{position: sticky;bottom: var(--space-3);z-index: 1;box-shadow: 0 0 0 var(--space-3) var(--surface)}html .auth-socials-grid{grid-template-columns: repeat(4,minmax(0,1fr))}html .auth-social-btn{position: relative;justify-content: center;padding: 0}html .auth-social-btn__text{position: absolute;width: 1px;height: 1px;overflow: hidden;clip: rect(0 0 0 0);white-space: nowrap}html .auth-divider{margin-block: var(--space-4)}html .auth-dialog__desc{margin-bottom: var(--space-4)}}@media (min-width: 480px) and (max-height: 500px) and (orientation: landscape) and (hover: none){html .auth-dialog__desc{display: none}html .auth-dialog__title{margin-bottom: var(--space-4)}}@media (prefers-reduced-motion: reduce){html .auth-dialog{animation: none}}html.is-kbd-ios .auth-dialog{top: var(--vv-top,0px);bottom: auto;margin-block: 0;max-height: var(--app-h)}@media (max-width: 1023px){html .faq-hero__inner{grid-template-columns: minmax(0,1fr);gap: var(--space-6)}html .faq-directory__layout{grid-template-columns: minmax(0,1fr);gap: var(--space-4)}html .faq-directory{padding-top: 0}html .faq-index{position: sticky;top: calc(var(--site-header-h) + var(--safe-top));z-index: 50;margin-left: calc(-1 * max(var(--page-margin),var(--safe-left)));margin-right: calc(-1 * max(var(--page-margin),var(--safe-right)));padding: var(--space-2) 0;background: var(--bg);box-shadow: 0 1px 0 var(--line)}html .faq-index__label,html .faq-index__support{display: none}html .faq-index__nav{display: flex;flex-direction: row;gap: var(--space-2);max-width: 100%;padding: 0 max(var(--page-margin),var(--safe-right)) 0 max(var(--page-margin),var(--safe-left));overflow-x: auto;border: 0;scroll-snap-type: x proximity;scroll-padding-inline: var(--page-margin)}html .faq-index__link{flex: none;width: auto;gap: var(--space-2);min-height: var(--hit);padding: 0 var(--space-4);border-radius: var(--r-full);background: var(--surface);box-shadow: inset 0 0 0 1px var(--line);scroll-snap-align: start;white-space: nowrap}html .faq-index__link.is-active{background: var(--select-bg);box-shadow: var(--select-ring)}html .faq-results,html .faq-group,html .faq-question{scroll-margin-top: calc(var(--site-header-h) + var(--safe-top) + var(--hit) + var(--space-4) + var(--space-2))}}html .faq-search{cursor: text}html .faq-search input{-webkit-appearance: none;appearance: none}@media (hover: none),(max-width: 767px){html .faq-search kbd{display: none}html .faq-search input{min-height: var(--hit)}}@media (max-width: 767px){html .faq-hero__inner{padding-top: var(--space-6);padding-bottom: var(--space-4);gap: var(--space-4)}html .faq-hero__copy > p:last-child{display: none}html .faq-kicker{margin-bottom: var(--space-2);color: var(--muted)}html .faq-search{min-height: 56px;padding: 0 var(--space-4)}html .faq-search__icon{margin-right: var(--space-3)}html .faq-search input{font-size: var(--fs-body)}html .faq-results__head{margin-bottom: var(--space-3)}html .faq-results__head h2{font-size: var(--fs-lead);line-height: var(--lh-lead)}html .faq-group + .faq-group{margin-top: var(--space-6)}html .faq-group > h3{margin-bottom: var(--space-2)}html .faq-question summary{min-height: 56px;gap: var(--space-3);padding-block: var(--space-3)}html .faq-question summary{column-gap: min(var(--space-3),4vw);padding-inline: min(var(--space-4),5vw)}html .faq-question__answer{padding-inline: min(var(--space-4),5vw)}}.ck-content figure.table{overscroll-behavior-x: contain;-webkit-overflow-scrolling: touch}@media (max-width: 767px){html .ck-content th,html .ck-content td{min-width: 0;padding: var(--space-3) var(--space-2);overflow-wrap: normal}html .ck-content blockquote{padding: var(--space-4)}html .ck-content figure.table{margin-inline: 0}}html .toc__details > summary{list-style: none;cursor: default}html .toc__details > summary::-webkit-details-marker{display: none}html .toc__chevron{display: none}@media (max-width: 767px){html .toc{padding: 0 var(--space-6)}html .toc__details > summary{display: flex;align-items: center;justify-content: space-between;min-height: var(--btn-h-l);margin: 0;cursor: pointer}html .toc__chevron{display: block;width: 24px;height: 24px;fill: currentColor;color: var(--muted);transition: transform var(--dur-base) var(--ease)}html .toc__details[open] .toc__chevron{transform: rotate(180deg)}html .toc__list{padding-bottom: var(--space-2)}html .toc__list li + li{margin-top: 0}html .toc__list a{align-items: center;min-height: var(--hit)}html .toc__list a:active{color: var(--amber-text)}}@media (max-width: 767px){html .blog-list{gap: var(--space-4)}html .blog-list > li:not(:first-child) .post,html .related__grid > li .related__card{display: grid;grid-template-columns: clamp(96px,28vw,160px) minmax(0,1fr);grid-template-areas: "cover date" "cover title" "cover meta";grid-template-rows: auto auto 1fr;column-gap: var(--space-4);align-items: start}html .blog-list > li:not(:first-child) .post__cover,html .related__cover{grid-area: cover;aspect-ratio: 16 / 9;border-radius: var(--r-md)}html .blog-list > li:not(:first-child) .post__date,html .related__date{grid-area: date;margin: 0 0 var(--space-1)}html .blog-list > li:not(:first-child) .post__title,html .related__name{grid-area: title;font-size: var(--fs-ui);line-height: var(--lh-ui)}html .blog-list > li:not(:first-child) .post__meta,html .related__meta{grid-area: meta;flex-direction: column;align-items: flex-start;gap: 0;margin-top: var(--space-2)}html .blog-list > li:not(:first-child) .post__meta-sep,html .related__meta-sep{display: none}html .blog-main{padding-bottom: var(--space-8)}html .related__grid{grid-template-columns: minmax(0,1fr);gap: var(--space-4)}html .related__grid > li:nth-child(n+4){display: none}html .post-full__cover img{border-radius: var(--r-lg)}}@media (max-width: 1199px){html .top{padding-inline: max(var(--margin-page),var(--safe-left)) max(var(--margin-page),var(--safe-right))}}.top__scrim{display: none}.top__burger .ic-close{display: none}@media (max-width: 1199px){html .top{--top-offset: calc(var(--space-4) + var(--hit) + 2 * var(--space-2) + var(--space-2))}html .top__bar{position: relative;z-index: 1}html .top__menu{position: absolute;z-index: 1;top: 100%;left: max(var(--margin-page),var(--safe-left));right: max(var(--margin-page),var(--safe-right));margin: var(--space-2) auto 0;max-height: calc(var(--app-h) - var(--safe-top) - var(--top-offset) - var(--space-4));overflow-y: auto;overscroll-behavior: contain}html.is-menu-open .top__scrim{display: block;position: fixed;inset: 0;z-index: 0;background: var(--scrim);pointer-events: auto;animation: epic-scrim-in var(--dur-base) var(--ease)}html .top__burger[aria-expanded="true"] .ic-menu{display: none}html .top__burger[aria-expanded="true"] .ic-close{display: block}}@media (max-width: 767px){html .top{--top-offset: calc(var(--space-2) + var(--hit) + 2 * var(--space-2) + var(--space-2))}}.top__menu .theme-row{display: flex;flex-wrap: wrap;align-items: center;justify-content: space-between;column-gap: min(var(--space-3),2vw);width: 100%;min-height: 48px;padding: 0 min(var(--space-4),5vw);row-gap: var(--space-1);border: 0;border-radius: var(--r-md);background: none;color: var(--text-2);font: inherit;font-weight: 500;text-align: left;cursor: pointer}@media (hover: hover){.top__menu .theme-row:hover{background: var(--raised)}}@media (max-width: 767px){html .top__actions .theme-toggle{display: none}}@media (max-width: 767px){html .top{padding-top: var(--safe-top);background: var(--bg);box-shadow: 0 1px 0 var(--line);pointer-events: auto}html .top__bar{max-width: none;border-radius: 0;background: none;box-shadow: none;padding: var(--space-2) 0}}@media (prefers-reduced-motion: reduce){html.is-menu-open .top__scrim{animation: none}}html .mobile{overflow-x: clip}html .h-display,html .h1{overflow-wrap: break-word}.pack__amount{display: contents}.pack__go{display: none}@media (max-width: 767px){html .hero{padding-top: calc(var(--hit) + var(--space-2) * 3 + var(--safe-top) + var(--space-8))}html .hero .wrap{display: flex;flex-direction: column}html .hero__title{margin-inline: 0;font-size: var(--fs-display);line-height: var(--lh-display);letter-spacing: var(--ls-display)}html .hero__lead{margin-top: var(--space-4)}html .hero__lead-more{display: none}html .hero__terms{order: 1;margin-top: var(--space-3);font-size: var(--fs-small);line-height: var(--lh-small);color: var(--muted)}html .fan{order: 2}html .fan::after{left: calc(-1 * var(--margin-page));right: calc(-1 * var(--margin-page));bottom: calc(-1 * var(--space-12));height: calc(45% + var(--space-12))}html .ask{margin: var(--space-6) 0 0}html .ask__model{cursor: default}html .kinds{flex-wrap: nowrap;margin-top: var(--space-4);margin-inline: calc(-1 * var(--margin-page));padding-inline: var(--margin-page);overflow-x: auto;scroll-snap-type: x proximity;scroll-padding-inline: var(--margin-page)}html .kinds .chip{flex: none;scroll-snap-align: start}html .hero__note{margin-top: var(--space-3)}html .plate{display: grid;grid-template-columns: auto minmax(0,1fr);align-items: center;column-gap: var(--space-2);height: auto;padding: var(--space-2) var(--space-3);border-radius: var(--r-md);line-height: 1.3}html .plate svg{grid-column: 1;grid-row: 1 / span 2}html .plate__name{grid-column: 2;grid-row: 1;overflow: hidden;text-overflow: ellipsis}html .plate .num{grid-column: 2;grid-row: 2}html .plate__sep{display: none}html .fan__card--r1 .developing__state{padding-inline: var(--space-2)}html .fan__card--r1 .developing.is-done .developing__state{padding-inline-start: calc(var(--space-2) + 24%)}html #app{display: none}html .packs{grid-template-columns: minmax(0,1fr);gap: var(--space-3)}html .pack{grid-template-columns: minmax(0,1fr) auto var(--hit);grid-template-rows: none;align-content: center;align-items: center;column-gap: var(--space-2);row-gap: var(--space-1);padding: var(--space-4)}html .pack__name{grid-area: 1 / 1 / 2 / 2}html .pack__old{grid-area: 1 / 2 / 2 / 3;margin: 0;min-height: 0;justify-self: end;text-align: right}html .pack__amount{display: flex;align-items: baseline;gap: var(--space-2);grid-area: 2 / 1 / 3 / 2;min-width: 0}html .pack__tok{font-size: var(--fs-h3);line-height: var(--lh-h3)}html .pack__unit{margin: 0}html .pack__rub{grid-area: 2 / 2 / 3 / 3;margin: 0;justify-self: end;font-size: var(--fs-h3);line-height: var(--lh-h3)}html .pack > span:empty{display: none}html .pack .tag{grid-area: 3 / 1 / 4 / 4;margin-top: var(--space-2)}html .pack .btn{grid-area: 1 / 3 / 3 / 4;width: var(--hit);height: var(--hit);padding: 0;justify-self: end}html .pack__cta{position: absolute;width: 1px;height: 1px;overflow: hidden;clip: rect(0 0 0 0);white-space: nowrap}html .pack__go{display: block}html .foot{padding-block: var(--space-12) calc(var(--space-8) + var(--safe-bottom))}html .foot__grid{grid-template-columns: repeat(2,minmax(0,1fr));gap: var(--space-4) var(--space-6)}html .foot__about{grid-column: 1 / -1}}@media (max-width: 359px){html .pack{padding: var(--space-3)}html .pack__tok,html .pack__rub{font-size: var(--fs-lead);line-height: var(--lh-lead)}}html.is-landscape-short .hero{padding-top: calc(var(--hit) + var(--space-2) * 3 + var(--safe-top) + var(--space-6));padding-bottom: var(--space-8)}html.is-landscape-short .hero__title{font-size: min(var(--fs-h1),calc(var(--app-h) * .09));line-height: var(--lh-h1);letter-spacing: var(--ls-h1)}html.is-landscape-short .hero__lead{margin-top: var(--space-2)}html.is-landscape-short .hero__lead-more{display: none}html.is-landscape-short .ask{margin-top: var(--space-4);flex-wrap: nowrap;align-items: center}html.is-landscape-short .ask__field{order: 0;flex: 1 1 0;min-width: 0}html.is-landscape-short .ask__model{order: 1;max-width: 40%}html.is-landscape-short .ask__send{order: 2;margin-left: 0}html.is-landscape-short .top__menu.is-open{display: grid;grid-template-columns: repeat(2,minmax(0,1fr));column-gap: var(--space-2);align-content: start}html.is-landscape-short .top__menu .top-btn{grid-column: 1 / -1}html[data-os="ios"] .store--play,html[data-os="ios"] .store--rustore{display: none}html[data-os="android"] .store--ios{display: none}@media (max-width: 1023px){html .how,html .price-head,html .typical-wrap,html .faq,html .free__grid,html .mobile__grid,html .final__grid{grid-template-columns: minmax(0,1fr)}html .kinds-grid{grid-template-columns: repeat(2,minmax(0,1fr))}html .foot__grid{grid-template-columns: repeat(2,minmax(0,1fr))}}@media (min-width: 768px) and (max-width: 1023px){html .packs{grid-template-columns: repeat(3,minmax(0,1fr))}}@media (max-width: 767px){html .wall{grid-template-columns: repeat(2,minmax(0,1fr))}html .trust{grid-template-columns: minmax(0,1fr)}html .step{grid-template-columns: 40px minmax(0,1fr)}html .head,html .kind,html .shot,html .wall__side,html .app__item,html .how__steps,html .done__body,html .typical,html .trust li,html .faq__list,html .foot ul,html .foot__about,html .foot__legal,html .free__copy,html .mobile__copy,html .mobile__list,html .final__copy{grid-template-columns: minmax(0,1fr)}html .pack .tag{white-space: normal}html .wide-page,html body{overflow-wrap: break-word}html .faq-kicker,html .faq-hero h1,html .post-full__title{overflow-wrap: break-word}html .faq-kicker{flex-wrap: wrap}}@media (max-width: 767px){html .hero__title,html .h-display{font-size: min(var(--fs-display),15vw)}html .h1,html .faq-hero h1,html .blog-head__title{font-size: min(var(--fs-h1),9.5vw)}html .ck-content h1,html .post-full__title{font-size: min(var(--fs-h2),9vw)}html .ck-content h2,html .related__title,html .step__t,html .pack__tok,html .pack__rub{font-size: min(var(--fs-h3),7vw)}html .ck-content h3,html .blog-list .post__title,html .kind__t{font-size: min(1.125rem,5.2vw)}html .blog-list > li:not(:first-child) .post__title,html .related__name{font-size: min(var(--fs-ui),5vw)}html .packs,html .foot .foot__wrap{container-type: inline-size}}@media (max-width: 359px){html .h1{font-size: min(var(--fs-h2),9vw);line-height: var(--lh-h2)}}@container (max-width: 17.2rem){html .pack{grid-template-columns: minmax(0,1fr) var(--hit)}html .pack__name{grid-area: 1 / 1 / 2 / 2}html .pack__amount{grid-area: 2 / 1 / 3 / 3;flex-wrap: wrap}html .pack__rub{grid-area: 3 / 1 / 4 / 3;justify-self: start}html .pack__old{grid-area: 4 / 1 / 5 / 3;justify-self: start;text-align: left}html .pack .tag{grid-area: 5 / 1 / 6 / 3;height: auto;min-height: 28px;padding-block: var(--space-1)}html .pack .btn{grid-area: 1 / 2 / 2 / 3;align-self: start}}@container (max-width: 12.5rem){html .foot__grid{grid-template-columns: minmax(0,1fr)}}html .foot li a{overflow-wrap: anywhere}@media (max-width: 767px){html .foot__grid{grid-template-columns: repeat(auto-fit,minmax(min(100%,max(9rem,calc((100% - var(--space-6)) / 2))),1fr))}}html[data-theme="light"] .foot h2{color: var(--muted)}html[data-theme="light"] .status{color: color-mix(in srgb,var(--success) 80%,var(--text))}html[data-theme="light"] .status svg{color: var(--success)}@media (max-width: 1199px){html .top__bar{flex-wrap: wrap;gap: var(--space-2) var(--space-4)}}@media (max-width: 767px){html .skip-link:not(:focus){max-width: 1px;overflow: hidden;white-space: nowrap}html .skip-link:focus{max-width: calc(100% - 2 * var(--space-4))}html .typical{container-type: inline-size}}@container (max-width: 21rem){html .typical li{grid-template-columns: 28px minmax(0,1fr);row-gap: 0}html .typical li > div{min-width: 0}html .typical .num{grid-column: 2;white-space: normal;overflow-wrap: anywhere}}@media (max-width: 767px){html .btn{height: auto;min-height: var(--btn-h-m);padding-block: var(--space-2);white-space: normal;text-align: center}html .btn--l{min-height: var(--btn-h-l)}html .pack .btn{min-height: 0;padding-block: 0}html .faq-results__head{flex-wrap: wrap;gap: var(--space-1) var(--space-4)}html .post-full__meta{flex-wrap: wrap}}@media (max-width: 767px){html .ask__send{height: var(--btn-h-l);min-height: 0;padding: 0}html .ask__model{flex: 0 1 auto;min-width: 0;max-width: calc(100% - var(--btn-h-l) - var(--space-2))}html #askModelName{min-width: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap}html .h1,html .h-display,html h1,html h2{overflow-wrap: anywhere}}@media (max-width: 767px){html .shot figcaption,html .shot figcaption *{min-width: 0;overflow-wrap: anywhere}html .shot figcaption .num{white-space: normal}}@media (max-width: 767px){html .q summary,html .faq-question summary{overflow-wrap: anywhere}}html .wrap{padding-inline: max(var(--margin-page),var(--safe-left)) max(var(--margin-page),var(--safe-right))}@media (max-width: 767px){html .panel > .wrap,html .panel .wrap{padding-inline: max(calc(var(--margin-page) - var(--space-2)),calc(var(--safe-left) - var(--space-2))) max(calc(var(--margin-page) - var(--space-2)),calc(var(--safe-right) - var(--space-2)))}}
