/* OS tab panels — macOS / Linux / Windows */
.os-tabs {
  margin: 12px 0 16px;
}
.os-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.os-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.os-tab-btn:hover {
  color: var(--text);
  background: var(--bg-code);
}
.os-tab-btn[aria-selected="true"] {
  color: var(--accent);
  background: var(--accent-glow, rgba(192, 76, 76, 0.12));
  border-color: var(--border);
}
.os-tab-btn i {
  font-size: 14px;
  width: 1em;
  text-align: center;
}
.os-tab-panel {
  display: none;
}
.os-tab-panel.is-active {
  display: block;
}
.os-tab-panel > *:first-child {
  margin-top: 0;
}
.os-tab-panel > *:last-child {
  margin-bottom: 0;
}

/* Hero / inline platform chips (icon + OS name, like guide tabs) */
.platform-icons,
.hero-platforms {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.platform-chip i {
  font-size: 16px;
  opacity: 0.55;
}
.hero-platforms .platform-chip i {
  font-size: 18px;
}
.platform-sep {
  color: var(--text-muted);
  opacity: 0.45;
  font-weight: 500;
  user-select: none;
}
