.ecgc-live-section,
.ecgc-milestones {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  margin: 72px auto;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(124, 47, 255, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(16, 16, 26, 0.96), rgba(7, 7, 12, 0.96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38), 0 0 80px rgba(255, 45, 138, 0.05);
}

.ecgc-live-section > h2,
.ecgc-milestones > h2 {
  margin: 8px 0 10px;
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.95;
}

.ecgc-live-intro {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--muted);
  line-height: 1.7;
}

.ecgc-live-grid,
.ecgc-milestone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ecgc-live-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 760px);
}

.ecgc-live-card,
.ecgc-milestone-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--hot-pink);
  border-radius: 5px;
  background: rgba(4, 4, 6, 0.78);
  box-shadow: -5px 0 28px rgba(255, 45, 138, 0.12);
}

.ecgc-live-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050508;
}

.ecgc-live-media.is-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.ecgc-live-media img,
.ecgc-live-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecgc-live-copy {
  padding: 22px;
}

.ecgc-live-copy h3,
.ecgc-milestone-card h3 {
  margin: 10px 0 8px;
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 30px;
  line-height: 1;
}

.ecgc-live-copy p,
.ecgc-milestone-card p {
  color: var(--muted);
  line-height: 1.65;
}

.ecgc-live-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

.ecgc-live-type {
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--lime);
  color: #040406;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ecgc-report-button {
  margin-top: 18px;
  color: var(--hot-pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ecgc-report-button:hover,
.ecgc-report-button:focus-visible {
  text-decoration: underline;
}

.ecgc-milestone-card {
  padding: 22px;
  border-left-color: var(--electric);
  box-shadow: -5px 0 28px rgba(0, 212, 255, 0.1);
}

.ecgc-milestone-card time {
  color: var(--electric);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ecgc-report-dialog {
  width: min(560px, calc(100% - 32px));
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 45, 138, 0.36);
  border-radius: 8px;
  color: var(--white);
  background: #0a0a10;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 60px rgba(255, 45, 138, 0.15);
}

.ecgc-report-dialog::backdrop {
  background: rgba(4, 4, 6, 0.82);
  backdrop-filter: blur(8px);
}

.ecgc-report-dialog form {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.ecgc-report-dialog h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 42px;
  line-height: 1;
}

.ecgc-report-copy,
.ecgc-report-auth,
.ecgc-report-status {
  color: var(--muted);
  line-height: 1.55;
}

.ecgc-report-dialog label {
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ecgc-report-dialog textarea {
  display: block;
  width: 100%;
  min-height: 130px;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--white);
  background: #10101a;
  resize: vertical;
}

.ecgc-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ecgc-report-submit,
.ecgc-report-signin,
.ecgc-report-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ecgc-report-submit,
.ecgc-report-signin {
  color: white;
  background: linear-gradient(135deg, var(--hot-pink), var(--purple));
}

.ecgc-report-close {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: transparent;
}

.ecgc-leaderboard-live,
.ecgc-commands-live,
.ecgc-policy-live {
  width: min(1120px, calc(100% - 32px));
  margin: 42px auto 80px;
}

.ecgc-ranking-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 190px));
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.ecgc-ranking-tabs button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #8e8ba7;
  background: #07070c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  cursor: pointer;
}

.ecgc-ranking-tabs button.is-active {
  border-color: var(--hot-pink);
  color: white;
  background: linear-gradient(135deg, var(--hot-pink), var(--purple));
  box-shadow: 0 0 30px rgba(255, 45, 138, 0.24);
}

.ecgc-ranking-list,
.ecgc-hall-live {
  display: grid;
  gap: 10px;
}

.ecgc-ranking-row {
  display: grid;
  grid-template-columns: 54px 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--hot-pink);
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(255, 45, 138, 0.08), rgba(8, 8, 14, 0.96) 30%);
}

.ecgc-ranking-row:nth-child(2) { border-left-color: var(--purple); }
.ecgc-ranking-row:nth-child(3) { border-left-color: var(--lime); }

.ecgc-ranking-row img,
.ecgc-ranking-avatar {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  object-fit: cover;
}

.ecgc-ranking-avatar {
  display: grid;
  place-items: center;
  color: #050508;
  background: var(--lime);
  font-weight: 900;
}

.ecgc-ranking-position,
.ecgc-ranking-value {
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
}

.ecgc-ranking-value { color: var(--lime); }

.ecgc-ranking-identity {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ecgc-ranking-identity strong {
  overflow: hidden;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ecgc-ranking-identity span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ecgc-ranking-empty,
.ecgc-hall-live {
  padding: 42px 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 5px;
  color: var(--muted);
  background: #08080e;
  text-align: center;
}

.ecgc-ranking-empty strong,
.ecgc-hall-live > strong {
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 30px;
}

.ecgc-hall-live {
  padding: 18px;
  text-align: left;
}

.ecgc-hall-title {
  display: block;
  margin: 4px 0 14px;
  color: var(--lime) !important;
  text-align: center;
}

.ecgc-hall-list { display: grid; gap: 10px; }

.ecgc-hall-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.ecgc-hall-dots button {
  width: 28px;
  height: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 99px;
  color: transparent;
  background: rgba(255,255,255,.16);
  cursor: pointer;
}

.ecgc-hall-dots button.is-active { background: var(--hot-pink); }

.ecgc-hall-podium {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 16px;
  min-height: 360px;
  padding: 48px 12px 8px;
}

.ecgc-podium-card {
  position: relative;
  display: flex;
  flex: 1 1 0;
  max-width: 300px;
  min-height: 238px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 20px 24px;
  border: 1px solid rgba(255,255,255,.11);
  border-top: 3px solid var(--purple);
  border-radius: 6px;
  background: linear-gradient(to top, rgba(124,47,255,.12), #09090f 62%);
  text-align: center;
}

.ecgc-podium-card.is-rank-1 { min-height: 315px; border-top-color: var(--hot-pink); background: linear-gradient(to top, rgba(255,45,138,.17), #09090f 66%); box-shadow: 0 0 45px rgba(255,45,138,.13); }
.ecgc-podium-card.is-rank-3 { min-height: 210px; border-top-color: var(--lime); background: linear-gradient(to top, rgba(184,255,44,.09), #09090f 62%); }
.ecgc-podium-rank { position: absolute; top: -25px; display: grid; width: 52px; height: 52px; place-items: center; border-radius: 4px; color: white; background: var(--purple); font: 25px "Bebas Neue",sans-serif; }
.is-rank-1 .ecgc-podium-rank { top: -33px; width: 66px; height: 66px; background: var(--hot-pink); }
.is-rank-3 .ecgc-podium-rank { color: #050508; background: var(--lime); }
.ecgc-podium-card img,.ecgc-podium-avatar { width: 76px; height: 76px; border: 2px solid rgba(255,255,255,.3); border-radius: 50%; object-fit: cover; }
.ecgc-podium-avatar { display:grid;place-items:center;color:#050508;background:var(--lime);font-size:30px;font-weight:900; }
.ecgc-podium-name { max-width:100%;overflow:hidden;color:white;font:clamp(24px,3vw,34px) "Bebas Neue",sans-serif;text-overflow:ellipsis;white-space:nowrap; }
.ecgc-podium-subtitle { padding:5px 10px;background:#171720;color:var(--muted);font-size:11px;font-weight:900;letter-spacing:.08em; }
.ecgc-podium-value { color:var(--lime);font-size:14px; }

.ecgc-command-access {
  margin: 0 0 62px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 3px solid var(--hot-pink);
  border-radius: 6px;
  background: radial-gradient(circle at 100% 0, rgba(255, 45, 138, 0.11), transparent 30%), #08080d;
}

.ecgc-command-search {
  position: sticky;
  top: 78px;
  z-index: 40;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(255,45,138,.32);
  border-left: 4px solid var(--hot-pink);
  border-radius: 5px;
  background: rgba(7,7,12,.96);
  backdrop-filter: blur(14px);
}

.ecgc-command-search span {
  color: var(--hot-pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.ecgc-command-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 3px;
  outline: none;
  color: var(--white);
  background: #10101a;
}

.ecgc-command-search input:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(0,212,255,.12); }

.ecgc-live-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ecgc-live-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--electric);
  border-radius: 3px;
  color: var(--electric);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-decoration: none;
}

.ecgc-live-link:hover,
.ecgc-live-link:focus-visible { color: #050508; background: var(--electric); }

.ecgc-command-access.is-staff {
  border-top-color: var(--lime);
  background: radial-gradient(circle at 100% 0, rgba(184, 255, 44, 0.1), transparent 30%), #08080d;
}

.ecgc-command-access > h2,
.ecgc-policy-card h2 {
  margin: 8px 0 12px;
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1;
}

.ecgc-command-category {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  background: rgba(3, 3, 6, 0.75);
}

.ecgc-command-category summary {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  color: var(--white);
  cursor: pointer;
}

.ecgc-command-emoji { font-size: 20px; }

.ecgc-command-count {
  min-width: 28px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #050508;
  background: var(--lime);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.ecgc-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.ecgc-command-item {
  min-height: 94px;
  padding: 16px;
  background: #09090f;
}

.ecgc-command-item code {
  color: var(--electric);
  font-weight: 900;
}

.ecgc-command-item p,
.ecgc-command-empty,
.ecgc-policy-card p,
.ecgc-policy-intro p,
.ecgc-policy-disclaimer p {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.65;
}

.ecgc-policy-intro {
  margin-bottom: 24px;
  padding: 20px 22px;
  border-left: 3px solid var(--lime);
  background: rgba(184, 255, 44, 0.05);
}

.ecgc-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ecgc-policy-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(15, 15, 24, 0.98), rgba(6, 6, 10, 0.98));
}

.ecgc-policy-card h2 {
  font-size: 29px;
}

.ecgc-policy-disclaimer {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 45, 138, 0.2);
  border-left: 3px solid var(--hot-pink);
  background: rgba(255, 45, 138, 0.04);
}

.ecgc-policy-disclaimer strong { color: var(--white); }

.ecgc-directory-live {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 86px;
}

.ecgc-directory-live > h2 {
  margin: 8px 0 10px;
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(44px, 7vw, 74px);
  line-height: 0.95;
}

.ecgc-role-grid,
.ecgc-staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ecgc-role-card,
.ecgc-staff-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 3px solid var(--ecgc-role-color, var(--hot-pink));
  border-radius: 6px;
  background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--ecgc-role-color, var(--hot-pink)) 16%, transparent), transparent 40%), #09090f;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.ecgc-role-card { padding: 22px; }

.ecgc-role-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ecgc-role-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ecgc-role-color, var(--hot-pink));
  box-shadow: 0 0 20px var(--ecgc-role-color, var(--hot-pink));
}

.ecgc-role-count,
.ecgc-staff-role {
  color: var(--ecgc-role-color, var(--hot-pink));
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ecgc-role-card h3,
.ecgc-staff-card h3 {
  margin: 24px 0 8px;
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 34px;
  line-height: 1;
}

.ecgc-role-card p,
.ecgc-staff-card p,
.ecgc-role-how span,
.ecgc-directory-empty {
  color: var(--muted);
  line-height: 1.6;
}

.ecgc-info-live > h2,
.ecgc-home-directory > h2 {
  margin: 8px 0 10px;
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(44px, 7vw, 74px);
  line-height: .95;
}

.ecgc-info-grid,
.ecgc-season-grid,
.ecgc-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ecgc-info-card,
.ecgc-home-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.09);
  border-top: 3px solid var(--hot-pink);
  border-radius: 6px;
  color: var(--white);
  background: radial-gradient(circle at 100% 0, rgba(124,47,255,.18), transparent 42%), #09090f;
  text-decoration: none;
}

.ecgc-info-card:nth-child(4n+2), .ecgc-home-card:nth-child(4n+2) { border-top-color: var(--purple); }
.ecgc-info-card:nth-child(4n+3), .ecgc-home-card:nth-child(4n+3) { border-top-color: var(--lime); }
.ecgc-info-card:nth-child(4n+4), .ecgc-home-card:nth-child(4n+4) { border-top-color: var(--electric); }
.ecgc-info-card.is-active { border-color: var(--lime); box-shadow: 0 0 45px rgba(184,255,44,.1); }

.ecgc-info-card h3,
.ecgc-home-card strong,
.ecgc-subheading {
  display: block;
  margin: 16px 0 8px;
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  line-height: 1;
}

.ecgc-info-card p,
.ecgc-home-card p,
.ecgc-info-location { color: var(--muted); line-height: 1.65; white-space: pre-line; }

.ecgc-info-tag {
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ecgc-subheading { margin: 50px 0 18px; font-size: clamp(34px, 5vw, 52px); }
.ecgc-info-location { display: block; margin-top: 16px; font-size: 12px; text-transform: uppercase; }
.ecgc-home-card { min-height: 170px; transition: transform .22s ease, border-color .22s ease; }
.ecgc-home-card:hover, .ecgc-home-card:focus-visible { transform: translateY(-5px); border-color: var(--lime); }

.ecgc-home-directory {
  position: absolute;
  z-index: 12;
  top: 50%;
  right: clamp(28px, 4.5vw, 92px);
  width: min(56vw, 1060px);
  transform: translateY(-43%);
}

.ecgc-hero-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ecgc-hero-grid .ecgc-home-card { min-height: 145px; padding: 22px; background: radial-gradient(circle at 100% 0,rgba(124,47,255,.16),transparent 44%),rgba(7,7,12,.94); backdrop-filter: blur(12px); }
.ecgc-hero-grid .ecgc-home-card strong { font-size: clamp(26px,2vw,36px); }
.ecgc-hero-grid .ecgc-home-card p { margin-top: 8px; font-size: 14px; }

.ecgc-announcement-media { display:grid;grid-template-columns:1fr;gap:8px;margin-top:18px;overflow:hidden;border-radius:4px; }
.ecgc-announcement-media.is-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.ecgc-announcement-media img,.ecgc-announcement-media video { width:100%;max-height:380px;object-fit:contain;background:#030305;border:1px solid rgba(255,255,255,.08);border-radius:4px; }

.ecgc-footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: 14px;
}

.ecgc-footer-links a { color: var(--muted); font-size: 12px; text-decoration: none; }
.ecgc-footer-links a:hover, .ecgc-footer-links a:focus-visible { color: var(--lime); }
.ecgc-footer-links .ecgc-footer-join { color: var(--hot-pink); font-weight: 900; text-transform: uppercase; }

.ecgc-role-preview {
  position: fixed;
  z-index: 99998;
  right: 18px;
  bottom: 18px;
  display: grid;
  max-width: min(420px,calc(100vw - 36px));
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--lime);
  border-radius: 5px;
  color: white;
  background: rgba(9,9,15,.96);
  box-shadow: 0 16px 50px rgba(0,0,0,.5);
}
.ecgc-role-preview strong { color:var(--lime);font-size:12px;letter-spacing:.08em; }
.ecgc-role-preview span { color:var(--muted);font-size:12px; }
.ecgc-role-preview a { margin-top:7px;color:var(--hot-pink);font-size:11px;font-weight:900;text-decoration:none; }

@keyframes ecgc-marquee {
  from { transform: translate3d(-16.6666667%,0,0); }
  to { transform: translate3d(0,0,0); }
}

.animate-marquee {
  width: max-content !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  animation: ecgc-marquee 32s linear infinite !important;
  animation-play-state: running !important;
  will-change: transform;
}

.animate-marquee:hover { animation-play-state: running !important; }

@keyframes ecgc-route-in {
  from { opacity: 0; transform: translateY(16px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}

body.ecgc-route-enter main { animation: ecgc-route-in .42s cubic-bezier(.2,.8,.2,1) both; }

html.ecgc-booting body::before {
  content: '';
  position: fixed;
  z-index: 99999;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--hot-pink), var(--purple), var(--lime), var(--electric));
  background-size: 240% 100%;
  animation: ecgc-loading 1s linear infinite;
}

@keyframes ecgc-loading { to { background-position: -240% 0; } }

.ecgc-role-how {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ecgc-role-how strong {
  color: var(--ecgc-role-color, var(--hot-pink));
  font-size: 10px;
  letter-spacing: 0.11em;
}

.ecgc-staff-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 210px;
  border-top-color: var(--ecgc-staff-color, var(--hot-pink));
  background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--ecgc-staff-color, var(--hot-pink)) 16%, transparent), transparent 44%), #09090f;
}

.ecgc-staff-card img,
.ecgc-staff-avatar {
  width: 112px;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  background: color-mix(in srgb, var(--ecgc-staff-color, var(--hot-pink)) 20%, #09090f);
}

.ecgc-staff-avatar {
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 64px;
}

.ecgc-staff-copy { padding: 24px 20px; }
.ecgc-staff-role { color: var(--ecgc-staff-color, var(--hot-pink)); }
.ecgc-staff-card h3 { margin-top: 12px; }

.ecgc-staff-group {
  display: grid;
  gap: 16px;
  margin-top: 42px;
}

.ecgc-staff-group-title {
  margin: 0;
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: .03em;
}

.ecgc-home-stats,
.ecgc-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.ecgc-system-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ecgc-stat-card {
  display: grid;
  min-height: 168px;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-left: 3px solid var(--hot-pink);
  border-radius: 5px;
  background: radial-gradient(circle at 50% 0, rgba(255,45,138,.12), transparent 52%), #09090f;
  box-shadow: 0 16px 45px rgba(0,0,0,.24);
  text-align: center;
}

.ecgc-stat-card.is-purple { border-left-color: var(--purple); }
.ecgc-stat-card.is-lime { border-left-color: var(--lime); }
.ecgc-stat-card.is-electric { border-left-color: var(--electric); }

.ecgc-stat-card strong {
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
}

.ecgc-stat-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.ecgc-hall-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ecgc-hall-controls > span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.ecgc-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .65s cubic-bezier(.2,.8,.2,1), transform .65s cubic-bezier(.2,.8,.2,1);
}

.ecgc-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
}

.ecgc-directory-empty {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  text-align: center;
}

@media (max-width: 1250px) {
  main section:has(> .ecgc-home-directory) { flex-direction: column; align-items: stretch !important; padding-bottom: 48px; }
  .ecgc-home-directory { position: relative; top: auto; right: auto; width: calc(100% - 48px); margin: 0 auto; transform: none; }
}

@media (max-width: 720px) {
  .ecgc-live-section,
  .ecgc-milestones {
    margin: 42px auto;
    padding: 26px 18px;
  }

  .ecgc-live-grid,
  .ecgc-milestone-grid,
  .ecgc-command-grid,
  .ecgc-policy-grid,
  .ecgc-role-grid,
  .ecgc-staff-grid,
  .ecgc-info-grid,
  .ecgc-season-grid,
  .ecgc-home-grid {
    grid-template-columns: 1fr;
  }

  .ecgc-home-stats,
  .ecgc-system-grid { grid-template-columns: 1fr; }

  .ecgc-home-directory { width: calc(100% - 28px); }
  .ecgc-hall-podium { display:grid;min-height:0;padding-top:42px; }
  .ecgc-podium-card,.ecgc-podium-card.is-rank-1,.ecgc-podium-card.is-rank-3 { max-width:none;min-height:220px; }
  .ecgc-podium-card.is-rank-1 { order:-1; }
  .ecgc-announcement-media.is-grid { grid-template-columns:1fr; }

  .ecgc-ranking-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ecgc-command-search { top: 62px; }

  .ecgc-command-access {
    padding: 24px 16px;
  }

  .ecgc-ranking-row {
    grid-template-columns: 40px 40px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .ecgc-ranking-row img,
  .ecgc-ranking-avatar {
    width: 38px;
    height: 38px;
  }

  .ecgc-ranking-value {
    grid-column: 3;
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-float,
  .animate-pulse,
  .animate-pulse-glow,
  .animate-orb-1,
  .animate-orb-2,
  .animate-orb-3,
  .animate-shimmer,
  .animate-scan {
    animation: none !important;
  }

  body.ecgc-route-enter main { animation: none !important; }

  .ecgc-home-card { transition: none; }

  .ecgc-reveal,
  .ecgc-reveal.is-visible { opacity: 1; transform: none; transition: none; }
}
