/* platform.html: index-home sidebar + hub iframe column */
body.platform-hub-body {
  overflow: hidden;
  height: 100vh;
}

.tg-index-root.shell--hub {
  display: flex;
  align-items: stretch;
  height: 100vh;
  overflow: hidden;
  min-height: 0;
}

.tg-index-root.shell--hub > .main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.hub-topbar-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hub-tb-primary {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.hub-tb-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  max-width: 280px;
}

.hub-tb-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 199, 44, 0.15);
  color: var(--gold);
  border: 1px solid rgba(255, 199, 44, 0.3);
}

/* Prefer index-home topbar look over platform-app.css */
.tg-index-root.shell--hub > .main > .topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 21, 48, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 199, 44, 0.15);
  height: var(--topbar-h);
  padding: 0 40px;
  gap: 24px;
}
