@font-face{font-family:Inter;src:url('/media/inter-cyrillic.woff2') format('woff2');font-weight:400 850;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;src:url('/media/inter-latin.woff2') format('woff2');font-weight:400 850;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+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{--canvas:#251536;--sheet:#342143;--ink:#fff5ed;--muted:#d1bed9;--line:#503961;--orange:#ff8954;--orange-ink:#361b23;--dark:#1b1029;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--dark);color:var(--ink);font:500 15px/1.45 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-tap-highlight-color:transparent}button,input,select,a{font:inherit}button{color:inherit;cursor:pointer;background:none;border:0}a{color:var(--orange)}button:focus-visible,select:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ffb880;outline-offset:3px}button:disabled{opacity:.6;cursor:wait}button:active:not(:disabled){transform:translateY(1px)}.shell{max-width:800px;min-height:100vh;min-height:100svh;margin:auto;background:radial-gradient(ellipse at 98% 0%,#432252 0,transparent 43%),var(--canvas);position:relative;padding-bottom:calc(91px + env(safe-area-inset-bottom))}
header{padding:calc(17px + env(safe-area-inset-top)) 20px 0}.top{display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:9px;padding:0;font-size:21px;letter-spacing:-.07em;font-weight:800;line-height:1}.brand img{border-radius:11px;width:36px;height:36px;object-fit:cover}.help,.small-round{border:1px solid #74577e;border-radius:50%;width:36px;height:36px;font-weight:650;font-size:17px;color:var(--muted);display:grid;place-items:center}.help{background:#34203f}
main{padding:26px 20px 16px;outline:0}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.08;letter-spacing:-.055em;text-wrap:balance}h1{font-weight:800;font-size:clamp(33px,8.6vw,57px);margin:0 0 19px}h2{font-size:25px;margin:24px 0 13px;font-weight:750}h3{font-size:21px}.muted,.lead{color:var(--muted)}.lead{margin:-6px 0 19px;line-height:1.5}.fine{font-size:12px;color:var(--muted);line-height:1.5}.ico{width:23px;height:23px;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.upload-banner,.wide-button,.solid,.ghost,.drop,.project,.choice,.feature,.mini-card,.listlink{transition:background-color .15s ease,transform .15s ease}.upload-banner{width:100%;background:var(--orange);color:var(--orange-ink);border-radius:18px;min-height:84px;padding:13px 16px;display:flex;gap:12px;align-items:center;text-align:left;box-shadow:0 6px 20px #10051322}.upload-banner b{font-weight:800;font-size:clamp(17px,4.5vw,23px);letter-spacing:-.05em}.upload-banner small,.project small{display:block;margin-top:2px;font-size:12px}.upload-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1.5px solid #753d36;border-radius:13px}.upload-icon .ico{width:25px;height:25px;stroke-width:1.9}.end{margin-left:auto;flex:none}.label{font-size:10px;font-weight:750;letter-spacing:.13em;text-transform:uppercase;color:#ffd0b8}.time{font-variant-numeric:tabular-nums;font-size:11px;font-weight:650;color:#fff;background:#1c102cd6;border:1px solid #fff4;border-radius:6px;padding:3px 6px}
.feature{width:100%;position:relative;isolation:isolate;text-align:left;min-height:187px;display:grid;grid-template-columns:1.05fr 1fr;background:#583064;border-radius:19px;overflow:hidden;padding:0}.feature-art{width:100%;height:100%;object-fit:cover;object-position:50% 43%;position:absolute;right:0;top:0;width:52%;z-index:-2}.feature:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#52265d 0%,#52265d 39%,#52265d9a 50%,transparent 62%);z-index:-1}.feature-copy{display:flex;align-items:flex-start;flex-direction:column;padding:19px 0 16px 17px}.feature h3{font-size:clamp(28px,7.1vw,42px);letter-spacing:-.061em;color:#fff7e9;margin:10px 0 4px;max-width:7em}.feature .meta{font-size:12px;color:#f0d9ed}.feature .see{margin-top:auto;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:750;color:#ffccb0;padding-top:13px}.feature .see .ico{width:15px;height:15px}.feature .time,.mini-card .time{position:absolute;top:11px;right:11px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:13px}.mini-card{min-width:0;border-radius:14px;position:relative;text-align:left;padding:0;overflow:hidden;background:var(--sheet);border:1px solid var(--line)}.mini-card img{width:100%;height:100px;display:block;object-fit:cover;object-position:center 42%}.mini-card .name{display:block;font-size:16px;font-weight:750;letter-spacing:-.04em;padding:9px 11px 0}.mini-card .meta{display:block;font-size:11px;color:var(--muted);padding:1px 11px 11px}.mini-card .time{top:7px;right:7px}
nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:800px;padding:8px 14px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #ffffff15;background:#23152ff5;backdrop-filter:blur(14px);z-index:5}.nav-inner{display:flex;justify-content:space-around}.nav-inner button{font-size:11px;min-height:42px;min-width:75px;display:flex;gap:3px;align-items:center;flex-direction:column;color:#c7aecf}.nav-inner .ico{width:21px;height:21px}.nav-inner button[aria-current=page]{color:#ffa577;font-weight:750}
.back,.text-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 0;color:#ffb692;font-weight:650}.back{color:var(--muted);font-size:13px;margin:-9px 0 13px}.back .ico{width:16px;height:16px}.solid,.ghost,.wide-button,.drop,.project,.choice{border-radius:14px}.solid,.ghost,.wide-button{padding:14px 17px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:8px;min-height:49px;text-decoration:none;text-align:center;width:100%;margin-top:11px}.solid{background:var(--orange);color:var(--orange-ink)}.ghost,.wide-button{color:#ffe6dc;background:#3c274c;border:1px solid #62466d}.row{display:flex;align-items:center;gap:12px}.row-between{display:flex;justify-content:space-between;align-items:center;gap:10px}.meta{color:var(--muted);font-size:13px}.tagline{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0 20px}.chip{font-size:12px;line-height:1.3;color:#f5dfee;background:#3a2449;border:1px solid #594065;border-radius:22px;padding:5px 9px}.detail-video{display:block;max-width:100%;width:100%;max-height:min(50svh,420px);aspect-ratio:16/10;border-radius:18px;background:#180e20;object-fit:contain}.drop{border:1.5px dashed #a678bb;display:grid;padding:34px 15px;place-items:center;width:100%;gap:8px;text-align:center;background:#462752}.drop b{font-size:20px;letter-spacing:-.04em}.drop .ico{width:30px;height:30px;color:#ffab80}.drop small{color:#e3cce8}.project,.choice,.listlink{padding:14px;display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin-top:8px;background:#362242;border:1px solid var(--line)}.project strong,.choice strong{font-size:15px;font-weight:650}.project small{color:var(--muted)}.project-thumb{width:48px;height:56px;object-fit:cover;border-radius:7px;flex:none}.project-icon,.thumb-fallback{display:grid;place-items:center;width:46px;height:48px;flex:none;color:#ffad83;background:#4c3054;border-radius:9px}.choice.selected{border-color:var(--orange);background:#4a2a42}.indicator{width:16px;height:16px;border:1px solid #94799d;border-radius:50%}.selected .indicator{border:5px solid var(--orange)}.step{font-size:12px;font-weight:650;color:#ffb794;margin:0 0 8px}.progress{display:flex;gap:4px;margin:0 0 18px}.progress i{height:3px;background:#513963;flex:1;border-radius:3px}.progress i.on{background:var(--orange)}.quality-price{margin-left:auto;font-weight:750}.shortcuts{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.shortcuts button{padding:8px 12px;border:1px solid #654b70;border-radius:24px;font-size:13px}.shortcuts button[aria-pressed=true]{color:#281627;background:#ffb18c;border-color:#ffb18c}
.person{padding:12px;margin:10px 0;background:var(--sheet);border-radius:13px}.person .project-thumb{width:40px;height:46px}.person select,dialog input{border:1px solid #82658a;border-radius:9px;background:#2d1a39;color:var(--ink);padding:8px 10px;font-size:14px;max-width:100%}.person select{display:block;margin-top:4px}.remove{margin-left:auto;color:#d9c3dc;font-size:21px;min-width:36px;min-height:36px}.summary{margin:16px 0;background:var(--sheet);border-radius:14px;padding:7px 15px}.summary div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14px}.summary div:last-child{border:0}.summary span{color:var(--muted)}.summary b{text-align:right}.price-table{width:100%;border-collapse:collapse;margin:18px 0;font-size:14px;font-variant-numeric:tabular-nums}.price-table th,.price-table td{text-align:right;padding:11px 3px;border-bottom:1px solid var(--line)}.price-table th{color:var(--muted);font-size:12px}.price-table :is(td,th):first-child{text-align:left}.empty{padding:18px;background:var(--sheet);border-radius:14px;color:var(--muted)}dialog{border:1px solid #70517e;border-radius:19px;background:#34213f;color:var(--ink);max-width:min(400px,92vw);width:100%;padding:23px}dialog h2{margin:0 0 13px}dialog p{margin:9px 0}dialog::backdrop{background:#100916bb}.close-sheet{margin-top:12px}dialog input{width:100%;margin:10px 0 0;min-height:45px}#toast{position:fixed;left:50%;bottom:calc(78px + env(safe-area-inset-bottom));transform:translateX(-50%);width:max-content;max-width:min(90%,570px);z-index:15;color:#261429;background:#ffe2ca;border-radius:12px;padding:10px 15px;box-shadow:0 2px 14px #160c2370;font-weight:650;font-size:14px;pointer-events:none}#toast:empty{display:none}.inline-note{margin:12px 0}.code{font:650 18px ui-monospace,monospace;letter-spacing:.03em;color:#ffd1b7;user-select:all}.stack>*+*{margin-top:10px}.role-summary{line-height:1.6}.sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
@media(min-width:600px){header{padding:27px 34px 0}main{padding:32px 34px 22px}.feature{min-height:260px}.feature-copy{padding:24px}.feature-art{object-position:50% 41%}.mini-card img{height:142px}.upload-banner{padding:16px 21px}.grid{gap:16px}.shell{border-inline:1px solid #452b51}}@media(max-width:350px){main{padding-inline:14px}header{padding-inline:14px}.upload-banner{gap:9px;padding-inline:11px}.upload-icon{width:37px;height:37px}.feature{min-height:170px}.feature-copy{padding-left:14px}.mini-card .name{font-size:15px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.clip-preview{position:relative;isolation:isolate;background:#170d20;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.clip-preview video{display:block;width:100%;height:clamp(150px,31vh,285px);object-fit:contain}
.clip-play{position:absolute;bottom:10px;left:10px;min-height:36px;padding:7px 12px;color:white;background:#1c112ced;border:1px solid #927b9a;border-radius:20px;font-size:13px;font-weight:650}
.preview-note,.clip-panel{background:var(--sheet);border:1px solid var(--line);border-radius:15px;padding:14px}
.preview-note{color:var(--muted);margin-bottom:10px}
.clip-panel{margin:12px 0}
.clip-label,.clip-axis{display:flex;align-items:center;justify-content:space-between;gap:10px;font-variant-numeric:tabular-nums}
.clip-label label{font-weight:700}.clip-label output{color:#ffb992;font-size:14px;font-weight:650}
.clip-slider{display:block;width:100%;height:46px;margin:5px 0 0;padding:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:ew-resize}
.clip-slider::-webkit-slider-runnable-track{height:28px;border-radius:7px;background:repeating-linear-gradient(90deg,transparent 0 calc(10% - 1px),#755682 calc(10% - 1px) 10%),#503461}
.clip-slider::-moz-range-track{height:28px;border-radius:7px;background:repeating-linear-gradient(90deg,transparent 0 calc(10% - 1px),#755682 calc(10% - 1px) 10%),#503461}
.clip-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;border:2px solid var(--orange);width:var(--segment-width);height:30px;margin-top:-1px;border-radius:7px;background:linear-gradient(90deg,#ffb489 0 2px,transparent 2px calc(100% - 2px),#ffb489 calc(100% - 2px)),#b86f52}
.clip-slider::-moz-range-thumb{box-sizing:border-box;border:2px solid var(--orange);width:var(--segment-width);height:30px;border-radius:7px;background:linear-gradient(90deg,#ffb489 0 2px,transparent 2px calc(100% - 2px),#ffb489 calc(100% - 2px)),#b86f52}
.clip-axis{color:var(--muted);font-size:12px}
.clip-details{border-top:1px solid var(--line);margin-top:12px}
.clip-details summary{padding:12px 0 2px;color:#ffd1b6;cursor:pointer;font-size:14px}
.clip-details summary:focus-visible{outline:3px solid #ffb880;outline-offset:3px}
.clip-details input{width:100%;height:32px;margin:3px 0 0;accent-color:var(--orange)}
.clip-replace{display:block;margin:8px auto 0;min-height:42px}

/* The owner has one extra navigation item on narrow Telegram screens. */
.nav-inner button{min-width:0;flex:1 1 0;padding-inline:2px}
.nav-inner span{line-height:1.18}
.wallet-balance{padding:20px;border-radius:20px;background:linear-gradient(115deg,#49304e,#382148);border:1px solid #79566e}
.wallet-balance p{color:#eddbe8}.wallet-balance>strong{display:block;margin:3px 0 5px;font-size:clamp(34px,10vw,52px);line-height:1.12;letter-spacing:-.06em;color:#fff5ed;font-variant-numeric:tabular-nums}
.wallet-estimate{margin:16px 0;padding:16px;background:var(--sheet);border-radius:14px;border:1px solid var(--line);display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.wallet-estimate label{font-weight:650}.wallet-estimate select{font:inherit;color:var(--ink);border:1px solid #81618c;border-radius:8px;padding:6px;background:#302039}
.wallet-estimate p{flex-basis:100%;font-size:14px}.wallet-estimate p span,.wallet-entry small{color:var(--muted)}
.wallet-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 8px}
.wallet-history-head h2{margin:0;font-size:22px}.wallet-history-head .text-btn{font-size:13px}
.wallet-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px 2px;border-top:1px solid var(--line);text-align:left;text-decoration:none;color:var(--ink)}
.wallet-entry span,.wallet-entry small{display:block}.wallet-entry small{font-size:12px;margin-top:2px}
.wallet-entry b{white-space:nowrap;font-variant-numeric:tabular-nums}.wallet-entry .incoming{color:#b7efbe}
.wallet-notice{background:#372940;border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:12px}
.accept-wallet{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:16px 0 8px}.accept-wallet input{width:20px;height:20px;accent-color:var(--orange)}
.short-trials{padding-top:4px}.short-trials h2{font-size:19px;margin-bottom:5px}.short-trials .shortcuts{margin:8px 0 14px}
.hero-hint{margin:12px 0}
.person{padding:14px}
.hero-heading .remove{min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.top{gap:10px}.top .help{flex:none;white-space:nowrap;width:auto;min-height:44px;height:auto;border-radius:22px;padding:5px 12px;font-size:13px}
.wallet-entry .ico{flex:none;width:18px;height:18px}.wallet-entry b{margin-left:auto}
.hero-placement{display:block}
.cast-result{margin:12px 0 5px;line-height:1.4}
.cast-options summary{width:fit-content;color:#ffb692;padding:9px 0;cursor:pointer;font-size:13px}
.cast-options summary:focus-visible{outline:3px solid #ffb880;outline-offset:3px}
.hero-placement select{min-height:44px;width:100%;font-weight:550}
.draft-notice{margin:12px 0 16px;padding:10px 13px;border-left:3px solid var(--orange);font-size:14px;line-height:1.4;color:var(--ink)}
.source-frame{margin:8px 0 12px}.source-frame summary{min-height:44px;align-content:center;width:fit-content;cursor:pointer;color:#ffb692;font-size:14px}
.source-frame img{display:block;max-width:100%;max-height:280px;border-radius:12px;margin-bottom:12px}

.quality-context{margin:0 0 10px;font-weight:650;color:var(--muted)}
.sample-option{margin-top:18px}.sample-option p{margin:7px 0 0}
#sample-form{display:grid;gap:10px}
#sample-form p{margin:0}
.sample-lengths{margin:8px 0 0;padding:0;border:0;display:flex;gap:8px;flex-wrap:wrap}
.sample-lengths legend,.sample-time label{font-weight:700}
.sample-lengths legend{margin-bottom:6px}
.sample-lengths label{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;min-height:44px;border:1px solid var(--line);border-radius:12px}
.sample-lengths label:has(input:checked){border-color:var(--orange);background:#512e41}
.sample-lengths input{accent-color:var(--orange);margin:0;padding:0;min-height:0;width:16px;height:16px}
.sample-frame{position:relative;background:#170f20;border-radius:14px;overflow:hidden}
.sample-frame[hidden]{display:none}
.sample-frame video{width:100%;height:clamp(120px,23vh,195px);display:block;object-fit:contain}
#sample-play{position:absolute;right:8px;bottom:7px;min-height:36px;border-radius:10px;padding:6px 10px;background:#281a32ed;color:#fff;font-size:13px}
#sample-play:disabled{visibility:hidden}
.sample-time{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px}
#sample-times{font-variant-numeric:tabular-nums;color:#ffb899}
#sample-start{width:100%;margin:0;height:34px;accent-color:var(--orange)}
#sample-form .solid{margin-top:2px}
#sample-error:empty{display:none}
