/* THE MAPPP · V436 — organização dos valores, ritmo dos três passos e cubo facetado */
:root { --mxc-cube-thumb: url("mxc-cubo-azul.png"); }

/* Rodapé e margens horizontais absolutamente iguais em todos os passos. */
.mxc .mxc-dlg .mxc-body,
.mxc.mxc-type-step .mxc-dlg .mxc-body {box-sizing:border-box!important;padding:14px 40px 14px!important;}
.mxc .mxc-dlg .mxc-foot,
.mxc.mxc-type-step .mxc-dlg .mxc-foot {
 box-sizing:border-box!important;display:flex!important;flex:0 0 64px!important;
 height:64px!important;min-height:64px!important;max-height:64px!important;
 align-items:center!important;justify-content:flex-start!important;gap:12px!important;
 padding:9px 40px!important;margin:0!important;
 border-top:1px solid rgba(155,190,225,.17)!important;flex-wrap:nowrap!important;
}
.mxc .mxc-foot .mxc-foot-left {order:0!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;gap:13px!important;min-width:0!important}
.mxc .mxc-foot .mxc-faqbtn,.mxc .mxc-foot .mxc-rulesbtn {
 box-sizing:border-box!important;order:0!important;margin:0!important;padding:0 0 5px!important;
 border:0!important;border-bottom:1px solid rgba(171,190,210,.3)!important;
 width:auto!important;min-width:0!important;height:26px!important;
 background:transparent!important;color:#a0b4ca!important;font:700 11px Manrope,Arial,sans-serif!important;
}
.mxc .mxc-foot .mxc-back-inline {order:0!important;background:transparent!important;color:#95b7e0!important;border:0!important;padding:0 0 4px!important;font:650 11px Manrope,Arial,sans-serif!important;cursor:pointer!important}
.mxc .mxc-foot .mxc-err {order:1!important;flex:1 1 auto!important;min-width:0!important;font-size:10px!important}
.mxc .mxc-foot .mxc-total {order:2!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:9px!important;margin:0 10px 0 auto!important;color:#91a9c0!important;font-size:9px!important}
.mxc .mxc-foot .mxc-total b {color:#f1f6fb!important;font-size:14px!important;white-space:nowrap!important}
.mxc .mxc-foot .mxc-primary.mxc-continue {order:3!important;flex:0 0 176px!important;width:176px!important;min-width:176px!important;height:40px!important;border-radius:0!important;margin:0!important;font:700 11px Manrope,Arial,sans-serif!important}

/* Subcards: a zona de edição ocupa o fundo sem disputar o título. */
.mxc .mxc-v399 .mxc-type-choice.selected .mxc-type-copy,
.mxc .mxc-v399 .mxc-type-choice[data-type-choice="flag"].selected .mxc-type-copy {
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
 align-items:stretch!important;justify-content:flex-start!important;gap:0!important;
 min-width:0!important;min-height:0!important;padding:13px 13px 11px!important;
}
.mxc .mxc-v399 .mxc-type-choice.selected .mxc-type-copy>b {flex:0 0 auto!important;line-height:1.3!important;margin:0!important;position:relative!important;z-index:1!important}
.mxc .mxc-v399 .mxc-type-choice .mxc-empire-edit-summary {display:none!important;}
.mxc .mxc-v399 .mxc-type-choice .mxc-v436-offer-panel,
.mxc .mxc-v399 .mxc-type-choice.selected .mxc-v436-offer-panel {
 box-sizing:border-box!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;
 align-items:stretch!important;justify-content:flex-end!important;
 width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;
 margin:0!important;padding:10px 0 0!important;gap:0!important;
 border:0!important;background:transparent!important;overflow:hidden!important;
}
.mxc .mxc-v399 .mxc-type-choice .mxc-v436-offer-panel[hidden]{display:none!important}
.mxc .mxc-v399 .mxc-v436-offer-layout {
 box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(93px,112px)!important;
 gap:9px!important;width:100%!important;height:100%!important;min-height:0!important;align-items:end!important;
}
.mxc .mxc-v399 .mxc-v436-offer-main {
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
 justify-content:flex-end!important;align-items:stretch!important;min-width:0!important;
 width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;
}
.mxc .mxc-v399 .mxc-v436-offer-main .mxc-v435-empire-list {
 box-sizing:border-box!important;display:flex!important;flex:0 1 auto!important;flex-direction:column!important;
 gap:3px!important;min-width:0!important;width:100%!important;max-width:100%!important;
 max-height:111px!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;
 margin:0!important;padding:0 3px 0 0!important;scrollbar-width:thin!important;
}
.mxc .mxc-v399 .mxc-v436-offer-main .mxc-v435-empire-row {
 box-sizing:border-box!important;flex:0 0 21px!important;min-height:21px!important;max-height:21px!important;
 width:100%!important;min-width:0!important;white-space:nowrap!important;
}
.mxc .mxc-v399 .mxc-v436-offer-main .mxc-v435-empire-row span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
/* Friso sempre vertical à DIREITA, com a legenda e o montante à esquerda e alinhados à direita. */
.mxc .mxc-v399 .mxc-v436-offer-layout .mxc-new-range.mxc-v436-offer-controls,
.mxc .mxc-v399 .mxc-v436-offer-layout .mxc-v436-offer-controls {
 box-sizing:border-box!important;position:relative!important;display:block!important;
 width:100%!important;min-width:0!important;min-height:110px!important;height:125px!important;
 max-height:100%!important;margin:0!important;padding:0!important;overflow:visible!important;
 align-self:end!important;
}
.mxc .mxc-v399 .mxc-v436-offer-controls label {
 position:absolute!important;display:block!important;left:0!important;right:28px!important;top:calc(50% - 24px)!important;
 width:auto!important;margin:0!important;padding:0!important;text-align:right!important;
 grid-column:auto!important;grid-row:auto!important;
 white-space:nowrap!important;text-transform:none!important;letter-spacing:0!important;
 color:#a7bfd6!important;font:750 10.5px/1.2 Manrope,Arial,sans-serif!important;
}
.mxc .mxc-v399 .mxc-v436-offer-controls output {
 position:absolute!important;display:block!important;left:0!important;right:28px!important;top:calc(50% + 1px)!important;
 width:auto!important;margin:0!important;padding:0!important;text-align:right!important;
 align-self:auto!important;justify-self:auto!important;grid-column:auto!important;grid-row:auto!important;
 white-space:nowrap!important;color:#f0f6ff!important;font:800 18px/1.2 Manrope,Arial,sans-serif!important;
}
.mxc .mxc-v399 .mxc-v436-offer-layout .mxc-v436-offer-controls input[type=range] {
 -webkit-appearance:none!important;appearance:none!important;position:absolute!important;
 top:50%!important;left:calc(100% - 10px)!important;right:auto!important;bottom:auto!important;
 display:block!important;width:112px!important;height:18px!important;min-height:18px!important;max-height:18px!important;
 margin:0!important;padding:0!important;
 transform:translate(-50%,-50%) rotate(-90deg)!important;transform-origin:center!important;
 writing-mode:horizontal-tb!important;direction:ltr!important;cursor:pointer!important;outline:none!important;
}
/* Cubo azul FACETADO da imagem enviada em vez dos ícones geométricos sintéticos. */
.mxc .mxc-v399 .mxc-reference-zoom input[type=range]::-webkit-slider-thumb,
.mxc .mxc-v399 .mxc-new-range input[type=range]::-webkit-slider-thumb {
 -webkit-appearance:none!important;appearance:none!important;width:20px!important;height:20px!important;
 margin-top:-9px!important;border:0!important;border-radius:0!important;
 background:transparent url('mxc-cubo-azul.png') center/20px 20px no-repeat!important;box-shadow:none!important;
}
.mxc .mxc-v399 .mxc-reference-zoom input[type=range]::-moz-range-thumb,
.mxc .mxc-v399 .mxc-new-range input[type=range]::-moz-range-thumb {
 width:20px!important;height:20px!important;border:0!important;border-radius:0!important;
 background:transparent url('mxc-cubo-azul.png') center/20px 20px no-repeat!important;box-shadow:none!important;
}

/* Passo 2: mais ar entre redes e categorias, maior descrição, fundo dos inputs igual ao subcard império. */
.mxc .mxc-v408-step2.mxc-world-personalize {
 box-sizing:border-box!important;grid-template-columns:minmax(0,1fr) minmax(250px,300px)!important;
 gap:20px!important;margin:0!important;padding:6px 0 0!important;align-items:start!important;min-width:0!important;
}
.mxc .mxc-v408-step2 .mxc-world-data-panel{min-width:0!important;padding:0!important}
.mxc .mxc-v408-step2 .mxc-f input#mxcName,
.mxc .mxc-v408-step2 .mxc-f textarea#mxcDesc {
 box-sizing:border-box!important;background:#171b20!important;border:1px solid rgba(149,163,177,.23)!important;
 color:#f0f6ff!important;border-radius:0!important;
}
.mxc .mxc-v408-step2 .mxc-f textarea#mxcDesc {height:81px!important;min-height:81px!important;max-height:81px!important;resize:none!important;}
.mxc .mxc-v408-step2 .mxc-cat-field {margin-top:21px!important}
.mxc .mxc-v408-step2 .mxc-logo-upload-wrap {margin-top:17px!important;min-width:0!important}
.mxc .mxc-v408-step2 .mxc-social-entry input[data-social-input] {font-size:13px!important;font-weight:650!important}
.mxc .mxc-v408-step2 .mxc-social-entry input[data-social-input="instagram"]::placeholder,
.mxc .mxc-v408-step2 .mxc-social-entry input[data-social-input="tiktok"]::placeholder {font-size:20px!important;font-weight:750!important;color:#9cbcd6!important;opacity:1!important}

/* Passo 3: linha indivisível mesmo quando a lista de vizinhos ocupa 2 ou mais linhas. */
.mxc .mxc-world-confirm-fields .mxc-sum,
.mxc .mxc-world-step3 .mxc-world-confirm-fields .mxc-sum {
 box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
 gap:0!important;align-items:stretch!important;padding:10px 14px!important;
 width:100%!important;min-width:0!important;
}
.mxc .mxc-world-confirm-fields .mxc-sum .mxc-confirm-row {
 box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(78px,.34fr) minmax(0,1fr)!important;
 align-items:start!important;gap:12px!important;width:100%!important;min-width:0!important;
 border-bottom:1px solid rgba(141,180,210,.17)!important;padding:10px 0!important;
}
.mxc .mxc-world-confirm-fields .mxc-sum .mxc-confirm-row:last-child{border-bottom:0!important}
.mxc .mxc-world-confirm-fields .mxc-sum .mxc-confirm-row dt,
.mxc .mxc-world-confirm-fields .mxc-sum .mxc-confirm-row dd {
 box-sizing:border-box!important;margin:0!important;padding:0!important;
 border:0!important;min-width:0!important;max-width:none!important;
 line-height:1.5!important;align-self:start!important;overflow-wrap:anywhere!important;
}
.mxc .mxc-world-confirm-fields .mxc-sum .mxc-confirm-row dd{text-align:right!important;justify-self:stretch!important;font-weight:700!important}
.mxc .mxc-world-step3 {box-sizing:border-box!important;padding:6px 0!important;gap:22px!important;min-width:0!important}

@media(max-width:800px) {
 .mxc .mxc-dlg .mxc-body,.mxc.mxc-type-step .mxc-dlg .mxc-body{padding:12px 18px!important}
 .mxc .mxc-dlg .mxc-foot,.mxc.mxc-type-step .mxc-dlg .mxc-foot{padding:8px 18px!important;gap:7px!important}
 .mxc .mxc-foot .mxc-foot-left{gap:9px!important}
 .mxc .mxc-foot .mxc-primary.mxc-continue{flex-basis:140px!important;width:140px!important;min-width:140px!important}
 .mxc .mxc-v408-step2.mxc-world-personalize{grid-template-columns:1fr!important;}
}
@media(max-width:520px){
 .mxc .mxc-dlg .mxc-body,.mxc.mxc-type-step .mxc-dlg .mxc-body{padding:9px 12px!important}
 .mxc .mxc-dlg .mxc-foot,.mxc.mxc-type-step .mxc-dlg .mxc-foot{padding:7px 12px!important;height:auto!important;min-height:64px!important;max-height:none!important;flex-wrap:wrap!important}
 .mxc .mxc-foot .mxc-back-inline{font-size:10px!important}
 .mxc .mxc-foot .mxc-primary.mxc-continue{flex:0 0 124px!important;min-width:124px!important;width:124px!important}
 .mxc .mxc-foot .mxc-total{gap:4px!important;margin-right:0!important}
 .mxc .mxc-v399 .mxc-v436-offer-layout{grid-template-columns:minmax(0,1fr) 90px!important;gap:5px!important}
 .mxc .mxc-v399 .mxc-v436-offer-controls label{font-size:9px!important}
 .mxc .mxc-v399 .mxc-v436-offer-controls output{font-size:15px!important}
}
/* O botão de confirmação mantém a mesma altura e não desloca a seta. */
.mxc .mxc-foot .mxc-primary.mxc-continue{white-space:nowrap!important;line-height:1!important;letter-spacing:0!important;padding:0 7px!important;font-size:10px!important;text-align:center!important}
@media(min-width:801px){
 .mxc .mxc-v408-step2 .mxc-world-upload,
 .mxc .mxc-v408-step2 .mxc-world-upload:not(.has-logo),
 .mxc .mxc-v408-step2 .mxc-world-upload.has-logo {
  height:clamp(260px,calc(100dvh - 242px),398px)!important;
  min-height:clamp(260px,calc(100dvh - 242px),398px)!important;
  max-height:clamp(260px,calc(100dvh - 242px),398px)!important;
 }
}
