
/* MEGA ROBUX V3.2.3 — Premium Marketplace Gamer
   Clean retail structure + restrained gamer identity. */

/* ========== Shared polish ========== */
:root{
  --p-bg:#070707;
  --p-panel:#0f0f0f;
  --p-panel-2:#131313;
  --p-line:#282828;
  --p-line-2:#3d3d3d;
  --p-text:#fafafa;
  --p-muted:#a5a5a5;
  --p-purple:#9d9d9d;
  --p-purple-2:#a4a4a4;
  --p-purple-soft:#c5c5c5;
  --p-green:#a8a8a8;
  --p-shadow:0 22px 55px rgba(0, 0, 0,.26);
}
body.market-v3,body.client-body,body.delivery-page{background:#070707!important}
body.market-v3 .btn,body.client-body .btn,body.delivery-page .btn{transition:.16s ease!important}
body.market-v3 .btn-primary,body.client-body .btn-primary,body.delivery-page .btn-primary{
  background:linear-gradient(180deg,#9d9d9d,#9d9d9d)!important;
  border-color:#9d9d9d!important;
  box-shadow:0 10px 25px rgba(157, 157, 157,.16)!important;
}
body.market-v3 .btn-primary:hover,body.client-body .btn-primary:hover,body.delivery-page .btn-primary:hover{
  transform:translateY(-1px)!important;
  filter:brightness(1.04)!important;
}
.btn-ghost{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:44px!important;padding:0 12px!important;
  color:#989898!important;font-size:10px!important;font-weight:800!important;
  background:transparent!important;border:1px solid transparent!important;
}
.btn-ghost:hover{color:#ffffff!important;background:#111111!important;border-color:#262626!important}

/* ========== Main storefront ========== */
.market-header{box-shadow:0 1px 0 rgba(255, 255, 255,.015)!important}
.market-header-inner{height:80px!important}
.market-brand .brand-mark{box-shadow:0 0 0 3px rgba(157, 157, 157,.06)!important}
.market-nav a{font-weight:750!important}
.market-hero{
  min-height:620px!important;
  padding-block:70px!important;
  position:relative!important;
}
.market-hero::before{
  content:"";position:absolute!important;pointer-events:none!important;
  width:520px;height:520px;left:-240px;top:30px;border-radius:50%!important;
  background:rgba(157, 157, 157,.08)!important;filter:blur(110px)!important;
}
.market-hero h1{font-size:clamp(54px,5vw,72px)!important}
.market-hero-copy>p{font-size:17px!important;max-width:660px!important}
.market-buybox{
  border-radius:18px!important;
  background:linear-gradient(180deg,#111111,#0c0c0c)!important;
  border-color:#343434!important;
}
.buybox-options button{border-radius:12px!important}
.buybox-options button.featured{box-shadow:inset 3px 0 #9e9e9e,0 8px 24px rgba(157, 157, 157,.08)!important}
.market-product-card,.market-delivery-grid>a,.market-confidence-grid article{
  box-shadow:none!important;
}
body.market-v3 .market-product-card{
  border-radius:17px!important;
}
body.market-v3 .market-product-card:hover{
  box-shadow:0 15px 36px rgba(0, 0, 0,.22)!important;
}
body.market-v3 .market-product-card.featured{
  background:linear-gradient(180deg,#141414,#0f0f0f)!important;
}
.market-custom{border-radius:17px!important}
.market-final-cta{
  background:linear-gradient(105deg,#111111,#141414)!important;
  border-color:#3a3a3a!important;
}

/* ========== Client Center: compact header ========== */
body.client-body .client-topbar{height:76px!important}
body.client-body .client-topbar-inner{width:min(calc(100% - 36px),1390px)!important}
body.client-body .client-topbar .brand-mark{width:48px!important;height:48px!important}
body.client-body .client-topbar .brand-text{font-size:15px!important}
body.client-body .client-domain{min-height:40px!important;font-size:10px!important}
body.client-body .client-top-user{min-height:48px!important;min-width:190px!important}
body.client-body .client-top-user-avatar{width:36px!important;height:36px!important}
body.client-body .client-buy-top{min-height:48px!important}

/* ========== Dashboard overall ========== */
body.client-body .client-page{
  width:min(calc(100% - 36px),1380px)!important;
  padding-top:20px!important;padding-bottom:28px!important;
}
body.client-body .client-app{
  grid-template-columns:218px minmax(0,1fr)!important;
  gap:16px!important;
}
body.client-body .client-main{gap:12px!important}

/* Sidebar with bigger Discord profile */
body.client-body .client-sidebar{
  top:96px!important;height:calc(100vh - 116px)!important;
  padding:13px!important;border-radius:17px!important;
  background:#0d0d0d!important;
}
body.client-body .sidebar-user-premium{
  display:grid!important;
  grid-template-columns:64px 1fr!important;
  align-items:center!important;
  gap:13px!important;
  padding:8px 5px 17px!important;
}
body.client-body .sidebar-user-premium .user-avatar-wrap{
  width:64px!important;height:64px!important;flex-basis:64px!important;
  border-radius:17px!important;
  border:1px solid #3e3e3e!important;
  box-shadow:0 0 0 4px rgba(157, 157, 157,.07)!important;
}
body.client-body .sidebar-user-copy{min-width:0!important}
body.client-body .sidebar-user-copy .sidebar-account-label{
  font-size:7.5px!important;letter-spacing:.08em!important;color:#747474!important
}
body.client-body .sidebar-user-copy strong{
  display:block!important;font-size:14.5px!important;line-height:1.08!important;
  margin:4px 0 3px!important;max-width:120px!important;
}
body.client-body .sidebar-user-copy>small:not(.sidebar-account-label){
  font-size:9px!important;max-width:120px!important;
}
body.client-body .sidebar-online{
  display:inline-flex!important;align-items:center!important;gap:5px!important;
  margin-top:7px!important;padding:4px 7px!important;
  border-radius:999px!important;background:#141414!important;border:1px solid #383838!important;
  color:#b7b7b7!important;font-size:7.5px!important;font-weight:800!important;
}
body.client-body .sidebar-online i{width:5px;height:5px;border-radius:50%;background:#a7a7a7}
body.client-body .sidebar-nav{margin-top:13px!important;gap:5px!important}
body.client-body .sidebar-nav a{
  min-height:52px!important;font-size:12px!important;border-radius:11px!important;
}
body.client-body .nav-icon{width:37px!important;height:37px!important}
body.client-body .nav-icon svg{width:20px!important;height:20px!important}
body.client-body .sidebar-security{padding:11px!important}
body.client-body .sidebar-security strong{font-size:9px!important}
body.client-body .sidebar-security small{font-size:8px!important}

/* Hero = clear left + big account identity right */
body.client-body .client-hero{
  min-height:220px!important;
  grid-template-columns:minmax(0,1fr) 405px!important;
  padding:26px 28px!important;
  gap:20px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#0f0f0f,#0c0c0c)!important;
}
body.client-body .client-hero h1{
  font-size:clamp(40px,3.7vw,56px)!important;
  margin:6px 0 10px!important;
}
body.client-body .client-hero p{font-size:13.5px!important;max-width:580px!important}
body.client-body .client-hero-actions{gap:8px!important;margin-top:16px!important}
body.client-body .client-hero-actions .btn{min-height:43px!important;font-size:10.5px!important;padding-inline:15px!important}

/* Main Discord account card – now the visual focus */
body.client-body .hero-account-card{
  padding:18px!important;border-radius:17px!important;
  background:linear-gradient(145deg,#131313,#0d0d0d)!important;
  border:1px solid #373737!important;
  box-shadow:0 15px 40px rgba(0, 0, 0,.18)!important;
}
body.client-body .account-card-profile{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
  padding-bottom:16px!important;
}
body.client-body .account-profile-main{gap:15px!important}
body.client-body .account-avatar-lg{
  width:86px!important;height:86px!important;flex-basis:86px!important;
  border-radius:21px!important;border-color:#4f4f4f!important;
  box-shadow:0 0 0 5px rgba(157, 157, 157,.08)!important;
}
body.client-body .account-profile-copy small{font-size:8px!important}
body.client-body .account-profile-copy strong{
  font-size:22px!important;margin:7px 0 4px!important;max-width:190px!important;
}
body.client-body .account-profile-copy span{font-size:10.5px!important;max-width:190px!important}
body.client-body .account-online{font-size:8px!important;padding:6px 8px!important}
body.client-body .account-trust-list{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;margin-top:13px!important;
}
body.client-body .account-trust-list>div{
  min-height:62px!important;padding:10px!important;border-radius:10px!important;
  background:#0f0f0f!important;border-color:#282828!important;
}
body.client-body .account-trust-list span{font-size:7px!important}
body.client-body .account-trust-list strong{font-size:9px!important;line-height:1.3!important}

/* Smaller info cards below */
body.client-body .metrics-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) 1.22fr!important;
  gap:9px!important;margin:0!important;
}
body.client-body .metric-card{
  min-height:98px!important;padding:13px 14px!important;border-radius:13px!important;
}
body.client-body .metric-icon{width:26px!important;height:26px!important}
body.client-body .metric-card>strong{font-size:22px!important;margin-top:11px!important}
body.client-body .metric-card>small{font-size:8px!important}
body.client-body .metric-wide>strong{font-size:11.5px!important;margin-top:13px!important}

/* Orders + compact detail */
body.client-body .orders-layout{
  grid-template-columns:minmax(0,1.55fr) 330px!important;
  gap:11px!important;
}
body.client-body .orders-panel,body.client-body .order-details{border-radius:15px!important}
body.client-body .panel-head{min-height:70px!important;padding:13px 16px!important}
body.client-body .panel-head h2{font-size:18px!important}
body.client-body .panel-head p{font-size:9px!important}
body.client-body .orders-columns{
  grid-template-columns:minmax(215px,1.65fr) .65fr .65fr .9fr 22px!important;
  padding:9px 14px!important;
}
body.client-body .order-row{
  grid-template-columns:minmax(215px,1.65fr) .65fr .65fr .9fr 22px!important;
  min-height:67px!important;padding:10px 14px!important;
}
body.client-body .order-product-icon{width:35px!important;height:35px!important;flex-basis:35px!important}
body.client-body .order-product-icon img{width:21px!important;height:21px!important}
body.client-body .order-main strong{font-size:10px!important}
body.client-body .order-main small{font-size:7.5px!important}
body.client-body .order-qty strong,body.client-body .order-price strong{font-size:10px!important}
body.client-body .status-pill{min-height:26px!important;font-size:7.8px!important}
body.client-body .order-details{top:92px!important}

/* Detail panel: compact, no visual tower */
body.client-body .details-head{padding:12px 14px!important}
body.client-body .details-title-block h3{font-size:12px!important}
body.client-body .details-title-block>small{font-size:7px!important}
body.client-body .details-summary{padding:14px!important}
body.client-body .details-summary-icon{width:37px!important;height:37px!important;flex-basis:37px!important}
body.client-body .details-summary-title strong{font-size:15px!important}
body.client-body .details-grid{gap:6px!important;margin:10px 0!important}
body.client-body .details-grid>div{padding:9px!important}
body.client-body .details-grid small{font-size:6.8px!important}
body.client-body .details-grid strong{font-size:9px!important}
body.client-body .details-actions{gap:6px!important;margin-top:9px!important}
body.client-body .details-actions .btn{min-height:35px!important;font-size:8.2px!important;padding-inline:9px!important}
body.client-body .details-progress{padding:13px 14px!important}
body.client-body .details-progress-head{margin-bottom:9px!important}
body.client-body .details-progress-head strong{font-size:12px!important}
body.client-body .details-progress .timeline{gap:6px!important}
body.client-body .details-progress .timeline-item{
  padding:8px 9px!important;grid-template-columns:23px 1fr!important;gap:8px!important;
}
body.client-body .details-progress .timeline-item>span{width:23px!important;height:23px!important}
body.client-body .details-progress .timeline-item strong{font-size:8.3px!important}
body.client-body .details-progress .timeline-item small{font-size:7px!important}

/* Single compact support row */
body.client-body .client-support-bar{
  min-height:92px!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:15px!important;
  padding:16px 18px!important;
  background:#0e0e0e!important;
  border:1px solid #272727!important;
  border-radius:15px!important;
}
body.client-body .support-bar-icon{
  width:46px;height:46px;border-radius:12px;
  display:grid;place-items:center;
  background:#151515;border:1px solid #393939;color:#c1c1c1;
}
body.client-body .support-bar-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7}
body.client-body .support-bar-copy{min-width:0}
body.client-body .support-bar-copy small{
  display:block;font-size:7.5px;letter-spacing:.06em;color:#7c7c7c;margin-bottom:3px
}
body.client-body .support-bar-copy strong{
  display:block;font-size:13px;color:#f3f3f3;margin-bottom:3px
}
body.client-body .support-bar-copy span{
  display:block;font-size:9px;line-height:1.45;color:#848484
}
body.client-body .client-support-bar .btn{
  min-height:40px!important;padding-inline:14px!important;font-size:9px!important;
}

/* ========== Delivery page refinement ========== */
body.delivery-page .delivery-hero-panel,
body.delivery-page .delivery-card,
body.delivery-page .delivery-detail{
  box-shadow:none!important;
}
body.delivery-page .delivery-card:hover{
  transform:translateY(-2px)!important;
  border-color:#474747!important;
}
body.delivery-page .delivery-card h3{font-size:27px!important}

/* ========== Responsive ========== */
@media(max-width:1180px){
  body.client-body .client-app{grid-template-columns:205px minmax(0,1fr)!important}
  body.client-body .client-hero{grid-template-columns:1fr 360px!important}
  body.client-body .orders-layout{grid-template-columns:1fr 300px!important}
}
@media(max-width:980px){
  body.client-body .client-app{display:block!important}
  body.client-body .client-sidebar{display:none!important}
  body.client-body .client-hero{grid-template-columns:1fr!important}
  body.client-body .hero-account-card{max-width:none!important}
  body.client-body .metrics-grid{grid-template-columns:repeat(2,1fr)!important}
  body.client-body .orders-layout{grid-template-columns:1fr!important}
  body.client-body .order-details{position:static!important}
}
@media(max-width:650px){
  body.client-body .client-page{width:calc(100% - 20px)!important}
  body.client-body .client-hero{padding:20px!important}
  body.client-body .account-card-profile{flex-direction:column!important}
  body.client-body .account-avatar-lg{width:76px!important;height:76px!important;flex-basis:76px!important}
  body.client-body .account-trust-list{grid-template-columns:1fr!important}
  body.client-body .metrics-grid{grid-template-columns:1fr 1fr!important}
  body.client-body .metric-wide{grid-column:1/-1!important}
  body.client-body .client-support-bar{grid-template-columns:42px 1fr!important}
  body.client-body .client-support-bar .btn{grid-column:1/-1!important;width:100%!important}
}
