:root{--bg:#080809;--surface:#121214;--surface-2:#1b1b1f;--surface-3:#26262c;--outline:#29292f;--text:#f3f2f6;--muted:#8c8b95;--accent:#e0dfee;--accent-on:#1b1a24;--card-top:#363639;--card-bottom:#19191c;--success:#b7d9ad}
html[data-theme="light"]{color-scheme:light;--bg:#f5f5f7;--surface:#fff;--surface-2:#ededf1;--surface-3:#e3e2e9;--outline:#dedde5;--text:#202026;--muted:#77757f;--accent:#535267;--accent-on:#fff;--card-top:#fff;--card-bottom:#e8e8ee;--success:#386e36}
body{background:var(--bg);color:var(--text);font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;transition:background .25s,color .25s}
.shell{max-width:1120px;padding:0 36px}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#a5b9f0}
.header{height:104px;border:0;gap:16px}.brand{gap:10px;padding:0;text-align:left}.brand img{width:35px;height:35px;border-radius:11px}.brand>span{font-size:25px;letter-spacing:-1.15px;font-weight:800}.brand-sub{color:var(--muted);font-size:10px;letter-spacing:.5px;font-weight:500;margin-top:5px}.desktop-nav{display:none}.header-actions{gap:9px}
.header .header-control,.header .avatar{width:48px;height:48px;border-radius:18px;display:grid;place-items:center;border:1px solid var(--outline);background:linear-gradient(140deg,var(--surface-2),var(--surface));color:var(--text);padding:0;position:relative}.header .header-control:hover{background:var(--surface-3)}.header .avatar img{width:100%;height:100%}.header .icon-btn .ui-icon{width:23px;height:23px;margin:0}.cart-count{right:-2px;top:-3px;background:var(--accent);color:var(--accent-on);min-width:17px;width:auto;padding:0 4px;border:2px solid var(--bg);height:20px;line-height:16px}
.material-icon{fill:currentColor!important;stroke:none!important;stroke-width:0!important;width:24px;height:24px}.ui-icon.material-icon{stroke-width:0}
#main{min-height:calc(100dvh - 260px)}.home-page{padding:25px 0 20px}.home-intro{margin:0 0 26px}.home-intro>span,.overline{font-size:10px;font-weight:600;letter-spacing:1.7px;color:var(--muted)}.home-intro h1{font-size:32px;letter-spacing:-1.3px;margin:9px 0 0;line-height:1.25;font-weight:650}.home-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:36px;align-items:start}
.balance-card{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,var(--card-top),var(--card-bottom) 80%);border:1px solid #48484d;border-radius:28px;padding:29px 29px 25px;min-height:208px;box-shadow:inset 0 1px 0 #ffffff08,0 20px 50px #00000012}
.balance-card:after{content:"";position:absolute;z-index:-1;pointer-events:none;right:-50%;top:-80%;width:150%;height:250%;background:radial-gradient(ellipse,#dfdcff14,transparent 64%);animation:balance-ambient 6s ease-in-out infinite alternate}
@keyframes balance-ambient{from{transform:translate3d(0,-3%,0) rotate(-10deg)}to{transform:translate3d(-24%,8%,0) rotate(10deg)}}
.balance-top,.balance-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.balance-top{color:var(--muted);font-size:10px;font-weight:650;letter-spacing:1.3px}.balance-mark{display:flex;align-items:center;gap:5px;letter-spacing:0;font-weight:500;font-size:10px}.balance-mark .ui-icon{width:16px;height:16px}.balance-amount{display:flex;align-items:baseline;gap:2px;margin:12px 0 22px;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-2.5px;white-space:nowrap}.balance-currency{font-size:52px;font-weight:400;margin-right:5px}.balance-amount strong{font-size:60px;font-weight:450}.balance-cents{font-size:24px;font-weight:500;letter-spacing:-1px}.balance-bottom{font-size:10px;color:var(--muted);letter-spacing:0;flex-wrap:wrap}
.home-pills{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:21px 0 0}.home-pills button{min-height:46px;display:flex;justify-content:center;align-items:center;gap:10px;border:1px solid var(--outline);border-radius:999px;background:linear-gradient(var(--surface),var(--bg));color:var(--text);font-size:12px;font-weight:600}.home-pills .ui-icon{width:18px;height:18px}
.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:102px;border:1px solid var(--outline);border-radius:24px;background:linear-gradient(145deg,var(--surface),var(--bg));color:var(--text);font-size:11px;font-weight:550;transition:background .2s,transform .2s}.quick-action.primary{background:var(--surface-2);border-color:#42424b}.quick-action .ui-icon{width:24px;height:24px}.quick-action:hover{background:var(--surface-3);transform:translateY(-3px)}
.section-label{display:flex;align-items:center;gap:16px;margin:32px 0 18px}.section-label h2{font-size:10px;font-weight:650;letter-spacing:1.6px;margin:0;white-space:nowrap;color:var(--muted)}.section-label>span{height:1px;flex:1;background:var(--outline)}.section-label>button{padding:0;color:var(--muted)}.section-label .ui-icon{width:19px;height:19px}
.activity-list{display:grid;gap:8px}.activity-empty{display:flex;align-items:center;gap:15px;padding:20px 0;color:var(--muted)}.activity-empty>.ui-icon{width:28px;height:28px;flex-shrink:0;opacity:.75}.activity-empty strong{font-size:12px;font-weight:550;color:var(--text)}.activity-empty p{font-size:11px;margin:4px 0 0;max-width:260px;line-height:1.5;color:var(--muted)}.activity-row{display:flex;align-items:center;width:100%;gap:12px;text-align:left;border:1px solid var(--outline);background:var(--surface);padding:13px;border-radius:18px}.activity-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:var(--surface-3);color:var(--success)}.activity-row>span:nth-child(2){flex:1}.activity-row strong{display:block;font-size:12px;font-weight:550}.activity-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.activity-row>b{font-size:13px;font-weight:600;color:var(--success)}.activity-row>b small{display:inline}
.home-note{display:flex;align-items:center;gap:13px;padding:20px;margin-top:35px;border:1px solid var(--outline);border-radius:22px;background:var(--surface)}.home-note>.ui-icon{color:var(--muted);width:22px;height:22px;flex-shrink:0}.home-note p{color:var(--muted);margin:0;font-size:12px;flex:1}.home-note button{padding:0;color:var(--muted)}
.bottom-nav{position:fixed;bottom:18px;left:50%;right:auto;transform:translateX(-50%);width:calc(100% - 36px);max-width:420px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;gap:4px;padding:7px;border:1px solid var(--outline);background:color-mix(in srgb,var(--bg) 90%,transparent);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-radius:999px;z-index:20;box-shadow:0 10px 40px #00000035;isolation:isolate}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:58px;min-width:0;padding:7px 5px;border-radius:999px;color:var(--muted);transition:background .25s,color .25s}.bottom-nav button>span{display:block;line-height:1}.bottom-nav button .ui-icon{width:23px;height:23px}.bottom-nav button small{font-size:10px;line-height:1.2;font-weight:500}.bottom-nav button.active{color:var(--text);background:linear-gradient(145deg,var(--surface-3),var(--surface))}
footer{margin-top:35px;padding:24px 0 125px;border-color:var(--outline);color:var(--muted);letter-spacing:.4px;font-size:9px}footer button{color:var(--muted)}footer>span:last-child{display:none}
.page{padding-top:25px;min-height:70vh}.page-head{margin-bottom:25px}.page-head h1,.catalog-heading h1{font-size:36px;letter-spacing:-1.6px;font-weight:650;line-height:1.2}.back{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:12px}.page-head p,.catalog-heading p,p.muted,.muted{color:var(--muted)}.catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.catalog-heading h1{margin:8px 0}.catalog-heading p{font-size:12px;margin:0}.catalog-count{white-space:nowrap;padding:9px 13px;border:1px solid var(--outline);border-radius:999px;color:var(--muted);font-size:11px}
.search{border-color:var(--outline);background:var(--surface);border-radius:18px;padding:0 17px;margin-bottom:20px;gap:11px}.search input{color:var(--text);font-size:13px;height:51px}.search>.ui-icon{color:var(--muted);width:21px;height:21px}.search:focus-within{border-color:#777486}
.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.category{background:linear-gradient(145deg,var(--surface),var(--bg));border-color:var(--outline);border-radius:24px;padding:22px;min-height:162px;color:var(--text)}.category:hover,.category.selected{background:var(--surface-2);border-color:#65616e;transform:translateY(-3px)}.category .service-icon,.product-card .service-icon{background:var(--surface-3);color:var(--text);border-radius:15px;width:43px;height:43px}.category h3{font-size:18px;font-weight:600;letter-spacing:-.65px}.category p{font-size:10px;color:var(--muted);max-width:140px}.category .arrow{top:24px;right:18px;color:var(--muted)}.category .arrow .ui-icon{width:18px;height:18px}.category .count{font-size:9px;color:var(--muted)}
.product-card{background:var(--surface-2);border:1px solid var(--outline);color:var(--text);border-radius:25px;padding:23px}.product-card p{color:var(--muted)}.product-card .arrow{background:var(--surface-3);color:var(--text)}.product-card .price{font-size:24px}.product-card h3{font-weight:600}.panel,.stat,.order-card,.cart-item{background:var(--surface);border-color:var(--outline);border-radius:22px;color:var(--text)}.panel{padding:25px}.panel h3{font-weight:600;letter-spacing:-.5px}.panel p,.cart-item .muted{color:var(--muted)}.stat strong{font-size:29px;font-weight:600}.stat span{font-size:9px;color:var(--muted)}.stats{gap:11px}.order-card:hover{border-color:#696370}.status{border-radius:999px;background:var(--surface-3);color:var(--muted);font-size:10px;padding:5px 10px}.status.fulfilled{background:#273329;color:var(--success)}
.btn{background:var(--accent);color:var(--accent-on);border-radius:999px;min-height:48px;padding:13px 22px;gap:10px;font-weight:650;box-shadow:none}.btn .ui-icon{width:20px;height:20px}.btn:hover{background:var(--accent);filter:brightness(1.06)}.btn.secondary{background:var(--surface-2);border:1px solid var(--outline);color:var(--text)}.btn.small{min-height:39px;font-size:11px}.btn.danger{background:#442b32;color:#ffc3cd}.link-btn{color:var(--text);font-size:12px}.field{color:var(--muted)}.field input,.field select,.field textarea{border-color:var(--outline);background:var(--bg);color:var(--text);border-radius:14px;min-height:49px;padding:13px}.check{color:var(--muted)}.check input{accent-color:#c7c3df}
.empty{background:var(--surface);border-color:var(--outline);border-radius:24px;padding:34px 24px}.empty .empty-symbol{background:var(--surface-3);color:var(--muted);border-radius:19px;width:58px;height:58px}.empty h3{color:var(--text);font-weight:600;font-size:22px}.empty p{color:var(--muted);font-size:12px}.legal,.detail-description{color:var(--text)}.detail-terms{background:var(--bg);color:var(--muted);border-radius:17px}.notice{background:var(--surface-2);color:var(--muted);border-color:#ada7c9;border-radius:0 12px 12px 0}
.profile-name{margin-bottom:28px;gap:18px}.profile-name .avatar{width:72px;height:72px;border-radius:24px;background:var(--surface-3);color:var(--text);outline:1px solid var(--outline);border:3px solid var(--bg);box-shadow:0 6px 22px #0002}.profile-name h2{font-size:28px;font-weight:650;letter-spacing:-1px}.menu-list{border-color:var(--outline);border-radius:22px}.menu-list button{background:var(--surface);border-color:var(--outline);min-height:62px;padding:18px 21px;font-size:13px}.menu-list button:hover{background:var(--surface-2)}.menu-item-label{display:flex;align-items:center;gap:14px}.menu-list .ui-icon{width:22px;height:22px;color:var(--muted)}.settings-heading{display:flex;align-items:center;gap:15px;margin-bottom:23px}.settings-heading>.ui-icon{width:28px;height:28px;color:var(--muted);flex-shrink:0}.settings-heading h3{margin:0 0 6px;font-size:18px}.settings-heading p{font-size:11px;line-height:1.5;margin:0;color:var(--muted)}.theme-panel{display:flex;align-items:center;justify-content:space-between;gap:15px}.theme-panel .settings-heading{margin:0}.theme-panel .btn{white-space:nowrap}
.wallet-page .balance-card{max-width:550px}.wallet-actions{display:flex;gap:10px;margin:22px 0 35px;flex-wrap:wrap}.subheading{font-size:20px;font-weight:600}.topup-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:20px}.topup-row>div{flex:1;min-width:170px}.topup-row strong{font-size:17px;font-weight:600}.topup-row p{font-size:11px;margin:6px 0 0}.amount-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 22px}.amount-presets button{min-height:44px;padding:8px 3px;border:1px solid var(--outline);border-radius:14px;font-size:11px;color:var(--text);background:var(--surface-2)}.amount-presets button:hover{background:var(--surface-3)}.modal-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:19px;background:var(--surface-3);color:var(--text)}.modal-symbol .ui-icon{width:28px;height:28px}.topup-note{font-size:10px;line-height:1.6;margin:17px 0 0}.payment-total{font-size:42px;font-weight:600;letter-spacing:-1.5px;margin:22px 0}.payment-total small{font-size:20px;color:var(--muted);font-weight:500}
dialog{background:var(--surface);color:var(--text);border:1px solid var(--outline);border-radius:28px;padding:30px;box-shadow:0 30px 110px #0009}dialog::backdrop{background:#0009;backdrop-filter:blur(8px)}.modal-close{color:var(--muted);top:16px;right:15px}.modal-title{font-size:28px;letter-spacing:-1px;font-weight:650;margin:22px 0 12px}#toast{background:var(--accent);color:var(--accent-on);border:0;border-radius:18px;bottom:115px}.quantity{background:var(--bg);border-color:var(--outline);border-radius:12px}.admin-tabs button{background:var(--surface-2);color:var(--text);border-radius:999px}.admin-tabs button.active{background:var(--accent);color:var(--accent-on)}th,td{border-color:var(--outline)}th{color:var(--muted)}pre{background:var(--bg);border-color:var(--outline);color:var(--text);border-radius:15px}.delivery{border-color:#52644c;background:#1a271d}.loader{border-color:var(--outline);border-top-color:var(--text)}.loading{color:var(--muted)}
@media(max-width:800px){.shell{padding:0 24px}.home-layout{grid-template-columns:1fr;gap:28px}.home-intro{display:none}.balance-card{min-height:195px}.home-tools{display:contents}.balance-zone{margin-bottom:0}.quick-actions{margin-top:0}.section-label{margin-top:0}.activity-list{margin-top:-28px}.home-note{margin-top:22px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header{height:91px}.header .header-control,.header .avatar{width:46px;height:46px;border-radius:17px}.header-actions{gap:8px}.brand img{width:28px;height:28px;border-radius:9px}.brand>span{font-size:23px}.brand-sub{font-size:9px;letter-spacing:.2px}.home-page{padding-top:18px}.home-layout>.section-label{margin:0}.home-tools .section-label{margin-top:0}}
@media(max-width:480px){.shell{padding:0 22px}.header{height:87px}.brand{gap:7px}.brand img{display:none}.brand>span{font-size:24px}.header-actions{gap:8px}.header .header-control,.header .avatar{width:45px;height:45px}.home-page{padding-top:17px}.balance-card{border-radius:25px;padding:27px 24px 23px;min-height:185px}.balance-top{font-size:9px}.balance-mark{font-size:9px}.balance-mark .ui-icon{width:14px;height:14px}.balance-amount{margin:13px 0 21px}.balance-currency{font-size:48px}.balance-amount strong{font-size:57px}.balance-cents{font-size:23px}.balance-bottom{font-size:9px}.home-pills{margin-top:26px;gap:10px}.home-pills button{min-height:43px}.home-layout{gap:28px}.quick-action{min-height:88px;gap:10px;border-radius:23px;font-size:10px}.quick-action .ui-icon{width:22px;height:22px}.quick-actions{gap:11px}.activity-empty{padding:14px 0}.activity-list{margin-top:-22px}.section-label{margin-bottom:0}.section-label h2{font-size:9px;letter-spacing:1.3px}.home-note{display:none}.bottom-nav{bottom:calc(16px + env(safe-area-inset-bottom));width:calc(100% - 42px);max-width:390px;padding:7px;gap:0}.bottom-nav button{min-height:57px}.bottom-nav button small{font-size:9px}.bottom-nav button .ui-icon{width:22px;height:22px}.page{padding-top:20px}.page-head h1,.catalog-heading h1{font-size:31px}.catalog-heading{align-items:flex-start;gap:7px}.catalog-heading p{font-size:11px;max-width:235px}.catalog-count{font-size:9px;padding:7px 9px;margin-top:26px}.overline{font-size:8px}.category{min-height:161px;padding:20px;border-radius:23px}.category .arrow{top:23px;right:16px}.category .count{bottom:18px;top:auto;right:18px}.category .service-icon{width:40px;height:40px;margin-bottom:17px}.category h3{font-size:17px}.category p{font-size:9px;max-width:125px}.product-card{min-height:235px;padding:19px;border-radius:23px}.product-card h3{font-size:18px}.product-card .price{font-size:21px}.panel{padding:22px}.stat{padding:18px 12px}.stat strong{font-size:24px}.stat span{font-size:8px}.settings-heading p{font-size:10px}.theme-panel{flex-wrap:wrap}.profile-name h2{font-size:25px}.profile-name .avatar{width:65px;height:65px;border-radius:22px}.menu-list button{padding:17px 19px}.home-note p{font-size:11px}.amount-presets{grid-template-columns:repeat(2,1fr)}.amount-presets button{font-size:12px}.wallet-actions .btn{font-size:12px;padding:12px 17px;gap:7px}dialog{padding:26px 22px;border-radius:26px}footer{padding-bottom:125px}.cart-item{border-radius:20px}.cart-item h3{font-size:15px}}

.stat strong{overflow-wrap:anywhere}.balance-amount.compact strong{font-size:42px}.balance-amount.compact .balance-currency{font-size:36px}.product-card .price{font-size:20px}
