:root {
  --bg: #06070d;
  --bg-alt: #0b0f1a;
  --ink: #f1f5ff;
  --ink-soft: rgba(241, 245, 255, 0.65);
  --ink-muted: rgba(241, 245, 255, 0.52);
  --ink-inverse: #05060c;
  --text: var(--ink);
  --muted: var(--ink-soft);
  --surface: rgba(12, 16, 28, 0.95);
  --surface-soft: rgba(12, 16, 28, 0.7);
  --surface-strong: #060914;
  --line: rgba(120, 130, 170, 0.2);
  --accent: #00f5a0;
  --accent-strong: #00bbf9;
  --accent-warm: #ff6a00;
  --accent-soft: rgba(0, 245, 160, 0.18);
  --success: #2aff91;
  --error: #ff4d6d;
  --shadow: 0 28px 60px rgba(3, 8, 22, 0.55);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1280px, calc(100vw - 32px));
  --caps-track: 0.12em;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(0, 245, 160, 0.2), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(0, 187, 249, 0.2), transparent 38%),
    radial-gradient(circle at 50% 90%, rgba(255, 106, 0, 0.16), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(0, 245, 160, 0.35);
  color: var(--ink-inverse);
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 rgba(0, 245, 160, 0.0);
  }
  50% {
    box-shadow: 0 0 24px rgba(0, 245, 160, 0.25);
  }
  100% {
    box-shadow: 0 0 0 rgba(0, 245, 160, 0.0);
  }
}

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

@keyframes neon-sweep {
  to {
    transform: rotate(1turn);
  }
}

@keyframes scanline-drift {
  0% {
    transform: translateY(-12%);
  }
  100% {
    transform: translateY(12%);
  }
}

@keyframes holo-rotate {
  to {
    transform: rotate(1turn);
  }
}

@keyframes holo-breathe {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.985);
  }
  50% {
    opacity: 0.86;
    transform: scale(1);
  }
}

@keyframes holo-sweep {
  0% {
    transform: translateY(-170%);
    opacity: 0;
  }
  12% {
    opacity: 0.88;
  }
  55% {
    opacity: 0.72;
  }
  100% {
    transform: translateY(170%);
    opacity: 0;
  }
}

.card,
.content-card,
.panel-card,
.hero-card,
.feature-card,
.faq-card,
.trust-card {
  animation-duration: 0.5s;
}

.content-card,
.panel-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.content-card:hover,
.panel-card:hover {
  transform: translateY(-2px);
}

.content-card:hover,
.panel-card:hover {
  border-color: rgba(0, 245, 160, 0.35);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(transparent 0%, rgba(255, 255, 255, 0.035) 50%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 50px);
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: screen;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

input,
textarea,
select {
  background: rgba(6, 7, 13, 0.85);
  border: 1px solid rgba(0, 245, 160, 0.25);
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(0, 245, 160, 0.6);
  outline-offset: 2px;
  border-color: rgba(0, 245, 160, 0.5);
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(11, 15, 26, 0.88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(3, 8, 22, 0.35);
}

.nav-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "brand actions"
    "nav nav";
  align-items: center;
  gap: 14px 18px;
  padding: 14px 0 16px;
}

.brand-mark {
  grid-area: brand;
  justify-self: start;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.brand-mark:hover small {
  color: rgba(0, 245, 160, 0.8);
}

.brand-mark:hover {
  background: rgba(0, 245, 160, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.2);
}

.brand-mark strong,
.hero h1,
.section-heading h1,
.section-heading h2,
.content-card h1,
.content-card h2,
.chat-sidebar__header h1,
.chat-main__header h2 {
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-mark small,
.meta,
.eyebrow,
.footer-label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.75rem;
  letter-spacing: var(--caps-track);
  text-transform: uppercase;
}

.brand-mark__logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(6, 7, 13, 0.8);
  border: 1px solid rgba(0, 245, 160, 0.35);
  box-shadow: 0 16px 40px rgba(0, 245, 160, 0.15);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 16px 40px rgba(0, 245, 160, 0.15),
    inset 0 0 0 1px rgba(0, 245, 160, 0.12);
}

.brand-mark__logo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark__logo::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 1;
  background: conic-gradient(
    from 0deg,
    rgba(0, 245, 160, 0),
    rgba(0, 245, 160, 0.32),
    rgba(0, 187, 249, 0.38),
    rgba(0, 245, 160, 0)
  );
  animation: neon-sweep 5s linear infinite;
}

.brand-mark__logo::after {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: 3;
  border-radius: 10px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  pointer-events: none;
}

.main-nav,
.nav-actions,
.button-row,
.panel-heading,
.action-stack {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inline-form {
  flex-wrap: wrap;
}

.inline-form .button,
.inline-form .button--ghost {
  min-height: 38px;
}

.inline-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.inline-form label input,
.inline-form label select {
  min-height: 40px;
}

.main-nav {
  grid-area: nav;
  flex: 1 1 560px;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid rgba(0, 245, 160, 0.14);
}

.nav-actions {
  grid-area: actions;
  flex: 0 1 auto;
  justify-content: flex-end;
  flex-wrap: wrap;
  justify-self: end;
  gap: 10px;
  row-gap: 8px;
}

.nav-actions form {
  margin: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.4);
  background: rgba(6, 7, 13, 0.85);
  gap: 4px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (min-width: 1201px) {
  .nav-toggle {
    display: none;
  }
}

.site-header.is-menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.28);
  background: rgba(6, 7, 13, 0.8);
}

.site-search input {
  min-height: 34px;
  min-width: 160px;
  border-radius: 8px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  padding: 0 10px;
  font-size: 0.8rem;
}

.site-search input::placeholder {
  color: var(--ink-soft);
}

.panel-heading {
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 245, 160, 0.12);
}

.panel-heading .status-pill {
  align-self: center;
}

.panel-heading h2,
.panel-heading h3 {
  margin: 4px 0 0;
  letter-spacing: var(--caps-track);
  text-transform: uppercase;
}

.panel-heading--admin {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(6, 7, 13, 0.7);
  border: 1px solid rgba(0, 187, 249, 0.25);
  box-shadow: inset 0 0 18px rgba(0, 187, 249, 0.08);
}

.panel-heading--admin + .inline-form,
.panel-heading--admin + .form-grid,
.panel-heading--admin + .table-wrap {
  margin-top: 14px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.6);
  background: rgba(6, 7, 13, 0.95);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: all 0.2s ease;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(4px);
}

.lang-switch select {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.35);
  background: rgba(6, 7, 13, 0.9);
  color: var(--ink);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: var(--caps-track);
}

.lang-switch--pill select {
  min-width: 150px;
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.18), rgba(0, 187, 249, 0.2)),
    rgba(6, 7, 13, 0.92);
  border-color: rgba(0, 245, 160, 0.5);
  box-shadow: inset 0 0 12px rgba(0, 245, 160, 0.18);
}

.theme-switch select {
  min-width: 120px;
}

.nav-actions .lang-switch--pill select {
  min-width: 126px;
}

.theme-swatches {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.theme-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.4);
  background: rgba(226, 232, 240, 0.2);
  padding: 0;
}

.theme-dot.is-active {
  box-shadow: 0 0 8px rgba(0, 245, 160, 0.8);
  border-color: rgba(0, 245, 160, 0.8);
}

.theme-dot--neon {
  background: #00f5a0;
}

.theme-dot--slate {
  background: #60a5fa;
}

.theme-dot--ember {
  background: #fb7185;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.78rem;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  line-height: 1;
}

.main-nav a::after {
  content: "";
  display: block;
  margin-top: 6px;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.8), rgba(0, 187, 249, 0.7));
  transition: width 0.2s ease;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: var(--ink);
  background: rgba(0, 245, 160, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(0, 245, 160, 0.3),
    0 10px 18px rgba(0, 245, 160, 0.16);
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
  width: 100%;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid var(--line);
  max-width: 260px;
}

.user-pill:hover {
  border-color: rgba(0, 245, 160, 0.5);
  background: rgba(0, 245, 160, 0.18);
}

.user-pill__avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink);
}

.user-pill strong,
.user-pill small {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink-inverse);
  box-shadow: 0 18px 30px rgba(0, 245, 160, 0.25);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.82rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.button-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.button:focus-visible,
.button--ghost:focus-visible {
  outline: 2px solid rgba(0, 245, 160, 0.7);
  outline-offset: 2px;
}

.button:hover {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(0, 245, 160, 0.3);
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  border: 1px solid rgba(0, 245, 160, 0.4);
}

.button--ghost:hover {
  background: rgba(0, 245, 160, 0.16);
  border-color: rgba(0, 245, 160, 0.7);
}

.button--ghost.is-active {
  background: rgba(0, 245, 160, 0.2);
  border-color: rgba(0, 245, 160, 0.7);
}

.button--danger {
  background: linear-gradient(135deg, #ff4d6d, #ff6a00);
}

.button--small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.78rem;
}

.button--ghost.button--small {
  letter-spacing: var(--caps-track);
}

.global-search-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.global-search-form label {
  display: grid;
  gap: 6px;
  min-width: 240px;
  flex: 1;
}

.global-search-form input {
  min-height: 42px;
}

.search-summary {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.search-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.result-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.16);
  background: rgba(6, 7, 13, 0.7);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.result-item:hover {
  border-color: rgba(0, 245, 160, 0.45);
  transform: translateY(-1px);
}

.result-item h3 {
  margin: 0;
  font-size: 0.92rem;
}

.result-item p {
  margin: 0;
  color: var(--ink-soft);
}

.result-item small {
  color: var(--ink-soft);
}

.hero {
  padding: 70px 0 40px;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-gridlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(0, 245, 160, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 187, 249, 0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.9), transparent 70%);
}

.hero-gridlines::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(0, 245, 160, 0.18), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(0, 187, 249, 0.2), transparent 45%),
    radial-gradient(circle at 50% 70%, rgba(0, 187, 249, 0.12), transparent 55%);
  opacity: 0.8;
}

.hero--impact {
  padding: 90px 0 60px;
}

.hero--frame {
  padding: 90px 0 60px;
}

.hero--command {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(0, 245, 160, 0.08), transparent 42%),
    radial-gradient(circle at 82% 15%, rgba(0, 187, 249, 0.12), transparent 45%),
    linear-gradient(120deg, rgba(6, 9, 18, 0.96), rgba(6, 10, 20, 0.92));
  background-blend-mode: screen, screen, normal;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
  mix-blend-mode: screen;
}

.hero-scanline-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(186, 244, 224, 0.07),
      rgba(186, 244, 224, 0.07) 1px,
      transparent 1px,
      transparent 4px
    );
  animation: scanline-drift 11s linear infinite;
}

.hero--neon {
  position: relative;
}

.hero--neon::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 245, 160, 0.18), transparent 40%),
    radial-gradient(circle at 86% 12%, rgba(0, 187, 249, 0.16), transparent 42%),
    radial-gradient(circle at 60% 80%, rgba(255, 106, 0, 0.12), transparent 45%);
  pointer-events: none;
  opacity: 0.9;
}

.hero--neon::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 5px
    );
  opacity: 0.35;
  pointer-events: none;
}

.theme-slate .hero--neon::before {
  background:
    radial-gradient(circle at 12% 12%, rgba(96, 165, 250, 0.2), transparent 40%),
    radial-gradient(circle at 86% 12%, rgba(56, 189, 248, 0.18), transparent 42%),
    radial-gradient(circle at 60% 80%, rgba(245, 158, 11, 0.14), transparent 45%);
}

.theme-ember .hero--neon::before {
  background:
    radial-gradient(circle at 12% 12%, rgba(251, 113, 133, 0.22), transparent 40%),
    radial-gradient(circle at 86% 12%, rgba(249, 115, 22, 0.2), transparent 42%),
    radial-gradient(circle at 60% 80%, rgba(250, 204, 21, 0.14), transparent 45%);
}

.hero--v2 .hero-grid {
  align-items: center;
}

.hero-grid,
.two-column-layout,
.admin-grid,
.chat-shell {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
}

.hero-grid--frame {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 44px;
}

.hero-grid--command {
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-grid--impact {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}

.hero-copy,
.hero-panel__card,
.content-card,
.card,
.flash {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

.hero-copy {
  padding: 44px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(0, 245, 160, 0.08), transparent 45%),
    linear-gradient(320deg, rgba(0, 187, 249, 0.12), transparent 55%),
    var(--surface);
}

.hero-copy--impact {
  padding: 56px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 245, 160, 0.2), transparent 50%),
    linear-gradient(140deg, rgba(0, 187, 249, 0.2), transparent 55%),
    var(--surface);
}

.hero-card {
  border-radius: 32px;
  background: rgba(6, 9, 18, 0.92);
  border: 1px solid rgba(0, 187, 249, 0.2);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-card,
.hero-stack {
  min-width: 0;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(0, 245, 160, 0.14), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(0, 187, 249, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), transparent 50%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-card--neon {
  background:
    linear-gradient(160deg, rgba(0, 245, 160, 0.12), transparent 35%),
    linear-gradient(320deg, rgba(0, 187, 249, 0.18), transparent 55%),
    rgba(6, 9, 18, 0.96);
  border: 1px solid rgba(0, 245, 160, 0.18);
  animation: glowPulse 3.5s ease-in-out infinite;
}

.hero-card--primary.hero-card--neon {
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 245, 160, 0.18), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(0, 187, 249, 0.2), transparent 45%),
    rgba(6, 9, 18, 0.96);
  border-color: rgba(0, 245, 160, 0.28);
  box-shadow:
    0 24px 44px rgba(2, 8, 20, 0.55),
    inset 0 0 0 1px rgba(0, 245, 160, 0.08);
  min-height: 520px;
}

.hero-card--primary.hero-card--neon::after {
  border-color: rgba(0, 245, 160, 0.28);
  box-shadow: inset 0 0 24px rgba(0, 245, 160, 0.08);
}

.hero-card--primary.hero-card--neon:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 160, 0.5);
  box-shadow: 0 32px 64px rgba(2, 8, 20, 0.65);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 22px;
  border: 1px dashed rgba(0, 245, 160, 0.25);
  pointer-events: none;
}

.hero-card__inner {
  padding: 32px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-width: 0;
  display: grid;
  gap: 16px;
  backdrop-filter: blur(8px);
}

.hero-card__inner > * {
  position: relative;
  z-index: 1;
}

.hero-art {
  position: absolute;
  inset: -20% -10% auto;
  height: 60%;
  pointer-events: none;
  opacity: 0.8;
  z-index: 0;
}

.hero-art__ring,
.hero-art__grid,
.hero-art__pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.hero-art__ring {
  width: 240px;
  height: 240px;
  left: -60px;
  top: -40px;
  border: 1px solid rgba(0, 245, 160, 0.35);
  box-shadow: 0 0 40px rgba(0, 245, 160, 0.2);
  backdrop-filter: blur(2px);
}

.hero-art__grid {
  width: 300px;
  height: 180px;
  left: 120px;
  top: -30px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(0, 245, 160, 0.1), transparent),
    repeating-linear-gradient(90deg, rgba(0, 187, 249, 0.08), rgba(0, 187, 249, 0.08) 1px, transparent 1px, transparent 22px),
    repeating-linear-gradient(0deg, rgba(0, 187, 249, 0.08), rgba(0, 187, 249, 0.08) 1px, transparent 1px, transparent 18px);
  border: 1px solid rgba(0, 187, 249, 0.25);
}

.hero-art__pulse {
  width: 120px;
  height: 120px;
  left: 62%;
  top: 10%;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.4), transparent 70%);
  animation: glowPulse 3.5s ease-in-out infinite;
  filter: blur(0.2px);
}

.hero-card__inner::before {
  content: "";
  position: absolute;
  right: -20%;
  top: -10%;
  width: 60%;
  height: 60%;
  background: url("/assets/logo.bmp") center / contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
  filter: grayscale(1);
}

.hero-card__inner::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  pointer-events: none;
  opacity: 0.6;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.hero-title {
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: clamp(1.15rem, 1.9vw, 2.05rem);
  line-height: 1.12;
  margin: 10px 0 14px;
  display: grid;
  gap: 6px;
  max-width: min(30ch, 100%);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-shadow:
    0 12px 26px rgba(3, 8, 22, 0.65),
    0 0 18px rgba(0, 245, 160, 0.14);
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-title span {
  display: block;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  max-width: 100%;
}

.hero-lead {
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 48ch;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.hero-card__inner .button-row {
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-card__inner .button {
  min-width: 160px;
  box-shadow: 0 12px 20px rgba(0, 245, 160, 0.16);
}

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

.hero-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.hero-insights--stack {
  grid-template-columns: 1fr;
}

.hero-insights--stack .hero-insight {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
}

.hero-insights--stack .hero-insight strong {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.hero-insights--stack .hero-insight p {
  margin: 0;
  justify-self: end;
  text-align: right;
  font-size: 0.82rem;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(6, 9, 18, 0.65);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.hero-kpis--mini {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 10px;
  gap: 10px;
}

.hero-kpi {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.18);
  background: rgba(5, 8, 16, 0.6);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-kpi:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 245, 160, 0.4);
  box-shadow:
    inset 0 0 0 1px rgba(0, 245, 160, 0.12),
    0 10px 20px rgba(0, 245, 160, 0.16);
}

.hero-kpi::before {
  content: "";
  width: 18px;
  height: 2px;
  background: rgba(0, 245, 160, 0.7);
  border-radius: 999px;
}

.hero-kpi strong {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.hero-kpi .meta {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  color: rgba(226, 232, 240, 0.7);
}

.hero-insight {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  display: grid;
  gap: 6px;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-insight:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 245, 160, 0.4);
  box-shadow:
    inset 0 0 0 1px rgba(0, 245, 160, 0.12),
    0 10px 20px rgba(0, 245, 160, 0.16);
}

.hero-insight::before {
  content: "";
  width: 18px;
  height: 2px;
  background: rgba(0, 187, 249, 0.7);
  border-radius: 999px;
}

.hero-insight strong {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-insight p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-transform: none;
  letter-spacing: 0.04em;
}

.hero-signal {
  border-radius: 16px;
  border: 1px solid rgba(0, 187, 249, 0.25);
  background: rgba(6, 7, 13, 0.7);
  padding: 12px 14px;
}

.hero-stack {
  display: grid;
  gap: 18px;
}

.hero-command {
  display: grid;
  gap: 20px;
  position: relative;
}

.hero-command > .command-card {
  border-radius: 20px;
}

.hero-command::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 245, 160, 0.18), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(0, 187, 249, 0.18), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-command::after {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(0, 245, 160, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 187, 249, 0.06) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.3;
  pointer-events: none;
}

.command-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 18px;
  background: rgba(6, 7, 13, 0.88);
  border: 1px solid rgba(0, 187, 249, 0.22);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.command-card--stack {
  display: grid;
  gap: 12px;
}

.command-card--stack .command-card {
  background: rgba(5, 8, 16, 0.75);
  border-color: rgba(0, 187, 249, 0.16);
  box-shadow: inset 0 0 0 1px rgba(0, 187, 249, 0.08);
}

.command-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 245, 160, 0.22);
  pointer-events: none;
  opacity: 0.7;
}

.command-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 160, 0.45);
  box-shadow:
    0 22px 36px rgba(2, 8, 20, 0.45),
    inset 0 0 0 1px rgba(0, 245, 160, 0.1);
}

.command-card--preview {
  display: grid;
  gap: 10px;
  min-height: 140px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 245, 160, 0.2), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(0, 187, 249, 0.2), transparent 50%),
    rgba(6, 9, 18, 0.92);
}

.command-card--preview::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 60%;
  height: 70%;
  background: url("/assets/logo.bmp") center / contain no-repeat;
  opacity: 0.05;
  filter: grayscale(1);
  pointer-events: none;
}

.command-card--preview h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.command-card--preview p {
  margin: 0;
  color: var(--ink-soft);
}

.command-card--art {
  display: grid;
  gap: 12px;
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.08), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0, 187, 249, 0.25), transparent 55%),
    rgba(6, 9, 18, 0.92);
}

.command-card--art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 6px
    );
  opacity: 0.25;
  pointer-events: none;
}

.command-card--art::after {
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow: 0 0 0 2px rgba(0, 245, 160, 0.06) inset;
}

.art-badge {
  justify-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.4);
  background: rgba(0, 245, 160, 0.12);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.68rem;
  font-weight: 700;
}

.command-card--art h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.command-card--art p {
  margin: 0;
  color: var(--ink-soft);
}

.art-stats {
  display: flex;
  gap: 18px;
}

.art-stats strong {
  display: block;
  font-size: 1.1rem;
}

.command-card--logo {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.command-logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  padding: 12px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 245, 160, 0.35), transparent 55%),
    rgba(6, 9, 18, 0.95);
  border: 1px solid rgba(0, 245, 160, 0.4);
  box-shadow: 0 18px 36px rgba(0, 245, 160, 0.22);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.command-logo--holo {
  isolation: isolate;
}

.command-logo--holo::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 1;
  background: conic-gradient(
    from 0deg,
    rgba(0, 245, 160, 0),
    rgba(0, 245, 160, 0.34),
    rgba(0, 187, 249, 0.36),
    rgba(0, 245, 160, 0)
  );
  opacity: 0.45;
  animation: holo-rotate 6s linear infinite;
  pointer-events: none;
}

.command-logo--holo::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 3;
  border-radius: 14px;
  border: 1px dashed rgba(0, 245, 160, 0.24);
  box-shadow: inset 0 0 16px rgba(0, 245, 160, 0.14);
  animation: holo-breathe 2.8s ease-in-out infinite;
  pointer-events: none;
}

.command-logo__pulse {
  position: absolute;
  left: -14px;
  right: -14px;
  top: 50%;
  height: 4px;
  z-index: 4;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 160, 0.85), transparent);
  filter: blur(0.3px);
  transform: translateY(-50%);
  animation: holo-sweep 2.2s linear infinite;
  pointer-events: none;
}

.command-logo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.command-card--stats .stats-grid--hero {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.command-card--modules {
  display: grid;
  gap: 12px;
}

.command-card--stack .command-card--stats {
  padding: 14px;
}

.command-card--timeline .panel-heading {
  margin-bottom: 8px;
}

.timeline-list {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.timeline-item strong {
  display: block;
  margin-bottom: 4px;
}

.timeline-item small {
  color: rgba(226, 232, 240, 0.7);
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0, 245, 160, 0.6);
}

.command-card--cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.25);
  padding: 14px 18px;
}

.command-card--cta span {
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.hero-stack--neon .panel-card {
  background: rgba(6, 7, 13, 0.86);
}

.hero-stack--neon {
  position: relative;
  overflow: hidden;
}

.hero-stack--neon::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 60%;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 245, 160, 0.2), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(0, 187, 249, 0.2), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-stack--neon::after {
  content: "";
  position: absolute;
  inset: auto -10% -30%;
  height: 60%;
  background:
    repeating-linear-gradient(45deg, rgba(0, 245, 160, 0.06), rgba(0, 245, 160, 0.06) 1px, transparent 1px, transparent 18px),
    radial-gradient(circle at 60% 60%, rgba(255, 106, 0, 0.16), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-stack--neon > * {
  position: relative;
  z-index: 1;
}

.panel-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(6, 7, 13, 0.88);
  border: 1px solid rgba(0, 187, 249, 0.25);
  box-shadow: var(--shadow);
}

.panel-card--logo {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
  min-width: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 245, 160, 0.16), transparent 55%),
    rgba(6, 7, 13, 0.88);
}

.panel-title {
  min-width: 0;
}

.panel-title strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  max-width: 18ch;
  overflow-wrap: anywhere;
}

.panel-title span {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.72rem;
}

.panel-card--metrics {
  background: rgba(6, 10, 18, 0.95);
  position: relative;
  overflow: hidden;
}

.panel-card--metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 245, 160, 0.12), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.panel-card--metrics > * {
  position: relative;
  z-index: 1;
}
.panel-card--map {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(0, 187, 249, 0.28);
  background: rgba(6, 9, 16, 0.92);
  position: relative;
  overflow: hidden;
}

.panel-card--visual {
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 245, 160, 0.2), transparent 45%),
    rgba(6, 9, 18, 0.92);
  border: 1px solid rgba(0, 245, 160, 0.35);
  position: relative;
  overflow: hidden;
}

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

.visual-tile {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(6, 7, 13, 0.7);
  display: grid;
  gap: 6px;
}

.visual-tile strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.visual-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.35);
  overflow: hidden;
}

.visual-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.9), rgba(0, 187, 249, 0.85));
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.5);
}

.panel-card--map::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.2);
  pointer-events: none;
}

.map-row {
  display: grid;
  gap: 8px;
}

.map-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.35);
  overflow: hidden;
}

.map-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.9), rgba(0, 187, 249, 0.85));
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.6);
}

.panel-card--cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.25);
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}

.panel-card--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.12), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.panel-card--cta::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  pointer-events: none;
}

.panel-card--cta span {
  color: var(--ink-soft);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 245, 160, 0.3);
  pointer-events: none;
}

.hero-copy--impact::after {
  inset: 20px;
  border-radius: 22px;
}

.hero .hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 12px 0 18px;
}

.hero-copy p,
.lead,
.rich-text,
.content-card p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-copy--glow::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.12), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-copy--glow h1,
.hero-copy--glow p,
.hero-copy--glow .button-row,
.hero-copy--glow .hero-badges {
  position: relative;
  z-index: 1;
}

.hero-panel__card {
  height: 100%;
  padding: 28px;
  background:
    linear-gradient(160deg, #05060c, #101c2b),
    radial-gradient(circle at top right, rgba(0, 187, 249, 0.4), transparent 60%);
  color: var(--ink);
  border: 1px solid rgba(0, 187, 249, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 22px 40px rgba(2, 8, 20, 0.5),
    inset 0 0 0 1px rgba(0, 187, 249, 0.12);
  backdrop-filter: blur(8px);
}

.hero-panel__card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 187, 249, 0.2);
  pointer-events: none;
  opacity: 0.7;
}

.hero-panel__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(0, 245, 160, 0.12), transparent 45%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-panel--impact {
  display: grid;
  gap: 20px;
}

.impact-stack {
  display: grid;
  gap: 16px;
}

.impact-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(6, 7, 13, 0.85);
  border: 1px solid rgba(0, 187, 249, 0.25);
  box-shadow: var(--shadow);
}

.impact-card--logo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-logo--impact {
  margin: 0;
  width: 120px;
  height: 120px;
  border-radius: 26px;
  padding: 8px;
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.2), rgba(0, 187, 249, 0.2)),
    rgba(8, 12, 20, 0.92);
  border: 1px solid rgba(0, 245, 160, 0.45);
  box-shadow: 0 18px 30px rgba(0, 245, 160, 0.25);
  overflow: hidden;
  flex: 0 0 120px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-logo--impact::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  pointer-events: none;
}

.impact-title strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.impact-title span {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}

.impact-card--metrics {
  background: rgba(6, 10, 18, 0.9);
}

.impact-card--cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.25);
}

.impact-card--cta span {
  color: var(--ink-soft);
}
.hero-panel__card--v2 {
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.hero-panel__card--v2::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.3);
  pointer-events: none;
}

.hero-logo {
  width: 100%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(6, 7, 13, 0.7);
  border: 1px solid rgba(0, 245, 160, 0.35);
}

.hero-logo--v2 {
  margin-bottom: 0;
  padding: 22px;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(0, 245, 160, 0.18), transparent 60%), rgba(6, 7, 13, 0.8);
}

.hero-metrics {
  position: relative;
  z-index: 1;
}

.hero-logo img {
  width: min(240px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(2, 6, 23, 0.8));
}

.hero-logo--impact img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-badges--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-signal {
  margin-top: 22px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(6, 7, 13, 0.7);
  border: 1px solid rgba(0, 187, 249, 0.25);
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.hero-signal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 187, 249, 0.08), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-signal::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.2);
  pointer-events: none;
}

.signal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.72rem;
}

.signal-label {
  color: var(--accent);
  font-weight: 700;
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.8);
}

.signal-dot,
.status-dot.is-online {
  animation: glowPulse 2.6s ease-in-out infinite;
}

.signal-text {
  color: var(--ink-soft);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.signal-grid strong {
  display: block;
  font-size: 1rem;
}

.panel-card--status {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(0, 187, 249, 0.35);
  background: rgba(6, 10, 18, 0.92);
  position: relative;
  overflow: hidden;
}

.panel-card--status::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.2);
  pointer-events: none;
}

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

.status-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.18);
  border: 1px solid rgba(0, 245, 160, 0.5);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: var(--caps-track);
  font-weight: 700;
  transition: all 0.2s ease;
}

.status-pill:hover {
  filter: brightness(1.08);
}

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

.status-grid strong {
  display: block;
  font-size: 0.95rem;
}

.status-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 187, 249, 0.12);
  overflow: hidden;
}

.status-bar span {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.7);
}

.status-bar span {
  animation: pulseBar 3.4s ease-in-out infinite;
}

@keyframes pulseBar {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.35);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  transition: all 0.2s ease;
}

.badge:hover {
  background: rgba(0, 245, 160, 0.2);
  border-color: rgba(0, 245, 160, 0.6);
}

.stats-grid,
.card-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.stats-grid--hero {
  margin-top: 14px;
}

.stat-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(6, 10, 18, 0.75);
  border: 1px solid rgba(0, 187, 249, 0.25);
  position: relative;
  overflow: hidden;
}

.stat-card--glow {
  box-shadow: inset 0 0 18px rgba(0, 245, 160, 0.12);
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.2);
  pointer-events: none;
}

.hero-cta-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.14), rgba(0, 187, 249, 0.08)),
    rgba(6, 7, 13, 0.8);
  border: 1px solid rgba(0, 245, 160, 0.3);
  box-shadow: inset 0 0 20px rgba(0, 245, 160, 0.12);
  overflow: hidden;
}

.hero-cta-strip span {
  color: var(--ink-soft);
}

.hero-cta-strip::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  pointer-events: none;
}
.stat-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 6px;
}

.stat-card span {
  color: rgba(226, 232, 240, 0.7);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
}

.section {
  padding: 54px 0 82px;
}

.section--muted {
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 245, 160, 0.08), transparent 45%),
    rgba(6, 10, 18, 0.6);
}

.section--feature {
  position: relative;
}

.section--feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(0, 245, 160, 0.1), transparent 40%);
  pointer-events: none;
}

.section--news {
  position: relative;
}

.section--news::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(0, 187, 249, 0.08), transparent 40%);
  pointer-events: none;
}

.section--news .container,
.section--feature .container {
  position: relative;
  z-index: 1;
}

.section--faq {
  position: relative;
}

.section--faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 15%, rgba(0, 187, 249, 0.12), transparent 45%);
  pointer-events: none;
}

.section--metrics {
  padding-top: 24px;
  position: relative;
}

.section--metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(0, 187, 249, 0.12), transparent 45%);
  pointer-events: none;
}

.section--quicknav {
  padding: 10px 0 26px;
}

.quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quicknav__link {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.35);
  background: rgba(6, 7, 13, 0.8);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.72rem;
  color: var(--ink);
  transition: all 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.quicknav__link:focus-visible {
  outline: 2px solid rgba(0, 245, 160, 0.7);
  outline-offset: 2px;
}

.quicknav__link:hover {
  background: rgba(0, 245, 160, 0.2);
  border-color: rgba(0, 245, 160, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 245, 160, 0.18);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.metrics-strip .metric-card {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(6, 7, 13, 0.75);
  border: 1px solid rgba(0, 187, 249, 0.22);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.metrics-strip .metric-card:hover {
  border-color: rgba(0, 245, 160, 0.4);
  transform: translateY(-2px);
}

.metrics-strip .metric-card p {
  margin: 8px 0 0;
}

.admin-user-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
}

.admin-channel-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.admin-download-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
}

.admin-news-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
}

.admin-coin-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.admin-system-stats,
.admin-maintenance-stats,
.admin-reward-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.admin-support-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
}

.admin-media-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 24px;
}

.admin-support-detail-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.admin-limit-stats {
  grid-template-columns: minmax(0, 280px);
  margin-bottom: 24px;
}

.metric-card {
  padding: 20px 22px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 187, 249, 0.12), transparent 45%),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 187, 249, 0.25);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  display: grid;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 160, 0.4);
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 187, 249, 0.2);
  pointer-events: none;
  opacity: 0.7;
}

.metric-card:hover {
  border-color: rgba(0, 245, 160, 0.45);
  transform: translateY(-2px);
}

.metric-card strong {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}

.metric-card p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.9rem;
}

.metric-card .meta {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  color: rgba(226, 232, 240, 0.7);
}

.metric-card--accent {
  border-color: rgba(0, 245, 160, 0.4);
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.2), transparent 45%),
    rgba(6, 7, 13, 0.92);
}

.section--ops {
  position: relative;
}

.section--ops::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(0, 245, 160, 0.12), transparent 45%);
  pointer-events: none;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  row-gap: 14px;
  margin-bottom: 28px;
  position: relative;
  flex-wrap: wrap;
}

.section-heading .button-row,
.section-heading .button {
  align-self: center;
}

.heading-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 96px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.6), rgba(0, 187, 249, 0));
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.35);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
}

.admin-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 187, 249, 0.35);
  background: rgba(6, 7, 13, 0.7);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  transition: all 0.2s ease;
}

.admin-nav a.is-active,
.admin-nav a:hover {
  background: rgba(0, 245, 160, 0.2);
  border-color: rgba(0, 245, 160, 0.5);
  transform: translateY(-1px);
}

.admin-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 24px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.25);
  background: rgba(6, 7, 13, 0.6);
}

.admin-subnav a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.25);
  background: rgba(6, 7, 13, 0.75);
  color: rgba(226, 232, 240, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.65rem;
  transition: all 0.2s ease;
}

.admin-subnav a.is-active,
.admin-subnav a:hover {
  color: var(--ink);
  background: rgba(0, 245, 160, 0.18);
  border-color: rgba(0, 245, 160, 0.5);
}

.ops-strip {
  margin: 26px 0 28px;
  padding: 24px 28px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(0, 187, 249, 0.18), rgba(0, 245, 160, 0.1)),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 187, 249, 0.35);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ops-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 245, 160, 0.14), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.ops-strip > * {
  position: relative;
  z-index: 1;
}

.ops-strip:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 160, 0.45);
}

.ops-strip::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
}

.ops-strip__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.list-checkbox {
  display: grid;
  gap: 4px;
  justify-items: center;
  font-size: 0.7rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
}

.list-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.bulk-field {
  display: grid;
  gap: 6px;
  min-width: 160px;
}

.section-heading h1,
.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.news-heading {
  align-items: flex-start;
  gap: 16px;
}

.news-heading .button-row {
  margin-top: 12px;
}

.admin-heading {
  align-items: flex-start;
  gap: 16px;
}

.admin-heading .button-row {
  margin-top: 12px;
}

.section-subline {
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.7;
  margin: 12px 0 0;
  letter-spacing: 0.01em;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px auto 0;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.faq-card {
  padding: 22px 24px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(0, 187, 249, 0.1), transparent 45%),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 187, 249, 0.25);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  position: relative;
  overflow: hidden;
}

.faq-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 187, 249, 0.18);
  border: 1px solid rgba(0, 187, 249, 0.45);
  font-weight: 700;
  letter-spacing: var(--caps-track);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-size: 0.7rem;
}

.faq-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
  opacity: 0.7;
}

.faq-card:hover {
  border-color: rgba(0, 245, 160, 0.4);
  transform: translateY(-2px);
}

.faq-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.faq-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.tile-card {
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.1), transparent 45%),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 245, 160, 0.2);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  min-height: 220px;
  display: grid;
  gap: 12px;
}

.tile-card--accent {
  border-color: rgba(0, 187, 249, 0.45);
  background:
    linear-gradient(135deg, rgba(0, 187, 249, 0.18), transparent 50%),
    rgba(6, 7, 13, 0.92);
}

.tile-card:hover {
  border-color: rgba(0, 245, 160, 0.45);
  transform: translateY(-2px);
}

.tile-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(0, 187, 249, 0.18);
  border: 1px solid rgba(0, 187, 249, 0.5);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 187, 249, 0.12);
  font-size: 0.7rem;
}

.tile-card h3 {
  margin: 0;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tile-card p {
  color: var(--ink-soft);
  line-height: 1.6;
}

.section--neon-cta {
  padding-top: 32px;
}

.neon-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.18), rgba(0, 187, 249, 0.18)),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 245, 160, 0.35);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(0, 245, 160, 0.1);
  position: relative;
  overflow: hidden;
}

.neon-strip::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 245, 160, 0.25);
  pointer-events: none;
  opacity: 0.75;
}

.neon-strip .section-subline {
  margin-top: 8px;
}

.section--trust {
  padding-top: 38px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.trust-card {
  padding: 24px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0, 187, 249, 0.12), rgba(0, 245, 160, 0.12)),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  position: relative;
  overflow: hidden;
}

.trust-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.trust-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
  opacity: 0.7;
}

.trust-card:hover {
  border-color: rgba(0, 245, 160, 0.4);
  transform: translateY(-2px);
}

.trust-card--stack {
  display: grid;
  gap: 12px;
}

.trust-row {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.admin-kpis .kpi-card {
  position: relative;
  background:
    linear-gradient(140deg, rgba(0, 245, 160, 0.12), transparent 45%),
    rgba(6, 7, 13, 0.9);
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.admin-kpis .kpi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 187, 249, 0.12), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.admin-kpis .kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 245, 160, 0.45);
}

.admin-kpis .kpi-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 245, 160, 0.25);
  pointer-events: none;
}

.admin-kpis .kpi-card .meta {
  letter-spacing: var(--caps-track);
  color: rgba(226, 232, 240, 0.7);
}

.admin-kpis .kpi-card h2 {
  font-size: 2rem;
  margin: 6px 0 0;
}

.kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(226, 232, 240, 0.7);
}

.kpi-trend::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
}

.kpi-trend--up {
  color: #bbf7d0;
}

.kpi-trend--up::before {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.kpi-trend--flat {
  color: rgba(226, 232, 240, 0.6);
}

.kpi-trend--warn {
  color: #fed7aa;
}

.kpi-trend--warn::before {
  background: #fb923c;
  box-shadow: 0 0 8px rgba(251, 146, 60, 0.6);
}

.admin-kpis .kpi-card--warn {
  background:
    linear-gradient(140deg, rgba(255, 106, 0, 0.16), transparent 45%),
    rgba(6, 7, 13, 0.9);
  border-color: rgba(255, 106, 0, 0.35);
}

.admin-kpis .kpi-card--warn::after {
  border-color: rgba(255, 106, 0, 0.35);
}

.admin-focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 26px 0;
}

.admin-focus--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.focus-card {
  padding: 22px 24px;
  border-radius: 20px;
  background:
    linear-gradient(140deg, rgba(0, 245, 160, 0.12), transparent 45%),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.focus-card h3 {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

.focus-card .eyebrow {
  letter-spacing: 0.12em;
}

.focus-card--accent {
  background:
    linear-gradient(140deg, rgba(0, 187, 249, 0.2), transparent 50%),
    rgba(6, 7, 13, 0.92);
  border-color: rgba(0, 187, 249, 0.35);
}

.focus-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.card {
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 245, 160, 0.35);
  box-shadow: 0 26px 60px rgba(3, 8, 22, 0.6);
}

.card:focus-within {
  border-color: rgba(0, 245, 160, 0.6);
  box-shadow: 0 0 0 2px rgba(0, 245, 160, 0.2);
}

.download-card {
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 245, 160, 0.12), transparent 45%),
    rgba(6, 9, 18, 0.95);
  border: 1px solid rgba(0, 245, 160, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 245, 160, 0.45);
  box-shadow: 0 20px 45px rgba(0, 245, 160, 0.18);
}

.download-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  pointer-events: none;
  opacity: 0.7;
}

.download-card .card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(6, 7, 13, 0.7);
  border-bottom: 1px solid rgba(0, 245, 160, 0.2);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.download-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.download-card:hover .card-media img {
  transform: scale(1.02);
}

.download-card .card-body {
  padding: 18px 20px 20px;
  display: grid;
  gap: 12px;
}

.download-card .card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.download-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 187, 249, 0.3);
  background: rgba(0, 187, 249, 0.1);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 187, 249, 0.12);
}

.badge--vault {
  border-color: rgba(0, 245, 160, 0.35);
  background: rgba(0, 245, 160, 0.12);
}

.badge--secure {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.12);
}

.badge--fast {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.12);
}

.download-card h2,
.download-card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.download-card h2 a,
.download-card h3 a {
  color: var(--ink);
}

.download-card h2 a:hover,
.download-card h3 a:hover {
  color: var(--accent);
}

.download-card p {
  margin: 0;
  color: var(--ink-soft);
}

.news-card {
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 187, 249, 0.14), transparent 45%),
    rgba(6, 9, 18, 0.95);
  border: 1px solid rgba(0, 187, 249, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.12), transparent 55%);
  opacity: 0.45;
  pointer-events: none;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 187, 249, 0.45);
  box-shadow: 0 20px 45px rgba(0, 187, 249, 0.18);
}

.news-card .card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(6, 7, 13, 0.7);
  border-bottom: 1px solid rgba(0, 187, 249, 0.2);
  box-shadow: inset 0 0 0 1px rgba(0, 187, 249, 0.08);
}

.news-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.news-card:hover .card-media img {
  transform: scale(1.02);
}

.news-card .card-body {
  padding: 18px 20px 22px;
  display: grid;
  gap: 12px;
}

.news-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.article-summary {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 187, 249, 0.25);
  background: rgba(6, 7, 13, 0.75);
  margin-bottom: 14px;
}

.article-summary p {
  margin: 0;
  color: var(--ink-soft);
}

.news-card .card-body > * {
  position: relative;
  z-index: 1;
}

.news-card__footer {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px dashed rgba(0, 187, 249, 0.18);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(0, 187, 249, 0.08);
}

.news-card__footer::after {
  content: "";
  position: absolute;
  inset: 6px 0 0;
  border-radius: 10px;
  border: 1px dashed rgba(0, 187, 249, 0.12);
  pointer-events: none;
  opacity: 0.7;
}

.news-card__footer > * {
  position: relative;
  z-index: 1;
}

.news-card__footer::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
}

.news-card__footer .button {
  min-height: 36px;
}

.news-card h3 a {
  color: var(--ink);
}

.news-card h3 {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card h3 a:hover {
  color: var(--accent);
}

.card::after,
.content-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.16);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover::after,
.content-card:hover::after {
  opacity: 1;
}

.card,
.media-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card,
.content-card,
.panel-card,
.hero-card {
  animation: floatIn 0.45s ease;
}

.card-grid > .card:nth-child(1),
.feature-grid > .feature-card:nth-child(1),
.tile-grid > .tile-card:nth-child(1),
.faq-grid > .faq-card:nth-child(1) {
  animation-delay: 0.02s;
}

.card-grid > .card:nth-child(2),
.feature-grid > .feature-card:nth-child(2),
.tile-grid > .tile-card:nth-child(2),
.faq-grid > .faq-card:nth-child(2) {
  animation-delay: 0.06s;
}

.card-grid > .card:nth-child(3),
.feature-grid > .feature-card:nth-child(3),
.tile-grid > .tile-card:nth-child(3),
.faq-grid > .faq-card:nth-child(3) {
  animation-delay: 0.1s;
}

.card-grid > .card:nth-child(4),
.feature-grid > .feature-card:nth-child(4),
.tile-grid > .tile-card:nth-child(4),
.faq-grid > .faq-card:nth-child(4) {
  animation-delay: 0.14s;
}

.card-grid > .card:nth-child(5),
.feature-grid > .feature-card:nth-child(5),
.tile-grid > .tile-card:nth-child(5),
.faq-grid > .faq-card:nth-child(5) {
  animation-delay: 0.18s;
}

.card-grid > .card:nth-child(6),
.feature-grid > .feature-card:nth-child(6),
.tile-grid > .tile-card:nth-child(6),
.faq-grid > .faq-card:nth-child(6) {
  animation-delay: 0.22s;
}

.card-media,
.detail-cover,
.gallery-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card-media img {
  transition: transform 0.4s ease;
}

.card:hover .card-media img {
  transform: scale(1.03);
}

.card-media {
  position: relative;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 12, 0.0) 0%, rgba(5, 6, 12, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card-media::after {
  opacity: 1;
}

.download-card .card-media {
  position: relative;
  overflow: hidden;
}

.download-card .card-media img,
.download-card .card-media .placeholder-media {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.download-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(6, 7, 13, 0.1) 0%, rgba(6, 7, 13, 0.9) 70%),
    radial-gradient(circle at 20% 20%, rgba(0, 245, 160, 0.2), transparent 50%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.download-card:hover .download-overlay {
  opacity: 1;
  transform: translateY(0);
}

.download-overlay strong {
  display: block;
  font-size: 1rem;
  margin-top: 4px;
}

.download-overlay p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.75);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag-row .tag-pill {
  border-color: rgba(0, 187, 249, 0.35);
  background: rgba(0, 187, 249, 0.12);
}

.placeholder-media {
  display: grid;
  place-items: center;
  min-height: 200px;
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.2), rgba(0, 187, 249, 0.2)),
    repeating-linear-gradient(45deg, transparent, transparent 16px, rgba(0, 245, 160, 0.1) 16px, rgba(0, 245, 160, 0.1) 32px);
  font-size: 1.3rem;
  color: var(--ink-soft);
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.15);
  border: 1px solid rgba(0, 245, 160, 0.4);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  margin-bottom: 8px;
  box-shadow: inset 0 0 10px rgba(0, 245, 160, 0.2);
}

.card-body,
.content-card {
  padding: 24px;
}

.content-card {
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(0, 187, 249, 0.08), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.content-card > * {
  position: relative;
  z-index: 1;
}

.admin-grid .content-card {
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 245, 160, 0.08), transparent 45%),
    rgba(6, 7, 13, 0.9);
  border: 1px solid rgba(0, 245, 160, 0.2);
  position: relative;
  overflow: hidden;
}

.admin-grid .content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 187, 249, 0.12), transparent 55%);
  opacity: 0.5;
  pointer-events: none;
}

.admin-grid .content-card h2 {
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 30px;
}

.quick-action-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 20px;
  background:
    linear-gradient(140deg, rgba(0, 245, 160, 0.1), transparent 45%),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.quick-action-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.18);
  pointer-events: none;
}

.quick-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 160, 0.5);
}

.quick-action-card h3 {
  margin: 2px 0 0;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quick-action-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.9rem;
}

.admin-grid .stack-list .list-row {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  box-shadow: inset 0 0 14px rgba(0, 187, 249, 0.08);
}

.admin-grid .stack-list .list-row:hover {
  border-color: rgba(0, 245, 160, 0.45);
  background: rgba(0, 245, 160, 0.08);
  transform: translateY(-2px);
}

.card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.downloads-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.downloads-hero__copy,
.downloads-hero__panel {
  border-radius: 24px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(6, 9, 18, 0.92);
  box-shadow: var(--shadow);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.downloads-hero__copy::after,
.downloads-hero__panel::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 245, 160, 0.18);
  pointer-events: none;
}

.downloads-hero__panel {
  display: grid;
  gap: 16px;
  border-color: rgba(0, 187, 249, 0.25);
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 187, 249, 0.16), transparent 45%),
    rgba(6, 9, 18, 0.92);
}

.downloads-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.downloads-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.downloads-hero__stats div {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 187, 249, 0.25);
  background: rgba(6, 7, 13, 0.7);
  display: grid;
  gap: 6px;
}

.downloads-hero__stats strong {
  font-size: 1.2rem;
}

.downloads-hero__progress {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
}

.downloads-hero__progress strong {
  color: var(--ink);
  font-size: 1rem;
}

.downloads-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(6, 7, 13, 0.8);
  border: 1px solid rgba(0, 187, 249, 0.3);
  overflow: hidden;
}

.downloads-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.85), rgba(0, 187, 249, 0.9));
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.4);
}

.downloads-hero__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.download-filter label {
  display: grid;
  gap: 8px;
}

.download-filter > .button {
  align-self: end;
}

.recommended-section {
  margin-bottom: 22px;
}

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

.recommended-tile {
  border: 1px solid rgba(0, 187, 249, 0.28);
  border-radius: 16px;
  background: rgba(6, 9, 18, 0.82);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.recommended-tile__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 187, 249, 0.24);
  background: rgba(6, 7, 13, 0.75);
}

.recommended-tile__media img,
.recommended-tile__media .placeholder-media {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.recommended-tile h3 {
  margin: 0 0 4px;
}

.recommended-tile p {
  margin: 0;
  color: var(--ink-soft);
}

.recommended-mini p {
  margin: 4px 0 8px;
}

.recommended-detail .list-row {
  align-items: flex-start;
}

.shop-strip {
  margin-bottom: 22px;
  padding: 24px 26px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.16), rgba(0, 187, 249, 0.14)),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 245, 160, 0.35);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.shop-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 187, 249, 0.16), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.shop-strip > * {
  position: relative;
  z-index: 1;
}

.shop-strip::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.18);
  pointer-events: none;
}

.shop-strip__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vault-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}

.vault-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(6, 9, 18, 0.9);
  padding: 22px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
}

.vault-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.18);
  pointer-events: none;
}

.vault-card--accent {
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 187, 249, 0.18), transparent 55%),
    rgba(6, 9, 18, 0.92);
  border-color: rgba(0, 187, 249, 0.3);
}

.vault-card > * {
  position: relative;
  z-index: 1;
}

.vault-balance {
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

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

.vault-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.filter-summary {
  margin: 18px auto 0;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(6, 7, 13, 0.75);
  border: 1px solid rgba(0, 187, 249, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.filter-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(0, 187, 249, 0.12), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.filter-summary::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
  opacity: 0.7;
}

.filter-summary > * {
  position: relative;
  z-index: 1;
}

.download-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0, 187, 249, 0.2);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(0, 245, 160, 0.08);
}

.download-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.download-card__footer > * {
  position: relative;
  z-index: 1;
}

.download-card__footer::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
}

.news-strip {
  margin-bottom: 22px;
  padding: 24px 26px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(135deg, rgba(0, 187, 249, 0.18), rgba(0, 245, 160, 0.12)),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 187, 249, 0.35);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.news-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(0, 245, 160, 0.14), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.news-strip > * {
  position: relative;
  z-index: 1;
}

.news-strip::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
}

.news-strip__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.intel-card {
  margin: 14px 0 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(6, 7, 13, 0.75);
  border: 1px solid rgba(0, 245, 160, 0.2);
  display: grid;
  gap: 10px;
}

.intel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.72rem;
}

.intel-row strong {
  color: var(--ink);
}

.price-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.5);
  background: rgba(0, 245, 160, 0.18);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.12);
}

.price-chip--free {
  border-color: rgba(34, 197, 94, 0.6);
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}

.rating-text {
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.7);
}

.download-cta-note {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-button {
  border: 1px solid rgba(0, 187, 249, 0.35);
  background: rgba(6, 7, 13, 0.7);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  color: rgba(226, 232, 240, 0.7);
}

.chip-button.is-active,
.chip-button:hover {
  background: rgba(0, 187, 249, 0.2);
  border-color: rgba(0, 187, 249, 0.6);
  color: var(--ink);
}

.media-filter {
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 187, 249, 0.2);
}

.card-body h2,
.card-body h3,
.content-card h1,
.content-card h2,
.content-card h3 {
  margin: 8px 0 12px;
}

.empty-card {
  display: grid;
  place-items: start;
  min-height: 240px;
}

.empty-card .button-row {
  margin-top: 12px;
}

.maintenance-card {
  padding: 32px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0, 187, 249, 0.18), rgba(0, 245, 160, 0.14)),
    rgba(6, 7, 13, 0.95);
  border: 1px solid rgba(0, 245, 160, 0.3);
  box-shadow: var(--shadow);
  text-align: center;
}

.maintenance-status {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(140deg, rgba(0, 245, 160, 0.08), transparent 45%),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow:
    var(--shadow),
    inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  position: relative;
  overflow: hidden;
}

.feature-card--icon {
  display: grid;
  gap: 12px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(0, 187, 249, 0.18);
  border: 1px solid rgba(0, 187, 249, 0.45);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.18);
  pointer-events: none;
  opacity: 0.7;
}

.feature-card:hover {
  border-color: rgba(0, 245, 160, 0.45);
  transform: translateY(-2px);
}

.feature-card h3 {
  margin: 10px 0 8px;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flash {
  margin-top: 18px;
  padding: 16px 20px;
  border-left: 6px solid var(--accent-warm);
  border-radius: 14px;
  background: rgba(6, 7, 13, 0.85);
  border: 1px solid rgba(255, 106, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
}

.flash-close {
  margin-left: auto;
  border: none;
  background: transparent;
  color: rgba(226, 232, 240, 0.7);
  font-size: 1rem;
  cursor: pointer;
}

.flash-close:hover {
  color: var(--ink);
}

.flash::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.25);
  border: 1px solid rgba(255, 106, 0, 0.45);
  font-weight: 700;
}

.flash--success {
  border-left-color: var(--success);
  border-color: rgba(34, 197, 94, 0.4);
}

.flash--success::before {
  content: "OK";
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
}

.flash--error {
  border-left-color: var(--error);
  border-color: rgba(248, 113, 113, 0.4);
}

.flash--error::before {
  content: "!";
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.5);
}

.two-column-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
  position: relative;
}

.two-column-layout::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(62.5% - 1px);
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 245, 160, 0.0), rgba(0, 245, 160, 0.25), rgba(0, 245, 160, 0.0));
  pointer-events: none;
}

.content-card--full {
  grid-column: 1 / -1;
}

.article-card .detail-cover,
.downloads-detail .detail-cover {
  margin: 20px 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow: 0 18px 30px rgba(2, 6, 23, 0.5);
}

.detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-hero__status {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-meta--top {
  margin-top: 12px;
}

.download-cta {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.25);
  background: rgba(6, 7, 13, 0.75);
}

.download-cta__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.article-card--neon {
  background:
    linear-gradient(140deg, rgba(0, 245, 160, 0.1), transparent 45%),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 245, 160, 0.25);
}

.download-card--neon {
  background:
    linear-gradient(140deg, rgba(0, 187, 249, 0.12), transparent 45%),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 187, 249, 0.25);
}

.download-card--neon {
  position: relative;
  overflow: hidden;
}

.download-card--neon::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.2);
  pointer-events: none;
}

.unlock-card {
  display: grid;
  gap: 12px;
}

.store-panel {
  display: grid;
  gap: 12px;
}

.store-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(6, 7, 13, 0.7);
}

.unlock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
}

.balance-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(6, 7, 13, 0.8);
  border: 1px solid rgba(0, 187, 249, 0.25);
  overflow: hidden;
}

.balance-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.85), rgba(0, 187, 249, 0.9));
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.4);
}

.unlock-actions {
  display: grid;
  gap: 10px;
}

.auth-shell {
  max-width: 640px;
}

.auth-shell {
  margin-top: 10px;
}

.auth-card {
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.auth-card h1 {
  margin-top: 8px;
}

.auth-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 245, 160, 0.22);
  pointer-events: none;
}

.auth-card--neon {
  background:
    linear-gradient(140deg, rgba(0, 245, 160, 0.14), transparent 45%),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 245, 160, 0.25);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.auth-panel {
  padding: 24px;
  border-radius: 20px;
  background: rgba(6, 7, 13, 0.9);
  border: 1px solid rgba(0, 187, 249, 0.3);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(0, 187, 249, 0.14), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.auth-panel::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.2);
  pointer-events: none;
}

.auth-panel > * {
  position: relative;
  z-index: 1;
}

.auth-panel h2 {
  margin-top: 8px;
}

.auth-steps {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: rgba(226, 232, 240, 0.75);
}

.auth-steps li {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 245, 160, 0.25);
  background: rgba(6, 7, 13, 0.7);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
}

.auth-steps li:hover {
  border-color: rgba(0, 245, 160, 0.5);
  background: rgba(0, 245, 160, 0.12);
}

.auth-panel__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 187, 249, 0.2);
}

.auth-panel__cta .button {
  min-height: 36px;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 10px;
}

.auth-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.error-card {
  background:
    radial-gradient(circle at 12% 20%, rgba(248, 113, 113, 0.18), transparent 45%),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.profile-card {
  background:
    linear-gradient(140deg, rgba(0, 187, 249, 0.12), transparent 45%),
    rgba(6, 7, 13, 0.92);
  border: 1px solid rgba(0, 187, 249, 0.25);
  position: relative;
  overflow: hidden;
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 187, 249, 0.2);
  pointer-events: none;
}

.profile-hero {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.profile-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.profile-hero h1 {
  margin: 6px 0 6px;
}

.profile-hero .meta {
  margin-top: 4px;
}

.profile-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  align-items: center;
}

.profile-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.35);
  background: rgba(0, 245, 160, 0.12);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
}

.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.profile-actions .button {
  min-height: 36px;
}

.profile-stack {
  display: grid;
  gap: 18px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wallet-strip {
  margin: 16px 0 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(6, 7, 13, 0.7);
  border: 1px solid rgba(0, 245, 160, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wallet-strip h3 {
  margin: 6px 0 0;
}

.package-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.package-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(6, 7, 13, 0.7);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.package-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 160, 0.45);
}

.package-meta {
  display: grid;
  gap: 6px;
}

.package-meta strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.package-coins {
  color: rgba(226, 232, 240, 0.8);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.72rem;
}

.package-price {
  color: rgba(0, 245, 160, 0.8);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.72rem;
}

.package-note {
  color: rgba(226, 232, 240, 0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
}

.package-card .button {
  min-height: 36px;
}

.package-checkout {
  min-width: 260px;
  gap: 8px;
}

.package-checkout label {
  margin: 0;
}

.package-checkout select,
.package-checkout input {
  min-height: 34px;
}

.support-grid {
  align-items: start;
  display: grid;
  gap: 20px;
}

.support-summary {
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 245, 160, 0.16), transparent 45%),
    rgba(6, 7, 13, 0.9);
  border: 1px solid rgba(0, 245, 160, 0.28);
}

.support-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.support-metrics div {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.25);
  background: rgba(6, 7, 13, 0.7);
  display: grid;
  gap: 6px;
}

.support-cta {
  display: grid;
  gap: 8px;
}

.ticket-list {
  display: grid;
  gap: 12px;
}

.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.ticket-row::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
}

.ticket-row:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 160, 0.45);
}

.ticket-row strong {
  display: block;
  font-size: 1rem;
}

.ticket-row small {
  color: rgba(226, 232, 240, 0.6);
}

.ticket-row__content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.ticket-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ticket-thread {
  display: grid;
  gap: 14px;
  margin: 18px 0 24px;
}

.ticket-message {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
}

.ticket-message.is-staff {
  border-color: rgba(0, 245, 160, 0.35);
  background: rgba(0, 245, 160, 0.08);
}

.ticket-author {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.ticket-author strong {
  display: block;
  font-size: 0.95rem;
}

.ticket-author small {
  color: rgba(226, 232, 240, 0.6);
}

.ticket-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink-inverse);
  font-weight: 700;
}

.ticket-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticket-meta-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.25);
  background: rgba(6, 7, 13, 0.6);
}

.attachment-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.attachment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 245, 160, 0.35);
  background: rgba(6, 7, 13, 0.65);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
}

.attachment-item small {
  color: rgba(226, 232, 240, 0.6);
}

.friend-request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 10px 0 14px;
}

.friend-request input {
  border-radius: 12px;
  background: rgba(6, 7, 13, 0.8);
  border: 1px solid rgba(0, 245, 160, 0.3);
}

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

.friend-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
}

.friend-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink-inverse);
  font-weight: 700;
}

.friend-item small {
  color: rgba(226, 232, 240, 0.6);
}

.friend-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.channel-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 187, 249, 0.4);
  background: rgba(6, 7, 13, 0.8);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(0, 187, 249, 0.25), 0 0 18px rgba(0, 245, 160, 0.15);
}

.profile-avatar span {
  letter-spacing: var(--caps-track);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.form-grid {
  background: rgba(6, 7, 13, 0.65);
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(0, 187, 249, 0.2);
}

.form-grid > label {
  background: rgba(6, 7, 13, 0.55);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.15);
}

.form-grid__full {
  grid-column: 1 / -1;
}

.form-grid label,
.inline-form,
.chat-form {
  display: grid;
  gap: 8px;
}

.form-grid label span,
.inline-form label span {
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.7);
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 245, 160, 0.35);
  background: rgba(6, 7, 13, 0.9);
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(0, 245, 160, 0.6);
  outline-offset: 2px;
  border-color: rgba(0, 245, 160, 0.5);
}

textarea {
  resize: vertical;
}

.field-hint {
  color: rgba(226, 232, 240, 0.6);
  font-size: 0.72rem;
}

.form-grid textarea {
  min-height: 140px;
}

.form-grid .button {
  margin-top: 8px;
}

.form-grid .checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-template-columns: none;
}

.form-grid .checkbox-row input[type="checkbox"] {
  width: auto;
  min-width: 18px;
  height: 18px;
  padding: 0;
}

.form-grid .checkbox-row span {
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.9rem;
  color: var(--ink);
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.meta-row {
  display: block;
  margin-top: 4px;
  color: rgba(226, 232, 240, 0.6);
}

.prose {
  margin-top: 14px;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.92);
}

.prose p {
  margin: 0 0 12px;
}
.stack-list {
  display: grid;
  gap: 14px;
}

.profile-history .list-row {
  background: rgba(6, 7, 13, 0.7);
}

.download-reviews .list-row {
  background: rgba(6, 7, 13, 0.7);
}

.leaderboard-card {
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 245, 160, 0.14), transparent 45%),
    rgba(6, 7, 13, 0.92);
}

.leaderboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0, 245, 160, 0.18);
}

.leaderboard-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.leaderboard-list {
  display: grid;
  gap: 12px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.3fr) minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.leaderboard-row::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
}

.leaderboard-row:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 160, 0.45);
}

.leaderboard-rank {
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 245, 160, 0.85);
}

.leaderboard-user {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.leaderboard-user strong {
  display: block;
  font-size: 1rem;
}

.leaderboard-user small {
  color: rgba(226, 232, 240, 0.6);
}

.leaderboard-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink-inverse);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.leaderboard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leaderboard-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.leaderboard-coins strong {
  display: block;
  font-size: 1rem;
}

.leaderboard-coins small {
  color: rgba(226, 232, 240, 0.6);
}

.status-board {
  display: grid;
  gap: 18px;
}

.status-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-board__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-board__header h2 {
  margin: 6px 0 0;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.status-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  position: relative;
  overflow: hidden;
}

.status-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
}

.status-card strong {
  display: block;
  font-size: 1.3rem;
  margin-top: 6px;
}

.status-card p {
  color: rgba(226, 232, 240, 0.65);
  margin: 8px 0 0;
}

.status-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.faq-board {
  background: rgba(6, 7, 13, 0.8);
}

.stack-list .empty-state {
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  background: rgba(6, 7, 13, 0.6);
}

.list-row,
.list-link {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(6, 7, 13, 0.65);
  border: 1px solid rgba(0, 187, 249, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.list-row strong {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.list-row small {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.66rem;
  color: rgba(226, 232, 240, 0.6);
}

.list-row {
  align-items: center;
}

.list-row:hover,
.list-link:hover {
  border-color: rgba(0, 245, 160, 0.4);
  background: rgba(0, 245, 160, 0.08);
  transform: translateY(-1px);
}

.list-link {
  flex-direction: column;
}

.list-link small {
  color: rgba(226, 232, 240, 0.6);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.68rem;
}

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

.gallery-grid img {
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  border-color: rgba(0, 245, 160, 0.5);
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(6, 7, 13, 0.6);
  position: relative;
}

.table-wrap {
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.log-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.table-wrap::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 245, 160, 0.18);
  pointer-events: none;
}

.table-wrap--admin {
  padding: 6px;
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.08), transparent 55%),
    rgba(6, 7, 13, 0.65);
}

.table-wrap--admin .table thead th {
  background: rgba(6, 7, 13, 0.98);
  box-shadow: inset 0 -1px 0 rgba(0, 187, 249, 0.25);
}

.table-wrap--admin .table tr:hover td {
  background: rgba(0, 187, 249, 0.06);
}

.table-wrap::-webkit-scrollbar {
  height: 8px;
}

.table-wrap::-webkit-scrollbar-thumb {
  background: rgba(0, 245, 160, 0.3);
  border-radius: 999px;
}

.table-wrap::-webkit-scrollbar-track {
  background: rgba(6, 7, 13, 0.7);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table thead th {
  position: sticky;
  top: 0;
  background: rgba(6, 7, 13, 0.95);
  backdrop-filter: blur(6px);
  z-index: 1;
  box-shadow: inset 0 -1px 0 rgba(0, 245, 160, 0.2);
}
.table th,
.table td {
  padding: 12px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table th {
  font-size: 0.68rem;
  letter-spacing: var(--caps-track);
}

.table th {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.66rem;
  color: var(--ink-soft);
}

.table tr:hover td {
  background: rgba(0, 245, 160, 0.06);
}

.table td .button,
.table td .button--ghost {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.66rem;
}

.table td .inline-form {
  gap: 8px;
}

.table td .inline-form input,
.table td .inline-form select {
  min-width: 120px;
}

.table td .inline-form {
  background: rgba(6, 7, 13, 0.5);
  padding: 6px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.25);
}

.table td code.meta-code {
  max-width: 220px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.table tbody tr:nth-child(even) td {
  background: rgba(6, 7, 13, 0.55);
}

.inline-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}

.inline-form > .button,
.inline-form > .button--ghost,
.inline-form > a.button,
.inline-form > a.button--ghost {
  align-self: end;
}

.filter-panel {
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.25);
  background: rgba(6, 7, 13, 0.7);
  box-shadow: inset 0 0 16px rgba(0, 187, 249, 0.08);
}

.filter-panel label span {
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.6);
}

.filter-panel input,
.filter-panel select {
  background: rgba(6, 7, 13, 0.85);
  border: 1px solid rgba(0, 187, 249, 0.35);
}

.news-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.news-filter > .button {
  align-self: end;
}

.bulk-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.3);
  background: rgba(6, 7, 13, 0.7);
  margin-top: 16px;
}

.bulk-actions label {
  display: grid;
  gap: 6px;
  min-width: 180px;
}

.bulk-actions .button {
  min-height: 36px;
}

.action-stack {
  flex-direction: column;
  align-items: stretch;
}

.pill-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  position: relative;
  overflow: hidden;
}

.detail-meta::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
}

.download-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 6px;
}

.download-highlights > div {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 187, 249, 0.22);
  background: rgba(6, 7, 13, 0.7);
  display: grid;
  gap: 6px;
}

.download-highlights strong {
  font-size: 1.05rem;
}

.role-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(6, 7, 13, 0.7);
  box-shadow:
    inset 0 0 10px rgba(0, 245, 160, 0.06),
    inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.role-pill--admin {
  border-color: rgba(248, 113, 113, 0.6);
  color: #fecaca;
}

.role-pill--moderator {
  border-color: rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
}

.role-pill--vip {
  border-color: rgba(245, 158, 11, 0.65);
  color: #fde68a;
}

.role-pill--user {
  border-color: rgba(59, 130, 246, 0.6);
  color: #bfdbfe;
}

.status-pill--good {
  border-color: rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}

.status-pill--warn {
  border-color: rgba(250, 204, 21, 0.6);
  color: #fde68a;
  background: rgba(250, 204, 21, 0.12);
}

.status-pill--accent {
  border-color: rgba(0, 187, 249, 0.6);
  color: #bae6fd;
  background: rgba(0, 187, 249, 0.12);
}

.status-pill--neutral {
  border-color: rgba(148, 163, 184, 0.6);
  color: rgba(226, 232, 240, 0.85);
  background: rgba(15, 23, 42, 0.6);
}

.status-pill--cool {
  border-color: rgba(56, 189, 248, 0.6);
  color: #bae6fd;
  background: rgba(14, 116, 144, 0.2);
}

.status-pill--bad {
  border-color: rgba(248, 113, 113, 0.6);
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
}

.status-note strong {
  display: block;
}

.status-note small {
  color: var(--ink-soft);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: rgba(226, 232, 240, 0.8);
  background: rgba(6, 7, 13, 0.7);
  transition: all 0.2s ease;
}

.tag-pill:hover {
  border-color: rgba(0, 245, 160, 0.4);
  color: var(--ink);
}

.site-footer {
  margin-top: auto;
  padding: 42px 0 60px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 245, 160, 0.12), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(0, 187, 249, 0.12), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 180px 180px;
  opacity: 0.2;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr;
  gap: 28px;
  padding: 32px;
  background: rgba(6, 7, 13, 0.95);
  border-radius: var(--radius-lg);
  color: var(--ink);
  border: 1px solid rgba(0, 245, 160, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(2, 8, 20, 0.55);
}

.footer-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(0, 245, 160, 0.12), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.footer-grid strong {
  letter-spacing: var(--caps-track);
}

.footer-grid::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  pointer-events: none;
}

.footer-grid > * {
  position: relative;
  z-index: 1;
}

.footer-grid > div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-grid > div:not(:first-child) {
  padding-left: 18px;
  border-left: 1px solid rgba(0, 245, 160, 0.12);
}

.footer-grid a,
.footer-grid p {
  color: rgba(226, 232, 240, 0.7);
  margin: 6px 0;
  line-height: 1.6;
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-grid a {
  display: inline-block;
}

.footer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer-grid a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(0, 245, 160, 0.6);
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0, 245, 160, 0.18);
  color: rgba(226, 232, 240, 0.6);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
}

.legal-layout {
  display: grid;
  gap: 18px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 187, 249, 0.25);
  color: rgba(226, 232, 240, 0.8);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: var(--caps-track);
  transition: all 0.2s ease;
}

.legal-nav a:hover,
.legal-nav a.is-active {
  border-color: rgba(0, 245, 160, 0.5);
  color: var(--ink);
  background: rgba(0, 245, 160, 0.14);
}

.legal-card {
  gap: 14px;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 2px;
}

.legal-meta > div {
  border: 1px solid rgba(0, 187, 249, 0.16);
  border-radius: 12px;
  background: rgba(6, 7, 13, 0.58);
  padding: 10px 12px;
}

.legal-meta strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  color: rgba(226, 232, 240, 0.78);
}

.legal-body {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(6, 7, 13, 0.66);
  padding: 16px;
  line-height: 1.66;
  color: rgba(226, 232, 240, 0.86);
}

.legal-body p {
  margin: 0 0 12px;
}

.legal-body p:last-child {
  margin-bottom: 0;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.34);
  background:
    linear-gradient(135deg, rgba(4, 10, 22, 0.95) 0%, rgba(2, 8, 20, 0.94) 100%);
  box-shadow: 0 24px 48px rgba(2, 8, 20, 0.6);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.cookie-banner.is-dismissed {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.cookie-banner__content h2 {
  margin: 0 0 5px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.cookie-banner__content p {
  margin: 0;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.82rem;
  line-height: 1.45;
}

.cookie-banner__custom {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-consent-scope .checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 187, 249, 0.25);
  background: rgba(6, 7, 13, 0.6);
}

.cookie-consent-scope .checkbox-row input[type="checkbox"] {
  width: auto;
  min-width: 16px;
  height: 16px;
  margin: 0;
}

.cookie-consent-scope .checkbox-row span {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.9);
}

.cookie-consent-scope-panel {
  display: grid;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(2, 8, 20, 0.66);
}

.cookie-consent-scope-panel__title {
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.72);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.45);
  background: rgba(6, 7, 13, 0.9);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 30;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#toast-root {
  position: fixed;
  right: 24px;
  bottom: 90px;
  display: grid;
  gap: 10px;
  z-index: 40;
}

.toast {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.4);
  background: rgba(6, 7, 13, 0.9);
  color: var(--ink);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--success {
  border-color: rgba(34, 197, 94, 0.6);
}

.toast--error {
  border-color: rgba(239, 68, 68, 0.6);
}

.back-to-top:hover {
  border-color: rgba(0, 245, 160, 0.8);
  background: rgba(0, 245, 160, 0.12);
}

.error-box {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.6);
  overflow: auto;
  border: 1px solid rgba(0, 187, 249, 0.25);
  color: rgba(226, 232, 240, 0.8);
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 0.78rem;
}

.meta-code {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(6, 7, 13, 0.7);
  border: 1px solid rgba(0, 187, 249, 0.25);
  color: rgba(226, 232, 240, 0.8);
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 0.72rem;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-page .site-footer {
  padding-top: 16px;
}

.chat-wrap {
  padding: 26px 0 34px;
  flex: 1;
}

.chat-shell {
  grid-template-columns: 280px minmax(0, 1fr) 290px;
  min-height: calc(100vh - 220px);
}

.chat-shell--discord {
  grid-template-columns: 76px minmax(240px, 0.95fr) minmax(0, 1.75fr) minmax(240px, 0.85fr) minmax(220px, 0.8fr);
  gap: 16px;
}

.server-rail {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 16px 10px;
  border-radius: 20px;
  background: rgba(6, 7, 13, 0.95);
  border: 1px solid rgba(0, 245, 160, 0.2);
  box-shadow: 0 18px 36px rgba(3, 8, 22, 0.45);
  position: sticky;
  overflow: hidden;
}

.server-rail::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.18);
  pointer-events: none;
}

.server-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(0, 245, 160, 0.2), transparent 55%),
    radial-gradient(circle at 50% 85%, rgba(0, 187, 249, 0.2), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.server-rail__footer {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 245, 160, 0.15);
}

.server-user {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  background: rgba(6, 7, 13, 0.8);
  border: 1px solid rgba(0, 187, 249, 0.25);
}

.server-user small {
  color: rgba(226, 232, 240, 0.65);
}

.server-user strong {
  display: block;
}

.server-user__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink-inverse);
  font-weight: 700;
}

.server-user small {
  color: rgba(226, 232, 240, 0.6);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.65rem;
}

.server-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid rgba(0, 245, 160, 0.6);
  background: rgba(6, 7, 13, 0.9);
  box-shadow:
    0 12px 24px rgba(0, 245, 160, 0.2),
    inset 0 0 0 1px rgba(0, 245, 160, 0.2);
}

.server-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.server-action {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(0, 187, 249, 0.35);
  background: rgba(6, 7, 13, 0.92);
  color: var(--ink);
  text-transform: uppercase;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.server-action:hover {
  background: rgba(0, 245, 160, 0.15);
  border-color: rgba(0, 245, 160, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 245, 160, 0.18);
}

.server-action:focus-visible {
  outline: 2px solid rgba(0, 245, 160, 0.7);
  outline-offset: 2px;
}

.server-action.is-active::after {
  content: "";
  position: absolute;
  left: -8px;
  width: 4px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.7);
}

.server-action.is-active {
  border-color: rgba(0, 245, 160, 0.7);
  background: rgba(0, 245, 160, 0.2);
}

.chat-sidebar,
.chat-main,
.chat-panel {
  min-height: 100%;
}

.chat-sidebar,
.chat-panel .content-card,
.chat-main {
  background: rgba(6, 9, 20, 0.95);
  color: var(--ink);
  border-radius: 20px;
  border: 1px solid rgba(0, 245, 160, 0.25);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.5);
  position: relative;
  overflow: hidden;
}

.chat-sidebar::before,
.chat-panel .content-card::before,
.chat-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 12%, rgba(0, 245, 160, 0.1), transparent 50%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.chat-sidebar > *,
.chat-main > *,
.chat-panel .content-card > * {
  position: relative;
  z-index: 1;
}

.chat-sidebar--discord {
  padding: 22px 18px;
}

.chat-sidebar--discord::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 7, 13, 0.95), rgba(6, 7, 13, 0.7)),
    radial-gradient(circle at 20% 0%, rgba(0, 245, 160, 0.18), transparent 40%);
  opacity: 0.8;
  pointer-events: none;
}

.chat-sidebar {
  padding: 24px 18px;
  position: relative;
  overflow: hidden;
}

.chat-sidebar--discord .chat-sidebar__header h1 {
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 245, 160, 0.2);
}

.chat-sidebar--discord .chat-sidebar__header {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(0, 245, 160, 0.18);
  position: relative;
  background: rgba(6, 7, 13, 0.95);
  z-index: 2;
}

.chat-sidebar--discord .chat-sidebar__header::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  pointer-events: none;
  opacity: 0.7;
}

.chat-sidebar__header {
  position: sticky;
  top: 0;
}

.chat-sidebar__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 18px;
  position: relative;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(0, 187, 249, 0.18);
  background: rgba(6, 7, 13, 0.65);
}

.sidebar-stat {
  position: relative;
  overflow: hidden;
}

.sidebar-stat::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 245, 160, 0.15);
  pointer-events: none;
}

.sidebar-stat {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.25);
  background: rgba(6, 7, 13, 0.82);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  text-align: center;
}

.sidebar-stat strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.chat-search {
  margin-top: 14px;
}

.chat-search input {
  width: 100%;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(6, 7, 13, 0.85);
  border: 1px solid rgba(0, 187, 249, 0.35);
  color: var(--ink);
}

.chat-search input::placeholder {
  color: rgba(226, 232, 240, 0.5);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
}

.channel-empty {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.3);
  background: rgba(6, 7, 13, 0.65);
}

.chat-sidebar--discord .chat-sidebar__header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.7), rgba(0, 187, 249, 0.0));
}

.chat-sidebar__section + .chat-sidebar__section {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0, 187, 249, 0.2);
}

.chat-sidebar__section--panel {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 187, 249, 0.22);
  background: rgba(6, 7, 13, 0.7);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  backdrop-filter: blur(6px);
}

.chat-sidebar__section--panel::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 245, 160, 0.16);
  pointer-events: none;
}

.chat-sidebar__section--panel:hover {
  border-color: rgba(0, 245, 160, 0.35);
}

.chat-sidebar__section--panel + .chat-sidebar__section--panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: none;
}

.chat-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(226, 232, 240, 0.6);
  font-size: 0.82rem;
  letter-spacing: var(--caps-track);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 187, 249, 0.28);
  background: rgba(6, 7, 13, 0.7);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

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

.dm-list .dm-item,
.friend-list .friend-item {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.18);
  background: rgba(6, 7, 13, 0.78);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dm-list .dm-item:hover,
.friend-list .friend-item:hover {
  border-color: rgba(0, 245, 160, 0.4);
  background: rgba(0, 245, 160, 0.08);
  box-shadow: 0 10px 18px rgba(0, 245, 160, 0.18);
}

.dm-avatar,
.friend-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink-inverse);
  font-weight: 700;
}

.dm-item small,
.friend-item small {
  color: rgba(226, 232, 240, 0.6);
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
}

.dm-unread {
  min-width: 26px;
  height: 22px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.2);
  border: 1px solid rgba(0, 245, 160, 0.4);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.dm-status,
.friend-status {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-left: -4px;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

.dm-status.is-idle,
.friend-status.idle {
  background: #f97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.7);
}

.dm-status.is-dnd,
.friend-status.dnd {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.7);
}

.dm-search {
  margin-bottom: 10px;
}

.dm-header-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.dm-search input {
  width: 100%;
  border-radius: 12px;
  padding: 9px 12px;
  background: rgba(6, 7, 13, 0.85);
  border: 1px solid rgba(0, 187, 249, 0.35);
  color: var(--ink);
}

.dm-search input::placeholder {
  color: rgba(226, 232, 240, 0.5);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
}

.friend-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.friend-tab {
  border: 1px solid rgba(0, 245, 160, 0.35);
  background: rgba(0, 245, 160, 0.12);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-weight: 700;
}

.friend-tab.is-active {
  background: rgba(0, 245, 160, 0.2);
  border-color: rgba(0, 245, 160, 0.7);
}

.friend-tab:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.friend-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
}

.friend-item:hover {
  border-color: rgba(0, 245, 160, 0.45);
  background: rgba(0, 245, 160, 0.08);
}

.friend-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink-inverse);
  font-weight: 700;
}

.friend-item strong {
  display: block;
  font-size: 0.9rem;
}

.friend-item small {
  color: rgba(226, 232, 240, 0.6);
}

.friend-status {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.friend-status.idle {
  background: #f97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.8);
}

.friend-status.dnd {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
}

.dm-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  color: var(--ink);
  text-align: left;
}

.dm-unread {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.2);
  border: 1px solid rgba(255, 106, 0, 0.6);
  color: #fed7aa;
  font-size: 0.68rem;
  letter-spacing: var(--caps-track);
}

.dm-item:hover {
  border-color: rgba(0, 245, 160, 0.45);
  background: rgba(0, 245, 160, 0.08);
}

.dm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink-inverse);
  font-weight: 700;
}

.dm-status {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-left: -12px;
  margin-top: 22px;
  border: 2px solid rgba(6, 7, 13, 0.9);
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.dm-status.is-idle {
  background: #f97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.8);
}

.dm-status.is-dnd {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
}

.dm-item strong {
  display: block;
  font-size: 0.9rem;
}

.dm-item small {
  color: rgba(226, 232, 240, 0.6);
}

.channel-summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.65);
}

.channel-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.channel-action {
  border: 1px solid rgba(0, 245, 160, 0.35);
  background: rgba(0, 245, 160, 0.12);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.12);
}

.channel-action--ghost {
  background: rgba(6, 7, 13, 0.8);
  border-color: rgba(0, 187, 249, 0.35);
}

.channel-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.console-card {
  border-radius: 16px;
  border: 1px solid rgba(0, 187, 249, 0.3);
  background: rgba(6, 7, 13, 0.8);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.console-card:hover {
  border-color: rgba(0, 245, 160, 0.45);
  background: rgba(0, 245, 160, 0.08);
}

.console-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.72rem;
}

.console-card__row strong {
  color: var(--ink);
}

.channel-group__label {
  margin: 12px 0 8px;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.55);
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 187, 249, 0.22);
  background: rgba(6, 7, 13, 0.65);
}

.chat-channel-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  margin-bottom: 8px;
  border: none;
  border-radius: 14px;
  background: rgba(6, 7, 13, 0.4);
  color: rgba(226, 232, 240, 0.72);
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78rem;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.05);
  overflow: hidden;
}

.chat-channel-button::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 12px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.channel-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(0, 245, 160, 0.2);
  border: 1px solid rgba(0, 245, 160, 0.45);
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: var(--caps-track);
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.channel-icon svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.channel-icon--voice {
  background: rgba(0, 187, 249, 0.2);
  border-color: rgba(0, 187, 249, 0.5);
}

.chat-channel-button::before {
  content: "";
}

.chat-channel-button[data-type="voice"]::before {
  content: "";
}

.chat-channel-button:hover,
.chat-channel-button.is-active {
  background: rgba(0, 245, 160, 0.2);
  color: var(--ink);
  transform: translateX(2px);
  box-shadow:
    inset 0 0 0 1px rgba(0, 245, 160, 0.12),
    0 8px 18px rgba(0, 245, 160, 0.18);
}

.chat-channel-button.is-active .channel-icon,
.chat-channel-button:hover .channel-icon {
  border-color: rgba(0, 245, 160, 0.75);
  background: rgba(0, 245, 160, 0.3);
}

.chat-channel-button:hover::after,
.chat-channel-button.is-active::after {
  border-color: rgba(0, 245, 160, 0.3);
}

.chat-channel-button:focus-visible {
  outline: 2px solid rgba(0, 245, 160, 0.7);
  outline-offset: 2px;
}

.chat-channel-button.is-active::before {
  content: "";
  position: absolute;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(0, 245, 160, 0.7);
}

.channel-unread {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.18);
  border: 1px solid rgba(255, 106, 0, 0.6);
  color: #fed7aa;
  font-size: 0.68rem;
  letter-spacing: var(--caps-track);
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.35);
}

.chat-main {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.notif-panel {
  display: none;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.85);
}

.notif-panel.is-open {
  display: grid;
  gap: 12px;
}

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

.notif-item {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(6, 7, 13, 0.7);
}

.notif-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  color: rgba(226, 232, 240, 0.7);
}

.notif-item small {
  color: rgba(226, 232, 240, 0.6);
}

.notif-link {
  display: inline-flex;
  margin-top: 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  color: rgba(0, 245, 160, 0.8);
}

.settings-panel {
  display: none;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.85);
}

.settings-panel.is-open {
  display: grid;
  gap: 12px;
}

.settings-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.chat-compact .message {
  padding: 8px 10px;
}

.chat-compact .message__content {
  padding: 8px 10px;
}

.chat-compact .message__header strong {
  font-size: 0.85rem;
}

.chat-compact .message__header small {
  font-size: 0.65rem;
}

.chat-compact .message-list {
  gap: 10px;
}

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

.theme-slate {
  --accent: #60a5fa;
  --accent-strong: #38bdf8;
  --accent-warm: #f59e0b;
  --accent-soft: rgba(96, 165, 250, 0.18);
  --bg: #070a13;
  --bg-alt: #0e1628;
  --surface: rgba(11, 19, 36, 0.94);
  --line: rgba(96, 165, 250, 0.2);
}

.theme-ember {
  --accent: #fb7185;
  --accent-strong: #f97316;
  --accent-warm: #facc15;
  --accent-soft: rgba(251, 113, 133, 0.18);
  --bg: #0c0708;
  --bg-alt: #1a0f10;
  --surface: rgba(22, 11, 10, 0.94);
  --line: rgba(251, 113, 133, 0.2);
}

.chat-main--discord {
  border-radius: 22px;
  background: rgba(6, 7, 13, 0.72);
  border: 1px solid rgba(0, 245, 160, 0.18);
  box-shadow: 0 22px 40px rgba(2, 8, 20, 0.4);
}

.chat-main__header {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(0, 245, 160, 0.2);
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 245, 160, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(6, 7, 13, 0.95), rgba(6, 7, 13, 0.75));
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(0, 245, 160, 0.15);
}

.chat-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  position: relative;
}

.chat-header-title {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.chat-header-controls {
  display: grid;
  gap: 10px;
  justify-items: end;
  align-content: center;
}

.chat-main__header p {
  margin: 2px 0 0;
  color: rgba(226, 232, 240, 0.7);
}

.chat-main__header h2 {
  margin: 6px 0 6px;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 245, 160, 0.18);
}

.chat-main__header h2::before {
  content: "#";
  color: rgba(0, 245, 160, 0.7);
  margin-right: 8px;
}

.chat-main__header::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  pointer-events: none;
}

.chat-main__header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 187, 249, 0.12), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.channel-settings {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.3);
  background: rgba(6, 7, 13, 0.7);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.channel-meta {
  margin-top: 8px;
  flex-wrap: wrap;
}

.chat-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.85);
  flex-wrap: wrap;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.chat-actions__left,
.chat-actions__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chat-actions__right {
  margin-left: auto;
}

.chat-actions .action-chip {
  min-height: 36px;
}

.action-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.45);
  background: rgba(0, 245, 160, 0.12);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.68rem;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.action-chip:hover {
  background: rgba(0, 245, 160, 0.2);
  border-color: rgba(0, 245, 160, 0.7);
  box-shadow: 0 8px 16px rgba(0, 245, 160, 0.18);
}

.action-chip--ghost {
  background: rgba(6, 7, 13, 0.7);
  border-color: rgba(0, 187, 249, 0.35);
  box-shadow: inset 0 0 0 1px rgba(0, 187, 249, 0.12);
}

.action-chip--ghost:hover {
  background: rgba(0, 187, 249, 0.18);
  border-color: rgba(0, 187, 249, 0.65);
}

.action-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.action-chip.is-active {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.25), rgba(0, 187, 249, 0.24));
  border-color: rgba(0, 245, 160, 0.8);
  box-shadow: 0 10px 18px rgba(0, 245, 160, 0.2);
}

.notif-toggle {
  position: relative;
  padding-right: 34px;
}

.notif-badge {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.9);
  color: #0b0f1a;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 106, 0, 0.6);
}

.notif-badge.is-hidden {
  display: none;
}

.channel-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
  padding: 6px 0 0;
}

.channel-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  background: rgba(6, 7, 13, 0.7);
  color: rgba(226, 232, 240, 0.75);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.channel-chip--live {
  border-color: rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.12);
}

.channel-chip--neutral {
  border-color: rgba(148, 163, 184, 0.45);
  color: rgba(226, 232, 240, 0.8);
  background: rgba(15, 23, 42, 0.35);
}

.channel-settings {
  margin-top: 10px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 187, 249, 0.3);
  background: rgba(6, 7, 13, 0.65);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
}

.toggle--compact {
  padding: 6px 10px;
  font-size: 0.65rem;
}

.toggle input {
  accent-color: #00f5a0;
}

.toggle select {
  margin-left: auto;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 187, 249, 0.35);
  background: rgba(6, 7, 13, 0.8);
  color: var(--ink);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
}

.message-list {
  padding: 20px 22px;
  overflow-y: auto;
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 187, 249, 0.06), transparent 45%),
    radial-gradient(circle at 88% 12%, rgba(0, 245, 160, 0.06), transparent 50%),
    rgba(6, 7, 13, 0.92);
  box-shadow: inset 0 0 18px rgba(0, 187, 249, 0.05);
}

.message-hints {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.65);
}

.message-list::-webkit-scrollbar,
.presence-panel .stack-list::-webkit-scrollbar,
.voice-panel .stack-list::-webkit-scrollbar {
  width: 8px;
}

.message-list::-webkit-scrollbar-thumb,
.presence-panel .stack-list::-webkit-scrollbar-thumb,
.voice-panel .stack-list::-webkit-scrollbar-thumb {
  background: rgba(0, 245, 160, 0.3);
  border-radius: 999px;
}

.message-list::-webkit-scrollbar-track,
.presence-panel .stack-list::-webkit-scrollbar-track,
.voice-panel .stack-list::-webkit-scrollbar-track {
  background: rgba(6, 7, 13, 0.7);
}

.pinned-strip {
  padding: 10px 20px;
  border-bottom: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.8);
}

.typing-indicator {
  padding: 6px 20px;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  min-height: 22px;
  border-bottom: 1px solid rgba(0, 187, 249, 0.15);
  background: rgba(6, 7, 13, 0.7);
}

.pinned-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pinned-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.35);
  background: rgba(0, 245, 160, 0.08);
  color: var(--ink);
  font-size: 0.72rem;
}

.message.highlight {
  outline: 2px solid rgba(0, 245, 160, 0.8);
  border-radius: 16px;
}

.message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 187, 249, 0.12);
  position: relative;
  background: rgba(6, 7, 13, 0.6);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.05);
}

.message::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 245, 160, 0.9), rgba(0, 187, 249, 0.4));
  opacity: 0.2;
}

.message::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 245, 160, 0.08);
  pointer-events: none;
  opacity: 0.45;
}

.message:hover {
  background: rgba(0, 245, 160, 0.06);
  border-color: rgba(0, 245, 160, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(0, 245, 160, 0.1),
    0 14px 24px rgba(2, 8, 20, 0.35);
}

.message:hover::before {
  opacity: 0.7;
}

.message.is-own {
  background: rgba(0, 187, 249, 0.1);
  border-color: rgba(0, 187, 249, 0.3);
  box-shadow: inset 0 0 0 1px rgba(0, 187, 249, 0.12);
}

.message.is-own::before {
  opacity: 0.6;
  background: linear-gradient(180deg, rgba(0, 187, 249, 0.9), rgba(0, 245, 160, 0.5));
}

.message--compact {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  padding-top: 6px;
  padding-bottom: 6px;
}

.message--compact .message__avatar {
  opacity: 0;
  pointer-events: none;
}

.message--compact .message__header strong {
  font-size: 0.85rem;
}

.message--compact .message__header small {
  opacity: 0.6;
}

.message__avatar,
.presence-item__avatar,
.voice-participant__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: var(--ink-inverse);
  box-shadow: 0 10px 18px rgba(0, 245, 160, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.message__avatar::after,
.presence-item__avatar::after,
.voice-participant__avatar::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  pointer-events: none;
  opacity: 0.7;
}

.message__header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.message__identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.message__role {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.3);
  background: rgba(0, 245, 160, 0.12);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.channel-lock {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(0, 187, 249, 0.5);
  background: rgba(0, 187, 249, 0.14);
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.62rem;
  letter-spacing: var(--caps-track);
  text-transform: uppercase;
}

.message__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.message__replies {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 187, 249, 0.35);
  background: rgba(0, 187, 249, 0.12);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.message__header strong {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.message__header small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.message__header small,
.presence-item small,
.voice-participant small {
  color: rgba(226, 232, 240, 0.6);
}

.message__content {
  color: rgba(226, 232, 240, 0.92);
  white-space: pre-wrap;
  line-height: 1.6;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 245, 160, 0.08), transparent 55%),
    rgba(6, 7, 13, 0.7);
  border: 1px solid rgba(0, 187, 249, 0.18);
  box-shadow:
    inset 0 0 14px rgba(0, 187, 249, 0.06),
    0 10px 18px rgba(2, 8, 20, 0.32);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.message__content::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
  opacity: 0.6;
}

.message__content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.message__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
}

.message:hover .message__actions,
.message:focus-within .message__actions {
  opacity: 1;
  transform: translateY(0);
}

.message__actions button {
  border: 1px solid rgba(0, 245, 160, 0.35);
  background: rgba(6, 7, 13, 0.85);
  color: var(--ink);
  border-radius: 999px;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.message__actions button:hover {
  background: rgba(0, 245, 160, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(0, 245, 160, 0.2);
}

.message__actions button[data-delete] {
  border-color: rgba(239, 68, 68, 0.45);
  color: #fecaca;
}

.message__actions button[data-edit] {
  border-color: rgba(56, 189, 248, 0.45);
  color: #bae6fd;
}

.message__actions button[data-pin] {
  border-color: rgba(34, 197, 94, 0.45);
  color: #bbf7d0;
}

.message__actions button[data-reply] {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fde68a;
}

.message__actions button[data-delete]:hover {
  background: rgba(239, 68, 68, 0.18);
}

.emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.emoji-picker button {
  border: 1px solid rgba(0, 187, 249, 0.35);
  background: rgba(6, 7, 13, 0.75);
  border-radius: 8px;
  padding: 4px 6px;
  font-size: 0.8rem;
}

.emoji-picker button::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.6);
  margin-bottom: 2px;
}

.emoji-picker button:hover {
  background: rgba(0, 187, 249, 0.2);
  border-color: rgba(0, 187, 249, 0.6);
}

.message__actions button[data-edit],
.message__actions button[data-delete],
.message__actions button[data-pin] {
  border-color: rgba(0, 187, 249, 0.4);
}

.reaction-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.reaction-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 7, 13, 0.7);
  border: 1px solid rgba(0, 245, 160, 0.4);
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}

.reaction-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.8);
  display: inline-block;
}

.reaction-pill:hover {
  background: rgba(0, 245, 160, 0.12);
  border-color: rgba(0, 245, 160, 0.7);
}

.reaction-pill strong {
  font-weight: 700;
}

.reply-preview {
  margin-bottom: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  border-left: 3px solid rgba(0, 187, 249, 0.6);
  background: rgba(6, 7, 13, 0.6);
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.8);
}

.reply-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(0, 187, 249, 0.12);
  border: 1px solid rgba(0, 187, 249, 0.4);
  font-size: 0.8rem;
}

.reply-banner button {
  border: none;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.rating-stars {
  margin-top: 6px;
  letter-spacing: 2px;
}

.rating-muted {
  color: rgba(226, 232, 240, 0.3);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.role-admin {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fecaca;
}

.role-moderator {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
}

.role-vip {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fde68a;
}

.role-user {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  color: #bfdbfe;
}

.role-text.role-admin {
  color: #fecaca;
}

.role-text.role-moderator {
  color: #bbf7d0;
}

.role-text.role-vip {
  color: #fde68a;
}

.role-text.role-user {
  color: #bfdbfe;
}

.role-text {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.role-text.role-admin {
  text-shadow: 0 0 8px rgba(248, 113, 113, 0.35);
}

.role-text.role-moderator {
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.35);
}

.role-text.role-vip {
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.35);
}

.role-text.role-user {
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.35);
}

.inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-actions {
  flex-wrap: wrap;
}

.inline-actions .button {
  min-height: 34px;
}

.inline-actions .button--ghost {
  border-color: rgba(0, 187, 249, 0.4);
}

.review-summary small {
  color: rgba(226, 232, 240, 0.6);
}

.news-summary small {
  color: rgba(226, 232, 240, 0.6);
}

.media-thumb {
  width: 80px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 160, 0.25);
  background: rgba(6, 7, 13, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-thumb {
  box-shadow: 0 10px 18px rgba(2, 6, 23, 0.35);
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drag-handle {
  font-weight: 700;
  color: rgba(226, 232, 240, 0.5);
  margin-right: 8px;
  cursor: grab;
}

.drag-handle:hover {
  color: rgba(0, 245, 160, 0.8);
}

.list-row.is-dragging {
  opacity: 0.6;
  border-color: rgba(0, 245, 160, 0.6);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.media-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.15);
  background: rgba(6, 7, 13, 0.7);
  display: grid;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.media-card {
  position: relative;
  overflow: hidden;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.media-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.media-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 160, 0.45);
}

.media-card:hover::after {
  opacity: 1;
}

.media-card:hover .media-card__meta {
  color: rgba(226, 232, 240, 0.85);
}

.media-card img:hover {
  transform: scale(1.04);
}

.media-file {
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  background: rgba(6, 7, 13, 0.5);
}

.media-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.6);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
}

.media-card .inline-actions {
  justify-content: space-between;
}

.media-card .inline-actions .button {
  min-height: 34px;
}

.media-picker {
  display: grid;
  gap: 16px;
}

.media-picker {
  background: rgba(6, 7, 13, 0.6);
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  position: relative;
  overflow: hidden;
}

.media-picker::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
}

.media-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.7);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
}

.media-action-bar {
  position: sticky;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.25);
  background: rgba(6, 7, 13, 0.9);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.2s ease;
}

.media-action-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.url-preview {
  width: 100%;
  min-height: 60px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 245, 160, 0.35);
  background: rgba(6, 7, 13, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(226, 232, 240, 0.6);
  padding: 8px;
}

.url-preview img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 10px;
  object-fit: cover;
}

.url-preview--file {
  justify-content: flex-start;
  font-size: 0.8rem;
  word-break: break-all;
}

.chat-form {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 16px 20px 18px;
  border-top: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(6, 7, 13, 0.8);
  position: sticky;
  bottom: 0;
  z-index: 2;
  box-shadow:
    inset 0 1px 0 rgba(0, 245, 160, 0.12),
    inset 0 0 0 1px rgba(0, 245, 160, 0.08),
    0 -18px 30px rgba(2, 8, 20, 0.45);
  backdrop-filter: blur(10px);
}

.chat-form__tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-tool {
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(6, 9, 18, 0.75);
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.chat-tool:hover {
  border-color: rgba(0, 245, 160, 0.5);
  color: var(--ink);
  box-shadow: 0 0 0 2px rgba(0, 245, 160, 0.08);
}

.chat-form input::placeholder {
  color: rgba(226, 232, 240, 0.45);
  letter-spacing: var(--caps-track);
  text-transform: uppercase;
  font-size: 0.72rem;
  opacity: 0.7;
}

.chat-form input {
  background: rgba(6, 7, 13, 0.9);
  border-color: rgba(0, 245, 160, 0.3);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.chat-form input:focus {
  border-color: rgba(0, 245, 160, 0.6);
  box-shadow: 0 0 0 2px rgba(0, 245, 160, 0.12);
}

.typing-indicator {
  min-height: 26px;
  margin: 8px 0 0;
  color: rgba(226, 232, 240, 0.6);
  font-size: 0.78rem;
  letter-spacing: var(--caps-track);
  text-transform: uppercase;
}

.pinned-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 187, 249, 0.3);
  background: rgba(6, 7, 13, 0.6);
  margin: 10px 0 6px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.pinned-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 187, 249, 0.08), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.chat-form .button {
  border-radius: 14px;
}

.chat-panel {
  display: grid;
  gap: 18px;
}

.chat-panel .content-card {
  padding: 22px;
  background: rgba(6, 7, 13, 0.9);
  border-radius: 18px;
  border: 1px solid rgba(0, 187, 249, 0.25);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.chat-panel--discord {
  position: sticky;
  top: 110px;
  align-self: start;
}

.activity-panel .activity-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(6, 7, 13, 0.74);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.activity-panel .activity-card strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.activity-panel .activity-card p {
  margin: 8px 0 12px;
  color: rgba(226, 232, 240, 0.7);
}

.dm-preview__body {
  display: grid;
  gap: 12px;
}

.dm-preview {
  border-color: rgba(0, 245, 160, 0.3);
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 245, 160, 0.12), transparent 45%),
    rgba(6, 7, 13, 0.9);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.dm-preview__card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(6, 7, 13, 0.75);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.dm-preview__card strong {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.dm-preview__avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink-inverse);
  font-weight: 700;
}

.dm-preview__card small {
  color: rgba(226, 232, 240, 0.6);
  display: block;
  margin-top: 4px;
}

.dm-preview__card p {
  margin: 6px 0 0;
  color: rgba(226, 232, 240, 0.7);
}

.dm-preview__messages {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.dm-preview__message {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 187, 249, 0.22);
  background: rgba(6, 7, 13, 0.75);
  color: rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.dm-preview__message::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
  opacity: 0.7;
}

.dm-preview__message strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.7);
}

.dm-preview__message span {
  display: block;
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.5);
  margin-bottom: 6px;
}

.dm-preview__message p {
  margin: 0;
}

.dm-preview__message.is-own {
  border-color: rgba(0, 245, 160, 0.35);
  background: rgba(0, 245, 160, 0.08);
}

.dm-preview__message.is-muted {
  color: rgba(226, 232, 240, 0.6);
}

.dm-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 10px;
}

.dm-form input {
  border-radius: 12px;
  background: rgba(6, 7, 13, 0.85);
  border: 1px solid rgba(0, 245, 160, 0.35);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.dm-form .button {
  border-radius: 12px;
}

.chat-panel--discord {
  display: grid;
  gap: 16px;
  padding-bottom: 24px;
}

.chat-thread-panel .content-card {
  padding: 22px;
  background: rgba(6, 7, 13, 0.9);
  border-radius: 18px;
  border: 1px solid rgba(0, 187, 249, 0.25);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.thread-preview {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.thread-card {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 187, 249, 0.3);
  background: rgba(6, 7, 13, 0.75);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.thread-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
}

.thread-replies {
  display: grid;
  gap: 12px;
}

.thread-reply {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.25);
  background: rgba(6, 7, 13, 0.68);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.thread-reply::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.6);
  opacity: 0.5;
}

.thread-reply strong,
.thread-card strong {
  display: block;
  margin-bottom: 4px;
}

.voice-panel #voice-status {
  color: var(--ink-soft);
  margin-top: 8px;
}

.screen-share-panel {
  margin-top: 12px;
  border: 1px solid rgba(0, 187, 249, 0.22);
  border-radius: 12px;
  padding: 10px;
  background: rgba(6, 7, 13, 0.75);
}

.screen-share-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.screen-share-tile {
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 160, 0.26);
  overflow: hidden;
  background: rgba(5, 6, 11, 0.92);
}

.screen-share-tile video {
  width: 100%;
  max-height: 220px;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

.screen-share-tile__label {
  padding: 8px 10px;
  font-size: 0.75rem;
  letter-spacing: var(--caps-track);
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 1px solid rgba(0, 187, 249, 0.18);
}

.voice-panel,
.presence-panel {
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 187, 249, 0.12), transparent 50%),
    rgba(6, 7, 13, 0.9);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.voice-panel::after,
.presence-panel::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 187, 249, 0.18);
  pointer-events: none;
}

.voice-panel .stack-list,
.presence-panel .stack-list {
  margin-top: 14px;
}

.voice-panel .list-row,
.presence-panel .list-row {
  align-items: center;
}

.presence-panel .stack-list {
  max-height: 360px;
  overflow-y: auto;
}

.presence-panel .stack-list {
  border-radius: 12px;
  padding: 8px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.voice-panel .stack-list {
  border-radius: 12px;
  padding: 8px;
  border: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.7);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.presence-group {
  margin-bottom: 16px;
}

.presence-group__label {
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.68rem;
  color: rgba(226, 232, 240, 0.6);
  margin-bottom: 8px;
}

.presence-group__list {
  display: grid;
  gap: 10px;
}

.presence-item {
  background: rgba(6, 7, 13, 0.75);
  border: 1px solid rgba(0, 187, 249, 0.22);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.presence-item {
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.presence-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.6);
  opacity: 0.4;
}

.presence-item::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 245, 160, 0.14);
  pointer-events: none;
  opacity: 0.6;
}

.presence-item strong {
  display: block;
  font-size: 0.95rem;
}

.presence-item small {
  display: block;
  margin-top: 4px;
}

.voice-participant {
  border-radius: 12px;
  background: rgba(6, 7, 13, 0.75);
  border: 1px solid rgba(0, 187, 249, 0.22);
  position: relative;
  overflow: hidden;
}

.voice-participant::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: rgba(0, 187, 249, 0.6);
  opacity: 0.4;
}

.voice-participant__avatar,
.presence-item__avatar {
  border-radius: 12px;
}

.voice-group {
  display: grid;
  gap: 10px;
}

.voice-group__label {
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.68rem;
  color: rgba(226, 232, 240, 0.55);
}

.voice-group__list {
  display: grid;
  gap: 10px;
}

.chat-thread-panel .panel-heading,
.chat-panel .panel-heading {
  align-items: flex-start;
}

.chat-thread-panel .panel-heading h3,
.chat-panel .panel-heading h3 {
  margin: 6px 0 0;
}

.chat-thread-panel .panel-heading .button,
.chat-panel .panel-heading .button {
  align-self: center;
}

.chat-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 187, 249, 0.2);
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 187, 249, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(6, 7, 13, 0.95), rgba(6, 7, 13, 0.7));
  position: relative;
  box-shadow: 0 12px 28px rgba(2, 8, 20, 0.35);
}

.chat-topbar::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(0, 187, 249, 0.2);
  pointer-events: none;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chat-topbar .status-chip {
  min-width: 160px;
}

.chat-topbar .channel-pill {
  min-width: 160px;
}

.chat-topbar .user-chip {
  min-width: 180px;
}

.message-search {
  flex: 1;
  min-width: 220px;
  max-width: 340px;
}

.message-search input {
  width: 100%;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(6, 7, 13, 0.85);
  border: 1px solid rgba(0, 187, 249, 0.35);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.message-search input:focus {
  border-color: rgba(0, 245, 160, 0.6);
  box-shadow: 0 0 0 2px rgba(0, 245, 160, 0.12);
}

.message-search input::placeholder {
  color: rgba(226, 232, 240, 0.5);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
}

.activity-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0, 187, 249, 0.2);
  background: rgba(6, 7, 13, 0.85);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.activity-strip::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.2);
  pointer-events: none;
}

.activity-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-left: auto;
}

.activity-chip {
  display: grid;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(0, 187, 249, 0.3);
  background: rgba(6, 7, 13, 0.65);
  min-width: 80px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.activity-chip small {
  font-size: 0.6rem;
  color: rgba(226, 232, 240, 0.6);
}

.activity-chip strong {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.status-chip--activity {
  margin-left: auto;
  min-width: 180px;
  justify-content: center;
  text-align: center;
  border-color: rgba(0, 187, 249, 0.45);
  background: rgba(0, 187, 249, 0.08);
}

.status-chip,
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.24);
  background: rgba(0, 245, 160, 0.06);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.channel-pill strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.channel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 245, 160, 0.9);
  box-shadow: 0 0 8px rgba(0, 245, 160, 0.7);
}

.status-chip strong,
.user-chip strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.7);
}

.status-dot.is-online {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.user-chip__avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--ink-inverse);
  font-size: 0.9rem;
  font-weight: 700;
}

.user-chip__status {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  margin-left: -6px;
}

.chat-panel .content-card p,
.chat-panel .content-card strong {
  color: var(--ink);
}

.voice-participant,
.presence-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(6, 7, 13, 0.65);
  border: 1px solid rgba(0, 187, 249, 0.18);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.voice-participant:hover,
.presence-item:hover {
  border-color: rgba(0, 245, 160, 0.4);
  background: rgba(0, 245, 160, 0.08);
}

.presence-select {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 160, 0.35);
  background: rgba(6, 7, 13, 0.9);
  color: var(--ink);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: var(--caps-track);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.08);
}

.presence-item__avatar.online {
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.presence-item__avatar.idle {
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.8);
}

.presence-item__avatar.dnd {
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
}

.voice-panel .stack-list,
.presence-panel .stack-list {
  margin-top: 16px;
}

.empty-state {
  color: rgba(226, 232, 240, 0.6);
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  font-size: 0.7rem;
}

.table .empty-state {
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.3);
  background: rgba(6, 7, 13, 0.6);
  text-align: center;
}

.empty-state--chat {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 245, 160, 0.2);
  background: rgba(6, 7, 13, 0.6);
}

@media (max-width: 1080px) {
  .hero-grid,
  .two-column-layout,
  .chat-shell,
  .admin-grid,
  .footer-grid,
  .feature-grid,
  .auth-shell,
  .downloads-hero {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:not(:first-child) {
    padding-left: 0;
    border-left: 0;
  }

  .admin-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-grid--command {
    grid-template-columns: 1fr;
  }

  .hero-insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-insights--stack {
    grid-template-columns: 1fr;
  }

  .hero-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-shell {
    min-height: auto;
  }

  .chat-sidebar,
  .chat-main,
  .chat-panel .content-card {
    min-height: auto;
  }

  .server-rail {
    position: static;
    grid-auto-flow: column;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
  }

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

  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-focus,
  .admin-focus--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-user-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-channel-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-download-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-news-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-coin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-system-stats,
  .admin-maintenance-stats,
  .admin-reward-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-support-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-media-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-support-detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-limit-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .vault-actions {
    grid-template-columns: 1fr;
  }

  .download-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recommended-grid {
    grid-template-columns: 1fr;
  }

  .news-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-strip {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .neon-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-bar,
  .main-nav,
  .nav-actions,
  .section-heading,
  .button-row,
  .stats-grid,
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-actions__right {
    margin-left: 0;
  }

  .quicknav {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-bar {
    padding: 16px 0;
  }

  .site-search {
    width: 100%;
    justify-content: space-between;
  }

  .site-search input {
    flex: 1;
    min-width: 0;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel__card,
  .content-card,
  .card-body,
  .chat-main__header,
  .message-list,
  .chat-form,
  .chat-sidebar,
  .chat-panel .content-card {
    padding: 18px;
  }

  .chat-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .message-hints {
    padding: 8px 18px 4px;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .chat-form__tools {
    order: 2;
    justify-content: space-between;
  }

  .chat-form .button {
    width: 100%;
  }

  .hero-title {
    font-size: clamp(1.05rem, 4.2vw, 1.5rem);
    line-height: 1.18;
    letter-spacing: 0.015em;
    max-width: 100%;
    text-transform: uppercase;
  }

  .hero-card--primary.hero-card--neon {
    min-height: 0;
  }

  .command-card--logo {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .art-stats {
    flex-direction: column;
    gap: 10px;
  }

  .hero-art {
    display: none;
  }

  .hero-particles {
    opacity: 0.34;
  }

  .hero-scanline-overlay {
    opacity: 0.1;
  }

  .panel-card--logo {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-title strong {
    max-width: 100%;
  }

  .card-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .news-metrics {
    grid-template-columns: 1fr;
  }

  .admin-user-stats {
    grid-template-columns: 1fr;
  }

  .admin-focus,
  .admin-focus--grid {
    grid-template-columns: 1fr;
  }

  .admin-channel-stats {
    grid-template-columns: 1fr;
  }

  .admin-download-stats {
    grid-template-columns: 1fr;
  }

  .admin-news-stats {
    grid-template-columns: 1fr;
  }

  .admin-coin-stats {
    grid-template-columns: 1fr;
  }

  .admin-system-stats,
  .admin-maintenance-stats,
  .admin-reward-stats,
  .admin-limit-stats {
    grid-template-columns: 1fr;
  }

  .admin-support-stats {
    grid-template-columns: 1fr;
  }

  .admin-media-stats {
    grid-template-columns: 1fr;
  }

  .admin-support-detail-stats {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .support-metrics {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges--grid,
  .hero-insights,
  .hero-kpis,
  .signal-grid,
  .status-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .downloads-hero__stats {
    grid-template-columns: 1fr;
  }

  .download-highlights {
    grid-template-columns: 1fr;
  }

  .download-filter {
    grid-template-columns: 1fr;
  }

  .recommended-grid {
    grid-template-columns: 1fr;
  }

  .news-filter {
    grid-template-columns: 1fr;
  }

  .downloads-hero__stats {
    grid-template-columns: 1fr;
  }

  .downloads-hero__chips {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero .hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero-card__inner .button {
    width: 100%;
  }

  .admin-quick-actions {
    grid-template-columns: 1fr;
  }

  .profile-hero {
    grid-template-columns: 1fr;
  }

  .profile-hero__actions {
    justify-content: flex-start;
  }

  .profile-stats {
    grid-template-columns: 1fr;
  }

  .download-card .card-media img,
  .download-card .card-media .placeholder-media {
    height: 200px;
  }

  .download-overlay {
    position: relative;
    opacity: 1;
    margin-top: 10px;
    border-radius: 12px;
  }

  .chat-sidebar__stats {
    grid-template-columns: 1fr;
  }

  .activity-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .activity-metrics {
    margin-left: 0;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chat-header-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .chat-header-controls {
    justify-items: start;
  }

  .package-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .package-card .button {
    width: 100%;
  }

  .package-checkout {
    width: 100%;
    min-width: 0;
  }

  .leaderboard-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .leaderboard-row {
    grid-template-columns: 1fr;
  }

  .ticket-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ticket-meta {
    justify-content: flex-start;
  }

  .status-board__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .friend-item {
    grid-template-columns: 1fr;
  }

  .friend-actions {
    justify-content: flex-start;
  }
}

/* Chat specific desktop width tuning */
.chat-page .container {
  width: min(1680px, calc(100vw - 24px));
}

@media (max-width: 1500px) {
  .chat-shell--discord {
    grid-template-columns: 72px 240px minmax(0, 1fr) 270px;
  }

  .chat-thread-panel {
    display: none;
  }
}

@media (max-width: 1320px) {
  .chat-shell--discord {
    grid-template-columns: 72px 230px minmax(0, 1fr);
  }

  .chat-panel--discord {
    display: none;
  }
}

@media (max-width: 1080px) {
  .nav-bar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "actions"
      "nav";
    gap: 12px;
  }

  .nav-actions {
    justify-self: stretch;
    justify-content: flex-start;
  }

  .main-nav {
    border-top: 0;
    padding-top: 0;
  }
}

@media (min-width: 1081px) and (max-width: 1280px) {
  .main-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .nav-actions {
    flex: 1 1 auto;
  }
}
.theme-slate body,
body.theme-slate {
  background:
    radial-gradient(circle at 20% 10%, rgba(96, 165, 250, 0.2), transparent 40%),
    radial-gradient(circle at 80% 18%, rgba(56, 189, 248, 0.18), transparent 45%),
    radial-gradient(circle at 50% 88%, rgba(245, 158, 11, 0.16), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.theme-ember body,
body.theme-ember {
  background:
    radial-gradient(circle at 18% 12%, rgba(251, 113, 133, 0.22), transparent 40%),
    radial-gradient(circle at 80% 15%, rgba(249, 115, 22, 0.2), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(250, 204, 21, 0.16), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.chat-timeout-banner {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.55);
  background: rgba(127, 29, 29, 0.2);
  color: #fecaca;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-timeout-banner[hidden] {
  display: none !important;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

@media (max-width: 980px) {
  .legal-meta {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }

  .cookie-consent-scope--inline .checkbox-row {
    width: 100%;
    justify-content: flex-start;
  }
}

.newsletter-form {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
}

.section--marketing-banner {
  padding-top: 0.25rem;
}

.marketing-banner-grid {
  display: grid;
  gap: 0.8rem;
}

.marketing-banner-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid rgba(18, 220, 214, 0.35);
  background: linear-gradient(120deg, rgba(5, 27, 40, 0.78), rgba(3, 16, 28, 0.88));
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}

.marketing-banner-card h3 {
  margin: 0.2rem 0 0.2rem;
}

.marketing-banner-card p {
  margin: 0;
}

.quick-fab {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 9700;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.quick-fab__toggle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(18, 220, 214, 0.45);
  background: linear-gradient(140deg, rgba(6, 34, 54, 0.95), rgba(2, 15, 27, 0.96));
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.quick-fab__toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 220, 214, 0.75);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.quick-fab__menu {
  min-width: 190px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(18, 220, 214, 0.32);
  background: linear-gradient(140deg, rgba(5, 24, 38, 0.95), rgba(3, 14, 24, 0.98));
  box-shadow: 0 20px 42px rgba(1, 8, 14, 0.55);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.quick-fab.is-open .quick-fab__menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.quick-fab.is-open .quick-fab__toggle {
  transform: rotate(45deg);
}

.quick-fab__item {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(18, 220, 214, 0.22);
  background: rgba(8, 38, 53, 0.4);
  color: var(--text);
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: var(--caps-track);
  transition: border-color 150ms ease, background 150ms ease;
}

.quick-fab__item:hover {
  border-color: rgba(18, 220, 214, 0.55);
  background: rgba(18, 220, 214, 0.14);
}

.file-dropzone {
  border: 1px dashed rgba(18, 220, 214, 0.34);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(2, 20, 31, 0.32);
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.file-dropzone > span:first-child {
  margin-bottom: 8px;
  display: block;
}

.file-dropzone input[type="file"] {
  width: 100%;
}

.file-dropzone.is-dragover {
  border-color: rgba(18, 220, 214, 0.8);
  background: rgba(18, 220, 214, 0.12);
  box-shadow: inset 0 0 0 1px rgba(18, 220, 214, 0.35);
}

.file-dropzone__hint {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-media.is-loading,
.recommended-tile__media.is-loading,
.media-thumb.is-loading {
  position: relative;
  overflow: hidden;
}

.card-media.is-loading::before,
.recommended-tile__media.is-loading::before,
.media-thumb.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    110deg,
    rgba(7, 17, 28, 0.9) 0%,
    rgba(18, 220, 214, 0.18) 50%,
    rgba(7, 17, 28, 0.9) 100%
  );
  transform: translateX(-100%);
  animation: shimmer-slide 1.2s linear infinite;
}

@keyframes shimmer-slide {
  100% {
    transform: translateX(100%);
  }
}

.command-palette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: 9999;
}

.command-palette.is-open {
  opacity: 1;
  pointer-events: auto;
}

.command-palette__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 18, 0.72);
  backdrop-filter: blur(4px);
}

.command-palette__panel {
  position: relative;
  margin: 10vh auto 0;
  width: min(760px, calc(100% - 1.5rem));
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 220, 214, 0.35);
  background: linear-gradient(140deg, rgba(4, 22, 35, 0.96), rgba(2, 10, 18, 0.98));
  box-shadow: 0 20px 70px rgba(1, 8, 14, 0.65);
  overflow: hidden;
}

.command-palette__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  padding: 0.8rem;
  border-bottom: 1px solid rgba(18, 220, 214, 0.2);
}

.command-palette__top input {
  width: 100%;
}

.command-palette__results {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  max-height: 60vh;
  overflow: auto;
}

.command-palette__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.68rem 0.7rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
}

.command-palette__item:hover,
.command-palette__item.is-selected {
  border-color: rgba(18, 220, 214, 0.32);
  background: rgba(18, 220, 214, 0.09);
}

.command-palette__item small {
  color: var(--muted);
}

.command-palette__empty {
  padding: 0.9rem;
  color: var(--muted);
}

.command-shortcut {
  min-width: 54px;
  letter-spacing: 0.08em;
}

.chunk-upload-panel {
  border: 1px solid rgba(18, 220, 214, 0.24);
  background: rgba(2, 20, 31, 0.4);
  border-radius: 12px;
  padding: 0.8rem;
  display: grid;
  gap: 0.45rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.calendar-day {
  border: 1px solid rgba(18, 220, 214, 0.16);
  border-radius: 12px;
  padding: 0.65rem;
  background: rgba(2, 20, 31, 0.3);
  display: grid;
  gap: 0.55rem;
}

.calendar-day--active {
  border-color: rgba(18, 220, 214, 0.34);
  box-shadow: 0 0 0 1px rgba(18, 220, 214, 0.18), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.calendar-day header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}

.calendar-day__events {
  display: grid;
  gap: 0.4rem;
}

.calendar-pill {
  display: grid;
  gap: 0.15rem;
  border: 1px solid rgba(18, 220, 214, 0.25);
  border-radius: 10px;
  padding: 0.42rem 0.5rem;
  text-decoration: none;
  color: var(--text);
  background: rgba(8, 37, 51, 0.35);
}

.calendar-pill small {
  color: var(--muted);
}

.event-card .card-body {
  display: grid;
  gap: 0.8rem;
}

.event-description {
  margin-top: 0.6rem;
}

.details-block {
  padding: 0;
}

.details-block > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.7rem;
}

.details-block > summary::-webkit-details-marker {
  display: none;
}

.details-block[open] > summary {
  border-bottom: 1px solid rgba(18, 220, 214, 0.2);
}

.details-block .form-grid,
.details-block > form {
  padding: 0.75rem;
}

@media (max-width: 720px) {
  .marketing-banner-card {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .command-palette__top {
    grid-template-columns: 1fr;
  }

  .quick-fab {
    right: 12px;
    bottom: 74px;
  }

  .quick-fab__toggle {
    width: 50px;
    height: 50px;
  }

  .quick-fab__menu {
    min-width: 168px;
  }
}

.hero-subline {
  margin: 0;
  color: var(--ink-soft);
}

.campaign-hero-image {
  width: 100%;
  min-height: 260px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.22);
  box-shadow: 0 24px 60px rgba(4, 10, 26, 0.45);
  background: rgba(6, 8, 14, 0.82);
}

.campaign-hero-image--placeholder {
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.list-stack {
  display: grid;
  gap: 0.8rem;
}

.list-item--ranked {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(4, 12, 25, 0.68);
  padding: 0.75rem;
}

.list-item__rank {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(57, 255, 214, 0.5);
  color: var(--text);
  background: rgba(57, 255, 214, 0.12);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.list-item__body h4 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.list-item__body p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .split-panel {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles {
    display: none;
  }

  .hero-scanline-overlay,
  .command-logo__pulse,
  .command-logo--holo::before,
  .command-logo--holo::after,
  .hero-card--neon,
  .hero-art__pulse {
    animation: none !important;
  }
}

/* Layout hardening patch: keeps pages consistent across all modules */
.site-shell,
main,
.container,
.content-card,
.panel-card,
.card-body,
.table-wrap,
.main-nav,
.nav-actions,
.site-search {
  min-width: 0;
}

.container {
  width: min(var(--container), 100%);
  max-width: 100%;
  padding-inline: 16px;
}

.nav-bar > * {
  min-width: 0;
}

.main-nav a {
  white-space: nowrap;
}

.nav-actions {
  row-gap: 10px;
}

.site-search {
  max-width: 100%;
}

.site-search input {
  width: 100%;
  min-width: 0;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content-card,
.panel-card,
.card-body {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.button,
.button--ghost,
input,
select,
textarea {
  max-width: 100%;
}

@media (max-width: 1080px) {
  .nav-bar {
    gap: 14px;
  }

  .main-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .nav-actions {
    flex: 1 1 auto;
    justify-content: flex-start;
  }
}

@media (max-width: 1200px) {
  .nav-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .brand-mark {
    width: 100%;
    justify-content: flex-start;
  }

  .main-nav {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
    display: none;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    display: none;
  }

  .nav-actions > * {
    width: 100%;
  }

  .user-pill {
    max-width: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-menu-open .main-nav,
  .site-header.is-menu-open .nav-actions {
    display: flex;
  }
}

@media (max-width: 760px) {
  .container {
    padding-inline: 12px;
  }

  .brand-mark__logo {
    width: 44px;
    height: 44px;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
  }

  .lang-switch select,
  .theme-switch select,
  .site-search,
  .site-search input {
    width: 100%;
    min-width: 0;
  }
}

/* Component completion patch: classes used in templates but missing in CSS */
.hero-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero--market {
  position: relative;
}

.hero--market::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 245, 160, 0.12), transparent 42%),
    radial-gradient(circle at 85% 18%, rgba(0, 187, 249, 0.12), transparent 45%);
  pointer-events: none;
}

.hero--market .hero-grid {
  align-items: stretch;
}

.section--compact {
  padding: 28px 0 46px;
}

.section--downloads {
  padding-top: 40px;
}

.section-heading--compact {
  margin-bottom: 16px;
  align-items: center;
}

.section-heading--compact::after {
  width: 72px;
  bottom: -8px;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.download-card__image {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(0, 187, 249, 0.24);
  background: rgba(6, 7, 13, 0.72);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.download-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-card__body {
  display: grid;
  gap: 12px;
}

.download-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-ops {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 245, 160, 0.08), rgba(0, 187, 249, 0.08)),
    rgba(6, 7, 13, 0.76);
}

.content-card--inner {
  margin-top: 16px;
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 187, 249, 0.22);
  background: rgba(6, 7, 13, 0.62);
  box-shadow: inset 0 0 0 1px rgba(0, 245, 160, 0.06);
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.26);
  background: rgba(6, 7, 13, 0.72);
}

.checkbox-inline input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.span-full {
  grid-column: 1 / -1;
}

.copy-label {
  min-width: 34px;
  text-align: center;
}

.coupon-select-one,
.orphan-check,
.roadmap-item-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.table-scroll {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 160, 0.18);
  background: rgba(6, 7, 13, 0.55);
}

.table-scroll .table,
.table-scroll .data-table {
  min-width: 760px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(6, 7, 13, 0.95);
  box-shadow: inset 0 -1px 0 rgba(0, 245, 160, 0.2);
}

.data-table th,
.data-table td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.data-table tbody tr:nth-child(even) td {
  background: rgba(6, 7, 13, 0.52);
}

.data-table tr:hover td {
  background: rgba(0, 245, 160, 0.06);
}

.table-actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.table-actions form {
  margin: 0;
}

.table-actions .inline-form {
  background: rgba(6, 7, 13, 0.5);
  padding: 6px;
  border-radius: 12px;
  border: 1px dashed rgba(0, 187, 249, 0.25);
}

.list-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(4, 12, 25, 0.68);
}

.note {
  margin: 8px 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.status-pill--danger {
  border-color: rgba(248, 113, 113, 0.6);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.28);
}

@media (max-width: 1080px) {
  .downloads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-ops {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .table-actions {
    flex-direction: column;
  }
}

/* Final responsive normalization */
@media (max-width: 1200px) {
  .container {
    width: min(var(--container), calc(100vw - 24px));
  }

  .hero-grid,
  .downloads-hero,
  .two-column-layout,
  .split-panel,
  .admin-grid,
  .card-grid,
  .tile-grid,
  .faq-grid,
  .metrics-strip,
  .news-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inline-form,
  .download-filter,
  .news-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-shell--discord {
    grid-template-columns: 72px 220px minmax(0, 1fr);
  }

  .chat-panel--discord,
  .chat-thread-panel {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .downloads-hero,
  .two-column-layout,
  .split-panel,
  .admin-grid,
  .card-grid,
  .tile-grid,
  .faq-grid,
  .metrics-strip,
  .news-metrics,
  .vault-actions,
  .profile-stats {
    grid-template-columns: 1fr;
  }

  .inline-form,
  .form-grid,
  .download-filter,
  .news-filter {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .panel-heading {
    align-items: flex-start;
  }

  .table-wrap .table,
  .table-wrap .data-table,
  .table-scroll .table,
  .table-scroll .data-table {
    min-width: 640px;
  }

  .chat-shell--discord {
    grid-template-columns: 1fr;
  }

  .server-rail {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100vw - 16px));
    padding-inline: 8px;
  }

  .nav-bar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "actions"
      "nav";
    gap: 10px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 0;
    border-top: 0;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-self: stretch;
  }

  .nav-actions > * {
    width: 100%;
  }

  .site-search {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .site-search input {
    min-width: 0;
  }

  .lang-switch--pill select,
  .theme-switch select {
    min-width: 0;
    width: 100%;
  }

  .user-pill {
    max-width: none;
    width: 100%;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button-row > .button,
  .button-row > .button--ghost {
    width: 100%;
  }

  .table-wrap .table,
  .table-wrap .data-table,
  .table-scroll .table,
  .table-scroll .data-table {
    min-width: 560px;
  }

  .table th,
  .table td,
  .data-table th,
  .data-table td {
    padding: 9px 8px;
  }

  .status-pill,
  .role-pill {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .chat-topbar {
    padding: 12px;
    gap: 10px;
  }

  .message-search {
    min-width: 0;
    max-width: none;
    flex: 1 1 100%;
  }
}

/* Discord-style home layout */
.discord-home {
  padding: 18px 0 26px;
}

.discord-home-shell {
  width: min(1500px, calc(100vw - 20px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.discord-pane {
  min-width: 0;
}

.discord-pane--nav,
.discord-pane--live,
.discord-feed-card {
  border: 1px solid rgba(0, 245, 160, 0.18);
  border-radius: 16px;
  background: rgba(10, 14, 24, 0.9);
  box-shadow: 0 20px 44px rgba(3, 8, 22, 0.4);
}

.discord-pane--nav {
  position: sticky;
  top: 92px;
  padding: 14px;
  display: grid;
  gap: 14px;
}

.discord-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.discord-brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 160, 0.34);
  background: rgba(0, 0, 0, 0.28);
  flex: 0 0 auto;
}

.discord-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-brand strong {
  display: block;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
}

.discord-brand small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.discord-side-nav {
  display: grid;
  gap: 6px;
}

.discord-side-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  border: 1px solid transparent;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.discord-side-nav a:hover,
.discord-side-nav a.is-active {
  color: var(--ink);
  border-color: rgba(0, 245, 160, 0.34);
  background: rgba(0, 245, 160, 0.14);
}

.discord-side-section {
  display: grid;
  gap: 8px;
}

.discord-chip {
  display: block;
  padding: 9px 11px;
  border-radius: 9px;
  border: 1px solid rgba(0, 187, 249, 0.22);
  background: rgba(0, 187, 249, 0.09);
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.discord-chip:hover {
  color: var(--ink);
  border-color: rgba(0, 245, 160, 0.35);
}

.discord-pane--feed {
  display: grid;
  gap: 12px;
}

.discord-feed-card {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.discord-feed-card--hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 245, 160, 0.16), transparent 40%),
    radial-gradient(circle at 84% 12%, rgba(0, 187, 249, 0.18), transparent 42%),
    rgba(10, 14, 24, 0.94);
}

.discord-feed-card--hero h1 {
  margin: 0;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: clamp(1.12rem, 2vw, 1.6rem);
}

.discord-feed-card--hero p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.discord-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.discord-kpis article {
  border: 1px solid rgba(0, 245, 160, 0.2);
  border-radius: 10px;
  padding: 10px;
  background: rgba(6, 10, 18, 0.72);
}

.discord-kpis span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.discord-kpis strong {
  display: block;
  margin-top: 6px;
  font-size: 1.18rem;
}

.discord-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.discord-card-head h2,
.discord-card-head h3 {
  margin: 0;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
}

.discord-inline-list,
.discord-feed-list {
  display: grid;
  gap: 8px;
}

.discord-inline-item,
.discord-feed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(120, 130, 170, 0.2);
  border-radius: 10px;
  background: rgba(4, 8, 16, 0.64);
  padding: 10px 11px;
}

.discord-inline-item strong,
.discord-feed-item strong {
  display: block;
  font-size: 0.9rem;
}

.discord-inline-item small,
.discord-feed-item small {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.discord-inline-item:hover,
.discord-feed-item:hover {
  border-color: rgba(0, 245, 160, 0.34);
  transform: translateY(-1px);
}

.discord-pane--live {
  position: sticky;
  top: 92px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.discord-side-card {
  border: 1px solid rgba(120, 130, 170, 0.2);
  border-radius: 12px;
  background: rgba(6, 10, 18, 0.75);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.discord-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.discord-member-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discord-member-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22ff88;
  box-shadow: 0 0 8px rgba(34, 255, 136, 0.8);
  flex: 0 0 auto;
}

.discord-member-list strong {
  display: block;
  font-size: 0.82rem;
}

.discord-member-list small {
  color: var(--ink-soft);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.discord-stat-list {
  display: grid;
  gap: 6px;
}

.discord-stat-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(120, 130, 170, 0.2);
  border-radius: 9px;
  padding: 8px 9px;
  font-size: 0.78rem;
}

.discord-stat-list span {
  color: var(--ink-soft);
}

.discord-quick-actions {
  display: grid;
  gap: 6px;
}

.discord-quick-actions a {
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid rgba(0, 245, 160, 0.2);
  background: rgba(0, 245, 160, 0.08);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.discord-quick-actions a:hover {
  color: var(--ink);
  border-color: rgba(0, 245, 160, 0.38);
}

.discord-mobile-bar,
.discord-mobile-tabs {
  display: none;
}

@media (max-width: 1200px) {
  .discord-home-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .discord-pane--live {
    grid-column: span 2;
    position: static;
  }
}

@media (max-width: 920px) {
  .discord-home {
    padding: 10px 0 18px;
  }

  .discord-mobile-bar {
    width: calc(100vw - 18px);
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid rgba(0, 245, 160, 0.2);
    border-radius: 12px;
    background: rgba(10, 14, 24, 0.92);
    padding: 8px 10px;
    position: sticky;
    top: 74px;
    z-index: 16;
  }

  .discord-mobile-bar strong {
    font-family: "Orbitron", "Rajdhani", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .discord-mobile-drawer-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(0, 245, 160, 0.38);
    background: rgba(3, 8, 16, 0.85);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 0 10px;
  }

  .discord-mobile-drawer-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
  }

  .discord-mobile-tabs {
    width: calc(100vw - 18px);
    margin: 0 auto 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .discord-mobile-tabs button {
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(120, 130, 170, 0.24);
    background: rgba(3, 8, 16, 0.75);
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.68rem;
    font-weight: 700;
  }

  .discord-mobile-tabs button.is-active {
    color: var(--ink);
    border-color: rgba(0, 245, 160, 0.4);
    background: rgba(0, 245, 160, 0.16);
  }

  .discord-home-shell {
    width: calc(100vw - 18px);
    grid-template-columns: 1fr;
    gap: 8px;
    position: relative;
  }

  .discord-pane--nav {
    position: fixed;
    left: 9px;
    top: 126px;
    bottom: 12px;
    width: min(300px, calc(100vw - 28px));
    z-index: 25;
    transform: translateX(-112%);
    transition: transform 0.22s ease;
    overflow-y: auto;
  }

  .discord-home-shell.is-drawer-open .discord-pane--nav {
    transform: translateX(0);
  }

  .discord-pane--feed,
  .discord-pane--live {
    grid-column: 1;
  }

  .discord-home-shell[data-active-pane="nav"] .discord-pane--feed,
  .discord-home-shell[data-active-pane="nav"] .discord-pane--live,
  .discord-home-shell[data-active-pane="feed"] .discord-pane--live,
  .discord-home-shell[data-active-pane="live"] .discord-pane--feed {
    display: none;
  }

  .discord-kpis {
    grid-template-columns: 1fr;
  }
}
