/* MEGA ROBUX V4.0.8 — Editorial commerce
   Final layer over the approved blue design: restraint, hierarchy and clarity.
   No behavioral overrides to pricing, login, orders or Pix availability.
*/
html[data-theme="light"]{
  --mr8-ink:#2a2a2a;
  --mr8-muted:#727272;
  --mr8-surface:#ffffff;
  --mr8-soft:#f9f9f9;
  --mr8-border:#e6e6e6;
  --mr8-accent:#9d9d9d;
  --mr8-shadow:0 8px 24px rgba(48, 48, 48,.05);
}
html[data-theme="dark"]{
  --mr8-ink:#f3f3f3;
  --mr8-muted:#b0b0b0;
  --mr8-surface:#1c1c1c;
  --mr8-soft:#212121;
  --mr8-border:#393939;
  --mr8-accent:#b5b5b5;
  --mr8-shadow:0 8px 28px rgba(0, 0, 0,.12);
}
html[data-theme] body {font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;letter-spacing:-.01em;}
html[data-theme] .shell {max-width:1190px!important;}
html[data-theme] :is(h1,h2,h3,strong) {font-kerning:normal;}
html[data-theme] :is(.market-section-head h2,.rbx-use-heading h2,.market-flow h2){text-wrap:balance;}
html[data-theme] :is(.btn,.product-buy,.market-nav a,.market-account,.buybox-options button){transition-duration:.18s!important;}
html[data-theme] .market-statusbar {background:var(--mr8-soft)!important;box-shadow:none!important;}
html[data-theme] .market-statusbar .shell {gap:28px!important;min-height:31px;}
html[data-theme] .market-statusbar span {font-size:11px!important;font-weight:580!important;letter-spacing:0!important;color:var(--mr8-muted)!important;}
html[data-theme] .market-statusbar span i{box-shadow:none!important;}
html[data-theme] .market-header {background:var(--mr8-surface)!important;border-bottom:1px solid var(--mr8-border)!important;box-shadow:none!important;}
html[data-theme] .market-header-inner{min-height:72px!important;}
html[data-theme] .market-nav a {font-size:12px!important;font-weight:650!important;letter-spacing:0!important;}
html[data-theme] .market-nav a.active{border-color:var(--mr8-border)!important;background:var(--mr8-soft)!important;}
html[data-theme] .market-nav a.mr5-current::after {opacity:.5!important;}
html[data-theme] .market-actions .market-account{min-height:44px!important;border-color:var(--mr8-border)!important;box-shadow:none!important;}
html[data-theme] .market-actions .market-account strong{font-size:12px!important;}
html[data-theme] .market-buy-top{min-height:43px!important;background:var(--mr8-accent)!important;box-shadow:none!important;}
html[data-theme="dark"] .market-buy-top{color:#141414!important;}
html[data-theme] .market-brand .brand-mark{box-shadow:none!important;}

/* Maintenance: clean operational status; prominent but not alarming */
html[data-theme] .mr-pix-maintenance-host{padding:12px 0 3px!important;}
html[data-theme] .mr-pix-maintenance-shell{border-radius:11px!important;padding:12px 15px!important;min-height:61px;box-shadow:none!important;}
html[data-theme="dark"] .mr-pix-maintenance-shell{background:#222222!important;border-color:#424242!important;}
html[data-theme="light"] .mr-pix-maintenance-shell{background:#f2f2f2!important;border-color:#e2e2e2!important;}
html[data-theme] .mr-pix-status-icon{border-radius:7px!important;font-size:14px!important;width:25px!important;height:25px!important;}
html[data-theme] .mr-pix-status-content strong{font-size:13px!important;font-weight:730!important;}
html[data-theme] .mr-pix-status-content span{font-size:12px!important;line-height:1.45!important;opacity:.85!important;}
html[data-theme] .mr-pix-status-link{border-radius:8px!important;font-weight:650!important;}

/* Hero: use the established brand art quietly, with editorial type. */
html[data-theme] body.market-v3 .market-hero{
  margin-top:20px!important;
  padding:clamp(26px,4vw,52px)!important;
  gap:clamp(22px,3.5vw,48px)!important;
  border-radius:19px!important;
  box-shadow:var(--mr8-shadow)!important;
}
html[data-theme="dark"] body.market-v3 .market-hero{border-color:var(--mr8-border)!important;}
html[data-theme="light"] body.market-v3 .market-hero{border-color:var(--mr8-border)!important;}
html[data-theme] .market-hero-copy h1{
  font-size:clamp(39px,4.2vw,60px)!important;
  line-height:1.085!important;
  letter-spacing:-.048em!important;
  font-weight:770!important;
  max-width:15ch!important;
  margin:20px 0 17px!important;
}
html[data-theme="dark"] .market-hero-copy h1{color:#f5f5f5!important;}
html[data-theme="light"] .market-hero-copy h1{color:#2b2b2b!important;}
html[data-theme="dark"] .market-hero-copy h1 span{color:#c2c2c2!important;}
html[data-theme="light"] .market-hero-copy h1 span{color:#9d9d9d!important;}
html[data-theme] .market-hero-copy p{
  font-size:clamp(14px,1.05vw,16px)!important;
  line-height:1.68!important;
  max-width:47ch!important;
  color:var(--mr8-muted)!important;
}
html[data-theme] .market-badge{
  border-radius:7px!important;
  letter-spacing:.075em!important;
  font-weight:720!important;
  box-shadow:none!important;
}
html[data-theme] .market-hero-actions{margin-top:27px!important;gap:10px!important;}
html[data-theme] .market-hero-actions .btn{min-height:46px!important;border-radius:10px!important;font-size:13px!important;font-weight:680!important;box-shadow:none!important;}
html[data-theme] .market-hero-actions .btn-primary{background:var(--mr8-accent)!important;}
html[data-theme="dark"] .market-hero-actions .btn-primary{color:#171717!important;}
html[data-theme] .market-hero-actions .btn-secondary{background:transparent!important;border:1px solid var(--mr8-border)!important;}
html[data-theme] .market-trust-row{margin-top:29px!important;gap:10px!important;}
html[data-theme] .market-trust-row>div{
  min-width:0;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:3px 7px 3px 0!important;
  border-radius:0!important;
}
html[data-theme] .market-trust-row img{width:22px!important;height:22px!important;opacity:.70!important;}
html[data-theme] .market-trust-row strong{font-size:11px!important;font-weight:720!important;line-height:1.25!important;}
html[data-theme] .market-trust-row small{font-size:10px!important;line-height:1.45!important;color:var(--mr8-muted)!important;}
html[data-theme="dark"] .mr6-hero-brand-bg::before{opacity:.13!important;animation:none!important;}
html[data-theme="light"] .mr6-hero-brand-bg::before{opacity:.055!important;animation:none!important;}

/* Quote box: read like a compact price list, not another ad */
html[data-theme] .market-buybox{
  background:var(--mr8-surface)!important;
  border-color:var(--mr8-border)!important;
  border-radius:16px!important;
  padding:clamp(18px,2.25vw,27px)!important;
  box-shadow:var(--mr8-shadow)!important;
}
html[data-theme] .market-buybox::before{opacity:.42!important;height:2px!important;}
html[data-theme] .buybox-head>div>span{font-size:10px!important;letter-spacing:.10em!important;font-weight:700!important;}
html[data-theme] .buybox-head h2{font-size:clamp(19px,1.8vw,24px)!important;line-height:1.22!important;letter-spacing:-.03em!important;max-width:20ch!important;}
html[data-theme] .buybox-online{border-radius:7px!important;box-shadow:none!important;font-size:10px!important;}
html[data-theme] .buybox-options{gap:8px!important;}
html[data-theme] .buybox-options button{
  padding:11px 13px!important;
  border-radius:9px!important;
  box-shadow:none!important;
  min-height:49px!important;
}
html[data-theme="dark"] .buybox-options button{background:#222222!important;border-color:var(--mr8-border)!important;}
html[data-theme="light"] .buybox-options button{background:#fafafa!important;border-color:var(--mr8-border)!important;}
html[data-theme] .buybox-options button span{font-size:13px!important;}
html[data-theme] .buybox-options button strong{font-size:15px!important;font-variant-numeric:tabular-nums;}
html[data-theme] .buybox-options button.featured em{font-size:9px!important;border-radius:5px!important;letter-spacing:0!important;}
html[data-theme] .buybox-all{font-size:12px!important;font-weight:700!important;}
html[data-theme] .buybox-safe{margin-top:15px!important;padding:12px 0 0!important;border:0!important;border-top:1px solid var(--mr8-border)!important;background:transparent!important;border-radius:0!important;}
html[data-theme] .buybox-safe strong{font-size:11px!important;}
html[data-theme] .buybox-safe small{font-size:11px!important;color:var(--mr8-muted)!important;}

/* One informative Roblox-use section, with no floating neon tokens. */
html[data-theme] .rbx-use-showcase{padding-top:clamp(40px,4vw,65px)!important;padding-bottom:clamp(34px,4vw,56px)!important;}
html[data-theme] .rbx-use-heading{text-align:left!important;margin-inline:0!important;}
html[data-theme] .rbx-use-heading h2{font-size:clamp(27px,3vw,40px)!important;max-width:24ch!important;}
html[data-theme] .rbx-use-heading p{font-size:14px!important;max-width:64ch!important;}
html[data-theme] .rbx-use-grid{gap:13px!important;}
html[data-theme] .rbx-use-card{
  border:1px solid var(--mr8-border)!important;
  background:var(--mr8-surface)!important;
  border-radius:13px!important;
  box-shadow:none!important;
  min-height:0!important;
}
html[data-theme] .rbx-use-card .rbx-use-art{transform:none!important;filter:saturate(.83);}
html[data-theme] .rbx-use-card .float-robux{display:none!important;}
html[data-theme] .rbx-use-card strong{font-size:17px!important;letter-spacing:-.02em!important;}
html[data-theme] .rbx-use-card span{font-size:12px!important;color:var(--mr8-muted)!important;}
html[data-theme] .rbx-use-card small{font-size:10px!important;letter-spacing:.08em!important;}

/* 3 steps: flat, scannable, no 3D glow. */
html[data-theme] body.market-v3 section.market-flow{margin-top:0!important;}
html[data-theme] .market-flow{padding-block:clamp(40px,4vw,66px)!important;}
html[data-theme] .market-flow .flow-title h2{font-size:clamp(29px,3vw,40px)!important;letter-spacing:-.045em!important;}
html[data-theme] .market-flow .flow-title p{font-size:14px!important;line-height:1.65!important;color:var(--mr8-muted)!important;}
html[data-theme] .market-flow .flow-step{
  border-radius:13px!important;
  padding:22px!important;
  background:var(--mr8-surface)!important;
  border:1px solid var(--mr8-border)!important;
  box-shadow:none!important;
  min-height:0!important;
}
html[data-theme] .flow-step h3{font-size:16px!important;letter-spacing:-.022em!important;}
html[data-theme] .flow-step p{font-size:13px!important;line-height:1.6!important;color:var(--mr8-muted)!important;}
html[data-theme] .flow-step .flow-icon{box-shadow:none!important;}

/* Package intro and cards: quantities, totals and delivery info first. */
html[data-theme] .market-store{padding-block:clamp(35px,4vw,60px)!important;}
html[data-theme] .market-packages-hero{
  min-height:160px!important;
  border:1px solid var(--mr8-border)!important;
  border-radius:15px!important;
  box-shadow:none!important;
  padding:clamp(22px,3vw,32px)!important;
}
html[data-theme] .market-packages-hero .packages-hero-copy h2{
  display:block;
  max-width:25ch;
  margin:8px 0!important;
  font-size:clamp(24px,2.6vw,34px)!important;
  line-height:1.12!important;
  font-weight:760!important;
  letter-spacing:-.045em!important;
  color:var(--mr8-ink)!important;
}
html[data-theme] .market-packages-hero .packages-hero-copy span{font-size:10px!important;letter-spacing:.10em!important;font-weight:700!important;}
html[data-theme] .market-packages-hero .packages-hero-copy small{font-size:13px!important;line-height:1.6!important;color:var(--mr8-muted)!important;max-width:64ch;}
html[data-theme] .market-packages-hero .packages-hero-art{opacity:.25!important;}
html[data-theme="dark"] .mr6-packages-brand-bg::before{opacity:.07!important;}
html[data-theme="light"] .mr6-packages-brand-bg::before{opacity:.025!important;}
html[data-theme] .market-pricing{gap:14px!important;}
html[data-theme] .market-pricing .market-product-card{
  border-radius:14px!important;
  padding:21px!important;
  min-height:290px!important;
  box-shadow:var(--mr8-shadow)!important;
  border:1px solid var(--mr8-border)!important;
  transition:transform .18s ease,border-color .18s ease!important;
}
html[data-theme] .market-pricing .market-product-card .card-art,
html[data-theme] .market-pricing .market-product-card .mr400-sheen,
html[data-theme] .market-pricing .market-product-card .mr401-seal-spark{display:none!important;}
html[data-theme="dark"] .market-pricing .market-product-card{background:#1d1d1d!important;}
html[data-theme="light"] .market-pricing .market-product-card{background:#ffffff!important;}
html[data-theme="dark"] .market-pricing .market-product-card::before{opacity:.09!important;}
html[data-theme="light"] .market-pricing .market-product-card::before{opacity:.055!important;}
html[data-theme="dark"] .market-pricing .market-product-card::after{background:linear-gradient(180deg,rgba(22, 22, 22,.88),rgba(22, 22, 22,.77) 45%,rgba(22, 22, 22,.91))!important;}
html[data-theme="light"] .market-pricing .market-product-card::after{background:linear-gradient(180deg,rgba(255, 255, 255,.90),rgba(255, 255, 255,.79) 45%,rgba(255, 255, 255,.94))!important;}
html[data-theme] .market-pricing .market-product-card:hover{transform:translateY(-2px)!important;box-shadow:var(--mr8-shadow)!important;border-color:#9d9d9d!important;}
html[data-theme] .market-pricing .market-product-card.featured{border-color:#9d9d9d!important;box-shadow:var(--mr8-shadow)!important;}
html[data-theme] .market-pricing .market-product-card .card-tag{font-size:10px!important;font-weight:700!important;letter-spacing:0!important;border-radius:5px!important;box-shadow:none!important;}
html[data-theme] .market-pricing .market-product-card .amount{margin:16px 0 16px!important;}
html[data-theme] .market-pricing .market-product-card .amount span{font-size:11px!important;letter-spacing:0!important;text-transform:none!important;}
html[data-theme] .market-pricing .market-product-card .amount strong{font-size:clamp(28px,2.5vw,35px)!important;font-weight:760!important;letter-spacing:-.045em!important;line-height:1.14!important;text-shadow:none!important;}
html[data-theme] .market-pricing .market-product-card .amount strong em{font-size:14px!important;letter-spacing:0!important;}
html[data-theme] .market-pricing .market-product-card .market-product-price{border-radius:10px!important;padding:12px 13px!important;margin-bottom:12px!important;box-shadow:none!important;backdrop-filter:none!important;}
html[data-theme="dark"] .market-pricing .market-product-card .market-product-price{background:rgba(25, 25, 25,.79)!important;border-color:#404040!important;}
html[data-theme="light"] .market-pricing .market-product-card .market-product-price{background:rgba(249, 249, 249,.88)!important;border-color:#e8e8e8!important;}
html[data-theme] .market-pricing .market-product-card .market-product-price strong{font-size:clamp(19px,1.8vw,24px)!important;letter-spacing:-.03em!important;font-variant-numeric:tabular-nums;}
html[data-theme] .market-pricing .market-product-card .product-buy{border-radius:9px!important;min-height:44px!important;font-size:12px!important;letter-spacing:0!important;font-weight:720!important;box-shadow:none!important;}
html[data-theme] .market-pricing .market-product-card .product-buy:disabled{opacity:.72!important;box-shadow:none!important;}
html[data-theme] .market-pricing .market-product-card .product-footnote{font-size:10px!important;opacity:.8!important;margin-top:11px!important;}

/* Calculator, delivery cards and help — one consistent surface system. */
html[data-theme] .market-custom{border-color:var(--mr8-border)!important;background:var(--mr8-surface)!important;box-shadow:none!important;border-radius:15px!important;}
html[data-theme] .market-custom-copy h3{font-size:23px!important;}
html[data-theme] .market-custom-control .mr4-presets-options button{border-radius:7px!important;}
html[data-theme] .market-custom-total button{border-radius:9px!important;box-shadow:none!important;}
html[data-theme] .market-section-head h2{font-size:clamp(28px,3vw,39px)!important;letter-spacing:-.04em!important;}
html[data-theme] .market-delivery-grid a,
html[data-theme] .market-confidence-grid article{
  border-color:var(--mr8-border)!important;
  background:var(--mr8-surface)!important;
  border-radius:13px!important;
  box-shadow:none!important;
  min-height:0!important;
}
html[data-theme] .market-delivery-grid a{padding:21px!important;}
html[data-theme] .market-delivery-grid a strong{font-size:18px!important;}
html[data-theme] .market-delivery-grid a em{opacity:.75!important;}
html[data-theme] .market-confidence-grid article{padding:21px!important;}
html[data-theme] .market-confidence-grid article>span{opacity:.55!important;}
html[data-theme] .market-confidence-grid article h3{font-size:16px!important;}
html[data-theme] .faq-list details{border-color:var(--mr8-border)!important;border-radius:11px!important;box-shadow:none!important;}
html[data-theme] .faq-list summary{font-size:14px!important;font-weight:680!important;}
html[data-theme] .market-footer{margin-top:48px!important;}
html[data-theme] .market-footer-main{padding-block:37px!important;}

/* Pages beyond the storefront get the same restrained framing. */
html[data-theme] :is(.client-clean-dashboard .clean-summary-item,.client-clean-dashboard .clean-last-order,.delivery-page .delivery-grid article,.guest-auth-card,.client-pix-card){box-shadow:none!important;border-color:var(--mr8-border)!important;}
html[data-theme] :is(.delivery-hero,.client-hero,.client-clean-dashboard .clean-account-strip){box-shadow:none!important;}

@media (max-width:950px){
  html[data-theme] body.market-v3 .market-hero{gap:25px!important;padding:28px!important;}
  html[data-theme] .market-trust-row{gap:8px!important;}
}
@media (max-width:720px){
  html[data-theme] .shell{width:min(calc(100% - 28px),1190px)!important;}
  html[data-theme] .market-statusbar .shell{gap:12px!important;justify-content:center!important;}
  html[data-theme] .market-statusbar span{font-size:10px!important;}
  html[data-theme] .mr-pix-maintenance-host{padding:10px 14px 2px!important;}
  html[data-theme] .mr-pix-maintenance-shell{padding:12px!important;}
  html[data-theme] body.market-v3 .market-hero{margin-top:13px!important;border-radius:14px!important;padding:24px 18px!important;}
  html[data-theme] .market-hero-copy h1{font-size:clamp(36px,9.25vw,46px)!important;max-width:17ch!important;}
  html[data-theme] .market-hero-copy p{font-size:14px!important;}
  html[data-theme] .market-hero-actions .btn{min-height:45px!important;}
  html[data-theme] .market-trust-row{gap:5px!important;flex-wrap:wrap!important;}
  html[data-theme] .market-trust-row>div{flex:1 1 120px!important;}
  html[data-theme] .market-buybox{padding:18px!important;border-radius:12px!important;}
  html[data-theme] .rbx-use-grid{gap:10px!important;}
  html[data-theme] .rbx-use-card{border-radius:12px!important;}
  html[data-theme] .market-flow .flow-step{padding:18px!important;}
  html[data-theme] .market-packages-hero{padding:20px!important;min-height:0!important;}
  html[data-theme] .market-packages-hero .packages-hero-art{opacity:.14!important;}
  html[data-theme] .market-pricing .market-product-card{border-radius:12px!important;padding:19px!important;}
  html[data-theme] .market-pricing .market-product-card .amount strong{font-size:30px!important;}
  html[data-theme] .market-pricing .market-product-card .product-buy{min-height:46px!important;}
  html[data-theme] .market-footer{margin-top:25px!important;}
}
@media(prefers-reduced-motion:reduce){
  html[data-theme] .market-pricing .market-product-card,
  html[data-theme] .mr6-hero-brand-bg::before{animation:none!important;transition:none!important;}
}
/* Final maintenance treatment: a paused service should not resemble an active checkout. */
html[data-theme] .buybox-online{display:none!important;}
html.mr-pix-paused[data-theme="dark"] .market-pricing .market-product-card .product-buy:disabled,
html.mr-pix-paused[data-theme="dark"] #customBuy:disabled{
  background:#444444!important;
  color:#d5d5d5!important;
  border-color:#4d4d4d!important;
  box-shadow:none!important;
  opacity:.82!important;
}
html.mr-pix-paused[data-theme="light"] .market-pricing .market-product-card .product-buy:disabled,
html.mr-pix-paused[data-theme="light"] #customBuy:disabled{
  background:#e7e7e7!important;
  color:#9d9d9d!important;
  border-color:#d7d7d7!important;
  box-shadow:none!important;
  opacity:.88!important;
}

/* Last visual pass based on phone preview. */
html[data-theme] body.market-v3 .market-hero::after{display:none!important;}
html[data-theme="dark"] .market-pricing .market-product-card::before{opacity:.055!important;}
html[data-theme="light"] .market-pricing .market-product-card::before{opacity:.025!important;}
html[data-theme="dark"] .market-pricing .market-product-card::after{opacity:1!important;background:linear-gradient(180deg,rgba(22, 22, 22,.91),rgba(22, 22, 22,.82) 45%,rgba(22, 22, 22,.94))!important;}
html[data-theme="light"] .market-pricing .market-product-card::after{opacity:1!important;background:linear-gradient(180deg,rgba(255, 255, 255,.96),rgba(255, 255, 255,.91) 45%,rgba(255, 255, 255,.97))!important;}
@media(max-width:720px){
  html[data-theme] .market-trust-row{display:none!important;}
  html[data-theme] .mr-pix-maintenance-shell{align-items:center!important;}
  html[data-theme] .mr-pix-status-content span{font-size:11px!important;}
  html[data-theme] .mr-pix-status-link{padding:7px 10px!important;font-size:11px!important;}
}
