/* MEGA ROBUX — Studio Edition 4.0.27
   Editorial e-commerce visual language. Deliberately restrained: no blue, no fake statistics,
   no decorative glow effects. All application behavior stays in the original scripts. */
html[data-theme="dark"] {
  --studio-bg:#09090a; --studio-surface:#151516; --studio-raised:#1b1b1d;
  --studio-stroke:#303033; --studio-text:#f5f5f5; --studio-sub:#acacae;
  --studio-silver:#e7e7e7; --studio-brand:url('assets/mega-robux-black-silver-banner-v426.webp');
  scroll-padding-top:95px;
}
html[data-theme="dark"] body{
  background:#09090a!important;
  color:var(--studio-text)!important;
  font-feature-settings:'kern' 1;
  -webkit-font-smoothing:antialiased;
}
html[data-theme="dark"] body::before,html[data-theme="dark"] body::after{box-shadow:none!important}
html[data-theme="dark"] body.market-v3 .shell,
html[data-theme="dark"] body.client-body .client-topbar-inner {max-width:1180px!important}
html[data-theme="dark"] ::selection{background:#d9d9d9;color:#111}
/* Navigation: clear links and unmistakable brand */
html[data-theme="dark"] body.market-v3 .market-statusbar{
  min-height:30px!important;background:#101011!important;border-bottom:1px solid #232325!important;
  color:#99999e!important;letter-spacing:.035em!important
}
html[data-theme="dark"] body.market-v3 .market-statusbar .shell{min-height:30px!important;font-size:10px!important}
html[data-theme="dark"] body.market-v3 :is(.market-header,.topbar.scrolled){
  background:#0d0d0eee!important;border-bottom:1px solid #27272a!important;
  backdrop-filter:blur(20px)!important;box-shadow:none!important
}
html[data-theme="dark"] body.market-v3 .market-header-inner{min-height:80px!important;gap:24px!important}
html[data-theme="dark"] body.market-v3 .market-brand{gap:13px!important}
html[data-theme="dark"] body.market-v3 .market-brand .brand-mark{
  width:47px!important;height:47px!important;border-radius:12px!important;
  border:1px solid #333335!important;box-shadow:none!important;background:#141414!important;
}
html[data-theme="dark"] body.market-v3 .brand-text{font-size:16px!important;letter-spacing:-.035em!important}
html[data-theme="dark"] body.market-v3 .brand-text small{margin-top:5px!important;font-size:9px!important;letter-spacing:.13em!important}
html[data-theme="dark"] body.market-v3 .market-nav{gap:29px!important}
html[data-theme="dark"] body.market-v3 .market-nav a{
  font-size:12px!important;font-weight:600!important;color:#9f9fa4!important;
  letter-spacing:0!important
}
html[data-theme="dark"] body.market-v3 .market-nav a:hover,
html[data-theme="dark"] body.market-v3 .market-nav a.active{color:#fff!important}
html[data-theme="dark"] body.market-v3 .market-nav a::after{height:1px!important;bottom:-14px!important}
html[data-theme="dark"] body.market-v3 .market-account{
  background:transparent!important;border:1px solid #303033!important;min-height:46px!important;
  box-shadow:none!important;border-radius:9px!important;padding:6px 12px!important
}
html[data-theme="dark"] body.market-v3 .market-buy-top,
html[data-theme="dark"] :is(.btn-primary,.market-product-card .product-buy){
  color:#101011!important;
  background:#ececec!important;
  border:1px solid #ececec!important;
  border-radius:9px!important;
  box-shadow:none!important;
  font-weight:720!important;
  text-shadow:none!important;
  transition:background-color .18s,border-color .18s,transform .18s!important;
}
html[data-theme="dark"] :is(.btn-primary,.market-product-card .product-buy):hover{
  background:#d2d2d4!important;border-color:#d2d2d4!important;
  transform:translateY(-1px)!important;box-shadow:none!important;filter:none!important
}
html[data-theme="dark"] :is(.btn-primary,.market-product-card .product-buy) :is(span,strong,b,i){color:#101011!important}
html[data-theme="dark"] :is(.btn-secondary,.btn-ghost){
  border-color:#3b3b3f!important;background:transparent!important;border-radius:9px!important;
  box-shadow:none!important;color:#e5e5e6!important
}
html[data-theme="dark"] :is(.btn-secondary,.btn-ghost):hover{
  border-color:#858589!important;background:#1c1c1f!important
}
html[data-theme="dark"] .btn::after{display:none!important}
html[data-theme="dark"] :is(button,a,input,textarea,select,summary):focus-visible{
  outline:2px solid #f2f2f2!important;outline-offset:3px!important
}
/* HERO — generous spacing, one quiet photograph-like branded surface */
html[data-theme="dark"] body.market-v3 section.market-hero{
  display:grid!important;grid-template-columns:minmax(0,1.03fr) minmax(380px,.87fr)!important;
  gap:clamp(24px,4vw,65px)!important;align-items:center!important;
  min-height:560px!important;
  padding:clamp(42px,5.2vw,78px)!important;
  margin-top:28px!important;
  border:1px solid #29292d!important;
  border-radius:18px!important;
  background:#111112!important;
  box-shadow:none!important;isolation:isolate!important;
}
html[data-theme="dark"] body.market-v3 section.market-hero::before{
  z-index:-1!important;
  background:linear-gradient(90deg,rgba(9,9,10,.97) 0%,rgba(11,11,12,.95) 46%,rgba(12,12,13,.75) 100%),
             var(--studio-brand)!important;
  background-position:center!important;background-size:cover!important;
  opacity:.44!important;
}
html[data-theme="dark"] body.market-v3 section.market-hero::after{
  content:""!important;background:none!important;border:0!important;opacity:0!important
}
html[data-theme="dark"] body.market-v3 .market-hero-copy{padding:5px 0!important;position:relative!important}
html[data-theme="dark"] body.market-v3 .market-badge{
  font-size:10px!important;letter-spacing:.15em!important;font-weight:720!important;
  padding:0!important;margin-bottom:18px!important;border:0!important;border-radius:0!important;
  color:#c6c6c7!important;background:transparent!important;
}
html[data-theme="dark"] body.market-v3 .market-badge i{display:none!important}
html[data-theme="dark"] body.market-v3 .market-hero-copy h1{
  font-size:clamp(52px,5.1vw,76px)!important;
  line-height:1.015!important;letter-spacing:-.068em!important;
  max-width:12ch!important;font-weight:760!important;
  margin:22px 0 21px!important;text-wrap:balance!important;
}
html[data-theme="dark"] body.market-v3 .market-hero-copy h1 span{
  background:none!important;color:#bcbcbf!important;-webkit-text-fill-color:#bcbcbf!important
}
html[data-theme="dark"] body.market-v3 .market-hero-copy>p{
  max-width:44ch!important;margin:0!important;font-size:15px!important;
  line-height:1.78!important;letter-spacing:0!important;color:#adadb1!important;
}
html[data-theme="dark"] body.market-v3 .market-hero-actions{
  gap:11px!important;margin-top:32px!important;align-items:center!important
}
html[data-theme="dark"] body.market-v3 .market-hero-actions .btn{
  min-height:49px!important;padding:0 23px!important;font-size:13px!important;
}
html[data-theme="dark"] body.market-v3 .market-trust-row{
  display:flex!important;gap:22px!important;flex-wrap:wrap!important;
  margin-top:43px!important;padding-top:21px!important;border-top:1px solid #38383c!important
}
html[data-theme="dark"] body.market-v3 .market-trust-row>div{
  min-width:0!important;display:flex!important;align-items:center!important;gap:8px!important;
  padding:0!important;border:0!important;background:transparent!important;
}
html[data-theme="dark"] body.market-v3 .market-trust-row img{width:23px!important;height:23px!important;object-fit:contain!important;filter:grayscale(1) brightness(1.3)!important}
html[data-theme="dark"] body.market-v3 .market-trust-row strong{font-size:11px!important;color:#efeff0!important;font-weight:670!important}
html[data-theme="dark"] body.market-v3 .market-trust-row small{font-size:9px!important;line-height:1.5!important;color:#8f8f93!important}
/* quick buy: a single functional control, no watermarks */
html[data-theme="dark"] body.market-v3 aside.market-buybox{
  background:#151516!important;border:1px solid #37373a!important;
  border-radius:14px!important;padding:28px!important;
  box-shadow:0 12px 44px rgba(0,0,0,.20)!important;
}
html[data-theme="dark"] body.market-v3 .market-buybox .mono-buybox-watermark{display:none!important}
html[data-theme="dark"] body.market-v3 .buybox-head{
  align-items:center!important;gap:14px!important;padding-bottom:16px!important;
  margin-bottom:15px!important;border-bottom:1px solid #303034!important
}
html[data-theme="dark"] body.market-v3 .buybox-head span{
  color:#8f8f94!important;font-size:10px!important;font-weight:700!important;
  letter-spacing:.14em!important;
}
html[data-theme="dark"] body.market-v3 .buybox-head h2{
  font-size:25px!important;letter-spacing:-.045em!important;line-height:1.2!important;
  margin:8px 0 0!important
}
html[data-theme="dark"] body.market-v3 .buybox-online{
  background:transparent!important;border:1px solid #434347!important;
  border-radius:5px!important;padding:6px 9px!important;
  letter-spacing:.08em!important;color:#aaaab0!important;
  font-size:9px!important;white-space:nowrap!important;
}
html[data-theme="dark"] body.market-v3 .buybox-online i{display:none!important}
html[data-theme="dark"] body.market-v3 .buybox-options{display:grid!important;gap:8px!important}
html[data-theme="dark"] body.market-v3 .buybox-options button{
  min-height:56px!important;border-radius:8px!important;
  background:#1d1d1f!important;border:1px solid #36363a!important;
  padding:12px 14px!important;box-shadow:none!important
}
html[data-theme="dark"] body.market-v3 .buybox-options button:hover{
  border-color:#88888b!important;background:#262628!important;transform:none!important
}
html[data-theme="dark"] body.market-v3 .buybox-options button.featured{
  background:#ececee!important;border:1px solid #f2f2f2!important;color:#151516!important;
  box-shadow:none!important
}
html[data-theme="dark"] body.market-v3 .buybox-options button span{font-size:13px!important;font-weight:650!important;gap:11px!important}
html[data-theme="dark"] body.market-v3 .buybox-options button strong{font-size:15px!important;letter-spacing:-.015em!important}
html[data-theme="dark"] body.market-v3 .buybox-options button img{width:22px!important;height:22px!important;filter:grayscale(1)!important}
html[data-theme="dark"] body.market-v3 .buybox-options button.featured img{filter:grayscale(1) brightness(.2)!important}
html[data-theme="dark"] body.market-v3 .buybox-options button em{display:none!important}
html[data-theme="dark"] body.market-v3 .buybox-all{
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  color:#ededee!important;font-size:12px!important;font-weight:600!important;
  margin-top:12px!important;padding:12px 2px!important;border:0!important;border-radius:0!important;
  border-bottom:1px solid #303034!important;background:transparent!important
}
html[data-theme="dark"] body.market-v3 .buybox-safe{
  display:flex!important;gap:12px!important;padding-top:17px!important;
  background:transparent!important;border:0!important
}
html[data-theme="dark"] body.market-v3 .buybox-safe img{width:29px!important;height:29px!important;object-fit:contain!important}
html[data-theme="dark"] body.market-v3 .buybox-safe strong{font-size:11px!important}
html[data-theme="dark"] body.market-v3 .buybox-safe small{font-size:10px!important;color:#94949a!important}
/* compact confidence bar replacing decorative content */
html[data-theme="dark"] body.market-v3 .mr-editorial-strip{
  display:grid!important;grid-template-columns:1.05fr repeat(3,1fr)!important;
  gap:0!important;align-items:center!important;
  background:transparent!important;border:0!important;
  border-bottom:1px solid #2b2b2d!important;
  padding:25px 0 29px!important;margin-top:24px!important;
}
html[data-theme="dark"] body.market-v3 .mr-editorial-strip>div{
  min-height:54px!important;display:flex!important;flex-direction:column!important;
  justify-content:center!important;gap:7px!important;padding:4px 28px!important;
  border-left:1px solid #303032!important
}
html[data-theme="dark"] body.market-v3 .mr-editorial-strip>div:first-child{
  padding-left:0!important;border-left:0!important
}
html[data-theme="dark"] body.market-v3 .mr-editorial-strip strong{
  color:#ededee!important;font-size:12px!important;font-weight:660!important
}
html[data-theme="dark"] body.market-v3 .mr-editorial-strip span{
  color:#909094!important;font-size:11px!important;line-height:1.45!important
}
html[data-theme="dark"] body.market-v3 .mr-strip-mark{
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:11px!important
}
html[data-theme="dark"] body.market-v3 .mr-strip-mark>span{
  display:grid!important;place-items:center!important;width:44px!important;height:44px!important;
  color:#eaeaea!important;border:1px solid #555559!important;
  font-size:13px!important;letter-spacing:-.04em!important;font-weight:850!important;
  border-radius:10px!important;background:#18181a!important
}
html[data-theme="dark"] body.market-v3 .mr-strip-mark small{
  font-size:10px!important;letter-spacing:.1em!important;color:#bebec2!important;font-weight:690!important
}
/* Sections: quiet headings and generous editorial rhythm */
html[data-theme="dark"] body.market-v3 :is(.market-flow,.market-store,.market-delivery,.market-confidence,.faq-section){
  padding-block:clamp(48px,6.5vw,84px)!important;
  background:transparent!important;
}
html[data-theme="dark"] body.market-v3 :is(.flow-title,.market-section-head,.packages-hero-copy){margin-bottom:30px!important}
html[data-theme="dark"] body.market-v3 :is(.flow-title,.market-section-head,.packages-hero-copy)>span,
html[data-theme="dark"] body.market-v3 :is(.flow-title,.market-section-head,.packages-hero-copy)>div>span{
  color:#99999e!important;font-size:10px!important;font-weight:760!important;letter-spacing:.16em!important;
}
html[data-theme="dark"] body.market-v3 :is(.flow-title,.market-section-head,.packages-hero-copy) h2{
  color:#f7f7f8!important;font-size:clamp(30px,3.1vw,45px)!important;
  line-height:1.12!important;letter-spacing:-.049em!important;font-weight:720!important;
  margin:10px 0 12px!important
}
html[data-theme="dark"] body.market-v3 :is(.flow-title,.market-section-head,.packages-hero-copy) p,
html[data-theme="dark"] body.market-v3 :is(.flow-title,.market-section-head,.packages-hero-copy) small{
  color:#9f9fa3!important;font-size:13px!important;line-height:1.65!important;
}
html[data-theme="dark"] body.market-v3 .market-flow{
  border:0!important;margin:0 auto!important;
}
html[data-theme="dark"] body.market-v3 .market-flow .flow-step{
  min-height:210px!important;border:1px solid #323236!important;border-radius:12px!important;
  background:#141416!important;padding:27px!important;box-shadow:none!important
}
html[data-theme="dark"] body.market-v3 .flow-step-top{border:0!important;margin:0 0 21px!important}
html[data-theme="dark"] body.market-v3 .flow-number{
  color:#77777c!important;font-size:29px!important;letter-spacing:-.06em!important;font-weight:700!important;
  background:none!important;border:0!important;box-shadow:none!important
}
html[data-theme="dark"] body.market-v3 .flow-icon{
  background:transparent!important;border:0!important;padding:0!important;opacity:.45!important;
  box-shadow:none!important
}
html[data-theme="dark"] body.market-v3 .flow-step h3{font-size:18px!important;font-weight:660!important;letter-spacing:-.025em!important}
html[data-theme="dark"] body.market-v3 .flow-step p{font-size:12px!important;line-height:1.7!important;color:#99999e!important}
/* Product heading: image lives here, not as noisy wallpaper behind prices */
html[data-theme="dark"] body.market-v3 .market-packages-hero{
  min-height:200px!important;position:relative!important;border:1px solid #38383c!important;
  border-radius:14px!important;padding:38px!important;
  background:linear-gradient(100deg,#131315 0%,#0b0b0c 65%)!important;
  box-shadow:none!important;overflow:hidden!important;
}
html[data-theme="dark"] body.market-v3 .market-packages-hero::before{
  content:""!important;inset:0!important;position:absolute!important;opacity:.24!important;z-index:-1!important;
  background:linear-gradient(90deg,rgba(9,9,10,1) 10%,rgba(9,9,10,.84) 57%,rgba(9,9,10,.26) 100%),
             var(--studio-brand)!important;background-size:cover!important;background-position:center!important;
}
html[data-theme="dark"] body.market-v3 .packages-hero-art{display:none!important}
html[data-theme="dark"] body.market-v3 .packages-hero-copy{position:relative!important;z-index:2!important;max-width:780px!important}
html[data-theme="dark"] body.market-v3 .packages-hero-copy h2{font-size:clamp(30px,3.4vw,44px)!important}
html[data-theme="dark"] body.market-v3 .market-pricing{
  margin-top:20px!important;display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important;
  align-items:stretch!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card{
  min-height:323px!important;display:flex!important;flex-direction:column!important;
  border:1px solid #313135!important;background:#151516!important;background-image:none!important;
  border-radius:12px!important;padding:24px!important;gap:0!important;
  box-shadow:none!important;transform:none!important;overflow:hidden!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card::before,
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card::after{display:none!important}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card:hover{
  background:#1b1b1d!important;border-color:#7d7d81!important;
  transform:translateY(-2px)!important;box-shadow:0 14px 30px rgba(0,0,0,.15)!important
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card.featured{
  border-color:#aaaab0!important;background:#1a1a1d!important;
}
html[data-theme="dark"] body.market-v3 .mr-product-top{
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  margin:0!important;gap:10px!important;
}
html[data-theme="dark"] body.market-v3 .mr-product-id{
  color:#77777c!important;font-size:10px!important;letter-spacing:.1em!important;font-weight:750!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card .card-tag{
  position:static!important;max-width:none!important;transform:none!important;
  background:transparent!important;border:1px solid #414147!important;border-radius:5px!important;
  padding:5px 8px!important;color:#a7a7ab!important;
  font-size:9px!important;font-weight:700!important;letter-spacing:.07em!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card.featured .card-tag{
  border-color:#a6a6ad!important;background:#dddde0!important;color:#111112!important;
}
html[data-theme="dark"] body.market-v3 .mr-product-main{margin:28px 0 20px!important}
html[data-theme="dark"] body.market-v3 .mr-product-kicker{
  display:block!important;font-size:10px!important;font-weight:650!important;letter-spacing:.12em!important;
  color:#939398!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card .amount{
  display:flex!important;flex-direction:row!important;align-items:baseline!important;
  justify-content:flex-start!important;gap:8px!important;min-height:unset!important;
  margin:9px 0 0!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card .amount strong{
  display:inline!important;font-size:43px!important;line-height:1!important;
  color:#f7f7f8!important;font-weight:750!important;letter-spacing:-.063em!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card .amount span{
  color:#b3b3b7!important;font-size:13px!important;font-weight:600!important;letter-spacing:.015em!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card .market-product-price{
  min-height:0!important;margin:0 0 19px!important;padding:15px 0 0!important;
  border:0!important;border-top:1px solid #35353a!important;border-radius:0!important;
  background:transparent!important;gap:4px!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card .market-product-price small{
  color:#9a9a9e!important;font-size:10px!important;letter-spacing:.09em!important;font-weight:650!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card .market-product-price strong{
  font-size:25px!important;letter-spacing:-.04em!important;color:#fff!important;font-weight:700!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card .market-product-price>span{
  font-size:10px!important;color:#7f7f84!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card .product-buy{
  min-height:46px!important;padding:0 16px!important;margin-top:auto!important;
  font-size:12px!important;font-weight:750!important;border-radius:7px!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card:not(.featured) .product-buy{
  background:#262629!important;border:1px solid #45454a!important;color:#f7f7f8!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card:not(.featured) .product-buy span{color:#f7f7f8!important}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card:not(.featured) .product-buy:hover{
  background:#353539!important;border-color:#797980!important;
}
html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card .product-footnote{
  min-height:20px!important;margin-top:11px!important;text-align:center!important;
  color:#77777c!important;font-size:9px!important;letter-spacing:.07em!important;font-weight:650!important;
}
/* custom price calculator */
html[data-theme="dark"] body.market-v3 .market-custom{
  display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;
  align-items:center!important;gap:40px!important;
  border:1px solid #36363b!important;border-radius:13px!important;padding:35px!important;
  background:#121214!important;box-shadow:none!important;margin-top:18px!important;
}
html[data-theme="dark"] body.market-v3 .market-custom-copy>img{filter:grayscale(1) brightness(1.5)!important;width:45px!important}
html[data-theme="dark"] body.market-v3 .market-custom-copy h3{font-size:28px!important;letter-spacing:-.045em!important}
html[data-theme="dark"] body.market-v3 .market-custom-copy p{font-size:13px!important;line-height:1.65!important;color:#9f9fa3!important}
html[data-theme="dark"] body.market-v3 .market-custom-control{
  padding:22px!important;background:#1b1b1d!important;border:1px solid #323236!important;border-radius:10px!important;
}
html[data-theme="dark"] body.market-v3 .market-custom :is(.input-wrap,input){border-color:#45454a!important;background:#121214!important}
html[data-theme="dark"] body.market-v3 .market-custom :is(input,button){accent-color:#ededed!important}
html[data-theme="dark"] body.market-v3 .mr4-presets-options button{
  color:#dedee0!important;background:#28282b!important;border:1px solid #414146!important;
  border-radius:6px!important
}
html[data-theme="dark"] body.market-v3 .mr4-presets-options button:hover{border-color:#9f9fa5!important;background:#343437!important}
/* informational cards: one style across the site */
html[data-theme="dark"] :is(.market-delivery-grid a,.market-confidence-grid article){
  background:#151517!important;background-image:none!important;
  border:1px solid #333337!important;border-radius:11px!important;
  box-shadow:none!important;transform:none!important
}
html[data-theme="dark"] :is(.market-delivery-grid a,.market-confidence-grid article):hover{
  transform:none!important;border-color:#73737b!important;background:#1a1a1c!important
}
html[data-theme="dark"] .market-confidence-grid article span{
  color:#6f6f74!important;background:none!important;border:0!important;
}
html[data-theme="dark"] :is(.market-delivery-grid a,.market-confidence-grid article) h3,
html[data-theme="dark"] .market-delivery-grid a strong{color:#f1f1f2!important}
html[data-theme="dark"] :is(.market-delivery-grid a,.market-confidence-grid article) p{color:#a8a8ad!important;font-size:12px!important;line-height:1.66!important}
html[data-theme="dark"] body.market-v3 .faq-list details{
  background:#151517!important;border:1px solid #363639!important;
  border-radius:9px!important;margin-bottom:9px!important;box-shadow:none!important;
}
html[data-theme="dark"] body.market-v3 .faq-list summary{color:#f0f0f1!important;font-size:13px!important;font-weight:670!important}
html[data-theme="dark"] body.market-v3 .faq-list details p{color:#a9a9ad!important;font-size:12px!important}
html[data-theme="dark"] body.market-v3 .market-footer{
  background:#0e0e0f!important;border-top:1px solid #2c2c30!important;
}
html[data-theme="dark"] body.market-v3 .market-footer a,
html[data-theme="dark"] body.market-v3 .market-footer button{color:#b4b4b8!important}
/* Checkout — single functional surface, accurate QR/pix colors and readable values */
html[data-theme="dark"] body.market-v3 #checkoutModal .modal-card{
  background:#121214!important;border:1px solid #414145!important;
  border-radius:14px!important;box-shadow:0 35px 105px rgba(0,0,0,.72)!important;
}
html[data-theme="dark"] body.market-v3 #checkoutModal :is(.modal-heading h2,.pix-payment-intro h3){
  color:#f5f5f5!important;font-size:clamp(24px,2.3vw,32px)!important;letter-spacing:-.035em!important
}
html[data-theme="dark"] body.market-v3 #checkoutModal .modal-heading p,
html[data-theme="dark"] body.market-v3 #checkoutModal .pix-payment-intro p{color:#b0b0b4!important}
html[data-theme="dark"] body.market-v3 #checkoutModal :is(.order-summary,.checkout-form-section,.checkout-account-state,.pix-payment-total,.pix-provider,.pix-qr-column,.pix-copy-area,.pix-waiting,.pix-order-line){
  background:#1a1a1c!important;border:1px solid #353539!important;
  border-radius:9px!important;box-shadow:none!important
}
html[data-theme="dark"] body.market-v3 #checkoutModal :is(input,textarea){
  border:1px solid #515156!important;background:#121214!important;color:#f5f5f5!important;
  border-radius:8px!important;
}
html[data-theme="dark"] body.market-v3 #checkoutModal :is(.pix-qr-wrap,.pix-qr-wrap img){
  background:#fff!important;filter:none!important;
}
html[data-theme="dark"] body.market-v3 #checkoutModal :is(.pix-payment-total strong,.order-summary strong){
  color:#fff!important;
}
html[data-theme="dark"] body.market-v3 #checkoutModal :is(.pix-status.pending,.pix-status.confirmed){
  background:#333337!important;color:#ededee!important;border-color:#5b5b62!important;
}
html[data-theme="dark"] body.market-v3 #checkoutModal .pix-brand-full{
  filter:grayscale(1) contrast(1.1)!important
}
html[data-theme="dark"] body.market-v3 #checkoutModal :is(#copyPix,#finishCheckout){
  background:#ececec!important;color:#101011!important;border-radius:8px!important
}
/* Client pages — quieter panels and consistent navigation with the store */
html[data-theme="dark"] body.client-body{
  background:#09090a!important;color:#f7f7f8!important
}
html[data-theme="dark"] body.client-body :is(.client-topbar,.clean-client-topbar){
  background:#101011!important;border-bottom:1px solid #303034!important
}
html[data-theme="dark"] body.client-body :is(.guest-auth-card,.clean-dashboard-hero,.clean-summary-item,.clean-last-order,.client-game-action,.clean-orders,.orders-panel,.clean-order-details,.client-pix-card,.order-card){
  border-radius:12px!important;background:#151516!important;background-image:none!important;
  border:1px solid #333337!important;box-shadow:none!important
}
html[data-theme="dark"] body.client-body :is(.clean-dashboard-hero,.guest-auth-card){
  background:linear-gradient(110deg,rgba(16,16,17,.97),rgba(21,21,23,.95)),var(--studio-brand)!important;
  background-size:cover!important;background-position:center!important
}
html[data-theme="dark"] body.client-body :is(.client-top-actions .btn-primary,.clean-dashboard-actions .btn-primary){
  background:#ececec!important;color:#111!important;border:1px solid #ececec!important
}
html[data-theme="dark"] body.client-body :is(.sidebar-nav a.active,.clean-dashboard-nav a.active,.mr16-filter.active){
  background:#313134!important;color:#fff!important;border-color:#66666b!important
}
html[data-theme="dark"] body.client-body :is(.order-details,.orders-panel,.mr16-orders-toolbar,.clean-orders-layout){
  border-color:#37373c!important;
}
html[data-theme="dark"] body.client-body :is(.client-loading-card,.setup-notice,.storage-notice){
  background:#161618!important;border:1px solid #343439!important;color:#ededed!important
}
/* Reduced motion and responsive checks */
@media(prefers-reduced-motion:reduce){
  html[data-theme="dark"] :is(.market-hero,.market-pricing .market-product-card,.btn){transition:none!important;animation:none!important}
}
@media (max-width:1080px){
  html[data-theme="dark"] body.market-v3 section.market-hero{grid-template-columns:1fr 390px!important;padding:42px!important;gap:30px!important}
  html[data-theme="dark"] body.market-v3 .market-hero-copy h1{font-size:clamp(44px,5vw,60px)!important}
  html[data-theme="dark"] body.market-v3 .market-pricing{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:850px){
  html[data-theme="dark"] body.market-v3 section.market-hero{grid-template-columns:1fr!important;padding:40px!important;min-height:auto!important}
  html[data-theme="dark"] body.market-v3 .market-hero-copy h1{max-width:16ch!important}
  html[data-theme="dark"] body.market-v3 .mr-editorial-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:18px!important}
  html[data-theme="dark"] body.market-v3 .mr-editorial-strip>div:nth-child(3){border-left:0!important;padding-left:0!important}
  html[data-theme="dark"] body.market-v3 .market-pricing{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html[data-theme="dark"] body.market-v3 .market-custom{grid-template-columns:1fr!important}
}
@media (max-width:580px){
  html[data-theme="dark"] body.market-v3 .shell{width:calc(100% - 30px)!important}
  html[data-theme="dark"] body.market-v3 .market-statusbar .shell{font-size:9px!important}
  html[data-theme="dark"] body.market-v3 .market-statusbar .shell>span:last-child{display:none!important}
  html[data-theme="dark"] body.market-v3 .market-header-inner{min-height:70px!important}
  html[data-theme="dark"] body.market-v3 .market-brand .brand-mark{width:42px!important;height:42px!important}
  html[data-theme="dark"] body.market-v3 section.market-hero{padding:30px 22px!important;margin-top:14px!important;border-radius:12px!important;gap:28px!important}
  html[data-theme="dark"] body.market-v3 .market-hero-copy h1{font-size:clamp(40px,10.4vw,55px)!important;line-height:1.05!important;max-width:12ch!important;margin-top:14px!important}
  html[data-theme="dark"] body.market-v3 .market-hero-copy>p{font-size:13px!important}
  html[data-theme="dark"] body.market-v3 .market-hero-actions{gap:9px!important;margin-top:25px!important}
  html[data-theme="dark"] body.market-v3 .market-hero-actions .btn{min-height:45px!important;padding:0 12px!important;font-size:11px!important}
  html[data-theme="dark"] body.market-v3 .market-trust-row{gap:12px!important;margin-top:24px!important}
  html[data-theme="dark"] body.market-v3 .market-trust-row>div{flex:1 1 130px!important}
  html[data-theme="dark"] body.market-v3 aside.market-buybox{padding:20px!important;border-radius:10px!important}
  html[data-theme="dark"] body.market-v3 .mr-editorial-strip{grid-template-columns:1fr 1fr!important;gap:17px!important;padding:20px 0!important}
  html[data-theme="dark"] body.market-v3 .mr-editorial-strip>div{padding:0!important;border:0!important}
  html[data-theme="dark"] body.market-v3 .mr-editorial-strip>div:first-child{grid-column:1/-1!important}
  html[data-theme="dark"] body.market-v3 .market-pricing{grid-template-columns:1fr!important;gap:11px!important}
  html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card{min-height:0!important;padding:22px!important}
  html[data-theme="dark"] body.market-v3 .market-pricing .market-product-card .amount strong{font-size:39px!important}
  html[data-theme="dark"] body.market-v3 .market-packages-hero{padding:28px!important;min-height:0!important}
  html[data-theme="dark"] body.market-v3 .market-custom{padding:19px!important;gap:21px!important}
  html[data-theme="dark"] body.market-v3 .market-custom-control{padding:16px!important}
  html[data-theme="dark"] body.market-v3 .market-flow .flow-step{padding:22px!important}
  html[data-theme="dark"] body.market-v3 :is(.market-flow,.market-store,.market-delivery,.market-confidence,.faq-section){padding-block:44px!important}
}
/* Final specificity locks over the earlier historical theme layers. */
html[data-theme="dark"] body.market-v3 .reveal,
html[data-theme="dark"] body.market-v3 .reveal.delay-1,
html[data-theme="dark"] body.market-v3 .market-hero-copy,
html[data-theme="dark"] body.market-v3 .market-buybox{
  opacity:1!important;visibility:visible!important;transform:none!important;
}
html[data-theme="dark"] body.market-v3 #pricingGrid.market-pricing > article.price-card.market-product-card{
  background:#151516!important;background-color:#151516!important;background-image:none!important;
}
html[data-theme="dark"] body.market-v3 #pricingGrid.market-pricing > article.price-card.market-product-card.featured{
  background:#1c1c1e!important;background-color:#1c1c1e!important;background-image:none!important;
}
html[data-theme="dark"] body.market-v3 #pricingGrid .market-product-card .product-buy:not(:hover){
  background:#2b2b2e!important;background-image:none!important;color:#f2f2f3!important;
  border-color:#444449!important;box-shadow:none!important;
}
html[data-theme="dark"] body.market-v3 #pricingGrid .market-product-card .product-buy:not(:hover)>span{color:#f2f2f3!important}
html[data-theme="dark"] body.market-v3 #pricingGrid .market-product-card.featured .product-buy:not(:hover){
  background:#ededee!important;color:#151516!important;border-color:#ededee!important;
}
html[data-theme="dark"] body.market-v3 #pricingGrid .market-product-card.featured .product-buy:not(:hover)>span{color:#151516!important}
/* Monochrome decorative symbols. Real QR pixels and payment content remain untouched. */
html[data-theme="dark"] body.market-v3 :is(.flow-icon img,.market-delivery-grid img,.market-trust-row img,.buybox-safe img,.buybox-options img,.product-footnote .pix-mark,.market-confidence-grid article img,.market-custom-copy>img){
  filter:grayscale(1) brightness(1.16) contrast(1.06)!important;
}
