:root {
  color-scheme: light dark;
  --bg-primary: #020309;
  --bg-secondary: rgba(255, 255, 255, 0.04);
  --bg-blur: rgba(14, 16, 22, 0.6);
  --accent: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.6);
  --accent-soft: rgba(255, 255, 255, 0.12);
  --status-online: rgba(102, 255, 209, 0.9);
  --status-pending: rgba(255, 222, 102, 0.95);
  --status-offline: rgba(255, 128, 128, 0.95);
  --text-primary: #f7f8fb;
  --text-secondary: rgba(237, 239, 247, 0.72);
  --text-muted: rgba(198, 205, 221, 0.42);
  --tag-bg: rgba(255, 255, 255, 0.08);
  --tag-color: rgba(255, 255, 255, 0.9);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --glow-ring: rgba(255, 255, 255, 0.18);
  --glow-core: rgba(255, 255, 255, 0.45);
  --grid-line: rgba(255, 255, 255, 0.04);
  --mono-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  --stream-visible-rows: 5;
  --stream-row-approx: 96px;
  --surface-bg-base: #020309;
  --surface-bg-gradient:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.04), transparent 42%),
    radial-gradient(circle at 78% 10%, rgba(86, 124, 255, 0.08), transparent 50%),
    linear-gradient(190deg, #020205 0%, #04050b 55%, #010103 100%);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--surface-bg-gradient);
  color: var(--text-primary);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--surface-bg-gradient);
  background-color: var(--surface-bg-base);
  color: var(--text-primary);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.plugins-section {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  max-height: none;
  overflow: visible;
  margin-bottom: 0;
  width: 100%;
}

.plugins-shell {
  background: linear-gradient(150deg, rgba(26, 28, 36, 0.42), rgba(16, 18, 24, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 28px) clamp(18px, 4vw, 36px) clamp(22px, 3.4vw, 34px);
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 2px 24px rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(32px);
  transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 2vw, 20px);
  min-height: max(360px, calc(72vh - 120px));
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.plugins-section.hidden {
  pointer-events: none;
  display: none;
}

.plugins-section.hidden .plugins-shell {
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
}

@media (max-width: 1080px) {
  .plugins-shell {
    width: 100%;
    min-height: max(320px, calc(70vh - 112px));
  }
}

@media (max-width: 720px) {
  .plugins-shell {
    padding: clamp(14px, 6vw, 22px);
    min-height: max(300px, calc(68vh - 120px));
    gap: clamp(6px, 2.6vw, 14px);
  }
}
