@font-face{font-family:Vazirmatn;src:url("https://fonts.gstatic.com/s/vazirmatn/v13/Dxxo8j6PP2DvtWbHnDg.woff2") format("woff2");font-weight:100 900;font-display:swap}*{box-sizing:border-box} :root{color-scheme:dark;--bg:#101012;--card:#18181b;--line:#ffffff12;--muted:#888890;--text:#f7f5f5;--pink:#f6429a;--orange:#ff9b3d}body{margin:0;background:var(--bg);color:var(--text);font-family:Vazirmatn,"Tahoma",sans-serif;min-height:100vh;overflow-x:hidden}.ambient{position:fixed;width:420px;height:420px;filter:blur(120px);opacity:.12;pointer-events:none;border-radius:50%;z-index:-1}.ambient-a{background:#fa419b;top:250px;right:-240px}.ambient-b{background:#ff9037;top:auto;bottom:-100px;left:-300px}.topbar{height:72px;position:sticky;top:0;z-index:20;max-width:1100px;margin:auto;padding:0 26px;display:flex;align-items:center;gap:15px;border-bottom:1px solid #ffffff12;background:rgba(16,16,18,.76);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:0;text-decoration:none;color:inherit;margin-left:auto}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:linear-gradient(135deg,#f9439a,#9d49e8);font-size:25px;box-shadow:0 8px 24px #f6429a33}.brand b{display:block;font-size:16px}.brand small,.user-name small{display:block;color:var(--muted);font-size:11px}.icon-btn,.close{border:1px solid var(--line);background:#1a1a1e;color:#eee;width:43px;height:43px;border-radius:15px;display:grid;place-items:center;cursor:pointer}.icon-btn svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.user-box{display:flex;align-items:center;gap:10px}.avatar{width:43px;height:43px;border-radius:15px;display:grid;place-items:center;background:#1a1a1e;border:1px solid var(--line);color:#eee;font-size:16px}.user-name{min-width:70px}.user-name b{font-size:12px;display:block}.coin-pill{border:1px solid var(--line);background:#1a1a1e;border-radius:15px;min-height:43px;padding:8px 12px;display:flex;align-items:center;gap:7px;color:#eee;cursor:pointer;font:inherit}.coin-pill span{color:#e8c878}.coin-pill b{font-size:12px}.coin-pill small{font-size:10px;color:#ffcb72}.coin-pill i{font-style:normal;color:#ffc452}main{max-width:1000px;padding:12px 24px 24px;margin:auto}.welcome{min-height:250px;display:flex;align-items:center;justify-content:space-between;padding:25px 7% 35px}.eyebrow{color:#d0acbe;font-size:12px;letter-spacing:.03em}.eyebrow i{display:inline-block;width:7px;height:7px;border-radius:9px;background:#f64a9a;margin-left:6px;box-shadow:0 0 15px #f64a9a}.welcome h1{font-size:45px;line-height:1.35;margin:13px 0 8px;letter-spacing:-1.5px}.welcome h1 em{font-style:normal;color:#fa76b4}.welcome p{font-size:13px;color:#96949b;margin:0}.hero-disc{width:175px;height:175px;border-radius:50%;background:repeating-radial-gradient(circle,#252329 0 2px,#17171a 3px 6px);display:grid;place-items:center;position:relative;box-shadow:0 0 70px #ec438a1e}.disc-center{width:57px;height:57px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(140deg,#f8a156,#e54891);font-size:27px}.orbit{position:absolute;border:1px solid #ff87b233;border-radius:50%;inset:-13px}.o2{inset:-28px;border-color:#ff87b21a}.studio{max-width:720px;margin:0 auto}.studio-head{display:flex;justify-content:space-between;align-items:center;margin:5px 0 14px}.studio-head h2{font-size:22px;margin:3px 0}.model-tag{font-size:11px;color:#e9acd0;border:1px solid #e45f9a30;padding:8px 12px;border-radius:12px;background:#ec5d9c0a}.split-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:15px}.upload-card{display:flex;align-items:center;gap:12px;text-align:right;padding:18px;border:1px solid var(--line);background:var(--card);color:white;border-radius:20px;cursor:pointer;font:inherit;transition:.2s}.upload-card:hover,.field-card:focus-within{border-color:#f45a9c66;transform:translateY(-1px)}.upload-icon{font-size:25px;color:#f47cb0;background:#282027;width:45px;height:45px;border-radius:15px;display:grid;place-items:center}.upload-card b{display:block;font-size:13px}.upload-card small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.field-card{display:block;background:var(--card);border:1px solid var(--line);border-radius:22px;padding:20px 22px;margin:14px 0;transition:.2s}.field-title{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600}.field-title small{font-weight:400;color:#73737d;font-size:10px;margin-right:auto}.chevron{color:#b6b3ba;font-size:22px;line-height:15px}.field-card textarea,.field-card>input{width:100%;resize:vertical;min-height:95px;margin-top:18px;background:transparent;border:0;color:#f8f6f6;outline:none;font:400 14px/2 Vazirmatn,Tahoma,sans-serif}.field-card>input{min-height:35px;resize:none}.field-card textarea::placeholder,.field-card input::placeholder{color:#686870}.field-tools{display:flex;align-items:center;justify-content:space-between;color:#77747d;font-size:10px}.tool-chip,.suggestion{background:#242327;color:#d1cdd3;border:1px solid var(--line);border-radius:999px;padding:9px 13px;font:inherit;cursor:pointer}.tool-chip.active{background:#f5e9ef;color:#1a1518}.chips{display:flex;gap:8px;overflow:auto}.suggestion{white-space:nowrap;padding:6px 11px;font-size:10px;color:#d8bacb}.options{padding:0 22px 15px}.options summary{list-style:none;padding:20px 0;cursor:pointer}.options summary::-webkit-details-marker{display:none}.options[open] .chevron{transform:rotate(180deg)}.option-row{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:center;border-top:1px solid var(--line);padding:14px 0;font-size:12px;color:#d6d2d7}.option-row select,.option-row input:not([type=range]){background:#222126;border:1px solid var(--line);padding:9px;border-radius:10px;color:#fff;font:inherit}.slider-row input{accent-color:var(--pink)}.slider-row label span{float:left;color:#e7a3c2}.create-btn{width:100%;border:0;border-radius:18px;padding:17px;background:linear-gradient(105deg,#eb438e,#c442ab 55%,#8e56d9);color:#fff;font:700 16px Vazirmatn,sans-serif;box-shadow:0 10px 35px #d03a871f;cursor:pointer;transition:.2s}.create-btn:hover{filter:brightness(1.12);transform:translateY(-1px)}.create-btn:disabled{opacity:.55;cursor:wait}.create-btn span{font-size:19px;vertical-align:middle}.create-btn small{font-size:11px;margin-right:8px;opacity:.8}.fineprint{text-align:center;color:#76737a;font-size:10px}.admin-panel{max-width:720px;margin:80px auto 0;padding-top:20px;border-top:1px solid var(--line)}.plan-list{display:grid;gap:9px;margin:15px 0}.plan-item{display:flex;align-items:center;justify-content:space-between;background:var(--card);padding:13px 16px;border-radius:14px;font-size:12px}.plan-item button{background:#3a2028;border:0;color:#ff8eac;border-radius:9px;padding:7px 10px;cursor:pointer}.plan-form{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.plan-form input,.plan-form button{min-width:0;background:#1c1b20;border:1px solid var(--line);border-radius:12px;color:white;padding:12px;font:inherit}.plan-form button{background:#cf438d;border:0;cursor:pointer}.hidden{display:none!important}.modal{position:fixed;inset:0;background:#000b;display:grid;place-items:center;padding:20px;z-index:5;backdrop-filter:blur(8px)}.modal-card{position:relative;width:min(440px,100%);max-height:80vh;overflow:auto;background:#1a191e;border:1px solid #ffffff1c;border-radius:23px;padding:26px}.close{position:absolute;left:15px;top:15px;font-size:23px}.modal-card h3{margin:4px 0 18px;font-size:20px}.history-row,.price-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.history-row small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.history-row em{font-style:normal;color:#eaa3c5;font-size:10px}.price-row button{border:0;border-radius:11px;background:#d84b92;color:#fff;padding:9px 12px;font:inherit;cursor:pointer}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;transition:.2s;background:#28262d;border:1px solid #ffffff1a;border-radius:13px;padding:12px 17px;font-size:12px;z-index:10;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:600px){.topbar{height:72px;padding:0 15px;gap:11px}.brand-mark{width:37px;height:37px;border-radius:13px}.brand small{font-size:9px}.user-name{display:none}.coin-pill{gap:5px;padding:7px 8px}.coin-pill small{font-size:9px}.icon-btn{width:39px;height:39px}main{padding:15px 16px 55px}.welcome{min-height:195px;padding:18px 2% 25px}.welcome h1{font-size:35px}.welcome p{font-size:11px;max-width:220px}.hero-disc{width:105px;height:105px;margin-left:12px}.disc-center{width:40px;height:40px;font-size:20px}.orbit{inset:-8px}.o2{inset:-16px}.studio-head h2{font-size:19px}.upload-card{padding:13px 11px;gap:8px;border-radius:17px}.upload-icon{width:37px;height:37px}.upload-card b{font-size:11px}.upload-card small{font-size:9px}.field-card{padding:17px;border-radius:19px}.field-card textarea,.field-card>input{font-size:13px}.field-title{font-size:13px}.field-title small{font-size:9px}.plan-form{grid-template-columns:1fr}.model-tag{font-size:9px;padding:7px 9px}}

.telegram-gate{display:none;min-height:100svh;place-content:center;justify-items:center;text-align:center;padding:28px;background:radial-gradient(ellipse at 50% 35%,#351b2b 0%,#101012 62%);direction:rtl}.telegram-gate .gate-mark{display:grid;place-items:center;width:62px;height:62px;border-radius:21px;margin-bottom:16px;background:linear-gradient(135deg,#f9439a,#9d49e8);font-size:34px;box-shadow:0 10px 36px #f6429a33}.telegram-gate h1{font-size:24px;margin:9px 0}.telegram-gate p{max-width:300px;color:#aaa;font-size:13px;line-height:1.9}.telegram-gate a{margin-top:12px;padding:11px 18px;border-radius:13px;color:white;text-decoration:none;background:#d54492}.telegram-only> :not(#telegramGate){display:none!important}.telegram-only>#telegramGate{display:grid!important}.telegram-ready>#telegramGate{display:none!important}.coin-pill span{font-size:16px}.user-name b{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:600px){.topbar{height:66px;padding:0 15px;gap:11px}main{padding:9px 16px 20px}.studio-head{margin-top:4px}}

.avatar svg,.coin-symbol svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.coin-pill b{font-size:12px;min-width:18px}.coin-pill:active{transform:scale(.97)}@media(max-width:600px){.avatar{width:39px;height:39px;border-radius:13px}.user-name{display:block;min-width:0}.user-name b{max-width:76px;font-size:10px}.coin-pill{min-height:39px;padding:7px 9px}.coin-symbol svg{width:18px;height:18px}}

.topbar{height:64px;padding:0 18px;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(16,16,18,.82)}
.user-box{display:flex;align-items:center;gap:10px;min-width:0}
.avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0;background:linear-gradient(135deg,#2a2430,#1c1b22);border:1px solid rgba(255,255,255,.12);display:grid;place-items:center;color:#e4dce8}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.avatar svg{width:19px;height:19px}
.user-name{min-width:0;display:flex;flex-direction:column;gap:2px}
.user-name b{font-size:13px;font-weight:600;max-width:165px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f5f3f7}
.user-name small{font-size:10px;color:#8e8c96;line-height:1}
.topbar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.coin-pill{height:40px;min-height:40px;padding:0 12px;border-radius:13px;background:rgba(28,26,31,.92);border:1px solid rgba(246,196,83,.24);display:inline-flex;align-items:center;gap:7px;color:#f6e7c1;transition:.18s}
.coin-pill:hover{border-color:rgba(246,196,83,.45);background:rgba(38,34,40,.95)}
.coin-symbol{display:grid;place-items:center;color:#f4c554}
.coin-symbol svg{width:17px;height:17px}
.coin-pill b{font-size:13px;font-weight:700;min-width:0;line-height:1;color:#fff7e2}
.icon-btn{width:40px;height:40px;border-radius:13px;background:rgba(28,26,31,.92);border:1px solid rgba(255,255,255,.09);color:#e4e2e8;transition:.18s}
.icon-btn:hover{border-color:rgba(255,255,255,.2);background:rgba(38,36,42,.95)}
.icon-btn svg{width:18px;height:18px}
@media(max-width:600px){.topbar{height:60px;padding:0 14px}.avatar,.icon-btn,.coin-pill{height:38px;min-height:38px}.avatar,.icon-btn{width:38px}.user-name b{max-width:120px;font-size:12px}}

.coins-view{max-width:720px;margin:0 auto;animation:fadeSlideIn .22s ease}
.coins-head{display:flex;align-items:center;gap:12px;margin:6px 0 18px}
.coins-head h2{margin:2px 0 0;font-size:20px}
.back-btn{border:1px solid rgba(255,255,255,.1);background:rgba(28,26,31,.92);color:#eee;border-radius:12px;padding:9px 13px;font:inherit;font-size:12px;cursor:pointer;flex-shrink:0}
.plans-grid{display:grid;gap:10px}
.plan-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:16px 18px}
.plan-card b{display:block;font-size:14px;margin-bottom:4px}
.plan-card small{display:block;font-size:11px;color:var(--muted)}
.plan-card button{border:0;border-radius:12px;background:linear-gradient(105deg,#eb438e,#8e56d9);color:#fff;padding:10px 15px;font:600 12px Vazirmatn,sans-serif;cursor:pointer;flex-shrink:0}
.plan-empty{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:24px;text-align:center;color:var(--muted);font-size:13px}
.sheet-modal{display:flex;align-items:flex-end;justify-content:center;padding:0;background:rgba(0,0,0,0);transition:background .26s ease}
.sheet-modal.is-open{background:rgba(0,0,0,.62)}
.sheet-card{width:min(560px,100%);max-height:78vh;border-radius:24px 24px 0 0;padding:14px 22px 26px;transform:translateY(100%);transition:transform .28s cubic-bezier(.22,1,.36,1);border-bottom:0}
.sheet-modal.is-open .sheet-card{transform:translateY(0)}
.sheet-handle{width:42px;height:4px;border-radius:99px;background:rgba(255,255,255,.2);margin:0 auto 14px}
@keyframes fadeSlideIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

html.sheet-open,body.sheet-open{overflow:hidden!important;overscroll-behavior:none}
.topbar{height:64px;padding:0 16px;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(16,16,20,.56);backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%)}
.topbar-start{position:relative;display:flex;align-items:center;min-width:40px;height:40px}
.user-pill{display:inline-flex;align-items:center;gap:9px;height:40px;padding:3px 4px 3px 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.11);color:var(--text);font:inherit;cursor:pointer;transition:opacity .22s ease,transform .22s ease,background .18s ease,border-color .18s ease}
.user-pill:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.2)}
.user-pill:active{transform:scale(.97)}
.user-pill .avatar{width:32px;height:32px;border:0}
.user-pill.is-hidden{opacity:0;transform:scale(.88);pointer-events:none;position:absolute;inset:0 auto auto 0}
.header-back-btn{transition:opacity .22s ease,transform .22s cubic-bezier(.22,1,.36,1),background .18s ease}
.header-back-btn.is-hidden{opacity:0;transform:translateX(8px) scale(.86);pointer-events:none;position:absolute}
.view-page{opacity:0;transform:translateY(8px);transition:opacity .24s ease,transform .26s cubic-bezier(.22,1,.36,1)}
.view-page.is-active{opacity:1;transform:translateY(0)}
.field-card textarea{resize:none!important;min-height:104px;margin-top:14px;line-height:1.85}
.field-card{padding:18px 20px;border-radius:20px;background:rgba(24,24,28,.88);border:1px solid rgba(255,255,255,.08)}
.field-card:focus-within{border-color:rgba(246,66,154,.4);box-shadow:0 0 0 3px rgba(246,66,154,.08)}
.create-btn{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-radius:18px;background:linear-gradient(135deg,rgba(235,67,142,.18),rgba(142,86,217,.18));border:1px solid rgba(235,67,142,.42);box-shadow:0 8px 28px rgba(235,67,142,.12);color:#fff;font-size:15px}
.create-btn:hover{background:linear-gradient(135deg,rgba(235,67,142,.26),rgba(142,86,217,.26));border-color:rgba(246,96,164,.62)}
.create-label{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.create-label i{font-style:normal;color:#ff7ab8;font-size:17px}
.create-cost{font-size:12px;font-weight:600;color:#f6e7c1;background:rgba(246,196,83,.12);border:1px solid rgba(246,196,83,.25);padding:5px 10px;border-radius:999px}
.profile-view{max-width:720px;margin:6px auto 0}
.profile-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 18px;border-radius:22px;background:rgba(24,24,28,.88);border:1px solid rgba(255,255,255,.08);margin-bottom:14px}
.profile-big-avatar{width:76px;height:76px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#2a2430,#1c1b22);border:2px solid rgba(255,255,255,.15);display:grid;place-items:center;margin-bottom:12px;color:#e4dce8}
.profile-big-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-big-avatar svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.6}
.profile-hero h2{margin:0 0 8px;font-size:18px;font-weight:700}
.profile-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.meta-chip{font-size:11px;color:#b8b5c0;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);padding:5px 10px;border-radius:999px;direction:ltr}
.profile-stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.pstat-card{background:rgba(24,24,28,.88);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:5px}
.pstat-card small{font-size:11px;color:#93909b}
.pstat-card b{font-size:22px;font-weight:700;line-height:1.2}
.pstat-card span{font-size:10px;color:#787580}
.pstat-card.accent-gold b{color:#f7cf6b}
.pstat-card.accent-pink b{color:#ff7ab8}
.pstat-card.accent-purple b{color:#b78cff}
.pstat-card.accent-blue b{color:#7cc4ff}
.skeleton-list{display:grid;gap:12px;margin-top:8px}
.skeleton-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.skeleton-card{height:68px;border-radius:18px;background:linear-gradient(90deg,rgba(255,255,255,.04) 25%,rgba(255,255,255,.09) 50%,rgba(255,255,255,.04) 75%);background-size:200% 100%;animation:shimmer 1.2s infinite}
.sk-line{height:12px;border-radius:8px;background:linear-gradient(90deg,rgba(255,255,255,.05) 25%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.05) 75%);background-size:200% 100%;animation:shimmer 1.2s infinite}
.w-60{width:56%}.w-70{width:66%}.w-50{width:46%}.w-30{width:24%}.w-25{width:20%}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media(max-width:600px){.topbar{height:58px;padding:0 12px}.user-pill{height:38px;padding:3px 4px 3px 10px}.user-pill .avatar{width:30px;height:30px}.user-name b{max-width:110px;font-size:12px}}

.initial-loader{display:none;min-height:100svh;place-items:center;background:#101012}
.telegram-loading>#initialLoader{display:grid}
.telegram-loading> :not(#initialLoader){display:none!important}
.telegram-ready>#initialLoader{display:none!important}
.telegram-only>#initialLoader{display:none!important}
.loader-ring{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;position:relative;background:rgba(24,24,28,.9);border:1px solid rgba(255,255,255,.1);box-shadow:0 0 36px rgba(246,66,154,.16)}
.loader-ring::after{content:"";position:absolute;inset:-4px;border-radius:21px;border:2px solid transparent;border-top-color:#f6429a;border-right-color:#8e56d9;animation:spin .85s linear infinite}
.loader-ring span{font-size:22px;color:#f5d6e6}
@keyframes spin{to{transform:rotate(360deg)}}

.initial-skeleton{display:none;min-height:100svh;background:#101012}
.telegram-loading>#initialLoader{display:block}
.telegram-loading> :not(#initialLoader){display:none!important}
.telegram-ready>#initialLoader,.telegram-only>#initialLoader{display:none!important}
.sk-topbar{height:60px;max-width:1100px;margin:auto;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07)}
.sk-actions{display:flex;gap:8px;align-items:center}
.sk-pill{height:38px;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,.05) 25%,rgba(255,255,255,.1) 50%,rgba(255,255,255,.05) 75%);background-size:200% 100%;animation:shimmer 1.2s infinite}
.sk-box{width:38px;height:38px;border-radius:13px;background:linear-gradient(90deg,rgba(255,255,255,.05) 25%,rgba(255,255,255,.1) 50%,rgba(255,255,255,.05) 75%);background-size:200% 100%;animation:shimmer 1.2s infinite}
.sk-body{max-width:720px;margin:16px auto;padding:0 16px;display:grid;gap:14px}
.sk-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sk-card{border-radius:20px;background:linear-gradient(90deg,rgba(255,255,255,.04) 25%,rgba(255,255,255,.09) 50%,rgba(255,255,255,.04) 75%);background-size:200% 100%;animation:shimmer 1.2s infinite}
.h-74{height:74px}.h-160{height:165px}.h-120{height:126px}.h-56{height:58px}.h-48{height:46px}
.w-120{width:120px}.w-40{width:44px}
.sk-inline{display:inline-block;height:13px;border-radius:6px;vertical-align:middle;background:linear-gradient(90deg,rgba(255,255,255,.06) 25%,rgba(255,255,255,.14) 50%,rgba(255,255,255,.06) 75%);background-size:200% 100%;animation:shimmer 1.2s infinite}
.topbar{height:60px;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.12);background:rgba(16,16,20,.38);backdrop-filter:blur(32px) saturate(180%);-webkit-backdrop-filter:blur(32px) saturate(180%);box-shadow:0 6px 28px rgba(0,0,0,.28)}
.user-pill{height:38px;padding:3px 4px 3px 12px;gap:8px;overflow:hidden}
.user-pill .avatar{width:30px!important;height:30px!important;min-width:30px;min-height:30px;border-radius:50%!important;border:0}
.options{padding:0 18px}
.options[open]{padding-bottom:14px}
.options-summary{display:flex;align-items:center;justify-content:space-between;padding:16px 0;cursor:pointer;user-select:none}
.options-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:500;color:#cfcdd6;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);padding:5px 10px;border-radius:999px;transition:.2s}
.opt-arrow{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .22s ease}
.options[open] .opt-arrow{transform:rotate(180deg)}
.create-btn{height:46px;padding:0 18px;display:flex;align-items:center;justify-content:center;border-radius:14px;font-size:14px;font-weight:700;letter-spacing:.01em;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);box-shadow:none;color:#fff;transition:.18s}
.create-btn:hover{background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.26);transform:translateY(-1px)}
.create-btn:active{transform:scale(.98)}
.fineprint{margin-top:10px;font-size:11px;color:#8e8c96}
.fineprint b{color:#f4c554;font-weight:600}

.topbar{border-bottom:0!important}
.user-pill{position:relative;display:inline-flex;align-items:center;justify-content:center;height:38px;min-width:38px;padding:3px 4px 3px 12px;border-radius:999px;transition:padding .24s cubic-bezier(.22,1,.36,1),min-width .24s cubic-bezier(.22,1,.36,1),border-radius .24s ease,background .18s ease,border-color .18s ease}
.user-pill-content{display:inline-flex;align-items:center;gap:8px;max-width:200px;opacity:1;transform:translateX(0);transition:opacity .18s ease,transform .22s ease,max-width .24s cubic-bezier(.22,1,.36,1)}
.user-pill-back{position:absolute;inset:0;display:grid;place-items:center;opacity:0;transform:scale(.65);pointer-events:none;transition:opacity .2s ease,transform .24s cubic-bezier(.22,1,.36,1)}
.user-pill-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.user-pill.is-back{padding:0;width:38px;min-width:38px;border-radius:13px}
.user-pill.is-back .user-pill-content{opacity:0;max-width:0;transform:translateX(8px);pointer-events:none}
.user-pill.is-back .user-pill-back{opacity:1;transform:scale(1)}

.user-pill{transition:width .42s cubic-bezier(.32,.72,0,1),padding .42s cubic-bezier(.32,.72,0,1),border-radius .42s cubic-bezier(.32,.72,0,1),background .2s ease,border-color .2s ease}
.user-pill-content{transition:opacity .26s ease,transform .36s cubic-bezier(.32,.72,0,1),max-width .42s cubic-bezier(.32,.72,0,1)}
.user-pill-back{transition:opacity .28s ease .1s,transform .38s cubic-bezier(.32,.72,0,1) .08s}
.user-pill.is-back .user-pill-content{transition:opacity .18s ease,transform .3s ease,max-width .38s cubic-bezier(.32,.72,0,1)}

.coin-pill,.icon-btn,.sk-box,.user-pill,.user-pill.is-back,.create-btn,.tool-chip,.suggestion,.back-btn,.plan-card button{border-radius:999px!important}
.user-pill{justify-content:flex-start}
.user-pill.is-back{border-radius:999px!important;padding:0;width:38px;min-width:38px}
.user-pill-content{transition:opacity .22s ease .14s,transform .34s cubic-bezier(.32,.72,0,1) .08s,max-width .42s cubic-bezier(.32,.72,0,1)}
.user-pill.is-back .user-pill-content{transition:opacity .14s ease,transform .24s ease,max-width .38s cubic-bezier(.32,.72,0,1)}
.history-view{max-width:720px;margin:6px auto 0}
.history-list{display:grid;gap:10px}
.history-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:15px 18px}
.history-card b{display:block;font-size:13px;margin-bottom:4px}
.history-card small{display:block;font-size:10px;color:var(--muted)}
.history-card em{font-style:normal;font-size:11px;color:#eaa3c5;background:rgba(235,67,142,.12);border:1px solid rgba(235,67,142,.24);padding:5px 10px;border-radius:999px;flex-shrink:0}

.sk-topbar .sk-pill.w-120{width:128px;height:38px;flex-shrink:0}
.sk-topbar .sk-pill.w-70{width:76px;height:38px;flex-shrink:0}
.sk-topbar .sk-box{width:38px;height:38px;flex-shrink:0}
main{overflow-x:hidden;position:relative}
.view-page{opacity:0;transform:translateX(-18px) scale(.99);transition:opacity .28s ease,transform .34s cubic-bezier(.22,1,.36,1)}
.view-page.enter-forward{opacity:0;transform:translateX(-22px) scale(.985)}
.view-page.enter-back{opacity:0;transform:translateX(22px) scale(.985)}
.view-page.is-active{opacity:1;transform:translateX(0) scale(1)}
.view-page.leave-forward{opacity:0;transform:translateX(16px) scale(.985);pointer-events:none;position:absolute;inset:12px 16px auto;transition:opacity .18s ease,transform .2s ease}
.view-page.leave-back{opacity:0;transform:translateX(-16px) scale(.985);pointer-events:none;position:absolute;inset:12px 16px auto;transition:opacity .18s ease,transform .2s ease}
