/* =========================================================
   SFRP — BASE
   Tokens, polices, reset, boutons, formulaires, navigation, pied de page.
   Partagé par toutes les pages publiques ; le panel admin le charge aussi (sous admin.css). La navigation et le
   pied de page viennent de partials/ (insérés par le serveur), leur script de site.js.
   ========================================================= */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face {
  font-family: "Big Shoulders Display";
  font-weight: 600;
  font-display: swap;
  src: url("fonts/big-shoulders-display-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  font-weight: 800;
  font-display: swap;
  src: url("fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Big Shoulders Display";
  font-weight: 900;
  font-display: swap;
  src: url("fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --ink: #141813;          /* couleur primaire — fond général */
  --ink-2: #1b211a;        /* surfaces */
  --ink-3: #252d23;        /* surfaces relevées */
  --bone: #eceee4;         /* texte principal, boutons pleins */
  --muted: #9ca594;        /* texte secondaire */
  --coyote: #c7b78a;       /* repères, focus, détails */
  --line: rgba(236, 238, 228, 0.14);
  --line-strong: rgba(236, 238, 228, 0.32);

  /* Factions */
  --fr: #3f66c4;
  --fr-soft: #9db8f2;
  --ru: #c8433a;
  --ru-soft: #f0908a;
  --front: linear-gradient(90deg, var(--fr) 0 50%, var(--ru) 50% 100%);

  /* Typo */
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Mise en page */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--coyote);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--bone);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

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

/* Ligne de front : moitié France, moitié Russie */
.front-line {
  display: block;
  height: 4px;
  background: var(--front);
}

/* ---------- Boutons ---------- */
.btn {
  --cut: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--coyote); }
.btn:active { transform: translateY(1px); }
.btn img { width: 24px; height: 24px; object-fit: contain; filter: brightness(0); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 1.05rem; --cut: 9px; }

/* Bouton secondaire : texte souligné, sans boîte */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 2px;
  border: 0;
  border-bottom: 2px solid var(--line-strong);
  background: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-line:hover { border-color: var(--coyote); color: var(--coyote); }
.btn-line img { width: 24px; height: 24px; object-fit: contain; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.is-solid,
.nav--solid {
  background: rgba(20, 24, 19, 0.88);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { width: 42px; height: auto; }
.brand span {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__links a {
  position: relative;
  white-space: nowrap;
  padding: 8px 0;
  color: var(--bone);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--coyote);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current] { opacity: 1; }
.nav__links a:hover::after,
.nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__cta .text-link {
  color: var(--bone);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.8;
}
.nav__cta .text-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Boutons Auth Navbar & Profil Joueur */
.auth-nav-buttons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.btn-auth--login {
  color: var(--bone);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-auth--login:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--coyote);
  color: var(--coyote);
}
.btn-auth--register {
  color: var(--ink);
  background: var(--coyote);
  border: 1px solid var(--coyote);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-auth--register:hover {
  background: var(--bone);
  border-color: var(--bone);
  transform: translateY(-1px);
}

.user-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 6px;
  background: rgba(20, 24, 19, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s;
}
.user-nav-chip:hover {
  border-color: var(--coyote);
  background: rgba(30, 36, 28, 0.95);
}
.user-nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a3036, #262d24);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--bone);
  overflow: hidden;
}
.user-nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-nav-name {
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bone);
}
.user-nav-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
  text-transform: uppercase;
}
.user-nav-badge.streamer {
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.25), rgba(244, 63, 94, 0.25));
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: #d8b4fe;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-strong);
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--bone);
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) {
  .user-nav-badge { display: none; }
}
@media (max-width: 1160px) {
  .user-nav-name { display: none; }
  .user-nav-chip { padding: 4px; }
}
@media (max-width: 1080px) {
  .nav__toggle { display: inline-flex; }
  .nav__links,
  .nav__cta .text-link,
  .nav__cta .btn-staff { display: none; }
  .nav.is-open .nav__links .nav__mobile { display: block; }
  .nav.is-open { background: var(--ink); border-bottom-color: var(--line); }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--gutter) 24px;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    animation: menuIn 0.25s var(--ease);
  }
  .nav.is-open .nav__links a,
  .nav.is-open .nav__links .nav__logout {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 1;
  }
  .nav.is-open .nav__links a::after { display: none; }
  .nav.is-open .nav__links a[aria-current] { color: var(--coyote); }
  .nav.is-open .nav__links .nav__logout { color: var(--muted); }
  .nav__cta { gap: 12px; }
  html.menu-open { overflow: hidden; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 560px) {
  .nav__cta .auth-nav-buttons,
  .nav__cta .nav__icon-btn,
  .user-nav-name,
  .user-nav-badge { display: none; }
  .user-nav-chip { padding: 4px; }
}
@media (max-width: 420px) {
  .nav__cta .btn { padding: 0 14px; }
  .brand span { font-size: 1.5rem; }
}

/* Liens réservés au menu mobile, et affichage selon la connexion (data-auth posé par site.js) */
.nav__links .nav__mobile { display: none; }
.nav__logout {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
html:not([data-auth]) .nav__guest,
html:not([data-auth]) .nav__member,
html[data-auth="in"] .nav__guest,
html[data-auth="out"] .nav__member { display: none !important; }
.user-nav-profile { display: inline-flex; align-items: center; gap: 6px; }
.user-nav-chip[aria-current] { border-color: var(--coyote); }
.nav__icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid transparent;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.nav__icon-btn:hover { color: var(--bone); border-color: var(--line-strong); }
.btn-auth[aria-current] { outline: 1px solid var(--coyote); outline-offset: 2px; }

/* ---------- Pied de page ---------- */
.footer {
  margin-top: 0;
  background: var(--ink);
}
.footer__body {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 48px;
  align-items: start;
  padding-block: 64px 48px;
}
.footer__brand { display: flex; gap: 20px; align-items: flex-start; }
.footer__brand img { width: 68px; height: auto; flex: none; }
.footer__brand p {
  max-width: 36ch;
  color: var(--muted);
  line-height: 1.55;
}
.footer__brand strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bone);
}
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 16px clamp(32px, 5vw, 72px); }
.footer__title {
  margin-bottom: 4px;
  color: var(--coyote);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a {
  width: fit-content;
  color: var(--bone);
  text-decoration: none;
  opacity: 0.8;
}
.footer__nav a:hover,
.footer__nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.social { display: flex; gap: 10px; }
.social a {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  transition: background-color 0.2s, border-color 0.2s;
}
.social a:hover { background: var(--bone); border-color: var(--bone); }
.social img { width: 22px; height: 22px; object-fit: contain; transition: filter 0.2s; }
.social a:hover img { filter: brightness(0); }
.footer__legal {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.footer__legal .wrap { padding-block: 20px 28px; }

@media (max-width: 860px) {
  .footer__body { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 32px; }
}

/* ---------- Bouton retour en haut ---------- */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-strong);
  background: rgba(20, 24, 19, 0.9);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s, background-color 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--bone); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   ÉLÉMENTS PARTAGÉS : titres, messages, formulaires, cartes
   ========================================================= */
.eyebrow {
  color: var(--coyote);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Message d'état : <p class="notice" data-kind="ok|err|warn"> */
.notice {
  padding: 14px 18px;
  border-left: 4px solid var(--coyote);
  background: var(--ink-2);
}
.notice[data-kind="ok"] { border-left-color: #8bd17c; }
.notice[data-kind="err"] { border-left-color: var(--ru); }

.btn--block { width: 100%; justify-content: center; }
.btn--discord { background: #5865f2; color: #fff; }
.btn--discord:hover { background: #7983f5; }
.btn--discord img,
.btn--discord svg { filter: brightness(0) invert(1); }

/* Champs de formulaire */
.field-group { display: grid; gap: 8px; margin-bottom: 20px; }
.field-group label { font-weight: 600; }
.field-group label span { color: var(--coyote); }
.field-group input,
.field-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--ink);
  color: var(--bone);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-group textarea { min-height: 128px; resize: vertical; }
.field-group input::placeholder,
.field-group textarea::placeholder { color: rgba(156, 165, 148, 0.7); }
.field-group input:hover,
.field-group textarea:hover { border-color: rgba(236, 238, 228, 0.5); }
.field-group input:focus,
.field-group textarea:focus { outline: none; border-color: var(--coyote); box-shadow: 0 0 0 3px rgba(199, 183, 138, 0.22); }
.field-group .field-error { border-color: var(--ru-soft); box-shadow: 0 0 0 3px rgba(240, 144, 138, 0.2); }
.field-hint { color: var(--muted); font-size: 0.9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* Page centrée sur une carte (connexion, inscription, entretien) */
.page-center {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + clamp(32px, 6vw, 72px)) var(--gutter) clamp(48px, 8vw, 96px);
  background: radial-gradient(90% 60% at 50% 0%, var(--ink-3) 0%, var(--ink) 70%);
}
.site-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: clamp(28px, 5vw, 40px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.site-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 4px;
  background: var(--front);
}
.site-card h1 { margin: 10px 0 12px; font-size: clamp(2.5rem, 7vw, 3.25rem); font-weight: 900; }
.site-card__lead { margin-bottom: 24px; color: var(--muted); }
.site-card__sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-card__sep::before,
.site-card__sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.site-card__foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.site-card__foot a { color: var(--coyote); font-weight: 600; }
.site-card .notice { margin-bottom: 20px; }

/* ---------- Pastille maintenance (staff connecté, voir site.js) ---------- */
.staff-notice {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 95;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  max-width: min(560px, calc(100vw - 96px));
  padding: 10px 12px 10px 14px;
  background: rgba(20, 24, 19, 0.94);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--ru);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  font-size: 0.85rem;
  line-height: 1.4;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.staff-notice__tag { color: var(--ru-soft); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.staff-notice__text { flex: 1 1 220px; color: var(--muted); }
.staff-notice a { color: var(--coyote); font-weight: 600; white-space: nowrap; }
.staff-notice__close { padding: 2px 6px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1rem; }
.staff-notice__close:hover { color: var(--bone); }

/* ---------- Transitions entre les pages ----------
   Fondu natif du navigateur d'une page à l'autre ; la barre de navigation reste en place. */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.22s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
