/* Dificuldades com cor e ícone próprios (Lua de mel, Mandato, Impeachment, Colapso), em todo lugar que aparecem. */
:root{--diff-lua:#ff9fc4;--diff-lua-bg:#3a1f33;--diff-mandato:#9be7b8;--diff-mandato-bg:#173b33;--diff-impeachment:#ffa24a;--diff-impeachment-bg:#43280f;--diff-colapso:#ff6b6b;--diff-colapso-bg:#45161a}
.difficulty-lua{--diff:var(--diff-lua);--diff-bg:var(--diff-lua-bg);--diff-icon:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'><rect x='2' y='1' width='12' height='1' fill='%2310182a'/><rect x='2' y='2' width='1' height='1' fill='%2310182a'/><rect x='3' y='2' width='10' height='1' fill='%23ffe3ee'/><rect x='13' y='2' width='1' height='1' fill='%2310182a'/><rect x='2' y='3' width='1' height='1' fill='%2310182a'/><rect x='3' y='3' width='9' height='1' fill='%23ff9fc4'/><rect x='12' y='3' width='1' height='1' fill='%23ffe3ee'/><rect x='13' y='3' width='1' height='1' fill='%2310182a'/><rect x='15' y='3' width='1' height='1' fill='%23ffe3ee'/><rect x='2' y='4' width='1' height='1' fill='%2310182a'/><rect x='3' y='4' width='2' height='1' fill='%23ff9fc4'/><rect x='5' y='4' width='1' height='1' fill='%23ffe3ee'/><rect x='6' y='4' width='7' height='1' fill='%23ff9fc4'/><rect x='13' y='4' width='1' height='1' fill='%2310182a'/><rect x='3' y='5' width='1' height='1' fill='%2310182a'/><rect x='4' y='5' width='8' height='1' fill='%23ff9fc4'/><rect x='12' y='5' width='1' height='1' fill='%2310182a'/><rect x='14' y='5' width='1' height='1' fill='%23ffe3ee'/><rect x='4' y='6' width='1' height='1' fill='%2310182a'/><rect x='5' y='6' width='5' height='1' fill='%23ff9fc4'/><rect x='10' y='6' width='1' height='1' fill='%23ffe3ee'/><rect x='11' y='6' width='1' height='1' fill='%2310182a'/><rect x='5' y='7' width='1' height='1' fill='%2310182a'/><rect x='6' y='7' width='4' height='1' fill='%23ff9fc4'/><rect x='10' y='7' width='1' height='1' fill='%2310182a'/><rect x='6' y='8' width='1' height='1' fill='%2310182a'/><rect x='7' y='8' width='2' height='1' fill='%23ffe3ee'/><rect x='9' y='8' width='1' height='1' fill='%2310182a'/><rect x='7' y='9' width='2' height='1' fill='%2310182a'/><rect x='7' y='10' width='2' height='1' fill='%23ffe3ee'/><rect x='7' y='11' width='2' height='1' fill='%23ffe3ee'/><rect x='7' y='12' width='2' height='1' fill='%23ffe3ee'/><rect x='4' y='13' width='8' height='1' fill='%2310182a'/><rect x='4' y='14' width='1' height='1' fill='%2310182a'/><rect x='5' y='14' width='6' height='1' fill='%23ffe3ee'/><rect x='11' y='14' width='1' height='1' fill='%2310182a'/><rect x='4' y='15' width='8' height='1' fill='%2310182a'/></svg>")}
.difficulty-mandato{--diff:var(--diff-mandato);--diff-bg:var(--diff-mandato-bg);--diff-icon:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'><rect x='0' y='0' width='2' height='1' fill='%2310182a'/><rect x='0' y='1' width='1' height='1' fill='%2310182a'/><rect x='1' y='1' width='2' height='1' fill='%232e9e5b'/><rect x='3' y='1' width='1' height='1' fill='%2310182a'/><rect x='0' y='2' width='1' height='1' fill='%2310182a'/><rect x='1' y='2' width='1' height='1' fill='%232e9e5b'/><rect x='2' y='2' width='1' height='1' fill='%23ffd84a'/><rect x='3' y='2' width='1' height='1' fill='%232e9e5b'/><rect x='4' y='2' width='1' height='1' fill='%2310182a'/><rect x='1' y='3' width='1' height='1' fill='%2310182a'/><rect x='2' y='3' width='1' height='1' fill='%232e9e5b'/><rect x='3' y='3' width='1' height='1' fill='%23ffd84a'/><rect x='4' y='3' width='2' height='1' fill='%232e9e5b'/><rect x='6' y='3' width='1' height='1' fill='%2310182a'/><rect x='2' y='4' width='1' height='1' fill='%2310182a'/><rect x='3' y='4' width='1' height='1' fill='%232e9e5b'/><rect x='4' y='4' width='1' height='1' fill='%23ffd84a'/><rect x='5' y='4' width='2' height='1' fill='%232e9e5b'/><rect x='7' y='4' width='1' height='1' fill='%2310182a'/><rect x='3' y='5' width='1' height='1' fill='%2310182a'/><rect x='4' y='5' width='1' height='1' fill='%232e9e5b'/><rect x='5' y='5' width='1' height='1' fill='%23ffd84a'/><rect x='6' y='5' width='2' height='1' fill='%232e9e5b'/><rect x='8' y='5' width='1' height='1' fill='%2310182a'/><rect x='4' y='6' width='1' height='1' fill='%2310182a'/><rect x='5' y='6' width='1' height='1' fill='%232e9e5b'/><rect x='6' y='6' width='1' height='1' fill='%23ffd84a'/><rect x='7' y='6' width='2' height='1' fill='%232e9e5b'/><rect x='9' y='6' width='1' height='1' fill='%2310182a'/><rect x='5' y='7' width='1' height='1' fill='%2310182a'/><rect x='6' y='7' width='1' height='1' fill='%232e9e5b'/><rect x='7' y='7' width='1' height='1' fill='%23ffd84a'/><rect x='8' y='7' width='2' height='1' fill='%232e9e5b'/><rect x='10' y='7' width='1' height='1' fill='%2310182a'/><rect x='6' y='8' width='1' height='1' fill='%2310182a'/><rect x='7' y='8' width='1' height='1' fill='%232e9e5b'/><rect x='8' y='8' width='1' height='1' fill='%23ffd84a'/><rect x='9' y='8' width='2' height='1' fill='%232e9e5b'/><rect x='11' y='8' width='1' height='1' fill='%2310182a'/><rect x='7' y='9' width='1' height='1' fill='%2310182a'/><rect x='8' y='9' width='1' height='1' fill='%232e9e5b'/><rect x='9' y='9' width='1' height='1' fill='%23ffd84a'/><rect x='10' y='9' width='2' height='1' fill='%232e9e5b'/><rect x='12' y='9' width='1' height='1' fill='%2310182a'/><rect x='8' y='10' width='1' height='1' fill='%2310182a'/><rect x='9' y='10' width='1' height='1' fill='%232e9e5b'/><rect x='10' y='10' width='1' height='1' fill='%23ffd84a'/><rect x='11' y='10' width='2' height='1' fill='%232e9e5b'/><rect x='13' y='10' width='1' height='1' fill='%2310182a'/><rect x='9' y='11' width='1' height='1' fill='%2310182a'/><rect x='10' y='11' width='2' height='1' fill='%232e9e5b'/><rect x='12' y='11' width='2' height='1' fill='%2310182a'/><rect x='8' y='12' width='2' height='1' fill='%2310182a'/><rect x='10' y='12' width='3' height='1' fill='%23ffd84a'/><rect x='13' y='12' width='2' height='1' fill='%2310182a'/><rect x='8' y='13' width='1' height='1' fill='%2310182a'/><rect x='9' y='13' width='1' height='1' fill='%23ffd84a'/><rect x='10' y='13' width='2' height='1' fill='%23fff1a8'/><rect x='12' y='13' width='2' height='1' fill='%23ffd84a'/><rect x='14' y='13' width='1' height='1' fill='%2310182a'/><rect x='8' y='14' width='1' height='1' fill='%2310182a'/><rect x='9' y='14' width='5' height='1' fill='%23ffd84a'/><rect x='14' y='14' width='1' height='1' fill='%2310182a'/><rect x='9' y='15' width='5' height='1' fill='%2310182a'/></svg>")}
.difficulty-impeachment{--diff:var(--diff-impeachment);--diff-bg:var(--diff-impeachment-bg);--diff-icon:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'><rect x='2' y='1' width='8' height='1' fill='%2310182a'/><rect x='1' y='2' width='1' height='1' fill='%2310182a'/><rect x='2' y='2' width='8' height='1' fill='%23ffd0a0'/><rect x='10' y='2' width='1' height='1' fill='%2310182a'/><rect x='1' y='3' width='1' height='1' fill='%2310182a'/><rect x='2' y='3' width='8' height='1' fill='%23ffa24a'/><rect x='10' y='3' width='1' height='1' fill='%2310182a'/><rect x='1' y='4' width='1' height='1' fill='%2310182a'/><rect x='2' y='4' width='8' height='1' fill='%23ffa24a'/><rect x='10' y='4' width='1' height='1' fill='%2310182a'/><rect x='1' y='5' width='1' height='1' fill='%2310182a'/><rect x='2' y='5' width='8' height='1' fill='%23ffa24a'/><rect x='10' y='5' width='1' height='1' fill='%2310182a'/><rect x='2' y='6' width='8' height='1' fill='%2310182a'/><rect x='10' y='6' width='1' height='1' fill='%238a4a1c'/><rect x='11' y='6' width='1' height='1' fill='%2310182a'/><rect x='9' y='7' width='1' height='1' fill='%2310182a'/><rect x='10' y='7' width='2' height='1' fill='%238a4a1c'/><rect x='12' y='7' width='1' height='1' fill='%2310182a'/><rect x='10' y='8' width='1' height='1' fill='%2310182a'/><rect x='11' y='8' width='2' height='1' fill='%238a4a1c'/><rect x='13' y='8' width='1' height='1' fill='%2310182a'/><rect x='11' y='9' width='1' height='1' fill='%2310182a'/><rect x='12' y='9' width='2' height='1' fill='%238a4a1c'/><rect x='14' y='9' width='1' height='1' fill='%2310182a'/><rect x='12' y='10' width='1' height='1' fill='%2310182a'/><rect x='13' y='10' width='1' height='1' fill='%238a4a1c'/><rect x='14' y='10' width='1' height='1' fill='%2310182a'/><rect x='13' y='11' width='1' height='1' fill='%2310182a'/><rect x='2' y='13' width='12' height='1' fill='%2310182a'/><rect x='1' y='14' width='1' height='1' fill='%2310182a'/><rect x='2' y='14' width='12' height='1' fill='%23ffd0a0'/><rect x='14' y='14' width='1' height='1' fill='%2310182a'/><rect x='1' y='15' width='14' height='1' fill='%2310182a'/></svg>")}
.difficulty-colapso{--diff:var(--diff-colapso);--diff-bg:var(--diff-colapso-bg);--diff-icon:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'><rect x='5' y='0' width='6' height='1' fill='%2310182a'/><rect x='3' y='1' width='2' height='1' fill='%2310182a'/><rect x='5' y='1' width='6' height='1' fill='%23ff5f5f'/><rect x='11' y='1' width='2' height='1' fill='%2310182a'/><rect x='2' y='2' width='1' height='1' fill='%2310182a'/><rect x='3' y='2' width='3' height='1' fill='%23ff5f5f'/><rect x='6' y='2' width='1' height='1' fill='%23ffb3b3'/><rect x='7' y='2' width='1' height='1' fill='%23fff1e8'/><rect x='8' y='2' width='1' height='1' fill='%23ffb3b3'/><rect x='9' y='2' width='4' height='1' fill='%23ff5f5f'/><rect x='13' y='2' width='1' height='1' fill='%2310182a'/><rect x='1' y='3' width='1' height='1' fill='%2310182a'/><rect x='2' y='3' width='5' height='1' fill='%23ff5f5f'/><rect x='7' y='3' width='1' height='1' fill='%23fff1e8'/><rect x='8' y='3' width='3' height='1' fill='%23ff5f5f'/><rect x='11' y='3' width='1' height='1' fill='%2310182a'/><rect x='12' y='3' width='2' height='1' fill='%23ff5f5f'/><rect x='14' y='3' width='1' height='1' fill='%2310182a'/><rect x='1' y='4' width='1' height='1' fill='%2310182a'/><rect x='2' y='4' width='5' height='1' fill='%23ff5f5f'/><rect x='7' y='4' width='1' height='1' fill='%23fff1e8'/><rect x='8' y='4' width='2' height='1' fill='%23ff5f5f'/><rect x='10' y='4' width='1' height='1' fill='%2310182a'/><rect x='11' y='4' width='3' height='1' fill='%23ff5f5f'/><rect x='14' y='4' width='1' height='1' fill='%2310182a'/><rect x='0' y='5' width='1' height='1' fill='%2310182a'/><rect x='1' y='5' width='6' height='1' fill='%23ff5f5f'/><rect x='7' y='5' width='1' height='1' fill='%23fff1e8'/><rect x='8' y='5' width='2' height='1' fill='%23ff5f5f'/><rect x='10' y='5' width='1' height='1' fill='%2310182a'/><rect x='11' y='5' width='4' height='1' fill='%23ff5f5f'/><rect x='15' y='5' width='1' height='1' fill='%2310182a'/><rect x='0' y='6' width='1' height='1' fill='%2310182a'/><rect x='1' y='6' width='1' height='1' fill='%23ff5f5f'/><rect x='2' y='6' width='1' height='1' fill='%23ffb3b3'/><rect x='3' y='6' width='4' height='1' fill='%23ff5f5f'/><rect x='7' y='6' width='1' height='1' fill='%23fff1e8'/><rect x='8' y='6' width='1' height='1' fill='%23ff5f5f'/><rect x='9' y='6' width='1' height='1' fill='%2310182a'/><rect x='10' y='6' width='3' height='1' fill='%23ff5f5f'/><rect x='13' y='6' width='1' height='1' fill='%23ffb3b3'/><rect x='14' y='6' width='1' height='1' fill='%23ff5f5f'/><rect x='15' y='6' width='1' height='1' fill='%2310182a'/><rect x='0' y='7' width='1' height='1' fill='%2310182a'/><rect x='1' y='7' width='6' height='1' fill='%23ff5f5f'/><rect x='7' y='7' width='3' height='1' fill='%23fff1e8'/><rect x='10' y='7' width='5' height='1' fill='%23ff5f5f'/><rect x='15' y='7' width='1' height='1' fill='%2310182a'/><rect x='0' y='8' width='1' height='1' fill='%2310182a'/><rect x='1' y='8' width='7' height='1' fill='%23ff5f5f'/><rect x='8' y='8' width='1' height='1' fill='%2310182a'/><rect x='9' y='8' width='6' height='1' fill='%23ff5f5f'/><rect x='15' y='8' width='1' height='1' fill='%2310182a'/><rect x='0' y='9' width='1' height='1' fill='%2310182a'/><rect x='1' y='9' width='1' height='1' fill='%23ff5f5f'/><rect x='2' y='9' width='1' height='1' fill='%23ffb3b3'/><rect x='3' y='9' width='4' height='1' fill='%23ff5f5f'/><rect x='7' y='9' width='1' height='1' fill='%2310182a'/><rect x='8' y='9' width='5' height='1' fill='%23ff5f5f'/><rect x='13' y='9' width='1' height='1' fill='%23ffb3b3'/><rect x='14' y='9' width='1' height='1' fill='%23ff5f5f'/><rect x='15' y='9' width='1' height='1' fill='%2310182a'/><rect x='0' y='10' width='1' height='1' fill='%2310182a'/><rect x='1' y='10' width='6' height='1' fill='%23ff5f5f'/><rect x='7' y='10' width='1' height='1' fill='%2310182a'/><rect x='8' y='10' width='7' height='1' fill='%23ff5f5f'/><rect x='15' y='10' width='1' height='1' fill='%2310182a'/><rect x='1' y='11' width='1' height='1' fill='%2310182a'/><rect x='2' y='11' width='4' height='1' fill='%23ff5f5f'/><rect x='6' y='11' width='1' height='1' fill='%2310182a'/><rect x='7' y='11' width='7' height='1' fill='%23ff5f5f'/><rect x='14' y='11' width='1' height='1' fill='%2310182a'/><rect x='1' y='12' width='1' height='1' fill='%2310182a'/><rect x='2' y='12' width='4' height='1' fill='%23ff5f5f'/><rect x='6' y='12' width='1' height='1' fill='%2310182a'/><rect x='7' y='12' width='7' height='1' fill='%23ff5f5f'/><rect x='14' y='12' width='1' height='1' fill='%2310182a'/><rect x='2' y='13' width='1' height='1' fill='%2310182a'/><rect x='3' y='13' width='5' height='1' fill='%23ff5f5f'/><rect x='8' y='13' width='1' height='1' fill='%23ffb3b3'/><rect x='9' y='13' width='4' height='1' fill='%23ff5f5f'/><rect x='13' y='13' width='1' height='1' fill='%2310182a'/><rect x='3' y='14' width='2' height='1' fill='%2310182a'/><rect x='5' y='14' width='6' height='1' fill='%23ff5f5f'/><rect x='11' y='14' width='2' height='1' fill='%2310182a'/><rect x='5' y='15' width='6' height='1' fill='%2310182a'/></svg>")}
#stage :is(.title-difficulty-options,.difficulty-options) [data-difficulty]{color:var(--diff);border-color:color-mix(in srgb,var(--diff) 45%,#24364d)}
#stage :is(.title-difficulty-options,.difficulty-options) [data-difficulty][aria-pressed=true]{color:#fff;border-color:var(--diff);background:var(--diff-bg);box-shadow:inset 0 -3px 0 color-mix(in srgb,var(--diff) 55%,transparent)}
#stage :is(.title-difficulty-options,.difficulty-options) [data-difficulty]::before,#stage .difficulty-chip::before,#stage .mh-diff-toggle::before{content:'';display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:var(--diff-icon) center/contain no-repeat;image-rendering:pixelated;flex:none}
#stage .difficulty-chip{color:var(--diff);border-color:var(--diff)}
#stage .difficulty-chip::before{width:11px;height:11px;margin-right:4px;vertical-align:-2px}
#stage .mh-diff-toggle{border-color:var(--diff)!important}
#stage .mh-diff-toggle strong{color:var(--diff)}
#root #stage .mobile-home .mh-diff-toggle{display:grid!important;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:8px;align-items:center}
#root #stage .mobile-home .mh-diff-toggle::before{grid-row:1/3;width:22px;height:22px;margin:0}
/* Pausa: cada dificuldade com ícone acima do nome. */
#stage .pause-diff [data-difficulty]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
#stage .pause-diff [data-difficulty]::before{width:20px;height:20px;margin:0}
/* Tela inicial e mapa: ícone numa coluna à esquerda do nome e do lema. */
#stage :is(.title-difficulty-options,.difficulty-picker .difficulty-options) [data-difficulty]{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:8px;align-items:center;text-align:left}
#stage :is(.title-difficulty-options,.difficulty-picker .difficulty-options) [data-difficulty]::before{grid-row:1/span 3;width:24px;height:24px;margin:0}
#stage :is(.title-difficulty-options,.difficulty-picker .difficulty-options) [data-difficulty]>:not(.difficulty-tip){grid-column:2}
#root #stage #overlay .pause-diff [data-difficulty][data-difficulty]{color:var(--diff);border-color:color-mix(in srgb,var(--diff) 45%,#24364d);background:#101a2d}
#root #stage #overlay .pause-diff [data-difficulty][data-difficulty][aria-pressed=true]{color:#fff;border-color:var(--diff);background:var(--diff-bg);box-shadow:inset 0 -3px 0 color-mix(in srgb,var(--diff) 55%,transparent)}
/* Pausa: reputação, popularidade e verba em cartões próprios, cada um na sua cor, com barra de preenchimento. */
#root #stage #overlay .pause-res{gap:8px;border:0;padding:6px 0}
#root #stage #overlay .pause-res>.res-card{position:relative;justify-items:start;align-content:center;gap:4px;padding:8px 10px 12px;border:2px solid color-mix(in srgb,var(--res) 70%,#24364d);background:color-mix(in srgb,var(--res) 12%,#0d1726);box-shadow:inset 0 -3px 0 color-mix(in srgb,var(--res) 35%,transparent);min-width:0}
#root #stage #overlay .pause-res>.res-health{--res:#ff8fb1}
#root #stage #overlay .pause-res>.res-funds{--res:#7fd3ff}
#root #stage #overlay .pause-res>.res-coins{--res:#ffd84a}
#root #stage #overlay .pause-res>.res-card dd{font-size:24px;line-height:1}
#root #stage #overlay .pause-res>.res-card[style*='--fill']::after{content:'';position:absolute;left:10px;right:10px;bottom:5px;height:4px;background:linear-gradient(90deg,var(--res) var(--fill),#ffffff1f var(--fill))}
/* Os cartões ficam no lugar de sempre (à direita do título): compactos, rótulo em cima e número embaixo. */
#root #stage #overlay .pause-res>.res-card{justify-items:center;padding:5px 6px 9px;gap:2px}
#root #stage #overlay .pause-res>.res-card dt{font-size:7px;gap:4px;white-space:nowrap}
#root #stage #overlay .pause-res>.res-card dd{font-size:20px}
#root #stage #overlay .pause-res>.res-card[style*='--fill']::after{left:6px;right:6px;bottom:4px;height:3px}
#root #stage #overlay .pause-clean .pause-res{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,.8fr)!important}
/* Celular deitado: a pausa inteira cabe sem rolar (cartões, dificuldades e ações mais baixos). */
@media (orientation:landscape) and (max-height:600px){
 #root #stage #overlay .pause-clean.pause-clean{row-gap:4px;padding-top:6px;padding-bottom:4px}
 #root #stage #overlay .pause-res>.res-card{padding:3px 6px 7px;gap:1px}
 #root #stage #overlay .pause-res>.res-card dd{font-size:18px}
 #root #stage #overlay .pause-diff [data-difficulty]{min-height:40px;padding:3px 4px;gap:2px}
 #root #stage #overlay .pause-diff [data-difficulty]::before{width:16px;height:16px}
 #root #stage #overlay .pause-main{gap:4px}
 #root #stage #overlay .pause-main :is(button,a){min-height:40px}
}
/* V416 · Cada dificuldade mostra os números reais (difficultyFacts) depois do nome e do lema, na tela inicial e no mapa. */
#stage :is(.title-difficulty-options,.difficulty-picker .difficulty-options) [data-difficulty] .difficulty-facts{order:9;display:block;margin-top:1px;font:15px/1.05 VT323,monospace;letter-spacing:0;text-transform:none;color:#ffe9a8}
#root #stage #overlay .map-difficulty-list .difficulty-options [data-difficulty]::before{grid-row:1/span 2}
#root #stage #overlay .map-difficulty-list .difficulty-options [data-difficulty] .difficulty-facts{grid-column:2;font-size:14px;color:#c8d6c8}
