
.discord-icon {
  object-fit: cover;
  background: #030303;
  border: 1px solid #d1b06461;
  border-radius: 14px;
  width: 58px;
  height: 58px;
  display: block;
  box-shadow: 0 10px 22px #00000059;
}

.discord-copy h2 {
  margin: 22px 0 5px;
  font-size: 21px;
  line-height: 1.05;
}

.discord-stats {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 8px;
  font-size: 12px;
  display: flex;
}

.discord-stats span {
  align-items: center;
  gap: 5px;
  display: inline-flex;
}

.discord-stats b {
  background: var(--green);
  border-radius: 999px;
  width: 8px;
  height: 8px;
}

.discord-copy p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.discord-join {
  border: 1px solid var(--line);
  min-height: 42px;
  color: var(--gold-2);
  background: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  margin: 0 15px 15px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
}

.discord-join:hover {
  color: var(--text);
  border-color: #d8b76894;
}

.replay-events-panel {
  gap: 10px;
  display: grid;
}

.replay-events-panel .section-heading {
  margin-bottom: 0;
}

.event-tabs {
  border: 1px solid var(--line);
  background: #030303;
  border-radius: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 3px;
  display: grid;
}

.event-tab {
  min-width: 0;
  min-height: 32px;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.event-tab:hover, .event-tab.active {
  color: var(--text);
  background: #101010;
}

.event-pane {
  min-width: 0;
  display: none;
}

.event-pane.active {
  display: block;
}

.steam-result {
  min-height: 66px;
  padding: 14px;
}

.steam-profile {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  display: grid;
}

.steam-profile img, .avatar-fallback {
  border: 1px solid var(--line);
  object-fit: cover;
  border-radius: 6px;
  width: 112px;
  height: 112px;
}

.steam-profile h3 {
  margin: 8px 0 4px;
  font-size: 30px;
  line-height: 1;
}

.steam-profile p {
  color: var(--muted);
  margin: 0 0 10px;
}

.steam-profile-topline {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.steam-state, .steam-country, .steam-risk {
  border: 1px solid var(--line);
  min-height: 26px;
  color: var(--muted);
  border-radius: 999px;
  align-items: center;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.steam-chip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  display: grid;
}

.steam-section-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .9fr);
  gap: 14px;
  margin-top: 14px;
  display: grid;
}

.steam-data-section {
  padding: 14px;
}

.steam-section-title, .report-head, .candidate-title {
  color: #b89a55;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.steam-fields {
  border: 1px solid var(--line);
  border-radius: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 12px;
  display: grid;
  overflow: hidden;
}

.steam-field, .steam-chip-grid .steam-field {
  background: #000;
  border: 1px solid #ffffff0d;
  min-width: 0;
  padding: 12px;
}

.steam-field span {
  margin-bottom: 6px;
  font-size: 12px;
  display: block;
}

.steam-field strong {
  overflow-wrap: anywhere;
  color: var(--soft);
}

.raw-json {
  color: var(--muted);
  margin-top: 12px;
}

.raw-json summary {
  cursor: pointer;
  font-weight: 700;
}

.raw-json pre {
  white-space: pre-wrap;
  max-height: 420px;
  padding: 14px;
  overflow: auto;
}

.empty-workbench {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
  gap: 18px;
  min-height: 300px;
  display: grid;
}

.empty-main h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(32px, 2.7vw, 44px);
  line-height: 1.06;
}

.empty-copy {
  max-width: 740px;
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.empty-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  display: grid;
}

.empty-stats div, .preview-header span, .preview-line, .preview-grid span {
  background: #000;
  border: 1px solid #ffffff0f;
  border-radius: 6px;
}

.empty-stats div {
  padding: 14px;
}

.empty-stats span, .empty-stats strong {
  display: block;
}

.empty-stats span {
  color: var(--muted);
}

.empty-stats strong {
  margin-top: 10px;
}

.empty-preview {
  border: 1px solid var(--line);
  background: #000;
  border-radius: 6px;
  gap: 16px;
  padding: 18px;
  display: grid;
}

.preview-header {
  grid-template-columns: 1.4fr 1fr .7fr;
  gap: 12px;
  display: grid;
}

.preview-header span {
  height: 42px;
}

.preview-line {
  height: 14px;
}

.preview-line.wide {
  width: 86%;
}

.preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  display: grid;
}

.preview-grid span {
  min-height: 88px;
}

.progress-panel {
  align-items: center;
  gap: 16px;
  display: flex;
}

.progress-panel h2, .progress-panel p {
  margin: 0;
}

.progress-panel p {
  color: var(--muted);
  margin-top: 4px;
}

.pulse-loader {
  border: 2px solid var(--line-2);
  border-top-color: var(--gold);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  animation: .9s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
  display: grid;
}

.metric-card strong {
  color: var(--gold-2);
  margin-top: 16px;
  font-size: 44px;
  line-height: .92;
  display: block;
}

.analysis-grid {
  grid-template-columns: minmax(0, 2.1fr) minmax(300px, .9fr);
  gap: 14px;
  display: grid;
}

.chart-card, .match-card {
  padding: 16px;
}

.chart-card, .results-panel {
  overflow: hidden;
}

.results-panel {
  border-color: #ffffff14;
}

.timeline-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.filter-tabs {
  flex-wrap: wrap;
  gap: 8px;
  display: inline-flex;
}

.filter-tab, .match-filter {
  height: 40px;
  padding: 0 14px;
}

.match-filter {
  width: auto;
  min-width: 210px;
}

