.bluemap-status {
  --bluemap-status-color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  margin-bottom: 24px;
  padding: 15px 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  background: #1b232d;
  color: #a8b1c2;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bluemap-status:hover {
  border-color: var(--bluemap-status-color);
  background: #202a35;
  color: #c3ccda;
}

.bluemap-status:focus-visible {
  outline: 2px solid var(--bluemap-status-color);
  outline-offset: 3px;
}

.bluemap-status-healthy {
  --bluemap-status-color: #20c267;
}

.bluemap-status-warning {
  --bluemap-status-color: #f4b740;
}

.bluemap-status-stale,
.bluemap-status-failed {
  --bluemap-status-color: #ef5f5f;
}

.bluemap-status-summary {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.bluemap-status-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
  background: var(--bluemap-status-color);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--bluemap-status-color) 14%, transparent);
}

.bluemap-status-name,
.bluemap-status-label {
  display: block;
}

.bluemap-status-name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.bluemap-status-label {
  margin-top: 3px;
  color: var(--bluemap-status-color);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.bluemap-status-details {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 4px 22px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
}

.bluemap-status-details time,
.bluemap-status-details strong {
  color: #ffffff;
  font-weight: 600;
}

.bluemap-status-separator {
  margin-inline: 7px;
  color: #64748b;
}

.bluemap-status-link-icon {
  flex: 0 0 auto;
  color: var(--bluemap-status-color);
  font-size: 21px;
}

.minecraft-map-frame {
  width: 100%;
  height: clamp(420px, calc(100vh - 300px), 980px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #0b1118;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.minecraft-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

@supports (height: 100dvh) {
  .minecraft-map-frame {
    height: clamp(420px, calc(100dvh - 300px), 980px);
  }
}

@media only screen and (max-width: 767.98px) {
  .bluemap-status {
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }

  .bluemap-status-details {
    display: grid;
    gap: 5px;
  }

  .bluemap-status-link-icon {
    margin-left: auto;
  }
}
