/**
 * Arena Battle — legibilidade de diálogos, convites e mensagens (mantém o estilo pixel).
 */

#ab-dialog .modal-dialog,
#ab-challenge .modal-dialog {
  max-width: min(540px, 94vw);
}

#ab-dialog .modal-content,
#ab-challenge .modal-content {
  padding: 0.1rem 0.2rem 0.4rem;
}

#ab-dialog .modal-header,
#ab-challenge .modal-header {
  padding: 1rem 1.2rem 0.4rem;
}

#ab-dialog .modal-title,
#ab-challenge .modal-title {
  font-size: 1.4rem;
  line-height: 1.25;
  color: #1a1208;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

#ab-dialog .modal-body,
#ab-challenge .modal-body {
  font-family: "Segoe UI", "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.55;
  color: #1a1208;
  padding: 0.75rem 1rem 0.95rem;
  margin: 0 0.9rem;
  background: rgba(255, 251, 240, 0.78);
  border-radius: 10px;
  border: 2px solid rgba(36, 24, 15, 0.14);
}

#ab-dialog .modal-footer,
#ab-challenge .modal-footer {
  padding: 0.85rem 1.2rem 1.05rem;
  gap: 0.65rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

#ab-dialog .btn,
#ab-challenge .btn {
  font-size: 0.95rem;
  padding: 0.55rem 1.15rem;
  min-height: 2.75rem;
  line-height: 1.25;
}

#ab-dialog #ab-dialog-cancel,
#ab-challenge #ab-no {
  background: rgba(255, 255, 255, 0.62) !important;
  color: #1a1208 !important;
  border: 3px solid #24180f !important;
}

#ab-dialog #ab-dialog-ask {
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.55rem 0.85rem;
  margin: 0 1rem 0.55rem;
}

#ab-dialog + .modal-backdrop,
.modal-backdrop.show {
  opacity: 0.74;
}

.ab-scene-card p {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.55;
  color: #1a1208;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.ab-lobby-sub,
.ab-lobby-hint,
#ab-guest-wait {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.88);
  line-height: 1.5;
}

.ab-lobby-sub {
  font-size: 1.05rem;
}

.ab-lobby-hint,
#ab-guest-wait {
  font-size: 1.05rem;
}

.ab-lobby-timer {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.88);
}

.ab-person span,
.ab-person strong {
  font-size: 1rem;
  line-height: 1.35;
}

.ab-msg {
  font-size: 1rem;
  line-height: 1.45;
}

.ab-msg-head strong {
  font-size: 1.1rem;
}

.ab-msg-min {
  font-size: 0.85rem;
}

.ab-section {
  font-size: 0.88rem;
}

.ab-msg-muted,
.ab-msg-muted summary {
  font-size: 0.82rem;
  color: #dcc9a8 !important;
}

.ab-empty-hint {
  font-size: 0.95rem !important;
  color: #e8dcc8 !important;
  line-height: 1.45;
}

.ab-mini,
.ab-group-go {
  font-size: 0.78rem;
  padding: 0.32rem 0.6rem;
}

.ab-bubble {
  font-size: 1rem;
  line-height: 1.45;
}

.ab-bubble small {
  font-size: 0.78rem;
  opacity: 0.88;
}

.ab-bubble.theirs {
  color: #1a1208;
  font-weight: 500;
}

.ab-msg .text-muted,
.ab-msg-person .text-muted,
.ab-msg-person .small.text-muted {
  color: #dcc9a8 !important;
  font-size: 0.88rem;
}

.ab-wait {
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 500;
}

#ab-watch-bar {
  font-size: 0.95rem !important;
  line-height: 1.35;
  font-weight: 500;
}

#ab-watch-bar strong {
  font-weight: 700;
}

.ab-friend-form input,
.ab-compose input {
  font-size: 1rem;
}
