.flag-us { background-image: url('/static/flags/us.svg'); }

.status-meta .status-details {
  display: grid;
  gap: 3px;
}

.status-details small {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.status-details small > span { color: var(--muted); }
.status-details small > strong { color: #d8e3e1; font-size: inherit; font-weight: 650; }

/* The same compact metric table on phones and desktops. */
@media (min-width: 0px) {
  .status-page { padding-top: 30px; }
  .status-page h1 { margin-bottom: 9px; font-size: 30px; }
  .status-intro { max-width: 330px; font-size: 12px; line-height: 1.5; }
  .status-page .status-stack { gap: 8px; margin-top: 16px; }
  .status-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 8px;
    width: 100%;
    padding: 13px;
  }
  .status-row > div { min-width: 0; }
  .status-node { gap: 9px !important; }
  .node-flag { width: 44px; height: 32px; flex: 0 0 44px; }
  .node-flag .country-flag { width: 31px; height: 21px; }
  .status-node strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .status-node small { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .status-meta { display: contents !important; }
  .status-meta .node-state { grid-column: 2; grid-row: 1; align-self: center; margin: 0; padding: 5px 8px; font-size: 9px; }
  .status-meta .status-details {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    gap: 0;
    padding: 8px 10px;
    border: 1px solid rgba(74,121,132,.28);
    border-radius: 10px;
    background: rgba(4,11,14,.28);
  }
  .status-details small {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 4px 0;
    text-align: left;
  }
  .status-details small + small { border-top: 1px solid rgba(74,121,132,.16); }
  .status-details small > strong { overflow: hidden; max-width: 160px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
  .status-page + .site-footer { margin-top: 0; }
}

@media (min-width: 760px) {
  .status-page { padding-top: 42px; }
  .status-page h1 { font-size: 38px; }
  .status-intro { max-width: 650px; font-size: 14px; }
  .status-page .status-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 24px; }
  .status-row { padding: 18px; gap: 16px 12px; }
  .status-node strong { font-size: 15px; }
  .status-node small { font-size: 12px; }
  .status-meta .node-state { font-size: 10px; }
  .status-details small { font-size: 12px; padding: 7px 0; }
}
