html, body {
  min-height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #333;
}

[hidden] {
  display: none !important;
}

.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;
}

main, .container, .docs-container, main.docs-container {
  flex: 1 0 auto;
}

nav {
  background: #222;
  padding: 15px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #aaa;
}

h1, h2 {
  color: #222;
}

.docs-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 45px;
}

.docs-sidebar {
  flex: 1;
  position: relative;
  background: #f9f9f9;
  padding: 20px;
  border-right: 1px solid #ddd;
  height: 100%;
  overflow: auto;
}

.docs-sidebar h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.docs-sidebar input {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.docs-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-bottom: 20px;
  padding-top: 30px;
}

.docs-sidebar li {
  margin: 8px 0;
}

.docs-sidebar a {
  text-decoration: none;
  color: #333;
}

.docs-content {
  flex: 3;
  padding-left: 30px;
  height: 100%;
  overflow: auto;
}

.module-section {
  margin-bottom: 54px;
  background: #f3f6fd;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(35,41,70,0.06);
  padding: 24px 28px 18px 28px;
  border: 1.5px solid #e0e7ff;
}

.module-section h2 {
  border-bottom: 2px solid #eebbc3;
  padding-bottom: 7px;
  margin-bottom: 12px;
  font-size: 1.3em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.module-section code {
  background: #e0e7ff;
  color: #232946;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 1em;
}

.example-screen summary {
  cursor: pointer;
  font-weight: 600;
  color: #232946;
}
.example-screen summary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(238,187,195,0.12);
}
.example-screen .example-img img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(35,41,70,0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
  display: block;
}
.example-screen .example-img img:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(35,41,70,0.10);
}

.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.patch-page .container {
  min-width: 50%;
  max-width: 1400px;
  margin: 40px auto;
  padding: 28px 32px;
}

.patch-list { display: flex; flex-direction: column; gap: 14px; }
.patch-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
  border: 1px solid rgba(35,41,70,0.06);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(35,41,70,0.06);
  overflow: hidden;
}
.patch-card .patch-toggle {
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(90deg, rgba(238,187,195,0.04), rgba(224,231,255,0.02));
  border: none;
  cursor: pointer;
  text-align: left;
}
.patch-card .patch-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(238,187,195,0.12);
}

.patch-meta {
  display:flex;
  gap:12px;
  align-items:baseline;
}

.patch-version {
  background: #232946;
  color: #fff;
  padding:6px 10px;
  border-radius:8px;
  font-weight:700;
  font-size:0.95em;
}

.patch-version-wow {
  background: #167bbe;
  color: #fff;
  padding:6px 10px;
  border-radius:8px;
  font-weight:700;
  font-size:0.95em;
}

.patch-title {
  font-size:1.05em;
  font-weight:700;
  color:#232946;
}

.patch-date {
  color:#7b84a9;
  font-size:0.95em;
  margin-left:10px;
}

.patch-summary {
  color:#5b647d;
  margin-left: 12px;
  flex:1;
}

.chevron {
  margin-left: 12px;
  color:#7b84a9;
  font-size:1.2em;
  transition: transform 220ms ease;
}

.patch-body {
  padding: 18px 22px 22px 22px;
  border-top: 1px solid rgba(35,41,70,0.03);
   animation: fadeIn 240ms ease;
}

.patch-body[hidden] {
  display: none;
}

.patch-card.open .chevron {
  transform: rotate(180deg);
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.docs-header {
  position: relative;
  background: #232946;
  color: #fff;
  padding: 0 0 10px 0;
  box-shadow: 0 2px 8px rgba(35,41,70,0.08);
}

.hamburger {
  display: none;
  position: absolute;
  left: 12px;
  top: 14px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
}

.hamburger:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(238,187,195,0.12);
}

.hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 0;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.12s ease;
}

.pannel-btn {
  position: absolute;
  right: 12px;
  top: 14px;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #2e6da9;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}
.pannel-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(120,92,200,0.12);
}

@media (max-width: 900px) {
  .pannel-btn {
  padding: 7px 10px;
  font-size: 1.1rem;
  right: 12px; }
}

.hamburger.open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.docs-header nav .nav-links {
  display: flex;
  gap: 0px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .lang-switcher { right: 16px; top: 12px; }
  .docs-header nav .nav-links { display: none; }

  .docs-header nav.open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(35,41,70,0.98), rgba(35,41,70,0.96));
    position: absolute;
    left: 0;
    right: 0;
    top: 64px; /* drop-down under header */
    padding: 12px 16px 18px 16px;
    z-index: 55;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }
  .docs-header nav.open .nav-links a {
    padding: 10px 12px;
    background: transparent;
    color: #fff;
    border-radius: 8px;
    text-align: left;
  }
  .docs-header nav.open .nav-links a:hover {
    background: rgba(255,255,255,0.06);
  }
}

.home-page {
  background: url('banniere.avif') center/cover no-repeat fixed;
}
.home-page .docs-header {
  background: transparent;
  box-shadow: none;
}

.home-hero {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1px 1px;
  color: #fff;
}
.logo-large {
  width: 60%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  max-width: 95%;
  aspect-ratio: 1 / 1;
}
.home-tagline {
  margin-top: 22px;
  margin-left: 10%;
  margin-right: 10%;
  font-size: 1.8rem;
  color: #fff;
  text-shadow: 0 6px 20px rgba(35,41,70,0.6);
}
.btn-cta {
  display: inline-block;
  margin-top: 18px;
  background: linear-gradient(90deg, #5865F2 0%, #7B61FF 100%);
  color: #fff;
  padding: 30px 60px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(91,74,255,0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
  font-size: 1.8em;
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(91,74,255,0.22);
}

@media (max-width: 900px) {
  .btn-cta {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}
.btn-cta2 {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(90deg, #9258B0 0%, #A958B0 100%);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(91,74,255,0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
  font-size: 1em;
}
.btn-cta2:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(91,74,255,0.22);
}

.bfy-global-panel {
  width: 80%;
  max-width: 1200px;
  margin: 18px auto 0 auto;
  background: transparent;
  display: none;
  padding: 12px 0 28px 0;
}
.bfy-global-panel.open { display: block; }
.features {
  max-width: 1200px;
  margin: 48px auto 80px auto;
  padding: 20px;
}
.features-inner { padding: 20px; }
.features-title {
  color: #ffffff;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 28px;
}
.feature-row {
  display: flex;
  gap: 36px;
  align-items: center;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 700ms cubic-bezier(.2,.9,.2,1), transform 700ms cubic-bezier(.2,.9,.2,1);
}
.feature-row.reverse { flex-direction: row-reverse; transform: translateX(40px); }
.feature-row.revealed { opacity: 1; transform: translateX(0); }
.feature-image { background: transparent; padding: 0; }
.feature-image img {
  width: 260px;
  max-width: 20vw;
  height: auto;
  display: block;
  border-radius: 12px;
  background-color: transparent;
  transition: transform 160ms ease;
}
.feature-content { max-width: 720px; }
.feature-content h3 { color: #3da5ff; font-size: 1.5rem; margin-bottom: 10px; }
.feature-content p { color: #ffffff; margin: 0; line-height: 1.6; }

@media (max-width: 900px) {
  .feature-row, .feature-row.reverse { flex-direction: column; transform: translateY(22px); }
  .feature-row.revealed { transform: translateY(0); }
  .feature-image img { width: 48%; max-width: 220px; }
  .feature-content { text-align: center; }
  .features { padding: 12px; }

  .feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .feature-image img {
    margin: 0 auto;
    width: 38%;
    max-width: 220px;
    height: auto;
    display: block;
  }
}
.bfy-global-panel .bfy-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 36px rgba(35,41,70,0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.bfy-global-panel .bfy-slide img:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(35,41,70,0.12); }

@media (max-width: 900px) {
  .btn-cta2 { padding: 12px 18px; font-size: 0.95rem; }
}
.logo-title {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0 10px 0;
  justify-content: center;
}
.logo-titre {
  width: 48px;
  height: 48px;
  border-radius: 0;
  box-shadow: none;
}
.docs-header nav {
  background: transparent;
  text-align: center;
  padding: 0 0 10px 0;
}
.docs-header nav a {
  color: #fff;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08em;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.docs-header nav a.active, .docs-header nav a:hover {
  background: #eebbc3;
  color: #232946;
}

.lang-switcher {
  position: absolute;
  right: 18px;
  top: 18px;
  display: flex;
  gap: 8px;
}
.lang-switcher button {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95em;
  transition: background 0.18s, color 0.18s, transform 0.08s;
}
.lang-switcher button:hover { transform: translateY(-1px); }
.lang-switcher button.active,
.lang-switcher button:hover {
  background: #eebbc3;
  color: #232946;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(238,187,195,0.12);
}
.lang-switcher button:focus { outline: none; box-shadow: 0 0 0 3px rgba(238,187,195,0.14); }

.docs-header nav {
  background: transparent;
  text-align: center;
  padding: 0 0 10px 0;
}

main.docs-container {
  display: flex;
  max-width: 1200px;
  margin: 30px auto 0 auto;
  padding-top: 20px;
  padding-left: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(35,41,70,0.10);
  gap: 32px;
  height: calc(100vh - 20px);
  overflow: hidden;
}

.docs-sidebar {
  flex: 1;
  position: relative;
  background: #f3f6fd;
  padding: 10px 20px 10px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,41,70,0.06);
  height: 100%;
  overflow: auto;
  min-width: 220px;
  border: 1.5px solid #e0e7ff;
}

.docs-sidebar::after {
  content: "";
  display: block;
  width: 1px;
  pointer-events: none;
}
.docs-sidebar h2 {
  font-size: 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.docs-sidebar input {
  width: 100%;
  box-sizing: border-box;
  display: block;
  padding: 10px 12px;
  margin: 0 0 18px 0;
  border: 1.5px solid #b8c1ec;
  border-radius: 7px;
  font-size: 1em;
  background: #fff;
  transition: border 0.2s;
}
.docs-sidebar input:focus {
  border: 1.5px solid #eebbc3;
  outline: none;
}
.docs-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  min-height: 100vh;
}
.docs-sidebar li {
  margin: 12px 0;
}
.docs-sidebar a {
  text-decoration: none;
  color: #232946;
  font-size: 1.07em;
  padding: 7px 10px;
  border-radius: 6px;
  display: block;
  transition: background 0.18s, color 0.18s;
}
.docs-sidebar a:hover {
  background: #eebbc3;
  color: #232946;
  font-weight: 600;
}

@media (max-width: 900px) {
  main.docs-container {
    flex-direction: column;
    padding: 18px 4vw 30px 4vw;
    gap: 18px;
  }
  .docs-sidebar {
    min-width: unset;
    margin-right: 1%;
    margin-bottom: 18px;
    position: static;
  }
  .docs-content {
    padding-left: 0;
  }
}

.status-card {
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid #e6eefc;
  box-shadow: 0 6px 20px rgba(35,41,70,0.06);
  max-width: 720px;
  margin-top: 14px;
}
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.status-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.status-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d1d5db;
  box-shadow: 0 1px 4px rgba(35,41,70,0.08);
}
.status-online { background: #34d399; box-shadow: 0 4px 14px rgba(52,211,153,0.14); }
.status-offline { background: #ef4444; box-shadow: 0 4px 14px rgba(239,68,68,0.14); }
.status-restarting { background: #f59e0b; box-shadow: 0 4px 14px rgba(245,158,11,0.14); }
.status-unknown { background: #9ca3af; box-shadow: 0 4px 14px rgba(156,163,175,0.14); }

.site-footer {
  background: linear-gradient(180deg, #232946 0%, #1b2033 100%);
  color: #e6eefc;
  padding: 36px 20px;
  margin-top: 40px;
}
.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.footer-brand {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-brand img {
  width: 140px;
  height: auto;
  border-radius: 12px;
  padding: 8px;
}
.footer-brand p {
  margin: 0;
  color: #cbd6ff;
  font-size: 0.95em;
}
.footer-lists {
  display: flex;
  gap: 40px;
  flex: 1 1 auto;
}
.footer-column h4 {
  margin: 0 0 10px 0;
  color: #fff;
}
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin: 8px 0; }
.footer-column a { color: #cbd6ff; text-decoration: none; }
.footer-column a:hover { color: #fff; }
.footer-bottom { text-align: center; color: #98a0d8; font-size: 0.9em; margin-top: 18px; }

@media (max-width: 900px) {
  .site-footer .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-lists { flex-direction: column; gap: 18px; }
  .footer-lists .footer-column { width: 100%; }
}
.bot-for-you {
  max-width: 1100px;
  margin: 60px auto 40px auto;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(35, 41, 70, 0.08);
  text-align: center;
}

.bot-for-you h2 {
  font-size: 2rem;
  margin-bottom: 28px;
  color: #232946;
  text-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.bot-for-you-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.bfy-item {
  background: #ffffff;
  border: 1.5px solid #e0e7ff;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(35, 41, 70, 0.06);
  padding: 20px;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bfy-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(35, 41, 70, 0.12);
}

.bfy-item h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  color: #232946;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bfy-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #5b647d;
  line-height: 1.4;
}

.bfy-card { border-radius: 12px; overflow: hidden; }
.bfy-item { position: relative; padding-bottom: 12px; }
.bfy-toggle {
  margin-top: 12px;
  background: transparent;
  border: 1px solid #e0e7ff;
  color: #232946;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.bfy-toggle:hover { background: #f3f6fd; }
.bfy-panel {
  background: linear-gradient(180deg,#ffffff,#fbfbff);
  border-top: 1px solid #eef2ff;
  padding: 14px;
  transition: max-height 220ms ease, opacity 220ms ease;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(35,41,70,0.04);
  max-height: 0;
}
.bfy-panel[hidden] { display: block; opacity: 0; }
.bfy-panel:not([hidden]) { opacity: 1; }
.bfy-carousel { display:flex; align-items:center; gap:12px; justify-content:center; }
.bfy-slide { width: 100%; max-width: 520px; display:block; }
.bfy-slide img { width:100%; height:auto; display:block; border-radius:10px; box-shadow:0 10px 30px rgba(35,41,70,0.08); }
.bfy-prev, .bfy-next { background:#eebbc3; border:none; color:#232946; padding:8px 10px; border-radius:8px; cursor:pointer; font-weight:700; }
.bfy-prev:hover, .bfy-next:hover { transform: translateY(-2px); }
.bfy-panel-note { margin-top:8px; font-size:0.9rem; color:#6b7280; text-align:center; }
.bfy-panel-empty { padding:20px; color:#6b7280; text-align:center; }

@media (max-width: 600px) {
  .bot-for-you {
    padding: 16px;
  }
  .bfy-item h3 {
    font-size: 1rem;
  }
  .bfy-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  main.docs-container {
    height: auto;
    overflow: visible;
    padding-top: 12px;
  }

  .docs-sidebar, .docs-content {
    height: auto;
    overflow: visible;
  }

  .docs-sidebar ul {
    min-height: 0;
  }

  .module-section {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 18px;
  }

  .module-section:first-of-type {
    margin-top: 6px;
  }

  .docs-content {
    padding-left: 0;
    padding-right: 4vw;
  }
}

/* ============================================
   Glassmorphism redesign - public website
============================================ */
:root {
  --site-bg-dark: #071226;
  --site-bg-mid: #174772;
  --site-bg-light: #2e6ba9;
  --site-panel: rgba(255, 255, 255, 0.075);
  --site-panel-strong: rgba(255, 255, 255, 0.115);
  --site-panel-soft: rgba(255, 255, 255, 0.045);
  --site-border: rgba(255, 255, 255, 0.14);
  --site-border-strong: rgba(255, 255, 255, 0.22);
  --site-shadow: rgba(0, 0, 0, 0.32);
  --site-text: #f7fbff;
  --site-text-soft: rgba(247, 251, 255, 0.74);
  --site-text-muted: rgba(247, 251, 255, 0.52);
  --site-accent: #38bdf8;
  --site-accent-2: #ecbbc3;
  --site-gold: #fbbf24;
  --site-green: #22c55e;
  --site-danger: #fb7185;
  --site-radius: 20px;
  --site-radius-sm: 12px;
  --site-blur: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: #071226;
  background-image:
    linear-gradient(145deg, rgba(7, 18, 38, 0.98) 0%, rgba(23, 71, 114, 0.96) 48%, rgba(12, 25, 48, 0.98) 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  min-height: 100vh;
  background-color: #071226;
  background-image:
    linear-gradient(145deg, rgba(7, 18, 38, 0.98) 0%, rgba(23, 71, 114, 0.96) 48%, rgba(12, 25, 48, 0.98) 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: var(--site-text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 36%, rgba(255, 255, 255, 0) 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

body.home-page {
  background-color: #071226 !important;
  background-image:
    linear-gradient(145deg, rgba(7, 18, 38, 0.86) 0%, rgba(23, 71, 114, 0.78) 50%, rgba(12, 25, 48, 0.9) 100%),
    url('banniere.avif') !important;
  background-position: center, center !important;
  background-size: 100% 100%, cover !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: scroll, scroll !important;
}

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

h1,
h2,
h3,
h4 {
  color: var(--site-text);
  letter-spacing: 0;
}

p,
li {
  color: var(--site-text-soft);
}

strong {
  color: var(--site-text);
}

.glass-panel,
.container,
.bot-for-you,
.home-stats-panel,
main.docs-container,
.docs-sidebar,
.module-section,
.patch-card,
.status-card {
  background: var(--site-panel);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  box-shadow: 0 24px 70px -34px var(--site-shadow);
  backdrop-filter: blur(var(--site-blur));
  -webkit-backdrop-filter: blur(var(--site-blur));
}

.glass-panel,
.container,
.bot-for-you,
.home-stats-panel,
.module-section,
.patch-card,
.status-card {
  position: relative;
  overflow: hidden;
}

.glass-panel::before,
.container::before,
.bot-for-you::before,
.home-stats-panel::before,
.module-section::before,
.patch-card::before,
.status-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}

.docs-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 18, 38, 0.7) !important;
  border-bottom: 1px solid var(--site-border);
  box-shadow: 0 20px 60px -42px #000;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.home-page .docs-header {
  background: rgba(7, 18, 38, 0.56) !important;
  box-shadow: 0 20px 60px -44px #000;
}

.logo-title {
  gap: 12px;
  padding: 14px 96px 8px;
}

.logo-title h1 {
  margin: 0;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 2px 8px #232946;
}

.logo-titre {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

.docs-header nav {
  padding: 0 18px 14px;
}

.docs-header nav .nav-links {
  gap: 8px;
  flex-wrap: wrap;
}

.docs-header nav a {
  margin: 0;
  color: var(--site-text-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 8px 13px;
  font-weight: 600;
}

.docs-header nav a.active,
.docs-header nav a:hover {
  background: var(--site-panel-strong);
  color: var(--site-text);
  border-color: var(--site-border);
}

.pannel-btn {
  top: 16px;
  right: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--site-accent), #2563eb);
  color: #fff;
  border: 0;
  background-clip: padding-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 14px 36px rgba(14, 165, 233, 0.24);
  font-size: 0.92rem;
  letter-spacing: 0;
}

.pannel-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 18px 44px rgba(14, 165, 233, 0.32);
}

.site-auth {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 66;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.status-info-link {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 66;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-border);
  border-radius: 50%;
  background: rgba(5, 12, 27, 0.72);
  color: var(--site-text);
  box-shadow: 0 14px 36px rgba(2, 8, 23, 0.18);
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.status-info-link:hover,
.status-info-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(5, 12, 27, 0.86);
  outline: none;
}

.site-auth .pannel-btn {
  position: static;
  inset: auto;
  min-height: 42px;
  padding: 9px 11px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.site-auth .site-dashboard-link {
  background: rgba(5, 12, 27, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 14px 36px rgba(2, 8, 23, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-auth-menu {
  position: relative;
  display: inline-flex;
}

.site-auth-card {
  display: inline-flex;
  max-width: min(280px, calc(100vw - 28px));
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 6px 8px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(5, 12, 27, 0.72);
  color: #fff;
  appearance: none;
  box-shadow: 0 14px 36px rgba(2, 8, 23, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-auth-toggle {
  cursor: pointer;
  font: inherit;
}

.site-auth-toggle:hover,
.site-auth-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(5, 12, 27, 0.84);
  outline: none;
}

.site-auth-avatar {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--site-accent), #7c3aed);
  font-size: 0.72rem;
  font-weight: 900;
}

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

.site-auth-card strong {
  max-width: 104px;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-auth-connected {
  color: #bbf7d0;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.site-auth-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(5, 12, 27, 0.92);
  box-shadow: 0 18px 42px rgba(2, 8, 23, 0.26);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-auth-dropdown a,
.site-auth-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.site-auth-dropdown a {
  width: 100%;
}

.site-auth-dropdown .site-auth-logout {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

.site-auth-dropdown a:hover,
.site-auth-dropdown a:focus-visible,
.site-auth-card a:hover,
.site-auth-card a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.site-auth-dropdown .site-auth-logout:hover,
.site-auth-dropdown .site-auth-logout:focus-visible {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
}

.hamburger {
  display: none;
  background: var(--site-panel);
  border: 1px solid var(--site-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hamburger .bar {
  background: var(--site-text);
}

.container {
  width: min(1100px, calc(100% - 32px));
  max-width: 1100px;
  margin: 42px auto;
  padding: clamp(22px, 3vw, 36px);
}

.container h2 {
  margin-top: 1.3em;
}

.container h2:first-child {
  margin-top: 0;
}

.container a,
.docs-content a {
  color: var(--site-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.privacy-summary-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 8px;
  padding: 0;
}

.privacy-summary-list div {
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  border-left: 3px solid var(--site-accent);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.052);
}

.privacy-summary-list strong {
  color: var(--site-text);
}

.privacy-summary-list span {
  color: var(--site-text-soft);
  line-height: 1.55;
}

.home-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  align-items: stretch;
  justify-content: flex-start;
  min-height: auto;
  padding: clamp(36px, 6vw, 72px) 0 24px;
  gap: 28px;
  text-align: left;
}

.home-hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.74fr);
  align-items: center;
  gap: clamp(24px, 6vw, 76px);
  width: 100%;
}

.home-hero-copy {
  min-width: 0;
}

.home-hero-title {
  margin: 0;
  font-size: clamp(4rem, 10vw, 7.6rem);
  line-height: 0.88;
  color: var(--site-text);
  text-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);
}

.home-logo-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logo-large {
  width: clamp(230px, 28vw, 420px);
  max-width: 100%;
  filter: drop-shadow(0 30px 58px rgba(0, 0, 0, 0.32));
}

.home-tagline {
  max-width: 670px;
  margin: 18px 0 0;
  font-size: 1.85rem;
  line-height: 1.35;
  color: var(--site-text);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.46);
}

.home-hero-actions {
  --home-action-width: min(100%, 360px);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 26px;
}

.home-hero-actions .btn-cta,
.home-hero-actions .btn-cta2 {
  margin-top: 0;
}

.home-hero-actions .home-primary-action,
.home-vote-actions {
  flex: 0 1 var(--home-action-width);
  width: var(--home-action-width);
}

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

.home-vote-action {
  width: 100%;
  min-height: 100%;
  padding: 12px 10px;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.18;
  white-space: normal;
}

.home-vote-action.home-vote-top-server {
  border-color: rgba(245, 214, 154, 0.62);
  background:
    linear-gradient(135deg, rgba(245, 214, 154, 0.48), rgba(180, 126, 46, 0.22)),
    rgba(245, 214, 154, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 246, 224, 0.16),
    0 12px 30px rgba(180, 126, 46, 0.14);
}

.home-vote-action.home-vote-top-gg {
  border-color: rgba(249, 168, 212, 0.64);
  background:
    linear-gradient(135deg, rgba(249, 168, 212, 0.48), rgba(219, 39, 119, 0.2)),
    rgba(249, 168, 212, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(255, 228, 240, 0.16),
    0 12px 30px rgba(219, 39, 119, 0.14);
}

.home-vote-action.home-vote-top-server:hover,
.home-vote-action.home-vote-top-server:focus-visible {
  border-color: rgba(245, 214, 154, 0.78);
  background:
    linear-gradient(135deg, rgba(245, 214, 154, 0.62), rgba(180, 126, 46, 0.28)),
    rgba(245, 214, 154, 0.42);
}

.home-vote-action.home-vote-top-gg:hover,
.home-vote-action.home-vote-top-gg:focus-visible {
  border-color: rgba(249, 168, 212, 0.8);
  background:
    linear-gradient(135deg, rgba(249, 168, 212, 0.62), rgba(219, 39, 119, 0.27)),
    rgba(249, 168, 212, 0.42);
}

.home-stats-panel {
  width: 100%;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: clamp(16px, 2.3vw, 24px);
}

.home-stats-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.12rem);
  line-height: 1.05;
  white-space: nowrap;
}

.home-stats-heading p {
  margin: 9px 0 0;
  color: var(--site-text-muted);
  font-size: 0.9rem;
}

.home-stats-panel[data-stats-state="ready"] .home-stats-heading p {
  color: var(--site-green);
}

.home-stats-panel[data-stats-state="error"] .home-stats-heading p {
  color: var(--site-gold);
}

.home-stats-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 0.82fr)
    minmax(0, 0.82fr)
    minmax(0, 0.92fr)
    minmax(0, 1.44fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: var(--site-border);
}

.home-stat {
  container-type: inline-size;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px 20px;
  background: rgba(5, 12, 27, 0.42);
}

.home-stat-value {
  --stat-pearl-glow: rgba(56, 189, 248, 0.28);
  color: var(--site-text);
  display: inline-block;
  width: max-content;
  max-width: 100%;
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-shadow:
    0 0 16px var(--stat-pearl-glow),
    0 2px 8px rgba(255, 255, 255, 0.1);
}

.home-stat-value[data-stat="uptime"] {
  --uptime-color: var(--site-green);
  --uptime-soft: rgba(34, 197, 94, 0.34);
  --stat-pearl-glow: var(--uptime-soft);
  color: var(--uptime-color);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .home-stat-value {
    background-image: linear-gradient(
      110deg,
      #ffffff 0%,
      #dff7ff 18%,
      #7dd3fc 36%,
      #ffffff 52%,
      #bae6fd 68%,
      #38bdf8 84%,
      #ffffff 100%
    );
    background-size: 230% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: homeStatPearl 5.5s ease-in-out infinite;
  }

  .home-stat-value[data-stat="uptime"] {
    background-image: linear-gradient(
      110deg,
      #ffffff 0%,
      color-mix(in srgb, var(--uptime-color) 48%, #ffffff) 22%,
      var(--uptime-color) 44%,
      #ffffff 60%,
      color-mix(in srgb, var(--uptime-color) 70%, #ffffff) 78%,
      #ffffff 100%
    );
  }
}

@supports (font-size: 1cqw) {
  .home-stat-value {
    font-size: clamp(2.35rem, 25cqw, 3.85rem);
  }
}

@keyframes homeStatPearl {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-stat-value {
    animation: none;
    background-position: 50% 50%;
  }
}

.home-stat-label {
  color: var(--site-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-stat-status-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 7px 9px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--site-text);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.home-stat-status-link:hover,
.home-stat-status-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.58);
  background: rgba(56, 189, 248, 0.18);
  outline: none;
}

@media (max-width: 1080px) {
  .home-stats-panel {
    grid-template-columns: 1fr;
  }
}

.home-trust-section,
.home-reviews-section {
  width: min(1120px, 100%);
  margin: clamp(34px, 5vw, 58px) auto 24px;
}

.home-trust-grid,
.home-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.home-trust-card,
.home-review-card,
.about-proof-item,
.about-team-card,
.about-contact-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.108), rgba(255, 255, 255, 0.052));
  box-shadow: 0 24px 58px -40px #000;
}

.home-trust-card::before,
.about-proof-item::before,
.about-team-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--card-accent, var(--site-accent));
}

.home-trust-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
}

.home-trust-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--site-accent)) 45%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--card-accent, var(--site-accent)) 18%, transparent);
  color: var(--site-text);
  font-weight: 900;
}

.home-trust-card h3,
.home-review-card h3,
.about-proof-item h3,
.about-team-card h3 {
  margin: 0;
  color: var(--site-text);
  font-size: 1.08rem;
}

.home-trust-card p,
.home-review-card p,
.about-proof-item p,
.about-team-card p {
  margin: 0;
  color: var(--site-text-soft);
  line-height: 1.56;
}

.home-trust-card a {
  margin-top: auto;
  color: var(--site-accent);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.home-review-card {
  padding: 18px;
}

.home-review-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.home-review-head img,
.about-team-card img {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  object-fit: cover;
}

.home-review-stars {
  display: inline-flex;
  margin-top: 3px;
  color: #facc15;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.btn-cta,
.btn-cta2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border: 0;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  background-clip: padding-box;
}

.btn-cta {
  padding: 16px 24px;
  background: linear-gradient(135deg, #2563eb 0%, var(--site-accent) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 14px 36px rgba(37, 99, 235, 0.28);
  font-size: 1.12rem;
}

.btn-cta2 {
  padding: 11px 18px;
  background: var(--site-panel);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 12px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-cta:hover,
.btn-cta2:hover {
  transform: translateY(-2px);
}

.bot-for-you {
  width: min(1120px, 100%);
  margin: clamp(34px, 5vw, 58px) auto 24px;
  padding: clamp(20px, 3vw, 30px);
  text-align: left;
}

.bot-for-you h2,
.features-title {
  text-align: center;
  color: var(--site-text);
}

.bot-for-you-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bfy-item {
  min-height: 100%;
  background: var(--site-panel-soft);
  border: 1px solid var(--site-border);
  border-radius: 16px;
  box-shadow: none;
  color: var(--site-text);
}

.bfy-item:hover {
  background: var(--site-panel-strong);
  border-color: var(--site-border-strong);
  box-shadow: 0 18px 44px -28px var(--site-shadow);
}

.bfy-item h3 {
  color: var(--site-text);
}

.bfy-item p {
  color: var(--site-text-soft);
}

.bfy-toggle,
.bfy-prev,
.bfy-next {
  background: var(--site-panel);
  color: var(--site-text);
  border: 1px solid var(--site-border);
}

.bfy-toggle:hover,
.bfy-prev:hover,
.bfy-next:hover {
  background: var(--site-panel-strong);
}

.bfy-panel {
  background: rgba(7, 18, 38, 0.66);
  border-color: var(--site-border);
}

.status-main {
  width: min(1040px, calc(100% - 32px));
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.status-current,
.status-system-panel,
.status-incident-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: var(--site-panel);
  box-shadow: 0 24px 70px -34px var(--site-shadow);
  backdrop-filter: blur(var(--site-blur));
  -webkit-backdrop-filter: blur(var(--site-blur));
}

.status-current::before,
.status-system-panel::before,
.status-incident-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}

.status-current {
  --status-color: var(--site-text-muted);
  --status-soft: rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
  border-color: color-mix(in srgb, var(--status-color) 42%, var(--site-border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--status-color) 16%, transparent), transparent 52%),
    var(--site-panel);
}

.status-current.status-state-operational {
  --status-color: var(--site-green);
  --status-soft: rgba(34, 197, 94, 0.14);
}

.status-current.status-state-degraded {
  --status-color: var(--site-gold);
  --status-soft: rgba(251, 191, 36, 0.16);
}

.status-current.status-state-down {
  --status-color: var(--site-danger);
  --status-soft: rgba(251, 113, 133, 0.16);
}

.status-current-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--status-color) 58%, transparent);
  border-radius: 50%;
  background: var(--status-soft);
  color: var(--status-color);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.status-current-copy h2 {
  margin: 0;
  color: var(--site-text);
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  line-height: 1.08;
}

.status-current-copy p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--site-text-soft);
  line-height: 1.55;
}

.status-current-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.status-current-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--site-border);
  border-radius: 10px;
  background: var(--site-panel-soft);
  color: var(--site-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-current-meta strong {
  margin-left: 5px;
  color: var(--site-text);
}

.status-system-panel,
.status-incident-panel {
  padding: clamp(18px, 2.6vw, 26px);
}

.status-panel-head {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.status-panel-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.status-range {
  color: var(--site-text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.status-services-list {
  display: grid;
  gap: 14px;
}

.status-service-row {
  padding: 18px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: rgba(5, 12, 27, 0.34);
}

.status-service-top {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.status-service-name {
  min-width: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.status-service-name strong {
  display: block;
  color: var(--site-text);
  font-size: 1rem;
}

.status-service-name span:not(.status-service-dot) {
  display: block;
  color: var(--site-text-muted);
  font-size: 0.86rem;
}

.status-service-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: var(--site-text-muted);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.status-service-dot.status-operational,
.status-history-day.status-operational {
  background: var(--site-green);
}

.status-service-dot.status-degraded,
.status-history-day.status-degraded {
  background: var(--site-gold);
}

.status-service-dot.status-down,
.status-history-day.status-down {
  background: var(--site-danger);
}

.status-service-dot.status-unknown,
.status-history-day.status-unknown {
  background: rgba(148, 163, 184, 0.74);
}

.status-service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  color: var(--site-text-muted);
  font-size: 0.88rem;
}

.status-service-meta strong {
  color: var(--site-text);
  white-space: nowrap;
}

.status-history-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5px, 1fr));
  gap: 4px;
  width: 100%;
  min-height: 24px;
  margin-top: 8px;
}

.status-history-day {
  min-width: 5px;
  height: 24px;
  border-radius: 3px;
  outline: 1px solid rgba(255, 255, 255, 0.06);
}

.status-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 14px;
  background: var(--site-border);
}

.status-summary-grid div {
  min-height: 76px;
  padding: 13px;
  background: rgba(5, 12, 27, 0.4);
}

.status-summary-grid span {
  display: block;
  color: var(--site-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-summary-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--site-text);
  font-size: 1.1rem;
}

.status-incident-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--site-border);
  border-radius: 14px;
  background: var(--site-panel-soft);
  color: var(--site-text-soft);
}

.status-incident-item {
  --incident-color: var(--site-gold);
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--incident-color) 42%, var(--site-border));
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--incident-color) 12%, transparent), rgba(5, 12, 27, 0.34));
}

.status-incident-item.status-down {
  --incident-color: var(--site-danger);
}

.status-incident-item.status-degraded {
  --incident-color: var(--site-gold);
}

.status-incident-head {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
}

.status-incident-head strong {
  color: var(--site-text);
}

.status-incident-head span,
.status-incident-detail {
  color: var(--site-text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.status-incident-item p {
  margin: 9px 0;
  color: var(--site-text-soft);
}

.features {
  width: min(1180px, calc(100% - 32px));
  margin: 44px auto 80px;
  padding: 0;
  overflow-x: clip;
}

.features-inner {
  padding: 0;
}

.features-lead {
  max-width: 720px;
  margin: -12px auto 32px;
  color: var(--site-text-muted);
  line-height: 1.65;
  text-align: center;
}

.feature-row {
  gap: clamp(18px, 4vw, 44px);
  padding: clamp(18px, 3vw, 28px);
  margin-bottom: 20px;
  background: var(--site-panel);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  backdrop-filter: blur(var(--site-blur));
  -webkit-backdrop-filter: blur(var(--site-blur));
  opacity: 1;
  transform: none;
  transition:
    opacity 680ms cubic-bezier(.2, .9, .2, 1),
    transform 680ms cubic-bezier(.2, .9, .2, 1),
    border-color 180ms ease,
    background-color 180ms ease;
}

.features.features-animated .feature-row {
  opacity: 0;
  transform: translate3d(-72px, 0, 0);
  will-change: opacity, transform;
}

.features.features-animated .feature-row[data-direction="right"] {
  transform: translate3d(72px, 0, 0);
}

.features.features-animated .feature-row.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.feature-row:hover {
  border-color: var(--site-border-strong);
  background: var(--site-panel-strong);
}

.feature-row.revealed {
  transform: none;
}

.feature-content h3 {
  color: var(--site-accent);
}

.feature-content p {
  color: var(--site-text-soft);
}

.feature-image img {
  max-width: min(180px, 28vw);
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, 0.24));
}

@media (max-width: 900px) {
  .features.features-animated .feature-row {
    transform: translate3d(-34px, 0, 0);
  }

  .features.features-animated .feature-row[data-direction="right"] {
    transform: translate3d(34px, 0, 0);
  }

  .features.features-animated .feature-row.revealed {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-row {
    transition: border-color 180ms ease, background-color 180ms ease;
  }
}

main.docs-container,
.docs-container {
  width: min(1280px, calc(100% - 32px));
  max-width: 1280px;
  margin: 32px auto 0;
  padding: clamp(16px, 2.2vw, 24px);
  gap: 22px;
  height: auto;
  min-height: calc(100vh - 210px);
  overflow: visible;
}

.docs-sidebar {
  flex: 0 0 285px;
  min-width: 240px;
  height: fit-content;
  max-height: calc(100vh - 150px);
  position: sticky;
  top: 126px;
  padding: 18px;
  overflow: auto;
}

.docs-sidebar h2 {
  color: var(--site-text);
}

.docs-sidebar input {
  background: rgba(255, 255, 255, 0.08);
  color: var(--site-text);
  border: 1px solid var(--site-border);
  border-radius: 12px;
}

.docs-sidebar input::placeholder {
  color: var(--site-text-muted);
}

.docs-sidebar input:focus {
  border-color: var(--site-accent);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.docs-sidebar ul {
  min-height: 0;
  padding-top: 12px;
}

.docs-sidebar a {
  color: var(--site-text-soft);
  border: 1px solid transparent;
}

.docs-sidebar a:hover {
  background: var(--site-panel-strong);
  color: var(--site-text);
  border-color: var(--site-border);
}

.docs-content {
  flex: 1;
  min-width: 0;
  height: auto;
  padding-left: 0;
  overflow: visible;
}

.module-section {
  margin-bottom: 20px;
  padding: clamp(20px, 3vw, 30px);
  border-color: var(--site-border);
}

.module-section h2 {
  color: var(--site-text);
  border-bottom: 1px solid var(--site-border);
}

.module-section code {
  background: rgba(56, 189, 248, 0.12);
  color: var(--site-text);
}

.example-screen summary {
  color: var(--site-accent);
}

.example-screen .example-img img,
.bfy-global-panel .bfy-slide img,
.bfy-slide img {
  border: 1px solid var(--site-border) !important;
  border-radius: 14px;
  box-shadow: 0 20px 52px -30px #000;
}

.patch-page .container {
  width: min(1400px, calc(100% - 32px));
  max-width: 1400px;
}

.patch-page .container > h2 {
  text-align: center;
  font-size: 2.45rem;
  margin-bottom: 28px;
}

.patch-list {
  gap: 16px;
}

.patch-card {
  background: var(--site-panel);
  border-color: var(--site-border);
}

.patch-card .patch-toggle {
  background: transparent;
  color: var(--site-text);
}

.patch-card .patch-toggle:hover {
  background: var(--site-panel-soft);
}

.patch-card .patch-toggle:focus {
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14);
}

.patch-version,
.patch-version-wow {
  background: linear-gradient(135deg, #2563eb, var(--site-accent));
  color: #fff;
  border-radius: 10px;
}

.patch-title {
  color: var(--site-text);
}

.patch-date,
.patch-summary,
.chevron {
  color: var(--site-text-muted);
}

.patch-body {
  border-top: 1px solid var(--site-border);
}

.patch-section {
  margin-top: 22px;
}

.patch-section:first-of-type {
  margin-top: 12px;
}

.patch-section h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--site-text);
}

.patch-section ul {
  margin: 0 0 0 20px;
  padding: 0;
}

.patch-section > ul > li {
  margin-bottom: 12px;
}

.patch-section li ul {
  margin-top: 6px;
}

.patch-body li {
  margin-bottom: 8px;
}

.site-footer {
  margin-top: 56px;
  padding: 34px 20px 24px;
  background: rgba(7, 18, 38, 0.72);
  border-top: 1px solid var(--site-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-footer .footer-inner {
  width: min(1200px, 100%);
  gap: clamp(22px, 4vw, 44px);
}

.footer-brand img {
  width: 104px;
  padding: 0;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.28));
}

.footer-column h4 {
  color: var(--site-text);
}

.footer-column a,
.footer-brand p {
  color: var(--site-text-soft);
}

.footer-column a:hover {
  color: var(--site-accent);
}

.footer-bottom {
  color: var(--site-text-muted);
}

.feature-page-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px) 0 0;
}

.bump-page .feature-page-main {
  width: min(1520px, calc(100% - 10vw));
}

.bump-page.bump-detail-view .feature-page-main {
  padding-top: 10px;
}

.feature-page-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 880px;
}

.feature-page-hero h2 {
  margin: 0;
  font-size: clamp(4.8rem, 13vw, 9rem);
  line-height: 0.9;
}

.feature-page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--site-text-soft);
  font-size: 1.18rem;
  line-height: 1.7;
}

.feature-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.launch-pill,
.status-pill,
.server-tags span,
.tutorial-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: var(--site-panel-soft);
  color: var(--site-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.feature-page-section {
  margin-top: clamp(46px, 7vw, 76px);
}

.about-main {
  padding-bottom: clamp(22px, 5vw, 48px);
}

.about-proof-grid,
.about-team-grid,
.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.about-proof-item {
  padding: 22px;
}

.about-team-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
}

.about-team-card img {
  width: 62px;
  height: 62px;
}

.about-team-card .status-pill {
  margin-bottom: 10px;
}

.about-contact-item {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--site-text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.about-contact-item span {
  color: var(--site-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-contact-item strong {
  overflow-wrap: anywhere;
}

.about-contact-item:hover,
.about-contact-item:focus-visible {
  transform: translateY(-2px);
  border-color: var(--site-border-strong);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.bump-page #bumpDirectorySection {
  margin-top: 0;
}

.bump-directory-tools {
  display: grid;
  gap: 16px;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.bump-search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.bump-search-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px 12px 46px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: rgba(5, 12, 27, 0.58);
  color: var(--site-text);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.bump-search-field input::placeholder {
  color: var(--site-text-muted);
}

.bump-search-field input:focus {
  border-color: var(--site-border-strong);
  background: rgba(5, 12, 27, 0.72);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.bump-search-icon {
  position: absolute;
  left: 15px;
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: var(--site-text-muted);
  pointer-events: none;
}

.bump-search-icon svg,
.bump-card-view svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

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

.bump-filter-group {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.bump-filter-group > span {
  color: var(--site-text);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bump-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bump-filter-chip {
  cursor: pointer;
}

.bump-filter-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bump-filter-chip span,
.bump-filter-empty {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 8px 11px;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--site-text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.bump-filter-chip input:checked + span {
  border-color: color-mix(in srgb, var(--site-accent) 62%, transparent);
  background: rgba(56, 189, 248, 0.14);
  color: var(--site-text);
}

.bump-filter-chip input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.bump-filter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--site-text-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.bump-filter-reset {
  min-height: 36px;
}

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

.bump-page .directory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.directory-card,
.tutorial-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.108), rgba(255, 255, 255, 0.054));
  box-shadow: 0 24px 58px -36px #000;
}

.directory-card::before,
.tutorial-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--card-accent, var(--site-accent));
}

.directory-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
}

.directory-card:hover,
.tutorial-card:hover {
  transform: translateY(-4px);
  border-color: var(--site-border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07));
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.server-card-head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.server-logo-placeholder {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--site-accent)) 44%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent, var(--site-accent)) 74%, white 5%), rgba(255, 255, 255, 0.08));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 42px -28px var(--card-accent, var(--site-accent));
}

.directory-card h3,
.tutorial-card h3 {
  margin: 9px 0 0;
  color: var(--site-text);
  font-size: 1.18rem;
}

.directory-card p,
.tutorial-card p {
  margin: 0;
  color: var(--site-text-soft);
  line-height: 1.6;
}

.server-tags,
.tutorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bump-language-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.bump-language-flag-public {
  flex: 0 0 28px;
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 5px 14px rgba(0, 0, 0, 0.18);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: var(--site-panel-soft);
  color: var(--site-text);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.mini-action:hover,
.mini-action:focus-visible {
  transform: translateY(-2px);
  border-color: var(--site-border-strong);
  background: var(--site-panel-strong);
  box-shadow: 0 16px 36px -26px var(--site-shadow);
  text-decoration: none;
}

.mini-action-primary {
  border-color: color-mix(in srgb, var(--card-accent, var(--site-accent)) 52%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent, var(--site-accent)) 64%, #2563eb 22%), rgba(255, 255, 255, 0.1));
}

.mini-action-primary:hover,
.mini-action-primary:focus-visible {
  border-color: color-mix(in srgb, var(--card-accent, var(--site-accent)) 78%, transparent);
  box-shadow: 0 18px 42px -24px var(--card-accent, var(--site-accent));
}

.mini-action.is-disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.mini-action.is-disabled:hover,
.mini-action.is-disabled:focus-visible {
  transform: none;
  border-color: var(--site-border);
  background: var(--site-panel-soft);
  box-shadow: none;
}

.server-logo-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.bump-card-description {
  color: var(--site-text-soft);
  line-height: 1.6;
}

.bump-directory-card {
  cursor: pointer;
  height: 488px;
  min-height: 488px;
  padding: 0;
  gap: 0;
  justify-content: flex-start;
}

.bump-directory-card::before {
  display: none;
}

.bump-card-cover {
  position: relative;
  min-height: 128px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(5, 12, 27, 0.12), rgba(5, 12, 27, 0.82)),
    var(--site-panel-strong);
  background-position: center;
  background-size: cover;
}

.bump-card-cover.no-banner {
  background: #111827;
}

.bump-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(7, 18, 38, 0.82));
  pointer-events: none;
}

.bump-card-cover.no-banner::after {
  background: none;
}

.bump-card-language,
.bump-last-bump-pill,
.bump-card-logo,
.bump-card-cover-actions {
  position: relative;
  z-index: 1;
}

.bump-card-language {
  max-width: calc(100% - 96px);
  background: rgba(5, 12, 27, 0.72);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bump-last-bump-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 12, 27, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bump-card-logo {
  position: absolute;
  left: 16px;
  bottom: -26px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.bump-card-cover-actions {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}

.bump-card-cover-actions .mini-action {
  min-height: 36px;
  padding: 9px 12px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(5, 12, 27, 0.68);
  box-shadow: none;
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bump-card-cover-actions .bump-card-view {
  width: 38px;
  flex: 0 0 38px;
  padding: 0;
}

.bump-card-view svg {
  width: 19px;
  height: 19px;
}

.bump-card-cover-actions .mini-action-primary {
  background: linear-gradient(135deg, #635bff, #7c3aed);
}

.bump-card-body {
  display: flex;
  min-height: 246px;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: 38px 18px 0;
}

.bump-card-title-row h3 {
  margin: 0;
  color: var(--site-text);
  font-size: 1.12rem;
  line-height: 1.25;
}

.bump-card-description {
  display: -webkit-box;
  min-height: 76px;
  overflow: hidden;
  color: var(--site-text-soft);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.bump-card-body .server-tags {
  max-height: 68px;
  overflow: hidden;
}

.bump-card-footer {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 0 18px 18px;
}

.bump-member-meta {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--site-text-muted);
  font-weight: 800;
}

.bump-member-total,
.bump-member-online {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.bump-members-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: 0.82;
}

.bump-member-total strong {
  color: var(--site-text);
}

.bump-member-online {
  color: #4ade80;
}

.bump-member-online i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

.bump-rating-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(250, 204, 21, 0.22);
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.1);
  color: #facc15;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.bump-rating-pill small {
  color: var(--site-text-muted);
  font-size: 0.72rem;
}

.bump-stats-grid {
  display: grid;
  gap: 8px;
}

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

.bump-stats-grid-detail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.bump-stat-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.bump-stat-item strong,
.bump-stat-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bump-stat-item strong {
  color: var(--site-text);
  font-size: 0.94rem;
}

.bump-stat-item small {
  color: var(--site-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.bump-card-description code,
.bump-modal-description code,
.bump-review-copy code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--site-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.bump-card-description u,
.bump-modal-description u,
.bump-review-copy u {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.bump-card-description s,
.bump-modal-description s,
.bump-review-copy s {
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(248, 250, 252, 0.72);
}

.bump-card-description a,
.bump-modal-description a,
.bump-review-copy a {
  color: var(--site-accent);
  font-weight: 700;
}

.bump-card-description a:hover,
.bump-modal-description a:hover,
.bump-review-copy a:hover {
  text-decoration: underline;
}

.bump-card-description .bump-md-line,
.bump-card-description .bump-md-heading,
.bump-card-description .bump-md-quote,
.bump-card-description .bump-md-spacer,
.bump-card-description .bump-md-subtext,
.bump-card-description .bump-md-list-item,
.bump-modal-description .bump-md-line,
.bump-modal-description .bump-md-heading,
.bump-modal-description .bump-md-quote,
.bump-modal-description .bump-md-spacer,
.bump-modal-description .bump-md-subtext,
.bump-modal-description .bump-md-list-item,
.bump-review-copy .bump-md-line,
.bump-review-copy .bump-md-heading,
.bump-review-copy .bump-md-quote,
.bump-review-copy .bump-md-spacer,
.bump-review-copy .bump-md-subtext,
.bump-review-copy .bump-md-list-item {
  display: block;
}

.bump-md-spacer {
  height: 0.78em;
}

.bump-md-heading {
  margin: 0.45em 0 0.28em;
  color: var(--site-text);
  line-height: 1.15;
}

.bump-md-heading:first-child {
  margin-top: 0;
}

.bump-md-heading-1 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 950;
}

.bump-md-heading-2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 900;
}

.bump-md-heading-3 {
  font-size: 1rem;
  font-weight: 900;
}

.bump-card-description .bump-md-heading-1 {
  font-size: 1.05rem;
}

.bump-card-description .bump-md-heading-2,
.bump-card-description .bump-md-heading-3 {
  font-size: 0.95rem;
}

.bump-md-quote {
  margin: 0.62em 0;
  padding: 0.36em 0.82em;
  border-left: 3px solid rgba(148, 163, 184, 0.74);
  color: var(--site-text-soft);
  background: rgba(148, 163, 184, 0.1);
}

.bump-md-quote-multi {
  display: block;
  padding-top: 0.54em;
  padding-bottom: 0.54em;
}

.bump-card-description .bump-md-quote {
  padding: 0.28em 0.62em;
}

.bump-md-subtext {
  margin-top: 0.55em;
  color: var(--site-text-muted);
  font-size: 0.78em;
  line-height: 1.45;
}

.bump-md-list-item {
  display: grid;
  grid-template-columns: 1.4em minmax(0, 1fr);
  gap: 0.35em;
  padding-left: calc(var(--bump-list-indent, 0) * 1.25em);
}

.bump-md-list-level-0 { --bump-list-indent: 0; }
.bump-md-list-level-1 { --bump-list-indent: 1; }
.bump-md-list-level-2 { --bump-list-indent: 2; }
.bump-md-list-level-3 { --bump-list-indent: 3; }

.bump-md-list-marker {
  color: var(--site-text-soft);
  text-align: right;
  font-weight: 800;
}

.bump-md-list-content {
  min-width: 0;
}

.bump-md-codeblock {
  display: block;
  margin: 0.75em 0;
  padding: 12px 14px;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  background: rgba(3, 7, 18, 0.52);
  color: var(--site-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  line-height: 1.45;
  white-space: pre;
}

.bump-md-codeblock code {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.bump-empty-public {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed var(--site-border);
  border-radius: var(--site-radius);
  background: var(--site-panel-soft);
  color: var(--site-text-soft);
  text-align: center;
}

.bump-empty-public strong {
  display: block;
  color: var(--site-text);
  font-size: 1.1rem;
}

.bump-empty-public p {
  margin: 8px 0 0;
}

.bump-empty-public.error {
  border-color: rgba(251, 113, 133, 0.35);
}

.bump-skeleton-card {
  min-height: 260px;
  justify-content: flex-start;
}

.bump-skeleton-card span {
  position: relative;
  display: block;
  overflow: hidden;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.bump-skeleton-card span:first-child {
  width: 68px;
  height: 68px;
  border-radius: 18px;
}

.bump-skeleton-card span:nth-child(2) {
  width: 78%;
}

.bump-skeleton-card span:nth-child(3) {
  width: 54%;
}

.bump-skeleton-card span::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: bumpSkeleton 1.4s ease-in-out infinite;
}

@keyframes bumpSkeleton {
  to { transform: translateX(100%); }
}

.bump-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 160ms ease;
}

.bump-modal.visible {
  opacity: 1;
}

.bump-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 22, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bump-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--site-border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(7, 18, 38, 0.98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  color: var(--site-text);
  transform: translateY(10px);
  transition: transform 160ms ease;
}

.bump-modal.visible .bump-modal-dialog {
  transform: translateY(0);
}

.bump-modal-open {
  overflow: hidden;
}

.bump-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--site-text);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.bump-modal-head {
  padding-right: 42px;
}

.bump-modal-head h3 {
  margin: 9px 0 0;
  color: var(--site-text);
  font-size: 1.65rem;
}

.bump-modal-description {
  margin-top: 22px;
  color: var(--site-text-soft);
  line-height: 1.75;
}

.bump-report-dialog {
  width: min(560px, 100%);
}

.bump-modal-head p {
  margin: 10px 0 0;
  color: var(--site-text-soft);
  line-height: 1.55;
}

.bump-report-field {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  color: var(--site-text-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.bump-report-field textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 1px solid var(--site-border);
  border-radius: 14px;
  background: rgba(5, 12, 27, 0.58);
  color: var(--site-text);
  padding: 12px 14px;
  font: inherit;
  line-height: 1.5;
}

.bump-report-field textarea:focus {
  outline: none;
  border-color: var(--site-border-strong);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12);
}

.bump-report-submit-row {
  margin-top: 18px;
}

#bumpReportFeedback {
  color: var(--site-text-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

#bumpReportFeedback.success {
  color: #4ade80;
}

#bumpReportFeedback.error {
  color: #fb7185;
}

.bump-modal-join {
  width: fit-content;
  margin-top: 24px;
  text-decoration: none;
}

.bump-server-detail-section {
  margin-top: clamp(18px, 3vw, 32px);
}

.bump-detail-back {
  width: fit-content;
  margin-bottom: 10px;
  text-decoration: none;
}

.bump-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 4.7fr) minmax(230px, 1fr);
  gap: 16px;
  align-items: start;
}

.bump-server-detail-card {
  position: relative;
  overflow: hidden;
  padding: 0 clamp(20px, 3vw, 34px) clamp(20px, 3vw, 34px);
  border: 1px solid var(--site-border);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.108), rgba(255, 255, 255, 0.054));
  box-shadow: 0 28px 72px -44px #000;
}

.bump-server-detail-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--site-accent);
}

.bump-detail-cover {
  position: relative;
  z-index: 0;
  min-height: clamp(110px, 12vw, 170px);
  margin: 0 calc(clamp(20px, 3vw, 34px) * -1) 22px;
  background:
    linear-gradient(180deg, rgba(5, 12, 27, 0.05), rgba(5, 12, 27, 0.84)),
    var(--site-panel-strong);
  background-position: center;
  background-size: cover;
}

.bump-detail-cover:not(.has-banner) {
  background: #111827;
}

.bump-detail-cover .bump-last-bump-pill {
  top: 18px;
  right: 18px;
}

.bump-detail-head {
  position: relative;
  z-index: 2;
  align-items: flex-start;
  gap: 16px;
  margin-top: 0;
}

.bump-detail-head .server-logo-placeholder {
  position: relative;
  z-index: 3;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 50%;
  margin-top: 0;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: transparent;
  box-shadow: none;
}

.bump-detail-title-block {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  padding-top: 0;
}

.bump-detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.bump-detail-title-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding-top: 3px;
}

.bump-icon-action,
.bump-review-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--site-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--site-text-soft);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.bump-icon-action:hover,
.bump-icon-action:focus-visible,
.bump-review-icon-action:hover,
.bump-review-icon-action:focus-visible {
  transform: translateY(-1px);
  border-color: var(--site-border-strong);
  background: rgba(255, 255, 255, 0.09);
  color: var(--site-text);
}

.bump-icon-action svg,
.bump-review-icon-action svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.bump-report-action,
.bump-review-icon-action.danger {
  color: #fb7185;
}

.bump-owner-edit {
  color: #67e8f9;
}

.bump-detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bump-detail-head h2 {
  margin: 0;
  color: var(--site-text);
  font-size: clamp(2rem, 4.3vw, 3.65rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.bump-server-detail-card .server-tags {
  margin-top: 22px;
}

.bump-detail-rating {
  display: flex;
  margin-left: 0;
  padding-top: 0;
}

.bump-detail-stats {
  margin-top: 20px;
}

.bump-detail-join {
  width: fit-content;
  text-decoration: none;
}

.bump-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.bump-server-info-card {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--site-border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.108), rgba(255, 255, 255, 0.054));
  box-shadow: 0 24px 58px -42px #000;
}

.bump-server-info-card h3 {
  margin: 0;
  color: var(--site-text);
  font-size: 1rem;
}

.bump-server-info-list {
  display: grid;
  gap: 8px;
}

.bump-server-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.052);
}

.bump-server-info-label {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--site-text-soft);
  font-size: 0.78rem;
  font-weight: 850;
}

.bump-server-info-label span,
.bump-server-info-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bump-server-info-label span {
  color: var(--site-text);
}

.bump-server-info-item strong {
  color: var(--site-text);
  flex: 0 0 auto;
  font-size: 0.9rem;
  text-align: right;
}

.bump-server-info-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: currentColor;
}

.info-members .bump-server-info-label { color: #93c5fd; }
.info-online .bump-server-info-label { color: #4ade80; }
.info-bump .bump-server-info-label { color: #38bdf8; }
.info-views .bump-server-info-label { color: #c4b5fd; }
.info-reviews .bump-server-info-label { color: #facc15; }
.info-channels .bump-server-info-label { color: #67e8f9; }
.info-roles .bump-server-info-label { color: #f0abfc; }
.info-boosts .bump-server-info-label { color: #fb7185; }

.info-online .bump-server-info-icon {
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.28));
}

.bump-review-panel {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--site-border);
}

.bump-review-heading,
.bump-review-submit-row,
.bump-review-meta {
  display: flex;
  align-items: center;
}

.bump-review-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.bump-review-heading h3 {
  margin: 0;
  color: var(--site-text);
  font-size: 1.15rem;
}

#bumpReviewSummary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--site-text-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.bump-review-distribution {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--site-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.bump-review-distribution-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.bump-review-distribution-label {
  color: #facc15;
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}

.bump-review-distribution-stars {
  display: inline-flex;
  align-items: center;
}

.bump-review-distribution-stars .bump-stars {
  font-size: 0.9rem;
}

.bump-review-distribution-track {
  position: relative;
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.bump-review-distribution-track span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #facc15, #f97316);
}

.bump-review-distribution-row strong {
  color: var(--site-text);
  font-size: 0.78rem;
  text-align: right;
}

.bump-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.24);
  line-height: 1;
}

.bump-star {
  position: relative;
  display: inline-block;
  width: 1em;
  color: rgba(255, 255, 255, 0.24);
}

.bump-star::before {
  content: "\2605";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--star-fill, 0%);
  overflow: hidden;
  color: #facc15;
  white-space: nowrap;
}

.bump-rating-stars {
  font-size: 0.95rem;
}

.bump-stars .filled {
  color: #facc15;
}

.bump-review-form {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.bump-review-stars {
  display: inline-flex;
  gap: 8px;
}

.bump-review-stars button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--site-border);
  border-radius: 12px;
  background: var(--site-panel-soft);
  color: rgba(255, 255, 255, 0.34);
  font-size: 1.2rem;
  cursor: pointer;
}

.bump-review-stars button.active,
.bump-review-stars button:hover {
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.42);
  background: rgba(250, 204, 21, 0.1);
}

.bump-review-comment {
  display: grid;
  gap: 8px;
  color: var(--site-text-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.bump-review-comment textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  border: 1px solid var(--site-border);
  border-radius: 14px;
  background: rgba(5, 12, 27, 0.58);
  color: var(--site-text);
  padding: 12px 14px;
  font: inherit;
  line-height: 1.5;
}

.bump-review-submit-row {
  justify-content: space-between;
  gap: 14px;
}

#bumpReviewFeedback {
  color: var(--site-text-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

#bumpReviewFeedback.success {
  color: #4ade80;
}

#bumpReviewFeedback.error {
  color: #fb7185;
}

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

.bump-review-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.bump-review-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--site-panel-soft);
  color: var(--site-text);
  font-weight: 900;
}

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

.bump-review-meta {
  flex-wrap: wrap;
  gap: 8px;
}

.bump-review-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.bump-review-icon-action {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.bump-review-icon-action svg {
  width: 15px;
  height: 15px;
}

.bump-review-meta strong {
  color: var(--site-text);
}

.bump-review-text,
.bump-review-empty {
  margin: 6px 0 0;
  color: var(--site-text-soft);
  line-height: 1.55;
}

.bump-review-empty {
  padding: 16px;
  border: 1px dashed var(--site-border);
  border-radius: 14px;
}

.tutorial-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
}

.video-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--site-border);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent, var(--site-accent)) 32%, transparent), rgba(5, 12, 27, 0.72)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
}

.video-placeholder::before,
.video-placeholder::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.video-placeholder::before {
  bottom: 24px;
}

.video-placeholder::after {
  bottom: 46px;
  right: 34%;
  opacity: 0.66;
}

.play-shape {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 48px -28px #000;
}

.play-shape::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 21px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
}

.tutorial-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
}

.tutorial-card-body .mini-action {
  margin-top: auto;
}

.premium-main {
  width: min(1180px, calc(100% - 32px));
  margin: 36px auto 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--site-accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 2.65rem;
  line-height: 1.08;
}

.section-heading p {
  margin: 12px auto 0;
  color: var(--site-text-soft);
}

.premium-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  padding: clamp(24px, 4.5vw, 54px);
}

.premium-hero-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: 4.35rem;
  line-height: 0.98;
}

.premium-hero-copy p {
  max-width: 640px;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.premium-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.premium-purchase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 28px auto 0;
  text-align: center;
}

.premium-buy-action {
  background: linear-gradient(135deg, #facc15 0%, #f97316 100%);
  color: #111827;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 16px 38px rgba(249, 115, 22, 0.28);
}

.premium-primary-action,
.premium-secondary-action,
.premium-buy-action {
  margin-top: 0;
}

.premium-token-note {
  width: fit-content;
  max-width: 640px;
  margin: 0 !important;
  padding: 10px 13px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.08);
  color: var(--site-text-soft);
  font-size: 0.94rem !important;
  line-height: 1.45;
}

.premium-hero-preview {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--site-border);
  background: rgba(5, 12, 27, 0.48);
  box-shadow: 0 24px 58px -34px #000;
}

.premium-preview-header {
  display: flex;
  gap: 7px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--site-border);
  background: rgba(255, 255, 255, 0.055);
}

.premium-preview-header span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--site-accent-2);
}

.premium-preview-header span:nth-child(2) {
  background: var(--site-gold);
}

.premium-preview-header span:nth-child(3) {
  background: var(--site-green);
}

.premium-hero-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.premium-benefits {
  margin-top: 58px;
}

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

.premium-benefit-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.108), rgba(255, 255, 255, 0.054));
  box-shadow: 0 24px 58px -36px #000;
  overflow: hidden;
  position: relative;
}

.premium-benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--card-accent, var(--site-accent));
}

.premium-benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--site-border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07));
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.premium-benefit-copy {
  position: relative;
  z-index: 1;
}

.premium-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.34);
  background: color-mix(in srgb, var(--card-accent, var(--site-accent)) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--site-accent)) 45%, transparent);
  color: var(--site-text);
  font-weight: 800;
}

.premium-benefit-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.premium-benefit-card p {
  margin: 9px 0 0;
  color: var(--site-text-soft);
  line-height: 1.55;
}

.accent-cyan { --card-accent: var(--site-accent); }
.accent-gold { --card-accent: var(--site-gold); }
.accent-green { --card-accent: var(--site-green); }
.accent-coral { --card-accent: var(--site-accent-2); }
.accent-blue { --card-accent: #818cf8; }
.accent-slate { --card-accent: #94a3b8; }

.premium-card-visual {
  position: relative;
  min-height: 96px;
  border-radius: 16px;
  background: rgba(5, 12, 27, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.premium-card-visual span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: var(--card-accent, var(--site-accent));
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.2);
  background: color-mix(in srgb, var(--card-accent, var(--site-accent)) 68%, white 8%);
  box-shadow: 0 0 22px color-mix(in srgb, var(--card-accent, var(--site-accent)) 24%, transparent);
}

.visual-limits span:nth-child(1) { left: 20px; bottom: 22px; width: 36%; height: 10px; }
.visual-limits span:nth-child(2) { left: 20px; bottom: 45px; width: 58%; height: 10px; opacity: 0.72; }
.visual-limits span:nth-child(3) { left: 20px; bottom: 68px; width: 78%; height: 10px; opacity: 0.52; }

.visual-messages span:nth-child(1) { left: 18px; top: 20px; width: 44px; height: 44px; }
.visual-messages span:nth-child(2) { left: 76px; top: 22px; width: 54%; height: 9px; opacity: 0.7; }
.visual-messages span:nth-child(3) { left: 76px; top: 44px; width: 66%; height: 9px; opacity: 0.5; }
.visual-messages span:nth-child(4) { left: 76px; top: 66px; width: 42%; height: 9px; opacity: 0.36; }

.visual-roles span:nth-child(1),
.visual-roles span:nth-child(2),
.visual-roles span:nth-child(3) {
  top: 24px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
}
.visual-roles span:nth-child(1) { left: 20px; }
.visual-roles span:nth-child(2) { left: calc(50% - 24px); opacity: 0.74; }
.visual-roles span:nth-child(3) { right: 20px; opacity: 0.48; }

.visual-audit span {
  bottom: 18px;
  width: 24px;
  border-radius: 10px 10px 0 0;
}
.visual-audit span:nth-child(1) { left: 24px; height: 34px; opacity: 0.48; }
.visual-audit span:nth-child(2) { left: 64px; height: 58px; opacity: 0.68; }
.visual-audit span:nth-child(3) { left: 104px; height: 44px; opacity: 0.58; }
.visual-audit span:nth-child(4) { left: 144px; height: 70px; }

.visual-expert span:nth-child(1) { left: 20px; top: 24px; width: 52px; height: 52px; border-radius: 50%; }
.visual-expert span:nth-child(2) { left: 88px; top: 28px; width: 56%; height: 10px; opacity: 0.64; }
.visual-expert span:nth-child(3) { left: 88px; top: 54px; width: 42%; height: 10px; opacity: 0.42; }

.visual-tickets span:nth-child(1),
.visual-tickets span:nth-child(2),
.visual-tickets span:nth-child(3) {
  left: 22px;
  width: calc(100% - 44px);
  height: 12px;
}
.visual-tickets span:nth-child(1) { top: 26px; }
.visual-tickets span:nth-child(2) { top: 50px; opacity: 0.62; }
.visual-tickets span:nth-child(3) { top: 74px; opacity: 0.38; }

.premium-comparison {
  margin-top: 58px;
  padding: clamp(20px, 3.5vw, 38px);
}

.comparison-heading {
  margin-bottom: 28px;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--site-border);
  border-radius: 18px;
  background: rgba(5, 12, 27, 0.32);
}

.premium-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.premium-table th,
.premium-table td {
  padding: 17px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.premium-table th:first-child,
.premium-table td:first-child {
  text-align: left;
}

.premium-table thead th {
  color: var(--site-text);
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.05);
}

.premium-plan-col,
.premium-cell {
  background: rgba(56, 189, 248, 0.075);
  border-left: 1px solid rgba(56, 189, 248, 0.26);
  border-right: 1px solid rgba(56, 189, 248, 0.26);
}

.premium-table thead .premium-plan-col {
  color: #fff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.64), rgba(56, 189, 248, 0.42));
}

.comparison-category th {
  padding-top: 28px;
  color: var(--site-text);
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.035);
}

.feature-check,
.feature-cross,
.feature-limit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
}

.feature-check {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.14);
}

.feature-cross {
  color: #fecdd3;
  background: rgba(251, 113, 133, 0.15);
}

.feature-limit {
  color: var(--site-text-soft);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.86rem;
  white-space: nowrap;
}

.feature-limit.strong {
  color: var(--site-accent);
  background: rgba(56, 189, 248, 0.13);
}

@media (max-width: 1100px) {
  .directory-grid,
  .tutorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 1100px) {
  .premium-hero {
    grid-template-columns: 1fr;
  }

  .premium-hero-copy h2 {
    font-size: 3.35rem;
  }

  .premium-hero-preview {
    max-width: 720px;
  }

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

@media (max-width: 900px) {
  .docs-header {
    position: sticky;
  }

  .hamburger {
    display: flex;
    left: 62px;
  }

  .status-info-link {
    top: 14px;
    left: 12px;
    width: 44px;
    height: 44px;
  }

  .logo-title {
    padding: 14px 82px 10px;
  }

  .logo-title h1 {
    font-size: 1.45rem;
  }

  .docs-header nav.open .nav-links {
    top: 70px;
    background: rgba(7, 18, 38, 0.94);
    border-bottom: 1px solid var(--site-border);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }

  .docs-header nav.open .nav-links a {
    color: var(--site-text);
    border: 1px solid var(--site-border);
    background: rgba(255, 255, 255, 0.045);
  }

  .pannel-btn {
    font-size: 0.72rem;
    padding: 8px 9px;
  }

  .site-auth {
    top: 14px;
    right: 12px;
    gap: 6px;
  }

  .site-auth .pannel-btn {
    min-height: 38px;
    padding: 8px 9px;
    font-size: 0.68rem;
  }

  .site-auth-card {
    gap: 6px;
    padding-right: 6px;
  }

  .site-auth-card strong {
    display: none;
  }

  .home-hero {
    padding-top: 30px;
  }

  .home-hero-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-logo-visual {
    justify-content: center;
  }

  .logo-large {
    width: clamp(170px, 44vw, 290px);
  }

  .home-hero-title {
    font-size: clamp(3.2rem, 16vw, 5.6rem);
  }

  .home-tagline {
    font-size: 1.45rem;
  }

  .home-stats-panel {
    grid-template-columns: 1fr;
  }

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

  .home-trust-grid,
  .home-review-grid,
  .about-proof-grid,
  .about-team-grid,
  .about-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-current {
    grid-template-columns: 1fr;
  }

  .status-service-top,
  .status-panel-head,
  .status-incident-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-service-meta {
    justify-content: flex-start;
  }

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

  .section-heading h2 {
    font-size: 2.15rem;
  }

  .feature-page-hero h2 {
    font-size: clamp(4rem, 17vw, 6.5rem);
  }

  .patch-page .container > h2 {
    font-size: 2rem;
  }

  .bot-for-you {
    text-align: left;
  }

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

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  main.docs-container,
  .docs-container {
    width: min(100% - 24px, 1280px);
    padding: 14px;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
    width: 100%;
    margin-right: 0;
  }

  .docs-content {
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .feature-page-main {
    width: min(100% - 22px, 1180px);
    padding-top: 34px;
  }

  .bump-page .feature-page-main {
    width: min(100% - 22px, 1520px);
  }

  .feature-page-hero p {
    font-size: 1rem;
  }

  .directory-grid,
  .tutorial-grid {
    grid-template-columns: 1fr;
  }

  .bump-page .directory-grid {
    grid-template-columns: 1fr;
  }

  .bump-filter-groups,
  .bump-detail-layout {
    grid-template-columns: 1fr;
  }

  .bump-filter-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .bump-filter-reset {
    width: 100%;
  }

  .directory-card,
  .tutorial-card {
    min-height: auto;
  }

  .bump-directory-card {
    height: 468px;
    min-height: 468px;
  }

  .bump-card-cover-actions {
    left: 88px;
    right: 12px;
  }

  .bump-card-cover-actions .mini-action {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 9px;
  }

  .bump-card-cover-actions .bump-card-view {
    flex: 0 0 42px;
  }

  .bump-server-info-card {
    position: static;
  }

  .bump-detail-head {
    align-items: flex-start;
  }

  .bump-detail-rating {
    margin-left: 0;
    padding-top: 0;
  }

  .bump-modal {
    align-items: stretch;
    padding: 12px;
  }

  .bump-modal-dialog {
    max-height: calc(100dvh - 24px);
    border-radius: 18px;
  }

  .bump-modal-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-benefit-grid {
    grid-template-columns: 1fr;
  }

  .premium-hero-copy h2 {
    font-size: 2.35rem;
  }

  .premium-hero-copy p,
  .btn-cta {
    font-size: 1rem;
  }

  .section-heading h2 {
    font-size: 1.85rem;
  }

  .premium-main,
  .features,
  .container,
  .patch-page .container {
    width: min(100% - 22px, 1180px);
  }

  .premium-hero,
  .premium-comparison {
    padding: 20px;
  }

  .premium-hero-actions {
    flex-direction: column;
  }

  .premium-hero-actions .btn-cta,
  .premium-hero-actions .btn-cta2 {
    width: 100%;
  }

  .home-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-actions .btn-cta,
  .home-hero-actions .btn-cta2,
  .home-vote-actions {
    width: 100%;
  }

  .home-hero-actions .home-primary-action,
  .home-vote-actions {
    flex-basis: auto;
  }

  .home-trust-grid,
  .home-review-grid,
  .about-proof-grid,
  .about-team-grid,
  .about-contact-grid {
    grid-template-columns: 1fr;
  }

  .bot-for-you-grid {
    grid-template-columns: 1fr;
  }

  .premium-benefit-card {
    min-height: 245px;
  }

  .bump-card-footer,
  .bump-review-heading,
  .bump-review-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .bump-review-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .bump-review-submit-row .mini-action {
    width: 100%;
  }

  .bump-review-stars {
    width: 100%;
    justify-content: space-between;
  }

  .bump-review-stars button {
    flex: 1 1 0;
  }

  .bump-review-distribution-row {
    grid-template-columns: 86px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .patch-card .patch-toggle {
    align-items: flex-start;
  }

  .patch-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .patch-date {
    margin-left: 0;
  }

  .comparison-table-wrap {
    overflow-x: visible;
  }

  .premium-table {
    min-width: 0;
    table-layout: fixed;
  }

  .premium-table th:first-child,
  .premium-table td:first-child {
    width: 50%;
  }

  .premium-table th:nth-child(2),
  .premium-table td:nth-child(2),
  .premium-table th:nth-child(3),
  .premium-table td:nth-child(3) {
    width: 25%;
  }

  .premium-table th,
  .premium-table td {
    padding: 11px 5px;
    font-size: 0.7rem;
  }

  .premium-table td:first-child {
    overflow-wrap: anywhere;
  }

  .premium-table thead th {
    font-size: 0.58rem;
    white-space: nowrap;
  }

  .feature-check,
  .feature-cross,
  .feature-limit {
    min-width: 28px;
    min-height: 28px;
    padding: 5px 6px;
    font-size: 0.58rem;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .logo-title {
    padding-left: 62px;
    padding-right: 82px;
  }

  .logo-title h1 {
    font-size: 1.15rem;
  }

  .logo-titre {
    width: 34px;
    height: 34px;
  }

  .hamburger {
    width: 40px;
    height: 40px;
  }

  .pannel-btn {
    right: 10px;
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-auth .pannel-btn {
    max-width: 78px;
    min-height: 36px;
    padding: 7px 7px;
    font-size: 0.62rem;
  }

  .site-auth {
    top: 10px;
    right: 8px;
    gap: 4px;
  }

  .site-auth-card {
    min-height: 36px;
    gap: 4px;
    padding: 4px 6px 4px 4px;
  }

  .site-auth-avatar {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .site-auth-connected {
    font-size: 0.58rem;
  }

  .bump-detail-head {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 0;
  }

  .bump-detail-title-row {
    align-items: flex-start;
  }

  .bump-detail-title-actions {
    padding-top: 0;
  }

  .bump-icon-action {
    width: 34px;
    height: 34px;
  }

  .bump-detail-head .server-logo-placeholder {
    width: 74px;
    height: 74px;
  }

  .docs-header nav.open .nav-links {
    top: 62px;
  }

  .btn-cta,
  .btn-cta2 {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-stats-grid {
    grid-template-columns: 1fr;
  }

  .home-stat {
    min-height: 114px;
    padding: 18px 20px;
  }

  .home-stat-value {
    font-size: clamp(2rem, 16vw, 3.05rem);
  }

  @supports (font-size: 1cqw) {
    .home-stat-value {
      font-size: clamp(2rem, 16cqw, 3.05rem);
    }
  }

  .about-team-card {
    grid-template-columns: 1fr;
  }

  .status-main {
    width: min(100% - 22px, 1040px);
  }

  .status-current,
  .status-system-panel,
  .status-incident-panel {
    border-radius: 16px;
  }

  .status-summary-grid {
    grid-template-columns: 1fr;
  }

  .premium-table th,
  .premium-table td {
    padding: 10px 4px;
  }
}

/* ============================================
   Documentation - modules and command details
============================================ */
body.docs-page {
  --docs-panel: rgba(8, 14, 30, 0.7);
  --docs-panel-strong: rgba(14, 22, 42, 0.84);
  --docs-line: rgba(148, 163, 184, 0.22);
  --docs-text: #f8fafc;
  --docs-soft: rgba(248, 250, 252, 0.72);
  --docs-muted: rgba(248, 250, 252, 0.52);
}

body.docs-page.docs-modal-open {
  overflow: hidden;
}

.docs-page main.docs-container,
.docs-page .docs-container {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  width: min(1560px, calc(100% - 32px));
  max-width: 1560px;
  margin: 34px auto 0;
  padding: 0;
  gap: 30px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: calc(100vh - 220px);
  overflow: visible;
}

.docs-page .docs-sidebar {
  position: sticky;
  top: 126px;
  flex: initial;
  width: auto;
  min-width: 0;
  max-height: calc(100vh - 150px);
  padding: 18px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 16, 31, 0.86), rgba(9, 15, 29, 0.68));
  box-shadow: 0 24px 60px -38px #000;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: color-mix(in srgb, var(--site-accent) 72%, #ffffff 8%) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.docs-page .docs-sidebar::after {
  display: none;
}

.docs-page .docs-sidebar::-webkit-scrollbar {
  width: 11px;
}

.docs-page .docs-sidebar::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.docs-page .docs-sidebar::-webkit-scrollbar-thumb {
  border: 3px solid rgba(9, 15, 29, 0.92);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.88), rgba(167, 139, 250, 0.78));
}

.docs-page .docs-sidebar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.96), rgba(196, 181, 253, 0.9));
}

.docs-nav-title {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.docs-nav-title span,
.docs-kicker,
.module-kicker,
.doc-card-type,
.docs-modal-topline span {
  color: var(--module-accent, var(--site-accent));
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.docs-nav-title h2 {
  margin: 0;
  color: var(--docs-text);
  font-size: 1.18rem;
}

.docs-page .docs-sidebar input {
  min-height: 44px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--site-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--docs-text);
}

.docs-page .docs-sidebar input:focus {
  border-color: var(--site-accent);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.docs-page .docs-sidebar ul {
  display: grid;
  gap: 4px;
  min-height: 0;
  padding: 0;
  margin: 0;
}

.docs-page .docs-sidebar li {
  margin: 0;
}

.docs-page .docs-sidebar a {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--docs-soft);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.docs-page .docs-sidebar a span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--module-accent, var(--site-accent));
  box-shadow: 0 0 18px color-mix(in srgb, var(--module-accent, var(--site-accent)) 58%, transparent);
}

.docs-page .docs-sidebar a:hover,
.docs-page .docs-sidebar a:focus-visible,
.docs-page .docs-sidebar a.is-active {
  border-color: color-mix(in srgb, var(--module-accent, var(--site-accent)) 48%, transparent);
  background: color-mix(in srgb, var(--module-accent, var(--site-accent)) 13%, rgba(255, 255, 255, 0.07));
  color: var(--docs-text);
  outline: none;
}

.docs-page .docs-content {
  min-width: 0;
  height: auto;
  padding: 0;
  overflow: visible;
}

.docs-hero {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
  padding: 6px 0 8px;
}

.docs-hero h1 {
  margin: 0;
  color: var(--docs-text);
  font-size: 2.65rem;
  line-height: 1.05;
}

.docs-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--docs-soft);
  line-height: 1.65;
}

.docs-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.docs-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--docs-soft);
  font-size: 0.84rem;
}

.docs-metrics strong {
  margin-right: 5px;
  color: var(--docs-text);
}

.docs-section-rail {
  position: relative;
  display: grid;
  padding-left: 34px;
}

.docs-section-rail::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 34px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.2), rgba(244, 114, 182, 0.28), rgba(34, 197, 94, 0.2));
}

.docs-page .module-section {
  position: relative;
  width: 100%;
  margin: 0 0 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.docs-page .module-section::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 23px;
  width: 18px;
  height: 18px;
  border: 2px solid color-mix(in srgb, var(--module-accent, var(--site-accent)) 82%, transparent);
  border-radius: 50%;
  background: #101827;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--module-accent, var(--site-accent)) 12%, transparent);
}

.docs-page .module-section::after {
  position: absolute;
  left: -10px;
  top: 32px;
  width: 22px;
  height: 1px;
  background: color-mix(in srgb, var(--module-accent, var(--site-accent)) 42%, transparent);
}

.module-section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding-top: 18px;
  border-top: 2px solid color-mix(in srgb, var(--module-accent, var(--site-accent)) 70%, rgba(255, 255, 255, 0.12));
}

.docs-page .module-section h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--docs-text);
  font-size: 1.42rem;
  line-height: 1.2;
}

.module-section-head p {
  max-width: 920px;
  margin: 0;
  color: var(--docs-soft);
  line-height: 1.6;
}

.doc-command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 12px;
}

.doc-command-card {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 10px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.045));
  color: var(--docs-text);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 20px 46px -40px #000;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.doc-command-card:hover,
.doc-command-card:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--module-accent, var(--site-accent)) 66%, transparent);
  background: color-mix(in srgb, var(--module-accent, var(--site-accent)) 12%, rgba(255, 255, 255, 0.075));
  box-shadow: 0 24px 58px -38px color-mix(in srgb, var(--module-accent, var(--site-accent)) 48%, #000);
  outline: none;
}

.doc-card-marker {
  width: 5px;
  height: 5px;
  margin-top: 23px;
  border-radius: 999px;
  background: var(--module-accent, var(--site-accent));
}

.doc-card-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.doc-card-title {
  color: var(--docs-text);
  font-size: 0.96rem;
  font-weight: 800;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.doc-card-short {
  color: var(--docs-soft);
  font-size: 0.86rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.doc-card-arrow {
  color: var(--module-accent, var(--site-accent));
  font-size: 1.1rem;
  line-height: 1;
}

.docs-empty-state {
  padding: 18px;
  border: 1px dashed var(--site-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--docs-soft);
}

.docs-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.docs-modal[hidden] {
  display: none;
}

.docs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.docs-modal-dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--module-accent, var(--site-accent)) 36%, var(--site-border));
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.98), rgba(7, 12, 26, 0.98));
  color: var(--docs-text);
  box-shadow: 0 34px 90px -38px #000;
}

.docs-modal-accent {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--module-accent, var(--site-accent));
}

.docs-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--site-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--docs-text);
  font-weight: 900;
  cursor: pointer;
}

.docs-modal-close:hover,
.docs-modal-close:focus-visible {
  border-color: color-mix(in srgb, var(--module-accent, var(--site-accent)) 64%, transparent);
  background: color-mix(in srgb, var(--module-accent, var(--site-accent)) 14%, rgba(255, 255, 255, 0.07));
  outline: none;
}

.docs-modal-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-right: 48px;
}

.docs-modal-topline span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--module-accent, var(--site-accent)) 34%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--module-accent, var(--site-accent)) 10%, transparent);
}

.docs-modal-dialog h2 {
  margin: 14px 48px 8px 0;
  color: var(--docs-text);
  font-size: 1.9rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.docs-modal-short {
  margin: 0 0 18px;
  color: var(--docs-soft);
  font-size: 1.02rem;
}

.docs-modal-details {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.docs-modal-details p {
  margin: 0;
  color: var(--docs-soft);
  line-height: 1.65;
}

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

.docs-modal-block {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--docs-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.docs-modal-block h3 {
  margin: 0 0 9px;
  color: var(--docs-text);
  font-size: 0.92rem;
}

.docs-modal-block pre {
  margin: 0;
  white-space: pre-wrap;
}

.docs-modal-block code {
  display: block;
  padding: 0;
  background: transparent;
  color: var(--docs-soft);
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.88rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.docs-modal-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.docs-modal-images figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--docs-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.docs-modal-images img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
  .docs-page main.docs-container,
  .docs-page .docs-container {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 1560px);
    gap: 22px;
  }

  .docs-page .docs-sidebar {
    position: static;
    max-height: none;
  }

  .docs-page .docs-sidebar ul {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 720px) {
  .docs-hero h1 {
    font-size: 2.15rem;
  }

  .docs-section-rail {
    padding-left: 24px;
  }

  .docs-section-rail::before {
    left: 7px;
  }

  .docs-page .module-section::before {
    left: -25px;
    width: 15px;
    height: 15px;
  }

  .docs-page .module-section::after {
    display: none;
  }

  .doc-command-grid {
    grid-template-columns: 1fr;
  }

  .doc-command-card {
    grid-template-columns: 9px minmax(0, 1fr) 14px;
    padding: 13px;
  }

  .docs-modal {
    align-items: stretch;
    padding: 12px;
  }

  .docs-modal-dialog {
    max-height: calc(100dvh - 24px);
    padding: 22px;
    border-radius: 14px;
  }

  .docs-modal-dialog h2 {
    margin-right: 38px;
    font-size: 1.48rem;
  }

  .docs-modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .docs-page .docs-sidebar ul {
    grid-template-columns: 1fr;
  }

  .doc-card-title {
    font-size: 0.86rem;
  }

  .docs-metrics {
    align-items: stretch;
    flex-direction: column;
  }

  .docs-metrics span {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doc-command-card {
    transition: none;
  }

  .doc-command-card:hover,
  .doc-command-card:focus-visible {
    transform: none;
  }
}
