:root {
  /* UnderWorld RP — design tokens */
  --bg: #010302;
  --bg-elevated: #050b08;
  --panel: #07120d;
  --panel2: #0c1a14;
  --surface: rgba(8, 18, 12, 0.88);
  --text: #e8f7ee;
  --muted: #8fa898;
  --muted-dim: #5c6d64;
  --green: #1eff8a;
  --green2: #00c968;
  --green-dim: #0a5c38;
  --lime: #b8ffd8;
  --darkgreen: #041a10;
  --accent-glow: rgba(30, 255, 138, 0.45);
  --accent-soft: rgba(30, 255, 138, 0.12);
  --accent-border: rgba(30, 255, 138, 0.22);
  --danger: #ff4757;
  --warning: #ffb347;
  --classified: #6ee7b7;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(30, 255, 138, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px rgba(30, 255, 138, 0.12);
  --radius: 28px;
  --radius-sm: 16px;
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-heading: "Outfit", "Chakra Petch", system-ui, sans-serif;
  --font-ui: "Chakra Petch", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body,
.uw-site {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 120% 80% at 80% -10%, rgba(30, 255, 138, 0.14), transparent 45%),
    radial-gradient(ellipse 90% 60% at 0% 100%, rgba(0, 120, 70, 0.1), transparent 50%),
    linear-gradient(165deg, #010302 0%, #06100b 42%, #010302 100%);
  overflow-x: hidden;
  cursor: url("logo.png?v=uw3") 16 16, auto;
  position: relative;
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: url("assets/bg-texture.png");
  background-repeat: repeat;
  background-size: 1024px 339px;
  background-position: center top;
  opacity: 0.35;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(30, 255, 138, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 255, 138, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(30, 255, 138, 0.08), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.85), transparent 70%);
  background-size: 48px 48px, 48px 48px, 100% 100%, 100% 100%;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 20%, transparent 100%);
}

a, button, [role="button"] {
  cursor: url('logo.png?v=uw3') 16 16, pointer;
}

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

button {
  font: inherit
}

.noise {
  display: none;
}

#app {
  flex: 1 0 auto;
  width: 100%;
}

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 28px));
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--accent-border);
  background: rgba(3, 8, 5, 0.9);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border-radius: 999px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  top: 12px;
  background: rgba(4, 9, 6, 0.96);
  border-color: rgba(34, 255, 136, 0.22);
  box-shadow:
    0 14px 48px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(34, 255, 136, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 6px;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.9;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(34, 255, 136, 0.35));
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand:hover .brand-logo {
  transform: scale(1.06);
}

.navbar.scrolled .brand-logo {
  width: 32px;
  height: 32px;
}

.navbar.scrolled .brand-name {
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.nav-links a {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
  background: rgba(34, 255, 136, 0.1);
  box-shadow: inset 0 0 0 1px rgba(34, 255, 136, 0.18);
}

.nav-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 900;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.nav-cta,
.primary-btn {
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: #021008;
  border: 1px solid rgba(34, 255, 136, .35);
}

.secondary-btn {
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.secondary-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: skewX(-25deg);
  transition: none;
}

.secondary-btn:hover::after {
  left: 150%;
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-btn::after,
.nav-cta::after {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: none;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: #021008;
  border: 1px solid rgba(34, 255, 136, 0.4);
  box-shadow:
    0 4px 20px rgba(34, 255, 136, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease;
}

.nav-admin-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.12) brightness(1.05);
  box-shadow:
    0 8px 28px rgba(34, 255, 136, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nav-admin-btn:active {
  transform: translateY(0);
}

.nav-admin-btn.is-connected {
  background: linear-gradient(135deg, rgba(34, 255, 136, 0.22), rgba(0, 191, 99, 0.14));
  color: var(--lime);
  border-color: rgba(34, 255, 136, 0.5);
  box-shadow:
    0 0 0 1px rgba(34, 255, 136, 0.15),
    0 4px 18px rgba(34, 255, 136, 0.2);
}

.nav-admin-btn.is-connected:hover {
  background: linear-gradient(135deg, rgba(34, 255, 136, 0.32), rgba(0, 191, 99, 0.22));
  color: var(--text);
}

.nav-cta {
  flex-shrink: 0;
  height: 42px;
  padding: 0 20px;
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(34, 255, 136, 0.2);
}

.nav-cta:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.15)
}



@media (max-width: 768px) {
  .navbar {
    top: 12px;
    width: calc(100% - 20px);
    padding: 6px 6px 6px 12px;
    gap: 8px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .nav-links {
    padding: 3px;
    gap: 0;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 11px;
  }

  .nav-admin-btn {
    height: 36px;
    padding: 0 14px;
    font-size: 11px;
    box-shadow: 0 3px 16px rgba(34, 255, 136, 0.25);
  }

  .nav-cta {
    height: 36px;
    padding: 0 14px;
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 10px;
    letter-spacing: 0.05em;
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    padding: 0 12px;
  }
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 120px 22px 70px;
  animation: pageIn .45s ease both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 54px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: stretch;
  gap: 42px;
  min-height: calc(100vh - 170px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 4px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--lime);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  width: fit-content;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green)
}

h1,
h2 {
  font-family: var(--font-display);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 168px);
  text-transform: uppercase;
  line-height: 0.88;
  margin: 16px 0 8px;
  padding: 0;
  color: var(--text);
  font-weight: 400;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  max-width: 100%;
  overflow: visible;
  opacity: 0;
  transform: translateY(32px);
  animation: heroTitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.35s;
}

.hero-title span {
  display: block;
  line-height: 0.9;
  background: linear-gradient(180deg, #f0fff5 0%, var(--green) 55%, var(--green2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px var(--accent-glow));
}

.hero-title span:nth-child(2) {
  margin-top: -0.08em;
  padding-left: 0.15em;
  color: var(--muted);
  background: linear-gradient(180deg, var(--lime) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero,
.section,
.page {
  overflow: visible;
}

.hero > div:first-child {
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

@keyframes heroTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

h1:not(.hero-title) {
  font-size: clamp(68px, 10vw, 150px);
  margin: 26px 0 22px
}

h2 {
  font-size: clamp(44px, 6vw, 92px);
  margin: 18px 0
}

.lead {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  color: #c6d5ca;
  max-width: 650px
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px
}

.primary-btn,
.secondary-btn {
  height: 58px;
  padding: 0 25px
}

.hero-visual {
  position: relative;
  border-radius: 48px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  cursor: pointer;
  perspective: 1000px;
  
  /* Style par défaut avec perspective 3D prononcée */
  opacity: 0;
  clip-path: inset(10% 10% 10% 10% round 48px);
  transform: scale(1.02) rotateY(-35deg) rotateX(10deg);
  filter: blur(8px);
  transition: 
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease;
  box-shadow: none;
}

.hero-visual:hover {
  border-color: rgba(34, 255, 136, 0.4);
  transform: scale(1.05) rotateY(-25deg) rotateX(5deg);
}

.hero-visual.show {
  opacity: 1;
  clip-path: none;
  transform: scale(1) rotateY(-35deg) rotateX(10deg);
  filter: blur(0);
}

/* Vignette interactive au survol (version fluide) */
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-visual:hover::after {
  opacity: 0.2;
  transform: scale(1.15);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.05);
  animation: slowZoom 12s ease-in-out infinite alternate;
  image-rendering: auto;
}

@keyframes slowZoom {
  to {
    transform: scale(1.06)
  }
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 4, 3, .86));
}

.float-card {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 24px;
  background: rgba(5, 10, 7, .70);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  transition: transform 0.5s ease;
}

.hero-visual:hover .float-card {
  transform: translateY(-3px);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px
}

.stat {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(.16, 1, .3, 1);
  cursor: default;
}

.stat:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .05);
  border-color: rgba(34, 255, 136, .2);
}

.stat b {
  display: block;
  font-size: 24px;
  color: var(--green)
}

.stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase
}

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

.cards-flex {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  padding: 40px 32px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(12, 22, 16, 0.92), rgba(4, 9, 6, 0.95));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(30, 255, 138, 0.06),
    var(--shadow);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.5;
}



.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(34, 255, 136, .4);
  background: linear-gradient(145deg, rgba(38, 54, 43, 0.9), rgba(14, 22, 16, 0.9));
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.15), 
    0 20px 40px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(34, 255, 136, 0.15);
}



.card-center {
  text-align: center;
  align-items: center;
  justify-content: center;
}



.card img:not(.admin-discord-icon) {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 10px
}

.card p,
.text-muted {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 26px;
  align-items: stretch;
  margin-top: 30px;
}

.panel {
  border-radius: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 30px;
  overflow: hidden;
}

.big-image {
  min-height: 430px;
  padding: 0
}

.big-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-item i {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(34, 255, 136, .13);
  display: grid;
  place-items: center;
  color: var(--green);
  font-style: normal;
  font-weight: 1000;
  flex: 0 0 auto;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 28px
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.step b {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: #021008
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: .6s cubic-bezier(.2, .8, .2, 1)
}

.reveal.show {
  opacity: 1;
  transform: none
}

.footer {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: min(1180px, calc(100% - 44px));
  margin: auto auto 40px;
}

.footer-card {
  padding: 28px 32px;
  border: 1px solid var(--accent-border);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(8, 16, 11, 0.95), rgba(3, 7, 5, 0.98));
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(10px);
}

.footer-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(34, 255, 136, 0.12);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 6px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 36ch;
}

.footer-disclaimer {
  margin: 0;
  max-width: 34ch;
  font-size: 10px;
  line-height: 1.55;
  color: rgba(154, 179, 164, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: right;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.footer-meta p {
  margin: 0;
  line-height: 1.5;
}

.footer-accent {
  color: var(--lime);
  font-weight: 700;
}



.page-title {
  min-height: 440px;
  display: grid;
  align-items: end;
  border-radius: 48px;
  padding: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(2, 4, 3, .96), rgba(2, 4, 3, .5)), url("assets/hero-city.svg") center/cover;
  position: relative;
}

.page-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom left, rgba(34, 255, 136, 0.1), transparent 70%);
  pointer-events: none;
}

.page-title h1 {
  font-size: clamp(62px, 9vw, 132px)
}

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

.badge {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  color: var(--lime);
  font-weight: 900
}

@media(max-width:900px) {
  .hero,
  .split {
    grid-template-columns: 1fr
  }

  .hero-visual {
    min-height: 430px
  }

  .cards {
    grid-template-columns: 1fr
  }

  .stats-row {
    grid-template-columns: 1fr
  }

  .footer-card {
    padding: 22px 20px;
  }

  .footer-head {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-disclaimer {
    max-width: none;
    text-align: center;
  }

  .footer-meta {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .page-title {
    padding: 30px;
    min-height: 360px
  }
}

/* Particules */
.particles-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--green);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.22;
  box-shadow: 0 0 8px var(--accent-glow);
  animation: floatParticle var(--d) ease-in-out infinite alternate;
}

@keyframes floatParticle {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(var(--x), var(--y));
  }
}

/* Effets de Mystère Lore */
.mystery-card {
  background: linear-gradient(145deg, rgba(5, 10, 8, 0.9), rgba(2, 4, 3, 0.95));
  border-color: rgba(34, 255, 136, 0.05);
}

.mystery-card:hover {
  border-color: rgba(34, 255, 136, 0.15);
  box-shadow: 0 0 30px rgba(34, 255, 136, 0.02);
}

.redacted {
  background: var(--green);
  color: var(--green);
  padding: 0 4px;
  cursor: help;
  transition: all 0.4s ease;
  border-radius: 2px;
}

.redacted:hover {
  background: transparent;
  color: inherit;
}

.focus-reveal {
  filter: blur(12px);
  opacity: 0;
  transform: scale(0.98);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.focus-reveal.show {
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
}

.lore-sep {
  width: 60px;
  height: 2px;
  background: var(--green);
  margin: 40px auto;
  opacity: 0.3;
}

.text-center { text-align: center; }

/* Lore Hero Section */
.lore-hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  width: min(1180px, calc(100% - 44px));
  margin: 20px auto 0;
  isolation: isolate;
}

.lore-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.lore-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) contrast(1.2) brightness(0.6);
  animation: slowZoom 15s ease-in-out infinite alternate;
}

.lore-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(2, 4, 3, 0.95) 0%, rgba(2, 4, 3, 0.65) 50%, rgba(2, 4, 3, 0.85) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lore-hero-content {
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
  z-index: 10;
  text-shadow: 0 2px 15px rgba(0,0,0,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.glitch-title {
  font-size: clamp(28px, 7vw, 80px);
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--text);
  margin: 10px 0 30px;
  padding-left: 0.1em;
  letter-spacing: 0.1em;
  position: relative;
  text-shadow: 2px 2px 0px rgba(34, 255, 136, 0.5), 0 0 30px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.redacted-text {
  font-family: 'Courier New', monospace;
  font-size: 16px;
  color: var(--green);
  opacity: 0.8;
  line-height: 1.8;
  margin: 0 auto;
}

/* Evidence Board */
.evidence-board {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 40px 0;
  perspective: 1000px;
}

.evidence-item {
  width: min(100%, 400px);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: rotate(-2deg);
  transition: all 0.4s ease;
}

.evidence-item.item-offset {
  transform: rotate(3deg) translateY(40px);
}

.evidence-item:hover {
  transform: rotate(0) translateY(-10px) scale(1.05);
  z-index: 10;
}

.evidence-img {
  position: relative;
  border: 10px solid #ececec;
  border-bottom-width: 30px;
  background: #ececec;
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.evidence-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: sepia(0.3) contrast(1.1);
  background: none;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.evidence-item:hover .evidence-img img {
  filter: sepia(0) contrast(1.1);
}

.evidence-pin {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #cc2222;
  box-shadow: inset -2px -2px 4px rgba(0,0,0,0.5), 0 5px 10px rgba(0,0,0,0.5);
}

.evidence-caption {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 8px;
  border-radius: 4px;
  border: 1px dashed rgba(34, 255, 136, 0.3);
}

/* Zone Cards */
.zone-card {
  position: relative;
  overflow: hidden;
  height: 450px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  transition: all 0.5s cubic-bezier(.16, 1, .3, 1);
  cursor: pointer;
}

.zone-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(0.8) brightness(0.4);
  transition: all 0.8s ease;
}

.zone-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(2, 4, 3, 1) 0%, rgba(2, 4, 3, 0.6) 50%, transparent 100%);
  transition: all 0.5s ease;
}

.zone-card:hover {
  transform: translateY(-10px);
  border-color: rgba(34, 255, 136, 0.4);
  box-shadow: 0 15px 40px rgba(34, 255, 136, 0.1);
}

.zone-card:hover .zone-bg {
  filter: grayscale(0) brightness(0.8);
  transform: scale(1.05);
}

.zone-card:hover::before {
  background: linear-gradient(to top, rgba(2, 4, 3, 0.9) 0%, rgba(34, 255, 136, 0.1) 100%);
}

.zone-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 10;
  white-space: nowrap;
}

.zone-content {
  padding: 40px 30px;
  transform: translateY(20px);
  transition: all 0.5s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.zone-card:hover .zone-content {
  transform: translateY(0);
}

.zone-content h3 {
  font-size: 28px;
  margin: 10px 0;
}

.zone-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.zone-card:hover .zone-content p {
  opacity: 1;
}

.zone-status {
  margin-top: 20px;
  font-size: 11px;
  font-family: 'Courier New', monospace;
  color: var(--green);
  opacity: 0.6;
  letter-spacing: 0.1em;
}

/* Guide Sections */
.guide-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.guide-header {
  margin-bottom: 40px;
}

.guide-header h2 {
  font-size: 32px;
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 10px;
}

.step-num {
  font-family: 'Courier New', monospace;
  color: var(--green);
  opacity: 0.5;
  font-size: 40px;
  font-weight: 900;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.guide-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .guide-grid, .guide-grid.grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.rules-list li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
}

.rules-list li strong {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.rules-list li strong::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  vertical-align: middle;
}

/* Page règlement (wiki) */
.reglement-page {
  padding-bottom: 80px;
}

.reglement-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
  padding-top: 20px;
}

.reglement-main-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  margin: 16px 0;
}

.reglement-back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

.reglement-back:hover {
  color: var(--green);
}

.reglement-page .section {
  overflow: visible;
}

.reglement-categories,
.reglement-doc-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(960px, 100%);
  margin: 0 auto;
}

.reglement-category-card,
.reglement-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 28px 32px;
  min-height: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(34, 255, 136, 0.06), rgba(4, 9, 6, 0.7) 40%);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.reglement-doc-card {
  background: rgba(4, 9, 6, 0.65);
}

.reglement-category-card:hover,
.reglement-doc-card:hover {
  border-color: rgba(34, 255, 136, 0.35);
  transform: translateX(6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(34, 255, 136, 0.08);
}

.reglement-category-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reglement-category-count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.reglement-category-card h2,
.reglement-doc-card h3 {
  font-family: var(--font-heading) !important;
  font-size: clamp(20px, 3vw, 26px) !important;
  font-weight: 700 !important;
  text-transform: none !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
}

.reglement-category-card .text-muted {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.reglement-category-cta,
.reglement-doc-cta {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--lime);
  white-space: nowrap;
}

.reglement-doc-card:hover {
  border-color: rgba(34, 255, 136, 0.3);
  background: linear-gradient(90deg, rgba(34, 255, 136, 0.1), rgba(4, 9, 6, 0.75) 45%);
}

.reglement-article {
  padding: 28px 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 9, 6, 0.55);
  backdrop-filter: blur(12px);
}

.reglement-article--full {
  width: min(1000px, 100%);
  margin: 0 auto;
  opacity: 1;
  transform: none;
}

.reglement-header--doc {
  max-width: 1000px;
}

.reglement-article-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reglement-article-actions--top {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reglement-nav-btn {
  height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.reglement-prose {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

.reglement-prose h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  margin: 28px 0 12px;
  color: var(--text);
}

.reglement-prose h3:first-child {
  margin-top: 0;
}

.reglement-prose h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  margin: 20px 0 10px;
  color: var(--lime);
}

.reglement-prose p {
  margin: 0 0 14px;
  color: rgba(238, 252, 243, 0.88);
}

.reglement-prose ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
  color: var(--muted);
}

.reglement-prose li {
  margin-bottom: 8px;
}

.reglement-prose hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 24px 0;
}

.reglement-prose code,
.reglement-prose .md-pre code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.9em;
}

.reglement-prose .md-pre {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  overflow-x: auto;
}

.reglement-prose .md-pre code {
  padding: 0;
  background: transparent;
}

.reglement-prose .md-spoiler {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.reglement-prose .md-spoiler:focus,
.reglement-prose .md-spoiler:hover {
  color: var(--text);
  background: rgba(34, 255, 136, 0.15);
}

.reglement-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13px;
}

.reglement-prose th,
.reglement-prose td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 12px;
  text-align: left;
}

.reglement-prose th {
  background: rgba(34, 255, 136, 0.08);
  color: var(--lime);
  font-weight: 700;
}

.reglement-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 13px;
}

.reglement-table th,
.reglement-table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
  text-align: center;
}

.reglement-table thead th {
  background: rgba(34, 255, 136, 0.08);
  color: var(--lime);
  font-weight: 600;
}

.reglement-table tbody th[scope="row"] {
  text-align: left;
  color: var(--text);
  font-weight: 600;
}

.reglement-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin: 12px 0 28px;
}

.reglement-vehicle-card {
  margin: 0;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
}

.reglement-vehicle-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  margin: 0 auto 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
}

.reglement-vehicle-card figcaption {
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
}

.reglement-note {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 12px;
  border-left: 3px solid var(--green);
  background: rgba(34, 255, 136, 0.06);
  color: var(--lime);
  font-size: 14px;
}

@media (max-width: 700px) {

  .reglement-category-card,
  .reglement-doc-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    gap: 14px;
  }

  .reglement-category-cta,
  .reglement-doc-cta {
    white-space: normal;
  }

  .reglement-article {
    padding: 22px 18px;
  }

  .reglement-nav-btn {
    font-size: 11px;
    padding: 0 12px;
  }
}

/* ——— Administration règlement ——— */

.admin-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.admin-page--panel {
  max-width: 1400px;
}

.page.admin-page--login {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 96px 20px 40px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.admin-login.card {
  width: min(100%, 460px);
  max-width: 460px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.admin-login.card:hover {
  transform: none;
}

.admin-login-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 36px 32px 28px;
  box-sizing: border-box;
}

.admin-login-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-login h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--text);
}

.admin-intro {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  color: rgba(238, 252, 243, 0.88);
}

.admin-login-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.admin-login-actions .admin-tip {
  text-align: center;
  line-height: 1.5;
}

.player-discord-card .player-discord-join-btn {
  width: 100%;
}

.player-discord-join-success {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(34, 255, 136, 0.35);
  background: rgba(34, 255, 136, 0.1);
  color: var(--lime);
  font-size: 14px;
  line-height: 1.5;
}

.player-discord-invite-link {
  font-size: 14px;
}

.admin-login-footer {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-login .reglement-back {
  display: inline-block;
  margin: 0;
  font-size: 14px;
}

.admin-steps {
  margin: 0 0 24px 1.2em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.admin-tip {
  font-size: 13px;
  margin: 0;
}

.admin-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
  border-color: rgba(34, 255, 136, 0.2);
  background: rgba(34, 255, 136, 0.06);
}

.admin-help strong {
  color: var(--lime);
  white-space: nowrap;
}

.admin-field-hint {
  font-size: 13px;
  margin: -6px 0 12px;
}

.admin-input--large {
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  padding: 14px 16px;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.admin-login-btn {
  width: 100%;
  margin-top: 4px;
}

.admin-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.admin-input,
.admin-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-input:focus,
.admin-textarea:focus {
  outline: none;
  border-color: rgba(34, 255, 136, 0.45);
  box-shadow: 0 0 0 3px rgba(34, 255, 136, 0.12);
}

.admin-textarea {
  resize: vertical;
  min-height: 280px;
  line-height: 1.5;
}

.admin-textarea--sm {
  min-height: 100px;
  font-size: 12px;
}

.admin-error {
  color: #ff6b6b;
  font-size: 13px;
  margin: 0;
}

.admin-error--block {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 100, 100, 0.35);
  background: rgba(255, 80, 80, 0.08);
}

.admin-login-error {
  text-align: left;
}

.admin-login-error-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #ff8a8a;
  margin-bottom: 8px;
}

.admin-login-error-message {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 220, 220, 0.95);
}

.admin-login-error-detail {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
}

.admin-login-error-dismiss {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 120, 120, 0.4);
  background: transparent;
  color: #ff9f9f;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-login-error-dismiss:hover {
  background: rgba(255, 80, 80, 0.12);
  color: #ffb8b8;
}

.admin-login-status {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  text-align: left;
}

.admin-login-status strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.admin-login-status p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.admin-login-status--info {
  border: 1px solid rgba(91, 156, 255, 0.4);
  background: rgba(91, 156, 255, 0.1);
  color: #b8d4ff;
}

.admin-login-status--info strong {
  color: #7eb8ff;
}

.admin-login-status--success {
  border: 1px solid rgba(34, 255, 136, 0.45);
  background: rgba(34, 255, 136, 0.1);
  color: #c8ffe0;
}

.admin-login-status--success strong {
  color: var(--lime);
}

#adminLoginFeedback:empty {
  display: none;
}

.admin-discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #5865f2;
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.45);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.admin-discord-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.55);
}

.admin-discord-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.admin-discord-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  max-width: 24px;
  min-height: 24px;
  max-height: 24px;
  flex-shrink: 0;
  display: inline-block;
  background-color: #fff;
  mask-image: url(assets/discord-icon.png);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url(assets/discord-icon.png);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.admin-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(34, 255, 136, 0.25);
  background: rgba(34, 255, 136, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
}

.admin-user-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.admin-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-topbar h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-top: 6px;
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-topbar-actions .secondary-btn {
  font-size: 13px;
  padding: 10px 16px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 24px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 100px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(32, 45, 36, 0.6), rgba(12, 20, 15, 0.75));
  backdrop-filter: blur(20px);
}

.admin-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.admin-doc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: min(60vh, 480px);
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 4px;
}

.admin-doc-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.admin-doc-item:hover {
  background: rgba(34, 255, 136, 0.06);
  border-color: rgba(34, 255, 136, 0.15);
}

.admin-doc-item.active {
  background: rgba(34, 255, 136, 0.12);
  border-color: rgba(34, 255, 136, 0.35);
}

.admin-doc-item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.admin-doc-item-meta {
  font-size: 11px;
  color: var(--muted);
}

.admin-hint {
  font-size: 12px;
  line-height: 1.6;
}

.admin-hint kbd {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  font-size: 11px;
  font-family: inherit;
}

.admin-editor.card {
  padding: 28px 24px;
}

.admin-editor.card:hover {
  transform: none;
}

.admin-editor-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-editor-head h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.admin-save-status {
  font-size: 13px;
}

.admin-save-status.is-saved {
  color: var(--green);
}

.admin-edit-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.admin-tool-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.admin-tool-btn:hover {
  background: rgba(34, 255, 136, 0.12);
  border-color: rgba(34, 255, 136, 0.3);
}

.admin-md-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-md-guide code {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-family: ui-monospace, Consolas, monospace;
  background: rgba(34, 255, 136, 0.08);
  border: 1px solid rgba(34, 255, 136, 0.15);
  color: var(--lime);
}

.admin-markdown {
  width: 100%;
  min-height: 320px;
  max-height: min(50vh, 480px);
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  resize: vertical;
  outline: none;
}

.admin-markdown:focus {
  border-color: rgba(34, 255, 136, 0.45);
  box-shadow: 0 0 0 3px rgba(34, 255, 136, 0.12);
}

.admin-intro code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(34, 255, 136, 0.1);
  font-size: 0.9em;
}

.admin-preview-panel {
  margin-top: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.admin-preview-panel summary {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: var(--lime);
  list-style: none;
}

.admin-preview-panel summary::-webkit-details-marker {
  display: none;
}

.admin-preview {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--line);
  max-height: 280px;
  overflow-y: auto;
}

.admin-publish-btn {
  min-width: 220px;
  padding: 14px 28px !important;
  font-size: 15px !important;
}

.admin-danger-btn {
  margin-top: 8px;
  border-color: rgba(255, 100, 100, 0.35) !important;
  color: #ffb4b4 !important;
}

.admin-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1000;
  max-width: min(420px, calc(100% - 32px));
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #021008;
  background: linear-gradient(135deg, var(--green), var(--green2));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(34, 255, 136, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.admin-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.admin-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.admin-settings {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.admin-settings summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--lime);
  margin-bottom: 16px;
  list-style: none;
}

.admin-settings summary::-webkit-details-marker {
  display: none;
}

.admin-settings summary::before {
  content: "▸ ";
  display: inline-block;
  transition: transform 0.2s;
}

.admin-settings[open] summary::before {
  transform: rotate(90deg);
}

.admin-pin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-pin-row .admin-input {
  flex: 1;
  min-width: 160px;
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-doc-list {
    max-height: 240px;
  }

  .admin-topbar-actions {
    width: 100%;
  }

  .page.admin-page--login {
    padding: 88px 16px 32px;
  }

  .admin-login-inner {
    padding: 28px 22px 22px;
  }

}

/* ——— Espace staff : hub, navigation, grades ——— */
.admin-page--panel {
  max-width: 1480px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}

.admin-shell-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 100px;
}

.admin-shell-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.admin-shell-link:hover {
  color: var(--text);
  background: rgba(34, 255, 136, 0.06);
  border-color: rgba(34, 255, 136, 0.12);
}

.admin-shell-link.active {
  color: var(--green);
  background: rgba(34, 255, 136, 0.1);
  border-color: rgba(34, 255, 136, 0.25);
}

.admin-shell-link-icon {
  font-size: 1.1rem;
}

.admin-shell-content {
  min-width: 0;
}

.admin-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

.admin-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-user-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 255, 136, 0.2);
  color: var(--green);
  font-weight: 800;
}

.admin-verified-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(88, 101, 242, 0.2);
  color: #aab2ff;
  border: 1px solid rgba(88, 101, 242, 0.35);
  vertical-align: middle;
}

.staff-grade-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg);
  background: var(--grade-color, var(--green));
}

.admin-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.admin-hub-welcome {
  grid-column: 1 / -1;
}

.admin-module-card {
  display: block;
  padding: 22px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.admin-module-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 255, 136, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.admin-module-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 10px;
}

.admin-forbidden {
  padding: 40px;
  text-align: center;
}

.admin-login-actions .admin-discord-btn {
  width: 100%;
  max-width: none;
  margin: 0;
}

.admin-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  cursor: pointer;
}

/* ——— Page Logs staff ——— */
.admin-logs-sync {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(34, 255, 136, 0.06);
  font-size: 0.9rem;
}

.admin-logs-sync--error {
  border-color: rgba(255, 120, 120, 0.35);
  background: rgba(255, 80, 80, 0.08);
  color: #ffb4b4;
}

.admin-logs-board.card {
  padding: 24px 28px;
  transform: none;
}

.admin-logs-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-logs-categories-title {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0 0 8px;
  padding: 0 10px;
}

.admin-logs-cat-group {
  margin-bottom: 20px;
}

.admin-logs-cat-group:last-child {
  margin-bottom: 0;
}

.admin-logs-cat-group[hidden] {
  display: none;
}

.admin-logs-category-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-logs-category-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.admin-logs-category-btn:hover {
  color: var(--text);
  background: rgba(34, 255, 136, 0.05);
  border-color: rgba(34, 255, 136, 0.1);
}

.admin-logs-category-btn.active {
  color: var(--green);
  background: rgba(34, 255, 136, 0.1);
  border-color: rgba(34, 255, 136, 0.22);
}

.admin-logs-category-btn > span:first-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-logs-category-count {
  flex-shrink: 0;
  min-width: 1.4em;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
}

.admin-logs-category-btn.active .admin-logs-category-count {
  background: rgba(34, 255, 136, 0.15);
}

.admin-logs-main {
  min-width: 0;
}

.admin-log-source {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-log-source--site {
  color: var(--lime);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}

.admin-log-source--discord {
  color: #7eb8ff;
  background: rgba(91, 156, 255, 0.12);
  border: 1px solid rgba(91, 156, 255, 0.28);
}

.admin-log-category {
  font-size: 13px;
  color: var(--text);
}

.admin-log-detail {
  font-size: 13px;
  color: var(--muted);
}

.admin-logs-board.card:hover {
  transform: none;
  border-color: var(--line-strong);
}

.admin-logs-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.admin-logs-meta {
  margin: 0;
  font-size: 13px;
  font-family: var(--font-ui);
  line-height: 1.5;
}

.admin-logs-toolbar > .admin-logs-meta:first-child {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.admin-logs-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.admin-logs-controls .admin-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.admin-logs-select {
  min-width: 168px;
  max-width: 200px;
}

.admin-logs-search {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}

.admin-logs-reset {
  flex-shrink: 0;
}

.admin-logs-table-scroll {
  overflow-x: auto;
  margin: 0 -8px;
  padding: 0 8px;
  border-radius: 12px;
}

.admin-logs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-logs-table th,
.admin-logs-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.admin-logs-table th {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
  padding-top: 0;
  padding-bottom: 12px;
  border-bottom-color: var(--line-strong);
}

.admin-logs-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-logs-table tbody tr:hover td {
  background: rgba(34, 255, 136, 0.03);
}

.admin-log-date {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.admin-log-module {
  color: var(--muted);
  font-size: 13px;
}

.admin-log-user {
  font-size: 13px;
}

.admin-log-user span {
  display: block;
  font-weight: 600;
}

.admin-log-message {
  color: var(--text);
  line-height: 1.45;
  max-width: 360px;
}

.admin-log-message strong {
  font-weight: 700;
  color: var(--lime);
}

.admin-log-message em {
  font-style: italic;
  color: rgba(238, 252, 243, 0.95);
}

.admin-log-message u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.admin-log-message del {
  opacity: 0.65;
  text-decoration: line-through;
}

.admin-log-message code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.88em;
  color: var(--lime);
}

.admin-log-message a {
  color: var(--green);
  text-decoration: underline;
}

.admin-log-message .md-spoiler {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.admin-log-message .md-spoiler:focus,
.admin-log-message .md-spoiler:hover {
  color: var(--text);
  background: rgba(34, 255, 136, 0.15);
}

.admin-log-message-md p {
  margin: 0 0 8px;
}

.admin-log-message-md p:last-child {
  margin-bottom: 0;
}

.admin-log-message-md ul,
.admin-log-message-md ol {
  margin: 0 0 8px;
  padding-left: 1.2em;
}

.admin-log-message-md .md-pre {
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
  overflow-x: auto;
  font-size: 12px;
}

.admin-log-message-md .md-pre code {
  padding: 0;
  background: transparent;
  color: var(--text);
}

.admin-log-meta {
  font-size: 11px;
  color: var(--muted-dim);
}

.admin-log-unique-id {
  white-space: nowrap;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  min-width: 72px;
}

.admin-log-unique-value {
  color: var(--green);
  letter-spacing: 0.02em;
}

.admin-log-unique-na {
  color: var(--muted-dim);
  font-weight: 500;
}

.admin-log-discord-id {
  font-family: var(--font-ui);
  font-size: 13px;
  max-width: 160px;
  word-break: break-word;
}

.admin-log-user .admin-log-id {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

.admin-log-id--discord {
  color: var(--muted-dim);
}

.admin-log-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}

.admin-log-badge--login {
  color: var(--green);
  border-color: rgba(30, 255, 138, 0.25);
  background: rgba(30, 255, 138, 0.08);
}

.admin-log-badge--logout {
  color: var(--muted);
}

.admin-log-badge--publish {
  color: #7eb8ff;
  border-color: rgba(91, 156, 255, 0.3);
  background: rgba(91, 156, 255, 0.1);
}

.admin-log-badge--staff {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.3);
  background: rgba(255, 209, 102, 0.08);
}

.admin-log-badge--warning {
  color: var(--danger);
  border-color: rgba(255, 71, 87, 0.35);
  background: rgba(255, 71, 87, 0.1);
}

.admin-log-badge--info {
  color: var(--lime);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.admin-log-id {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted-dim);
}

.admin-logs-empty {
  padding: 48px 16px;
  text-align: center;
  font-size: 14px;
}

.admin-log-row[hidden] {
  display: none;
}

.admin-logs-no-results {
  padding: 24px 16px 8px;
  text-align: center;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .admin-logs-layout {
    grid-template-columns: 1fr;
  }

  .admin-logs-category-nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
  }


@media (max-width: 768px) {
  .admin-logs-board.card {
    padding: 20px 18px;
  }

  .admin-logs-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-logs-controls {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .admin-logs-search {
    max-width: none;
    width: 100%;
  }

  .admin-logs-reset {
    width: 100%;
  }
}

.admin-grade-ladder {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-grade-ladder li {
  padding: 12px 16px;
  border-radius: 12px;
  border-left: 4px solid var(--grade-color, var(--green));
  background: rgba(255, 255, 255, 0.03);
}

.admin-grade-modules {
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.admin-staff-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.admin-staff-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.admin-staff-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

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

.admin-staff-form-card {
  margin-bottom: 24px;
}

.admin-staff-modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 4px 12px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-shell-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .admin-shell-link {
    flex: 1 1 auto;
    min-width: 140px;
  }
}

/* ═══ UnderWorld RP — finitions thème global ═══ */

.lead {
  color: #b8c9be;
}

.hero-intro .lead {
  border-left: 3px solid var(--green);
  padding-left: 18px;
  margin-top: 8px;
}

.uw-banner {
  width: min(1180px, calc(100% - 44px));
  margin: 96px auto 0;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(30, 255, 138, 0.12), rgba(0, 100, 60, 0.08));
  border: 1px solid var(--accent-border);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--lime);
  text-align: center;
}

.page:has(.uw-banner) {
  padding-top: 24px;
}

.reglement-hub,
.reglement-article,
.reglement-prose {
  font-family: var(--font-body);
}

.reglement-hub-title,
.reglement-article h1 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.reglement-category-card {
  border-color: var(--line);
  background: linear-gradient(160deg, rgba(10, 20, 14, 0.9), rgba(4, 8, 6, 0.95));
}

.reglement-category-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-glow);
}

.reglement-prose blockquote,
.reglement-prose .reglement-quote {
  border-left-color: var(--green);
  background: var(--accent-soft);
}

.guide-section .step-num,
.step-num {
  font-family: var(--font-display);
  color: var(--green);
  letter-spacing: 0.05em;
}

.glitch-title {
  font-family: var(--font-display);
  color: var(--lime);
  text-shadow:
    0 0 20px var(--accent-glow),
    2px 0 var(--danger),
    -2px 0 rgba(30, 255, 138, 0.5);
}

.lore-hero-section {
  border-color: var(--accent-border);
  box-shadow: var(--shadow), inset 0 0 80px rgba(30, 255, 138, 0.04);
}

.zone-card:hover,
.mystery-card:hover {
  border-color: var(--accent-border);
}

.admin-page .card,
.admin-editor {
  background: linear-gradient(160deg, rgba(10, 18, 13, 0.95), rgba(4, 8, 6, 0.98));
  border-color: var(--line-strong);
}

.nav-links a.active {
  background: var(--accent-soft);
  color: var(--lime);
  box-shadow: inset 0 0 0 1px var(--accent-border);
}

.primary-btn,
.nav-admin-btn,
.nav-cta {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 24px rgba(30, 255, 138, 0.25);
}

.secondary-btn {
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.card h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--lime);
}

.float-card {
  background: rgba(3, 8, 5, 0.82);
  border-color: var(--accent-border);
}

.float-card h3 {
  font-family: var(--font-ui);
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
