/* RELOAD / Platinum. Shared visual language, separate web and Telegram layouts. */
:root{--bg:#0d0f12;--bg-raised:#14171c;--surface:#171a1f;--surface-2:#20242b;--surface-3:#282e36;--line:#30353e;--line-strong:#697380;--text:#f2f4f7;--muted:#b0b6c0;--soft:#c9ced5;--dim:#929ba8;--accent:#e5e9ef;--accent-ink:#15191f;--success:#a6c4b3;--radius:18px;--ease:cubic-bezier(.22,.8,.22,1);color-scheme:dark}
html{scroll-padding-top:100px}body{font-family:Manrope,system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.5;background:radial-gradient(ellipse at 50% -180px,#242a35 0,transparent 650px),var(--bg);color:var(--text)}body::before{display:none}
button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #e5e9ef;outline-offset:4px}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}button{touch-action:manipulation}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{font-family:Manrope,system-ui,sans-serif!important;letter-spacing:-.035em!important}button:active{transform:scale(.98)}
.topbar{background:rgba(13,15,18,.9);border-color:var(--line)}.topbar-inner{min-height:84px;gap:24px}.brand-logo{width:150px;height:40px;filter:none;opacity:1}.desktop-nav{border:0;background:none;gap:2px}.nav-button{font-size:14px;font-weight:600;min-height:44px;border-radius:10px}.desktop-nav .nav-button.active{background:#252a33;color:var(--text);box-shadow:none}.balance-button strong{font-family:inherit;font-size:14px}.balance-button span{font-size:12px;color:var(--muted)}.avatar-button{font-family:inherit;font-size:14px}.seller-header{white-space:nowrap;text-decoration:none;color:var(--muted);font-size:14px;min-height:44px;display:inline-flex;align-items:center;gap:8px}.seller-header:hover{color:var(--text)}
.shell,.topbar-inner{width:min(100% - 64px,1360px)}main{padding-top:40px}.market-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:0 0 30px}.market-intro h1{font-size:clamp(30px,4vw,48px);line-height:1.12;font-weight:600;margin:0}.market-intro p{font-size:15px;color:var(--muted);margin:12px 0 0}.market-intro-note{font-size:13px;color:var(--muted);display:flex;gap:8px;align-items:center;white-space:nowrap}.market-intro-note .icon{width:18px}.hero,.hero-panel{display:none}.catalog{padding:0}.catalog-toolbar{display:flex;flex-direction:column;gap:22px;align-items:stretch;margin-bottom:30px}.search-wrap{width:100%;max-width:none}.search-input{min-height:56px;background:#171b22;border:1px solid #353d49;font-size:16px;border-radius:14px;padding-left:50px}.search-wrap .icon{left:18px;color:var(--muted)}.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;justify-content:stretch}.filter-button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;min-height:62px;border:1px solid var(--line);border-radius:12px;padding:12px 16px;font-size:14px;font-weight:600;background:rgba(23,26,31,.65);transition:background .18s,border-color .18s,transform .18s}.filter-button span{min-width:0;overflow-wrap:anywhere}.filter-button small{font-size:12px;color:var(--dim);font-weight:500}.filter-button.active{color:var(--accent-ink);border-color:#d9e0e9;background:linear-gradient(115deg,#eff2f6,#c4ccd8);box-shadow:inset 0 1px 0 #fff}.filter-button.active small{color:#4b5664}.catalog-line{margin-bottom:18px}.catalog-line strong{font-size:20px;font-weight:600}.catalog-count{font-family:inherit;font-size:13px;color:var(--muted)}
.products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{min-height:0;padding:0;overflow:hidden;background:linear-gradient(155deg,#20252d,#171a20 65%);border:1px solid #343b46;border-radius:18px;box-shadow:inset 0 1px 0 #ffffff05;transition:transform .2s var(--ease),border-color .2s,box-shadow .2s}.product-card:hover{transform:translateY(-2px);border-color:#737e8f;background:linear-gradient(155deg,#242a34,#1b1f26 65%);box-shadow:0 12px 28px #0002}.product-card::after{display:none}.product-open{border:0;background:none;cursor:pointer;padding:0;color:inherit;text-align:left;width:100%;display:flex;flex-direction:column;flex:1}.platinum-visual{display:flex;align-items:center;gap:14px;position:relative;min-height:124px;padding:26px 22px;background:linear-gradient(125deg,#323b49,#262e3a 45%,#1d232c);border-bottom:1px solid #ffffff0a;overflow:hidden;width:100%;flex:none}.platinum-monogram{width:52px;height:56px;display:grid;place-items:center;flex:none;border:1px solid #a6b0bf70;border-radius:13px;font-family:Manrope,system-ui,sans-serif;font-size:25px;letter-spacing:-.05em;font-weight:500;background:linear-gradient(130deg,#e8edf8,#aab5c7);color:#252d3b;box-shadow:inset 0 1px 0 #ffffffbd,0 8px 20px #0002}.platinum-brand{font-size:16px;font-weight:600;letter-spacing:-.02em;color:#dce3ee;overflow-wrap:anywhere;padding-right:8px}.platinum-visual-arrow{position:absolute;right:16px;top:12px;font-size:18px;color:#b1bbca}.platinum-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.platinum-product-content{padding:20px 20px 0;width:100%}.product-card h3,.product-name{font-size:17px;font-weight:600;line-height:1.45;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-wrap:initial;min-height:49px}.product-description{min-height:42px;max-height:42px;margin:9px 0 0;color:var(--muted);font-size:14px;line-height:21px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-align:left}.platinum-stock{display:flex;gap:6px;align-items:center;color:#aebfc0;font-size:12px;margin-top:16px}.platinum-stock::before{content:'';width:5px;height:5px;background:#a6c4b3;border-radius:50%;flex:none}.platinum-stock.out{color:var(--dim)}.platinum-stock.out::before{background:var(--dim)}.product-card-foot{padding:17px 20px 20px;gap:8px;align-items:center}.product-price,.price{font:600 21px/1.2 Manrope,system-ui,sans-serif;letter-spacing:-.035em;white-space:nowrap}.buy-button,.primary-button,.primary-btn{border:1px solid #e1e6ee;background:linear-gradient(120deg,#eef2f7,#c7d0dc);color:var(--accent-ink);box-shadow:inset 0 1px 0 #fff;font-weight:700;min-height:46px;font-size:14px;border-radius:10px}.buy-button{padding:0 12px}.buy-button .icon{width:16px;height:16px}.secondary-button,.secondary-btn,.danger-button{font-size:14px;min-height:44px}.seller-invite{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 30px;margin:32px 0 0;border:1px solid #3b4350;border-radius:16px;background:linear-gradient(110deg,#252c37,#181d25)}.seller-invite h2{margin:0;font-size:21px;font-weight:600}.seller-invite p{margin:7px 0 0;color:var(--muted);font-size:14px}.seller-invite a{white-space:nowrap;text-decoration:none}.market-footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:32px;padding-top:22px;border-top:1px solid var(--line);color:var(--dim);font-size:13px}.market-footer a{text-decoration:none}.market-footer a:hover{color:var(--text)}.market-footer div{display:flex;gap:20px}
.section-title{font-size:32px}.section-copy{font-size:16px}.panel-head h3{font-size:16px}.panel-head span,.metric span,.metric small,.order-id{font-family:inherit;font-size:13px}.metric strong{font-size:22px}.field label,.field input,.field textarea,.field select{font-size:16px}.provider-copy strong{font-size:15px}.provider-copy span{font-size:13px}.status{font-size:12px}.profile-handle,.identity-line,.operation-info,.ticket-summary{font-size:14px}.referral-head p{font-size:14px}.mobile-nav .nav-button{font-size:12px}.rate-badge{font-family:inherit}.drawer{width:min(560px,100%);background:var(--bg-raised)}.drawer-head h2{font-size:24px;line-height:1.3}.drawer-head>div{min-width:0}.drawer-head span{font-size:12px}.drawer-head .close-button{flex:none}.drawer-head,.drawer-body,.drawer-foot{padding:24px}.drawer-foot{padding-bottom:max(24px,env(safe-area-inset-bottom));background:#161b23;border-top:1px solid var(--line)}.purchase-summary{border:0;background:none;padding:0}.purchase-summary-top{align-items:flex-start}.purchase-summary-top p{font-size:15px;line-height:1.6}.purchase-summary-top .status{flex:none}.quantity-control{margin:20px 0}.quantity-control button{width:46px;height:46px}.quantity-value{font-size:18px}.purchase-total{font-size:16px}.purchase-total strong{font-family:inherit;font-size:26px}.platinum-specs{padding:0;list-style:none;margin:18px 0}.platinum-specs li{font-size:14px;padding:7px 0;color:var(--muted);border-bottom:1px solid var(--line)}.platinum-terms{margin:16px 0;padding:14px 16px;background:#252c37;border:1px solid #475264;border-radius:12px}.platinum-terms p{font-size:14px;line-height:1.6;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.platinum-terms p+p{margin-top:8px}.platinum-details{border-top:1px solid var(--line);margin:18px 0}.platinum-details summary{min-height:52px;padding:14px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;list-style:none;font-size:14px;font-weight:600}.platinum-details summary::-webkit-details-marker{display:none}.platinum-details[open] summary span{transform:rotate(45deg)}.platinum-details>div{font-size:15px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);padding-bottom:18px}.recording-check{font-size:14px}.recording-check input{min-width:20px;width:20px;height:20px}.recording-check strong,.recording-check span span{font-size:14px}.platinum-caption{font-size:14px;color:var(--muted);margin:14px 0}.platinum-checkout-error{padding:14px;background:#35262b;border:1px solid #72535d;border-radius:10px;color:#f3c0c9;font-size:14px}.toast strong{font-size:15px}.toast p{font-size:14px}.empty-state,.error-state{grid-column:1/-1;font-size:16px}.empty-state button{margin-top:14px}.balance-resume{margin:20px 0;padding:16px;border:1px solid #778393;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:14px}.balance-resume[hidden]{display:none}
@media(min-width:1180px){.seller-header{display:none}}
@media(max-width:1179px){.products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.desktop-nav{display:none}.topbar-inner{grid-template-columns:1fr auto}.account-cluster{gap:16px}.mobile-nav{display:flex;background:rgba(15,18,23,.97);border-top:1px solid var(--line);padding-bottom:max(8px,env(safe-area-inset-bottom))}.shell{padding-bottom:120px}}
@media(max-width:850px){.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shell,.topbar-inner{width:calc(100% - 40px)}.market-intro-note{display:none}.filters{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-button{padding:12px}.platinum-visual{padding:22px 18px;gap:12px}.platinum-brand{font-size:14px}.platinum-product-content{padding:18px 16px 0}.product-card-foot{padding:16px}.seller-invite{padding:22px}}
@media(max-width:540px){main{padding-top:28px}.shell,.topbar-inner{width:calc(100% - 32px)}.topbar-inner{min-height:72px;gap:12px}.brand-logo{width:124px;height:34px}.seller-header,.balance-button span,.avatar-button{display:none}.balance-button{gap:0;padding:0 12px}.market-intro{padding-bottom:24px}.market-intro h1{font-size:31px}.market-intro p{font-size:14px;line-height:1.6;max-width:29ch}.catalog-toolbar{gap:14px;margin-bottom:25px}.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.filter-button{min-height:52px;font-size:13px;padding:10px 12px;border-radius:10px}.filters .filter-button:first-child{grid-column:1/-1;min-height:44px}.search-input{min-height:52px}.products-grid{gap:10px}.platinum-visual{min-height:104px;flex-direction:column;gap:8px;padding:17px 10px;align-items:flex-start}.platinum-monogram{width:38px;height:38px;border-radius:9px;font-size:20px}.platinum-brand{font-size:12px;line-height:1.4}.platinum-visual-arrow{top:9px;right:12px;font-size:16px}.platinum-product-content{padding:14px 12px 0}.product-card h3,.product-name{font-size:14px;min-height:61px;-webkit-line-clamp:3;line-height:1.45}.product-description{font-size:12px;line-height:18px;min-height:36px;max-height:36px}.platinum-stock{font-size:12px;margin-top:12px}.product-card-foot{padding:14px 12px 12px;flex-wrap:wrap;gap:12px}.product-price{font-size:20px}.buy-button{justify-content:center;width:100%;min-height:44px}.product-card{border-radius:14px}.seller-invite{align-items:flex-start;flex-direction:column;padding:22px 20px;margin-top:24px;gap:18px}.seller-invite h2{font-size:21px}.seller-invite .secondary-button{width:100%}.market-footer{font-size:12px;margin-top:24px;gap:14px}.drawer-head,.drawer-body,.drawer-foot{padding:20px}.drawer-foot{padding-bottom:max(20px,env(safe-area-inset-bottom))}.drawer-head h2{font-size:21px}.purchase-summary-top{flex-direction:column}.section-title{font-size:28px}.section-copy{font-size:14px}.toast-stack{left:16px;right:16px;bottom:calc(90px + env(safe-area-inset-bottom))}.balance-resume{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.is-guest .balance-button span,.is-guest .avatar-button{display:none}.is-guest .balance-button{min-width:90px;justify-content:center}.is-guest .seller-header{display:inline-flex}@media(max-width:540px){.is-guest .seller-header{display:none}}

/* Web-only bottom navigation: one complete layout across the mobile breakpoint. */
@media (max-width:1179px) {
  .mobile-nav {
    position:fixed;
    left:50%;
    right:auto;
    bottom:calc(10px + env(safe-area-inset-bottom,0px));
    transform:translateX(-50%);
    z-index:45;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    width:min(calc(100% - 16px),680px);
    gap:4px;
    align-items:stretch;
    padding:6px;
    border:1px solid var(--line-strong);
    border-radius:16px;
    background:rgba(15,18,23,.97);
    backdrop-filter:blur(20px);
    box-shadow:0 12px 36px rgba(0,0,0,.3);
  }
  .mobile-nav .nav-button {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    width:100%;
    min-width:0;
    min-height:56px;
    padding:6px 0;
    border-radius:10px;
    font-size:12px;
    line-height:1.25;
    letter-spacing:0;
  }
  .mobile-nav .nav-button span {
    display:block;
    max-width:100%;
    white-space:nowrap;
  }
  .mobile-nav .icon {width:20px;height:20px;flex:none;}
}
@media (min-width:1180px) {.mobile-nav {display:none;}}

@media (max-width:1179px) {.toast-stack {bottom:calc(94px + env(safe-area-inset-bottom,0px));}}

@media (max-width:1179px) {.shell {padding-bottom:calc(110px + env(safe-area-inset-bottom,0px));}}
