#mp-abrir { margin-left: 8px; }
[hidden] { display: none !important; }
.mp-painel { margin: 18px auto 0; padding: 18px; max-width: 660px; border: 1px solid #9a7d5670; background: #131109ed; text-align: left; color: #e8dcc4; }
.mp-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.mp-topo strong { font-family: Cinzel, serif; color: #f6c324; }
.mp-topo span, .mp-regras { font-size: 13px; color: #c7bca7; }
.mp-acoes { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mp-acoes .tela-btn { padding: 10px 14px; margin: 0; font-size: 12px; }
.mp-label { font-size: 13px; margin-left: auto; }
#mp-entrada { width: 92px; min-height: 42px; border: 1px solid #9a7d56; background: #131109; color: #e8dcc4; font: 18px Cinzel, serif; text-transform: uppercase; text-align: center; letter-spacing: 2px; border-radius: 0; }
.mp-convite { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
#mp-codigo { font-family: Cinzel, serif; color: #f6c324; font-size: 20px; letter-spacing: 3px; margin-left: 8px; }
.mp-convite button { background: transparent; color: #e8dcc4; font: 13px Cinzel, serif; border: 1px solid #9a7d5680; min-height: 40px; padding: 7px 10px; cursor: pointer; }
.mp-painel button:disabled { opacity: .45; cursor: default; }
.mp-painel :focus-visible { outline: 2px solid #f6c324; outline-offset: 3px; }
#mp-status { min-height: 1.4em; font-size: 15px; margin: 12px 0 4px; }
.mp-regras { margin: 0; line-height: 1.5; }
.em-coop .sel-coop, .em-coop .hub-unlocks { display: none; }
.em-coop .sel-card:disabled { opacity: .48; cursor: default; }
.mp-hud { position: fixed; z-index: 8; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; padding: 6px 12px; background: #131109dd; border: 1px solid #9a7d5660; color: #e8dcc4; font: 12px Cinzel, serif; pointer-events: none; max-width: 80vw; text-align: center; }
#mp-condicao { font-family: 'EB Garamond', serif; font-size: 16px; color: #f6c324; }
.coop-visitante #tela-rot-escolha .rot-sub::after, .coop-visitante #tela-boon .rot-sub::after { content: ' O anfitrião escolhe para a dupla.'; }
@media (orientation: landscape) and (max-height: 500px) {
  .em-coop.com-toque .hud-heroi { left: 50%; bottom: 10px; transform: translateX(-50%); width: 38vw; max-width: 320px; padding: 9px 12px; gap: 4px; }
  .em-coop.com-toque .hud-heroi-nome { font-size: 9px; letter-spacing: .04em; }
  .em-coop.com-toque .estado-fogo { font-size: 10px; min-height: 0; margin: 2px 0; }
  .em-coop.com-toque .hud-cds { margin-top: 3px; gap: 10px; }
  .em-coop.com-toque .cd-tecla { display: none; }
  .em-coop.com-toque .cd-rotulo, .em-coop.com-toque .cd::after { font-size: 8px; }
  .em-coop.com-toque .hud-sala { top: 10px; left: 12px; width: 170px; padding: 9px; }
  .em-coop.com-toque .hud-sala-lbl { padding-top: 5px; }
  .em-coop.com-toque .hud-sala-objetivo { font-size: 11px; }
  .em-coop.com-toque .hud-aliado { top: 68px; right: 12px; bottom: auto; width: 170px; padding: 9px; }
  .em-coop.com-toque .toque-zona-mov { bottom: 15px; height: 125px; width: 24vw; }
  .em-coop.com-toque .toque-joy-base { bottom: 0; left: 18px; width: 108px; height: 108px; }
  .em-coop.com-toque .toque-zona-acao { bottom: 15px; right: 14px; grid-template-columns: repeat(2, 58px); gap: 9px; }
  .em-coop.com-toque .toque-btn { width: 58px; height: 58px; font-size: 8px; }
  .em-coop.com-toque .mp-hud { bottom: auto; top: 8px; font-size: 9px; padding: 3px 8px; }
  .em-coop.com-toque .hud-boss { top: 38px; width: 36vw; }
  .em-coop.com-toque .hud-boss-nome { font-size: 12px; margin-bottom: 5px; }
  .em-coop.com-toque .boss-bark { top: 140px; max-width: 42vw; font-size: 11px; letter-spacing: .04em; }
}
@media (max-width: 600px) {
  .mp-painel { padding: 12px; }
  .mp-acoes { gap: 7px; }
  .mp-label { width: 100%; margin: 5px 0 0; }
  .mp-topo { gap: 4px; }
  .mp-hud { bottom: auto; top: 68px; left: auto; right: 12px; transform: none; font-size: 10px; max-width: min(140px, 40vw); }
  #mp-condicao { font-size: 13px; }
}
