

:root {
  --bg:        #16181f;
  --bg-2:      oklch(0.195 0.013 285);
  --surface:   oklch(0.225 0.015 286);
  --surface-2: oklch(0.265 0.017 287);
  --border:    oklch(0.32 0.018 287);
  --border-2:  oklch(0.40 0.02 287);

  --text:  oklch(0.965 0.006 285);
  --muted: oklch(0.75 0.018 286);
  --faint: oklch(0.58 0.018 286);

  --lav:        #d4d6f4;
  --lav-strong: oklch(0.80 0.075 286);
  --lav-deep:   oklch(0.62 0.10 286);
  --mint:       oklch(0.875 0.046 156);
  --mint-strong:oklch(0.80 0.085 156);

  --ink: oklch(0.21 0.02 285);

  /* Badge "nouveau" : rouge plein, volontairement independant de --cat-color pour rester visible. */
  --new:       oklch(0.58 0.21 25);
  --new-hover: oklch(0.52 0.21 25);

  --radius:    20px;
  --radius-sm: 13px;
  --radius-lg: 28px;

  --shadow:    0 1px 0 oklch(1 0 0 / 0.04) inset, 0 18px 50px -28px oklch(0 0 0 / 0.75);
  --shadow-lg: 0 30px 80px -32px oklch(0 0 0 / 0.8);

  --maxw: 1180px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;
  --font-pixel:   "Silkscreen", monospace;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

:root { color-scheme: dark; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100lvh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.section-pad { padding: clamp(64px, 10vh, 124px) 0; }

.eyebrow {
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--lav);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--lav);
  box-shadow: 0 0 0 4px oklch(0.875 0.046 286 / 0.15);
}
.eyebrow.mint { color: var(--mint); }
.eyebrow.mint::before { background: var(--mint); box-shadow: 0 0 0 4px oklch(0.875 0.046 156 / 0.15); }

.section-title { font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 60ch; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav.scrolled { border-bottom-color: var(--border); background: var(--bg); }
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 13px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  font-family: var(--font-pixel);
  font-size: 16px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}
.brand .mark {
  width: 34px; height: 34px;
  flex: none;
  display: inline-block;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 10px;
  overflow: hidden;
}
.brand .mark img { width: 100%; height: 100%; object-fit: cover; display: block; background: transparent; border-radius: 10px; }

.nav-links {
  display: flex;
  gap: 2px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}
.lang-toggle button {
  background: transparent;
  color: var(--faint);
  border: 0;
  padding: 7px 12px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-toggle button.active { background: var(--lav); color: var(--ink); }

.nav-burger {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  width: 42px; height: 42px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  color: var(--text);
}
.nav-burger svg { width: 22px; height: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 21px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--lav);
  color: var(--ink);
  box-shadow: 0 10px 26px -10px var(--lav-deep);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px var(--lav-deep); background: oklch(0.9 0.05 286); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-2px); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }

.hero {
  position: relative;
  padding: clamp(56px, 8vh, 96px) 0 clamp(48px, 6vh, 72px);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; min-width: 0; }
.hero-grid-2 {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow:
    0 40px 80px -40px oklch(0.05 0.02 285 / 0.8),
    0 0 0 1px oklch(1 0 0 / 0.03) inset;
  isolation: isolate;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, oklch(0.90 0.12 286 / 0.10), transparent 45%, oklch(0.90 0.14 156 / 0.08));
  z-index: 2;
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

@media (max-width: 960px) {
  .hero-grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
}
.hero h1 { font-size: clamp(42px, 7.5vw, 88px); letter-spacing: -0.035em; margin-bottom: 22px; }
.hero h1 .accent { color: var(--lav); }
.hero-tag { font-size: clamp(17px, 2.3vw, 22px); color: var(--muted); max-width: 56ch; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 7px 15px 7px 12px; border-radius: 100px; margin-bottom: 28px;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--mint); box-shadow: 0 0 9px var(--mint); }

.blobs {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.blob {
  position: absolute; border-radius: 42% 58% 56% 44% / 50% 46% 54% 50%;
  filter: blur(40px); opacity: 0.32;
}
.blob.b1 { width: 46vw; height: 46vw; left: -8vw; top: -12vw;
  background: radial-gradient(circle at 30% 30%, oklch(0.72 0.15 286), transparent 62%); }
.blob.b2 { width: 38vw; height: 38vw; right: -6vw; top: 6vw;
  background: radial-gradient(circle at 60% 40%, oklch(0.75 0.14 156), transparent 62%);
  animation-delay: -8s; animation-duration: 26s; }
.blob.b3 { width: 30vw; height: 30vw; left: 30vw; bottom: -10vw;
  background: radial-gradient(circle at 50% 50%, oklch(0.65 0.14 30), transparent 65%);
  animation-delay: -14s; animation-duration: 30s; opacity: 0.28; }
@keyframes blobDrift {
  0%   { transform: translate(0,0) rotate(0deg) scale(1); }
  50%  { transform: translate(4vw, -3vw) rotate(90deg) scale(1.08); }
  100% { transform: translate(-3vw, 3vw) rotate(180deg) scale(0.94); }
}
.hero-grid {
  position: absolute; inset: 0; opacity: .12;
  background-image:
    linear-gradient(oklch(1 0 0 / .05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / .05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black, transparent 80%);
}
.hero-runes {
  position: absolute; inset: 0;
  z-index: 0;
  background-image: url("/medias/easter/sheikah-text.png");
  background-repeat: repeat;
  background-size: auto 130px;
  background-position: center;
  opacity: 0.15;
  mask-image: radial-gradient(ellipse at 50% 50%, black 45%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 45%, transparent 92%);
  pointer-events: none;
}
@media (max-width: 640px) {
  .hero-runes { background-size: auto 80px; opacity: 0.12; }
}
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

.hero-stats {
  margin-top: 42px; display: flex; align-items: center; flex-wrap: wrap; gap: 22px;
  padding: 16px 24px; border-radius: 100px;
  background: oklch(0.20 0.015 285 / .55); border: 1px solid var(--border);
  backdrop-filter: blur(10px); width: fit-content; max-width: 100%;
}
.hs-item { display: flex; align-items: baseline; gap: 10px; }
.hs-num {
  font-family: var(--font-display); font-weight: 800; font-size: 28px;
  color: var(--lav); letter-spacing: -0.02em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hs-lbl {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--faint);
  text-transform: uppercase; letter-spacing: .07em; font-weight: 600;
}
.hs-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border-2); flex: none; }
@media (max-width: 640px) {
  .hero-stats {
    padding: 12px 18px; gap: 14px;
    margin-left: auto; margin-right: auto;
    justify-content: center;
  }
  .hs-num { font-size: 22px; }
  .hs-lbl { font-size: 10.5px; }
  .hs-sep { display: none; }
  .hero-total {
    display: flex; margin-left: auto; margin-right: auto;
    justify-content: center;
  }
}

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

.ph {
  position: relative;
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 100% at 30% 0%, oklch(0.30 0.03 286), oklch(0.22 0.02 286));
  color: var(--faint);
  overflow: hidden;
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, oklch(1 0 0 / 0.05), transparent 45%);
  opacity: .7;
}
.ph-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; padding: 16px; }
.ph-inner svg { width: 30px; height: 30px; opacity: .6; }
.ph-inner span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; max-width: 22ch; }
.ph img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; }

.suite-shot > img,
.pack .shot > img,
.server-icon > img { display: block; width: 100%; height: 100%; object-fit: cover; }

.suite-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 52px;
}
.suite-shot { width: 100%; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.badge {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--lav);
  background: oklch(0.875 0.046 286 / 0.10); border: 1px solid oklch(0.875 0.046 286 / 0.25);
  padding: 5px 12px; border-radius: 100px;
}
.badge.mint { color: var(--mint); background: oklch(0.875 0.046 156 / 0.10); border-color: oklch(0.875 0.046 156 / 0.25); }
.badge-mc {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  line-height: 1;
  transition: border-color .2s, background .2s;
}
.badge-mc:hover { border-color: var(--border-2); background: var(--surface-2); }
.badge-mc .badge-mc-v {
  letter-spacing: -0.005em;
}
.badge-mc .badge-mc-ch {
  font-family: var(--font-pixel);
  font-size: 8.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 100px;
  background: transparent !important;
  border: 1px solid currentColor;
  line-height: 1;
}
.suite-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 4px; padding: 0; }
.suite-meta div { display: flex; flex-direction: column; }
.suite-meta dt { font-family: var(--font-mono); font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.suite-meta dd { margin: 3px 0 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.chip {
  font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 9px 16px; border-radius: 100px; cursor: pointer;
  transition: all .18s; display: inline-flex; align-items: center; gap: 8px;
}
.chip .count { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }
.chip:hover { border-color: var(--border-2); color: var(--text); }
.chip.active { background: var(--lav); color: var(--ink); border-color: var(--lav); }
.chip.active .count { color: oklch(0.21 0.02 285 / 0.65); }

.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.module {
  --cat-color: var(--lav);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  cursor: pointer; text-align: left; width: 100%;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), border-color .22s, box-shadow .22s;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 168px;
}
.module::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in oklch, var(--cat-color), transparent 82%) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s ease; z-index: 0;
}
.module:hover::before { opacity: 1; }
.module-bar {
  position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cat-color), transparent);
  opacity: 0.55; transition: left .3s ease, right .3s ease, opacity .3s ease;
  z-index: 1;
}
.module:hover .module-bar { left: 0; right: 0; opacity: 1; }
.module:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklch, var(--cat-color), var(--border) 45%);
  box-shadow: 0 18px 40px -18px color-mix(in oklch, var(--cat-color), transparent 55%),
              0 0 0 1px color-mix(in oklch, var(--cat-color), transparent 78%) inset;
}
.module:focus-visible { outline: 2px solid var(--cat-color); outline-offset: 3px; }
.module > * { position: relative; z-index: 2; }

.module-head { display: flex; align-items: flex-start; gap: 12px; }
.module-icon {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklch, var(--cat-color), transparent 88%);
  color: var(--cat-color);
  border: 1px solid color-mix(in oklch, var(--cat-color), transparent 78%);
  transition: transform .22s ease, background .22s;
}
.module-icon svg { width: 20px; height: 20px; display: block; }
.module:hover .module-icon { transform: scale(1.05); background: color-mix(in oklch, var(--cat-color), transparent 78%); }

.module-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.module-title h4 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.005em; line-height: 1.2; }
.module-cat {
  font-family: var(--font-pixel); font-size: 9px; letter-spacing: .08em;
  color: var(--cat-color); text-transform: uppercase; font-weight: 700;
  opacity: 0.9;
}
.module .arrow { color: var(--faint); flex: none; transition: transform .22s ease, color .22s; }
.module:hover .arrow { color: var(--cat-color); transform: translate(3px, -3px); }
.module .arrow svg { width: 16px; height: 16px; display: block; }

.module-desc {
  font-size: 14px; color: var(--muted); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.module-desc strong { color: var(--text); font-weight: 600; }
.module-desc code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--bg); border: 1px solid var(--border);
  padding: 0 4px; border-radius: 5px; color: var(--lav);
}

.module-foot {
  margin-top: auto; padding-top: 4px;
  display: flex; align-items: center; gap: 10px;
  min-height: 20px;
}
.module-media {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--faint);
  padding: 3px 8px; border-radius: 100px;
  background: oklch(1 0 0 / 0.03); border: 1px solid var(--border);
}
.module-media svg { width: 12px; height: 12px; }
.module:hover .module-media { color: var(--text); border-color: var(--border-2); }

.module-new {
  flex: none; align-self: flex-start;
  font-family: var(--font-pixel); font-size: 9px; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 700; line-height: 1;
  padding: 5px 7px 4px; border-radius: 100px;
  color: oklch(1 0 0);
  background: var(--new);
  border: 1px solid var(--new);
  transition: background .22s, border-color .22s;
}
.module:hover .module-new { background: var(--new-hover); border-color: var(--new-hover); }
.module-page-cat .module-new { margin-left: 8px; vertical-align: 1px; }

.module-featured {
  grid-column: span 2;
  min-height: 268px;
  padding: 24px 24px 20px;
  border-color: color-mix(in oklch, var(--cat-color), var(--border) 55%);
}
.module-featured::before { opacity: 0.55; }
.module-featured .module-bar { left: 0; right: 0; opacity: 1; }
.module-featured .module-title h4 { font-size: 21px; }
.module-featured .module-desc { -webkit-line-clamp: 4; font-size: 14.5px; max-width: 62ch; }
.module-featured:hover .module-new { background: var(--new-hover); border-color: var(--new-hover); }
.module-featured .module-foot { gap: 14px; align-items: flex-end; }

.module-shots { display: flex; gap: 8px; flex: 1; min-width: 0; overflow: hidden; }
.module-shots img {
  width: 108px; height: 64px; flex: none;
  object-fit: cover; border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color .22s, transform .22s ease;
}
.module-featured:hover .module-shots img { border-color: color-mix(in oklch, var(--cat-color), transparent 60%); }

@media (max-width: 620px) {
  .module-featured { grid-column: span 1; padding: 20px 20px 18px; }
  .module-featured .module-title h4 { font-size: 18px; }
  .module-shots img { width: 92px; height: 56px; }
  .module-shots img:nth-child(3) { display: none; }
}

.config-note {
  margin-top: 32px; display: flex; align-items: center; gap: 18px;
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); flex-wrap: wrap;
}
.config-note canvas.kbd {
  width: 48px; height: 48px; flex: none; display: block;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 3px 6px oklch(0 0 0 / 0.35));
}

.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 22px; }
.pack {
  overflow: hidden; cursor: pointer; text-align: left; padding: 0; width: 100%;
  transition: transform .2s ease, border-color .2s, box-shadow .2s;
}
.pack:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.pack:focus-visible { outline: 2px solid var(--lav); outline-offset: 2px; }
.pack .shot { width: 100%; aspect-ratio: 16/10; border-bottom: 1px solid var(--border); overflow: hidden; }
.pack-body { padding: 22px 24px 24px; }
.pack-body .kicker { font-family: var(--font-pixel); font-size: 10px; color: var(--mint); letter-spacing: .03em; }
.pack-body h3 { font-size: 24px; margin: 9px 0 8px; }
.pack-body p { color: var(--muted); font-size: 15px; }
.pack-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 12px; }
.pack-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.pack-tags span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); background: var(--bg-2); border: 1px solid var(--border); padding: 3px 9px; border-radius: 100px; }
.pack-more { font-weight: 700; font-size: 13.5px; color: var(--lav); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pack-more svg { width: 15px; height: 15px; }

.servers { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.server { padding: 26px; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s, box-shadow .2s; }
.server:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.server-top { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.server-icon { width: 62px; height: 62px; border-radius: 20px; flex: none; border: 1px solid var(--border); overflow: hidden; }
.server h3 { font-size: 21px; }
.server .role { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.server p { color: var(--muted); font-size: 15px; flex: 1; }
.server-stats { display: flex; gap: 26px; margin: 20px 0; flex-wrap: wrap; }
.server-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.copy-invite { transition: background .18s, color .18s, border-color .18s; }
.copy-invite.copied { background: oklch(0.82 0.10 156 / 0.15); border-color: oklch(0.75 0.15 156 / 0.5); color: oklch(0.82 0.10 156); }
.copy-invite.copied svg { color: oklch(0.75 0.15 156); }
.stat { display: flex; flex-direction: column; }
.stat .num { font-family: var(--font-display); font-size: 29px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.stat .num.online { color: var(--mint); }
.stat .lbl { font-family: var(--font-mono); font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; margin-top: 7px; display: flex; align-items: center; gap: 6px; }
.stat .lbl .live { width: 7px; height: 7px; border-radius: 2px; background: var(--mint); box-shadow: 0 0 7px var(--mint); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .stat .lbl .live { animation: none; } }

.bots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 16px; }
.bot { padding: 24px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.bot:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.bot-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.bot-av { width: 52px; height: 52px; border-radius: 16px; flex: none; overflow: hidden; background: linear-gradient(135deg, var(--lav), var(--lav-deep)); display: grid; place-items: center; font-family: var(--font-pixel); font-size: 15px; color: var(--ink); }
.bot-av:has(img) { background: transparent; border-radius: 0; overflow: visible; }
.bot-av img { width: 100%; height: 100%; object-fit: contain; }
.bot h4 { font-size: 18px; }
.bot .tag-line { font-family: var(--font-mono); font-size: 11px; color: var(--faint); margin-top: 2px; }
.bot p { color: var(--muted); font-size: 14.5px; }
.bot-feats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.bot-feats span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); background: var(--bg-2); border: 1px solid var(--border); padding: 3px 10px; border-radius: 100px; }
.bot-links { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.bot-empty { grid-column: 1 / -1; text-align: center; padding: 48px 24px; border: 1px dashed var(--border-2); border-radius: var(--radius); color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 46px; align-items: center; }
.tilt-stage { perspective: 900px; }
.about-photo { width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); transform-style: preserve-3d; transition: transform .18s ease; will-change: transform; }
.about-body h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.about-body p { color: var(--muted); font-size: 17px; margin-bottom: 15px; }
.about-body .sig { font-family: var(--font-pixel); font-size: 13px; color: var(--lav); margin-top: 22px; }

.contact { text-align: center; }
.socials { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 32px; }
.social {
  display: flex; align-items: center; gap: 11px; padding: 13px 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 100px;
  font-weight: 600; font-size: 15px;
  transition: transform .18s, border-color .18s, background .18s;
}
.social:hover { transform: translateY(-3px); border-color: var(--border-2); background: var(--surface-2); }
.social svg, .social img.social-ico { width: 21px; height: 21px; flex: none; object-fit: contain; }

.social img.social-ico { filter: brightness(0) invert(1); opacity: .9; transition: opacity .2s; }
.social:hover img.social-ico { opacity: 1; }

footer { border-top: 0; padding: 38px 0; margin-top: 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--faint); font-size: 14px; }
.footer-inner .brand { font-size: 14px; opacity: .9; }

.modal-root { position: fixed; inset: 0; z-index: 200; display: none; }
.modal-root.open { display: block; }

.pack-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(20px, 3vh, 32px) 0 clamp(48px, 8vh, 96px);
  background: var(--bg);
}
.pack-page-close {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  padding: 10px 16px; border-radius: 100px; font-size: 14px; font-weight: 600;
  cursor: pointer; margin: 0 clamp(16px, 4vw, 40px) 24px;
  transition: color .2s, border-color .2s, background .2s;
  font-family: inherit;
}
.pack-page-close:hover { color: var(--text); border-color: var(--border-2); background: var(--surface); }
.pack-page-close svg { width: 16px; height: 16px; }
.pack-page-inner { max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.pack-page-inner .modal-close { display: none; }
.pack-page-inner .modal--project {
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  opacity: 1 !important;
  transform: none !important;
  overflow: visible;
}
.pack-page-inner .mp-header {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  overflow: hidden;
}
.pack-page-inner .mp-layout {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}
.pack-page-inner .mp-panels .md img,
.pack-page .mp-panels .md img {
  max-width: 100%; height: auto; display: block;
  border-radius: 12px;
  margin: 16px auto;
}
.pack-page-inner .mp-panels .md a img,
.pack-page .mp-panels .md a img {
  margin: 8px auto;
}
.pack-page-inner .mp-panels hr,
.pack-page .mp-panels hr {
  border: 0; border-top: 1px solid var(--border); margin: 20px 0;
}
.pack-page-inner .mp-panels p,
.pack-page .mp-panels p {
  margin: 0 0 14px; line-height: 1.65;
}
.pack-page-inner .mp-panels p:last-child { margin-bottom: 0; }
.modal-backdrop { position: absolute; inset: 0; background: oklch(0.1 0.01 285 / 0.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.modal-root.open .modal-backdrop { opacity: 1; }
.modal-scroll { position: absolute; inset: 0; overflow-y: auto; display: flex; align-items: flex-start; justify-content: center; padding: clamp(16px, 5vh, 64px) 16px; }
.modal {
  position: relative; width: min(820px, 100%);
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98); opacity: 0;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .3s;
  overflow: hidden;
}
.modal-root.open .modal { transform: none; opacity: 1; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 40px; height: 40px; border-radius: 12px;
  background: oklch(0.165 0.012 285 / 0.7); border: 1px solid var(--border-2);
  color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.modal-close:hover { background: var(--surface-2); transform: rotate(90deg); }
.modal-close svg { width: 20px; height: 20px; }

.carousel { position: relative; background: var(--bg); }
.carousel-track { display: flex; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.carousel-slide { min-width: 100%; aspect-ratio: 16/9; }
.carousel-slide .ph, .carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 13px;
  background: oklch(0.165 0.012 285 / 0.78); border: 1px solid var(--border-2);
  color: var(--text); cursor: pointer; display: grid; place-items: center; transition: background .2s;
}
.carousel-nav:hover { background: var(--lav); color: var(--ink); }
.carousel-nav svg { width: 20px; height: 20px; }
.carousel-nav.prev { left: 14px; }
.carousel-nav.next { right: 14px; }
.carousel-nav[disabled] { opacity: 0; pointer-events: none; }
.carousel-counter {
  position: absolute;
  right: 12px; bottom: 12px;
  display: inline-flex; align-items: baseline; gap: 3px;
  padding: 5px 10px;
  border-radius: 100px;
  background: oklch(0 0 0 / .65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid oklch(1 0 0 / .08);
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 600;
  color: oklch(1 0 0 / .95);
  letter-spacing: .01em;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  z-index: 3;
}
.carousel-counter .sep { color: oklch(1 0 0 / .45); font-weight: 400; padding: 0 1px; }

.modal-body { padding: 28px clamp(22px, 4vw, 38px) clamp(26px, 4vw, 38px); }
.modal-eyebrow { font-family: var(--font-pixel); font-size: 10px; letter-spacing: .03em; text-transform: uppercase; color: var(--cat-color, var(--lav)); display: inline-flex; align-items: center; gap: 8px; }
.modal-eyebrow .dotcat { width: 9px; height: 9px; border-radius: 3px; background: var(--cat-color, var(--lav)); }
.modal h2 { font-size: clamp(26px, 4vw, 36px); margin: 12px 0 14px; }
.modal-lead { color: var(--muted); font-size: 17px; line-height: 1.6; }
.modal-section { margin-top: 26px; }
.modal-section h3 { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--faint); margin-bottom: 12px; }
.modal-versions { display: flex; flex-wrap: wrap; gap: 8px; }
.changelog { display: flex; flex-direction: column; gap: 16px; }
.changelog-item { display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.changelog-date { font-family: var(--font-mono); font-size: 12.5px; color: var(--lav); padding-top: 2px; }
.changelog-item ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.changelog-item li { margin-bottom: 4px; }
.changelog-empty { color: var(--faint); font-size: 14.5px; font-style: italic; }
.modal-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.releases { display: flex; flex-direction: column; gap: 14px; }
.release { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; overflow-wrap: anywhere; word-break: break-word; scroll-margin-top: 24px; }
.release.highlight { border-color: var(--lav); box-shadow: 0 0 0 3px color-mix(in oklch, var(--lav), transparent 78%); }
.release-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chan { font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; border-radius: 7px; }
.rel-num { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.rel-mc { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); background: var(--bg-2); border: 1px solid var(--border); padding: 2px 9px; border-radius: 7px; }
.rel-date { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); margin-left: auto; }
.rel-sub { color: var(--text); font-weight: 600; font-size: 15px; margin-top: 10px; }
.rel-deps { margin-top: 14px; }
.rel-deps-label { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); margin-bottom: 8px; }

.deps { display: flex; flex-wrap: wrap; gap: 8px; }
.dep { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--text); transition: border-color .18s, background .18s, transform .18s; }
a.dep:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }
.dep-kind { font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 2px 7px; border-radius: 6px; }
.dep-kind.required { color: oklch(0.78 0.15 150); background: oklch(0.78 0.15 150 / 0.14); }
.dep-kind.optional { color: var(--muted); background: var(--bg-2); }

.md { color: var(--muted); font-size: 14.5px; line-height: 1.62; }
.md > *:first-child { margin-top: 0; }
.md h2, .md h3, .md h4, .md h5 { font-family: var(--font-display); color: var(--text); margin: 14px 0 7px; letter-spacing: -0.01em; }
.md h2 { font-size: 18px; } .md h3 { font-size: 16px; } .md h4 { font-size: 14.5px; } .md h5 { font-size: 13px; }
.md p { margin: 8px 0; }
.md ul, .md ol { margin: 8px 0; padding-left: 20px; }
.md li { margin: 3px 0; }
.md code { font-family: var(--font-mono); font-size: .88em; background: var(--bg); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; color: var(--lav); }
.md pre { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; overflow: auto; margin: 10px 0; }
.md pre code { border: 0; background: none; padding: 0; color: var(--text); }
.md a { color: var(--lav); text-decoration: underline; text-underline-offset: 2px; }
.md strong { color: var(--text); }
.md blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid var(--border-2); color: var(--faint); background: var(--bg-2); border-radius: 0 8px 8px 0; }
.md hr { border: 0; border-top: 1px solid var(--border); margin: 14px 0; }

/* Tableaux (section Configuration des modules). Scroll horizontal isole sur mobile. */
.md-table { margin: 12px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.md-table table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 13.5px; }
.md-table th, .md-table td { padding: 9px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.md-table thead th {
  font-family: var(--font-pixel); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text); background: var(--bg-2); white-space: nowrap;
}
.md-table tbody tr:last-child td { border-bottom: 0; }
.md-table tbody tr:hover td { background: oklch(1 0 0 / 0.02); }
.md-table td:first-child { white-space: nowrap; }
.md-table code { white-space: nowrap; }

.dl-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--mint); background: oklch(0.875 0.046 156 / 0.10); border: 1px solid oklch(0.875 0.046 156 / 0.25); padding: 3px 11px; border-radius: 100px; }
.dl-pill svg { width: 13px; height: 13px; }
.modal-stats { display: flex; gap: 28px; margin-top: 18px; }
.mstat { display: flex; flex-direction: column; }
.mstat-num { font-family: var(--font-display); font-size: 27px; font-weight: 700; letter-spacing: -0.02em; color: var(--mint); line-height: 1; }
.mstat-lbl { font-family: var(--font-mono); font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }

.modal--project { width: min(1080px, 100%); }
.modal-root.has-project .modal-scroll { padding: clamp(24px, 4vh, 56px) clamp(16px, 3vw, 32px); }

.mp-header {
  position: relative;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 4vw, 40px) clamp(20px, 2.5vw, 28px);
  background:
    radial-gradient(120% 140% at 0% 0%, oklch(0.30 0.05 286 / 0.9), transparent 55%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border-bottom: 1px solid var(--border);
}
.mp-header-inner { display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center; }
.mp-icon {
  width: 96px; height: 96px; border-radius: 20px;
  border: 1px solid var(--border-2);
  background: var(--bg); overflow: hidden;
  box-shadow: 0 12px 30px oklch(0 0 0 / 0.35);
}
.mp-icon img, .mp-icon .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-title { min-width: 0; }
.mp-title h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 6px 0 8px; letter-spacing: -0.015em; }
.mp-title .mp-desc { color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 62ch; }
.mp-title .modal-eyebrow { margin-bottom: 2px; }
.mp-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.mp-actions .btn { justify-content: center; }

.mp-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  background: transparent;
  border: 0;
}
.pack-page-inner .mp-layout {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.module-page-hero {
  position: relative;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 120% at 8% 0%, color-mix(in oklch, var(--cat-color), transparent 78%) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
  margin-bottom: 20px;
}
.module-page-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  background: oklch(1 0 0 / 0.04); border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12.5px; color: var(--muted);
  margin-bottom: 22px;
}
.module-page-suite-mark {
  width: 24px; height: 24px; border-radius: 8px; overflow: hidden; flex: none;
  background: oklch(0.22 0.02 285);
}
.module-page-suite-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.module-page-suite-txt strong { color: var(--text); font-weight: 700; }
.module-page-head {
  display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center;
}
.module-page-icon {
  width: 96px; height: 96px; border-radius: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklch, var(--cat-color), transparent 82%);
  color: var(--cat-color);
  border: 1px solid color-mix(in oklch, var(--cat-color), transparent 68%);
}
.module-page-icon svg { width: 48px; height: 48px; display: block; }
.module-page-title-wrap { min-width: 0; }
.module-page-cat {
  display: inline-block;
  font-family: var(--font-pixel); font-size: 10.5px; letter-spacing: .06em;
  color: var(--cat-color); text-transform: uppercase; font-weight: 700;
  margin-bottom: 8px;
}
.module-page-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  color: var(--text); margin: 0 0 12px;
  letter-spacing: -0.02em; line-height: 1.05;
}
.module-page-desc { color: var(--muted); font-size: 17px; line-height: 1.55; margin: 0; max-width: 60ch; }

.module-page-body {
  display: flex; flex-direction: column; gap: 20px;
}

/* FAQ dans le modal projet (page Suite), sous la description. */
.mp-faq { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.mp-faq .faq-list { max-width: none; margin: 0; gap: 10px; }
.mp-faq .faq-item { padding: 15px 18px; }
.mp-faq .faq-item summary { font-size: 14.5px; }
.mp-faq .faq-item p { font-size: 14px; }
.mp-faq-title {
  font-family: var(--font-pixel); font-size: 10px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 14px;
}

/* FAQ des modules : meme composant que la page community, en pleine largeur. */
.module-page-faq {
  padding: clamp(22px, 3vw, 32px);
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.module-page-faq .faq-list { max-width: none; margin: 0; }
.module-page-faq .faq-item { background: var(--surface); }
.module-page-faq-title {
  font-family: var(--font-pixel); font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 18px;
}
.faq-item summary code, .faq-item p code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--bg); border: 1px solid var(--border);
  padding: 1px 5px; border-radius: 6px; color: var(--lav);
}
.faq-item p strong { color: var(--text); }
.faq-item summary { gap: 16px; }
.faq-item summary::after { flex: none; }

/* Modules pouvant poser probleme en serveur (Freecam, Macros, InvMove, See Invisible). */
.module-page-warn {
  --warn: oklch(0.72 0.16 25);
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid color-mix(in oklch, var(--warn), transparent 55%);
  border-left: 3px solid var(--warn);
  border-radius: var(--radius);
  background: color-mix(in oklch, var(--warn), var(--bg-2) 88%);
}
.module-page-warn-ico { flex: none; color: var(--warn); margin-top: 1px; }
.module-page-warn-ico svg { width: 20px; height: 20px; display: block; }
.module-page-warn-body { min-width: 0; }
.module-page-warn h3 {
  font-family: var(--font-pixel); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--warn); margin: 0 0 6px;
}
.module-page-warn .md { color: var(--text); font-size: 14.5px; }
.module-page-warn .md p { margin: 6px 0; }
.module-page-warn .md p:last-child { margin-bottom: 0; }
.module-page-warn .md strong { color: var(--warn); }
.module-page-long {
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px);
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  color: var(--text); font-size: 16px; line-height: 1.68;
}
.module-page-long p { color: var(--muted); margin: 0 0 14px; }
.module-page-long p:last-child { margin-bottom: 0; }
.module-page-long strong { color: var(--text); font-weight: 700; }
.module-page-long a { color: var(--lav); text-decoration: underline; text-underline-offset: 3px; }
.module-page-long a img { text-decoration: none; }
.module-page-long ul, .module-page-long ol { padding-left: 24px; color: var(--muted); margin: 0 0 14px; }
.module-page-long li { margin: 4px 0; }
.module-page-long img { max-width: 100%; height: auto; display: block; border-radius: 12px; margin: 16px auto; }
.module-page-long hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
.module-page-long h1, .module-page-long h2, .module-page-long h3, .module-page-long h4 {
  color: var(--text); margin: 20px 0 10px; font-family: var(--font-display);
}
.module-page-long h1 { font-size: 22px; }
.module-page-long h2 { font-size: 19px; }
.module-page-long h3 { font-size: 16.5px; }
.module-page-long h4 { font-size: 15px; }
.module-page-long code { background: var(--bg); border: 1px solid var(--border); padding: 2px 6px; border-radius: 6px; font-family: var(--font-mono); font-size: 90%; }
.module-page-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
}
.module-page-shot {
  aspect-ratio: 16/10; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface); padding: 0; cursor: pointer;
  transition: transform .18s, border-color .18s;
}
.module-page-shot:hover { transform: translateY(-2px); border-color: var(--border-2); }
.module-page-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mp-zoom { padding: clamp(16px, 4vw, 60px); }
.mp-zoom img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.mp-zoom-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 100px;
  background: oklch(0.165 0.012 285 / 0.9); border: 1px solid var(--border-2);
  color: var(--text); cursor: pointer; display: grid; place-items: center;
  transition: background .18s, transform .18s;
  z-index: 4;
}
.mp-zoom-nav:hover { background: var(--lav); color: var(--ink); transform: translateY(-50%) scale(1.05); }
.mp-zoom-nav svg { width: 22px; height: 22px; }
.mp-zoom-nav.prev { left: clamp(12px, 3vw, 32px); }
.mp-zoom-nav.next { right: clamp(12px, 3vw, 32px); }
.mp-zoom-counter {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: clamp(16px, 3vh, 32px);
  display: inline-flex; align-items: baseline; gap: 3px;
  padding: 8px 16px; border-radius: 100px;
  background: oklch(0.165 0.012 285 / 0.9); border: 1px solid var(--border-2);
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--text); letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  z-index: 4;
}
.mp-zoom-counter .sep { color: var(--faint); font-weight: 400; padding: 0 2px; }

.module-page-cta-card {
  padding: 20px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg,
    color-mix(in oklch, var(--lav), transparent 82%) 0%,
    color-mix(in oklch, var(--mint), transparent 88%) 100%);
  border: 1px solid color-mix(in oklch, var(--lav), transparent 60%);
}
.module-page-cta-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.module-page-cta-mark {
  width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex: none;
  background: oklch(0.22 0.02 285); border: 1px solid var(--border);
}
.module-page-cta-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.module-page-cta-txt { flex: 1; min-width: 200px; }
.module-page-cta-txt h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.005em; }
.module-page-cta-txt p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

@media (max-width: 640px) {
  .module-page-head { grid-template-columns: 64px 1fr; gap: 16px; }
  .module-page-icon { width: 64px; height: 64px; border-radius: 14px; }
  .module-page-icon svg { width: 32px; height: 32px; }
  .module-page-title { font-size: 26px; }
  .module-page-desc { font-size: 15px; }
  .module-page-cta-mark { width: 44px; height: 44px; }
}
.mp-side {
  order: 2;
  padding: 0;
  background: transparent;
  display: flex; flex-direction: column; gap: 12px;
}
.mp-main {
  order: 1; min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  display: flex; flex-direction: column; gap: 12px;
}
.mp-side .mp-meta,
.mp-side .mp-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0;
}
.mp-side .mp-meta h4 { margin-top: 0; }
.mp-side .mp-stat { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 0; }
.mp-meta-sub { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.mp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-tag {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--muted); background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 100px;
}
.mp-creator { display: flex; align-items: center; gap: 12px; }
.mp-creator-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; border: 1px solid var(--border); }
.mp-creator-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-creator-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mp-creator-name { font-size: 14.5px; font-weight: 700; color: var(--text); }
.mp-creator-role { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.mp-details { display: flex; flex-direction: column; gap: 8px; }
.mp-detail-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.mp-detail-lbl { color: var(--faint); }
.mp-detail-val { color: var(--text); font-weight: 600; }
.mp-stat { display: flex; flex-direction: column; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.mp-stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--mint); letter-spacing: -0.02em; }
.mp-stat-lbl { font-family: var(--font-mono); font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.mp-meta h4 {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--faint);
  margin: 0 0 10px;
}
.mp-meta p { color: var(--text); font-size: 14px; margin: 0; }
.mp-versions, .mp-links { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 13.5px; font-weight: 500;
  transition: border-color .18s, background .18s;
  text-decoration: none;
}
.mp-link:hover { border-color: var(--border-2); background: var(--surface-2); }
.mp-link svg,
.mp-link img.mp-link-ico { width: 15px; height: 15px; flex: none; opacity: .8; object-fit: contain; }
.mp-link img.mp-link-ico { filter: brightness(0) invert(1); }
.mp-link:hover img.mp-link-ico { opacity: 1; }

.mp-main { min-width: 0; }
.mp-tabs {
  display: flex; gap: 4px;
  padding: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
}
.mp-tabs::-webkit-scrollbar { display: none; }
.mp-tab {
  background: transparent; border: 0; cursor: pointer;
  padding: 9px 18px;
  color: var(--muted); font-size: 14.5px; font-weight: 700; font-family: inherit;
  white-space: nowrap;
  border-radius: 100px;
  transition: color .15s, background .15s;
}
.mp-tab:hover { color: var(--text); background: oklch(1 0 0 / 0.03); }
.mp-tab.on {
  color: var(--ink);
  background: var(--lav);
}
.mp-tab.on:hover { color: var(--ink); background: var(--lav); }
.mp-tab-long { display: inline; }
.mp-tab-short { display: none; }
.mp-panels {
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 32px) clamp(28px, 4vw, 44px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.mp-panel { display: none; }
.mp-panel.on { display: block; }
.mp-panel .md { color: var(--text); font-size: 15.5px; line-height: 1.72; overflow-wrap: anywhere; word-break: break-word; }
.mp-panel .md p { color: var(--muted); margin: 0 0 16px; }
.mp-panel .md p:last-child { margin-bottom: 0; }
.mp-panel .md h1, .mp-panel .md h2, .mp-panel .md h3, .mp-panel .md h4 {
  color: var(--text); margin: 24px 0 12px; font-family: var(--font-display); letter-spacing: -0.01em;
}
.mp-panel .md h1 { font-size: 24px; }
.mp-panel .md h2 { font-size: 20px; }
.mp-panel .md h3 { font-size: 17px; }
.mp-panel .md h4 { font-size: 15px; }
.mp-panel .md strong { color: var(--text); font-weight: 700; }
.mp-panel .md a { color: var(--lav); text-decoration: underline; text-underline-offset: 3px; }
.mp-panel .md a:hover { color: var(--lav-strong); }
.mp-panel .md a img { text-decoration: none; }
.mp-panel .md hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.mp-panel .md code { background: var(--bg); border: 1px solid var(--border); padding: 2px 6px; border-radius: 6px; font-family: var(--font-mono); font-size: 90%; }
.mp-panel .md ul, .mp-panel .md ol { padding-left: 24px; color: var(--muted); margin: 0 0 16px; }
.mp-panel .md li { margin: 4px 0; }
.mp-panel .md blockquote { border-left: 3px solid var(--lav); padding: 6px 16px; margin: 0 0 16px; color: var(--muted); background: oklch(0.20 0.015 286 / 0.5); border-radius: 0 8px 8px 0; }

.mp-versions-list { display: flex; flex-direction: column; gap: 10px; }
.mp-version-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  transition: border-color .18s, background .18s;
}
.mp-version-row:hover { border-color: var(--border-2); background: var(--surface); }
.mp-version-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.mp-version-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mp-version-num { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--text); }
.mp-version-sub { font-size: 13px; color: var(--muted); }
.mp-version-meta { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); flex-wrap: wrap; }
.mp-version-mc { color: var(--muted); }
.mp-version-date::before { content: "· "; opacity: 0.5; }

.mp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mp-gallery-item {
  aspect-ratio: 16/10; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); cursor: pointer;
  padding: 0;
  background: var(--surface); transition: transform .18s, border-color .18s;
}
.mp-gallery-item:hover { transform: translateY(-2px); border-color: var(--border-2); }
.mp-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-gallery-empty { color: var(--faint); font-size: 14px; font-style: italic; }

.mp-zoom { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 40px; background: oklch(0 0 0 / 0.85); }
.mp-zoom.on { display: flex; }
.mp-zoom img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: var(--shadow-lg); }

@media (max-width: 860px) {
  .modal-root.has-project .modal-scroll { padding: 0; }
  .modal--project { border-radius: 0; border: 0; min-height: 100dvh; }
  .mp-header { padding: 18px 16px 16px; }
  .mp-header-inner { grid-template-columns: 64px 1fr; gap: 14px; }
  .mp-actions { grid-column: 1 / -1; flex-direction: row; margin-top: 4px; }
  .mp-icon { width: 64px; height: 64px; border-radius: 14px; }
  .mp-title h2 { font-size: 22px; margin: 4px 0 6px; }
  .mp-title .mp-desc { font-size: 14.5px; }
  .mp-layout { grid-template-columns: 1fr; }
  .mp-side { order: 2; border-left: 0; border-top: 0; padding: 0; gap: 10px; }
  .mp-main { order: 1; }
  .mp-tabs { padding: 6px; gap: 2px; -webkit-overflow-scrolling: touch; }
  .mp-tab { padding: 8px 14px; font-size: 13px; }
  .mp-tab-long { display: none; }
  .mp-tab-short { display: inline; }
  .mp-panels { padding: 20px 16px 32px; }
  .pack-page-inner .mp-layout { gap: 12px; }
  .pack-page-inner .mp-side .mp-meta,
  .pack-page-inner .mp-side .mp-stat { padding: 16px 18px; }
  .mp-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .modal-root.has-project .modal-close {
    top: 12px; right: 12px; width: 38px; height: 38px; z-index: 30;
    background: oklch(0.13 0.008 285 / 0.85);
  }
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-rv="left"] { transform: translateX(-32px); }
.reveal[data-rv="right"] { transform: translateX(32px); }
.reveal[data-rv="scale"] { transform: scale(.95); }
.reveal.in[data-rv] { transform: none; }
[data-stagger] > * { transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .blob { display: none; }
}

@media (max-width: 900px) {
  .suite-hero, .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .suite-hero .suite-shot { order: -1; }
  .about-photo { max-width: 340px; margin-left: auto; margin-right: auto; }
  .about-grid .tilt-stage { text-align: center; }
}

@media (max-width: 760px) {
  .nav-burger { display: grid; }
  .nav-links {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: oklch(0.165 0.012 285 / 0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 18px 18px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .changelog-item { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav-inner { padding: 11px 18px; gap: 12px; }
  .section-pad { padding: 56px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .suite-meta { gap: 20px; }
  .server-stats { gap: 20px; }
}

.hero-total {
  display: inline-flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin: 26px 0 6px;
  padding: 14px 22px;
  background: oklch(0.20 0.015 285 / .55);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(10px);
}
.hero-total .ht-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em;
  color: var(--mint); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-total .ht-lbl {
  font-family: var(--font-mono); font-size: 12px; color: var(--faint);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}

.modules-toolbar {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.modules-toolbar .filters { flex: 1; min-width: 0; }
.modules-search {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 12px 8px 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px;
  min-width: 240px; max-width: 100%;
  transition: border-color .18s, background .18s;
}
.modules-search:focus-within { border-color: var(--lav); background: var(--surface-2); }
.modules-search svg { width: 16px; height: 16px; color: var(--faint); flex: none; }
.modules-search input {
  background: transparent; border: 0; outline: 0;
  color: var(--text); font: inherit; font-size: 14px;
  padding: 4px 0; flex: 1; min-width: 0;
}
.modules-search input::placeholder { color: var(--faint); }
.modules-search input::-webkit-search-cancel-button,
.modules-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.modules-search input::-ms-clear { display: none; width: 0; height: 0; }
.modules-search-kbd {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--faint); background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 2px 7px; flex: none;
}
.modules-search:focus-within .modules-search-kbd { display: none; }
.modules-empty {
  color: var(--faint); font-size: 14px; font-style: italic;
  padding: 40px 20px; text-align: center;
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius); margin-bottom: 20px;
}
@media (max-width: 700px) {
  .modules-search { min-width: 0; width: 100%; }
}

.cmdk { position: fixed; inset: 0; z-index: 400; display: none; }
.cmdk.on { display: block; }
.cmdk-back {
  position: absolute; inset: 0;
  background: oklch(0.08 0.005 285 / .6);
  backdrop-filter: blur(6px);
  animation: cmdkFade .18s ease;
}
.cmdk-panel {
  position: absolute; top: clamp(60px, 12vh, 140px); left: 50%;
  transform: translateX(-50%);
  width: min(620px, calc(100% - 32px));
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -20px oklch(0 0 0 / .7);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: cmdkPop .22s cubic-bezier(.2,.7,.2,1);
  max-height: min(70vh, 640px);
}
@keyframes cmdkFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cmdkPop  { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cmdk-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.cmdk-header svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.cmdk-header input {
  background: transparent; border: 0; outline: 0;
  color: var(--text); font: inherit; font-size: 16px; font-family: var(--font-body);
  flex: 1; min-width: 0; padding: 4px 0;
}
.cmdk-header input::placeholder { color: var(--faint); }
.cmdk-header kbd {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--faint); background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 3px 8px; flex: none;
}
.cmdk-list { overflow-y: auto; padding: 8px; flex: 1; }
.cmdk-list::-webkit-scrollbar { width: 6px; }
.cmdk-list::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 4px; }
.cmdk-group {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  color: var(--faint); text-transform: uppercase; letter-spacing: .07em;
  padding: 12px 12px 6px;
}
.cmdk-item {
  display: flex; align-items: baseline; gap: 14px;
  padding: 10px 12px; margin: 2px 0;
  border-radius: 10px;
  background: transparent; border: 0; cursor: pointer;
  width: 100%; text-align: left; color: var(--text);
  font: inherit;
  transition: background .1s;
}
.cmdk-item.on { background: oklch(0.75 0.12 286 / .12); color: var(--text); }
.cmdk-item .cmdk-label { font-size: 14.5px; font-weight: 600; flex: none; }
.cmdk-item .cmdk-hint {
  font-size: 13px; color: var(--faint);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0; flex: 1;
}
.cmdk-empty {
  padding: 32px 20px; text-align: center;
  color: var(--faint); font-size: 14px; font-style: italic;
}
.cmdk-foot {
  display: flex; align-items: center; gap: 22px;
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-mono); font-size: 11px; color: var(--faint);
}
.cmdk-foot kbd {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  color: var(--muted); background: var(--surface);
  border: 1px solid var(--border); border-radius: 5px;
  padding: 1px 6px; margin-right: 4px;
}
@media (max-width: 560px) {
  .cmdk-panel { top: 20px; }
  .cmdk-foot { display: none; }
  .cmdk-header input { font-size: 15px; }
}

@media (max-width: 560px) {
  #contact { padding: 60px 0 40px; }
  #contact .section-title { font-size: 28px; margin-bottom: 12px; }
  #contact .section-lead { font-size: 15.5px; max-width: 32ch; margin: 0 auto; text-align: center; }
  #contact .eyebrow { justify-content: center; margin-bottom: 12px; }
  .socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 26px;
    padding: 0 4px;
  }
  .social {
    justify-content: center;
    padding: 14px 12px;
    font-size: 14px;
    gap: 9px;
    border-radius: 14px;
    min-height: 52px;
  }
  .social svg, .social img.social-ico { width: 18px; height: 18px; }
  .social:hover { transform: none; }
  .social:active { transform: scale(0.97); }
}

@media (max-width: 380px) {
  .socials { gap: 8px; }
  .social { padding: 12px 8px; font-size: 13px; }
}

html.sys, .sys body { overflow: hidden; background: var(--bg); }
.sys-wrap {
  position: fixed; inset: 0;
  display: grid; grid-template-rows: auto 1fr auto;
  color: var(--text);
}
.sys-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.sys-bg::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(38% 42% at 20% 30%, oklch(0.32 0.10 286 / .55), transparent 62%),
    radial-gradient(30% 34% at 82% 76%, oklch(0.32 0.11 156 / .38), transparent 68%),
    radial-gradient(24% 30% at 60% 15%, oklch(0.30 0.09 30 / .22), transparent 68%);
  animation: sysDrift 22s ease-in-out infinite alternate;
  will-change: transform;
}
.sys-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background-image:
    linear-gradient(oklch(1 0 0 / .05) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 45%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, black, transparent 75%);
}
@keyframes sysDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-4%, 3%) scale(1.06); }
}

.sys-top {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 40px);
}
.sys-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; font-size: 14px; color: var(--text); text-decoration: none;
}
.sys-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--lav), var(--lav-deep));
  color: var(--ink); overflow: hidden; flex: none;
  font-family: var(--font-pixel); font-weight: 700; font-size: 13px; line-height: 1;
  box-shadow: 0 6px 16px -6px var(--lav-deep);
}
.sys-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sys-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--faint);
  text-transform: uppercase; letter-spacing: .08em;
}
.sys-status .dot {
  width: 8px; height: 8px; border-radius: 50%; background: oklch(0.72 0.19 25);
  box-shadow: 0 0 12px oklch(0.72 0.19 25), 0 0 24px oklch(0.72 0.19 25 / .5);
  animation: sysPulse 1.6s ease-in-out infinite;
}
.sys-status.ok .dot   { background: oklch(0.75 0.15 156); box-shadow: 0 0 12px oklch(0.75 0.15 156), 0 0 24px oklch(0.75 0.15 156 / .5); }
.sys-status.warn .dot { background: oklch(0.80 0.15 65);  box-shadow: 0 0 12px oklch(0.80 0.15 65),  0 0 24px oklch(0.80 0.15 65 / .5); }
.sys-status.info .dot { background: oklch(0.75 0.12 286); box-shadow: 0 0 12px oklch(0.75 0.12 286), 0 0 24px oklch(0.75 0.12 286 / .5); }
@keyframes sysPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(1.4); } }

.sys-main {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px;
  align-items: center;
  padding: clamp(20px, 4vh, 60px) clamp(24px, 6vw, 80px);
  min-height: 0;
}
.sys-left { display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.sys-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 6px 12px 6px 8px; border-radius: 100px;
  background: oklch(0.20 0.02 286 / .6); border: 1px solid var(--border);
  font-family: var(--font-pixel); font-size: 10px; letter-spacing: .12em;
  color: var(--muted); text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.sys-eyebrow .glyph {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px;
  background: oklch(0.28 0.05 286); color: var(--lav);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
}
.sys-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 6vw, 68px); line-height: 1.03; letter-spacing: -0.03em;
  margin: 0; color: var(--text);
}
.sys-title em { font-style: normal; color: var(--lav); }
.sys-lead { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 44ch; margin: 0; }
.sys-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.sys-info {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 10px 14px; border-radius: 10px;
  background: oklch(0.135 0.008 285 / .7); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  backdrop-filter: blur(6px);
}
.sys-info .lbl { color: var(--faint); text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; font-weight: 700; flex: none; }
.sys-info code { color: var(--lav); overflow: hidden; text-overflow: ellipsis; }

.sys-glyphs {
  position: relative; height: 100%;
  display: grid; place-items: center;
}
.sys-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(180px, 26vw, 380px); line-height: .82; letter-spacing: -0.055em;
  color: transparent;
  -webkit-text-stroke: 2px oklch(1 0 0 / .06);
  position: relative; user-select: none;
}
.sys-num > span {
  display: inline-block;
  background: linear-gradient(180deg, oklch(0.94 0.05 286) 0%, oklch(0.62 0.09 286) 60%, oklch(0.45 0.06 286) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0;
  filter: drop-shadow(0 12px 32px oklch(0.30 0.09 286 / .65));
  animation: sysFloat 6s ease-in-out infinite;
}
.sys-num > span:nth-child(2) { animation-delay: -1.5s; color: var(--lav); }
.sys-num > span:nth-child(3) { animation-delay: -3s; }
.sys-num.warn > span { background: linear-gradient(180deg, oklch(0.94 0.13 65) 0%, oklch(0.68 0.15 65) 60%, oklch(0.48 0.10 65) 100%); -webkit-background-clip: text; background-clip: text; }
.sys-num.err  > span { background: linear-gradient(180deg, oklch(0.94 0.14 25) 0%, oklch(0.68 0.17 25) 60%, oklch(0.48 0.12 25) 100%); -webkit-background-clip: text; background-clip: text; }
.sys-num.ok   > span { background: linear-gradient(180deg, oklch(0.94 0.10 156) 0%, oklch(0.68 0.13 156) 60%, oklch(0.48 0.09 156) 100%); -webkit-background-clip: text; background-clip: text; }
@keyframes sysFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.sys-num::after {
  content: attr(data-ghost);
  position: absolute; inset: 0;
  -webkit-text-stroke: 1px oklch(1 0 0 / .04);
  color: transparent;
  transform: translate(14px, 10px);
}

.sys-marquee {
  position: relative; z-index: 3;
  overflow: hidden; padding: 14px 0;
  border-top: 1px solid var(--border);
  background: oklch(0.115 0.008 285 / .85);
  backdrop-filter: blur(8px);
}
.sys-track {
  display: flex; gap: 44px; width: max-content;
  animation: sysMarquee 40s linear infinite;
}
.sys-track span {
  font-family: var(--font-pixel); font-size: 12px;
  text-transform: uppercase; letter-spacing: .18em; color: var(--muted);
  display: inline-flex; align-items: center; gap: 44px;
}
.sys-track em { font-style: normal; color: var(--lav); }
.sys-track .sep { width: 6px; height: 6px; background: var(--lav); border-radius: 50%; box-shadow: 0 0 12px var(--lav); display: inline-block; }
@keyframes sysMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  html.sys, .sys body { overflow: auto; }
  .sys-wrap { position: relative; min-height: 100vh; min-height: 100dvh; }
  .sys-main { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px 48px; }
  .sys-glyphs { order: -1; height: auto; }
  .sys-num { font-size: 34vw; }
  .sys-title { font-size: 34px; }
  .sys-lead { font-size: 15.5px; }
}

.sys-doc {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
  padding: clamp(20px, 4vh, 60px) clamp(24px, 6vw, 80px);
}
.sys-doc h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.sys-doc h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin: 22px 0 8px; color: var(--muted); }
.sys-doc p, .sys-doc li { color: var(--muted); line-height: 1.65; font-size: 15.5px; }
.sys-doc ul { padding-left: 22px; }
.sys-doc a { color: var(--lav); text-decoration: underline; text-underline-offset: 3px; }
.sys-doc code { font-family: var(--font-mono); background: var(--bg-2); padding: 2px 6px; border-radius: 5px; color: var(--lav); font-size: 13.5px; }

.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.confetti span {
  position: absolute; top: -20px; width: 8px; height: 14px; opacity: 0;
  animation: confettiFall 4s cubic-bezier(.2,.5,.3,1) infinite;
}
@keyframes confettiFall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(105vh) rotate(720deg); opacity: 0; }
}

.sys-eyebrow .glyph svg { width: 11px; height: 11px; display: block; }
.sys-eyebrow .glyph { padding: 0; }

#prahyu-banner.banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: none; align-items: center; justify-content: center;
  gap: 12px; padding: 10px 20px;
  background: var(--lav);
  color: var(--ink);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  text-align: center;
  border-bottom: 1px solid oklch(0.72 0.06 286);
  box-shadow: 0 4px 16px oklch(0 0 0 / .3);
  animation: bannerSlide .35s ease-out;
}
#prahyu-banner.banner.on { display: flex; }
#prahyu-banner.banner.off { display: none; }
#prahyu-banner.warn { background: oklch(0.85 0.14 65); border-bottom-color: oklch(0.72 0.15 65); color: oklch(0.25 0.12 65); }
#prahyu-banner.success { background: oklch(0.85 0.14 156); border-bottom-color: oklch(0.72 0.15 156); color: oklch(0.22 0.10 156); }
#prahyu-banner .dot {
  width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 10px currentColor; animation: bannerPulse 1.4s ease-in-out infinite;
}
#prahyu-banner button {
  margin-left: 12px; background: transparent; border: 0; color: inherit;
  font: inherit; font-size: 18px; cursor: pointer; padding: 0 8px; opacity: .7;
}
#prahyu-banner button:hover { opacity: 1; }
@keyframes bannerSlide { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bannerPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.3); } }
body:has(#prahyu-banner.on) { padding-top: 44px; }

#discord, #about, #contact, #packs { position: relative; overflow: hidden; }
#discord > .wrap, #about > .wrap, #contact > .wrap, #packs > .wrap { position: relative; z-index: 1; }
.zelda-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
  animation: zeldaFloat 7s ease-in-out infinite;
}
@keyframes zeldaFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.zelda-decor::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 40%);
  width: 90%;
  height: 60px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(28px);
  opacity: 0.55;
}
#about .zelda-decor--sword {
  bottom: 0;
  right: 5%;
  top: auto;
  height: clamp(350px, 62vh, 560px);
  aspect-ratio: 821 / 1320;
  background: url("/medias/easter/sword.png") no-repeat right bottom / contain;
  mask-image: none;
  -webkit-mask-image: none;
}
#about .zelda-decor--sword::after {
  background: radial-gradient(closest-side, rgba(180, 130, 255, 0.45), transparent 70%);
}
#discord .zelda-decor--slate {
  top: 50%;
  left: -60px;
  bottom: auto;
  right: auto;
  transform: translateY(-50%) rotate(-8deg) scaleX(-1);
  height: clamp(320px, 55vh, 500px);
  aspect-ratio: 791 / 1395;
  background: url("/medias/easter/sheikah-slate.png") no-repeat center / contain;
  mask-image: none;
  -webkit-mask-image: none;
  animation: none;
  filter: drop-shadow(0 8px 24px rgba(120, 200, 255, 0.12));
  opacity: 0.32;
}
#discord .zelda-decor--slate::after { display: none; }
#packs .zelda-decor--rupees {
  bottom: 0;
  right: 0;
  top: auto;
  height: clamp(420px, 72vh, 680px);
  aspect-ratio: 821 / 1432;
  background: url("/medias/easter/rupees-corner.png") no-repeat right bottom / contain;
  opacity: 0.42;
  mask-image: linear-gradient(to bottom left, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom left, #000 72%, transparent 100%);
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .zelda-decor, #discord .zelda-decor--slate { animation: none; }
}
.contact-title-with-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.contact-ornament {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  background-color: var(--lav);
  -webkit-mask: url("/medias/easter/timer-ornament.png") no-repeat center / contain;
  mask: url("/medias/easter/timer-ornament.png") no-repeat center / contain;
  opacity: 0.95;
  flex-shrink: 0;
}
.contact-ornament--flip { transform: scaleX(-1); }
@media (max-width: 900px) {
  #about .zelda-decor--sword {
    height: clamp(280px, 45vh, 380px);
    right: -6%;
    opacity: 0.22;
  }
  #discord .zelda-decor--slate {
    height: clamp(260px, 42vh, 360px);
    left: -12%;
    right: auto;
    opacity: 0.2;
  }
  #packs .zelda-decor--rupees {
    height: clamp(320px, 55vh, 460px);
    opacity: 0.28;
  }
}

.hero-pill { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.zelda-decor, .zelda-decor--slate, .zelda-decor--sword { animation: none !important; }
.about-photo { will-change: auto !important; }
#prahyu-banner .dot { animation: none !important; }
.stat .lbl .live { animation: none !important; }
.hero-runes { filter: none !important; }
#discord .zelda-decor--slate { opacity: 0.45 !important; }
#packs .zelda-decor--rupees { opacity: 0.45 !important; }
#about .zelda-decor--sword { opacity: 0.45 !important; }

.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.community-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px;
}
.community-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklch, var(--lav), transparent 88%);
  color: var(--lav);
  border: 1px solid color-mix(in oklch, var(--lav), transparent 78%);
  margin-bottom: 16px;
}
.community-icon svg { width: 22px; height: 22px; }
.community-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.005em; }
.community-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }

.community-steps { list-style: none; padding: 0; margin: 0 0 44px; display: flex; flex-direction: column; gap: 22px; }
.community-steps li { display: flex; gap: 18px; align-items: flex-start; }
.community-steps .step-num {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--lav); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
}
.community-steps h4 { font-size: 17px; font-weight: 700; margin: 6px 0 6px; letter-spacing: -0.005em; }
.community-steps p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }

.community-cta { text-align: center; padding: 28px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.btn-lg { padding: 15px 26px; font-size: 15.5px; }
.btn-long { display: inline; }
.btn-short { display: none; }
.community-cta-note { color: var(--faint); font-size: 13px; margin-top: 14px; }

.nav-community { display: inline-flex; align-items: center; gap: 8px; }
.nav-badge {
  font-family: var(--font-pixel);
  font-size: 8.5px;
  letter-spacing: .08em;
  padding: 2px 6px;
  border-radius: 100px;
  background: var(--lav);
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
}

.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.rule {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; position: relative;
}
.rule-num {
  font-family: var(--font-pixel); font-size: 11px; letter-spacing: .1em;
  color: var(--lav); font-weight: 700;
  display: inline-block; margin-bottom: 12px;
}
.rule h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.005em; }
.rule p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; }

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--border-2); }
.faq-item[open] { border-color: color-mix(in oklch, var(--lav), transparent 60%); }
.faq-item summary {
  font-size: 16px; font-weight: 700; letter-spacing: -0.005em;
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; color: var(--faint); font-weight: 400;
  transition: transform .2s, color .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--lav); }
.faq-item p {
  margin: 14px 0 0; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14.5px; color: var(--muted); line-height: 1.65;
}

.sys *, .sys body {
  animation: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  will-change: auto !important;
}

.blobs .blob { display: none !important; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .22s ease, border-color .22s, box-shadow .22s;
}
.gallery-item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklch, var(--lav), var(--border) 45%);
  box-shadow: 0 18px 40px -18px oklch(0 0 0 / 0.55);
}
.gallery-lg { grid-column: span 2; grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg,
    color-mix(in oklch, var(--lav), var(--bg) 82%),
    color-mix(in oklch, var(--bg-2), transparent 0%)
  );
  color: color-mix(in oklch, var(--lav), var(--muted) 60%);
  position: relative;
}
.gallery-placeholder svg { width: 42px; height: 42px; opacity: 0.55; }
.gallery-placeholder::after {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--lav), var(--faint) 45%);
}
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-lg { grid-column: span 2; grid-row: span 1; }
  .gallery-wide { grid-column: span 2; }
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin: 0;
  position: relative;
}
.testimonial::before {
  content: "«";
  position: absolute;
  top: -18px; left: 18px;
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 900;
  color: color-mix(in oklch, var(--lav), transparent 55%);
  line-height: 1;
}
.testimonial p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin: 0 0 18px;
  font-style: italic;
}
.testimonial footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.testi-avatar {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--lav);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 14px;
}

body:has(#serveur) .hero { padding-top: clamp(40px, 5vh, 64px) !important; padding-bottom: 8px !important; min-height: 0 !important; }
body:has(#serveur) .section-pad { padding-top: 32px !important; padding-bottom: 32px !important; }
body:has(#serveur) .hero-inner { padding-bottom: 0 !important; margin-bottom: 0 !important; }
body:has(#serveur) .hero-stats { margin-top: 24px !important; margin-bottom: 0 !important; }
body:has(#serveur) .reveal[style*="margin-bottom"] { margin-bottom: 20px !important; }
body:has(#serveur) .section-title { margin-bottom: 6px !important; }
body:has(#serveur) footer { padding: 38px 0 !important; margin-top: 40px !important; border-top: 1px solid var(--border); }
body:has(#serveur) .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (max-width: 760px) {
  .nav-burger { margin-left: auto; order: 3; }
  .lang-toggle { order: 2; margin-left: 0; }
  .nav-inner { gap: 10px; flex-wrap: nowrap; }
}
@media (max-width: 640px) {
  .btn-lg { padding: 14px 20px; font-size: 14px; }
  .btn-long { display: none; }
  .btn-short { display: inline; }
  .community-cta { padding: 18px 14px; }
  .community-cta .btn { max-width: 100%; box-sizing: border-box; white-space: nowrap; justify-content: center; }
  .community-cta .btn svg { flex: none; }
}
