@keyframes dx-edit-in{0%{opacity:0;transform:translateY(16px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes dx-spin{to{transform:rotate(360deg)}}.product-seller-row{display:flex;align-items:center;gap:8px;min-width:0;padding:7px 8px;margin-top:2px;border-radius:11px;background:rgba(148,163,184,.07);border:1px solid rgba(148,163,184,.12);cursor:pointer}.product-seller-row:hover{background:rgba(16,185,129,.1);border-color:rgba(16,185,129,.32)}.product-seller-ava{flex:0 0 auto;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#fff;font-size:11px;font-weight:800;letter-spacing:.3px;text-shadow:0 1px 2px rgba(0,0,0,.35);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);overflow:hidden}.product-seller-ava img{width:100%;height:100%;object-fit:cover}.product-seller-info{display:flex;flex-direction:column;min-width:0;line-height:1.2}.product-seller-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:12.5px;font-weight:700}.product-seller-stat{display:inline-flex;align-items:center;gap:3px;overflow:hidden;white-space:nowrap;color:var(--muted);font-size:11px;font-weight:600}.product-seller-stat .ps-star{color:#fbbf24;font-style:normal;font-size:11px}.dx-edit-head h3,.product-seller-stat b{color:var(--text);font-weight:800}.product-seller-stat em{overflow:hidden;text-overflow:ellipsis;font-style:normal;font-weight:600}.product-card-body{display:flex;flex-direction:column;gap:7px;min-width:0;padding:12px}.product-card-body>*{min-width:0;max-width:100%}.product-title{overflow-wrap:anywhere;word-break:break-word}.product-card-body .product-footer{margin-top:auto}.product-card .price-line .dx-discount{margin-right:6px;padding:2px 6px;border-radius:6px;font-size:11px;font-weight:900;line-height:1}.product-card .seller-mini{display:none!important}@media (max-width:760px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{min-height:0;grid-template-rows:auto 1fr;border-radius:14px}.product-art,body[data-theme=dim] .product-art{min-height:0;height:76px}.product-art img,body[data-theme=dim] .product-art img{width:42px;height:42px}.product-art .fav-btn{width:30px;height:30px;top:7px;right:7px;border-radius:9px;font-size:13px}.product-card-body{gap:6px;padding:9px}.product-card .quality-list{display:flex!important;flex-wrap:wrap;gap:4px;max-height:22px;overflow:hidden}.product-card .quality-list span{flex:0 1 auto;overflow:hidden;max-width:100%;padding:2px 7px;border-radius:7px;font-size:9.5px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}.product-card .product-meta span:nth-child(n+3),.product-card .quality-list span:nth-child(n+2){display:none}.product-seller-row{display:flex!important;padding:6px 7px;gap:7px}.product-seller-ava{width:28px;height:28px;font-size:10.5px}.product-seller-name{font-size:12px}.product-seller-stat{font-size:10.5px}.product-title{min-height:0;-webkit-line-clamp:2;font-size:13px;line-height:1.28}.product-footer{grid-template-columns:1fr;min-height:0}.product-footer .primary-button{width:100%;min-height:40px;border-radius:10px;font-size:12.5px}.toolbar{display:flex!important;flex-direction:column;align-items:stretch;gap:9px;min-height:0!important;padding:10px!important;border-radius:14px;background:linear-gradient(180deg,rgba(34,197,94,.06),rgba(34,197,94,.02)),var(--surface-2);border:1px solid var(--line);box-shadow:0 6px 18px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.04)}.toolbar>div:first-child{display:flex;align-items:baseline;gap:8px;min-width:0;line-height:1.15}#resultCount{flex:0 0 auto;font-size:15px;font-weight:800}#activeSummary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11.5px;font-weight:600}.toolbar-controls{display:grid!important;grid-template-columns:repeat(3,1fr);gap:2px;padding:3px;border-radius:11px;background:rgba(0,0,0,.28);border:1px solid rgba(148,163,184,.12);box-shadow:inset 0 1px 3px rgba(0,0,0,.35)}.toolbar-controls .segmented,body[data-theme=dim] .toolbar-controls .segmented{min-height:32px;padding:0 6px;border:0!important;border-radius:8px;background:0 0!important;color:var(--muted);font-size:12.5px;font-weight:700;transition:color 160ms ease,background 200ms ease,transform 120ms ease,box-shadow 200ms ease}.toolbar-controls .segmented:active{transform:scale(.94)}.toolbar-controls .segmented.active,body[data-theme=dim] .toolbar-controls .segmented.active{background:linear-gradient(135deg,#a3e635,#22c55e)!important;color:#052012!important;box-shadow:0 3px 10px rgba(34,197,94,.4),inset 0 1px 0 rgba(255,255,255,.35)}.quick-tabs{margin:10px 0!important;gap:7px;-webkit-overflow-scrolling:touch}.quick-tabs .chip{flex:0 0 auto}}@media (max-width:440px){.product-seller-stat .ps-word{display:none}}@media (max-width:380px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-seller-stat em{display:none}}.product-art img,.product-art--roblox img,.product-art--steam img,.product-art--telegram img{width:84px;height:84px}@media (max-width:760px){.product-art,body[data-theme=dim] .product-art{height:96px}.product-art img,.product-art--roblox img,.product-art--steam img,.product-art--telegram img,body[data-theme=dim] .product-art img{width:60px;height:60px}}@media (max-width:900px){.dx-product-main{padding:12px}.dx-product-visual{min-height:140px;padding:16px;display:flex;align-items:center;justify-content:center}.dx-product-visual img{width:120px;height:120px;object-fit:contain}}@media (max-width:520px){body[data-active-view=product] main{padding:0}.dx-product-main{padding:10px}.dx-product-visual{min-height:140px;padding:10px}.dx-product-visual img{width:min(78%,200px);height:auto;max-height:200px}.dx-similar-card small{display:flex;align-items:center;gap:4px}}.dx-edit-modal{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center}.dx-edit-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(6px)}.dx-edit-dialog{position:relative;z-index:1;width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 64px);overflow-y:auto;padding:24px;border-radius:20px;animation:dx-edit-in .25s cubic-bezier(.34,1.56,.64,1) both}.dx-edit-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.dx-edit-head h3{margin:0;font-size:20px}.dx-edit-close{width:36px;height:36px;font-size:16px}.dx-edit-form{display:grid;gap:14px}.dx-edit-form label{display:grid;gap:6px;color:var(--muted);font-size:13px;font-weight:700}.dx-edit-form input,.dx-edit-form select{min-height:44px;padding:0 14px}.dx-edit-form input,.dx-edit-form select,.dx-edit-form textarea{border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font:inherit;outline:0;transition:border-color .2s ease,box-shadow .2s ease}.dx-edit-form input:focus,.dx-edit-form select:focus,.dx-edit-form textarea:focus{border-color:#5dff9a;box-shadow:0 0 0 3px rgba(93,255,154,.18)}.dx-edit-form textarea{min-height:80px;padding:10px 14px;resize:vertical}.dx-edit-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:6px}.lot-management-actions{display:grid;grid-template-columns:36px 36px 1fr 1fr;gap:6px;align-items:center}.lot-management-info{min-width:0;flex:1}.lot-management-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.lot-management-info span{font-size:12px;color:var(--muted)}.lot-delete-btn,.lot-edit-btn{min-width:38px;min-height:38px;padding:0!important;font-size:16px}.lot-delete-btn{font-size:15px;color:#ef4444!important;border-color:rgba(239,68,68,.3)!important}.lot-delete-btn:hover{background:rgba(239,68,68,.1)!important;border-color:rgba(239,68,68,.5)!important}.dx-owner-edit-btn{width:100%;min-height:44px;font-size:14px;margin-top:4px}.product-card-body{padding:12px 12px 10px}.product-art{display:flex;align-items:center;justify-content:center}.product-art .badge,.quality-list span{padding:3px 8px;border-radius:6px;font-weight:700}.product-art .badge{position:absolute;bottom:8px;left:8px;font-size:10px;backdrop-filter:blur(4px)}.price-line strong{font-size:18px;font-weight:800;letter-spacing:-.02em}.price-line s{font-size:13px;margin-left:4px}.quality-list span{display:inline-flex;align-items:center;font-size:10.5px;background:rgba(74,222,128,.08);color:var(--muted);border:1px solid rgba(74,222,128,.1)}.product-meta{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:11px;color:var(--muted)}.product-meta span:not(:last-child)::after{content:"·";margin-left:8px;color:var(--muted-2)}.dx-similar-card,.product-seller-row{transition:all .2s ease}.dx-similar-card{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);text-align:left;cursor:pointer}.dx-similar-card:hover{border-color:rgba(74,222,128,.4);transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.15)}.dx-similar-card span{font-size:13px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dx-similar-card b{color:var(--green)}.dx-secure-note,.dx-similar-card small{font-size:11px;color:var(--muted)}.dx-secure-note{display:flex;align-items:center;justify-content:center;gap:6px;padding:8px;margin-top:4px;border-radius:10px;background:rgba(74,222,128,.06);border:1px solid rgba(74,222,128,.12);font-size:11.5px;font-weight:600}.dx-secure-note::before{content:"🔒";font-size:13px}.dx-total-box{display:grid;gap:6px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.dx-total-box>div{display:flex;justify-content:space-between;align-items:center}.dx-similar-card b,.dx-total-box>div>strong{font-size:15px;font-weight:800}.dx-total-box>div:first-child>strong{color:var(--green);font-size:18px}.dx-total-box small{margin-top:4px;color:var(--muted);font-size:11px;text-align:center}.dx-top-specs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dx-quantity-stepper,.dx-top-specs>div{display:flex;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.dx-top-specs>div{flex-direction:column;gap:4px;padding:12px}.dx-top-specs>div>span{font-size:11px;color:var(--muted);font-weight:600}.dx-quantity-stepper button,.dx-quantity-stepper input,.dx-top-specs>div>strong{font-size:14px;font-weight:700;color:var(--text)}.dx-top-specs>div>small{font-size:11px;color:var(--muted-2);line-height:1.3}.dx-quantity-stepper{align-items:center;gap:0;overflow:hidden}.dx-quantity-stepper button{width:44px;height:44px;border:0;background:0 0;font-size:20px;cursor:pointer;transition:background .15s ease}.dx-quantity-stepper button:hover{background:var(--surface-3)}.dx-quantity-stepper input{width:60px;height:44px;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);background:var(--surface);text-align:center;font-size:16px;-moz-appearance:textfield}.dx-quantity-stepper input::-webkit-inner-spin-button,.dx-quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.payment-methods.compact button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);color:var(--text);font-weight:600;font-size:13px;transition:all .2s ease}.payment-methods.compact button.active{border-color:#5dff9a;background:rgba(74,222,128,.08);box-shadow:0 0 0 2px rgba(93,255,154,.12)}.payment-methods.compact button:hover:not(.active){border-color:var(--line-strong);background:var(--surface-3)}.product-breadcrumb{font-size:12px;color:var(--muted);padding:8px 0;margin-bottom:4px}.product-breadcrumb:hover{color:var(--text)}.dx-review-list>strong{display:block;margin-bottom:10px;font-size:15px;font-weight:700}.dx-review-list p{display:grid;gap:4px;padding:12px;margin:0 0 8px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.dx-review-list p b{font-size:13px;font-weight:700}.dx-review-list p span{font-size:13px;color:var(--text);line-height:1.4}.dx-review-list p small{font-size:11px;color:var(--muted-2)}.dx-review-reply{display:block;margin-top:6px;padding:8px 10px;border-radius:8px;background:rgba(74,222,128,.06);border:1px solid rgba(74,222,128,.12);font-size:12px;color:var(--muted);font-style:italic}.dx-review-reply-btn{width:fit-content;min-height:32px;padding:0 12px;font-size:12px}@media (max-width:760px){body[data-active-view=seller] .seller-origin-shell{padding:12px 4px}body[data-active-view=seller] .seller-origin-shell,body[data-active-view=seller] .seller-view{padding-bottom:calc(120px + env(safe-area-inset-bottom))!important}.seller-quickbar{flex-direction:column;gap:10px;align-items:stretch}.seller-origin-actions{display:flex;gap:8px;justify-content:stretch}.seller-origin-actions button{flex:1;min-height:44px}.seller-mode-tabs{display:flex;gap:6px}.seller-mode-tab{flex:1;min-height:42px;font-size:13px;padding:0 10px;border-radius:10px}.lot-management-row{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.lot-management-actions{display:grid;grid-template-columns:38px 38px 1fr 1fr;gap:6px}.lot-management-actions button{min-height:40px;font-size:12px}.lot-management-actions .lot-delete-btn,.lot-management-actions .lot-edit-btn{grid-row:1}}body[data-theme=dim] .dx-bubble-own{background:linear-gradient(135deg,#22c55e,#16a34a)!important}body[data-theme=dim] .dx-bubble-own b{color:#052012!important}body[data-theme=dim] .dock-main{background:linear-gradient(135deg,#a3e635,#22c55e)!important;color:#052012!important}.dock-item.active{color:var(--green)!important;background:rgba(74,222,128,.08)!important}.dx-message-row.active{box-shadow:inset 3px 0 0 var(--green)!important}.dx-chat-filters button.active{border-color:var(--green)!important;background:rgba(74,222,128,.1)!important;color:var(--green)!important}.dip-product-card,.product-card{will-change:transform}.primary-button{will-change:auto}.dx-chat-messages::-webkit-scrollbar,.dx-message-list::-webkit-scrollbar{width:6px}.dx-chat-messages::-webkit-scrollbar-track,.dx-message-list::-webkit-scrollbar-track{background:0 0}.dx-chat-messages::-webkit-scrollbar-thumb,.dx-message-list::-webkit-scrollbar-thumb{background:var(--surface-3);border-radius:999px}.empty-state,.product-grid-loading{display:flex;flex-direction:column;align-items:center}.empty-state{gap:12px;padding:48px 20px;text-align:center}.empty-state h3{margin:0;font-size:20px;font-weight:700}.empty-state p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}.product-grid-loading{gap:8px;padding:60px 20px;color:var(--muted);font-size:15px}.product-grid-loading::before{content:"";width:32px;height:32px;border:3px solid var(--surface-3);border-top-color:var(--green);border-radius:50%;animation:dx-spin .8s linear infinite}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:0}button:not([disabled]),input[type=button],input[type=submit]{cursor:pointer}button[disabled]{cursor:not-allowed}a{color:var(--green);text-decoration:none;transition:color .15s ease}a:hover{color:#5dff9a}.description-box,.seller-page-card{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.description-box h2,.seller-page-card h2{margin:0 0 10px;font-size:18px;font-weight:700}.description-box p{margin:0 0 10px;font-size:14px;line-height:1.6;color:var(--text)}.seller-page-card h2{margin:0 0 14px}.seller-detail{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.seller-avatar{display:grid;width:52px;height:52px;place-items:center;border-radius:50%;background:var(--brand-grad);color:#052012;font-size:18px;font-weight:800;flex-shrink:0}.seller-detail strong{display:block;font-size:16px;font-weight:700}.seller-detail small,.seller-detail span{display:block;margin-top:4px;font-size:13px;color:var(--muted)}.seller-detail small{font-size:12px;color:var(--muted-2)}.dx-stars{display:inline-flex;align-items:center;gap:2px}.dx-stars i{font-size:14px;color:var(--muted-2);font-style:normal}.dx-stars i.active{color:#fbbf24}.dx-stars b{margin-left:4px;font-size:13px;font-weight:700;color:var(--text)}.deal-chat-actions button[data-dispute-order]{background:rgba(239,68,68,.1)!important;border:1px solid rgba(239,68,68,.3)!important;color:#ef4444!important;font-weight:700;min-height:44px}.deal-chat-actions button[data-dispute-order]:not([disabled]):hover{background:rgba(239,68,68,.15)!important;border-color:rgba(239,68,68,.5)!important}.deal-chat-actions button[data-dispute-order][disabled]{opacity:.5}@media (min-width:901px){.dx-chat-input-area{padding:12px 18px}.dx-chat-input input{height:42px;font-size:14px}.dx-chat-input .primary-button{font-size:18px}.dx-chat-attach-btn,.dx-chat-input .primary-button{width:42px;height:42px;min-height:42px}}.dx-chat-messages{padding:18px 20px}.deal-chat-card{max-width:100%!important}.dx-promo-button{width:100%;min-height:40px;font-size:13px;display:flex;align-items:center;justify-content:center;gap:6px}.dx-promo-button::before{content:"🎟";font-size:15px}.balance-warning-box{border-radius:12px!important;padding:12px!important;font-size:13px!important;line-height:1.4!important}.page-buy-button{width:100%;min-height:52px;font-size:16px;font-weight:800;letter-spacing:.01em;margin-top:4px}#messageSellerButton{width:100%;min-height:44px;font-size:14px}.dx-product-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,340px);gap:16px;align-items:start}.dx-product-main,.dx-product-section{padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.dx-product-section{padding:18px;border-radius:16px}.dx-product-section h2{margin:0 0 12px;font-size:17px;font-weight:700}.dx-stock-line{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:12px}.dx-price-block s,.dx-quantity-row>span,.dx-stock-line span{font-size:13px;color:var(--muted);margin-right:8px}.dx-stock-line strong{font-size:15px;font-weight:800;color:var(--green)}.dx-price-block,.dx-quantity-row,.dx-stock-line{border:1px solid var(--line);background:var(--surface-2)}.dx-quantity-row{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:12px;padding:12px 14px;border-radius:12px}.dx-quantity-row>span{font-weight:600}.dx-price-block small,.dx-quantity-row>small{font-size:12px;color:var(--muted-2)}.dx-price-block{display:flex;align-items:baseline;gap:8px;padding:16px 14px;border-radius:14px}.dx-price-block strong{font-size:32px;font-weight:900;color:var(--text);letter-spacing:-.02em}.dx-price-block s{font-size:16px}.dx-discount{background:linear-gradient(135deg,#ef4444,#dc2626)!important;color:#fff!important;padding:3px 8px;border-radius:6px;font-size:12px;font-weight:800}
.seller-stats-panel {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.seller-stats-head {
  margin-bottom: 14px;
}

.seller-stats-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.seller-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.seller-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  text-align: center;
}

.seller-stat-card span {
  font-size: 22px;
}

.seller-stat-card strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.seller-stat-card small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 760px) {
  .seller-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .dx-product-page {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .lot-management-actions {
    grid-template-columns: 36px 36px 1fr 1fr !important;
    gap: 4px !important;
  }
  
  .lot-management-actions .lot-edit-btn,
  .lot-management-actions .lot-delete-btn {
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    font-size: 14px !important;
  }
  
  .lot-management-actions button {
    min-height: 36px !important;
    font-size: 11px !important;
    padding: 0 8px !important;
  }
}

.dx-chat-input input {
  flex: 1 !important;
  min-width: 0 !important;
}

.dx-product-visual img {
  width: 120px !important;
  height: 120px !important;
  object-fit: contain;
}
.dx-product-visual {
  min-height: 160px !important;
}
.dx-stock-line span {
  margin-right: 8px;
}
.dx-chat-input .primary-button {
  border-radius: 10px !important;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  line-height: 1.5;
}

.dx-chat-filters button {
  min-height: 36px !important;
}

.dipx-balance-card button {
  min-height: 36px !important;
  min-width: 36px !important;
}

.primary-button:active,
.secondary-button:active {
  transform: scale(0.97);
  transition: transform 0.08s ease;
}

.dock-item:active,
.nav-link:active,
.chip:active {
  transform: scale(0.95);
  transition: transform 0.08s ease;
}

::selection {
  background: rgba(34, 197, 94, 0.3);
  color: inherit;
}

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
}

body {
  touch-action: pan-y pan-x;
}

.dx-chat-messages,
.dx-message-list,
.mobile-filter-body,
.legal-text-body {
  -webkit-overflow-scrolling: touch;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}
