.ku-presence {
  margin: 0;
  color: var(--muted, #a1b5b4);
  font: 11px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.ku-presence[hidden] { display: none; }
/* Shared presence stays secondary to the player's own profile. */
.profile-presence {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #465e4c18;
}
.profile-presence h3 {
  margin: 0 0 14px;
  color: #78877d;
  font: 400 11px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.profile-presence-facts { display: grid; gap: 12px; margin: 0; }
.profile-presence-facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 12px; line-height: 1.2; }
.profile-presence-facts dt { color: #78877d; }
.profile-presence-facts dd { margin: 0; color: #62746a; text-align: right; font-variant-numeric: tabular-nums; }
/* Keep the original compact tabs, including on the narrowest phones. */
@media (max-width: 360px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 4px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .site-header > .view-switch { justify-self: center; padding: 2px; }
  .site-header > .wordmark { min-width: 32px; }
  .view-switch button { min-width: 64px; }
  .site-header > .header-actions { gap: 4px; }
  .site-header .round { width: 36px; height: 40px; }
}
.ku-presence--practice {
  position: fixed;
  z-index: 20;
  top: calc(12px + env(safe-area-inset-top));
  left: max(44px, env(safe-area-inset-left));
  right: max(44px, env(safe-area-inset-right));
  pointer-events: none;
  color: #ccc;
  text-shadow: 0 1px 4px #000;
}
@media (max-width: 380px) { .ku-presence { font-size: 10px; } }
