/* GATOR COMMANDER LAB — BATTLE REPORTS V2 */

.gator-report-btn {
  display: block;
  margin-top: 8px;
  padding: 7px 10px;
  border: 1px solid #268c80;
  border-radius: 7px;
  color: #6ee7d4;
  background: rgba(20,184,166,.09);
  font-size: 12px;
  cursor: pointer;
}

.gator-report-btn:hover {
  background: rgba(20,184,166,.22);
}

#gatorBattleReport {
  margin: 18px 0;
  scroll-margin-top: 25px;
}

#gatorBattleReport[hidden] {
  display: none !important;
}

.gator-report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.gator-report-header h3 {
  margin: 0;
}

.gator-report-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gator-report-actions button {
  padding: 9px 14px;
  background: #126b60;
  color: white;
  border: 1px solid #36a889;
  border-radius: 8px;
  cursor: pointer;
}

.gator-report-section {
  background: rgba(110,130,150,.055);
  border: 1px solid rgba(130,150,170,.22);
  border-radius: 11px;
  padding: 16px;
  margin: 16px 0;
}

.gator-report-section h4 {
  margin: 0 0 13px;
  font-size: 16px;
}

.gator-report-section p {
  line-height: 1.65;
}

.gator-damage-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid rgba(130,150,170,.18);
  padding: 10px 0;
  font-size: 13px;
}

.gator-damage-row:last-child {
  border-bottom: 0;
}

.gator-moment-list {
  padding-left: 23px;
  margin: 0;
}

.gator-moment-list li {
  margin-bottom: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#gatorBattleReport pre {
  background: rgba(0,0,0,.25);
  border-radius: 8px;
  padding: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 420px;
  overflow-y: auto;
  font-size: 12px;
}

#gatorBattleReport summary {
  cursor: pointer;
  padding: 10px 0;
}

.gator-report-muted {
  opacity: .75;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .gator-report-section {
    padding: 12px;
  }

  .gator-damage-row {
    flex-direction: column;
    gap: 4px;
  }

  .gator-report-actions {
    width: 100%;
  }

  .gator-report-actions button {
    flex: 1;
    min-height: 44px;
  }
}
