body {
  margin: 0;
  padding: 0;
  background-color: #f1f1f1 !important;
}

/* CALCULATORS bar !!!!! */
.hdr6 {
  padding-right: 22px !important;
}

.titli_pw {
  margin: 8px 0 16px;
}

.titli_pw h1 {
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  text-shadow: 1px 1px 1px white;
  filter: drop-shadow(4px 4px 10px #057);
  padding: 0 4px;
}

.titli_pw img {
  filter: drop-shadow(1px 1px 1px black);
}


.ttle {
  display: flex;
  flex-wrap: wrap;
}

.ttle .l2 {
  display: flex;
  place-items: center;
  justify-content: center;
}

.ttle .l10 {
  display: flex;
  place-items: center;
  justify-content: center;
}

.ttle h3 {
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  text-shadow: #057 0 0 16px;
}

.image-iframe {
  max-width: 80px;
  height: auto;
  filter: drop-shadow(1px 1px 1px #666);
}

/* ---end title--- */
h2 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
}

h4 {
  font-weight: 600;
}

#blastForm .row {
  padding: 8px 0 8px 8px !important;
}

#blastForm .radii {
  padding: 16px;
}


#airModeNote {
  /* color: #067; */
  padding-left: 16px;
  padding-top: 8px;
  display: inline-block;
  font-size: 12px;
}

.radio_blk,
.blk {
  background-color: #0671;
}

.radio_blk label .radio {
  margin-bottom: 16px;
}

i.bar {
  font-size: 12px;
}

.button {
  background-color: #057 !important;
  color: azure;
  padding: 16px;
  margin: 8px;
}

.image {
  filter: drop-shadow(4px 4px 8px #067);
}

.flex-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0;
}

.stat-card {
  background: white;
  border-radius: 24px;
  padding: 12px 20px;
  flex: 1;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  border: 1px solid #e0d9ce;
}

.damage-spoiler {
  margin-top: 28px;
  border-top: 2px dashed #d9cbb8;
  padding-top: 18px;
}

.buildings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.building-card {
  background: #ffffffdb;
  /* border-radius: 20px; */
  padding: 10px 16px 16px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e3d5c0;
}

.building-card h4 {
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
}

.badge {
  display: inline-block;
  background: #b34e4e20;
  border-radius: 40px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #892e2e;
}

.mode-badge {

  font-weight: 500;
  display: inline-block;
}

/* Стилі для порівняльної таблиці */
.drone-table-wrapper {
  overflow-x: auto;
  margin: 32px 0 16px;
  border: 1px solid #e2d9ce;
  background: #ffffff;
}

.drone-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 800px;
}

.drone-table th {
  background: #057;
  color: white;
  padding: 14px 12px;
  font-weight: 600;
  text-align: center;
  border: 1px solid #3e5941;
}

.drone-table td {
  padding: 12px 10px;
  border: 1px solid #e0d7cc;
  vertical-align: top;
  background: #fefcf8;
}

.drone-table tr:nth-child(even) td {
  background: #f9f6ef;
}

.drone-table strong {
  color: #b34e4e;
}

.table-caption {
  margin-top: 6px;
  font-size: 0.8rem;
  text-align: right;
  color: #5b5a55;
}

hr {
  margin: 24px 0;
  border: none;
  height: 1px;
  background: linear-gradient(to right, #e2d9cf, transparent);
}