@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/inter-var-0.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/inter-var-1.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/inter-var-2.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/inter-var-3.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/inter-var-4.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/inter-var-5.woff2) format("woff2");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:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/inter-var-6.woff2) format("woff2");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:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f7f8fa;background:#111213;color-scheme:dark;font-synthesis:none;-webkit-text-size-adjust:100%;--canvas: #111213;--surface: #202225;--ink: #f7f8fa;--violet: #8b66ff;--muted: #acb0b9;--line: #383e46;--accent: #d8ff48;--accent-ink: #111213;--subtle: #252f19;--soft-gray: #292c31;--green: #c6f580;--soft-green: #1d2a1b;--amber: #ff9449;--soft-amber: #34271c;--danger: #ff9a92;--tg-safe-top: 0px;--tg-safe-bottom: 0px;--tg-safe-left: 0px;--tg-safe-right: 0px;--safe-top: var(--tg-safe-top);--safe-bottom: var(--tg-safe-bottom);--safe-left: var(--tg-safe-left);--safe-right: var(--tg-safe-right);--dialog-top: max(12px, var(--safe-top));--dialog-bottom: max(12px, var(--safe-bottom))}*{box-sizing:border-box}html,body,#root{margin:0;width:100%;height:100%;min-width:0}html{overflow:hidden;overscroll-behavior:none}body.modal-open{position:fixed;inset:0;overflow:hidden}body.modal-open .app-root{height:var(--modal-shell-height, var(--app-viewport-height, 100dvh))}body{overflow:hidden;font-size:14px;line-height:1.45}button,input,select,textarea{font:inherit}button,input,label,a{-webkit-tap-highlight-color:transparent}button{color:inherit;border:0;background:none;cursor:pointer;touch-action:manipulation;transition:background-color .16s ease,border-color .16s ease,transform .16s ease,opacity .16s ease}button:active:not(:disabled){transform:scale(.98)}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,textarea,summary,[tabindex]{outline-offset:3px}:focus-visible{outline:2px solid var(--accent)}svg{width:22px;height:22px;flex-shrink:0}button svg,button img{pointer-events:none}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:700;line-height:1.2}h1{font-size:32px;letter-spacing:-1.1px}h1:focus{outline:none}h2{font-size:22px;letter-spacing:-.55px}h3{font-size:17px}a{color:var(--accent);text-underline-offset:3px}fieldset{border:0;min-width:0;margin:0;padding:0}legend{padding:0;width:100%}input[type=search],input[type=text],textarea{min-width:0;color:var(--ink);border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:12px;font-size:16px}input[type=radio],input[type=checkbox],input[type=range]{accent-color:var(--accent)}input[type=radio],input[type=checkbox]{width:20px;height:20px;flex-shrink:0}::placeholder{color:var(--muted);opacity:1}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:100;top:-70px;left:16px;padding:12px;background:var(--surface)}.skip-link:focus{top:var(--safe-top)}.app-root{display:flex;flex-direction:column;width:100%;max-width:560px;height:var(--app-viewport-height, 100dvh);margin:0 auto;padding:var(--safe-top) var(--safe-right) 0 var(--safe-left);overflow:hidden;background:var(--canvas)}.app-main{container:app-content / size;flex:1 1 0;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:20px 18px 24px;scroll-padding:20px}.app-page-create .app-main{padding-bottom:max(16px,var(--safe-bottom))}.bottom-nav{position:relative;display:flex;flex:0 0 auto;align-items:stretch;min-height:70px;width:100%;background:var(--surface);border-top:1px solid var(--line);padding:4px 12px max(8px,var(--safe-bottom))}.nav-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;flex:1 1 0;min-width:0;min-height:56px;color:var(--muted);font-size:12px;font-weight:500;position:relative}.nav-item svg{width:23px;height:23px}.nav-item.active{color:var(--accent)}.nav-dot{position:absolute;top:7px;left:calc(50% + 8px);width:6px;height:6px;background:var(--accent);border-radius:50%;border:1px solid var(--canvas)}.primary,.secondary,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 18px;border-radius:14px;font-size:16px;font-weight:700;line-height:1.25;text-align:center}.primary{width:100%;background:var(--accent);color:var(--accent-ink);border:1px solid var(--accent)}.secondary{background:var(--surface);color:var(--accent);border:1px solid #434b38}.danger-button{width:100%;background:#382321;color:var(--danger);border:1px solid #74403c}.icon-button{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;border-radius:50%}.text-button{color:var(--accent);display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:4px 0;font-weight:500}.full{width:100%}.muted,.hint{color:var(--muted)}.hint,.small-print,.custom-lifetime{font-size:12px;color:var(--muted);line-height:1.5}.panel{padding:16px;border:1px solid var(--line);background:var(--surface);border-radius:16px}.coin{display:inline-grid;place-items:center;width:22px;height:22px;border:1.5px solid currentColor;border-radius:50%;font-size:12px;font-weight:700}.credit{color:var(--green)}.wordmark{font-weight:900;letter-spacing:-1.2px}.dialog{position:fixed;top:var(--dialog-top);bottom:calc(max(0px,100dvh - var(--app-viewport-height, 100dvh)) + var(--dialog-bottom));left:var(--safe-left);right:var(--safe-right)}.page-home{padding-top:12px;padding-bottom:18px;display:flex}.home-page{text-align:center;display:flex;flex:1 1 auto;width:100%;min-height:0;flex-direction:column;gap:22px}.home-brand-row{display:flex;align-items:center;justify-content:center;gap:12px}.home-wordmark{font-size:29px;font-weight:900;line-height:1.2;letter-spacing:-1.8px}.home-intro{margin-top:8px}.home-title{font-size:clamp(28px,8.46vw,36px);font-weight:900;line-height:1.1;letter-spacing:-1px}.home-description{font-size:14px;color:var(--muted);margin-top:8px}.showcase-group{display:flex;flex:1 1 244px;min-height:180px;max-height:400px}.video-showcase{position:relative;width:100%;min-height:0;overflow:hidden;border-radius:18px;background:#202225}.showcase-video{display:block;position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 39%}.showcase-control{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;color:inherit}.showcase-control:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}.showcase-control:active:not(:disabled){transform:none}.showcase-error{position:absolute;bottom:12px;inset-inline:12px;background:var(--surface);color:var(--ink);padding:8px;border-radius:8px}.home-steps{list-style:none;display:flex;justify-content:space-around;padding:0;margin:2px 0}.home-step{position:relative;display:flex;flex:1;align-items:center;flex-direction:column;gap:6px}.home-step-icon{display:grid;place-items:center;background:#292c31;width:40px;height:40px;border-radius:50%}.home-step-label{font-size:12px;font-weight:500}.home-step-arrow{position:absolute;top:17px;right:-8px;color:var(--muted);width:18px;height:18px}.home-create{flex-shrink:0;font-size:17px;margin-top:4px}.dialog{padding:0;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:22px;width:calc(100% - 24px - var(--safe-left) - var(--safe-right));max-width:440px;max-height:calc(var(--app-viewport-height, 100dvh) - var(--dialog-top) - var(--dialog-bottom));margin:auto;overflow:auto;overscroll-behavior:contain;box-shadow:0 16px 60px #0008}.dialog::backdrop{background:#0009}.dialog[data-exiting=true]{pointer-events:none}.dialog.wide{max-width:520px}.dialog-inner{padding:20px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.dialog-heading h2{font-size:24px;overflow-wrap:anywhere}.dialog-heading .icon-button{background:#292c31;color:var(--muted)}.dialog-copy{color:var(--muted);line-height:1.6}.dialog-copy p+p{margin-top:12px}.dialog-copy+.primary,.dialog .danger-button+.secondary{margin-top:20px}.dialog-feedback,.notice{padding:12px;margin-bottom:12px;border-radius:12px;color:#ffb576;background:#34271c;overflow-wrap:anywhere}.help-steps{display:grid;gap:18px;margin-bottom:24px}.help-steps>div{display:flex;align-items:flex-start;gap:12px}.help-steps b{width:30px;height:30px;flex-shrink:0;display:grid;place-items:center;color:var(--accent);background:var(--subtle);border-radius:50%}.help-steps strong,.help-steps span{display:block}.help-steps span{color:var(--muted);margin-top:4px}.info-box{padding:14px;border-radius:12px;background:var(--subtle);margin-bottom:18px}.info-box p{margin-top:5px}.confirm-character{display:flex;align-items:center;gap:14px;margin-bottom:20px}.confirm-character img{width:72px;height:88px;object-fit:cover;border-radius:12px}.confirm-character p{color:var(--muted);margin-top:4px}.price-line{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:16px;margin-bottom:10px;font-size:18px}.dialog .small-print,.dialog .custom-lifetime{margin-bottom:18px}.result-video{display:block;width:100%;max-height:calc(var(--app-viewport-height, 100dvh) - var(--safe-top) - var(--safe-bottom) - 130px);background:var(--canvas);border-radius:12px}.list-link{display:flex;align-items:center;justify-content:space-between;min-height:52px;width:100%;padding:12px 0;gap:16px;text-align:left;border-bottom:1px solid var(--line)}.list-link svg{color:var(--muted);width:18px;height:18px}.toast-region{position:fixed;z-index:20;top:calc(var(--safe-top) + 12px);left:12px;right:12px;max-width:520px;margin:auto;pointer-events:none}.toast{display:flex;align-items:center;gap:10px;padding:12px;border-radius:14px;border:1px solid var(--line);background:var(--surface);box-shadow:0 8px 32px #0006;pointer-events:auto}.toast p{flex:1;overflow-wrap:anywhere}.toast>svg{color:var(--accent)}.toast .icon-button{flex:0 0 36px;width:36px;height:36px}.boot-screen{height:var(--app-viewport-height, 100dvh);overflow-y:auto;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;gap:20px;padding:24px;text-align:center}.boot-screen .wordmark{font-size:34px}.boot-screen h1{font-size:24px}.boot-screen p{color:var(--muted)}.boot-screen .primary{max-width:300px}.project-information{width:100%;min-width:0;margin-top:16px}.boot-screen .project-information{max-width:380px}.project-links{display:grid;gap:8px}.project-links a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:14px;line-height:1.4;text-align:center;text-decoration:none;overflow-wrap:anywhere}.project-information .project-verification{margin-top:12px;color:var(--muted);font-size:12px;text-align:center}.loader,.small-spinner{display:inline-block;width:28px;height:28px;border:2px solid #384624;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}.small-spinner{width:16px;height:16px}progress{appearance:none;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;background:#383e46}progress::-webkit-progress-bar{background:#383e46;border-radius:5px}progress::-webkit-progress-value{background:var(--accent);border-radius:5px}progress::-moz-progress-bar{background:var(--accent);border-radius:5px}.page-transition{animation:page-enter .26s cubic-bezier(.2,.8,.2,1)}@keyframes surface-dissolve{0%{opacity:0}to{opacity:1}}@keyframes spin{to{transform:rotate(360deg)}}@media(hover:hover){.primary:hover:not(:disabled){background:#e4ff81}.secondary:hover:not(:disabled),.icon-button:hover:not(:disabled){background:var(--subtle)}}@media(max-width:359px){.app-main{padding-left:14px;padding-right:14px}.home-page{gap:18px}.home-title{font-size:28px}.dialog-inner{padding:16px}.dialog-heading h2{font-size:22px}}@media(min-width:600px){.app-root{border-inline:1px solid var(--line)}}body[data-motion-paused=true] *,body[data-motion-paused=true] *:before,body[data-motion-paused=true] *:after{animation-play-state:paused!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.toast>span{flex:1;min-width:0;overflow-wrap:anywhere}.brand-lockup{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:28px;line-height:32px;font-weight:900;letter-spacing:-1.1px;white-space:nowrap;color:var(--ink)}.brand-lockup>img{display:block;width:144px;height:34px;object-fit:contain;flex:0 0 auto}.page-brand{text-align:center;margin-bottom:24px}.home-brand-row{padding-block:4px}.home-step-icon{color:var(--accent);background:var(--surface)}.nav-item.active:after{content:"";width:18px;height:3px;border-radius:2px;position:absolute;bottom:1px;background:var(--accent);animation:nav-enter .2s ease-out}.dialog .dialog-heading{position:relative;justify-content:center;padding-inline:38px;min-height:44px}.dialog-heading h2{text-align:center;font-size:23px}.dialog-heading .icon-button{position:absolute;right:-4px;top:0}.primary>svg{transition:transform .18s ease}.primary:active:not(:disabled)>svg{transform:translate(3px)}@keyframes page-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes nav-enter{0%{opacity:0;transform:scaleX(.4)}to{opacity:1;transform:scaleX(1)}}@container app-content (max-height: 630px){.home-page{gap:12px}.home-intro{margin-top:0}.home-title{font-size:28px}.showcase-group{min-height:96px;flex-basis:180px}.home-step-icon{width:32px;height:32px}.home-step-arrow{top:10px}.home-create{margin-top:0}}@container app-content (max-height: 460px){.home-page{gap:8px}.home-title{font-size:25px}.home-description{margin-top:5px;font-size:13px}.home-step{flex-direction:row;justify-content:center;gap:4px}.home-step-icon{width:26px;height:26px}.home-step-icon svg{width:17px;height:17px}.home-step-arrow{display:none}.home-step-label{font-size:11px}.showcase-group{min-height:72px}}.creation{max-width:480px;margin:0 auto}.app-page-create .app-main{padding-top:16px}.creation-header{position:relative;text-align:center;margin:0 0 20px}.creation-header .brand-lockup{margin:0 auto 16px}.creation .creation-header .screen-title{font-size:clamp(27px,7.7vw,36px);letter-spacing:-1.2px}.creation-back{position:absolute;left:-10px;top:-2px;color:var(--muted)}.creation-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;position:relative}.creation-column{min-width:0;text-align:center}.creation-column h2{font-size:18px;line-height:24px;margin-bottom:10px;letter-spacing:-.35px}.creation-media{display:block;position:relative;width:100%;aspect-ratio:4 / 5;border:1px solid #62666e;border-radius:16px;padding:0;overflow:hidden;background:var(--surface)}.creation-media img{width:100%;height:100%;object-fit:cover;animation:media-reveal .24s ease-out}.creation-image-error{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:20px;color:var(--muted);font-size:12px;text-align:center}.creation-image-error svg{width:28px;height:28px}.creation-preview{position:absolute;inset:0;padding:0;width:100%;height:100%}.creation-edit{position:absolute;right:0;top:0;width:44px;height:44px;display:grid;place-items:center;border-radius:0 14px 0 15px;background:var(--violet);color:#fff}.creation-edit svg{width:25px;height:25px}.creation-duration{position:absolute;bottom:10px;left:10px;display:inline-flex;align-items:center;gap:5px;color:#fff;background:#111213cc;padding:4px 8px;border-radius:9px;font-size:14px;font-variant-numeric:tabular-nums}.creation-duration svg{width:15px;height:15px;fill:currentColor}.creation-swap{position:absolute;z-index:1;top:calc(34px + (100% - 86px)/2);left:50%;width:46px;height:46px;transform:translate(-50%,-50%);display:grid;place-items:center;border:2px solid #43484f;border-radius:50%;background:var(--accent);color:var(--accent-ink);pointer-events:none}.creation-swap svg{width:25px;height:25px;stroke-width:2.5}.creation-pill{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:36px;margin-top:9px;padding:6px 8px;border:1px solid var(--line);border-radius:20px;background:var(--surface);line-height:18px}.creation-pill>span{min-width:0}.creation-pill svg{width:18px;height:18px}.target-pill{font-size:12px;font-weight:600}.target-pill.selected{color:var(--accent);border-color:#446629;background:#1d2a1b}.target-check{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border-radius:50%}.selected .target-check{background:var(--accent);color:var(--accent-ink)}.target-check svg{width:15px;height:15px;stroke-width:2.5}.character-pill{font-size:16px;font-weight:700}.character-pill>span{overflow-wrap:anywhere}.creation-help{font-size:12px;color:var(--muted);background:transparent;border-color:transparent}.creation-upload,.creation-uploading{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;text-align:center}.creation-upload>svg{width:32px;height:32px;color:var(--accent)}.creation-upload strong{font-size:15px}.creation-upload small{color:var(--muted);font-size:12px}.creation-media:has(.creation-upload){border-style:dashed;border-color:var(--line)}.creation-media.dragging{border-color:var(--accent);background:var(--subtle)}.creation-quality{margin-top:20px}.creation-quality legend{font-size:21px;font-weight:750;line-height:26px;text-align:center;margin-bottom:10px}.creation-quality-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.creation-quality-options label{position:relative;display:flex;align-items:center;min-width:0;min-height:62px;padding:9px 12px;gap:8px;border:1px solid var(--line);border-radius:13px;background:var(--surface);cursor:pointer;transition:background-color .18s ease,color .18s ease,border-color .18s ease}.creation-quality-options label.selected{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.creation-quality-options label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:4px}.creation-quality-options label>span:last-child{flex:1;text-align:center;padding-right:22px}.creation-quality-options b{display:block;font-size:20px;font-weight:750;line-height:24px}.creation-quality-options small{display:block;font-size:14px;line-height:20px;color:var(--muted);white-space:nowrap}.creation-quality-options .selected small{color:var(--accent-ink)}.creation-quality:disabled{opacity:.65}.creation-radio{width:22px;height:22px;flex:0 0 22px;display:grid;place-items:center;border:1px solid #626874;border-radius:50%}.selected .creation-radio{background:var(--accent-ink);border-color:var(--accent-ink);color:var(--accent)}.creation-radio svg{width:16px;height:16px;stroke-width:2.5}.creation-checkout{margin-top:18px;text-align:center}.creation-price-label{display:flex;justify-content:center;align-items:center;font-size:17px;min-height:36px;padding-left:32px}.creation-price-label .icon-button{flex-basis:36px;width:36px;height:36px;min-height:36px;padding:8px;color:var(--muted)}.creation-price>strong{display:block;font-size:clamp(42px,12vw,54px);font-weight:850;letter-spacing:-1.8px;line-height:1.12;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.creation-price-info{margin:8px auto;max-width:280px;color:var(--muted);font-size:12px;line-height:18px;animation:surface-dissolve .18s ease}.creation-balance{display:flex;justify-content:center;flex-wrap:wrap;gap:0 4px;margin:12px 0;color:var(--muted);font-size:14px;line-height:22px}.creation-balance>span{white-space:nowrap}.creation-shortfall{color:var(--amber)}.creation-submit{min-height:56px;position:relative;font-size:18px;font-weight:700}.creation-submit span{margin-inline:25px}.creation-submit>svg{position:absolute;right:18px;stroke-width:2.5}.source-remove-action{margin-top:14px;color:var(--danger)}.creation-price>strong{animation:price-change .16s ease-out}.creation-quality-options label:active{transform:scale(.98)}@keyframes price-change{0%{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes media-reveal{0%{opacity:.5;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}@media(max-width:359px){.creation-header .brand-lockup{margin-bottom:18px}.creation-header .screen-title{font-size:27px}.creation-pair{gap:10px}.creation-column h2{font-size:16px}.creation-pill{padding-inline:5px;gap:4px}.target-pill{font-size:10px}.target-check{width:19px;height:19px;flex-basis:19px}.creation-quality-options label{padding-inline:9px;gap:5px}.creation-quality-options label>span:last-child{padding-right:0}.creation-quality-options small,.creation-balance{font-size:12px}.creation-submit{font-size:16px}}@container app-content (max-height: 740px){.creation-header{margin-bottom:12px}.creation-header .brand-lockup{margin-bottom:10px}.creation .creation-header .screen-title{font-size:27px}.creation-column h2{font-size:16px;line-height:22px;margin-bottom:6px}.creation-media{aspect-ratio:auto;height:clamp(100px,calc(100cqh - 465px),230px)}.creation-pill{margin-top:7px}.creation-quality{margin-top:12px}.creation-quality legend{font-size:19px;line-height:24px;margin-bottom:8px}.creation-quality-options label{min-height:58px;padding-block:7px}.creation-checkout{margin-top:12px}.creation-price>strong{font-size:43px}.creation-balance{margin-block:8px}.creation-submit{min-height:52px}}@container app-content (max-height: 560px){.creation-header{margin-bottom:8px}.creation-header .brand-lockup{margin-bottom:6px}.creation .creation-header .screen-title{font-size:24px}.creation-media{height:clamp(90px,calc(100cqh - 425px),180px)}.creation-quality{margin-top:8px}.creation-quality legend{font-size:17px;line-height:21px;margin-bottom:6px}.creation-checkout{margin-top:8px}.creation-price>strong{font-size:37px}.creation-price-label{font-size:15px;min-height:32px}.creation-balance{margin-block:6px;font-size:12px}.creation-upload{gap:5px;padding:8px}.creation-upload>svg{width:24px;height:24px}.creation-upload strong{font-size:13px}}.creation-quality-options label{justify-content:center;padding:12px 24px}.creation-quality-options label>span:last-child{min-width:0;padding:0}.creation-quality-options b{font-size:16px;line-height:1.2}.creation-quality-options b>span{display:block}.creation-quality-options strong{display:block;font-size:16px;margin-top:8px}.creation-quality-options .creation-radio{position:absolute;top:12px;left:8px;width:16px;height:16px}.creation-quality-options .unavailable{opacity:.55;cursor:not-allowed}.model-limit{font-size:13px;line-height:1.5;color:var(--muted);margin-top:12px}.model-limit button{display:block;margin-top:8px;width:100%}@media(prefers-reduced-motion:reduce){.creation-quality-options label:active{transform:none}.creation-price>strong,.creation-media img{animation:none}}.app-main{width:100%;margin-inline:auto}.app-main>section{width:100%;min-width:0}.app-main .screen-title{margin:0;color:var(--ink);font:900 32px/1.2 Inter,sans-serif;letter-spacing:-.8px;overflow-wrap:anywhere}.ui-icon{display:block;width:22px;height:22px;flex:0 0 22px}.bottom-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.bottom-nav .nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:54px;padding:5px 0;color:var(--muted);font-size:11px;font-weight:500;line-height:14px}.bottom-nav .nav-item.active{color:var(--accent);font-weight:600}.bottom-nav .ui-icon{width:24px;height:24px;flex-basis:24px}.bottom-nav .nav-dot{position:absolute;top:5px;left:calc(50% + 10px);width:5px;height:5px;border-radius:50%;background:var(--accent)}.screen-title-row{position:relative;min-height:44px;margin-bottom:16px}.screen-title-row .screen-title{min-width:0;text-align:center;padding-inline:44px}.videos-page .new-video{position:absolute;right:0;top:0;display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;width:44px;min-height:44px;padding:8px 12px;border-radius:14px;font-size:14px;line-height:20px}.videos-page .new-video>span{display:none}.videos-page .new-video svg{width:20px;height:20px}.video-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px}.video-filters button{min-width:0;min-height:36px;padding:7px 6px;border-radius:99px;background:var(--soft-gray);color:var(--muted);font-size:14px;line-height:20px}.video-filters button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);font-weight:600}.videos-page .empty-state{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:12px;padding:30px 20px;border:1px solid var(--line);border-radius:16px;background:var(--surface);text-align:center}.videos-page .empty-state>.ui-icon{width:40px;height:40px;flex-basis:40px;color:var(--accent)}.videos-page .empty-state h2{margin:0;font-size:21px;line-height:28px}.videos-page .empty-state p{margin:0;color:var(--muted);font-size:14px;line-height:21px}.videos-page .empty-state .primary{width:100%;margin-top:4px}.videos-page .jobs-list{display:grid;gap:10px}.videos-page .job-card{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:12px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.videos-page .job-card.is-processing{background:var(--subtle)}.videos-page .job-visual{position:relative;align-self:start;display:grid;place-items:center;width:76px;height:112px;overflow:hidden;border-radius:10px;background:var(--soft-gray)}.videos-page .job-visual>img{width:100%;height:100%;object-fit:cover}.videos-page .custom-job-icon{width:34px;height:34px;color:var(--muted)}.videos-page .job-visual .play-result{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:44px;min-height:44px;padding:8px;border:1px solid #fff;border-radius:50%;background:#101525b8;color:#fff}.videos-page .play-result .ui-icon{width:18px;height:18px;flex-basis:18px}.videos-page .job-content{display:flex;min-width:0;flex-direction:column;align-items:stretch;gap:2px}.videos-page .job-content h2{margin:0;padding-right:26px;font-size:15px;font-weight:700;line-height:20px;overflow-wrap:anywhere}.videos-page .job-status{display:flex;align-items:center;gap:5px;min-width:0;padding-right:18px;color:var(--accent);font-size:13px;font-weight:600;line-height:18px}.videos-page .job-status.done{color:var(--green)}.videos-page .job-status.review,.videos-page .job-status.failed,.videos-page .job-status.expired{color:var(--amber)}.videos-page .job-status>svg{width:16px;height:16px;flex:0 0 16px}.videos-page .ready-badge,.videos-page .error-badge{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;border-radius:50%;background:var(--soft-green)}.videos-page .ready-badge .ui-icon{width:12px;height:12px;flex-basis:12px;stroke-width:2.5}.videos-page .error-badge{background:var(--soft-amber)}.videos-page .job-meta{margin:0;color:var(--muted);font-size:12px;line-height:17px}.videos-page .job-content progress{margin-top:2px}.videos-page .job-error{margin:0;color:var(--amber);font-size:12px;line-height:18px}.videos-page .download-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;margin-top:4px;padding:6px 8px;border:1px solid var(--accent);border-radius:10px;background:var(--surface);color:var(--accent);font-size:14px;font-weight:600;line-height:20px}.videos-page .download-button .ui-icon{width:18px;height:18px;flex-basis:18px}.videos-page .retry-video,.videos-page .cancel-job{align-self:flex-start;min-height:36px;padding:5px 0;font-size:13px;text-align:left}.videos-page .job-details{grid-column:1 / -1;min-width:0}.videos-page .job-details summary{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:44px;height:44px;cursor:pointer;list-style:none;color:var(--muted)}.videos-page .job-details summary::-webkit-details-marker{display:none}.videos-page .job-details summary .ui-icon{width:18px;height:18px;flex-basis:18px;transition:transform .16s ease-out}.videos-page .job-details[open] summary .ui-icon{transform:rotate(90deg)}.videos-page .job-details>div{display:flex;flex-direction:column;gap:6px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;line-height:18px}.videos-page .job-details .text-button{align-self:flex-start;min-height:36px;padding:4px 0}.profile-page .screen-title{text-align:center;margin-bottom:12px}.profile-page .profile-identity{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:14px}.profile-page .profile-avatar{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;border-radius:50%;background:var(--soft-gray);font-size:26px;line-height:32px}.profile-page .profile-name{display:flex;min-width:0;flex-direction:column;gap:2px}.profile-page .profile-name strong{font-size:18px;font-weight:600;line-height:24px;overflow-wrap:anywhere}.profile-page .profile-name>span{color:var(--muted);font-size:14px;line-height:20px;overflow-wrap:anywhere}.profile-page .balance-panel{text-align:center;margin-bottom:20px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.profile-page .balance-panel h2{margin:0;color:var(--muted);font-size:14px;font-weight:400;line-height:18px}.profile-page .big-balance{margin:6px 0 0;color:var(--ink);font-size:48px;font-weight:900;line-height:54px;letter-spacing:-1px}.profile-page .big-balance strong{font-weight:inherit;overflow-wrap:anywhere}.profile-page .big-balance.balance-long{font-size:40px;line-height:48px}.profile-page .balance-equivalent{margin:4px 0 14px;color:var(--muted);font-size:12px;line-height:17px}.profile-page .profile-topup{margin-top:16px;width:100%;min-height:48px}.profile-page .balance-panel>.muted{margin:12px 0 0;font-size:12px;line-height:18px}.profile-page .token-history>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:16px;font-weight:600;line-height:22px;list-style:none;cursor:pointer}.profile-page .token-history>summary::-webkit-details-marker{display:none}.profile-page .token-history>summary>.ui-icon{color:var(--muted)}.profile-page .token-history[open]>summary{margin-bottom:10px}.profile-page .token-history[open]>summary>.ui-icon{transform:rotate(90deg)}.profile-page .token-history>.muted{margin:0;font-size:14px;line-height:22px}.profile-page .ledger-list{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.profile-page .ledger-row{display:grid;grid-template-columns:28px minmax(0,1fr) max-content;align-items:center;gap:10px;min-height:56px;margin:0 12px;padding:9px 0}.profile-page .ledger-row+.ledger-row{border-top:1px solid var(--line)}.profile-page .ledger-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--soft-gray);color:var(--muted)}.profile-page .ledger-icon .ui-icon{width:17px;height:17px;flex-basis:17px}.profile-page .ledger-description{display:flex;min-width:0;flex-direction:column;font-size:14px;line-height:20px;overflow-wrap:anywhere}.profile-page .ledger-description time{color:var(--muted);font-size:11px;line-height:16px}.profile-page .ledger-row>strong{font-size:14px;font-weight:500;line-height:20px;white-space:nowrap}.profile-page .ledger-row>.credit{color:var(--green)}.profile-page .profile-support{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;margin-top:16px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-align:left}.profile-page .profile-support>span{flex:1;font-size:16px;line-height:22px}.profile-page .profile-support>.ui-icon:last-child{color:var(--muted)}.profile-page .profile-information{margin-top:12px}.profile-page .profile-information>summary{padding:12px 0;color:var(--muted);font-size:13px;line-height:20px;cursor:pointer}.profile-page .account-links{display:grid;gap:4px}.profile-page .account-links .list-link{min-height:44px;font-size:14px}@media(max-width:359px){.app-main{padding-inline:14px}.app-main .screen-title{font-size:28px;letter-spacing:-.6px}.videos-page .new-video{gap:5px;padding-inline:9px;font-size:12px}.videos-page .job-card{grid-template-columns:62px minmax(0,1fr);column-gap:10px;padding:10px}.videos-page .job-visual{width:62px;height:94px}.videos-page .job-content h2{font-size:14px;line-height:19px}.profile-page .ledger-row{column-gap:8px;margin-inline:10px}.profile-page .ledger-description{font-size:13px}.profile-page .ledger-row>strong{font-size:13px}}@media(prefers-reduced-motion:reduce){.videos-page .job-details summary .ui-icon{transition:none}}.job-eta{margin:5px 0 4px;font-size:13px;line-height:1.4;color:var(--ink)}.videos-page .file-expiry{color:#ff9b9b;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;margin:1px 0 0}.telegram-saved{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:4px;color:var(--muted);font-size:11px;line-height:16px;margin:7px 0 0;padding-top:7px;border-top:1px solid var(--line)}.telegram-saved svg{width:14px;height:14px;color:var(--green)}.job-content .telegram-saved{margin:3px 0 0;padding:0;border:0}.telegram-result{min-height:44px;text-align:left;font-size:13px}.job-duration{position:absolute;right:5px;bottom:5px;padding:2px 5px;background:#101112d9;color:#fff;border-radius:5px;font-size:11px;line-height:16px;font-variant-numeric:tabular-nums}.videos-page .job-content h2{font-size:16px;line-height:22px}.videos-page .job-status{font-size:12px;line-height:18px}.videos-page .job-status .ready-badge{background:none;width:14px;flex-basis:14px}.first-video{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 6px 24px}.first-video-scene{position:relative;width:260px;height:225px;margin:0 0 24px}.first-video-card{position:absolute;width:120px;height:168px;top:28px;left:70px;overflow:hidden;border:3px solid #343638;border-radius:18px;background:var(--surface);box-shadow:0 10px 24px #0005}.first-video-card img{width:100%;height:100%;object-fit:cover}.first-video-left{transform:translate(-60px) rotate(-14deg) scale(.88)}.first-video-right{transform:translate(60px) rotate(14deg) scale(.88)}.first-video-front{transform:translateY(-4px);border-color:var(--accent)}.first-video-swap{position:absolute;left:104px;top:169px;display:grid;place-items:center;width:52px;height:52px;border:5px solid var(--canvas);border-radius:50%;color:var(--accent-ink);background:var(--accent)}.first-video-swap svg{width:25px;height:25px}.first-video h2{margin:0;font-size:25px;line-height:30px;letter-spacing:-.6px}.first-video p{margin:10px 0 25px;color:var(--muted);font-size:14px;line-height:21px}.first-video .primary{width:100%;max-width:340px;min-height:50px;display:flex;justify-content:space-between;gap:12px}.first-video .primary svg{width:22px;height:22px}.first-video[data-animate=true] .first-video-left{animation:first-left .85s cubic-bezier(.2,.8,.2,1) both}.first-video[data-animate=true] .first-video-right{animation:first-right .85s 90ms cubic-bezier(.2,.8,.2,1) both}.first-video[data-animate=true] .first-video-front{animation:first-front .65s .16s cubic-bezier(.2,.8,.2,1) both}.first-video[data-animate=true] .first-video-swap{animation:first-badge .45s .52s cubic-bezier(.2,.8,.2,1) both}@keyframes first-left{0%{opacity:0;transform:translate(0) rotate(0) scale(.8)}to{opacity:1;transform:translate(-60px) rotate(-14deg) scale(.88)}}@keyframes first-right{0%{opacity:0;transform:translate(0) rotate(0) scale(.8)}to{opacity:1;transform:translate(60px) rotate(14deg) scale(.88)}}@keyframes first-front{0%{opacity:0;transform:translateY(18px) scale(.92)}to{opacity:1;transform:translateY(-4px) scale(1)}}@keyframes first-badge{0%{opacity:0;transform:scale(.6) rotate(-30deg)}to{opacity:1;transform:scale(1) rotate(0)}}@media(max-height:700px){.first-video{padding-top:10px}.first-video-scene{height:210px;margin-bottom:14px}}@media(prefers-reduced-motion:reduce){.first-video *{animation:none!important}}.payment-debt-note{margin:12px 0;padding:10px 12px;border-radius:12px;background:var(--soft-amber);color:var(--amber);font-size:13px;line-height:20px}.generation-price-note{margin:12px 0;color:var(--muted);font-size:13px;line-height:20px}.price-line>strong{text-align:right}.price-line>strong>small{display:block;margin-top:4px;color:var(--muted);font-size:13px;font-weight:400}dialog.topup-dialog{position:fixed;inset:var(--overlay-viewport-top, 0px) 0 auto;width:min(100%,440px);max-width:100%;height:var(--overlay-viewport-height, 100dvh);max-height:none;margin:0 auto;padding:0;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}dialog.topup-dialog[open]{display:flex;align-items:flex-end}.topup-dialog .dialog-inner{position:relative;flex:0 0 100%;min-height:0;max-height:calc(100% - max(12px,var(--safe-top, 0px)));overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;padding:34px 20px calc(20px + var(--safe-bottom, 0px));border-radius:26px 26px 0 0;background:var(--surface)}.topup-dialog .dialog-inner:before{position:absolute;top:20px;left:calc(50% - 17px);width:34px;height:4px;border-radius:2px;background:var(--line);content:""}.topup-dialog .dialog-heading{margin-bottom:8px;gap:6px}.topup-dialog .dialog-heading h2{font-size:24px;font-weight:700;line-height:32px;letter-spacing:-.45px}.topup-dialog .dialog-heading .icon-button{flex:0 0 36px;width:36px;min-width:36px;min-height:36px;color:var(--muted)}.topup-dialog .topup-shortfall{margin:12px 0 16px;text-align:center;color:var(--amber);font-size:13px;line-height:20px}.payment-methods{display:grid;gap:10px;margin-top:24px}.topup-dialog .payment-method{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;width:100%;min-height:76px;padding:15px 12px;border:1px solid var(--line);border-radius:16px;background:var(--canvas);color:var(--ink);text-align:center}.topup-dialog .payment-method:not(:disabled):hover{border-color:var(--accent)}.topup-dialog .payment-method:not(:disabled):active{background:var(--subtle)}.payment-method-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px}.payment-method-icon svg{width:28px;height:28px}.payment-method-icon.stars{color:#f5c654;background:#342b18}.payment-method-icon.crypto{color:#65c9a6;background:#16382c}.payment-method-icon.sbp{color:var(--ink);background:var(--soft-gray)}.payment-method-copy{display:grid;gap:4px;min-width:0;flex:1}.payment-method-copy strong{font-size:16px;line-height:21px;font-weight:650}.payment-method-copy small{color:var(--muted);font-size:12px;line-height:17px}.payment-method-arrow{justify-self:center;width:19px;height:19px;flex:0 0 19px;color:var(--muted)}.topup-dialog .payment-method.unavailable{opacity:1;cursor:not-allowed;color:var(--muted);border-color:#30343a;background:#1b1d20}.payment-method.unavailable .payment-method-icon{filter:grayscale(1) blur(.4px);opacity:.6}.payment-method-unavailable{flex-shrink:0;font-size:10px;line-height:18px;padding:2px 6px;border-radius:5px;background:var(--soft-gray);color:var(--muted)}.stars-form{margin-top:18px}.stars-form-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;align-items:center;margin-bottom:16px}.stars-form-heading .icon-button{flex:0 0 44px;width:44px;min-height:44px;border:1px solid var(--line);border-radius:12px}.stars-form-heading h3{display:flex;justify-content:center;align-items:center;gap:7px;font-size:17px;margin:0}.stars-form-heading h3 svg{width:21px;height:21px;color:#f5c654}.stars-amount-label{display:block;text-align:center;margin-bottom:8px;font-size:14px}.stars-amount-field{position:relative;padding:0 68px;background:var(--canvas);border:1px solid var(--line);border-radius:14px}.stars-amount-field:focus-within{outline:2px solid var(--accent);outline-offset:2px}.stars-amount-field.invalid{border-color:var(--danger)}.stars-amount-field input{min-width:0;width:100%;height:64px;padding:8px 0;text-align:center;border:0;border-radius:0;outline:none;background:transparent;color:var(--ink);font-size:30px;font-weight:650;font-variant-numeric:tabular-nums}.stars-amount-field>span{position:absolute;right:12px;top:0;height:100%;display:flex;align-items:center;gap:5px;color:var(--muted)}.stars-amount-field svg{width:20px;height:20px;color:#f5c654}.stars-amount-hint{text-align:center;margin:9px 0 0;font-size:12px;color:var(--muted)}.stars-amount-error{text-align:center;min-height:19px;margin:4px 0 0;color:var(--danger);font-size:12px}.payment-summary{display:grid;gap:10px;padding:12px 0;margin:0 0 12px;text-align:center}.payment-summary>div{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:13px;color:var(--muted)}.payment-summary strong{color:var(--accent);font-size:30px;line-height:36px}.payment-summary>div>:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}.topup-dialog .terms-check:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.topup-dialog .terms-check label{display:inline-flex;align-items:center;min-height:44px;white-space:pre}.topup-dialog .dialog-heading .icon-button{min-width:44px;min-height:44px}.topup-dialog .payment-remaining{text-align:center;margin:-4px 0 14px;color:var(--amber);font-size:12px;line-height:18px}.topup-dialog .terms-check{display:flex;justify-content:center;align-items:center;gap:10px;min-height:44px;margin:0 0 16px;font-size:14px;line-height:20px}.topup-dialog .terms-check input{width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:var(--accent)}.topup-dialog .terms-check>span{min-width:0}.topup-dialog .terms-check label{cursor:pointer}.topup-dialog .terms-check button{display:inline-flex;align-items:center;min-height:44px;padding:0;color:var(--accent);font-size:inherit;line-height:inherit;text-decoration:underline;text-underline-offset:3px;text-align:center}.topup-dialog .payment-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;font-size:17px;line-height:22px}.topup-dialog .payment-submit svg{width:22px;height:22px;flex:0 0 22px}.topup-dialog .payment-footnote{margin:18px 0 0;color:var(--muted);font-size:12px;line-height:20px;text-align:center}.topup-dialog .payment-status{margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--subtle);color:var(--ink);font-size:14px;line-height:21px}.topup-dialog .payment-status[data-status=failed],.topup-dialog .payment-status[data-status=expired]{background:var(--soft-amber);color:var(--amber)}.topup-dialog .payment-status[data-status=credited]{background:var(--soft-green);color:var(--green)}.topup-dialog .payment-status .text-button{display:block;min-height:36px;padding:8px 0 0;color:var(--accent);font-size:13px;text-align:center}.topup-dialog .payment-status .small-spinner{width:14px;height:14px;margin-right:8px;vertical-align:-2px}@media(max-width:359px){.topup-dialog .dialog-inner{padding-inline:16px}.topup-dialog .dialog-heading h2{font-size:20px}.topup-dialog .dialog-heading{padding-inline:28px}}@media(max-height:700px){.topup-dialog .dialog-inner{padding-top:24px;padding-bottom:calc(12px + var(--safe-bottom, 0px))}.topup-dialog .dialog-inner:before{top:10px}.topup-dialog .payment-footnote{margin-top:8px}.topup-dialog .topup-shortfall{margin-block:8px 10px}.topup-dialog .terms-check{margin-bottom:8px}}.crypto-form form,.crypto-invoice{display:grid;gap:12px}.crypto-form .stars-form-heading{margin-bottom:16px}.crypto-form .payment-summary{margin:0;padding:12px 0}.crypto-form .terms-check{margin:0}.crypto-status{text-align:center;margin:0;font-size:16px;line-height:24px}.crypto-status small{display:block;margin-top:4px;font-size:12px;line-height:18px;color:var(--muted)}.crypto-details{text-align:center;color:var(--muted);font-size:12px}.crypto-details summary{display:list-item;padding:12px 0;cursor:pointer}.crypto-order-id{display:block;padding-bottom:8px;overflow-wrap:anywhere;font-size:11px}.crypto-invoice>.text-button{width:100%;min-height:44px}.crypto-invoice .payment-submit{margin:0}:root[data-keyboard-open=true] .topup-dialog .dialog-inner{padding-bottom:12px}.character-dialog .dialog-inner{display:flex;flex-direction:column;min-height:0;height:100%;padding:20px}.dialog.character-dialog{container:character-sheet / size;height:min(700px,calc(var(--app-viewport-height, 100dvh) - var(--dialog-top) - var(--dialog-bottom)));overflow:hidden}.character-dialog .dialog-heading{flex:0 0 auto;margin-bottom:12px}.character-handle{display:none}.character-total{color:var(--muted);font-size:12px;margin-top:-10px;margin-bottom:12px}.character-controls{flex-shrink:0}.character-search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--canvas);border-radius:12px;padding:0 12px}.character-search svg{color:var(--muted);width:20px;height:20px}.character-search input{background:none;border:0;flex:1;width:100%;padding:12px 0}.character-search:focus-within{outline:2px solid var(--accent)}.character-search input:focus-visible{outline:none}.character-categories{display:flex;gap:5px;overflow:auto;scrollbar-width:none;margin:12px 0}.character-categories button{flex:1 0 auto;min-height:44px;padding:8px 11px;border-radius:12px;color:var(--muted);font-size:13px;font-weight:600}.character-categories button.selected{background:var(--subtle);color:var(--accent)}.character-add-custom{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;color:var(--accent);background:var(--subtle);border-radius:12px;margin-bottom:16px}.character-plus-disc{display:grid;place-items:center}.character-plus-disc svg{width:20px;height:20px}.character-catalog{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:2px 2px 8px}.character-panel[hidden]{display:none}@container character-sheet (max-height: 480px){.character-dialog .dialog-inner{padding:12px}.character-dialog .dialog-heading{margin-bottom:4px}.character-total{display:none}.character-categories{margin-block:6px}.character-add-custom{min-height:44px;margin-bottom:8px}.character-catalog .character-grid{grid-template-columns:1fr;gap:6px}.character-catalog .character-tile{display:flex;align-items:center;gap:10px}.character-catalog .character-picture{width:48px;height:56px;flex:0 0 48px}.character-catalog .character-tile strong{margin:0;text-align:left}}.character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.character-tile{padding:6px;border:1px solid var(--line);background:var(--surface);border-radius:14px;text-align:center;min-width:0}.character-tile.selected{border:2px solid var(--accent);padding:5px;background:var(--subtle)}.character-picture{display:block;aspect-ratio:1;overflow:hidden;border-radius:9px;background:var(--canvas)}.character-picture img{width:100%;height:100%;object-fit:cover}.character-tile strong{display:block;font-size:12px;line-height:1.35;font-weight:500;margin:9px 4px 4px;overflow-wrap:anywhere}.character-empty{padding:28px 12px;text-align:center;color:var(--muted)}.selection-hint{color:var(--muted);margin:0 0 14px}.selection-frame{position:relative;margin:0 auto;background:var(--soft-gray);border-radius:12px;overflow:hidden;min-height:60px}.selection-frame img{display:block;width:100%;height:100%;object-fit:contain}.selection-frame>svg{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.selection-frame>p{padding:12px}.selection-tools{display:flex;justify-content:center;margin:6px 0}.selection-reset,.selection-box-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;color:var(--accent);font-size:14px}.selection-reset svg{width:18px;height:18px}.selection-adjust{padding:12px;margin:0 0 12px;background:var(--canvas);border-radius:12px}.selection-adjust p{font-size:12px;color:var(--muted)}.selection-move{display:flex;gap:8px;margin:12px 0}.selection-move button{flex:1;min-width:0;padding:10px;min-height:44px}.selection-adjust label{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px}.selection-adjust input{width:65%;min-width:0}.selection-box-toggle{width:100%;margin-top:4px}.target-dialog .dialog-heading{margin-bottom:10px}.selection-save{margin-top:6px}.custom-warning{display:flex;gap:10px;padding:14px;background:var(--soft-amber);border-radius:14px;margin-bottom:18px;color:var(--amber)}.custom-warning>svg{width:22px;height:22px}.custom-warning h3{font-size:15px;line-height:1.35}.custom-warning p{font-size:12px;line-height:1.5;margin-top:8px}.custom-kind{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}.custom-kind legend{font-size:15px;font-weight:600;margin-bottom:8px}.custom-kind label{display:flex;align-items:center;gap:6px;min-height:44px;flex:1;border:1px solid var(--line);border-radius:12px;padding:8px}.custom-kind label:has(input:checked){border-color:var(--accent);background:var(--subtle)}.custom-consent{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5;margin-bottom:18px}.custom-consent input{margin:0;min-width:20px}.custom-error{color:var(--danger);background:#382321;padding:12px;border-radius:12px;margin-bottom:12px}.custom-file-button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:84px;width:100%;text-align:left;border:1px dashed var(--line);background:var(--subtle);border-radius:14px;padding:16px;margin-bottom:16px}.custom-file-button>svg{color:var(--accent)}.custom-file-button span{flex:1}.custom-file-button strong,.custom-file-button small{display:block}.custom-file-button small{color:var(--muted);font-size:12px;margin-top:4px}.custom-preview{display:flex;align-items:center;gap:16px;border:1px solid var(--line);border-radius:14px;padding:12px;margin-bottom:16px}.custom-preview>img{width:100px;height:125px;object-fit:contain;background:var(--canvas);border-radius:10px}.custom-preview div{min-width:0}.custom-preview strong,.custom-preview span{display:block}.custom-preview span{font-size:12px;color:var(--muted);margin-top:4px}.custom-preview .text-button{font-size:13px}.custom-privacy{color:var(--muted);font-size:12px;margin:12px 0 16px}.custom-privacy summary{padding:10px 0;cursor:pointer}.custom-privacy p{line-height:1.5}.custom-upload-dialog .custom-lifetime{margin-bottom:10px}@media(max-width:359px){.character-dialog .dialog-inner{padding:16px}.character-grid{gap:8px}.character-categories{gap:2px}.character-categories button{padding-inline:8px;font-size:12px}.custom-preview>img{width:80px;height:100px}}
