/**
 * PulseCheck — Components Stylesheet (components.css)
 * Buttons, 3-column hero components (Left Domain Checker Sidebar, Center Live Outage Map,
 * Right Early Warning Signals Panel), results cards, popular service cards,
 * SVG sparklines, category chips, notifications, FAQ accordion, skeletons, and modals.
 */

/* ============================================================================
   NAVBAR CONTROLS & BUTTONS
   ============================================================================ */
.icon-btn,
.lang-btn {
  height: 38px;
  padding-inline: 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.icon-btn:hover,
.lang-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background-color: var(--bg-surface-hover);
}

.btn-signin {
  height: 38px;
  padding-inline: 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--accent-primary);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-signin:hover {
  background-color: var(--accent-primary-hover);
}

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

/* ============================================================================
   HERO KICKER PILL & STATUS DOTS
   ============================================================================ */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 500;
  color: #e2e8f0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot.online {
  background-color: var(--status-online);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.status-dot.offline {
  background-color: var(--status-offline);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.status-dot.slow {
  background-color: var(--status-slow);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

/* ============================================================================
   2. HERO HORIZONTAL COMMAND BAR & MINIMALIST TELEMETRY STRIP
   ============================================================================ */
.hero-command-wrapper {
  width: 100%;
  margin-bottom: 1.5rem;
}

.hero-command-form {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 0.42rem 0.45rem 0.42rem 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hero-command-form:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.hero-command-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
}

.hero-command-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #f8fafc;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.5rem 0.25rem;
}

.hero-command-input::placeholder {
  color: #94a3b8;
  opacity: 0.78;
}

.hero-command-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #4f46e5;
  color: #f8fafc;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.72rem 1.35rem;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 150ms ease, transform 150ms ease;
}

.hero-command-btn:hover:not(:disabled) {
  background: #6366f1;
}

.hero-command-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.hero-command-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.hero-command-arrow {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 150ms ease;
}

.hero-command-btn:hover:not(:disabled) .hero-command-arrow {
  transform: translateX(2px);
}

.btn-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(248, 250, 252, 0.28);
  border-top-color: #f8fafc;
  border-radius: 50%;
  animation: spin360 0.7s linear infinite;
}

@keyframes spin360 {
  to {
    transform: rotate(360deg);
  }
}

/* Minimalist Single-Line Telemetry & Recent Strip (Under the Search Bar) */
.hero-telemetry-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  margin-top: 0.65rem;
  padding-inline: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #94a3b8;
}

.hero-telemetry-left {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 150ms ease;
}

.hero-telemetry-left:hover {
  color: #f8fafc;
}

.telemetry-emerald-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  flex-shrink: 0;
}

.telemetry-meta-strong {
  color: #f8fafc;
  font-weight: 500;
}

.telemetry-mid-dot {
  color: #94a3b8;
  opacity: 0.55;
  margin-inline: 0.1rem;
}

.hero-telemetry-right {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  color: #94a3b8;
}

.telemetry-recent-prefix {
  color: #94a3b8;
}

.telemetry-recent-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.telemetry-recent-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  background: none;
  border: none;
  color: #f8fafc;
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 150ms ease;
}

.telemetry-recent-btn:hover .telemetry-recent-domain {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.telemetry-recent-domain {
  color: #f8fafc;
  font-weight: 500;
}

.telemetry-recent-time {
  color: #94a3b8;
}

.telemetry-recent-empty {
  color: #94a3b8;
}

.telemetry-clear-link {
  padding: 0;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 150ms ease;
}

.telemetry-clear-link:hover {
  color: #f8fafc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================================
   HERO COLUMN 1 (8 COLS): NATIVE INLINE SVG GLOBAL OUTAGE RADAR MAP
   ============================================================================ */
.hero-map-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #1e293b;
  background: #090d16;
  min-height: 360px;
  direction: ltr;
}

@media (min-width: 1024px) {
  .hero-map-wrapper {
    min-height: 430px;
  }
}

/* Top Overlay Bar Inside Map */
.map-top-overlay {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: rgba(9, 13, 22, 0.85);
  border-bottom: 1px solid #1e293b;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.map-overlay-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.amber-glow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.65);
  flex-shrink: 0;
}

.map-overlay-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.map-overlay-right {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.map-reports-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f8fafc;
}

.map-refresh-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #111827;
  border: 1px solid #1e293b;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 150ms ease, border-color 150ms ease;
}

.map-refresh-btn:hover {
  color: #f8fafc;
  border-color: #334155;
}

.map-refresh-btn.spinning svg {
  animation: spin360 0.55s linear infinite;
}

/* Native SVG World Map Stage */
.hero-svg-map-stage {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 270px;
  background: #090d16;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-world-svg {
  width: 100%;
  height: 100%;
  min-height: 270px;
  max-height: 360px;
  display: block;
  user-select: none;
}

/* HTML Overlay Layer for the 7 Clean, Non-Overlapping Radar Hotspots */
.svg-radar-nodes-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.svg-radar-node {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.svg-radar-node.pill-left {
  flex-direction: row-reverse;
}

.svg-radar-node:hover,
.svg-radar-node.is-selected {
  z-index: 12;
  transform: translate(-50%, -50%) scale(1.05);
}

.svg-radar-node.is-dimmed {
  opacity: 0.38;
}

/* Pulsing Radar Dot (#f43f5e rose-500 for high reports, #f59e0b amber-400 for moderate) */
.radar-node-point {
  position: relative;
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.radar-node-core {
  position: relative;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.radar-node-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  opacity: 0.55;
  animation: radarPulseRing 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.radar-dot-rose .radar-node-core,
.hotspot-pill-dot.radar-dot-rose,
.radar-pill-dot.radar-dot-rose {
  background: #f43f5e;
}

.radar-dot-rose .radar-node-pulse {
  background: rgba(244, 63, 94, 0.45);
}

.radar-dot-amber .radar-node-core,
.hotspot-pill-dot.radar-dot-amber,
.radar-pill-dot.radar-dot-amber {
  background: #f59e0b;
}

.radar-dot-amber .radar-node-pulse {
  background: rgba(245, 158, 11, 0.42);
}

@keyframes radarPulseRing {
  0% {
    transform: scale(0.65);
    opacity: 0.75;
  }
  80%,
  100% {
    transform: scale(2.15);
    opacity: 0;
  }
}

/* Compact Glassmorphic Tooltip Pill Next to Node: "● Discord · 149" */
.radar-node-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid #1e293b;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #f8fafc;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(2, 6, 23, 0.5);
  transition: border-color 150ms ease, background-color 150ms ease;
}

.svg-radar-node:hover .radar-node-pill,
.svg-radar-node.is-selected .radar-node-pill {
  border-color: #6366f1;
  background: #111827;
}

.radar-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  flex-shrink: 0;
}

.radar-pill-service {
  color: #f8fafc;
}

.radar-pill-sep {
  color: #94a3b8;
  opacity: 0.65;
}

.radar-pill-count {
  color: #94a3b8;
  font-weight: 600;
}

@media (max-width: 560px) {
  .radar-node-pill {
    font-size: 0.63rem;
    padding: 0.15rem 0.38rem;
  }
}

/* Active Node HUD Detail Bar inside SVG Map */
.svg-radar-active-hud {
  position: absolute;
  top: 0.65rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.94);
  border: 1px solid #1e293b;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.75rem;
  color: #f8fafc;
}

.radar-hud-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.radar-hud-region {
  color: #94a3b8;
  font-weight: 500;
}

.radar-hud-service {
  color: #f8fafc;
  font-weight: 600;
}

.radar-hud-summary {
  color: #94a3b8;
}

.radar-hud-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.radar-hud-check-btn {
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: #4f46e5;
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 600;
  transition: background-color 150ms ease;
}

.radar-hud-check-btn:hover {
  background: #6366f1;
}

.radar-hud-close-btn {
  padding: 0.15rem 0.35rem;
  color: #94a3b8;
  font-size: 0.75rem;
}

.radar-hud-close-btn:hover {
  color: #f8fafc;
}

/* Bottom Overlay Bar Inside Map: Minimalist Dark-Glass Filter Pills */
.map-hotspot-pills {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.1rem;
  background: rgba(9, 13, 22, 0.85);
  border-top: 1px solid #1e293b;
}

.map-hotspot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.68rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid #1e293b;
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 500;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.map-hotspot-pill:hover,
.map-hotspot-pill.active {
  border-color: #6366f1;
  color: #f8fafc;
  background: #111827;
}

.hotspot-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  flex-shrink: 0;
}

.hotspot-pill-name {
  color: #f8fafc;
  font-weight: 500;
}

.hotspot-pill-count {
  color: #94a3b8;
  font-weight: 600;
}

/* ============================================================================
   HERO COLUMN 2 (4 COLS): CLEAN MONOCHROME "EARLY WARNING SIGNALS" FEED
   ============================================================================ */
.hero-alerts-panel {
  background: #090d16;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-alerts-header {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #1e293b;
}

.early-warning-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.01em;
  margin: 0;
}

.early-warning-subheader {
  font-size: 0.74rem;
  color: #94a3b8;
  margin: 0;
}

.hero-alerts-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.alert-signal-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(30, 41, 59, 0.85);
  border-radius: 12px;
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.alert-signal-card:hover,
.alert-signal-card.is-highlighted {
  background: #111827;
  border-color: #6366f1;
}

.alert-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.alert-service-info {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

/* Uniform Dark Slate Badges (NO rainbow blue/red/green square icons) */
.alert-service-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.alert-service-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.alert-service-name-row {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.alert-service-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alert-service-region {
  font-size: 0.7rem;
  color: #94a3b8;
}

/* Refined Subtle Amber Status Badge ("Not acknowledged yet") */
.alert-ack-pill {
  font-size: 11px;
  font-weight: 500;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.1);
  color: rgba(251, 191, 36, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

.alert-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.alert-Spark-wrap {
  width: 92px;
  height: 24px;
  flex-shrink: 0;
}

.signal-sparkline-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.alert-metrics-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: end;
}

.alert-reports-main {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f8fafc;
}

.alert-reports-base {
  font-size: 0.68rem;
  color: #94a3b8;
}

/* ============================================================================
   3. RESULTS PANEL (SHOWN AFTER A CHECK)
   ============================================================================ */
.results-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .results-panel {
    padding: 2rem;
  }
}

.results-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.results-url-pill {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: var(--accent-primary-soft);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  word-break: break-all;
}

.results-timestamp {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.demo-data-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--status-slow-text);
  background: var(--status-slow-bg);
  border: 1px solid var(--status-slow-border);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-share:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.region-group-block {
  margin-bottom: 1.5rem;
}

.region-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.region-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .region-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .region-cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.location-card {
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.location-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.location-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.location-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.http-status-link {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.http-status-link:hover {
  color: var(--accent-primary);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.status-badge.online {
  color: var(--status-online-text);
  background: var(--status-online-bg);
  border: 1px solid var(--status-online-border);
}

.status-badge.offline {
  color: var(--status-offline-text);
  background: var(--status-offline-bg);
  border: 1px solid var(--status-offline-border);
}

.status-badge.slow {
  color: var(--status-slow-text);
  background: var(--status-slow-bg);
  border: 1px solid var(--status-slow-border);
}

/* Verdict Banner */
.verdict-banner {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.verdict-banner.all_good {
  background: var(--status-online-bg);
  border: 1px solid var(--status-online-border);
  color: var(--status-online-text);
}

.verdict-banner.down_everyone {
  background: var(--status-offline-bg);
  border: 1px solid var(--status-offline-border);
  color: var(--status-offline-text);
}

.verdict-banner.partial_outage,
.verdict-banner.down_for_you {
  background: var(--status-slow-bg);
  border: 1px solid var(--status-slow-border);
  color: var(--status-slow-text);
}

/* ============================================================================
   4. MOST CHECKED SITES STRIP
   ============================================================================ */
.most-checked-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.25rem;
  box-shadow: var(--shadow-xs);
}

.most-checked-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-inline-end: 0.25rem;
}

.rank-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.rank-chip:hover {
  border-color: var(--accent-primary);
  background: var(--accent-primary-soft);
  color: var(--accent-primary);
}

.rank-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
}

/* ============================================================================
   5. POPULAR SERVICE CARDS & SPARKLINES
   ============================================================================ */
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: start;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.service-card.is-complaints {
  border-color: var(--status-offline-border);
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--status-offline-bg) 160%);
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.service-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  flex-shrink: 0;
}

.service-title-wrap {
  min-width: 0;
  flex: 1;
}

.service-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-status-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.1rem;
}

.service-status-line.working {
  color: var(--status-online-text);
}

.service-status-line.complaints {
  color: var(--status-offline-text);
}

.sparkline-box {
  width: 100%;
  height: 34px;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.service-counters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 0.45rem;
  border-top: 1px solid var(--border-subtle);
}

/* ============================================================================
   6. COMPLAINTS BY SECTOR CATEGORY CHIPS
   ============================================================================ */
.sector-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.sector-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.sector-chip:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.sector-chip.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
}

.sector-chip svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================================================
   7. IN NUMBERS STAT CARDS
   ============================================================================ */
.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.stat-value {
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-value.indigo {
  color: var(--accent-primary);
}

.stat-value.green {
  color: var(--status-online);
}

.stat-value.amber {
  color: var(--status-slow);
}

.stat-value.blue {
  color: var(--accent-blue);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ============================================================================
   8. GET NOTIFIED ABOUT FAULTS
   ============================================================================ */
.notify-feed-card,
.notify-channels-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.alert-example-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-light);
}

.alert-example-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.alert-type-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.03em;
}

.alert-type-tag.amber {
  background: var(--status-slow-bg);
  color: var(--status-slow-text);
  border: 1px solid var(--status-slow-border);
}

.alert-type-tag.red {
  background: var(--status-offline-bg);
  color: var(--status-offline-text);
  border: 1px solid var(--status-offline-border);
}

.alert-type-tag.green {
  background: var(--status-online-bg);
  color: var(--status-online-text);
  border: 1px solid var(--status-online-border);
}

.alert-example-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.alert-example-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.channel-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .channel-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.channel-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-surface-hover);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: start;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.channel-card:hover,
.channel-card.active {
  border-color: var(--accent-primary);
  background: var(--accent-primary-soft);
}

.channel-card-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-primary);
}

.channel-card-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.notify-type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.notify-type-chip {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.notify-type-chip.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
}

/* ============================================================================
   9. FAQ ACCORDION
   ============================================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 880px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: start;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: background-color var(--transition-fast);
}

.faq-trigger:hover {
  background-color: var(--bg-surface-hover);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.9rem;
}

/* ============================================================================
   LOADING SKELETONS, TOAST, & MODAL
   ============================================================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-surface-subtle) 25%,
    var(--border-light) 50%,
    var(--bg-surface-subtle) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--text-primary);
  color: var(--bg-surface);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* Sign-in / Notification Subscription Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}


/* ============================================================================
   13. DUAL-PROBE LIVE CHECK COMPARISON CARD & SMART VERDICT
   ============================================================================ */
.dual-probe-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dual-probe-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dual-probe-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-primary);
  display: block;
}

.dual-probe-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dual-probe-sim-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
}

.dual-sim-btn {
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.dual-sim-btn:hover {
  color: var(--text-primary);
}

.dual-sim-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
}

.dual-probe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 768px) {
  .dual-probe-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dual-probe-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dual-probe-box.probe-up {
  border-color: var(--status-online-border);
}

.dual-probe-box.probe-down {
  border-color: var(--status-offline-border);
}

.dual-probe-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dual-probe-box-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dual-probe-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.dual-metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dual-metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dual-metric-val {
  font-size: 0.82rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smart-verdict-box {
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.smart-verdict-box.both-green {
  background: var(--status-online-bg);
  border: 1px solid var(--status-online-border);
  color: var(--status-online-text);
}

.smart-verdict-box.edge-green-browser-red {
  background: var(--status-slow-bg);
  border: 1px solid var(--status-slow-border);
  color: var(--status-slow-text);
}

.smart-verdict-box.both-red {
  background: var(--status-offline-bg);
  border: 1px solid var(--status-offline-border);
  color: var(--status-offline-text);
}

.smart-verdict-left {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
  min-width: 240px;
}

.smart-verdict-left .status-dot {
  margin-top: 0.35rem;
}

.smart-verdict-title {
  font-size: 0.88rem;
  font-weight: 700;
}

.smart-verdict-desc {
  font-size: 0.84rem;
  opacity: 0.92;
  margin-top: 0.1rem;
}

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

.btn-test-dns {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.9rem;
  border-radius: var(--radius-xs);
  background: #d97706;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--transition-fast);
}

.btn-test-dns:hover {
  background: #b45309;
}

.btn-open-full-diag {
  padding: 0.48rem 0.85rem;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.btn-open-full-diag:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* ============================================================================
   14. TRENDING ERROR CODES & CONNECTION DIAGNOSTICS SECTION
   ============================================================================ */
.error-resolver-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
}

.error-tab-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.error-tab-btn:hover {
  color: var(--text-primary);
}

.error-tab-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: var(--shadow-xs);
}

.error-resolver-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 680px) {
  .error-resolver-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .error-resolver-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.error-resolver-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.error-resolver-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.error-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.error-code-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.error-code-badge.red {
  background: var(--status-offline-bg);
  color: var(--status-offline-text);
  border: 1px solid var(--status-offline-border);
}

.error-code-badge.amber {
  background: var(--status-slow-bg);
  color: var(--status-slow-text);
  border: 1px solid var(--status-slow-border);
}

.error-code-badge.indigo {
  background: var(--accent-primary-soft);
  color: var(--accent-primary);
  border: 1px solid rgba(79, 70, 229, 0.25);
}

.error-category-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.parent-service-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.error-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  word-break: break-word;
}

.error-card-meaning {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.quick-diagnosis-callout {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
}

.quick-diagnosis-callout svg {
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.error-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.error-action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  background: var(--accent-primary-soft);
  color: var(--accent-primary);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.error-resolver-card:hover .error-action-btn {
  background: var(--accent-primary);
  color: #ffffff;
}

.error-standalone-link {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0.3rem 0.4rem;
}

.error-standalone-link:hover {
  color: var(--accent-primary);
}

/* ============================================================================
   15. ENHANCED POPULAR SERVICES CARD INSIGHTS FOOTER
   ============================================================================ */
.service-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.service-latency-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.08rem 0.4rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.service-insights-footer {
  margin-top: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.72rem;
}

.service-infra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  color: var(--text-muted);
}

.service-infra-val {
  color: var(--text-secondary);
  font-weight: 600;
}

.service-subcomp-row {
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-isp-microtag {
  margin-top: 0.2rem;
  padding: 0.22rem 0.45rem;
  border-radius: 6px;
  background: var(--status-offline-bg);
  border: 1px solid var(--status-offline-border);
  color: var(--status-offline-text);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
}

/* ============================================================================
   16. FULL-PAGE DEDICATED SERVICE STATUS & DIAGNOSTIC VIEW (/status/<slug>)
   ============================================================================ */
.dedicated-service-view {
  display: block;
  padding-bottom: 4rem;
  animation: spFadeIn 220ms ease-out;
}

.dedicated-service-view[hidden] {
  display: none !important;
}

@keyframes spFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 1. Dark Hero Status Banner & "Report a Problem" Action Bar */
.sp-hero-section {
  padding-top: 1.25rem;
  padding-bottom: 1.75rem;
}

.sp-hero-panel {
  background: radial-gradient(120% 130% at 15% 0%, #11192e 0%, #0a0f1d 62%, #070b15 100%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  padding: 1.35rem 1.35rem 1.5rem;
  color: #f8fafc;
  box-shadow: 0 24px 60px -18px rgba(2, 6, 23, 0.65);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .sp-hero-panel {
    padding: 1.75rem 2rem;
    gap: 1.45rem;
  }
}

/* Top Breadcrumb Bar */
.sp-breadcrumb-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.sp-breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.sp-breadcrumb-link {
  color: #cbd5e1;
  font-weight: 600;
  transition: color 150ms ease;
}

.sp-breadcrumb-link:hover {
  color: #ffffff;
}

.sp-breadcrumb-sep {
  color: #475569;
  font-size: 0.75rem;
}

.sp-breadcrumb-current {
  color: #f8fafc;
  font-weight: 700;
}

.sp-url-slug-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(30, 58, 138, 0.35);
  border: 1px solid rgba(96, 165, 250, 0.28);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
}

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

.sp-back-radar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 150ms ease;
}

.sp-back-radar-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.28);
}

.sp-back-radar-btn.subtle {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.2);
}

.sp-back-radar-btn.subtle:hover {
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.38);
}

/* Main Status Header */
.sp-header-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
   justify-content: space-between;
}

@media (min-width: 900px) {
  .sp-header-row {
    flex-direction: row;
    align-items: center;
  }
}

.sp-service-identity {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.sp-service-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
}

.sp-service-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sp-title-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.sp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sp-status-badge.operational {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.sp-status-badge.elevated {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.38);
}

.sp-infra-pill {
  font-size: 0.73rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.sp-error-focus-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fca5a5;
  background: rgba(127, 29, 29, 0.45);
  border: 1px solid rgba(248, 113, 113, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.sp-main-title {
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.18;
}

.sp-main-subtitle {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.45;
}

.sp-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.sp-recheck-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #ffffff;
  transition: all 150ms ease;
}

.sp-recheck-btn:hover {
  background: #e2e8f0;
}

.sp-alert-sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.58rem 0.95rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.24);
  transition: all 150ms ease;
}

.sp-alert-sub-btn:hover,
.sp-alert-sub-btn.subscribed {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.45);
  color: #34d399;
}

/* Dual-Probe Live Comparison Banner */
.sp-dual-probe-banner {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sp-dual-probe-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .sp-dual-probe-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.sp-probe-card {
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sp-probe-card-label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.sp-probe-card-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.96rem;
  font-weight: 800;
  color: #f8fafc;
}

.sp-probe-card-sub {
  font-size: 0.76rem;
  color: #64748b;
}

.sp-verdict-strip {
  padding: 0.65rem 0.9rem;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

.sp-verdict-strip.both-green {
  background: rgba(16, 185, 129, 0.13);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.sp-verdict-strip.isp-warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

.sp-verdict-strip.both-red {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* "Report a Problem" Interactive Voting Strip */
.sp-report-problem-bar {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sp-report-prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sp-report-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #f1f5f9;
}

.sp-report-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
}

.sp-report-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

@media (min-width: 640px) {
  .sp-report-buttons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1080px) {
  .sp-report-buttons-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.sp-report-pill-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: start;
  transition: all 150ms ease;
}

.sp-report-pill-btn:hover {
  background: rgba(51, 65, 85, 0.85);
  border-color: rgba(148, 163, 184, 0.4);
  transform: translateY(-1px);
}

.sp-report-pill-btn.voted {
  background: rgba(79, 70, 229, 0.28);
  border-color: #818cf8;
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.35);
}

.sp-report-pill-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.sp-report-pill-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-report-pill-pct {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(15, 23, 42, 0.65);
  padding: 0.12rem 0.38rem;
  border-radius: 5px;
  flex-shrink: 0;
}

.sp-report-feedback {
  font-size: 0.8rem;
  font-weight: 600;
  color: #34d399;
  padding-top: 0.2rem;
}

/* Content Sections & Grid Layout */
.sp-section {
  padding-block: 1.1rem;
}

.sp-analytics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .sp-analytics-grid {
    grid-template-columns: 8fr 4fr;
    align-items: stretch;
  }
}

.sp-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .sp-card {
    padding: 1.5rem;
  }
}

.sp-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.sp-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.sp-card-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

/* 24-Hour Outage & Latency Chart */
.sp-chart-toggle-group {
  display: inline-flex;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.2rem;
  gap: 0.2rem;
}

.sp-chart-toggle-btn {
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 150ms ease;
}

.sp-chart-toggle-btn.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

.sp-chart-stage {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem 0.85rem 0.5rem;
}

.sp-svg-chart {
  width: 100%;
  height: auto;
  display: block;
}

.sp-chart-grid-line {
  stroke: var(--border-light);
  stroke-dasharray: 3 3;
  stroke-width: 1;
}

.sp-chart-baseline {
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
  opacity: 0.65;
}

.sp-chart-axis-label {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--text-muted);
}

.sp-chart-legend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-top: 0.55rem;
  margin-top: 0.4rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.sp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.sp-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}

.sp-legend-line.dashed {
  width: 16px;
  height: 0;
  border-top: 2px dashed var(--text-muted);
  display: inline-block;
}

.sp-legend-stat {
  color: var(--text-secondary);
}

/* Circular Progress Ring Gauges & Affected ISPs */
.sp-rings-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 0.5rem 0;
}

.sp-ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.75rem 0.45rem;
}

.sp-ring-svg {
  width: 74px;
  height: 74px;
}

.sp-ring-track {
  fill: none;
  stroke: var(--border-light);
  stroke-width: 7;
}

.sp-ring-fill {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 350ms ease;
}

.sp-ring-pct {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  fill: var(--text-primary);
}

.sp-ring-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.sp-ring-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.sp-affected-isps-box {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sp-affected-isps-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sp-affected-isps-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sp-isp-share-row {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
}

.sp-isp-share-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.sp-isp-share-name {
  font-weight: 600;
  color: var(--text-primary);
}

.sp-isp-share-pct {
  font-weight: 700;
  color: var(--text-secondary);
}

.sp-isp-share-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--bg-surface-subtle);
  overflow: hidden;
}

.sp-isp-share-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-primary), #38bdf8);
}

/* 3. Multi-Region Global Ping Grid (OnlineOrNot Style) */
.sp-regions-summary-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.sp-summary-pill {
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.sp-summary-pill.online {
  background: var(--status-online-bg);
  border-color: var(--status-online-border);
  color: var(--status-online-text);
}

.sp-region-groups-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.sp-region-group-block {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sp-region-group-heading {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.sp-region-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 600px) {
  .sp-region-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sp-region-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sp-region-ping-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: 11px;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 150ms ease;
}

.sp-region-ping-card:hover {
  border-color: var(--accent-primary);
}

.sp-region-ping-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sp-region-ping-name {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sp-region-ping-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
}

.sp-region-ping-badge.online {
  background: var(--status-online-bg);
  color: var(--status-online-text);
}

.sp-region-ping-badge.slow {
  background: var(--status-slow-bg);
  color: var(--status-slow-text);
}

.sp-region-ping-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.sp-region-ping-latency {
  font-weight: 700;
  color: var(--text-primary);
}

.sp-region-ping-http {
  color: var(--text-muted);
}

.sp-region-details-btn {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.sp-region-details-drawer {
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.sp-region-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 4. Embedded Technical Diagnostic Workbench + Quick Workarounds */
.sp-workbench-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .sp-workbench-grid {
    grid-template-columns: 7fr 5fr;
    align-items: stretch;
  }
}

.sp-suberror-guides-box {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sp-suberror-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

.sp-suberror-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sp-suberror-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: start;
  transition: all 150ms ease;
}

.sp-suberror-link-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* 5. Similar Services, Service-Specific SEO FAQ & International Country Flags */
.sp-similar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .sp-similar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .sp-similar-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.sp-similar-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  text-align: start;
  transition: all 150ms ease;
}

.sp-similar-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sp-similar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.sp-similar-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sp-similar-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-similar-domain {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.sp-similar-status {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--status-online-text);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.sp-countries-footer-card {
  gap: 0.9rem;
}

.sp-country-flags-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sp-country-flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 150ms ease;
}

.sp-country-flag-chip:hover,
.sp-country-flag-chip.active {
  border-color: var(--accent-primary);
  background: var(--accent-primary-soft);
  color: var(--accent-primary);
}

.sp-country-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Shared Embedded Tool & Workaround Styles */
.diag-embedded-tool-box {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.diag-tool-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.diag-tool-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.diag-tool-tab {
  padding: 0.38rem 0.7rem;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.diag-tool-tab.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
}

.diag-domain-form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.diag-domain-input {
  padding: 0.38rem 0.65rem;
  border-radius: 7px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.8rem;
  width: 170px;
}

.diag-run-btn {
  padding: 0.4rem 0.8rem;
  border-radius: 7px;
  background: var(--text-primary);
  color: var(--bg-surface);
  font-size: 0.78rem;
  font-weight: 700;
}

.diag-tool-output {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  min-height: 110px;
}

.diag-tool-loading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  padding: 1rem 0.5rem;
}

.diag-tool-result-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.diag-table-wrap {
  overflow-x: auto;
}

.diag-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.diag-mini-table th,
.diag-mini-table td {
  text-align: start;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.diag-mini-table th {
  color: var(--text-muted);
  font-weight: 600;
}

.diag-mini-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  background: var(--accent-primary-soft);
  color: var(--accent-primary);
}

.diag-sec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

@media (min-width: 600px) {
  .diag-sec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.diag-sec-chip {
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.diag-sec-chip.present {
  background: var(--status-online-bg);
  color: var(--status-online-text);
  border: 1px solid var(--status-online-border);
}

.diag-sec-chip.missing {
  background: var(--status-offline-bg);
  color: var(--status-offline-text);
  border: 1px solid var(--status-offline-border);
}

.diag-subnote {
  margin-top: 0.55rem;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.diag-hops-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.diag-hop-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  background: var(--bg-surface-subtle);
}

.diag-hop-url {
  flex: 1;
  min-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diag-workarounds-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.diag-workaround-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
}

.diag-workaround-main {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.diag-workaround-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.diag-workaround-steps {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.diag-workaround-meta {
  font-size: 0.72rem;
  color: var(--status-online-text);
  margin-top: 0.1rem;
}

.diag-upvote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.diag-upvote-btn:hover,
.diag-upvote-btn.voted {
  border-color: var(--accent-primary);
  background: var(--accent-primary-soft);
  color: var(--accent-primary);
}

/* ============================================================================
   17. GAMING SERVER STATUS & PING MONITOR (HOME SHOWCASE & /gaming HUB)
   ============================================================================ */

/* 1. Navbar Gaming Status Link with Live Indicator Dot */
.nav-link-gaming {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  transition: all 150ms ease;
}

.nav-link-gaming:hover,
.nav-link-gaming.active {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

[data-theme='dark'] .nav-link-gaming:hover,
[data-theme='dark'] .nav-link-gaming.active {
  color: #a5b4fc;
  border-color: rgba(129, 140, 248, 0.5);
  background: rgba(79, 70, 229, 0.22);
}

.mobile-nav-link-gaming {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}

.nav-gaming-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
  flex-shrink: 0;
}

/* 2. Home Page "Live Gaming Server Radar" Showcase Panel */
#home-gaming-radar-section {
  margin-block: 1.5rem;
}

.gaming-showcase-panel {
  background: radial-gradient(120% 140% at 10% 0%, #131b31 0%, #0b0f19 58%, #080b13 100%);
  border: 1px solid rgba(30, 41, 59, 0.88);
  border-radius: 24px;
  padding: 1.5rem;
  color: #f8fafc;
  box-shadow: 0 24px 55px -16px rgba(2, 6, 23, 0.65);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

@media (min-width: 1024px) {
  .gaming-showcase-panel {
    padding: 2rem;
    gap: 1.6rem;
  }
}

.gaming-showcase-header {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  justify-content: space-between;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.45);
}

@media (min-width: 980px) {
  .gaming-showcase-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.gaming-showcase-head-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gaming-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5b4fc;
  background: rgba(79, 70, 229, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 0.22rem 0.62rem;
  border-radius: 6px;
}

.gaming-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #818cf8;
  box-shadow: 0 0 8px #818cf8;
}

.gaming-showcase-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.2;
}

.gaming-showcase-subtitle {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.45;
}

.gaming-showcase-head-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.gaming-region-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.65);
  border-radius: 10px;
  padding: 0.22rem;
}

.gaming-region-pill {
  padding: 0.36rem 0.68rem;
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
  transition: all 150ms ease;
}

.gaming-region-pill:hover {
  color: #f8fafc;
}

.gaming-region-pill.active {
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
}

.gaming-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.52rem 0.95rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border: 1px solid rgba(139, 92, 246, 0.5);
  box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.55);
  transition: all 150ms ease;
  white-space: nowrap;
}

.gaming-view-all-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* 2-Column Ranked Compact Game Grid */
.gaming-ranked-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gaming-ranked-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gaming-ranked-row {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.gaming-ranked-row:hover {
  background: rgba(30, 41, 59, 0.92);
  border-color: rgba(99, 102, 241, 0.48);
  transform: translateY(-1px);
}

.gaming-row-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.gaming-rank-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  min-width: 26px;
  text-align: start;
  flex-shrink: 0;
}

.gaming-cover-badge {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.gaming-cover-badge.small {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  font-size: 0.68rem;
}

.gaming-row-titles {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.gaming-row-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gaming-row-subtags {
  font-size: 0.72rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gaming-row-subtags.warn {
  color: #fbbf24;
  font-weight: 600;
}

.gaming-row-right {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  flex-shrink: 0;
}

.gaming-ping-pill {
  font-size: 0.71rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid rgba(51, 65, 85, 0.7);
  color: #cbd5e1;
}

.gaming-ping-pill.good {
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.28);
}

.gaming-ping-pill.moderate {
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.3);
}

.gaming-ping-pill.high {
  color: #fca5a5;
  border-color: rgba(244, 63, 94, 0.35);
}

.gaming-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .gaming-ping-pill {
    display: none;
  }
}

.gaming-status-pill.emerald {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.gaming-status-pill.amber {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.38);
  color: #fbbf24;
}

.gaming-status-pill.rose {
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.42);
  color: #fda4af;
}

.gaming-row-chevron {
  font-size: 1.15rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1;
  margin-inline-start: 0.1rem;
}

/* 3. Full-Page Dedicated Gaming Server Status Monitor Hub (/gaming) */
.dedicated-gaming-view {
  display: block;
  padding-bottom: 4rem;
  animation: spFadeIn 220ms ease-out;
}

.dedicated-gaming-view[hidden] {
  display: none !important;
}

.gh-hero-section {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.gh-hero-panel {
  background: radial-gradient(110% 140% at 50% 0%, #191c38 0%, #0b0f19 58%, #070a12 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 22px;
  padding: 1.4rem 1.4rem 1.75rem;
  color: #f8fafc;
  box-shadow: 0 26px 65px -18px rgba(2, 6, 23, 0.72);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

@media (min-width: 768px) {
  .gh-hero-panel {
    padding: 1.75rem 2.2rem 2.1rem;
  }
}

.gh-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.95rem;
  max-width: 860px;
  margin-inline: auto;
  width: 100%;
}

.gh-hero-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #c7d2fe;
  background: rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.gh-eyebrow-isp {
  color: #6ee7b7;
}

.gh-hero-title {
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
}

.gh-title-gradient {
  background: linear-gradient(90deg, #818cf8 0%, #c084fc 55%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gh-hero-subtitle {
  font-size: 0.94rem;
  color: #94a3b8;
  max-width: 680px;
  line-height: 1.5;
}

/* Gaming Hero Search Bar */
.gh-search-form {
  width: 100%;
  max-width: 760px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(99, 102, 241, 0.38);
  border-radius: 14px;
  padding: 0.45rem 0.5rem 0.45rem 0.95rem;
  box-shadow: 0 12px 32px -10px rgba(2, 6, 23, 0.65);
  margin-top: 0.25rem;
}

.gh-search-form:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.gh-search-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.gh-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #f8fafc;
  font-size: 0.9rem;
  padding: 0.4rem 0;
}

.gh-search-input::placeholder {
  color: #64748b;
}

.gh-search-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.05rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter 150ms ease;
}

.gh-search-submit-btn:hover {
  filter: brightness(1.1);
}

/* Quick Error Code Chips */
.gh-quick-error-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.74rem;
}

.gh-quick-error-label {
  color: #64748b;
  font-weight: 600;
}

.gh-error-chip {
  padding: 0.22rem 0.58rem;
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.45);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 600;
  transition: all 150ms ease;
}

.gh-error-chip:hover {
  border-color: #818cf8;
  color: #ffffff;
  background: rgba(79, 70, 229, 0.28);
}

/* 5-Platform Status Strip */
.gh-platform-strip {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(51, 65, 85, 0.4);
}

.gh-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.78rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.65);
  font-size: 0.76rem;
  color: #e2e8f0;
  transition: all 150ms ease;
}

.gh-platform-pill:hover {
  border-color: #34d399;
  background: rgba(16, 185, 129, 0.12);
}

.gh-platform-name {
  font-weight: 700;
  color: #cbd5e1;
}

.gh-platform-state {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: #34d399;
}

.gh-platform-ping {
  font-size: 0.7rem;
  color: #94a3b8;
}

/* Directory Panel & Category Tabs */
.gh-directory-panel {
  background: #0b0f19;
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 22px;
  padding: 1.35rem;
  color: #f8fafc;
  box-shadow: 0 20px 50px -15px rgba(2, 6, 23, 0.55);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .gh-directory-panel {
    padding: 1.75rem;
  }
}

.gh-directory-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.45);
}

.gh-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gh-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.6);
  transition: all 150ms ease;
}

.gh-cat-tab:hover {
  color: #f8fafc;
  border-color: rgba(99, 102, 241, 0.4);
}

.gh-cat-tab.active {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border-color: #818cf8;
  color: #ffffff;
}

.gh-cat-count {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.45);
}

.gh-empty-search {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.gh-diagnose-custom-btn {
  padding: 0.55rem 1.1rem;
  border-radius: 9px;
  background: #4f46e5;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Live Gamer Micro-Reports & ISP Ping Feed */
.gh-reports-panel {
  background: #0b0f19;
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 22px;
  padding: 1.4rem;
  color: #f8fafc;
  box-shadow: 0 20px 50px -15px rgba(2, 6, 23, 0.55);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .gh-reports-panel {
    padding: 1.8rem;
  }
}

.gh-reports-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.45);
}

@media (min-width: 980px) {
  .gh-reports-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.gh-reports-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.3rem;
}

.gh-reports-subtitle {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.gh-submit-report-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.gh-report-select {
  padding: 0.48rem 0.7rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(71, 85, 105, 0.65);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
}

.gh-report-post-btn {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.42);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 150ms ease;
}

.gh-report-post-btn:hover {
  background: rgba(16, 185, 129, 0.28);
  color: #ffffff;
}

.gh-reports-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gh-report-row {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

@media (min-width: 960px) {
  .gh-report-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.gh-report-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.gh-report-game-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
}

.gh-report-game-btn:hover .gh-report-game-name {
  color: #818cf8;
  text-decoration: underline;
}

.gh-report-isp-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(71, 85, 105, 0.45);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
}

.gh-report-issue-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.52rem;
  border-radius: 6px;
}

.gh-report-issue-tag.rose {
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.38);
  color: #fda4af;
}

.gh-report-issue-tag.amber {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.38);
  color: #fcd34d;
}

.gh-report-issue-tag.indigo {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
}

.gh-report-ping-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
}

.gh-report-note {
  flex: 1;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

.gh-report-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-shrink: 0;
}

.gh-report-time {
  font-size: 0.74rem;
  color: #64748b;
  white-space: nowrap;
}

.gh-same-issue-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.72rem;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(71, 85, 105, 0.55);
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 150ms ease;
}

.gh-same-issue-btn:hover,
.gh-same-issue-btn.voted {
  background: rgba(79, 70, 229, 0.28);
  border-color: #818cf8;
  color: #ffffff;
}

.gh-same-issue-count {
  color: #93c5fd;
}

/* ============================================================================
   17. FULL-PAGE DEDICATED ERROR RESOLUTION VIEW (/errors & /errors/:slug)
   ============================================================================ */
.dedicated-error-view {
  display: block;
  padding-bottom: 4rem;
  animation: spFadeIn 220ms ease-out;
}

.dedicated-error-view[hidden] {
  display: none !important;
}

.err-page-container {
  padding-top: 1.5rem;
}

/* Breadcrumbs */
.err-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.err-breadcrumb-link {
  color: #818cf8;
  text-decoration: none;
  transition: color 150ms ease;
}

.err-breadcrumb-link:hover {
  color: #a5b4fc;
  text-decoration: underline;
}

.err-breadcrumb-sep {
  color: #475569;
}

.err-breadcrumb-current {
  color: #e2e8f0;
  font-weight: 600;
}

/* Hero Card */
.err-hero-card {
  background: radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
              rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.err-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.err-category-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(51, 65, 85, 0.6);
  border: 1px solid rgba(100, 116, 139, 0.4);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.err-hero-heading {
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.err-hero-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 900px;
}

/* Parent Platform Status Card */
.err-parent-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(71, 85, 105, 0.4);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.err-parent-status-left {
  flex: 1 1 500px;
}

.err-parent-status-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: #f1f5f9;
}

.err-parent-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.err-parent-badge.online {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.err-parent-badge.degraded {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.err-parent-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.err-parent-desc strong {
  color: #f8fafc;
}

.err-parent-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #c7d2fe;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 160ms ease;
}

.err-parent-btn:hover {
  background: rgba(99, 102, 241, 0.3);
  color: #ffffff;
  border-color: #818cf8;
}

/* Content Blocks & Step Cards */
.err-content-block {
  margin-bottom: 3rem;
}

.err-block-header {
  margin-bottom: 1.5rem;
}

.err-block-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.err-block-subtitle {
  font-size: 0.92rem;
  color: #94a3b8;
  margin: 0;
}

.err-step-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.err-step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 160ms ease;
}

.err-step-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
}

.err-step-num-badge {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.err-step-body {
  flex: 1 1 auto;
}

.err-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.45rem;
}

.err-step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.err-step-desc code {
  background: rgba(30, 41, 59, 0.9);
  color: #38bdf8;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.88em;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.err-step-vote-col {
  flex-shrink: 0;
}

.err-upvote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.6);
  color: #cbd5e1;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease;
}

.err-upvote-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #818cf8;
  color: #ffffff;
}

.err-upvote-btn.voted {
  background: rgba(16, 185, 129, 0.2);
  border-color: #34d399;
  color: #34d399;
}

.err-upvote-count {
  font-family: monospace;
  font-weight: 700;
}

/* Diagnostic Tool CTA Card */
.err-tool-cta-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.err-tool-cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.err-tool-cta-info {
  flex: 1 1 450px;
}

.err-tool-cta-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.err-tool-cta-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
}

.err-tool-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #4f46e5;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms ease;
}

.err-tool-cta-btn:hover {
  background: #4338ca;
}

/* FAQ Accordions */
.err-faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.err-faq-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 150ms ease;
}

.err-faq-card[open] {
  border-color: rgba(99, 102, 241, 0.4);
}

.err-faq-question {
  padding: 1rem 1.25rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #f1f5f9;
  cursor: pointer;
  user-select: none;
  list-style: none;
  position: relative;
}

.err-faq-question::-webkit-details-marker {
  display: none;
}

.err-faq-question::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: #818cf8;
}

.err-faq-card[open] .err-faq-question::after {
  content: '−';
}

.err-faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.err-faq-answer p {
  margin: 0;
}

/* Related Errors Grid */
.err-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.err-related-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none;
  transition: all 180ms ease;
}

.err-related-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
  background: rgba(30, 41, 59, 0.6);
}

.err-related-card-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.err-related-cat {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}

.err-related-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.err-related-desc {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #94a3b8;
  flex-grow: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.err-related-link-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #818cf8;
}

/* ============================================================================
   18. ERRORS DIRECTORY HUB (/errors)
   ============================================================================ */
.err-hub-hero {
  text-align: center;
  max-width: 820px;
  margin: 1rem auto 2.5rem;
}

.err-hub-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #818cf8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.err-hub-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.err-hub-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 2rem;
}

.err-hub-search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.err-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.err-hub-search-input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 3rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.6);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 160ms ease;
}

.err-hub-search-input:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

.err-hub-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.err-filter-tab {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(71, 85, 105, 0.45);
  color: #cbd5e1;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease;
}

.err-filter-tab:hover {
  background: rgba(51, 65, 85, 0.7);
  color: #ffffff;
}

.err-filter-tab.active {
  background: #4f46e5;
  border-color: #6366f1;
  color: #ffffff;
}

.err-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.err-hub-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(51, 65, 85, 0.55);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 180ms ease;
}

.err-hub-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4);
}

.err-hub-card-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.err-hub-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.err-hub-card-title a {
  color: #f8fafc;
  text-decoration: none;
  transition: color 150ms ease;
}

.err-hub-card-title a:hover {
  color: #818cf8;
}

.err-hub-card-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #94a3b8;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.err-hub-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(51, 65, 85, 0.4);
}

.err-hub-service-hint {
  font-size: 0.78rem;
  color: #64748b;
}

.err-hub-service-hint strong {
  color: #cbd5e1;
}

.err-hub-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 150ms ease;
}

.err-hub-card-btn:hover {
  background: rgba(99, 102, 241, 0.28);
  border-color: #818cf8;
  color: #ffffff;
}



