:root{--accent: #ff5a00;--accent-2: #ff2d2d;--accent-grad: linear-gradient(135deg, #ff7a00, #ff2d2d);--bg: var(--tg-secondary-bg, #f3f4f6);--surface: var(--tg-bg, #ffffff);--surface-2: #f7f8fa;--text: var(--tg-text, #14161a);--muted: var(--tg-hint, #8a909c);--line: rgba(20, 22, 26, .08);--link: var(--tg-link, #ff5a00);--shadow-sm: 0 1px 3px rgba(20, 22, 26, .06);--shadow: 0 6px 22px rgba(20, 22, 26, .08);--shadow-lg: 0 14px 40px rgba(20, 22, 26, .14);--shell-max: 520px;--radius: 16px;--radius-sm: 12px;--nav-h: 62px;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--good: #1aa35a;--good-bg: rgba(26, 163, 90, .12);--warn: #d9820a;--warn-bg: rgba(217, 130, 10, .14);--info: #2b6cf0;--info-bg: rgba(43, 108, 240, .12);--bad: #e03b3b;--bad-bg: rgba(224, 59, 59, .12);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,system-ui,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;color-scheme:light}:root[data-theme=dark]{--bg: var(--tg-secondary-bg, #14161a);--surface: var(--tg-bg, #1c1f25);--surface-2: #23262d;--text: var(--tg-text, #f2f3f5);--muted: var(--tg-hint, #8a909c);--line: rgba(255, 255, 255, .09);--shadow-sm: 0 1px 3px rgba(0, 0, 0, .35);--shadow: 0 6px 22px rgba(0, 0, 0, .4);--shadow-lg: 0 14px 40px rgba(0, 0, 0, .55);color-scheme:dark}*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}html,body{height:100%}body{background:var(--bg);color:var(--text);overscroll-behavior-y:none}#root{min-height:100%}button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}input,textarea,select{font-family:inherit;border:none;outline:none;background:none;color:inherit}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}ol,ul{list-style:none}.app-shell{position:relative;width:100%;max-width:var(--shell-max);min-height:100vh;min-height:100dvh;margin:0 auto;background:var(--bg);display:flex;flex-direction:column}@media (min-width: 540px){body{background:#e9eaee}:root[data-theme=dark] body{background:#0c0d10}.app-shell{box-shadow:var(--shadow-lg)}}.app-main{flex:1;padding-bottom:calc(var(--nav-h) + var(--safe-bottom) + 8px)}.app-main--full{padding-bottom:0;display:flex;flex-direction:column}.page{padding:0 16px 20px;animation:fade-up .34s cubic-bezier(.22,1,.36,1) both}@keyframes fade-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.page-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:8px;padding:calc(12px + var(--safe-top)) 0 12px;margin:0 -16px 12px;padding-left:8px;padding-right:8px;background:var(--surface);border-bottom:1px solid var(--line)}.page-header__title{flex:1;display:flex;flex-direction:column;align-items:center;line-height:1.2}.page-header__title h1{font-size:17px;font-weight:700}.page-header__subtitle{font-size:12px;color:var(--muted)}.page-header__right{min-width:40px;display:flex;justify-content:flex-end}.header-spacer{width:40px;display:inline-block}.icon-btn{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:var(--text)}.icon-btn:active{background:var(--surface-2)}.link-btn{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:600;color:var(--accent);padding:6px 8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 18px;border-radius:14px;font-size:15px;font-weight:600;transition:transform .12s ease,opacity .12s ease,background .15s ease}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.55;cursor:default}.btn--lg{height:52px;font-size:16px;border-radius:15px}.btn.full{width:100%}.btn--primary{background:var(--accent-grad);color:#fff;box-shadow:0 8px 22px #ff3c0047}.btn--dark{background:var(--text);color:var(--surface)}.btn--ghost{background:var(--surface-2);color:var(--text);border:1px solid var(--line)}:root[data-theme=dark] .btn--ghost{background:#ffffff0f}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:14px;box-shadow:var(--shadow-sm)}.stack{display:flex;flex-direction:column;gap:10px}.section{margin-top:18px}.section__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.section__head h2{font-size:15px;font-weight:700}.muted{color:var(--muted)}.muted-card{color:var(--muted);text-align:center;font-size:14px}.dot{color:var(--muted);margin:0 5px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field{display:flex;flex-direction:column;gap:6px}.field span{font-size:12.5px;font-weight:600;color:var(--muted);margin-left:2px}.field input{height:46px;padding:0 14px;border-radius:12px;background:var(--surface-2);border:1px solid var(--line);font-size:15px;color:var(--text);transition:border-color .15s ease}.field input:focus{border-color:var(--accent)}.field input::placeholder{color:var(--muted)}.spinner{display:inline-block;border:2.5px solid rgba(138,144,156,.3);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{display:block;background:linear-gradient(100deg,var(--surface-2) 30%,rgba(138,144,156,.16) 50%,var(--surface-2) 70%);background-size:200% 100%;animation:shimmer 1.4s ease-in-out infinite}@keyframes shimmer{to{background-position:-200% 0}}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:48px 24px}.empty__icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:var(--surface-2);color:var(--muted);margin-bottom:4px}.empty__title{font-size:16px;font-weight:700}.empty__subtitle{font-size:14px;color:var(--muted);max-width:260px}.empty__action{margin-top:8px}.toast-stack{position:fixed;left:50%;bottom:calc(var(--nav-h) + var(--safe-bottom) + 16px);transform:translate(-50%);z-index:200;display:flex;flex-direction:column;gap:8px;width:max-content;max-width:90vw;pointer-events:none}.toast{padding:11px 18px;border-radius:13px;font-size:14px;font-weight:500;color:#fff;background:#14161a;box-shadow:var(--shadow-lg);animation:toast-in .24s ease both}.toast--success{background:var(--good)}.toast--error{background:var(--bad)}@keyframes toast-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.inline-error{padding:11px 14px;border-radius:12px;font-size:13.5px;color:var(--bad);background:var(--bad-bg);border:1px solid rgba(224,59,59,.25);margin-top:4px}.boot-screen{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:var(--bg)}.boot-logo{font-size:30px;font-weight:800;background:var(--accent-grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-.5px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:var(--shell-max);z-index:40;display:grid;grid-template-columns:repeat(6,1fr);padding:6px 2px calc(6px + var(--safe-bottom));background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -4px 20px #14161a0d}.nav-item{display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 0;font-size:10px;font-weight:600;color:var(--muted);border-radius:12px;transition:color .15s ease}.nav-item.is-active{color:var(--accent)}.nav-item:active{transform:scale(.92)}.auth-page{min-height:100vh;min-height:100dvh;max-width:var(--shell-max);margin:0 auto;padding:calc(28px + var(--safe-top)) 22px calc(28px + var(--safe-bottom));display:flex;flex-direction:column;background:var(--bg)}.auth-hero{text-align:center;margin-top:14px}.auth-logo{width:60px;height:60px;margin:0 auto 14px;border-radius:20px;display:grid;place-items:center;color:#fff;background:var(--accent-grad);box-shadow:0 10px 26px #ff3c0052}.auth-hero h1{font-size:30px;font-weight:800;letter-spacing:-.5px}.auth-hero p{margin-top:8px;font-size:14.5px;color:var(--muted);line-height:1.45}.auth-features{display:flex;justify-content:center;gap:8px;margin:22px 0}.auth-feature{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:12px;background:var(--surface);border:1px solid var(--line);font-size:12.5px;font-weight:600;color:var(--text)}.auth-feature svg{color:var(--accent)}.auth-hint{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;font-size:12.5px;color:var(--muted)}.auth-hint svg{color:var(--good)}.auth-divider{display:flex;align-items:center;gap:12px;margin:22px 0 16px;color:var(--muted);font-size:12.5px}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--line)}.auth-card{padding:6px}.tabs{display:flex;background:var(--surface-2);border-radius:12px;padding:4px;margin-bottom:14px}.tab{flex:1;height:38px;border-radius:9px;font-size:14px;font-weight:600;color:var(--muted)}.tab.is-active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.auth-form{display:flex;flex-direction:column;gap:12px;padding:0 8px 8px}.search-page{padding-top:calc(16px + var(--safe-top))}.search-hero{text-align:center;margin:6px 0 18px}.search-hero__badge{display:inline-block;font-size:10px;font-weight:800;letter-spacing:1px;color:var(--accent);background:#ff5a001f;padding:3px 9px;border-radius:8px;margin-bottom:10px}.search-hero h1{font-size:24px;font-weight:800}.search-hero p{margin-top:8px;font-size:14px;color:var(--muted);line-height:1.45}.uploader{margin-bottom:14px}.uploader__drop{width:100%;display:flex;flex-direction:column;align-items:center;gap:6px;padding:38px 20px;border:2px dashed rgba(255,90,0,.4);border-radius:var(--radius);background:#ff5a000a;color:var(--text)}.uploader__drop:active{background:#ff5a0014}.uploader__icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;color:#fff;background:var(--accent-grad);margin-bottom:6px}.uploader__drop strong{font-size:16px}.uploader__drop small{font-size:12.5px;color:var(--muted)}.uploader__preview{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.uploader__preview img{width:100%;aspect-ratio:1;object-fit:cover}.uploader__change{position:absolute;bottom:12px;left:50%;transform:translate(-50%);padding:9px 18px;border-radius:999px;font-size:13.5px;font-weight:600;color:#fff;background:#0009;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.search-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:10px}.search-examples{margin-top:22px}.search-examples__label{font-size:13px;font-weight:600;color:var(--muted)}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.chip{padding:8px 14px;border-radius:999px;font-size:13.5px;font-weight:500;background:var(--surface);border:1px solid var(--line);color:var(--text)}.chip.is-active{background:var(--accent);color:#fff;border-color:var(--accent)}.search-tip{margin-top:22px}.search-tip strong{font-size:14px}.search-tip ol{margin-top:10px;counter-reset:tip;display:flex;flex-direction:column;gap:8px}.search-tip li{counter-increment:tip;position:relative;padding-left:30px;font-size:13.5px;color:var(--muted)}.search-tip li:before{content:counter(tip);position:absolute;left:0;top:-1px;width:21px;height:21px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;color:#fff;background:var(--accent)}.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.product-card{display:flex;flex-direction:column;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;box-shadow:var(--shadow-sm);transition:transform .12s ease,box-shadow .15s ease}.product-card.press:active{transform:scale(.98)}.product-card__media{position:relative;aspect-ratio:1;background:var(--surface-2)}.product-card__media img{width:100%;height:100%;object-fit:cover}.similarity-badge{position:absolute;left:8px;top:8px;font-size:11px;font-weight:700;color:#fff;background:#0000009e;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:3px 8px;border-radius:8px}.product-card__body{padding:10px 11px 12px}.product-card__title{font-size:13px;line-height:1.34;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:35px}.product-card__price{margin-top:6px;font-size:19px;font-weight:800;color:var(--accent-2)}.product-card__meta{margin-top:6px;display:flex;align-items:center;font-size:11.5px;color:var(--muted)}.rating{display:inline-flex;align-items:center;gap:3px;font-weight:600;color:var(--warn)}.query-strip{display:flex;align-items:center;gap:12px;padding:10px 12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);margin-bottom:14px}.query-strip img{width:52px;height:52px;border-radius:11px;object-fit:cover}.query-strip strong{display:block;font-size:14px}.query-strip span{font-size:12.5px;color:var(--muted)}.product-page{padding:0 0 96px}.product-page .page-header{margin-bottom:0}.gallery__main{aspect-ratio:1;background:var(--surface-2)}.gallery__main img{width:100%;height:100%;object-fit:cover}.gallery__thumbs{display:flex;gap:8px;padding:10px 16px 0;overflow-x:auto}.gallery__thumb{flex:none;width:56px;height:56px;border-radius:10px;overflow:hidden;border:2px solid transparent}.gallery__thumb.is-active{border-color:var(--accent)}.gallery__thumb img{width:100%;height:100%;object-fit:cover}.product-page__body{padding:14px 16px 0}.product-page__price{font-size:28px;font-weight:800;color:var(--accent-2)}.product-page__title{margin-top:6px;font-size:17px;font-weight:600;line-height:1.4}.product-page__meta{margin-top:8px;display:flex;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--muted)}.product-page__shop{margin-top:4px;font-size:13px;color:var(--muted)}.variation{margin-top:18px}.variation__name{font-size:13.5px;font-weight:700;margin-bottom:9px}.variation__options{display:flex;flex-wrap:wrap;gap:8px}.opt{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border-radius:11px;font-size:13.5px;font-weight:500;background:var(--surface);border:1.5px solid var(--line);color:var(--text)}.opt.is-active{border-color:var(--accent);background:#ff5a0012;color:var(--accent-2)}.opt img{width:22px;height:22px;border-radius:6px;object-fit:cover}.qty-stepper{display:inline-flex;align-items:center;gap:0;background:var(--surface);border:1.5px solid var(--line);border-radius:12px;overflow:hidden}.qty-stepper button{width:44px;height:44px;display:grid;place-items:center;color:var(--text)}.qty-stepper button:active{background:var(--surface-2)}.qty-stepper span{min-width:40px;text-align:center;font-size:16px;font-weight:700}.product-page__desc{margin-top:22px}.product-page__desc strong{font-size:14px}.product-page__desc p{margin-top:8px;font-size:14px;line-height:1.55;color:var(--muted)}.sticky-bar{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:var(--shell-max);z-index:30;display:flex;align-items:center;gap:12px;padding:12px 16px calc(12px + var(--safe-bottom));background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -4px 20px #14161a0f}.sticky-bar--single{display:block}.sticky-bar--single .btn{width:100%}.sticky-bar__price{display:flex;flex-direction:column;line-height:1.1}.sticky-bar__price span{font-size:11.5px;color:var(--muted)}.sticky-bar__price strong{font-size:20px;font-weight:800;color:var(--accent-2)}.sticky-bar .btn--primary{flex:1}.checkout-page{padding-bottom:100px}.checkout-item{display:flex;gap:12px;align-items:center}.checkout-item img{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:none}.checkout-item__title{font-size:14px;font-weight:600;line-height:1.34;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.checkout-item__sku{font-size:12.5px;color:var(--muted);margin-top:2px}.checkout-item__meta{font-size:13px;color:var(--accent-2);font-weight:600;margin-top:4px}.address-row,.shipping-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:13px 14px;background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius-sm);margin-bottom:10px;color:var(--text)}.address-row.is-active,.shipping-row.is-active{border-color:var(--accent);background:#ff5a000d}.address-row__radio{flex:none;width:22px;height:22px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;color:#fff}.is-active .address-row__radio{background:var(--accent);border-color:var(--accent)}.address-row__text{display:flex;flex-direction:column;gap:2px;font-size:13.5px}.address-row__text strong{font-size:14px}.address-form{display:flex;flex-direction:column;gap:12px}.address-form__actions{display:flex;gap:10px;margin-top:2px}.address-form__actions .btn{flex:1}.shipping-row__icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--surface-2);color:var(--accent);flex:none}.shipping-row__text{flex:1;display:flex;flex-direction:column}.shipping-row__text strong{font-size:14px}.shipping-row__text span{font-size:12.5px;color:var(--muted)}.shipping-row__price{font-size:15px;font-weight:700}.shipping-loading{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}.summary{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:14px}.summary__row{display:flex;justify-content:space-between;font-size:14px;color:var(--muted);padding:5px 0}.summary__total{border-top:1px solid var(--line);margin-top:6px;padding-top:12px;color:var(--text);font-size:15px}.summary__total strong{font-size:19px;font-weight:800;color:var(--accent-2)}.summary__balance{margin-top:10px;font-size:12.5px;color:var(--muted)}.row-card{display:flex;gap:12px;align-items:center}.order-card{display:flex;gap:12px;text-align:left;align-items:stretch}.order-card img{width:72px;height:72px;border-radius:12px;object-fit:cover;flex:none}.order-card__body{flex:1;display:flex;flex-direction:column}.order-card__title{font-size:14px;font-weight:600;line-height:1.32;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.order-card__meta{margin-top:3px;font-size:12px;color:var(--muted)}.order-card__bottom{margin-top:auto;padding-top:8px;display:flex;align-items:center;justify-content:space-between}.order-card__bottom strong{font-size:15px;font-weight:800}.pill{display:inline-flex;align-items:center;font-size:11.5px;font-weight:700;padding:4px 10px;border-radius:8px}.pill--good{color:var(--good);background:var(--good-bg)}.pill--warn{color:var(--warn);background:var(--warn-bg)}.pill--info{color:var(--info);background:var(--info-bg)}.pill--bad{color:var(--bad);background:var(--bad-bg)}.success-banner{display:flex;align-items:center;gap:12px;padding:14px;border-radius:var(--radius);background:var(--good-bg);border:1px solid rgba(26,163,90,.25);margin-bottom:14px}.success-banner__check{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--good);flex:none}.success-banner strong{display:block;font-size:15px;color:var(--good)}.success-banner span{font-size:13px;color:var(--text)}.order-head{display:flex;gap:12px}.order-head img{width:76px;height:76px;border-radius:12px;object-fit:cover;flex:none}.order-head__title{font-size:14.5px;font-weight:600;line-height:1.34}.order-head .pill{margin-top:8px}.order-head .muted{font-size:12.5px;margin-top:2px}.timeline{display:flex;flex-direction:column;padding-left:6px}.timeline__step{position:relative;display:flex;align-items:center;gap:12px;padding:4px 0 16px}.timeline__step:not(:last-child):before{content:"";position:absolute;left:10px;top:22px;bottom:-2px;width:2px;background:var(--line)}.timeline__step.is-done:not(:last-child):before{background:var(--good)}.timeline__dot{flex:none;width:22px;height:22px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;color:#fff;background:var(--surface);z-index:1}.timeline__step.is-done .timeline__dot{background:var(--good);border-color:var(--good)}.timeline__step.is-current .timeline__dot{border-color:var(--accent);box-shadow:0 0 0 4px #ff5a0026}.timeline__label{font-size:14px;font-weight:500;color:var(--muted)}.timeline__step.is-done .timeline__label,.timeline__step.is-current .timeline__label{color:var(--text);font-weight:600}.tracking{display:flex;align-items:center;justify-content:space-between;margin-top:4px}.tracking strong{font-family:ui-monospace,monospace;font-size:14px}.address-snapshot{font-size:13.5px;line-height:1.5;color:var(--text)}.balance-card{position:relative;overflow:hidden;border-radius:20px;padding:22px 20px;color:#fff;background:var(--accent-grad);box-shadow:0 12px 30px #ff3c004d;margin-top:4px}.balance-card__bg{position:absolute;right:-40px;top:-40px;width:160px;height:160px;border-radius:50%;background:#ffffff24}.balance-card__label{font-size:13px;opacity:.9}.balance-card__amount{font-size:34px;font-weight:800;margin-top:4px}.balance-card__icon{position:absolute;right:18px;bottom:18px;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#fff3}.topup-card{display:flex;flex-direction:column;gap:14px}.amount-stepper{display:flex;align-items:center;justify-content:space-between}.amount-stepper button{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:var(--surface-2);color:var(--text)}.amount-stepper button:active{background:var(--accent);color:#fff}.amount-stepper__value{font-size:26px;font-weight:800}.quick-amounts{display:flex;flex-wrap:wrap;gap:8px}.tx-list{gap:0}.tx-row{display:flex;align-items:center;justify-content:space-between;padding:13px 4px;border-bottom:1px solid var(--line)}.tx-row:last-child{border-bottom:none}.tx-row__text{display:flex;flex-direction:column;gap:2px}.tx-row__text strong{font-size:14px}.tx-row__text .muted{font-size:12px}.tx-row__amount{font-size:15px;font-weight:700}.tx-row__amount.is-plus{color:var(--good)}.tx-row__amount.is-minus{color:var(--text)}.pay-page{min-height:calc(100vh - var(--nav-h));display:flex;align-items:center;justify-content:center;padding-top:24px}.pay-card{width:100%;padding:22px}.pay-card__brand{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--accent)}.pay-card__mock{font-size:10px;font-weight:700;text-transform:uppercase;color:var(--muted);background:var(--surface-2);padding:2px 7px;border-radius:6px}.pay-card__amount-label{margin-top:22px;font-size:13px;color:var(--muted)}.pay-card__amount{font-size:36px;font-weight:800}.pay-card__ref{font-size:12px;color:var(--muted);margin-top:2px}.pay-fields{margin:20px 0;display:flex;flex-direction:column;gap:12px}.pay-fields-row{display:flex;gap:12px}.pay-field{flex:1;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:10px 14px}.pay-field span{font-size:11px}.pay-field__value{font-size:15px;font-weight:600;letter-spacing:.5px;margin-top:2px}.pay-card .btn{margin-top:4px}.pay-card .btn--ghost{margin-top:10px}.pay-note{margin-top:14px;text-align:center;font-size:12px;color:var(--muted)}.pay-success{display:flex;flex-direction:column;align-items:center;gap:8px;padding:30px 0 14px}.pay-success__check{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--good);animation:pop .3s ease both}.pay-success strong{font-size:19px}@keyframes pop{0%{transform:scale(.7);opacity:0}to{transform:scale(1);opacity:1}}.referral-hero{text-align:center;padding:24px 18px;border-radius:20px;color:#fff;background:var(--accent-grad);box-shadow:0 12px 30px #ff3c0047;margin-top:4px}.referral-hero__icon{width:52px;height:52px;margin:0 auto 8px;border-radius:16px;display:grid;place-items:center;background:#fff3}.referral-hero__percent{font-size:44px;font-weight:800;line-height:1}.referral-hero p{margin-top:8px;font-size:13.5px;opacity:.95;line-height:1.45}.referral-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.stat-box{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:16px;text-align:center}.stat-box__value{display:block;font-size:22px;font-weight:800}.stat-box__label{font-size:12.5px;color:var(--muted)}.referral-link{display:flex;align-items:center;gap:10px}.referral-link__url{flex:1;font-size:13px;color:var(--text);word-break:break-all;line-height:1.4}.referral-link .icon-btn{flex:none;background:var(--surface-2);color:var(--accent)}.referral-link__code{margin-top:8px;font-size:12.5px}.referral-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:10px;margin-top:12px}.invited-row{display:flex;align-items:center;gap:12px}.invited-row__avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:16px;font-weight:700;color:#fff;background:var(--accent-grad);flex:none}.invited-row__text{flex:1;display:flex;flex-direction:column}.invited-row__text strong{font-size:14px}.invited-row__text .muted{font-size:12px}.invited-row__orders{font-size:12.5px;font-weight:600;color:var(--muted)}.profile-head{text-align:center;padding:8px 0 16px}.profile-avatar{width:84px;height:84px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;overflow:hidden;font-size:32px;font-weight:700;color:#fff;background:var(--accent-grad);box-shadow:0 10px 26px #ff3c0047}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-name{font-size:20px;font-weight:700}.profile-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:8px}.tag{font-size:11.5px;font-weight:600;padding:4px 10px;border-radius:8px;background:var(--surface-2);color:var(--muted)}.tag--demo{color:var(--accent);background:#ff5a001f}.tag--staff{color:var(--info);background:var(--info-bg)}.balance-mini{display:flex;align-items:center;justify-content:space-between;cursor:pointer}.balance-mini strong{font-size:19px;font-weight:800;color:var(--accent-2)}.info-list,.menu-list{padding:4px 14px}.info-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;font-size:14px;border-bottom:1px solid var(--line)}.info-row:last-child{border-bottom:none}.info-row .muted{display:inline-flex;align-items:center;gap:6px}.menu-list{padding:0}.menu-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px;font-size:14.5px;font-weight:500;border-bottom:1px solid var(--line);color:var(--text)}.menu-row:last-child{border-bottom:none}.menu-row:active{background:var(--surface-2)}.menu-row__icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--surface-2);color:var(--accent);flex:none}.logout-btn{margin-top:18px;color:var(--bad)}.chat{display:flex;flex-direction:column;height:100vh;height:100dvh;max-width:var(--shell-max);margin:0 auto;background:var(--bg)}.chat-head{flex:none;display:flex;align-items:center;gap:12px;padding:calc(10px + var(--safe-top)) 12px 12px;background:var(--surface);border-bottom:1px solid var(--line)}.chat-head__back{width:38px;height:38px;display:grid;place-items:center;color:var(--text);flex:none}.chat-head__avatar{position:relative;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--accent-grad);flex:none}.chat-head__online{position:absolute;right:0;bottom:0;width:12px;height:12px;border-radius:50%;background:var(--good);border:2px solid var(--surface)}.chat-head__who strong{display:block;font-size:16px;font-weight:700}.chat-head__who small{font-size:12.5px;color:var(--muted)}.chat-scroll{flex:1;min-height:0;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:9px}.chat-loading{flex:1;display:grid;place-items:center}.chat-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;color:var(--muted)}.chat-empty__icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:var(--surface-2);color:var(--accent);margin-bottom:6px}.chat-empty strong{color:var(--text);font-size:16px}.chat-day{align-self:center;font-size:12px;color:var(--muted);background:var(--surface-2);padding:5px 13px;border-radius:9px;margin-bottom:4px}.bubble-row{display:flex}.bubble-row.me{justify-content:flex-end}.bubble-row.them{justify-content:flex-start}.bubble{position:relative;max-width:80%;padding:10px 14px 18px;font-size:14.5px;line-height:1.4;border-radius:18px;animation:pop .2s ease both}.bubble-row.them .bubble{background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:6px}.bubble-row.me .bubble{background:var(--accent-grad);color:#fff;border-bottom-right-radius:6px}.bubble.is-failed{opacity:.7}.bubble__text{white-space:pre-wrap;word-break:break-word}.bubble__time{position:absolute;right:12px;bottom:5px;font-size:10px;opacity:.6}.bubble__time--over{right:11px;bottom:11px;color:#fff;opacity:1;background:#00000080;padding:2px 7px;border-radius:8px}.bubble.has-media{width:230px;max-width:80%;padding:5px}.bubble.has-media .bubble__text{padding:7px 9px 14px}.msg-media{position:relative;display:block;width:100%;overflow:hidden;border-radius:14px;background:#0000000d;line-height:0}.msg-media img,.msg-media video{width:100%;height:auto;max-height:260px;min-height:90px;object-fit:cover;border-radius:14px}.msg-media__play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;padding-left:3px;color:#fff;background:#00000080;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.msg-media.is-uploading img,.msg-media.is-uploading video{opacity:.5}.msg-media__spinner{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center}.msg-media__spinner:after{content:"";width:28px;height:28px;border-radius:50%;border:3px solid rgba(255,255,255,.4);border-top-color:#fff;animation:spin .8s linear infinite}.doc-chip{display:flex;align-items:center;gap:10px;padding:4px 4px 4px 2px;min-width:180px}.doc-chip__icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#00000014;flex:none}.bubble-row.me .doc-chip__icon{background:#ffffff38}.doc-chip__name{font-size:13px;font-weight:600;word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.doc-chip__spinner{width:18px;height:18px;border-radius:50%;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;animation:spin .8s linear infinite;flex:none}.chat-input{flex:none;display:flex;align-items:center;gap:8px;padding:10px 12px calc(10px + var(--safe-bottom));background:var(--surface);border-top:1px solid var(--line)}.chat-input__attach{width:44px;height:46px;display:grid;place-items:center;color:var(--muted);flex:none}.chat-input__attach:active{color:var(--accent)}.chat-input__attach:disabled{opacity:.5}.chat-input__text{flex:1;height:46px;padding:0 16px;border-radius:23px;background:var(--surface-2);border:1px solid var(--line);font-size:15px;color:var(--text)}.chat-input__text::placeholder{color:var(--muted)}.chat-input__send{width:46px;height:46px;border-radius:50%;flex:none;display:grid;place-items:center;color:#fff;background:var(--accent-grad);box-shadow:0 6px 16px #ff3c004d}.chat-input__send:active{transform:scale(.94)}.chat-input__send:disabled{opacity:.5;box-shadow:none}.media-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;background:#000000f2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:calc(var(--safe-top) + 16px) 12px calc(var(--safe-bottom) + 16px);animation:fade-in .18s ease both}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.media-viewer__content{flex:0 1 auto;min-height:0;max-width:100%;max-height:calc(100% - 68px);object-fit:contain;border-radius:8px}.media-viewer__close{flex:none;width:min(72%,300px);height:50px;border-radius:999px;font-size:16px;font-weight:600;color:#fff;background:#28282eeb;border:1px solid rgba(255,255,255,.22)}.admin-inbox{padding:0 16px 20px}.conv-row{display:flex;align-items:center;gap:12px;text-align:left}.conv-row__avatar{position:relative;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;overflow:hidden;font-size:18px;font-weight:700;color:#fff;background:var(--accent-grad);flex:none}.conv-row__avatar img{width:100%;height:100%;object-fit:cover}.conv-row__online{position:absolute;right:1px;bottom:1px;width:12px;height:12px;border-radius:50%;background:var(--good);border:2px solid var(--surface)}.conv-row__body{flex:1;min-width:0}.conv-row__top{display:flex;align-items:center;justify-content:space-between}.conv-row__top strong{font-size:14.5px}.conv-row__top .muted{font-size:12px}.conv-row__last{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.conv-row__badge{flex:none;min-width:22px;height:22px;padding:0 6px;border-radius:11px;display:grid;place-items:center;font-size:12px;font-weight:700;color:#fff;background:var(--accent)}
