#what-is-pota {
  max-width: 72ch;
  margin: 1rem auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}
#what-is-pota h2 {
  margin-bottom: 1rem;
}
#what-is-pota p + p {
  margin-top: 1rem;
}
.my-pota {
  width: 100%;
  max-width: 800px;
  margin: 1rem auto;
}
.my-pota h2 {
  margin-bottom: 0.75rem;
}
.my-pota iframe {
  display: block;
  width: 100%;
  margin: 1.5rem 0;
  min-height: 800px;
}
.pota {
  width: 100%;
}
.pota > h2 {
  margin-bottom: 1rem;
}
.legend {
  max-width: 650px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-wrap: anywhere;
}
.card-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0.75rem;
}
.card-activator,
.card-reference {
  color: var(--icon-link);
  font-size: 1.05rem;
  font-weight: 700;
}
.card-info-row,
.card-state-row,
.card-frequency-row,
.card-utc-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
}
.pota-png {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.card-footer {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border-color);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
}
.legend .card {
  background: #edf1f8;
  font-size: 0.85rem;
}
.spinner img {
  width: 48px;
}
.rotate-center {
  animation: rotate-center 2s linear infinite;
}
@keyframes rotate-center {
  to {
    transform: rotate(360deg);
  }
}
#pota-status {
  margin-top: 1.5rem;
  color: var(--muted);
}
@media (max-width: 45rem) {
  .cards {
    grid-template-columns: 1fr;
  }
  .pota > h2 {
    font-size: 1.4rem;
  }
  .my-pota iframe {
    min-height: 800px;
  }
}
