/* NOVIABOT — Analytics (DA alignée Paramètres + footer site en bas) */

/* .settings-page (settings.css) = flex colonne ; ce bloc pousse le footer en bas */
.sa-layout-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

body.settings-page.sa-analytics-page > footer {
  flex-shrink: 0;
}

body.sa-analytics-page {
  color: #e8eaff;
  font-size: 14px;
  line-height: 1.45;
  --sa-accent: #18e7ff;
  --sa-accent2: #b978f7;
  --sa-card: rgba(24, 231, 255, 0.06);
  --sa-border: rgba(24, 231, 255, 0.22);
  --sa-glow: 0 12px 34px rgba(24, 231, 255, 0.18);
}

body.sa-analytics-page[data-panel="followers"] {
  --sa-accent: #ff6b9d;
  --sa-accent2: #ffa07a;
  --sa-card: rgba(255, 107, 157, 0.08);
  --sa-border: rgba(255, 107, 157, 0.28);
  --sa-glow: 0 0 48px rgba(255, 107, 157, 0.12);
}

body.sa-analytics-page[data-panel="subs"] {
  --sa-accent: #ffd54a;
  --sa-accent2: #ff9f1c;
  --sa-card: rgba(255, 213, 74, 0.08);
  --sa-border: rgba(255, 213, 74, 0.3);
  --sa-glow: 0 0 40px rgba(255, 159, 28, 0.14);
}

body.sa-analytics-page[data-panel="chat"] {
  --sa-accent: #a78bfa;
  --sa-accent2: #6366f1;
  --sa-card: rgba(167, 139, 250, 0.1);
  --sa-border: rgba(167, 139, 250, 0.32);
  --sa-glow: 0 0 44px rgba(99, 102, 241, 0.15);
}

body.sa-analytics-page[data-panel="spam"] {
  --sa-accent: #38bdf8;
  --sa-accent2: #f87171;
  --sa-card: rgba(56, 189, 248, 0.07);
  --sa-border: rgba(248, 113, 113, 0.35);
  --sa-glow: 0 0 36px rgba(248, 113, 113, 0.1);
}

body.sa-analytics-page[data-panel="revenue"] {
  --sa-accent: #fbbf24;
  --sa-accent2: #34d399;
  --sa-card: rgba(251, 191, 36, 0.09);
  --sa-border: rgba(251, 191, 36, 0.35);
  --sa-glow: 0 0 42px rgba(52, 211, 153, 0.12);
}

.sa-shell {
  flex: 1;
  max-width: 1420px;
  margin: 0 auto;
  width: 100%;
  padding: 1.25rem 1.5rem 2.5rem;
  box-sizing: border-box;
}

.sa-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sa-brand {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.sa-brand span { color: var(--sa-accent); }

.sa-sub {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #9ca3c9;
  max-width: 36rem;
}

.sa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.sa-period-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 0.25rem;
}

.sa-period-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sa-accent2);
}

.sa-period-wrap .nb-custom-select {
  min-width: 148px;
  max-width: 220px;
}

.an-games-block {
  width: 100%;
}

.an-games-demo-banner {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #fef3c7;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.38);
}

.an-games-demo-banner__hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.62rem;
  font-weight: 600;
  color: #fcd34d;
  opacity: 0.92;
}

.an-games-demo-banner code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
}

.an-game-card--demo {
  border-style: dashed;
  border-color: rgba(251, 191, 36, 0.35);
}

.an-game-card--empty {
  opacity: 0.78;
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.22);
}

.an-game-card__poster--empty {
  background-image: none !important;
  background: linear-gradient(145deg, rgba(30, 16, 72, 0.45), rgba(12, 6, 24, 0.9));
}

.an-games-legends {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
}

.an-games-legends .an-games-legend {
  margin: 0;
}

.an-games-legend--side {
  font-size: 0.58rem;
  opacity: 0.92;
}

.an-games-legend__i--rank {
  background: linear-gradient(120deg, #fbbf24, #f59e0b);
}
.an-games-legend__i--share {
  background: linear-gradient(120deg, #34d399, #10b981);
}
.an-games-legend__i--avg {
  background: linear-gradient(120deg, #a78bfa, #8b5cf6);
}

.an-games-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin: 0 0 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #9ca3c9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.an-games-legend__i {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  margin-right: 0.28rem;
  vertical-align: middle;
}

.an-games-legend__i--time {
  background: linear-gradient(120deg, #18e7ff, #14b8a6);
}
.an-games-legend__i--sess {
  background: linear-gradient(120deg, #818cf8, #6366f1);
}
.an-games-legend__i--peak {
  background: linear-gradient(120deg, #f472b6, #fb7185);
}

/* Même grille que .kpis-grid / .hg-rows (Paramètres) */
.an-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  width: 100%;
  align-items: stretch;
}

.an-games-grid > .an-game-card {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.an-games-empty {
  max-width: 52rem;
}

.an-game-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  background: #12082a;
}

.an-game-card--cover {
  display: flex;
  flex-direction: column;
  padding: 0.2rem;
}

.an-game-card__top {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 0;
  flex: 0 0 auto;
  min-height: 8.75rem;
}

.an-game-card__top > .an-game-card__poster {
  position: relative;
  flex: 0 0 auto;
  width: clamp(4.5rem, 26vw, 6.25rem);
  max-width: 44%;
  aspect-ratio: 3 / 4;
  align-self: stretch;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(160deg, #1e1048, #0c0618) center center / cover no-repeat;
  background-color: #1a0d38;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.an-game-card__poster--nophoto {
  background-image: none !important;
}

.an-game-card__posterimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.an-game-card--interactive {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
}

.an-game-card--interactive:hover {
  border-color: rgba(24, 231, 255, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 24px rgba(24, 231, 255, 0.12);
  transform: translateY(-2px);
}

.an-game-card--interactive:focus {
  outline: none;
}

.an-game-card--interactive:focus-visible {
  outline: 2px solid rgba(24, 231, 255, 0.85);
  outline-offset: 2px;
}

.an-game-card__right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.an-game-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.1rem 0.05rem 0 0;
}

.an-game-meta--empty .an-game-meta__name,
.an-game-meta--empty .an-game-meta__v {
  color: #64748b;
}

.an-game-meta__name {
  margin: 0;
  font-size: clamp(0.72rem, 0.42rem + 0.55vw, 0.92rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #f1f5ff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.an-game-meta__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.an-game-meta__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.5rem;
  align-items: baseline;
}

.an-game-meta__k {
  margin: 0;
  font-size: 0.52rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  line-height: 1.25;
}

.an-game-meta__v {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 800;
  color: #e8eaff;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.an-game-meta__v--rank {
  color: #fcd34d;
}
.an-game-meta__v--follows {
  color: #93c5fd;
}
.an-game-meta__v--share {
  color: #6ee7b7;
}
.an-game-meta__v--avg {
  color: #d8b4fe;
}

.an-game-card__poster-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(6, 2, 18, 0.9) 100%);
  pointer-events: none;
  border-radius: inherit;
}

.an-game-card__stats.an-game-card__stats--wide {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.4rem;
  padding: 0.32rem 0.38rem 0.36rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: linear-gradient(180deg, rgba(10, 6, 22, 0.98), rgba(4, 2, 12, 1));
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.an-game-stat {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.06rem 0.28rem;
  align-items: center;
}

.an-game-stat__lbl {
  font-size: 0.46rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  line-height: 1.25;
  hyphens: auto;
}

.an-game-stat__val {
  font-size: 0.62rem;
  font-weight: 800;
  color: #f1f5ff;
}

.an-game-stat__sub {
  font-size: 0.72em;
  font-weight: 600;
  opacity: 0.78;
}

.an-game-stat--time .an-game-stat__val {
  color: #5eead4;
}
.an-game-stat--sess .an-game-stat__val {
  color: #a5b4fc;
}
.an-game-stat--peak .an-game-stat__val {
  color: #fda4af;
}

.an-game-stat__bar {
  grid-column: 1 / -1;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.an-game-stat__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  min-width: 2px;
  transition: width 0.4s ease;
}

.an-game-stat--time .an-game-stat__bar span {
  background: linear-gradient(90deg, #18e7ff, #2dd4bf);
}

.an-game-stat--sess .an-game-stat__bar span {
  background: linear-gradient(90deg, #818cf8, #6366f1);
}

.an-game-stat--peak .an-game-stat__bar span {
  background: linear-gradient(90deg, #f472b6, #fb7185);
}

.an-game-card__note {
  margin: 0 0 0.25rem;
  padding: 0.32rem 0.4rem;
  font-size: 0.6rem;
  line-height: 1.3;
  font-weight: 600;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 6px;
}

.sa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--sa-border);
  background: var(--sa-card);
  color: #e8eaff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}

.sa-btn:hover {
  border-color: var(--sa-accent);
  box-shadow: var(--sa-glow);
}

.sa-btn:active { transform: translateY(1px); }

.sa-btn-primary {
  background: linear-gradient(90deg, #18e7ff, #b978f7);
  color: #0a031d;
  border-color: transparent;
}

.sa-btn-primary:hover {
  color: #0a031d;
  filter: brightness(1.06);
}

.sa-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.sa-nav a {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3c9;
  border: 1px solid transparent;
  text-decoration: none;
  transition: 0.18s;
}

.sa-nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.sa-nav a.is-active {
  color: #0a031d;
  font-weight: 900;
  background: linear-gradient(90deg, #18e7ff, #b978f7);
  border: 1px solid rgba(24, 231, 255, 0.35);
  box-shadow: 0 4px 22px rgba(24, 231, 255, 0.22);
}

.sa-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}

.an-widget {
  grid-column: span 12;
  background: linear-gradient(145deg, rgba(24, 231, 255, 0.05), rgba(185, 120, 247, 0.07));
  border: 1px solid rgba(24, 231, 255, 0.18);
  border-radius: 18px;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 0 25px rgba(24, 231, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.an-widget:hover {
  border-color: rgba(24, 231, 255, 0.32);
  box-shadow: 0 8px 36px rgba(24, 231, 255, 0.12), 0 0 40px rgba(185, 120, 247, 0.06);
}

.an-widget::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sa-accent), var(--sa-accent2));
  opacity: 0.85;
}

@media (min-width: 900px) {
  .an-widget.span-6 { grid-column: span 6; }
  .an-widget.span-4 { grid-column: span 4; }
}

.an-widget[hidden] { display: none !important; }

.an-wh {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.an-wt {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.an-widget[data-wid="w-games"] .an-wt {
  position: relative;
  display: inline-block;
  padding-bottom: 0;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(120deg, #ffffff 0%, #bae6fd 38%, #e9d5ff 72%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 16px rgba(24, 231, 255, 0.2));
}

.an-widget[data-wid="w-games"] .an-wd {
  color: #a5adc8;
  max-width: 40rem;
}

.an-wd {
  margin: 0;
  font-size: 0.75rem;
  color: #9ca3c9;
  line-height: 1.4;
}

.an-canvas-wrap {
  position: relative;
  height: min(340px, 52vh);
  margin-top: 0.5rem;
}

.an-canvas-wrap canvas { max-height: 100%; }

.an-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.an-stat {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
}

.an-stat .lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3c9;
  font-weight: 700;
}

.an-stat .val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--sa-accent);
  margin-top: 0.2rem;
}

.sa-hero {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem 1.35rem;
  border-radius: 20px;
  border: 1px solid var(--sa-border);
  background: radial-gradient(1200px 400px at 10% -20%, rgba(24, 231, 255, 0.12), transparent),
    linear-gradient(165deg, rgba(26, 11, 58, 0.98), rgba(8, 4, 22, 0.96));
  margin-bottom: 1.1rem;
}

@media (min-width: 880px) {
  .sa-hero {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
}

.sa-hero-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.sa-hero-live.is-off {
  background: rgba(113, 113, 122, 0.2);
  color: #a1a1aa;
  border-color: rgba(113, 113, 122, 0.35);
}

.sa-hero-num {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  margin: 0.5rem 0 0.25rem;
  color: var(--sa-accent);
  text-shadow: 0 0 40px rgba(24, 231, 255, 0.25);
}

.sa-hero-meta {
  font-size: 0.8rem;
  color: #c4c9e8;
}

.sa-hero-side {
  font-size: 0.78rem;
  color: #9ca3c9;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 1rem;
}

@media (max-width: 879px) {
  .sa-hero-side {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
  }
}

.sa-hero-side ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.sa-hero-side li { margin-bottom: 0.35rem; }

/* Bloc chiffre clé (ex. followers) — toujours lisible sur fond #23134d */
.an-hero-mass {
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(24, 231, 255, 0.1), rgba(185, 120, 247, 0.12));
  border: 1px solid rgba(24, 231, 255, 0.22);
  box-shadow: 0 0 28px rgba(24, 231, 255, 0.08);
}

.an-hero-mass .sa-hero-num {
  margin-top: 0.4rem;
}

.sa-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 2, 18, 0.65);
  backdrop-filter: blur(4px);
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.sa-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.sa-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100%);
  height: 100%;
  background: linear-gradient(200deg, #1e1045, #0f0824);
  border-left: 1px solid var(--sa-border);
  z-index: 8001;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.1rem;
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.5);
}

.sa-drawer.open { transform: translateX(0); }

.sa-drawer h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.sa-drawer p {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  color: #9ca3c9;
}

.sa-widget-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
}

.sa-widget-toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--sa-accent);
}

.sa-drawer-footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sa-note {
  font-size: 0.72rem;
  color: #7c82a8;
  margin-top: 0.5rem;
}

.sa-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #9ca3c9;
  font-size: 0.85rem;
}

/* Journal détections catégorie (module settings-game-discovery-panel.js) */
.sa-gd-mount {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--sa-border);
  background: var(--sa-card);
}
.sa-gd-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.sa-gd-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
  flex: 1 1 auto;
}
.sa-gd-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sa-gd-actions a,
.sa-gd-actions button {
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--sa-border);
  background: rgba(0, 0, 0, 0.2);
  color: #e8eaff;
  cursor: pointer;
  text-decoration: none;
}
.sa-gd-actions a:hover,
.sa-gd-actions button:hover {
  border-color: var(--sa-accent);
}
.sa-gd-note {
  font-size: 0.72rem;
  color: #7c82a8;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}
.sa-gd-table-wrap {
  overflow-x: auto;
  max-height: 220px;
  overflow-y: auto;
  border-radius: 8px;
  border: 1px solid rgba(185, 120, 247, 0.15);
}
.sa-gd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.sa-gd-table th,
.sa-gd-table td {
  padding: 0.35rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sa-gd-table th {
  color: var(--sa-accent);
  position: sticky;
  top: 0;
  background: rgba(10, 12, 28, 0.95);
}
.sa-gd-err {
  color: #f87171;
  font-size: 0.8rem;
}
