/* MEGA ROBUX V3.8 — Azul & Branco / Azul & Preto.
   Declarado por último em todas as páginas. Apenas camadas visuais;
   a lógica de compras, pedidos, autenticação e PIX fica intacta. */

:root{
  --mr-blue:#9d9d9d;
  --mr-blue-hover:#9d9d9d;
  --mr-blue-soft:#e9e9e9;
  --mr-radius:18px;
}
html[data-theme="light"]{
  --bg:#f9f9f9;
  --bg-2:#f3f3f3;
  --panel:#ffffff;
  --panel-strong:#ffffff;
  --panel-soft:#f6f6f6;
  --line:#e4e4e4;
  --line-strong:#c8c8c8;
  --text:#212121;
  --muted:#666666;
  --muted-2:#7f7f7f;
  --purple:#9d9d9d;
  --purple-2:#9d9d9d;
  --purple-3:#9d9d9d;
  --purple-4:#3e3e3e;
  --mbg:#f9f9f9;
  --mbg2:#f4f4f4;
  --msurface:#ffffff;
  --msurface2:#f8f8f8;
  --mline:rgba(157, 157, 157,.15);
  --mline2:rgba(46, 46, 46,.10);
  --mtext:#212121;
  --mmuted:#656565;
  --mpurple:#9d9d9d;
  --mpurple2:#9d9d9d;
  --rbx-purple:#9d9d9d;
  --rbx-purple-2:#9f9f9f;
  --rbx-line:rgba(64, 64, 64,.12);
  --rbx-soft:rgba(157, 157, 157,.10);
  --rbxp-purple:#9d9d9d;
  --rbxp-purple-2:#9f9f9f;
  --rbxp-black:#f9f9f9;
  --rbxp-card:#ffffff;
  --rbxp-line:rgba(51, 51, 51,.12);
  --rbxp-soft:rgba(157, 157, 157,.10);
  --v372-purple:#9d9d9d;
  --v372-purple-2:#9f9f9f;
  --v372-purple-soft:rgba(157, 157, 157,.10);
  --v372-card:#ffffff;
  --v372-line:#e4e4e4;
  --v372-muted:#6d6d6d;
  --cc-panel:#ffffff;
  --cc-panel-2:#f7f7f7;
  --cc-line:rgba(51, 51, 51,.13);
  --cc-purple:#9d9d9d;
  --cc-purple-soft:rgba(157, 157, 157,.09);
  --shadow:0 24px 64px rgba(65, 65, 65,.09);
  --shadow-soft:0 12px 30px rgba(157, 157, 157,.07);
  color-scheme:light;
}
html[data-theme="dark"]{
  --bg:#0b0b0b;
  --bg-2:#0f0f0f;
  --panel:#191919;
  --panel-strong:#1c1c1c;
  --panel-soft:#1e1e1e;
  --line:rgba(177, 177, 177,.15);
  --line-strong:rgba(157, 157, 157,.32);
  --text:#f5f5f5;
  --muted:#bababa;
  --muted-2:#9d9d9d;
  --purple:#9d9d9d;
  --purple-2:#9f9f9f;
  --purple-3:#9d9d9d;
  --purple-4:#9d9d9d;
  --mbg:#0b0b0b;
  --mbg2:#141414;
  --msurface:#191919;
  --msurface2:#212121;
  --mline:rgba(159, 159, 159,.21);
  --mline2:rgba(188, 188, 188,.12);
  --mtext:#f5f5f5;
  --mmuted:#bdbdbd;
  --mpurple:#9d9d9d;
  --mpurple2:#9d9d9d;
  --rbx-purple:#9f9f9f;
  --rbx-purple-2:#c0c0c0;
  --rbxp-black:#0b0b0b;
  --rbxp-card:#191919;
  --rbxp-soft:rgba(157, 157, 157,.13);
  --v372-card:#191919;
  --v372-line:rgba(175, 175, 175,.17);
  --v372-muted:#b6b6b6;
  --cc-panel:#191919;
  --cc-panel-2:#202020;
  --cc-line:rgba(186, 186, 186,.16);
  --cc-purple:#9f9f9f;
  --cc-purple-soft:rgba(157, 157, 157,.13);
  color-scheme:dark;
}

html[data-theme] body{
  color:var(--text)!important;
  background:linear-gradient(160deg,var(--bg),var(--bg-2) 70%,var(--bg)) fixed!important;
}
html[data-theme="light"] body{
  background:
    radial-gradient(ellipse at 5% 0%,rgba(217, 217, 217,.34),transparent 32%),
    radial-gradient(ellipse at 93% 8%,rgba(233, 233, 233,.50),transparent 29%),
    linear-gradient(180deg,#fafafa,#f6f6f6 58%,#fbfbfb)!important;
}
html[data-theme="dark"] body{
  background:
    radial-gradient(ellipse at 7% 0%,rgba(157, 157, 157,.17),transparent 34%),
    radial-gradient(ellipse at 95% 8%,rgba(157, 157, 157,.13),transparent 29%),
    linear-gradient(180deg,#0b0b0b,#101010 58%,#0a0a0a)!important;
}
html[data-theme] .bg-orb-a{background:#9d9d9d!important}
html[data-theme] .bg-orb-b{background:#9f9f9f!important}
html[data-theme="light"] .bg-grid{opacity:.13!important}
html[data-theme] ::selection{background:rgba(157, 157, 157,.25);color:var(--text)}
html[data-theme] :is(a,button,input,select,textarea,summary):focus-visible{
  outline:3px solid rgba(157, 157, 157,.5)!important;outline-offset:3px!important;
}

/* In both modes primary actions are high-contrast, with no violet. */
html[data-theme] :is(.btn-primary,.market-buy-top,.client-buy-top,.auth-discord-btn,.hero-primary-cta,.metric-action,.support-cta-primary,.product-buy,#finishCheckout,.checkout-next,#customBuy,.market-custom-total .btn-primary,.pix-actions .btn-primary){
  background:linear-gradient(135deg,#9d9d9d,#9d9d9d)!important;
  color:#ffffff!important;
  border:1px solid rgba(157, 157, 157,.36)!important;
  box-shadow:0 10px 26px rgba(157, 157, 157,.19)!important;
}
html[data-theme] :is(.btn-primary,.product-buy,.auth-discord-btn,.market-buy-top):hover{
  background:linear-gradient(135deg,#9d9d9d,#9d9d9d)!important;
  box-shadow:0 13px 30px rgba(157, 157, 157,.27)!important;
}
html[data-theme] :is(.market-badge,.card-tag,.delivery-tag,.section-kicker,.eyebrow,.packages-hero-copy>span,.rbx-use-heading>span,.rbx-spotlight-copy>span){color:var(--mr-blue)!important}
html[data-theme="dark"] :is(.market-badge,.card-tag,.delivery-tag,.section-kicker,.eyebrow,.packages-hero-copy>span,.rbx-use-heading>span,.rbx-spotlight-copy>span){color:#c0c0c0!important}
html[data-theme] :is(.market-badge,.card-tag,.delivery-tag,.eyebrow){background:rgba(157, 157, 157,.10)!important;border-color:rgba(157, 157, 157,.23)!important}
html[data-theme] :is(.brand-text b,.market-pricing .amount strong,.market-custom-total strong,.market-section-head>div>span,.buybox-all,.market-delivery-grid a>b){color:var(--mr-blue)!important}
html[data-theme="dark"] :is(.brand-text b,.market-pricing .amount strong,.market-custom-total strong,.market-section-head>div>span,.buybox-all,.market-delivery-grid a>b){color:#c0c0c0!important}
html[data-theme] :is(.market-hero-copy h1 span,.guest-copy h1 span,.delivery-hero h1 span,.client-hero h1 span){
  color:var(--mr-blue)!important;
  background:none!important;-webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}
html[data-theme="dark"] :is(.market-hero-copy h1 span,.guest-copy h1 span,.delivery-hero h1 span,.client-hero h1 span){color:#b2b2b2!important}

/* Site header, navigation, brand. */
html[data-theme] :is(.topbar,.market-header,.client-topbar,.delivery-page .topbar){
  background:var(--mr-nav-bg)!important;
  border-bottom:1px solid var(--line)!important;
  box-shadow:0 6px 28px rgba(53, 53, 53,.055)!important;
  backdrop-filter:blur(18px);
}
html[data-theme="light"]{--mr-nav-bg:rgba(255, 255, 255,.94)}
html[data-theme="dark"]{--mr-nav-bg:rgba(15, 15, 15,.94)}
html[data-theme] :is(.market-statusbar,.announcement){background:var(--panel-soft)!important;border-color:var(--line)!important;color:var(--muted)!important}
html[data-theme] :is(.market-statusbar .shell span,.announcement-inner span,.announcement-inner strong){color:var(--muted)!important}
html[data-theme] :is(.market-nav a,.nav a,.clean-top-link,.client-domain){color:var(--muted)!important}
html[data-theme] :is(.market-nav a:hover,.market-nav a.active,.nav a:hover,.nav a.active,.clean-top-link:hover){color:var(--mr-blue)!important}
html[data-theme="dark"] :is(.market-nav a:hover,.market-nav a.active,.nav a:hover,.nav a.active,.clean-top-link:hover){color:#c0c0c0!important}
html[data-theme] :is(.market-brand .brand-text small,.brand-text small){color:var(--muted)!important}
html[data-theme] :is(.brand-mark,.market-brand .brand-mark){background:var(--panel)!important;border:1px solid var(--line)!important;box-shadow:0 7px 22px rgba(157, 157, 157,.07)!important}
html[data-theme] .topbar::after{background:linear-gradient(90deg,transparent,rgba(157, 157, 157,.42),transparent)!important}
html[data-theme] .menu-btn{background:var(--panel)!important;border-color:var(--line)!important}
html[data-theme] .menu-btn span{background:var(--text)!important}

/* Shared surfaces, consistent on all pages and modals. */
html[data-theme="light"] :is(
 .market-hero,.market-buybox,.market-base,.market-custom,.market-final-cta,
 .market-security-grid article,.market-delivery-grid a,.market-confidence-grid article,
 .guest-auth-card,.orders-panel,.order-details,.modal-card,.client-loading-card,
 .market-packages-hero,.market-pricing .market-product-card,.market-product-card,
 .rbx-play-strip article,.rbx-use-card,.rbx-spotlight,.rbx-spotlight-token,
 .delivery-page .hero-card,.delivery-page .delivery-grid article,
 .delivery-page .delivery-step-card,.delivery-page .delivery-note,
 .delivery-page .delivery-cta-card,.delivery-hero-panel,.delivery-card,
 .delivery-detail,.delivery-example,.delivery-key,.delivery-warning,
 .delivery-panel-note,.delivery-mini-row,.delivery-strip,.delivery-tag,
 .metric-card,.details-grid>div,.support-card,.clean-dashboard-hero,
 .clean-account-summary>div,.clean-orders-panel,.clean-order-detail,
 .client-account-strip>div,.guest-shell,.order-row,.legal-card,.legal-top,
 .market-flow-inner>div,.market-flow-inner div,.faq-section details,
 .faq-list details,.checkout-account-state,.pix-provider,.pix-order-line,
 .pix-waiting,.pix-success,.order-summary,.storage-notice,.checkout-summary,
 .modal-summary,.market-store .pricing-card,.buybox-options button,.buybox-safe,
 .market-proof-pills span,.buybox-proof-row span,.market-trust-row div,
 .client-hero-pills span,.hero-command-card,.order-details,.orders-panel,
 .client-support-grid>article,.client-app,.order-detail-card,.client-pix-card,
 .payment-method,.pix-card,.payment-box,.checkout-card,.thankyou-card
 ){
  background:#ffffff!important;
  border-color:rgba(157, 157, 157,.12)!important;
  color:#252525!important;
  box-shadow:0 12px 35px rgba(64, 64, 64,.07)!important;
}
html[data-theme="light"] :is(.market-hero,.market-packages-hero,.rbx-spotlight,.market-final-cta,.guest-auth-card,.delivery-hero-panel){
  background:linear-gradient(139deg,#ffffff 43%,#f5f5f5 100%)!important;
}
html[data-theme="dark"] :is(
 .market-hero,.market-buybox,.market-base,.market-custom,.market-final-cta,
 .market-security-grid article,.market-delivery-grid a,.market-confidence-grid article,
 .guest-auth-card,.orders-panel,.order-details,.modal-card,.client-loading-card,
 .market-packages-hero,.market-pricing .market-product-card,.market-product-card,
 .rbx-play-strip article,.rbx-use-card,.rbx-spotlight,.rbx-spotlight-token,
 .delivery-page .hero-card,.delivery-page .delivery-grid article,.delivery-detail,
 .delivery-hero-panel,.delivery-card,.metric-card,.support-card,.clean-dashboard-hero,
 .client-account-strip>div,.legal-card,.faq-list details,.market-flow-inner>div
 ){
  background:linear-gradient(155deg,#1d1d1d,#141414)!important;
  border-color:rgba(165, 165, 165,.15)!important;
  color:var(--text)!important;
  box-shadow:0 18px 42px rgba(0, 0, 0,.18)!important;
}
html[data-theme="light"] :is(.rbx-use-art,.rbx-spotlight-art,.market-product-art,.card-visual,.packages-hero-art){
  background:radial-gradient(circle at 50% 50%,#e9e9e9,#f8f8f8 68%,transparent)!important;
}
html[data-theme="dark"] :is(.rbx-use-art,.rbx-spotlight-art,.market-product-art,.card-visual,.packages-hero-art){
  background:radial-gradient(circle at 50% 50%,rgba(157, 157, 157,.13),transparent 72%)!important;
}
html[data-theme="light"] .market-hero::before,html[data-theme="light"] .market-hero::after{opacity:.1!important}
html[data-theme="light"] .market-buybox::after{opacity:.055!important}
html[data-theme="light"] .market-flow{background:#f4f4f4!important;border-color:var(--line)!important}
html[data-theme="light"] .market-confidence{background:#f6f6f6!important}
html[data-theme="light"] :is(.rbx-play-strip span,.rbx-use-card strong,.rbx-spotlight-token span){color:var(--text)!important}
html[data-theme="light"] .rbx-spotlight-copy h2{color:#212121!important}

/* Readable typography and muted body copy on the light background. */
html[data-theme="light"] :is(
 .market-hero-copy h1,.market-section-head h2,.buybox-head h2,.market-custom h3,
 .market-buybox h2,.market-flow strong,.market-custom-copy h3,.market-base strong,
 .market-final-cta h2,.market-pricing h3,.market-pricing .amount,.market-product-card strong,
 .market-security-grid h3,.market-delivery-grid h3,.market-delivery-grid strong,
 .market-confidence-grid h3,.market-packages-hero strong,.flow-title strong,
 .rbx-use-heading h2,.rbx-use-card strong,.rbx-spotlight h2,
 .guest-copy h1,.guest-auth-card h2,.client-hero h1,.clean-dashboard-hero h1,
 .clean-dashboard-page h1,.clean-dashboard-page h2,.clean-dashboard-page h3,
 .details-grid strong,.metric-card strong,.order-row strong,.order-details strong,
 .delivery-hero h1,.delivery-detail h2,.delivery-page h2,.delivery-page h3,
 .delivery-card h3,.delivery-mini-row strong,.delivery-key strong,
 .legal-page h1,.legal-page h2,.faq-list summary,.faq-section summary,
 .buybox-options button strong,.buybox-options button span,.brand-text,
 .client-top-user-copy strong,.client-account-strip strong,.client-account-summary strong,
 .loading-mark+strong,.clean-dashboard-hero strong
 ) {color:#212121!important;-webkit-text-fill-color:currentColor!important}
html[data-theme="light"] :is(
 .market-hero-copy p,.market-section-head p,.market-custom-copy p,.market-final-cta p,
 .market-security-grid p,.market-delivery-grid p,.market-confidence-grid p,
 .market-product-card p,.market-flow small,.market-proof-pills span,
 .market-trust-row small,.buybox-safe small,.buybox-head>div>span,
 .rbx-use-heading p,.rbx-use-card>div:last-child>span,.rbx-spotlight p,
 .market-pricing .market-product-price span,.faq-list details p,
 .guest-copy>p,.guest-points small,.guest-auth-card p,.client-hero p,
 .client-body p,.client-body small,.client-body .section-description,
 .delivery-hero p,.delivery-card p,.delivery-detail p,.delivery-page small,
 .delivery-mini-row small,.legal-page p,.legal-page li,.legal-card p,
 .field-hint,.form-hint,.subtitle,.muted,.note,.micro-copy,.rbx-play-strip small,
 .client-account-strip small,.orders-panel small,.order-details small
 ){color:#666666!important;-webkit-text-fill-color:currentColor!important}
html[data-theme="light"] :is(.faq-list summary,.faq-section summary,.market-pricing .market-product-card .amount strong,.market-pricing .market-product-price strong,.market-custom-total strong){color:#3b3b3b!important}
html[data-theme="light"] :is(.market-base strong,.market-final-cta h2,.market-packages-hero strong){color:#212121!important}
html[data-theme="dark"] :is(.market-packages-hero strong,.market-base strong,.market-final-cta h2,.rbx-spotlight h2){color:#f6f6f6!important}

/* Secondary controls, input fields and selectable packages. */
html[data-theme="light"] :is(
 .btn-secondary,.btn-ghost,.btn-account,.btn-discord,.market-account,.client-domain,
 .refresh-button,.order-filter,.market-proof-pills span,.buybox-proof-row span,
 .market-trust-row div,.client-hero-pills span,.market-custom-control,
 .input-wrap,.form-input,.form-field,.market-custom-control input,
 .checkout-field input,.checkout-field select,.checkout-field textarea,
 input,select,textarea,.faq-list details,.faq-section details,
 .sidebar-nav.clean-dashboard-nav,.clean-dashboard-nav a,
 .clean-dashboard-actions .btn-secondary,.order-row,.clean-account-summary>div,
 .buybox-options button,.market-custom-total,.pix-qr-wrap
 ){
  background:#f9f9f9!important;
  color:#313131!important;
  border-color:#e4e4e4!important;
  box-shadow:none!important;
}
html[data-theme="dark"] :is(.btn-secondary,.btn-ghost,.btn-discord,.market-account,.btn-account,.market-proof-pills span,.buybox-proof-row span,.market-trust-row div,.buybox-options button,.order-row,.input-wrap,input,select,textarea,.sidebar-nav.clean-dashboard-nav,.clean-dashboard-nav a){
  background:#1e1e1e!important;color:#f0f0f0!important;border-color:rgba(172, 172, 172,.19)!important;
}
html[data-theme] :is(.buybox-options button.featured,.buybox-options button:hover,.market-product-card.featured,.order-filter.active,.clean-dashboard-nav a.active){
  border-color:#9d9d9d!important;
  box-shadow:inset 0 0 0 1px rgba(157, 157, 157,.21)!important;
}
html[data-theme="light"] :is(.buybox-options button.featured,.market-product-card.featured,.clean-dashboard-nav a.active){background:#f2f2f2!important}
html[data-theme="dark"] :is(.buybox-options button.featured,.market-product-card.featured,.clean-dashboard-nav a.active){background:#292929!important}
html[data-theme="light"] .menu-btn span{background:#313131!important}
html[data-theme] input:focus,html[data-theme] textarea:focus{border-color:var(--mr-blue)!important}
html[data-theme="light"] input::placeholder,html[data-theme="light"] textarea::placeholder{color:#959595!important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#9d9d9d!important}

/* Client Center fixes: legacy !important declarations had dark backgrounds. */
html[data-theme="light"] body.client-clean-dashboard :is(
 .clean-dashboard-hero,.clean-orders-panel,.clean-order-detail,.clean-account-strip>div,
 .clean-dashboard-wrap>.clean-dashboard-hero,.clean-dashboard-page .sidebar-nav,
 .orders-panel,.order-details,.support-card,.metric-card,.client-loading-card
 ){background:#ffffff!important;border-color:#e5e5e5!important;box-shadow:0 10px 32px rgba(70, 70, 70,.06)!important}
html[data-theme="light"] body.client-clean-dashboard .sidebar-nav.clean-dashboard-nav{background:#f4f4f4!important}
html[data-theme="light"] body.client-clean-dashboard .sidebar-nav.clean-dashboard-nav a{color:#717171!important}
html[data-theme="light"] body.client-clean-dashboard .sidebar-nav.clean-dashboard-nav a.active{
  background:#ffffff!important;color:#9d9d9d!important;border-color:#d9d9d9!important
}
html[data-theme="light"] body.client-clean-dashboard .clean-account-copy h1,
html[data-theme="light"] body.client-clean-dashboard .clean-account-copy h1 span{color:#212121!important}
html[data-theme="light"] :is(.status-pill,.delivery-warning,.timeline-item,.order-row){border-color:#e4e4e4!important}

/* Bottom and overlay surfaces */
html[data-theme="light"] :is(.footer,.market-footer,.client-footer,.legal-top,.modal-overlay,.modal-backdrop){color:#666666!important}
html[data-theme="light"] :is(.modal-card,.client-pix-card,.pix-modal-content,.checkout-modal-content,.checkout-step,.modal-step){
  background:#ffffff!important;color:#212121!important;border-color:#e5e5e5!important
}
html[data-theme="dark"] :is(.modal-card,.client-pix-card,.pix-modal-content,.checkout-modal-content,.checkout-step,.modal-step){
  background:#161616!important;color:#f6f6f6!important;border-color:rgba(173, 173, 173,.2)!important
}
html[data-theme="light"] .legal-page :is(.legal-card,.legal-actions){background:#ffffff!important;color:#252525!important}
html[data-theme="light"] .delivery-hero-copy h1{color:#212121!important}
html[data-theme="light"] .delivery-page .delivery-strip{background:#f2f2f2!important;color:#9d9d9d!important}
html[data-theme="dark"] .delivery-page .delivery-strip{background:#232323!important;color:#c0c0c0!important}

/* Persistent theme toggle in every page, including account and legal pages. */
.mr-theme-toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  gap:8px;
  padding:0 14px!important;
  height:42px!important;
  min-height:42px!important;
  min-width:max-content;
  border:1px solid var(--line)!important;
  border-radius:13px!important;
  background:var(--panel)!important;
  color:var(--text)!important;
  font:700 12px/1.1 Inter,system-ui,sans-serif!important;
  cursor:pointer;
  box-shadow:0 3px 16px rgba(157, 157, 157,.06);
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
  position:relative;
  z-index:70;
}
.mr-theme-toggle:hover{transform:translateY(-1px);border-color:#9f9f9f!important;background:var(--panel-soft)!important}
.mr-theme-toggle .mr-theme-icon{font-size:21px;line-height:1;color:var(--mr-blue)!important}
html[data-theme="dark"] .mr-theme-toggle .mr-theme-icon{color:#c0c0c0!important}
html[data-theme="light"] .mr-theme-toggle{background:#ffffff!important;color:#303030!important;border-color:#dddddd!important}
html[data-theme="dark"] .mr-theme-toggle{background:#1f1f1f!important;color:#f2f2f2!important;border-color:rgba(159, 159, 159,.26)!important}
html[data-theme] .mr-theme-toggle:focus-visible{outline:3px solid #9f9f9f!important;outline-offset:3px!important}
@media(max-width:950px){
  .mr-theme-toggle{position:fixed!important;right:16px!important;bottom:max(16px, env(safe-area-inset-bottom))!important;z-index:999!important;box-shadow:0 12px 36px rgba(42, 42, 42,.2)!important}
}
@media(prefers-reduced-motion:reduce){.mr-theme-toggle{transition:none!important}}

/* Final high-specificity overrides for V3.0/V3.5's locked dark surfaces. */
html[data-theme="light"] body.site-v29,
html[data-theme="light"] body.site-v29.delivery-page,
html[data-theme="light"] body.client-body.site-v29{
  background:
    radial-gradient(ellipse at 8% 0%,rgba(217, 217, 217,.32),transparent 34%),
    linear-gradient(180deg,#fafafa,#f6f6f6 56%,#fbfbfb)!important;
  color:#212121!important;
}
html[data-theme="dark"] body.site-v29,
html[data-theme="dark"] body.site-v29.delivery-page,
html[data-theme="dark"] body.client-body.site-v29{
  background:
    radial-gradient(ellipse at 9% 0%,rgba(157, 157, 157,.16),transparent 34%),
    linear-gradient(180deg,#0b0b0b,#151515 56%,#0b0b0b)!important;
  color:#f5f5f5!important;
}
html[data-theme="light"] body.site-v29 .market-nav a.active,
html[data-theme="light"] body.site-v29 .nav a.active{
  background:#f0f0f0!important;
  color:#9d9d9d!important;
  border-color:#e0e0e0!important;
}
html[data-theme="dark"] body.site-v29 .market-nav a.active,
html[data-theme="dark"] body.site-v29 .nav a.active{
  background:#262626!important;
  color:#d9d9d9!important;
  border-color:rgba(159, 159, 159,.28)!important;
}
html[data-theme="light"] .market-account :is([data-client-label],strong,small),
html[data-theme="light"] .market-trust-row div strong,
html[data-theme="light"] .buybox-safe strong,
html[data-theme="light"] .buybox-online,
html[data-theme="light"] .market-custom-control label{color:#333333!important}
html[data-theme="dark"] .market-account :is([data-client-label],strong,small){color:#f0f0f0!important}
html[data-theme="light"] .market-buybox .buybox-all{
  background:#f4f4f4!important;color:#9d9d9d!important;border:1px solid #e5e5e5!important;
}
html[data-theme="dark"] .market-buybox .buybox-all{
  background:#262626!important;color:#c0c0c0!important;border:1px solid rgba(159, 159, 159,.18)!important;
}
html[data-theme="light"] .market-buybox .buybox-options button strong,
html[data-theme="light"] .market-buybox .buybox-options button span{
  color:#2a2a2a!important;
}
html[data-theme="dark"] .market-buybox .buybox-options button{
  background:#202020!important;color:#f1f1f1!important;border-color:rgba(159, 159, 159,.22)!important;
}
html[data-theme="dark"] .market-buybox .buybox-options button.featured{
  background:#313131!important;border-color:#9d9d9d!important;
}
html[data-theme="dark"] .market-buybox .buybox-options button :is(span,strong){color:#f1f1f1!important}
html[data-theme="light"] .market-buybox .buybox-online{
  background:#f6f6f6!important;border-color:#e3e3e3!important;color:#575757!important;
}
html[data-theme="light"] .market-trust-row div{
  background:#fafafa!important;
  box-shadow:none!important;
}
html[data-theme="light"] .market-trust-row strong{color:#323232!important}
html[data-theme="light"] .market-trust-row small{color:#9d9d9d!important}
html[data-theme="light"] .market-buybox :is(.buybox-proof-row span,.buybox-safe){background:#f8f8f8!important;color:#323232!important}
html[data-theme="dark"] .market-buybox :is(.buybox-proof-row span,.buybox-safe){background:#202020!important;color:#e9e9e9!important}
html[data-theme="light"] .market-custom-control :is(input,select),
html[data-theme="light"] .checkout-card :is(input,textarea,select){color:#323232!important;background:#f9f9f9!important}

/* Legacy client center dark fixed cards / black sections. */
html[data-theme="light"] body.client-body .guest-shell,
html[data-theme="light"] body.client-body .client-hero,
html[data-theme="light"] body.client-body .client-app,
html[data-theme="light"] body.client-body .guest-points>div,
html[data-theme="light"] body.client-body .client-loading-card,
html[data-theme="light"] body.client-body .guest-auth-card,
html[data-theme="light"] body.client-body .client-support-bar,
html[data-theme="light"] body.client-body .client-sidebar,
html[data-theme="light"] body.client-body .metrics-grid .metric-card,
html[data-theme="light"] body.client-body .orders-layout .orders-panel,
html[data-theme="light"] body.client-body .orders-layout .order-details,
html[data-theme="light"] body.client-body .clean-dashboard-hero,
html[data-theme="light"] body.client-body .clean-dashboard-orders,
html[data-theme="light"] body.client-body .clean-dashboard-summary,
html[data-theme="light"] body.client-body .clean-dashboard-account,
html[data-theme="light"] body.client-body .client-pix-card{
  background:#ffffff!important;color:#212121!important;border-color:#e5e5e5!important;
}
html[data-theme="dark"] body.client-body .client-loading-card,
html[data-theme="dark"] body.client-body .guest-auth-card,
html[data-theme="dark"] body.client-body .client-pix-card{
  background:#191919!important;color:#f5f5f5!important;border-color:rgba(176, 176, 176,.16)!important;
}
html[data-theme="light"] body.client-body :is(.guest-points>div strong,.auth-card-copy h2,.client-top-user-copy strong,.guest-auth-card h2,.client-hero h1){color:#212121!important}
html[data-theme="light"] body.client-body :is(.guest-points>div small,.guest-auth-card p,.client-support-bar p){color:#666666!important}

/* Delivery details, not just the landing cards. */
html[data-theme="light"] body.delivery-page :is(.delivery-detail,.delivery-detail-content,.delivery-detail-aside,.delivery-card,.delivery-mini-row,.delivery-step-card,.delivery-note,.delivery-compare,.delivery-key,.delivery-example,.delivery-warning,.delivery-panel-note){
  background:#ffffff!important;color:#2f2f2f!important;border-color:#e5e5e5!important;
}
html[data-theme="light"] body.delivery-page :is(.delivery-strip,.delivery-panel-note,.delivery-steps>div){background:#f4f4f4!important;border-color:#e5e5e5!important}
html[data-theme="light"] body.delivery-page :is(.delivery-card h3,.delivery-detail h2,.delivery-step-card h3,.delivery-key strong,.delivery-panel-note strong,.delivery-mini-row strong){color:#212121!important}
html[data-theme="light"] body.delivery-page :is(.delivery-card p,.delivery-detail p,.delivery-panel-note small,.delivery-steps small,.delivery-mini-row small){color:#666666!important}
html[data-theme="dark"] body.delivery-page .topbar{background:rgba(15, 15, 15,.94)!important}

/* Delivery hero originally used an almost-black gradient independent of cards. */
html[data-theme="light"] body.delivery-page .delivery-hero{
  background:linear-gradient(133deg,#ffffff 36%,#f2f2f2)!important;
  border:1px solid #e3e3e3!important;
  color:#212121!important;
  box-shadow:0 17px 42px rgba(157, 157, 157,.09)!important;
}
html[data-theme="dark"] body.delivery-page .delivery-hero{
  background:linear-gradient(135deg,#1f1f1f,#151515)!important;
  border-color:rgba(159, 159, 159,.18)!important;
  color:#f5f5f5!important;
}
html[data-theme="light"] body.delivery-page .delivery-hero h1{color:#212121!important}
html[data-theme="light"] body.delivery-page .delivery-hero-copy p{color:#666666!important}
html[data-theme="light"] body.delivery-page .delivery-hero::before{
  background:radial-gradient(circle at 75% 28%,rgba(159, 159, 159,.10),transparent 45%)!important;
}
html[data-theme="light"] body.delivery-page .announcement{
  background:#f4f4f4!important;color:#636363!important;border-color:#e5e5e5!important;
}
html[data-theme="dark"] body.delivery-page .announcement{
  background:#171717!important;color:#c6c6c6!important;border-color:rgba(159, 159, 159,.17)!important;
}
html[data-theme="light"] body.delivery-page .nav a.nav-shop,
html[data-theme="dark"] body.delivery-page .nav a.nav-shop{
  color:#ffffff!important;
}
html[data-theme="light"] body.delivery-page .btn-account :is(strong,small){color:#363636!important}
html[data-theme="dark"] body.delivery-page .btn-account :is(strong,small){color:#f4f4f4!important}

/* Responsive repair: very old theme revisions forced a 405px second column
   even on 390px phones. Collapse it so the mobile storefront is usable. */
@media (max-width:950px){
  html[data-theme] body.market-v3 .market-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:24px!important;
    min-height:0!important;
    padding:26px 20px 28px!important;
    width:min(calc(100% - 24px),var(--shell))!important;
    margin-inline:auto!important;
  }
  html[data-theme] body.market-v3 .market-hero-copy{
    min-width:0!important;width:100%!important;max-width:100%!important;padding:0!important;
  }
  html[data-theme] body.market-v3 .market-buybox{
    width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;
  }
  html[data-theme] body.market-v3 .market-hero-copy h1{
    font-size:clamp(37px,8.5vw,54px)!important;
    line-height:1.02!important;
    max-width:100%!important;
    overflow-wrap:normal!important;
    text-wrap:balance;
  }
  html[data-theme] body.market-v3 .market-hero-copy p{
    max-width:100%!important;font-size:14px!important;line-height:1.5!important;
  }
  html[data-theme] body.market-v3 .market-hero-actions{
    gap:10px!important;flex-direction:row!important;flex-wrap:wrap!important;
  }
  html[data-theme] body.market-v3 .market-hero-actions .btn{
    flex:1 1 145px!important;min-width:0!important;padding-inline:12px!important;
  }
  html[data-theme] .mr-theme-toggle{
    position:fixed!important;right:16px!important;
    bottom:calc(16px + env(safe-area-inset-bottom))!important;
    top:auto!important;left:auto!important;
  }
  html[data-theme] body.market-v3 .mr-theme-toggle{
    bottom:calc(94px + env(safe-area-inset-bottom))!important;
  }
}
@media (max-width:440px){
  html[data-theme] body.market-v3 .market-hero-copy h1{font-size:clamp(35px,9.5vw,43px)!important}
  html[data-theme] body.market-v3 .market-hero{padding:24px 15px!important}
  html[data-theme] body.market-v3 .market-header-inner{min-width:0!important}
  html[data-theme] body.market-v3 .market-hero-actions .btn{font-size:12px!important}
}
@media(max-width:950px){
  html[data-theme] .mr-theme-toggle{
    width:46px!important;min-width:46px!important;max-width:46px!important;
    height:46px!important;min-height:46px!important;
    border-radius:15px!important;padding:0!important;
  }
  html[data-theme] .mr-theme-toggle .mr-theme-label{display:none!important}
  html[data-theme] .mr-theme-toggle .mr-theme-icon{font-size:25px!important}
}
@media(max-width:440px){
  html{overflow-x:clip!important}
  html[data-theme] body{overflow-x:clip!important}
}
