/* ============================================================
   MUNKY — SYSTÈME DE DESIGN « THE INTERNET IS TAKEN »
   Noir graphite, argent et blanc froid. Une seule teinte d'accent, le jade doux,
   réservée aux vraies découvertes (nom libre renvoyé par une plateforme).
   Formes : pilules sculptées, capsules, disques gravés. Typo : Geist · Instrument Serif · Geist Mono.
   ============================================================ */
@property --nring { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
:root {
  --n-bg: #000000;
  --n-bg2: #050506;
  --n-s1: #0A0A0C;
  --n-s2: #0F1013;
  --n-s3: #16171B;
  --n-line: #1C1D22;
  --n-line2: #2A2C32;
  --n-tx: #F8F9FB;
  --n-dim: #A4A7B0;
  --n-faint: #6F737D;
  --n-jade: #8EF5CF;
  --n-jade-ink: #04140E;
  --n-jade-soft: rgba(142, 245, 207, 0.10);
  --n-amber: #E8C77A;
  --n-silver: linear-gradient(180deg, #FFFFFF 0%, #ECEEF2 48%, #D3D6DD 100%);
  --n-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --n-serif: 'Instrument Serif', 'Times New Roman', serif;
  --n-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --n-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --n-max: 1280px;
  --n-gut: 40px;
}
@media (max-width: 720px) { :root { --n-gut: 18px; } }

/* ---------- Petites étiquettes ---------- */
.n-kick { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--n-dim); letter-spacing: -.005em; }
.n-kick i { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 24px; padding: 0 8px; border-radius: 999px; font: 500 12px/1 var(--n-mono); font-style: normal; color: var(--n-tx);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.n-serif { font-family: var(--n-serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; }

/* ============================================================
   BOUTONS — pilules sculptées
   .nb-p  : argent poli, pastille noire avec flèche, reflet qui balaie, lumière qui suit le pointeur
   .nb-g  : verre sombre, contour lumineux dégradé
   .nb-j  : jade (seulement après une vraie découverte)
   ============================================================ */
.nb { --h: 56px; --mx: 50%; --my: 50%; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: var(--h); padding: 0 30px; border: none; border-radius: 999px;
  font: 600 16px/1 var(--n-sans); letter-spacing: -.012em; white-space: nowrap; text-decoration: none; cursor: pointer; isolation: isolate; -webkit-tap-highlight-color: transparent;
  transition: box-shadow .45s var(--n-ease), background .3s, color .3s, opacity .3s; }
.nb:has(.ic) { padding: 0 7px 0 28px; }
.nb .t { position: relative; display: inline-block; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.nb .t > span { display: block; transition: transform .55s var(--n-ease); }
.nb .t > span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; }
.nb:hover .t > span { transform: translateY(-100%); }
.nb .ic { position: relative; display: grid; place-items: center; width: calc(var(--h) - 14px); height: calc(var(--h) - 14px); border-radius: 50%; overflow: hidden; flex-shrink: 0; transition: transform .5s var(--n-ease); }
.nb .ic svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: transform .55s var(--n-ease); }
.nb .ic svg + svg { transform: translateX(-160%); }
.nb:hover .ic svg:first-child { transform: translateX(160%); }
.nb:hover .ic svg + svg { transform: none; }
.nb:hover .ic { transform: scale(1.06); }
.nb:focus-visible { outline: 2px solid var(--n-tx); outline-offset: 4px; }
.nb[disabled] { opacity: .5; pointer-events: none; }

@property --ang { syntax: '<angle>'; inherits: true; initial-value: 225deg; }
.nb-p { color: #0A0B0D; border: 1.5px solid transparent; transition: box-shadow .45s var(--n-ease), --ang .6s var(--n-ease);
  background: var(--n-silver) padding-box, conic-gradient(from var(--ang), #FFFFFF, #7C818B 22%, #F6F7FA 48%, #5E626B 74%, #FFFFFF) border-box;
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(20,22,28,.14), 0 0 0 1px rgba(255,255,255,.55), 0 1px 2px rgba(0,0,0,.6), 0 14px 34px -14px rgba(255,255,255,.38); }
.nb-p::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(120px 80px at var(--mx) var(--my), rgba(255,255,255,1), rgba(255,255,255,0) 70%); }
.nb-p::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%) no-repeat; background-size: 220% 100%; background-position: 160% 0; mix-blend-mode: soft-light; transition: background-position 1s var(--n-ease); }
.nb-p:hover::before { opacity: 1; }
.nb-p:hover::after { background-position: -60% 0; }
.nb-p:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(20,22,28,.12), 0 0 0 1px rgba(255,255,255,.8), 0 1px 2px rgba(0,0,0,.6), 0 22px 50px -14px rgba(255,255,255,.55), 0 0 60px -10px rgba(220,228,255,.35); }
.nb-p .ic { color: #fff; background: radial-gradient(circle at 50% 30%, #2A2D35, #0A0B0D 70%); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 6px rgba(0,0,0,.35); }

.nb-g { color: var(--n-tx); background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.02)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.1), 0 14px 30px -18px rgba(0,0,0,.9); }
.nb-g::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(140px 90px at var(--mx) var(--my), rgba(255,255,255,.75), rgba(255,255,255,0) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.nb-g::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s; background: radial-gradient(160px 100px at var(--mx) var(--my), rgba(255,255,255,.08), transparent 70%); }
.nb-g:hover::before, .nb-g:hover::after { opacity: 1; }
.nb-g:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.18), 0 18px 40px -18px rgba(0,0,0,.9); }
.nb-g .ic { color: var(--n-tx); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }

.nb-j { color: var(--n-jade-ink); background: linear-gradient(180deg, #C9FFEA, var(--n-jade) 60%, #6FE3BB);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -3px 6px rgba(0,60,40,.18), 0 0 0 1px rgba(142,245,207,.6), 0 16px 40px -14px rgba(142,245,207,.55); }
.nb-j .ic { color: var(--n-jade); background: #062018; }

.nb-sm { --h: 44px; padding: 0 20px; font-size: 14.5px; gap: 10px; }
.nb-sm:has(.ic) { padding: 0 5px 0 18px; }
.nb-sm .ic svg { width: 15px; height: 15px; }
.nb-lg { --h: 64px; padding: 0 34px; font-size: 17px; }
.nb-lg:has(.ic) { padding: 0 8px 0 32px; }

/* ---------- Pastilles (filtres, statuts) ---------- */
.n-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: none; border-radius: 999px; cursor: pointer; font: 500 14.5px/1 var(--n-sans); color: var(--n-dim);
  background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--n-line); transition: color .25s, background .3s, box-shadow .3s; }
.n-pill:hover { color: var(--n-tx); box-shadow: inset 0 0 0 1px var(--n-line2); }
.n-pill.on { color: #0A0B0D; background: var(--n-silver); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255,255,255,.4); }
.n-pill small { font: 500 12px var(--n-mono); opacity: .55; }
.n-st { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font: 600 12.5px/1 var(--n-sans); letter-spacing: -.005em; }
.n-st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.n-st.ok { color: var(--n-jade); background: var(--n-jade-soft); box-shadow: inset 0 0 0 1px rgba(142,245,207,.28); }
.n-st.no { color: var(--n-faint); box-shadow: inset 0 0 0 1px var(--n-line); }
.n-st.uv { color: var(--n-amber); box-shadow: inset 0 0 0 1px rgba(232,199,122,.3); }

/* ---------- Mots qui montent (titres) ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .12em 0; margin-bottom: -.12em; }
.w > span { display: inline-block; }

/* ---------- Bannière d'annonce du site (injectée par mobile-bubble.js) ---------- */
#mkSiteBanner { background: linear-gradient(180deg, #15171C, #0F1013) !important; border: none !important; box-shadow: inset 0 0 0 1px var(--n-line), 0 20px 50px -30px #000 !important; border-radius: 999px !important; padding: 7px 7px 7px 10px !important; }
#mkSiteBanner::after { background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.05) 50%, transparent 60%) !important; background-size: 250% 100% !important; }
#mkSiteBanner .sb-ic { background: rgba(255,255,255,.06) !important; border-radius: 50% !important; }
#mkSiteBanner .sb-go { border-radius: 999px !important; color: #0A0B0D !important; background: var(--n-silver) !important; }
#mkSiteBanner .sb-x { border-radius: 50% !important; background: transparent !important; color: var(--n-dim) !important; }

/* ---------- Transitions entre pages ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .22s cubic-bezier(.65,0,.35,1) both nVtOut; }
::view-transition-new(root) { animation: .5s cubic-bezier(.22,1,.36,1) both nVtIn; }
@keyframes nVtOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes nVtIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes nSpin { to { transform: rotate(360deg); } }
@keyframes nRing { to { --nring: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .nb .t > span, .nb .ic svg, .nb::after { transition: none !important; }
}
