/* Roster only. Shared navigation/footer retain their own styles. */
body.roster-page {
  --r-cyan: #62dff2;
  --r-purple: #ad8bfa;
  --r-gold: #f3d17b;
  --r-text: #f2f4ff;
  --r-muted: #a5afc9;
  --r-red: #ff718a;
  margin: 0;
  color: var(--r-text);
  background: #0a0d18;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  min-height: 100vh;
}
.roster-page .roster-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 15% 0, #25203b 0, transparent 48%), radial-gradient(ellipse at 95% 25%, #132734 0, transparent 45%);
  z-index: -1;
}
.roster-page .hero-roster > .container,
.roster-page .roster-section {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}
.roster-page .hero-roster { padding: 64px 0 36px; }
.roster-page .roster-title {
  font-family: 'Tektur', system-ui, sans-serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.roster-page .roster-subtitle { max-width: 64ch; margin: 0 auto; color: var(--r-muted); font-size: 1.05rem; line-height: 1.7; }
.roster-page .hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin: 26px 0 0; }
.roster-page .hero-stat { min-width: 0; }
.roster-page .hero-stat-value { color: var(--r-gold); font-size: 1.65rem; font-weight: 700; }
.roster-page .hero-stat-label { color: var(--r-muted); font-size: .8rem; }
.roster-page .related-teams { display: flex; justify-content: center; margin-top: 24px; }
.roster-page .related-team-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 16px; max-width: 100%; border: 1px solid #3b3d56; border-radius: 12px; background: #171c2d; padding: 12px 18px; color: #eee5fa; text-decoration: none; }
.roster-page .related-team-name { font-weight: 700; }
.roster-page .related-team-count { font-size: .85rem; color: #d5c8e6; }
.roster-page .related-team-accent { grid-column: 1/-1; color: var(--r-muted); font-size: .75rem; }
.roster-page .roster-section { padding-bottom: 80px; }
.roster-page .roster-controls { padding: 20px; border: 1px solid #30374e; border-radius: 18px; background: #121827; }
.roster-page .roster-controls-top { display: grid; grid-template-columns: minmax(0,1fr) auto 155px; align-items: center; gap: 16px; }
.roster-page .roster-search { position: relative; min-width: 0; }
.roster-page .roster-search .form-control,
.roster-page .roster-sort .form-select { min-height: 46px; background-color: #0b111e; border: 1px solid #38435e; border-radius: 10px; color: var(--r-text); font-size: .95rem; }
.roster-page .roster-search .form-control { padding-right: 40px; }
.roster-page .roster-search .form-control::placeholder { color: var(--r-muted); }
.roster-page .roster-search-icon { position: absolute; right: 15px; top: 14px; color: var(--r-muted); pointer-events: none; }
.roster-page .roster-toggles { display: flex; flex-wrap: wrap; gap: 14px; }
.roster-page .roster-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; color: #ced5e8; font-size: .9rem; cursor: pointer; }
.roster-page .roster-toggle input { width: 18px; height: 18px; accent-color: var(--r-cyan); }
.roster-page .roster-filters { margin-top: 16px; padding-top: 16px; border-top: 1px solid #293247; }
.roster-page .roster-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.roster-page .roster-chip { min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; background: #1b2335; color: #bfc9df; font-size: .85rem; font-weight: 600; }
.roster-page .roster-chip[aria-pressed=true] { border-color: #53b8c9; color: #a3f3ff; background: #16333e; }
.roster-page .roster-chip-count { margin-left: 6px; color: #dce7f4; font-size: .8rem; }
.roster-page .team-section,
.roster-page .roster-live-section { margin-top: 44px; }
.roster-page .team-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid #2d354b; font-family: 'Tektur', system-ui, sans-serif; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }
.roster-page .team-title-accent { color: var(--r-cyan); }
.roster-page .team-meta { color: var(--r-muted); font: 400 .85rem/1.5 'Space Grotesk',system-ui,sans-serif; }
.roster-page .roster-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,240px),1fr)); gap: 16px; align-items: stretch; }
.roster-page .team-section--communityLeadership .roster-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,250px),1fr)); gap: 18px; }
.roster-page .team-section--mainTeamPartners .roster-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,280px),1fr)); gap: 20px; }
.roster-page .roster-card { --card-accent: #83a8df; display: flex; flex-direction: column; min-width: 0; position: relative; padding: 18px; border: 1px solid #354159; border-radius: 16px; background: #141e30; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.roster-page .roster-card:hover { border-color: var(--card-accent); transform: translateY(-3px); box-shadow: 0 8px 24px #0003; }
.roster-page .roster-card-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.roster-page .roster-avatar { width: 54px; height: 54px; flex: 0 0 auto; overflow: hidden; border-radius: 16px; background: #293149; border: 2px solid #ffffff24; }
.roster-page .roster-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.roster-page .roster-titleline { flex: 1; min-width: 0; }
.roster-page .roster-name { color: var(--r-text); margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.35; overflow-wrap: anywhere; }
.roster-page .roster-subline { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 8px; }
.roster-page .roster-subline:empty { display: none; }
.roster-page .pill { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 8px; border: 1px solid #ffffff26; border-radius: 6px; color: #d2dcf1; background: #ffffff08; font-size: .78rem; line-height: 1.4; overflow-wrap: anywhere; }
.roster-page .pill-role { display: block; border: 0; padding: 0; background: none; color: #cfbdf5; font-size: .95rem; }
.roster-page .pill-designation { border-color: #ddba6555; background: #ddba6510; color: #f3d17b; }
.roster-page .pill-live { color: #ffb4c1; background: #ff567a12; border-color: #ff567a40; font-weight: 700; }
.roster-page .pill-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #ff718a; flex-shrink: 0; }
.roster-page .roster-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; margin-top: auto; }
.roster-page .roster-actions a { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; flex-shrink: 0; border: 1px solid #ffffff24; border-radius: 10px; background: #080e1b66; color: #d8e1f7; text-decoration: none; transition: background .18s ease,border-color .18s ease; }
.roster-page .roster-actions a:hover { background: #ffffff12; border-color: var(--card-accent); color: #fff; }
.roster-page .roster-actions a.action-primary { color: #e4eaff; border-color: #ffffff38; }
.roster-page .roster-card--communityLeadership { --card-accent: #b79aef; background: linear-gradient(160deg,#282240,#191a30); border-color: #655080; padding: 26px 20px 20px; }
.roster-page .roster-card--communityLeadership::before { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; background: #b497e1; border-radius: 0 0 4px 4px; }
.roster-page .roster-card--communityLeadership.roster-card--founder::before { background: var(--r-gold); }
.roster-page .roster-card--communityLeadership .roster-card-top { flex: 1; flex-direction: column; text-align: center; align-items: center; gap: 18px; }
.roster-page .roster-card--communityLeadership .roster-avatar { width: 92px; height: 92px; border-radius: 26px; border-color: #a488cb; box-shadow: 0 0 0 6px #b79aef0c; }
.roster-page .roster-card--communityLeadership .roster-name { font-family: 'Tektur',system-ui,sans-serif; font-size: 1.25rem; }
.roster-page .roster-card--communityLeadership .roster-titleline { width: 100%; flex: none; }
.roster-page .roster-card--communityLeadership .roster-subline { justify-content: center; }
.roster-page .roster-card--communityLeadership .pill-role { flex-basis: 100%; }
.roster-page .roster-card--communityLeadership .roster-actions { justify-content: center; border-top: 1px solid #b79aef22; margin-top: 22px; }
.roster-page .roster-card--mainTeamPartners { --card-accent: #e295cb; padding: 24px; background: linear-gradient(135deg,#34223e,#1e1b32); border-color: #76516f; }
.roster-page .roster-card--mainTeamPartners .roster-avatar { width: 78px; height: 78px; border-radius: 22px; border-color: #d68abd; }
.roster-page .roster-card--mainTeamPartners .roster-name { font-family: 'Tektur',system-ui,sans-serif; font-size: 1.25rem; }
.roster-page .roster-card--mainTeamPartners .roster-actions { padding-top: 20px; }
.roster-page .roster-card--mainTeamPartners .action-primary { padding-inline: 14px; background: #683d6e55; border-color: #d285b366; }
.roster-page .roster-card--mainTeamAffiliates { --card-accent: #72cabc; background: #12282c; border-color: #315351; }
.roster-page .roster-card--mainTeamAffiliates .roster-avatar { border-radius: 12px; border-color: #5b9c9466; }
.roster-page .roster-card--mainTeamMembers { --card-accent: #97b2e6; background: #1b233a; border-color: #3e4b6c; }
.roster-page .roster-card--mainTeamMembers .roster-avatar { border-radius: 50%; border-color: #91a9e155; }
.roster-page .roster-card--mainTeamMembers .roster-actions a { background: #222e49; }

/* Platform-filtered views use one compact card presentation for every member.
   A member's leadership role remains in the identity data, but it must not
   pull the full leadership showcase card into this grid. */
.roster-page .roster-card--velora,
.roster-page .roster-card--vpzone,
.roster-page .roster-card--results {
  --card-accent: #71d8e2;
  height: 252px;
  align-self: start;
  padding: 18px;
  background: #152631;
  border-color: #35626a;
}

.roster-page .roster-card--velora .roster-avatar,
.roster-page .roster-card--vpzone .roster-avatar,
.roster-page .roster-card--results .roster-avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  border-color: #5aaab1;
}

.roster-page .roster-card--velora .roster-name,
.roster-page .roster-card--vpzone .roster-name,
.roster-page .roster-card--results .roster-name {
  font-family: 'Tektur', system-ui, sans-serif;
  font-size: 1.08rem;
}

.roster-page .roster-card--velora .roster-actions,
.roster-page .roster-card--vpzone .roster-actions,
.roster-page .roster-card--results .roster-actions {
  padding-top: 16px;
}
.roster-page .roster-live-section { padding: 24px; border: 1px solid #59404e; border-radius: 20px; background: #1d192666; }
.roster-page .roster-live-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.roster-page .roster-live-heading .team-title { border: 0; padding: 0; margin: 0; }
.roster-page .roster-live-eyebrow { color: #ff97ab; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 6px; }
.roster-page .roster-live-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,275px),1fr)); gap: 14px; }
.roster-page .roster-live-card { background: #191d30; border-color: #544052; }
.roster-page .pill-live-platform { color: #ffb4c1; border-color: #a9586b; font-size: .7rem; font-weight: 700; }
.roster-page .pill-live-platform--velora { color: #debdff; border-color: #7c629c; }
.roster-page .pill-live-platform--kick { color: #b4eda3; border-color: #63885b; }
.roster-page .roster-live-card .pill-category { padding: 0; border: 0; background: none; color: #b7c1d9; }
.roster-page .roster-stream-title { margin: 12px 0 0; color: #cbd3e5; font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
.roster-page .roster-section-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0 0; color: var(--r-muted); font-size: .85rem; }
.roster-page .roster-section-toggle { min-height: 44px; border: 1px solid #4a6079; border-radius: 10px; padding: 10px 16px; color: #caeff8; background: #182838; font: 600 .9rem/1.4 'Space Grotesk',system-ui,sans-serif; cursor: pointer; }
.roster-page .roster-section-toggle i { margin-left: 8px; }
.roster-page .roster-empty,
.roster-page .roster-live-loading { grid-column: 1/-1; padding: 24px; color: #c4ccdf; border: 1px dashed #536077; border-radius: 12px; text-align: center; }
.roster-page .loading-indicator { margin: 30px 0; }
.roster-page .roster-section :is(a,button,input,select):focus-visible,
.roster-page .related-team-card:focus-visible { outline: 2px solid #92edff; outline-offset: 4px; }
@media (max-width: 1023px) {
  .roster-page .roster-controls-top { grid-template-columns: minmax(0,1fr) 155px; }
  .roster-page .roster-toggles { grid-row: 2; grid-column: 1/-1; }
}
@media (max-width: 575.98px) {
  .roster-page .hero-roster { padding: 36px 0 28px; }
  .roster-page .roster-subtitle { font-size: .95rem; line-height: 1.6; }
  .roster-page .hero-stats { gap: 20px; }
  .roster-page .hero-stat-value { font-size: 1.4rem; }
  .roster-page .hero-stat-label { font-size: .7rem; }
  .roster-page .roster-controls { padding: 14px; }
  .roster-page .roster-controls-top { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .roster-page .roster-toggles { grid-row: auto; grid-column: auto; }
  .roster-page .roster-chip { font-size: .8rem; white-space: normal; }
  .roster-page .team-section,
  .roster-page .roster-live-section { margin-top: 30px; }
  .roster-page .roster-live-section { padding: 14px; }
  .roster-page .roster-card--mainTeamPartners { padding: 20px; }
  .roster-page .roster-card--mainTeamPartners .roster-avatar { width: 64px; height: 64px; }
  .roster-page .roster-card--mainTeamPartners .roster-name { font-size: 1.15rem; }
  .roster-page .roster-card--communityLeadership { padding: 22px 20px 18px; }
  .roster-page .roster-card--communityLeadership .roster-card-top { flex-direction: row; text-align: left; gap: 16px; }
  .roster-page .roster-card--communityLeadership .roster-avatar { width: 72px; height: 72px; border-radius: 20px; }
  .roster-page .roster-card--communityLeadership .roster-titleline { flex: 1; width: auto; }
  .roster-page .roster-card--communityLeadership .roster-name { font-size: 1.15rem; }
  .roster-page .roster-card--communityLeadership .roster-subline,
  .roster-page .roster-card--communityLeadership .roster-actions { justify-content: flex-start; }
  .roster-page .roster-card--velora,
  .roster-page .roster-card--vpzone,
  .roster-page .roster-card--results { height: auto; min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .roster-page *, .roster-page *::before, .roster-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .roster-page .roster-card:hover { transform: none; }
}
