:root { --guide-accent: #4ade80; }
body.guide { padding-top: 62px; }
.nav { background: rgba(7,9,15,.92); backdrop-filter: blur(14px);
       border-bottom: 1px solid rgba(255,255,255,.06); }

.guide-burger {
  display: none; position: fixed; top: 70px; left: 12px; z-index: 90;
  background: var(--panel); border: 1px solid rgba(255,255,255,.12);
  color: var(--text); font-family: inherit; font-weight: 700; font-size: 13px;
  padding: 8px 14px; border-radius: 10px; cursor: pointer; backdrop-filter: blur(8px);
}

.guide-layout { display: flex; max-width: 1200px; margin: 0 auto; min-height: calc(100vh - 62px); }

/* Sommaire */
.guide-sidebar {
  width: 280px; flex-shrink: 0; padding: 26px 16px;
  border-right: 1px solid rgba(255,255,255,.06);
  position: sticky; top: 62px; align-self: flex-start;
  height: calc(100vh - 62px); overflow-y: auto;
}
.gs-serverpick { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.gs-server {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 10px 12px; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 13.5px; color: var(--text);
  transition: border-color .2s, background .2s;
}
.gs-server img { max-height: 26px; max-width: 40px; }
.gs-server:hover { border-color: rgba(255,255,255,.25); }
.gs-server.active { border-color: var(--gc); background: color-mix(in srgb, var(--gc) 12%, transparent); }

.gs-section { margin-bottom: 20px; }
.gs-sec-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; padding-left: 10px;
}
.gs-link {
  display: block; padding: 8px 12px; border-radius: 8px; cursor: pointer;
  color: #cbd5e1; font-size: 13.5px; text-decoration: none;
  border-left: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.gs-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.gs-link.active {
  background: color-mix(in srgb, var(--guide-accent) 12%, transparent);
  color: #fff; border-left-color: var(--guide-accent); font-weight: 600;
}

/* Contenu */
.guide-content { flex: 1; min-width: 0; padding: 34px 44px 80px; }
.guide-loading { color: var(--muted); }
.gc-crumb { font-size: 12px; color: var(--muted); margin-bottom: 18px; letter-spacing: .3px; }

.gc-article { max-width: 760px; }
.gc-article h1 {
  font-size: 30px; font-weight: 900; margin: 0 0 18px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.gc-article h2 {
  font-size: 19px; font-weight: 800; margin: 30px 0 12px;
  color: var(--guide-accent);
}
.gc-article p { color: #cbd5e1; line-height: 1.75; margin: 12px 0; font-size: 15px; }
.gc-article strong { color: #fff; }
.gc-article code {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px; padding: 1px 7px; font-size: 13px; color: #86efac;
  font-family: "Consolas", monospace;
}
.gc-article ul { margin: 12px 0 12px 4px; padding-left: 22px; }
.gc-article li { color: #cbd5e1; line-height: 1.7; margin: 5px 0; font-size: 15px; }
.gc-article blockquote {
  margin: 18px 0; padding: 14px 18px;
  background: color-mix(in srgb, var(--guide-accent) 8%, transparent);
  border-left: 3px solid var(--guide-accent); border-radius: 0 10px 10px 0;
  color: #e2e8f0; font-size: 14.5px; line-height: 1.6;
}
.gc-article table {
  width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px;
  background: var(--panel); border-radius: 10px; overflow: hidden;
}
.gc-article th {
  background: rgba(255,255,255,.06); text-align: left;
  padding: 11px 14px; font-weight: 700; color: #fff;
}
.gc-article td { padding: 11px 14px; border-top: 1px solid rgba(255,255,255,.06); color: #cbd5e1; }

/* Pagination */
.gc-pager {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  max-width: 760px;
}
.gc-pager button {
  background: var(--panel); border: 1px solid rgba(255,255,255,.1);
  color: var(--text); font-family: inherit; font-weight: 600; font-size: 13.5px;
  padding: 12px 18px; border-radius: 12px; cursor: pointer; max-width: 48%;
  transition: border-color .2s, transform .15s;
}
.gc-pager button:hover { border-color: var(--guide-accent); transform: translateY(-2px); }
.gc-next { text-align: right; }

@media (max-width: 860px) {
  .guide-burger { display: block; }
  .guide-sidebar {
    position: fixed; top: 62px; left: 0; z-index: 80;
    width: 84%; max-width: 320px; height: calc(100vh - 62px);
    background: #0b0f18; transform: translateX(-105%);
    transition: transform .3s ease;
  }
  .guide-sidebar.open { transform: translateX(0); box-shadow: 20px 0 60px rgba(0,0,0,.6); }
  .guide-content { padding: 60px 20px 70px; }
}
