/* Nillume — feuille de style unique. Aucune ressource externe (CSP stricte). */

/* ---------- Polices (hébergées sur le site, licence SIL OFL) ---------- */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-400.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: 'Inter'; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-latin-500.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: 'Inter'; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-latin-ext-500.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-600.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: 'Inter'; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Chakra Petch'; font-weight: 500; font-display: swap; src: url('/assets/fonts/chakra-petch-latin-500.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: 'Chakra Petch'; font-weight: 500; font-display: swap; src: url('/assets/fonts/chakra-petch-latin-ext-500.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Chakra Petch'; font-weight: 600; font-display: swap; src: url('/assets/fonts/chakra-petch-latin-600.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: 'Chakra Petch'; font-weight: 600; font-display: swap; src: url('/assets/fonts/chakra-petch-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Chakra Petch'; font-weight: 700; font-display: swap; src: url('/assets/fonts/chakra-petch-latin-700.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: 'Chakra Petch'; font-weight: 700; font-display: swap; src: url('/assets/fonts/chakra-petch-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-400.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 Mono'; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-500.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 Mono'; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-ext-500.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Thèmes : seules les variables changent ---------- */
:root {
  --bg: #12131C; --panel: #1A1C28; --bar: #0E0F16; --border: #23253A; --border2: #2E3148;
  --text: #EDEFF5; --muted: #A3A8B8; --soft: #C9CDD8;
  --accent: #FFB547; --on-accent: #12131C; --link: #FFC670; --link-hover: #FFDCA3;
  --danger: #FF8A8A; --danger-border: #7A2E36;
  --font-title: 'Chakra Petch', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: dark;
}
[data-theme="halloween"] {
  --bg: #15101E; --panel: #211830; --bar: #100B17; --border: #34264A; --border2: #43325E;
  --text: #F2ECF7; --muted: #B9ACC9; --soft: #D6CCE0;
  --accent: #FF8A2A; --on-accent: #15101E; --link: #FFB06B; --link-hover: #FFD0A3;
}
[data-theme="noel"] {
  --bg: #0F1A1F; --panel: #17262D; --bar: #0B1418; --border: #24414A; --border2: #2F525C;
  --text: #F1F5F4; --muted: #A9BDBA; --soft: #CFDCDA;
  --accent: #E8505B; --on-accent: #0F1A1F; --link: #F2C14E; --link-hover: #F7D888;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-text); font-size: 16px; line-height: 1.6; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0; }
code, pre { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }
.page { position: relative; overflow: hidden; min-height: 100vh; }
.wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.mono { font-family: var(--font-mono); }

/* ---------- En-tête ---------- */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.logo { display: flex; align-items: center; }
.logo svg { height: 40px; width: auto; overflow: visible; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; }
.actions a { text-decoration: none; }
.actions .quiet { color: var(--muted); }
.actions .strong { color: var(--text); font-weight: 500; }
.btn-outline-sm { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--accent); color: var(--text); font-weight: 500; }
.music { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--border2); }
.music button { min-height: 32px; padding: 0 6px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.music button[aria-pressed="true"] { color: var(--accent); }
.music input { width: 84px; accent-color: var(--accent); }

.tabs { position: relative; background: var(--bar); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tabs ul { list-style: none; margin: 0 auto; max-width: 1200px; padding: 0 2rem; display: flex; overflow-x: auto; font-family: var(--font-title); letter-spacing: .06em; }
.tabs a { display: flex; align-items: center; min-height: 70px; padding: 0 28px; font-size: 18px; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: #FFFFFF; font-weight: 700; border-bottom-color: var(--accent); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 6px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; border: 0; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); filter: brightness(1.06); }
.btn-ghost { background: transparent; border: 1px solid var(--border2); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-danger { background: transparent; border: 1px solid var(--danger-border); color: var(--danger); font-size: 14px; min-height: 44px; padding: 0 18px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Accueil ---------- */
.season-msg { margin-top: 2.5rem; text-align: center; font-family: var(--font-title); font-size: 17px; font-weight: 600; color: var(--link); }
.hero { padding: 5.5rem 0 4rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; }
.season-msg + .hero { padding-top: 2.5rem; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.05; max-width: 860px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 660px; }
.hero .row-actions { justify-content: center; padding-top: .5rem; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border2); font-size: 14px; color: var(--soft); text-decoration: none; }
.pill strong { color: var(--accent); font-weight: 600; }
.split { display: flex; flex-wrap: wrap; gap: 2rem; }
.split > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.split > .side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.h-section { font-size: 30px; }
.feature-img { width: 100%; height: 220px; object-fit: cover; object-position: left top; border-radius: 8px; border: 1px solid var(--border2); }
.card { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 22px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); text-decoration: none; transition: border-color .15s ease; }
.card:hover { border-color: var(--accent); color: var(--text); }
.card .icon { width: 60px; height: 60px; border-radius: 14px; flex: 0 0 auto; }
.card .body { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.card .title { font-family: var(--font-title); font-size: 22px; font-weight: 700; }
.card .go { color: var(--link); font-size: 15px; }
.news { border-top: 1px solid var(--border); display: flex; flex-direction: column; }
.news a { display: flex; flex-direction: column; gap: 4px; padding: 14px 8px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; transition: background .15s ease; }
.news a:hover { background: var(--panel); color: var(--text); }
.news time { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.band { margin-top: 4rem; padding: 3rem 2rem; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.band h2 { font-size: 32px; }
.band p { font-size: 17px; margin-top: 8px; }
.band .btn { background: var(--bg); color: var(--text); }

/* ---------- Pages ---------- */
.page-head { padding: 4rem 0 2rem; display: flex; flex-direction: column; gap: 8px; }
.page-head h1 { font-size: clamp(34px, 5vw, 44px); }
.page-head p { font-size: 17px; color: var(--muted); max-width: 680px; }
.center { text-align: center; align-items: center; }

/* Projets */
.project { display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; padding: 1rem 0 2rem; }
.project .text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.project .meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.project h2 { display: flex; align-items: center; gap: 14px; font-size: 34px; }
.project h2 img { width: 44px; height: 44px; border-radius: 10px; }
.project .desc { font-size: 17px; color: var(--soft); }
.links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; font-weight: 500; }
.shot { flex: 1 1 420px; min-width: 0; max-width: 520px; }
.shot img, .gallery img { border-radius: 10px; border: 1px solid var(--border2); }
.install { border-radius: 8px; border: 1px solid var(--border); background: var(--bar); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.gallery { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; justify-content: center; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery .wide { flex: 999 1 460px; min-width: 0; max-width: 720px; }
.gallery .phone { flex: 0 1 200px; max-width: 220px; }
.gallery .phone img { border-radius: 18px; }
.gallery figcaption { font-size: 13px; color: var(--muted); }

/* Commentaires */
.comments { max-width: 760px; margin: 3rem auto 0; display: flex; flex-direction: column; }
.comments h2 { font-size: 24px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.comments .empty { padding: 18px 0; color: var(--muted); border-bottom: 1px solid var(--border); }
.login-box { margin-top: 18px; padding: 20px; border-radius: 8px; border: 1px dashed var(--border2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.note { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Journal */
.journal { border-top: 1px solid var(--border); }
.journal article { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 20px 8px; border-bottom: 1px solid var(--border); }
.journal time { flex: 0 0 110px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); padding-top: 3px; }
.journal .entry { flex: 1 1 300px; display: flex; flex-direction: column; gap: 4px; }
.journal h2 { font-family: var(--font-text); font-size: 18px; font-weight: 500; }

/* Cartes Participer */
.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.cards a { flex: 1 1 280px; border: 1px solid var(--border); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--text); text-decoration: none; transition: border-color .15s ease; }
.cards a:hover { border-color: var(--accent); color: var(--text); }
.cards strong { font-family: var(--font-title); font-size: 21px; }
.cards span { font-size: 15px; color: var(--muted); }

/* Formulaires */
.form-layout { padding: 2rem 0 1rem; display: flex; flex-wrap: wrap; gap: 3rem; }
.form-layout > .intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.form-layout > form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fields { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--soft); }
.field input, .field select, .field textarea { min-height: 46px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--border2); background: var(--bar); color: var(--text); font: inherit; font-size: 15px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 150px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; }
.hint-box { margin-top: 8px; padding: 18px; border-radius: 8px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Textes légaux */
.prose { max-width: 760px; margin: 0 auto; padding: 4rem 0 1rem; display: flex; flex-direction: column; gap: 2rem; color: var(--soft); }
.prose h1 { font-size: clamp(34px, 5vw, 44px); color: var(--text); }
.prose h2 { font-size: 24px; color: var(--text); margin-bottom: 10px; }
.prose ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 6px; }
.prose p + p { margin-top: 10px; }
.prose pre { margin: 0; overflow-x: auto; padding: 18px; border-radius: 8px; border: 1px solid var(--border); background: var(--bar); font-size: 14px; line-height: 1.8; }

/* ---------- Pied de page ---------- */
.foot { margin-top: 4rem; padding: 1.75rem 0 2.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: var(--muted); }
.foot .line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.foot nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot a { color: var(--muted); }

/* ---------- Logo animé ---------- */
.nw-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: nwflame 2.6s ease-in-out infinite; }
@keyframes nwflame { 0%, 100% { transform: rotate(0deg) scale(1, 1); } 20% { transform: rotate(-5deg) scale(.96, 1.06); } 45% { transform: rotate(3deg) scale(1.03, .95); } 70% { transform: rotate(-2deg) scale(.98, 1.08); } 85% { transform: rotate(4deg) scale(1.02, .98); } }

/* ---------- Décors saisonniers (CSS seul, légers) ---------- */
.deco { position: absolute; inset: 0; pointer-events: none; }
.moon { position: absolute; right: 7%; top: 150px; width: 120px; height: 120px; border-radius: 50%; background: #F3E3C3; opacity: .12; }
.bat { position: absolute; width: 60px; opacity: .9; animation: nwbat 2.8s ease-in-out infinite; }
.bat svg { width: 100%; height: auto; display: block; }
.bat:nth-of-type(2) { left: 8%; top: 190px; width: 70px; }
.bat:nth-of-type(3) { left: 18%; top: 300px; width: 46px; animation-delay: .8s; animation-duration: 3.2s; }
.bat:nth-of-type(4) { left: 78%; top: 170px; width: 60px; animation-delay: .4s; }
.bat:nth-of-type(5) { left: 88%; top: 320px; width: 40px; animation-delay: 1.2s; animation-duration: 3.6s; }
.bat:nth-of-type(6) { left: 62%; top: 250px; width: 34px; animation-delay: .6s; }
@keyframes nwbat { 0%, 100% { transform: translate(0, 0) scaleX(1); } 50% { transform: translate(14px, -10px) scaleX(.82); } }

.snow { position: absolute; left: 0; right: 0; top: 150px; height: 560px; overflow: hidden; }
.snow i { position: absolute; top: 0; width: 5px; height: 5px; border-radius: 50%; background: #FFFFFF; opacity: .6; animation: nwsnow 10s linear infinite; }
@keyframes nwsnow { from { transform: translateY(-20px); } to { transform: translateY(560px); } }

.garland { position: absolute; left: 0; right: 0; bottom: -18px; height: 20px; border-top: 1px solid var(--border2); pointer-events: none; }
.garland i { position: absolute; top: 2px; width: 9px; height: 12px; border-radius: 50% 50% 45% 45%; animation: nwtwinkle 2s ease-in-out infinite; }
@keyframes nwtwinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 640px) {
  .wrap, .tabs ul { padding: 0 1rem; }
  .tabs a { padding: 0 18px; font-size: 16px; }
  .band { padding: 2rem 1.25rem; }
}

/* Positions générées (flocons et ampoules) : aucune règle inline, compatible CSP. */
.snow i:nth-child(1) { left: 59.1%; width: 4px; height: 4px; opacity: 0.41; animation-duration: 13.4s; animation-delay: -6.6s; }
.snow i:nth-child(2) { left: 60.3%; width: 3px; height: 3px; opacity: 0.76; animation-duration: 10.3s; animation-delay: -7.7s; }
.snow i:nth-child(3) { left: 98.6%; width: 4px; height: 4px; opacity: 0.56; animation-duration: 12.9s; animation-delay: -6.7s; }
.snow i:nth-child(4) { left: 23.7%; width: 4px; height: 4px; opacity: 0.42; animation-duration: 13.5s; animation-delay: -5.5s; }
.snow i:nth-child(5) { left: 66.8%; width: 3px; height: 3px; opacity: 0.38; animation-duration: 12.3s; animation-delay: -8.3s; }
.snow i:nth-child(6) { left: 77.4%; width: 5px; height: 5px; opacity: 0.72; animation-duration: 8.9s; animation-delay: -8.3s; }
.snow i:nth-child(7) { left: 71.0%; width: 6px; height: 6px; opacity: 0.76; animation-duration: 9.8s; animation-delay: -11.2s; }
.snow i:nth-child(8) { left: 95.5%; width: 6px; height: 6px; opacity: 0.41; animation-duration: 9.6s; animation-delay: -0.5s; }
.snow i:nth-child(9) { left: 22.3%; width: 6px; height: 6px; opacity: 0.78; animation-duration: 10.1s; animation-delay: -8.8s; }
.snow i:nth-child(10) { left: 42.3%; width: 5px; height: 5px; opacity: 0.73; animation-duration: 11.0s; animation-delay: -7.5s; }
.snow i:nth-child(11) { left: 58.3%; width: 6px; height: 6px; opacity: 0.76; animation-duration: 11.8s; animation-delay: -13.0s; }
.snow i:nth-child(12) { left: 98.1%; width: 5px; height: 5px; opacity: 0.65; animation-duration: 8.1s; animation-delay: -12.0s; }
.snow i:nth-child(13) { left: 71.0%; width: 3px; height: 3px; opacity: 0.45; animation-duration: 12.8s; animation-delay: -8.0s; }
.snow i:nth-child(14) { left: 13.2%; width: 5px; height: 5px; opacity: 0.57; animation-duration: 11.5s; animation-delay: -6.8s; }
.snow i:nth-child(15) { left: 79.5%; width: 5px; height: 5px; opacity: 0.53; animation-duration: 8.1s; animation-delay: -4.1s; }
.snow i:nth-child(16) { left: 86.5%; width: 6px; height: 6px; opacity: 0.37; animation-duration: 11.3s; animation-delay: -0.6s; }
.snow i:nth-child(17) { left: 55.0%; width: 5px; height: 5px; opacity: 0.76; animation-duration: 9.0s; animation-delay: -3.3s; }
.snow i:nth-child(18) { left: 31.3%; width: 3px; height: 3px; opacity: 0.38; animation-duration: 11.2s; animation-delay: -0.4s; }
.snow i:nth-child(19) { left: 96.2%; width: 4px; height: 4px; opacity: 0.48; animation-duration: 8.8s; animation-delay: -9.7s; }
.snow i:nth-child(20) { left: 31.8%; width: 5px; height: 5px; opacity: 0.78; animation-duration: 13.3s; animation-delay: -5.3s; }
.snow i:nth-child(21) { left: 86.2%; width: 6px; height: 6px; opacity: 0.52; animation-duration: 13.1s; animation-delay: -9.5s; }
.snow i:nth-child(22) { left: 61.8%; width: 3px; height: 3px; opacity: 0.77; animation-duration: 10.5s; animation-delay: -6.0s; }
.snow i:nth-child(23) { left: 92.8%; width: 4px; height: 4px; opacity: 0.55; animation-duration: 8.8s; animation-delay: -4.2s; }
.snow i:nth-child(24) { left: 2.1%; width: 5px; height: 5px; opacity: 0.54; animation-duration: 11.1s; animation-delay: -0.3s; }
.snow i:nth-child(25) { left: 6.9%; width: 4px; height: 4px; opacity: 0.63; animation-duration: 10.3s; animation-delay: -9.5s; }
.snow i:nth-child(26) { left: 60.7%; width: 5px; height: 5px; opacity: 0.48; animation-duration: 10.4s; animation-delay: -8.3s; }
.snow i:nth-child(27) { left: 95.4%; width: 3px; height: 3px; opacity: 0.46; animation-duration: 10.2s; animation-delay: -8.3s; }
.snow i:nth-child(28) { left: 18.4%; width: 5px; height: 5px; opacity: 0.43; animation-duration: 12.3s; animation-delay: -11.8s; }
.snow i:nth-child(29) { left: 30.4%; width: 5px; height: 5px; opacity: 0.52; animation-duration: 12.4s; animation-delay: -0.4s; }
.snow i:nth-child(30) { left: 31.4%; width: 4px; height: 4px; opacity: 0.45; animation-duration: 12.6s; animation-delay: -3.3s; }
.garland i:nth-child(1) { left: 1.0%; top: 2px; background: #E8505B; box-shadow: 0 0 8px #E8505B; animation-duration: 1.6s; animation-delay: 0.0s; }
.garland i:nth-child(2) { left: 3.5%; top: 6px; background: #F2C14E; box-shadow: 0 0 8px #F2C14E; animation-duration: 2.1s; animation-delay: 0.3s; }
.garland i:nth-child(3) { left: 6.0%; top: 2px; background: #6FCF97; box-shadow: 0 0 8px #6FCF97; animation-duration: 2.6s; animation-delay: 0.6s; }
.garland i:nth-child(4) { left: 8.5%; top: 6px; background: #5AB4E8; box-shadow: 0 0 8px #5AB4E8; animation-duration: 1.6s; animation-delay: 0.9s; }
.garland i:nth-child(5) { left: 11.0%; top: 2px; background: #E8505B; box-shadow: 0 0 8px #E8505B; animation-duration: 2.1s; animation-delay: 1.2s; }
.garland i:nth-child(6) { left: 13.5%; top: 6px; background: #F2C14E; box-shadow: 0 0 8px #F2C14E; animation-duration: 2.6s; animation-delay: 0.0s; }
.garland i:nth-child(7) { left: 16.0%; top: 2px; background: #6FCF97; box-shadow: 0 0 8px #6FCF97; animation-duration: 1.6s; animation-delay: 0.3s; }
.garland i:nth-child(8) { left: 18.5%; top: 6px; background: #5AB4E8; box-shadow: 0 0 8px #5AB4E8; animation-duration: 2.1s; animation-delay: 0.6s; }
.garland i:nth-child(9) { left: 21.0%; top: 2px; background: #E8505B; box-shadow: 0 0 8px #E8505B; animation-duration: 2.6s; animation-delay: 0.9s; }
.garland i:nth-child(10) { left: 23.5%; top: 6px; background: #F2C14E; box-shadow: 0 0 8px #F2C14E; animation-duration: 1.6s; animation-delay: 1.2s; }
.garland i:nth-child(11) { left: 26.0%; top: 2px; background: #6FCF97; box-shadow: 0 0 8px #6FCF97; animation-duration: 2.1s; animation-delay: 0.0s; }
.garland i:nth-child(12) { left: 28.5%; top: 6px; background: #5AB4E8; box-shadow: 0 0 8px #5AB4E8; animation-duration: 2.6s; animation-delay: 0.3s; }
.garland i:nth-child(13) { left: 31.0%; top: 2px; background: #E8505B; box-shadow: 0 0 8px #E8505B; animation-duration: 1.6s; animation-delay: 0.6s; }
.garland i:nth-child(14) { left: 33.5%; top: 6px; background: #F2C14E; box-shadow: 0 0 8px #F2C14E; animation-duration: 2.1s; animation-delay: 0.9s; }
.garland i:nth-child(15) { left: 36.0%; top: 2px; background: #6FCF97; box-shadow: 0 0 8px #6FCF97; animation-duration: 2.6s; animation-delay: 1.2s; }
.garland i:nth-child(16) { left: 38.5%; top: 6px; background: #5AB4E8; box-shadow: 0 0 8px #5AB4E8; animation-duration: 1.6s; animation-delay: 0.0s; }
.garland i:nth-child(17) { left: 41.0%; top: 2px; background: #E8505B; box-shadow: 0 0 8px #E8505B; animation-duration: 2.1s; animation-delay: 0.3s; }
.garland i:nth-child(18) { left: 43.5%; top: 6px; background: #F2C14E; box-shadow: 0 0 8px #F2C14E; animation-duration: 2.6s; animation-delay: 0.6s; }
.garland i:nth-child(19) { left: 46.0%; top: 2px; background: #6FCF97; box-shadow: 0 0 8px #6FCF97; animation-duration: 1.6s; animation-delay: 0.9s; }
.garland i:nth-child(20) { left: 48.5%; top: 6px; background: #5AB4E8; box-shadow: 0 0 8px #5AB4E8; animation-duration: 2.1s; animation-delay: 1.2s; }
.garland i:nth-child(21) { left: 51.0%; top: 2px; background: #E8505B; box-shadow: 0 0 8px #E8505B; animation-duration: 2.6s; animation-delay: 0.0s; }
.garland i:nth-child(22) { left: 53.5%; top: 6px; background: #F2C14E; box-shadow: 0 0 8px #F2C14E; animation-duration: 1.6s; animation-delay: 0.3s; }
.garland i:nth-child(23) { left: 56.0%; top: 2px; background: #6FCF97; box-shadow: 0 0 8px #6FCF97; animation-duration: 2.1s; animation-delay: 0.6s; }
.garland i:nth-child(24) { left: 58.5%; top: 6px; background: #5AB4E8; box-shadow: 0 0 8px #5AB4E8; animation-duration: 2.6s; animation-delay: 0.9s; }
.garland i:nth-child(25) { left: 61.0%; top: 2px; background: #E8505B; box-shadow: 0 0 8px #E8505B; animation-duration: 1.6s; animation-delay: 1.2s; }
.garland i:nth-child(26) { left: 63.5%; top: 6px; background: #F2C14E; box-shadow: 0 0 8px #F2C14E; animation-duration: 2.1s; animation-delay: 0.0s; }
.garland i:nth-child(27) { left: 66.0%; top: 2px; background: #6FCF97; box-shadow: 0 0 8px #6FCF97; animation-duration: 2.6s; animation-delay: 0.3s; }
.garland i:nth-child(28) { left: 68.5%; top: 6px; background: #5AB4E8; box-shadow: 0 0 8px #5AB4E8; animation-duration: 1.6s; animation-delay: 0.6s; }
.garland i:nth-child(29) { left: 71.0%; top: 2px; background: #E8505B; box-shadow: 0 0 8px #E8505B; animation-duration: 2.1s; animation-delay: 0.9s; }
.garland i:nth-child(30) { left: 73.5%; top: 6px; background: #F2C14E; box-shadow: 0 0 8px #F2C14E; animation-duration: 2.6s; animation-delay: 1.2s; }
.garland i:nth-child(31) { left: 76.0%; top: 2px; background: #6FCF97; box-shadow: 0 0 8px #6FCF97; animation-duration: 1.6s; animation-delay: 0.0s; }
.garland i:nth-child(32) { left: 78.5%; top: 6px; background: #5AB4E8; box-shadow: 0 0 8px #5AB4E8; animation-duration: 2.1s; animation-delay: 0.3s; }
.garland i:nth-child(33) { left: 81.0%; top: 2px; background: #E8505B; box-shadow: 0 0 8px #E8505B; animation-duration: 2.6s; animation-delay: 0.6s; }
.garland i:nth-child(34) { left: 83.5%; top: 6px; background: #F2C14E; box-shadow: 0 0 8px #F2C14E; animation-duration: 1.6s; animation-delay: 0.9s; }
.garland i:nth-child(35) { left: 86.0%; top: 2px; background: #6FCF97; box-shadow: 0 0 8px #6FCF97; animation-duration: 2.1s; animation-delay: 1.2s; }
.garland i:nth-child(36) { left: 88.5%; top: 6px; background: #5AB4E8; box-shadow: 0 0 8px #5AB4E8; animation-duration: 2.6s; animation-delay: 0.0s; }
.garland i:nth-child(37) { left: 91.0%; top: 2px; background: #E8505B; box-shadow: 0 0 8px #E8505B; animation-duration: 1.6s; animation-delay: 0.3s; }
.garland i:nth-child(38) { left: 93.5%; top: 6px; background: #F2C14E; box-shadow: 0 0 8px #F2C14E; animation-duration: 2.1s; animation-delay: 0.6s; }
.garland i:nth-child(39) { left: 96.0%; top: 2px; background: #6FCF97; box-shadow: 0 0 8px #6FCF97; animation-duration: 2.6s; animation-delay: 0.9s; }
.garland i:nth-child(40) { left: 98.5%; top: 6px; background: #5AB4E8; box-shadow: 0 0 8px #5AB4E8; animation-duration: 1.6s; animation-delay: 1.2s; }

/* ---------- Comptes ---------- */
.inline { display: inline; margin: 0; }
button.btn-outline-sm { background: transparent; font: inherit; font-size: 14px; cursor: pointer; }
.linklike { background: none; border: 0; padding: 0; color: var(--link); font: inherit; text-decoration: underline; cursor: pointer; }
.linklike:hover { color: var(--link-hover); }
.auth { max-width: 460px; margin: 0 auto; padding: 4rem 0 1rem; display: flex; flex-direction: column; gap: 14px; }
.auth h1 { font-size: 36px; }
.stack { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.stack .field small { font-size: 13px; }
.auth-links { font-size: 14px; color: var(--muted); }
.notice { padding: 12px 16px; border-radius: 8px; font-size: 15px; margin: 8px 0; }
.notice-ok { border: 1px solid #2E6B4A; background: #12261C; color: #BDEBD0; }
.notice-error { border: 1px solid var(--danger-border); background: #2A1216; color: #FFC2C2; }
.banner { margin: 0 0 1.5rem; padding: 14px 18px; border-radius: 8px; border: 1px solid var(--border2); background: var(--panel); font-size: 15px; }
.banner-strong { border-color: var(--accent); }
.settings { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: 1rem; }
.settings > h2 { padding: 1.5rem 0 .5rem; }
.setting { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.setting > div { display: flex; flex-direction: column; gap: 4px; flex: 1 1 320px; }
.setting .muted { font-size: 14px; }
.sessions { margin: 6px 0 0; padding-left: 1.1rem; font-size: 14px; color: var(--muted); }
details.confirm { display: flex; flex-direction: column; gap: 12px; }
details.confirm summary { list-style: none; }
details.confirm summary::-webkit-details-marker { display: none; }
details.confirm[open] > form { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; min-width: 280px; }
.totp-setup { padding: 18px; border-radius: 8px; border: 1px solid var(--accent); background: var(--panel); display: flex; flex-direction: column; gap: 10px; margin: 8px 0 18px; }
.totp-key code { font-size: 20px; letter-spacing: .05em; word-break: break-all; color: var(--text); }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.codes { list-style: none; padding: 0; margin: 8px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.codes code { display: block; padding: 10px; border-radius: 6px; background: var(--bar); border: 1px solid var(--border); text-align: center; font-size: 17px; }
.danger-zone { margin-top: 3rem; padding: 22px; border-radius: 8px; border: 1px solid #5A2830; display: flex; flex-direction: column; gap: 10px; }
.danger-zone h2 { font-size: 22px; }
details.confirm summary { align-self: flex-start; width: fit-content; }
.qr-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.qr { width: 200px; height: 200px; border-radius: 8px; flex: 0 0 auto; }
.qr-wrap .muted { flex: 1 1 220px; }

/* ---------- Commentaires ---------- */
.comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.avatar { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--border2); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--soft); }
.comment-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.comment-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 14px; }
.comment-text { white-space: pre-line; overflow-wrap: anywhere; color: var(--soft); font-size: 15px; }
.btn-mini { min-height: 32px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--border2); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; }
.btn-mini:hover { border-color: var(--accent); color: var(--text); }
.btn-mini-danger { border-color: var(--danger-border); color: var(--danger); }
details.report { display: flex; flex-direction: column; align-items: flex-end; }
details.report summary { list-style: none; }
details.report summary::-webkit-details-marker { display: none; }
.report-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 10px; }
.comment-form { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Admin ---------- */
.admin-tabs ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--border); }
.admin-tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.admin-tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.admin-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.admin-item { padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.admin-item.is-hidden, tr.is-hidden { opacity: .6; }
.admin-item.is-new { border-left: 3px solid var(--accent); padding-left: 12px; }
.admin-meta { font-size: 14px; color: var(--muted); }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--border2); color: var(--soft); font-size: 12px; }
.tag-warn { background: #4A2A12; color: #FFD0A3; }
.admin-form { display: flex; flex-direction: column; gap: 14px; margin-bottom: 2rem; max-width: 820px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table th { color: var(--muted); font-weight: 500; }
.comment-form > .btn, .form-layout form > .btn { align-self: flex-start; }
